<navs_>
ill checkout that 'rule' statement might make things easier that making individual tasks
<pontiki>
dunno if this is of interest, but avdi grimm is working on the rake field manual, though i have seen much progress lately: http://www.rakefieldmanual.com/
<pontiki>
there's some free chapters online
kenndel has joined #ruby
_blizzy_ has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 245 seconds]
SubjectiveBias has joined #ruby
hololeap has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: zzz]
snockerton has quit [Quit: Leaving.]
threh has joined #ruby
affenhoden has joined #ruby
Cache_Money has joined #ruby
charliesome has joined #ruby
zzxc has joined #ruby
turtil has quit [Quit: WeeChat 1.1.1]
shock_one has joined #ruby
baroquebobcat has joined #ruby
shock_one has quit [Ping timeout: 264 seconds]
thinkswan has joined #ruby
SubjectiveBias has quit [Ping timeout: 240 seconds]
failshell has joined #ruby
psy_ has quit [Remote host closed the connection]
arescorpio has quit [Quit: Leaving.]
_thinkswan has joined #ruby
thinkswan has quit [Read error: Connection reset by peer]
_thinkswan is now known as thinkswan
tkuchiki_ has joined #ruby
failshell has quit [Ping timeout: 265 seconds]
oo_ has quit [Remote host closed the connection]
robustus has joined #ruby
sinkensabe has joined #ruby
oo_ has joined #ruby
shuber_ has joined #ruby
tkuchiki has quit [Ping timeout: 255 seconds]
towski_ has joined #ruby
d34th4ck3r has quit [Quit: zzz]
sinkensabe has quit [Ping timeout: 265 seconds]
bronson has joined #ruby
shuber_ has quit [Ping timeout: 246 seconds]
snockerton has joined #ruby
ascarter has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
bronson has quit [Ping timeout: 240 seconds]
zzxc has quit [Ping timeout: 256 seconds]
Rollabunna has joined #ruby
scripore has joined #ruby
bootstrappm has joined #ruby
anaeem1_ has joined #ruby
devoldmx_ has quit [Remote host closed the connection]
<bootstrappm>
does require go by file system or module class?
_thinkswan has joined #ruby
neworder has joined #ruby
<neworder>
I read this in the Ruby style guide
<neworder>
Avoid methods longer than 10 LOC (lines of code).
thinkswan has quit [Read error: Connection reset by peer]
<neworder>
But it's quite impossible for my algorithm to be below 10 lines!
_thinkswan is now known as thinkswan
<bootstrappm>
if i have sitemap_generator/adapters/s3_adapter.rb as file hierarchy but module Sitemap; class S3Adapter; end; end .... do I require 'sitemap_generator/adapters/s3_adapter'?
<neworder>
What can I possibly do
<bootstrappm>
neworder split it up into other functions / methods
Rollabunna has quit [Ping timeout: 258 seconds]
<neworder>
I see
<neworder>
But isn't 10 a bit too few linse
<neworder>
lines*
<bootstrappm>
its a recommendation
<bootstrappm>
and no, 10 is plenty, read some of the more popular gems source
<bootstrappm>
or rails innards
<baweaver>
post your algorithm
anaeem1_ has quit [Remote host closed the connection]
<baweaver>
I'm willing to bet you're using some odd style
<bootstrappm>
and I'd change that to statements not lines
<bootstrappm>
just in case you split it up over many lines
anaeem1 has joined #ruby
<baweaver>
Treat Ruby more like a functional language
<baweaver>
selection if it's less than 1000 elements
<neworder>
For now
<pontiki>
do them all
<pontiki>
compare them
<neworder>
What do you suggest
<pontiki>
analyze them!
<neworder>
Is there anyway I can shorten that
<pontiki>
10 lines ia a guideline
<pontiki>
that's only 14
<baweaver>
Just a sec
<pontiki>
it's fine, really
<neworder>
=)
<bootstrappm>
agreed
<bootstrappm>
if you insist on having less lines break out that swap logic into its own helpers
<bootstrappm>
helper*
<pontiki>
rather than using an arbitrary number of lines from the style guide, find out a practical and pragmatic reason to shorten it, such as inefficiencies, DRY, LoD, and so on
<neworder>
Thought of that but swapping is already just one line
<bootstrappm>
well, no, its 4. from the if to the end
<neworder>
it's 2 lines including swapped = true
<baweaver>
The best way to get familiar with Ruby is to read through Enumerable
<bootstrappm>
break out the whole if into the helper and have the helper return true or false
<neworder>
Looks like there are not many Rubyists on Code Review
jayeshsolanki has joined #ruby
<baweaver>
Didn't even know CodeReview was a thing
cashnguns has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crdpink has quit [Quit: q term]
<neworder>
It's still in Beta
charliesome has joined #ruby
krz has joined #ruby
crdpink has joined #ruby
thinkswan has quit [Read error: Connection reset by peer]
neohunter has quit [Ping timeout: 272 seconds]
tkuchiki_ has quit [Remote host closed the connection]
Jarboe has quit []
tkuchiki has joined #ruby
snockerton has quit [Quit: Leaving.]
snockerton has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
ponga has joined #ruby
shock_one has joined #ruby
bluOxigen has joined #ruby
sigurding has joined #ruby
davedev2_ has quit []
tubuliferous has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
swgillespie has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
shock_one has quit [Ping timeout: 245 seconds]
riotjones has joined #ruby
<Aeyrix>
>can't get internet at my new house
<Aeyrix>
help me #ruby
codecop has joined #ruby
tubuliferous_ has joined #ruby
_havenn has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kwd has quit [Remote host closed the connection]
neworder has left #ruby [#ruby]
neohunter has joined #ruby
riotjones has quit [Ping timeout: 272 seconds]
avahey has quit [Quit: Connection closed for inactivity]
havenwood has quit [Ping timeout: 256 seconds]
sigurding has quit [Quit: sigurding]
SouL_|_ has quit [Ping timeout: 246 seconds]
sinkensabe has joined #ruby
tubuliferous_ has quit [Ping timeout: 256 seconds]
bronson has quit [Remote host closed the connection]
last_staff has joined #ruby
shuber_ has joined #ruby
nii236 has quit [Ping timeout: 255 seconds]
d34th4ck3r has joined #ruby
nahtnam has quit [Quit: Connection closed for inactivity]
tubuliferous has quit [Ping timeout: 265 seconds]
sinkensabe has quit [Ping timeout: 245 seconds]
icebourg has quit []
baroquebobcat has quit [Ping timeout: 244 seconds]
shuber_ has quit [Ping timeout: 258 seconds]
postmodern has joined #ruby
oo_ has quit [Remote host closed the connection]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
affenhoden has quit [Quit: leaving]
braincra- has joined #ruby
bootstrappm has left #ruby [#ruby]
ponga has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
braincrash has quit [Ping timeout: 264 seconds]
iteratorP has quit [Remote host closed the connection]
Rickmasta has joined #ruby
rippa has joined #ruby
GaryOak_ has joined #ruby
A205B064 has quit [Ping timeout: 276 seconds]
Channel6 has quit [Quit: Leaving]
snockerton has quit [Quit: Leaving.]
Sawbones has joined #ruby
iteratorP has joined #ruby
swgillespie has joined #ruby
GaryOak_ has quit [Ping timeout: 244 seconds]
Cache_Money has quit [Quit: Cache_Money]
Mongey has joined #ruby
ponga has joined #ruby
djbkd_ has joined #ruby
lidenskap has joined #ruby
Sawbones has quit [Ping timeout: 256 seconds]
jbomo has quit []
chipotle has quit [Read error: Connection reset by peer]
tubuliferous has joined #ruby
weemsledeux has joined #ruby
shock_one has joined #ruby
djbkd_ has quit [Client Quit]
nii236 has joined #ruby
clauswitt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
neohunter has quit [Read error: Connection reset by peer]
JoshGlzBrk has joined #ruby
chipotle has joined #ruby
ponga has quit [Quit: Leaving...]
aganov has joined #ruby
Mongey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kp666 has joined #ruby
mistermocha has quit [Remote host closed the connection]
chipotle_ has joined #ruby
shock_one has quit [Remote host closed the connection]
shock_one has joined #ruby
Pathfinder has joined #ruby
chipotle has quit [Ping timeout: 256 seconds]
neohunter has joined #ruby
hanmac1 has joined #ruby
last_staff has quit [Ping timeout: 258 seconds]
shock_one has quit [Read error: No route to host]
shock_one has joined #ruby
Guest25128 has quit [Quit: Leaving]
SubjectiveBias has joined #ruby
ScriptGeek has joined #ruby
<ScriptGeek>
Is Ruby the best language for web development?
<sevenseacat>
there is no 'best' language.
<ScriptGeek>
well, what's the point in bothering then?
<ScriptGeek>
Let's just do everything in C
<sevenseacat>
in bothering with what? programming?
Oka has quit [Quit: さようなら]
<ScriptGeek>
sure
<sevenseacat>
you'll be hard-pressed finding a web framework in C, but I'm sure one likely exists somewhere.
<ScriptGeek>
wouldn't that be fun?
<ScriptGeek>
I made a simplistic web server in C
* hanmac1
did once wrote a website/webserver in C as part as my education as programmer
<Pathfinder>
ScriptGeek: Best is relative
failshell has joined #ruby
zotherstupidguy has joined #ruby
<ScriptGeek>
I've been kind of stuck in a cave for a long time, messing only with C#, and I recently decided to poke my head out and look around at the forest of other languages.
<sevenseacat>
there sure is a lot of them
ballpointcarrot has quit [Ping timeout: 265 seconds]
Senjai has quit [Ping timeout: 255 seconds]
<ScriptGeek>
So I started learning some Ruby, like yesterday
<sevenseacat>
ruby is a great choice for web development, lots of frameworks around for it
<zotherstupidguy>
is it possible to write assembly code in ruby program?
<Pathfinder>
it kinda summarises the philosophies behind most languages in a nutshell
<ScriptGeek>
awesome, thanks
Renich has joined #ruby
<ScriptGeek>
I want to get a programming job, so I figured I'd learn some more programming languages. Seems to be a lot of web development job openings.
mooe has joined #ruby
<sevenseacat>
is it just me that thinks that web development is moving way too freaking fast these days
failshell has quit [Ping timeout: 244 seconds]
<ScriptGeek>
I was looking at all the new languages & web frameworks I've never heard of before and feeling bewildered, I have some doubts about this insanity.
oo_ has joined #ruby
<sevenseacat>
it is insane, but its all legitimate
GriffinHeart has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 256 seconds]
adaedra has quit [Ping timeout: 276 seconds]
nii236 has quit [Ping timeout: 256 seconds]
asmodlol has joined #ruby
adaedra has joined #ruby
<ScriptGeek>
With all the technological divergence, how is it possible to find a job in such a field?
<pontiki>
the equally insane amount of demand?
A124 has quit [Remote host closed the connection]
dented42 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
<sevenseacat>
^
riotjones has joined #ruby
<sevenseacat>
you're not expected to know all of it. you're expected to know a subset of it.
riotjones has quit [Read error: Connection reset by peer]
A124 has joined #ruby
Senjai has joined #ruby
<ScriptGeek>
How does one know what they need to learn?
riotjones has joined #ruby
<pontiki>
how would you answer that for anything?
<sevenseacat>
learn what you need to know to do what you want to do.
SubjectiveBias has quit [Ping timeout: 258 seconds]
<ScriptGeek>
I guess it's backend development
<pontiki>
there is no formula to becoming a web developer
exile-bot-2 has quit [Remote host closed the connection]
<Radar>
ScriptGeek: Why are you leaving C#? I've heard a lot of people looking for a change out of C# recently and I don't understand why now.
<ScriptGeek>
Radar: Just broadening my horizons
<Radar>
ScriptGeek: You're not the only one.
<sevenseacat>
people dont want to stagnate
<Radar>
It's like there's been some kind of cataclysmic event in C# and now there's all these people looking to learn Ruby.
<Radar>
And all asking along the same lines
<Radar>
"how do i become great at this?"
paradisaeidae has joined #ruby
<sevenseacat>
or its the same person asking under five different names >_>
bronson has joined #ruby
riotjones has quit [Ping timeout: 256 seconds]
<ScriptGeek>
It wasn't me, honest
towski__ has joined #ruby
chipotle_ has quit [Remote host closed the connection]
<ScriptGeek>
Radar: Are you great at this?
noonius has joined #ruby
<Radar>
ScriptGeek: Define great.
towski___ has joined #ruby
<Radar>
:)
<ScriptGeek>
Like Darth Vader great
bluOxigen has quit []
bluOxigen has joined #ruby
<sevenseacat>
not sure that will help
chipotle has joined #ruby
shuber_ has joined #ruby
* baweaver
watches amusedly from the corner
shock_one has quit [Remote host closed the connection]
BlackGear has joined #ruby
shock_one has joined #ruby
<baweaver>
C# is actually a fairly good language though
towski_ has quit [Ping timeout: 250 seconds]
bronson has quit [Ping timeout: 244 seconds]
towski__ has quit [Ping timeout: 240 seconds]
<ScriptGeek>
So if you learn something good then stay with it forever and never learn anything new?
<sevenseacat>
good luck with that
<baweaver>
Not necessarily
<baweaver>
Good is incredibly subjective
s2013 has joined #ruby
<certainty>
moin
<baweaver>
Ruby is great for scripting and system administration
<pontiki>
i would absolutely have hated a career where i only knew how to do one thing
<flughafen>
moring sevenseacat certainty shevy
<baweaver>
Rails is great for rapid web development
<flughafen>
certainty: did you taka 3 day weekend/
<certainty>
flughafen: o/
<flughafen>
4*
<certainty>
flughafen: nope been working on friday
<flughafen>
cool
<flughafen>
i took it off
shuber_ has quit [Ping timeout: 256 seconds]
<flughafen>
top of the morning to you sevenseacat
<ScriptGeek>
I went to a job interview once, had C# on my resume.. They asked me how long it would take for me to learn Ruby on Rails. I was like idfk.
<baweaver>
Though Rails almost requires you know Javascript as well
<sevenseacat>
flughafen: guten Tag
<certainty>
yeah many did. I should have done that too in retrospective, flughafen
BlackGear has quit [Ping timeout: 240 seconds]
<Radar>
ScriptGeek: It's taken me 9 years to get to where I am now with Ruby/Rails and I'll let you know when I finish learning it.
<sevenseacat>
flughafen: landed any planes today?
<baweaver>
ScriptGeek: Learn one MVC framework and you have a good start on all of them
<certainty>
ScriptGeek: that's a strange question btw.
<baweaver>
The same as knowing Python or Perl helps significantly with Ruby.
<pontiki>
my response would have been "how long has it taken you?"
<flughafen>
sevenseacat: no. you stealing any treasure?
<baweaver>
or C# helps with Java
<pontiki>
and probably walked out
<sevenseacat>
not yet, but the day is young.
shock_one has quit [Ping timeout: 246 seconds]
ych_ has joined #ruby
<ScriptGeek>
pontiki: has the walkout strategy worked? I would like to use that some time. Job interviews seem to be like meat market.
<pontiki>
yes, i have not been employed by idiots very often
<ScriptGeek>
I had HTML/CSS/Javascript with JQuery and MooTools listed on my resume and they were telling me that was impressive.. I figured I must have made a poor 1st impression and they realized maybe I was lying? I don't understand why the lady said that, big deal, it's not like that stuff is difficult.
d34th4ck3r has quit [Quit: zzz]
* sevenseacat
raises eyebrow
<ScriptGeek>
Javascript is more of a PITA with web standards
sinkensabe has joined #ruby
* sevenseacat
's bullshit detector is now going off
<pontiki>
if they're the sort of place that worries about my ability to work in a specific technology that i do not have on my resume, then they're not likely going to be a place that understands development
<ScriptGeek>
pontiki: I agree
<zotherstupidguy>
ScriptGeek javascript is a mistake child that we need to takecare of for the rest of our lives.
wolfleemeta____ has joined #ruby
<wasamasa>
one man's unwanted child is another man's treasure
wolfleemeta___ has quit [Read error: Connection reset by peer]
<ScriptGeek>
zotherstupidguy: true, it's deformed and crippled, but being caretakers for such a difficult invalid provides job security
<baweaver>
It's not that bad.
BlackGear has joined #ruby
Rollabunna has quit [Ping timeout: 246 seconds]
SouL_|_ has joined #ruby
chinmay_dd has joined #ruby
zipace has joined #ruby
tagrudev has joined #ruby
giuseppesolinas has joined #ruby
<baweaver>
and most of its issues are solved with post-process languages anyways.
<ScriptGeek>
Radar: would you consider yourself an expert with Ruby?
<baweaver>
I'm still a Livescript lover myself.
<eam>
baweaver: whenever someone complains about javascript I just think "man, you must've been born in the 90s"
riotjones has joined #ruby
arturaz has joined #ruby
<baweaver>
eam: I was though :D
<eam>
bwahaha
<sevenseacat>
kids these days
<baweaver>
1990 exactly
<flughafen>
eam i think javascript sucks and i was born in the 80s
<eam>
flughafen: oh I think it sucks, sure
<flughafen>
i still liven to cassette tapes
* sevenseacat
also an 80s child
<eam>
but it's pretty far from the worst language I've used
finnnnnnnnnnn has joined #ruby
<baweaver>
That's more of a hipster thing there flughafen
<baweaver>
I've used RPG and COBOL in production before. Javascript is a soft little kitten in comparison.
<zotherstupidguy>
who is 86?
<flughafen>
sevenseacat and flughafen are the voices of wisdom in here
<ScriptGeek>
javascript isn't that bad, per se, it's more of a failed adoption of web standards that makes it suck
User458764 has joined #ruby
threh has quit [Quit: Leaving]
<ScriptGeek>
and with web standard fails follows HTML and CSS sucking, too
<baweaver>
I'm the voice of chaos and bad puns
<eam>
lucky me I've managed to avoid the browser my entire career
<wasamasa>
you didn't ever read ruby docs in one?
<zotherstupidguy>
eam really lucky!!!
<eam>
wasamasa: well, with javascript enabled?
<baweaver>
They mean develops for
<wasamasa>
eam: disabling javascript is like a terror statement these days
<wasamasa>
eam: if you look at the share of popular websites just not working anymore
<eam>
well call me al qaeda
<certainty>
yeah kids of the 80s :)
* baweaver
missed out by 6 months
<certainty>
70s?
<baweaver>
90s
<certainty>
90s were good music wise. I guess that's also true people wise
<sevenseacat>
arr, baweaver is the same age as my kid sister. *peers down nose*
<certainty>
also if robotics keep to progress at that pace ... :p
bahar has quit [Ping timeout: 256 seconds]
<baweaver>
In which someone who knows much about a subject believes they know little, and one who knows little believe they know much.
mistermocha has joined #ruby
<ScriptGeek>
dating is lame anyways, guy buys all the stuff, girl pretends not to be interested and in the end girl gets free entertainment watching guy be an idiot
<sevenseacat>
o.O
<baweaver>
ScriptGeek: Might have crossed a few lines there.
<wasamasa>
this is very telling
<zotherstupidguy>
baweaver you are not that cool :P
<Radar>
well this is turning out to be a fun conversation. I'm going to avoid the lake of fire and go back to work :)
<baweaver>
zotherstupidguy: Mate, I'm a grade S nerd. I care little about that.
<ScriptGeek>
baweaver: I'm suffering from Dunning Kruger effect... no wait, if I knew that then I can't be... ohh the lame paradoxes of science
<sevenseacat>
Radar: spoken like a true married man. *runs*
<baweaver>
Psychology, but anyways.
asmodlol has quit [Ping timeout: 272 seconds]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
clauswitt has joined #ruby
vickleton has joined #ruby
lxsameer has joined #ruby
<zotherstupidguy>
baweaver have you ever heard of github art?
weemsledeux has quit [Remote host closed the connection]
asmodlol has joined #ruby
<baweaver>
explain further
<baweaver>
not offhand
bahar has joined #ruby
marr has joined #ruby
<zotherstupidguy>
well, the idea is to make penis shape using your github contribution color blocks, it will only take a year to finish it through selected commits
* baweaver
sighs
<baweaver>
well with that I think it's time for bed.
<ScriptGeek>
gnite, baweaver
<zotherstupidguy>
night baweaver :)
<sevenseacat>
see ya baweaver
<sevenseacat>
zotherstupidguy: don't be silly.
clauswitt has quit [Max SendQ exceeded]
<zotherstupidguy>
sevenseacat its a game like any other
bigsky has quit [Ping timeout: 264 seconds]
clauswitt has joined #ruby
surs has joined #ruby
<zotherstupidguy>
actually its a good gamification dynamic from github to put those little color blocks, its only a matter of time so that ppl start playing with it
vickleton has quit [Ping timeout: 244 seconds]
konsolebox has quit [Ping timeout: 272 seconds]
GriffinHeart has joined #ruby
mistermocha has quit [Ping timeout: 255 seconds]
towski___ has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
<ScriptGeek>
hey guys, I juts realized something that I must confess
<Aeyrix>
I've tried, I don't know what I dislike about it.
jenrzzz has joined #ruby
diegoviola has quit [Quit: WeeChat 1.2]
SubjectiveBias has joined #ruby
Hirzu_ has joined #ruby
<Aeyrix>
Atm I'm trying to get into the Go kool-aid.
Hirzu has quit [Ping timeout: 252 seconds]
paradisaeidae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/20150513174244]]
sinkensabe has joined #ruby
<shevy>
I knew what I disliked about erlang
<shevy>
the syntax
parduse has quit [Ping timeout: 264 seconds]
<Aeyrix>
shevy: The '.' at the end or in general?
<zotherstupidguy>
Aeyrix how it going ?
<Aeyrix>
The only syntax I truly enjoy is Ruby's. Everything else is just to get by.
<Aeyrix>
zotherstupidguy: u wot
<Jelvena>
" Relationship between Elixir and Erlang is unique, with Elixir being often semantically very close to Erlang, but extending the original concept further by borrowing approaches from various other languages."
sinkensabe has quit [Remote host closed the connection]
<Aeyrix>
That entire sentence literally says nothing.
<Aeyrix>
"It's kind of semantically close, but also kind of not."
<Aeyrix>
Elixir is Erlang for Rubyists yeah?
<Aeyrix>
Why would anyone do that? Does it offer performance benefits?
<Aeyrix>
Oh, apparently yes
<zotherstupidguy>
the guy who created rspec went for erlang after ruby, right?
<Jelvena>
No, that's not true.
<Jelvena>
Elixir is not Erlang for Ruby, it clearly says that.
<Aeyrix>
Oh.
<Aeyrix>
To clarify, I don't have the website open.
<Jelvena>
sevenseacat, I don't know if these numbers are biased, but elixir being 2-70x faster than Ruby? Must be some bs.
<Aeyrix>
Why?
<sevenseacat>
well its a compiled language
<Aeyrix>
Elixir relies on the Erlang VM yo.
ta has joined #ruby
<aawe>
ruby is not a very fast language
<Aeyrix>
sevenseacat: Do you use Elixir in any capacity?
<aawe>
not very hard to compete against
<sevenseacat>
so i'd expect it to be a shit-ton faster automatically
ohaibbq has quit [Quit: Leaving...]
marr has quit []
<sevenseacat>
that and ruby really is slow, comparitive to other languages.
<shevy>
Aeyrix I dunno, I disliked everything related to syntax there. I think ruby spoiled me
<Aeyrix>
shevy: I totally agree.
<aawe>
you get used to the syntax
<shevy>
I was one of those weird dudes who, a few months after writing some perl code, did not understand what I was doing
<Aeyrix>
That's kind of defined behaviour for perl programmers.
BlackGear has quit [Remote host closed the connection]
<shevy>
yeah that's usually what people say, also in lisp. but even in perl, I so often forgot the trailing ';' char
<Jelvena>
I see. sevenseacat do you know anything about the community and it's growth? For it to being 3 years old only.
<SpicyMagpie>
shevy: what is weird about it... besides that you write Perl?
neohunter has quit [Ping timeout: 264 seconds]
<sevenseacat>
Jelvena: nope.
<Aeyrix>
Perl is used solely for code golf and to prove that you can write something in perl.
<shevy>
spicymagpie it was my first language on linux actually
BlackGear has joined #ruby
<Aeyrix>
I read that as "my first language was linux"
<SpicyMagpie>
Perl, like C and its derivatives, is called a write-only code.
<Aeyrix>
"????"
<Aeyrix>
Eh I can write readable C.
<Aeyrix>
I force myself to, because I'm spoiled by the readability of Ruby.
marr has joined #ruby
<Aeyrix>
I can't read Python anymore though, without block-end denotion.
<zotherstupidguy>
Aeyrix perl got the best regex engine!
<Aeyrix>
zotherstupidguy: Actually yeah, and that.
<shevy>
I actually like that you can omit "end-statements" in python
<SpicyMagpie>
Aeyrix: I learned COBOL, then C. I can write readable code too... but for that you should spend some time writing readable code.
<shevy>
I hate that you must indent mandatory AND have to use a ':' character
<Aeyrix>
Why though, shevy? I like it, just like I like { and }.
<Aeyrix>
(My first language was C#, I'm so sorry)
<shevy>
you usually use 'end' in ruby
<Aeyrix>
Uh, PHP, then C#.
<shevy>
you may end up with things like:
<zotherstupidguy>
shevy i hate the fact that python is famous and all the smart uni kids have to do their work using it
<shevy>
end
<shevy>
end
_seanc_ has quit [Quit: _seanc_]
<shevy>
end
<shevy>
end
<Aeyrix>
#kickedforspam
<Jelvena>
Smart uni kids do Python?
<Jelvena>
No it's the other way around.
<Jelvena>
Python is for everyone.
<shevy>
#demonstrationForPower
<SpicyMagpie>
Aeyrix: PHP is not a language, it is a template manager, like erb for rails.
* SpicyMagpie
ducks and runs.
<Aeyrix>
Jelvena: Python is like the standard for entry-level programming university courses now.
<Aeyrix>
spicymagpie: Hah, truth.
<shevy>
spicymagpie that's kinda true... PHP is more like a "thing" than a programming language
<aawe>
Which is a shame. Python is hard
<Jelvena>
Python is not hard.
<jokke>
aawe: not here
<Aeyrix>
I disagree entirely.
<aawe>
it's unintuitive
<Jelvena>
If you find Python hard, I feel sorry.
<aawe>
has a bad stdlib wrt documentation and separation of concerns
<SpicyMagpie>
I also disagree, here I teach JavaScript to first-year students.
<Aeyrix>
If I could take Python's way of importing things, and probably 3/4 of the Zen of Python, into Ruby, you'd have a perfect language for me (except for speed).
<zotherstupidguy>
JElvena what is this ___DDD___
<Aeyrix>
aawe: Holy shit absolutely. Python's stdlib is actually atrocious
<shevy>
what part of the zen of python?
<Aeyrix>
zotherstupidguy: That's an internal method.
<aawe>
Aeyrix: which makes it hard to learn
<sevenseacat>
I created a monster.
<Aeyrix>
aawe: Yeah I agree with you there, actually.
<Aeyrix>
urllib2, anyone?
<zotherstupidguy>
Aeyrix will it grow wings and fly?
<shevy>
haha yeah sevenseacat
<Aeyrix>
The fact that `requests` isn't in stdlib, anyone?
ta has quit [Remote host closed the connection]
<SpicyMagpie>
sevenseacat: run now that you can.
<Aeyrix>
shevy: sec
<shevy>
do you have to read up first :D
* SpicyMagpie
sits down with the popcorn bag
<Jelvena>
zotherstupidguy, What is, int j = 1; (&main + (&exit - &main)*(j/1000))(j+1); ?
<aawe>
python the language is not just the simple syntax, it includes the stdlib. if the stdlib is bad, the language overall is hard to learn. python is hard to learn for this reason, even though the syntax is easy to understand
SubjectiveBias has quit [Ping timeout: 244 seconds]
ta has joined #ruby
<aawe>
you might learn "hello world" fast, but learning to write "good" python code takes a long time
<shevy>
how long does it take to write good perl code
<SpicyMagpie>
shevy: 75 years.
<Jelvena>
A language being hard to learn does not imply the documentations are bad.
<shevy>
haha
<Jelvena>
Python is not a hard language.
greenbagels has quit [Quit: Leaving]
<aawe>
Jelvena: just disregard everything I wrote, eh?
jgt1 has joined #ruby
<Jelvena>
Mastering a language is something different tho.
<Aeyrix>
Jelvena: Actually, no. Now I will just stop talking to you because not only are you spouting nonsense, you're doing it antagonistically.
<shevy>
Aeyrix dunno. I guess require will stay as it is, but they added require_relative some time ago so I would not see why they could not want to add a more sophisticated way to load up ruby files
<Aeyrix>
Be quiet. Go be a #c "king" or whatever yo.
joonty has joined #ruby
TheHodge has joined #ruby
<adaedra>
Aeyrix: stop feeding
<Aeyrix>
shevy: Didn't require_relative do basically the same as requirE?
gizmore has quit [Ping timeout: 245 seconds]
Guest74214 has quit [Ping timeout: 265 seconds]
<Aeyrix>
I remember seeing some blog post laughing about how it was literally the same thing.
<shevy>
it's twice as long!
<Aeyrix>
LOL
gizmore has joined #ruby
<shevy>
they removed ./ from the default search path
<aawe>
I too get the feeling Jelvena is trying to antagonize
<sevenseacat>
hello. i dont know that much. i'm more a rails type of person.
<adaedra>
It's like require, but without checking if the file has been already required
<Aeyrix>
sevenseacat: o ok
<Aeyrix>
adaedra: ... oh
<Aeyrix>
Does that overwrite?
<SpicyMagpie>
nono, load is more like opening the file and importing whatever is on it.
<adaedra>
Not exactly
<heftig>
class_eval the code in an anonymous module
Rollabunna has quit [Ping timeout: 244 seconds]
<heftig>
a = Module.new; a.class_eval(File.read("foo.rb"))
<adaedra>
It will re-read the file, overwriting things the way you do when reopening a class
<heftig>
a.const_get("Foo")
roshanavand has joined #ruby
sigurding has joined #ruby
<zotherstupidguy>
can we collect ruby conf videos in a torrent? like the defcon guys do?
einarj has joined #ruby
thatslifeson has quit [Ping timeout: 272 seconds]
ki0 has joined #ruby
<heftig>
hm, though you might also need to reset the loaded features ($") after unloading by throwing away a
charliesome has quit [Quit: zzz]
DEA7TH has joined #ruby
taiansu has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nii236 has joined #ruby
mistermocha has joined #ruby
Nieralyte has quit [Quit: Nieralyte]
<SpicyMagpie>
oh, my Ruby env disappeared!
<gert7>
i wrote a gem last night
<Darkwater>
good job
Igorshp has joined #ruby
devoldmx has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
hardlin3r has quit [Quit: Leaving]
d34th4ck3r has quit [Quit: zzz]
mistermocha has quit [Ping timeout: 265 seconds]
<izzol>
There is any good tutoria/doc where I can check how to create a versioning in ruby/sinatra REST API ?
parduse has joined #ruby
vtunka has joined #ruby
lkba has joined #ruby
ghr has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lkba_ has quit [Read error: Connection reset by peer]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sigurding has quit [Quit: sigurding]
tubuliferous_ has joined #ruby
parduse has quit [Ping timeout: 265 seconds]
lkba has quit [Ping timeout: 272 seconds]
varunwachaspati has quit [Ping timeout: 256 seconds]
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
haxrbyte has joined #ruby
tubuliferous_ has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
chinmay_dd has joined #ruby
<shevy>
how to update all .gem files that are installed locally?
countryHick has quit [Ping timeout: 276 seconds]
hellschreiber has quit [Ping timeout: 276 seconds]
<shevy>
hmm is it "gem update" ? or is there some catch
<gert7>
with bundle update?
<gert7>
if you're on a Gemfile
<shevy>
without bundler though
<shevy>
I need to assume that not every user knows that above command, in installation-instructions
_xCept has quit [Ping timeout: 252 seconds]
jmcc has quit [Ping timeout: 276 seconds]
n1ftyn8 has quit [Ping timeout: 276 seconds]
_xCept has joined #ruby
hellschreiber has joined #ruby
<gert7>
should be gem update
sevenseacat has quit [Quit: Me dun like you no more.]
Zekka has quit [Ping timeout: 276 seconds]
haxrbyte has quit [Ping timeout: 256 seconds]
n1ftyn8 has joined #ruby
Zekka has joined #ruby
countryHick has joined #ruby
terlar has joined #ruby
jmcc has joined #ruby
sigurding has joined #ruby
Obfuscate has quit [Ping timeout: 276 seconds]
parduse has joined #ruby
<Aeyrix>
heftig: Yeah
<Aeyrix>
You do have to
cstrahan has quit [Ping timeout: 276 seconds]
Heero has quit [Ping timeout: 276 seconds]
noonius has quit [Quit: noonius]
_xCept has quit [Ping timeout: 264 seconds]
parduse has quit [Read error: Connection reset by peer]
Obfuscate has joined #ruby
akitada has quit [Ping timeout: 276 seconds]
vmatiyko has joined #ruby
Heero has joined #ruby
cstrahan has joined #ruby
nii236 has quit [Ping timeout: 250 seconds]
taiansu has joined #ruby
countryHick has quit [Ping timeout: 276 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
bluOxigen has joined #ruby
_xCept has joined #ruby
dukedave has quit [Ping timeout: 276 seconds]
countryHick has joined #ruby
dukedave has joined #ruby
TheMoonMaster has quit [Ping timeout: 276 seconds]
parduse has joined #ruby
chrisseaton has quit [Ping timeout: 276 seconds]
akitada has joined #ruby
giuseppesolinas has joined #ruby
chrisseaton has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
TheMoonMaster has joined #ruby
ta has joined #ruby
ta has quit [Remote host closed the connection]
ta has joined #ruby
lidenskap has quit [Remote host closed the connection]
incomprehensibly has quit [Ping timeout: 276 seconds]
<gert7>
i need some input on a gem i wrote, i don't know if it's useful
astrobunny has quit [Ping timeout: 276 seconds]
sigurding has quit [Quit: sigurding]
astrobunny has joined #ruby
mdw has joined #ruby
ki0 has quit [Read error: Connection reset by peer]
RegulationD has quit [Read error: Connection reset by peer]
ki0 has joined #ruby
exadeci has joined #ruby
gluten_hell has joined #ruby
RegulationD has joined #ruby
lessless has joined #ruby
incomprehensibly has joined #ruby
bmn has quit [Ping timeout: 256 seconds]
mooe has quit [Quit: Connection closed for inactivity]
yeticry has quit [Ping timeout: 244 seconds]
shock_one has joined #ruby
bmn has joined #ruby
yeticry has joined #ruby
lele is now known as Guest24
<zotherstupidguy>
shevy is you are building a gem locally, you can just gem build over the existing gem
d34th4ck3r has joined #ruby
decoponio has joined #ruby
fabrice31_ has joined #ruby
OrbitalKitten has joined #ruby
duncannz has joined #ruby
shuber_ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
duncannz has quit [Max SendQ exceeded]
SouL_|_ has quit [Ping timeout: 256 seconds]
speakingcode has quit [Ping timeout: 255 seconds]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duncannz has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
speakingcode has joined #ruby
havenwood has quit []
duncannz has quit [Max SendQ exceeded]
quimrstorres has joined #ruby
tubuliferous has quit [Ping timeout: 256 seconds]
duncannz has joined #ruby
c0m0 has joined #ruby
shuber_ has quit [Ping timeout: 255 seconds]
CamonZ has joined #ruby
arup_r has quit [Remote host closed the connection]
thatslifeson has joined #ruby
huddy has joined #ruby
sigurding has joined #ruby
byprdct has joined #ruby
shock_one has quit []
TheHodge has quit [Ping timeout: 276 seconds]
parduse has quit [Ping timeout: 244 seconds]
TheHodge has joined #ruby
thatslifeson has quit [Ping timeout: 264 seconds]
roshanavand has quit [Quit: Konversation terminated!]
failshell has joined #ruby
roshanavand has joined #ruby
doertedev has joined #ruby
jayeshsolanki has quit [Ping timeout: 256 seconds]
kaspergrubbe has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<St1gma>
izzol: use git
<St1gma>
damn just realized when that was asked :p
failshell has quit [Ping timeout: 240 seconds]
leafybasil has quit [Remote host closed the connection]
workmad3 has joined #ruby
fgo has quit [Quit: WeeChat 1.1.1]
crus has quit [Remote host closed the connection]
crus has joined #ruby
<izzol>
St1gma: what do you mean git? ;-)
<St1gma>
You said you wanted to keep versioning of your REST API that you are building?
<St1gma>
git would be good for keeping track of changes in the code. (maybe I misunderstood your question?)
<izzol>
St1gma: yes, that's correct. So I can simply change the version of my API to the clients.
kaspergrubbe has quit [Ping timeout: 255 seconds]
kaspergrubbe has joined #ruby
<St1gma>
There are many ways of creating versions in git, some people might disagree with what I'm going to say here. But what I've done in the past is keep the "master" branch with the latest changes once I'm satisfied I create a new branch with the name "version-XX.YY". I tell people they can get that branch for that specific version or "master" for bleeding edge.
idafyaid has quit [Ping timeout: 272 seconds]
iamninja_ has quit [Read error: Connection reset by peer]
<St1gma>
you can join #git and ask more questions on how that works
<izzol>
St1gma: hmm, I was thinking about the keeping version of my API in the url.
<izzol>
and get them from the headers (for example).
<gert7>
would that involve backwards compatibility?
<izzol>
I'm not really sure what is the best way that's why I'm looking answers :)
* zotherstupidguy
“Then he made one last effort to search in his heart for the place where his affection had rotted away, and he could not find it.” ― Gabriel García Márquez, One Hundred Years of Solitude
chinmay_dd has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has joined #ruby
Rollabunna has joined #ruby
Rollabunna has quit [Read error: No route to host]
Rollabunna has joined #ruby
fabrice31 has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
neohunter has joined #ruby
_blizzy_ has joined #ruby
bigsky_ has joined #ruby
bMalum has quit [Quit: bMalum]
Dreamer3 has quit [Ping timeout: 245 seconds]
haxrbyte has quit [Read error: Connection reset by peer]
haxrbyte_ has joined #ruby
varunwachaspati has joined #ruby
SubjectiveBias has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
iasoon has quit [Ping timeout: 276 seconds]
haxrbyte has joined #ruby
bluOxigen has joined #ruby
noonius has quit [Quit: noonius]
bMalum has joined #ruby
chinmay_dd has joined #ruby
neworder has quit [Ping timeout: 264 seconds]
scripore has joined #ruby
thatslifeson has joined #ruby
haxrbyte_ has quit [Ping timeout: 272 seconds]
duncannz has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: zzz]
TuxOtaku_ has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
doodlehaus has joined #ruby
thatslifeson has quit [Ping timeout: 264 seconds]
doodlehaus has quit [Remote host closed the connection]
failshell has joined #ruby
iasoon has joined #ruby
shuber_ has joined #ruby
bahar has quit [Ping timeout: 272 seconds]
jayeshsolanki has joined #ruby
AlphaAtom has joined #ruby
vmatiyko has quit [Quit: leaving]
failshell has quit [Ping timeout: 256 seconds]
shuber_ has quit [Ping timeout: 272 seconds]
fabrice31_ has joined #ruby
fabrice31 has quit [Read error: Connection reset by peer]
neohunter has quit [Ping timeout: 252 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
ta has quit [Read error: Connection reset by peer]
selu has joined #ruby
ta has joined #ruby
SubjectiveBias has quit [Ping timeout: 258 seconds]
noonius has joined #ruby
Musashi007 has joined #ruby
doodlehaus has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
Jandre has joined #ruby
Jandre is now known as Guest47033
finnnnnnnnnnn has joined #ruby
finnnnnnnnnnn has quit [Client Quit]
scripore has joined #ruby
reinaldob has joined #ruby
kp666 has quit [Remote host closed the connection]
bMalum has quit [Quit: bMalum]
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
platzhirsch has joined #ruby
millerti has joined #ruby
oo__ has joined #ruby
noonius has quit [Quit: noonius]
neworder has joined #ruby
oo_ has quit [Ping timeout: 246 seconds]
noonius has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
juanpaucar has quit [Remote host closed the connection]
juanpaucar has joined #ruby
gluten_hell_ has joined #ruby
gagrio has joined #ruby
dANO has quit [Client Quit]
slash_nick has joined #ruby
c0m0 has joined #ruby
platzhirsch has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 258 seconds]
neworder_ has joined #ruby
sigurding has quit [Quit: sigurding]
neworder_ has quit [Client Quit]
rodferso1 has joined #ruby
sgambino has joined #ruby
neworder has quit [Ping timeout: 265 seconds]
varunwachaspati has quit [Ping timeout: 252 seconds]
rodfersou has quit [Ping timeout: 272 seconds]
sigurding has joined #ruby
SubjectiveBias has joined #ruby
n80 has joined #ruby
maoko has joined #ruby
unshadow has joined #ruby
flap has quit [Remote host closed the connection]
yaw has joined #ruby
yaw has left #ruby [#ruby]
varunwachaspati has joined #ruby
n80 has quit [Client Quit]
SouL_|_ has joined #ruby
Renich has quit [Quit: leaving]
pardusf has quit [Ping timeout: 244 seconds]
taiansu has joined #ruby
hoov has joined #ruby
parduse has joined #ruby
shredding has joined #ruby
kubunto has joined #ruby
sankaber has joined #ruby
noonius has joined #ruby
terlar has joined #ruby
thatslifeson has joined #ruby
felixjet__ has quit [Read error: Connection reset by peer]
noonius has quit [Client Quit]
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
kubunto has quit [Quit: Anyone who thinks the Large Hadron Collider will destroy the world is a twat]
felixjet has joined #ruby
shazaum has joined #ruby
scripore has joined #ruby
shazaum has joined #ruby
shazaum has quit [Changing host]
felixjet has quit [Client Quit]
pgunnars has joined #ruby
bMalum has quit [Quit: bMalum]
quimrstorres has quit [Remote host closed the connection]
<pgunnars>
does ruby have some special path env? claims it cant load a file which is definitely in path
davedev24_ has joined #ruby
centrx has joined #ruby
felixjet has joined #ruby
zack6849 has quit [Ping timeout: 276 seconds]
<hanmac1>
pgunnars: your ruby version?
vtunka has quit [Quit: Leaving]
taiansu has quit [Remote host closed the connection]
icebourg has joined #ruby
zzxc has joined #ruby
taiansu has joined #ruby
anaeem1 has quit [Remote host closed the connection]
varunwachaspati has quit [Remote host closed the connection]
JDiPierro has joined #ruby
sanguisdex has quit [Quit: Leaving.]
DaniG2k has quit [Ping timeout: 272 seconds]
anaeem1_ has joined #ruby
<Pathfinder>
pgunnars: Are you using RVM to manage ruby versions...if so .. do rvm list and check if you are using the correct version of ruby or that the PATH is being loaded
<hanmac1>
pgunnars: and did you use 1.8 before? if yes you need require_relative because "." is not in PATH anymore
senayar has quit [Remote host closed the connection]
some_user has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
sanguisdex has joined #ruby
vtunka has joined #ruby
zack6849 has joined #ruby
zack6849 has joined #ruby
<jhass>
^ s/PATH/$LOAD_PATH/
sanguisdex has left #ruby [#ruby]
<jhass>
not to be confused with ENV['PATH']
taiansu has quit [Ping timeout: 256 seconds]
taiansu has joined #ruby
anaeem1_ has quit [Ping timeout: 246 seconds]
fabrice31_ has quit [Remote host closed the connection]
nii236 has joined #ruby
fabrice31 has joined #ruby
iamninja_ has joined #ruby
gagrio has quit [Ping timeout: 255 seconds]
PierreRambaud has joined #ruby
conta has joined #ruby
oo__ has quit [Remote host closed the connection]
ta has joined #ruby
gagrio has joined #ruby
noonius has joined #ruby
noonius has quit [Client Quit]
noonius has joined #ruby
<hanmac1>
jhass: hm yeah but it seams
<hanmac1>
that pgunnars itself doesnt know which path ruby means
zzxc has quit [Ping timeout: 245 seconds]
unshadow has quit [Quit: leaving]
bmurt has joined #ruby
Soda has joined #ruby
noonius has quit [Ping timeout: 245 seconds]
icebourg has quit []
gilmour has joined #ruby
griffindy has joined #ruby
jerius has joined #ruby
Ropeney has joined #ruby
thebatu1_ has joined #ruby
dblessing has joined #ruby
[k- has joined #ruby
<thebatu1_>
hello, being new to Ruby and RoR I saw this piece of code that I do not understand. if pk.is_a?(Array) what is the functionality of (Array) here? and is it different from (array) ?
<aawe>
thebatu1_: Array is a class name
<hanmac1>
thebatu1_: Array is the class of all arrays ... with is_a?(Array) it does check if pk is an Array and no other kind of object
hectortrope has joined #ruby
<[k->
Array can be a class name or Kernel#Array o_O
<gert7>
Array is literally a class there. Array.class() returns the Class class
idafyaid has joined #ruby
idafyaid has joined #ruby
<thebatu1_>
But the use of is_a? is enough to check if it is an array why add (Array)
<thebatu1_>
?
<apeiros>
[k-: methods starting with an uppercase letter must be used in an unambiguous way. that is one of a) having explicit receiver, b) having parens, c) having a param passed
<hanmac1>
thebatu1_: no, is_a is not enough
<gert7>
pk.is_a? doesn't do anything
<apeiros>
i.e. `Foo` is always the constant. `Foo()`, `x.Foo` and `Foo 1` are always the method call.
Oka has joined #ruby
<[k->
oh, that makes it clear
User458764 has joined #ruby
alderamin has quit []
tcrypt has quit [Remote host closed the connection]
<gert7>
i believe Hello() silently tries to call the 'static' method Hello#call
zzxc has joined #ruby
zzxc has joined #ruby
<hanmac1>
gert7: no you mean Hello.()
vikaton has quit [Quit: Connection closed for inactivity]
<gert7>
or Hello::call?
<Mon_Ouie>
No, Hello() calls #Hello on self
<[k->
thebatu1_: pk can be an Array, Hash, TCPSocket or anything
<[k->
so you must tell .is_a? what to check for
<apeiros>
gert7: that's invoking 'call' on the constant 'Hello'
workmad3 has joined #ruby
<[k->
.is_a? should be a BasicObject method i think
<Mon_Ouie>
>> def Hello(); puts "hi, I am #{self}"; end; Hello()
andikr has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
<jhass>
pgunnars: btw require "rubygems" is implicitly done for you since Ruby 1.9
lxsameer has quit [Ping timeout: 256 seconds]
mtakkman has joined #ruby
mary5030 has joined #ruby
mrdmi has joined #ruby
werelivinginthef has joined #ruby
iamninja_ has quit [Ping timeout: 276 seconds]
werelivi_ has joined #ruby
<TheBrayn>
which jsonrpc-client can you recommend?
shuber_ has joined #ruby
anaeem1 has quit [Remote host closed the connection]
fmcgeough has joined #ruby
varunwachaspati has joined #ruby
aganov has quit [Quit: Leaving]
werelivinginthef has quit [Ping timeout: 264 seconds]
slash_nick has joined #ruby
tubuliferous_ has joined #ruby
danman has quit [Quit: danman]
tvw has quit [Ping timeout: 255 seconds]
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shuber_ has quit [Ping timeout: 256 seconds]
Fluent has joined #ruby
vtunka has quit [Quit: Leaving]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<Fluent>
I was wondering. How does one go about connecting to flash based content with Ruby? Say a flash based chat room.
aryaching has joined #ruby
danman has joined #ruby
The_Phoenix has joined #ruby
arietis has joined #ruby
riotjones has quit [Remote host closed the connection]
The_Phoenix has quit [Max SendQ exceeded]
<arietis>
hello guys
danman has quit [Client Quit]
<arietis>
is anyone here using RubyMine?
The_Phoenix has joined #ruby
<arietis>
i'm getting issues with ruby-debug-ide gem :(
<Fluent>
No, sorry.
mrdmi has quit [Ping timeout: 265 seconds]
ahmetkapikiran has joined #ruby
ahmetkapikiran has quit [Remote host closed the connection]
<jhass>
I just use pry + pry-byebug + pry-stack_explorer for debugging
<dudedudeman>
jhass: would you recommend pry to a newer user to ruby?
<Fluent>
pry is nice
<jhass>
yes
<Fluent>
Why not?
Illusioneer has joined #ruby
<dudedudeman>
word
<dudedudeman>
and i mean, it's just one more thing to learn and get used to
<Fluent>
I need to figure out how to do this
<dudedudeman>
not that that is a bad thing
vtunka has joined #ruby
al2o3-cr has quit [Ping timeout: 258 seconds]
bMalum has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
<Fluent>
I guess I would need to figure out a way to get Ruby compatible with flash for this to work.
<Fluent>
Another reason to hate flash content.
<gert7>
wait
bluOxigen has joined #ruby
bronson has joined #ruby
<gert7>
depends on where the data is stored for the chatroom
mikecmpbll has joined #ruby
<Fluent>
Well, I'm not seeing any data in the source code
<Fluent>
Not entirely sure where it's being placed really. I think it works all client side?
<Fluent>
I will dig deeper as I should; I suppose.
<gert7>
the interface between the chatroom and the database/peers
mrdmi has joined #ruby
<gert7>
somewhere there is a socket, and that's where the data is transferred across the network
<Fluent>
Hrmmm, yes.
<Fluent>
But can you receive that content without having flash there?
goodcodeguy has joined #ruby
<[k->
so you are implying to intercept the data?
gizmore has quit [Ping timeout: 244 seconds]
<Fluent>
The flash plugin.
tubuliferous_ has quit [Ping timeout: 256 seconds]
<[k->
(gert7)
<gert7>
intercept the data with wireshark or something :0
<Fluent>
I don't think you can do it like that
<[k->
:o another shark
tubuliferous_ has joined #ruby
<Fluent>
Well you could if you have flash enabled and on the site to be able to receive the data
<[k->
a shark died this year. the music service grooveshark
<Fluent>
:p
<gert7>
flash is clientside
bronson has quit [Ping timeout: 264 seconds]
<Fluent>
Yeah
<Fluent>
I'm making connections to said website with Ruby
<Fluent>
And Mechanize
<Fluent>
I wonder if I can get it to use a flash plugin
<gert7>
it's closer to your screen than the network hardware that it runs through - which you can intercept with wireshark, and maybe understand how it works
downwithbender has joined #ruby
<Fluent>
Yeah, that's a good idea for seeing how it works. Good advice, I'll do that.
hoov has quit [Ping timeout: 240 seconds]
railsForDaiz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anaeem1_ has joined #ruby
Cache_Money has joined #ruby
bMalum has quit [Quit: bMalum]
vikaton has joined #ruby
thiagovsk has joined #ruby
ixti has joined #ruby
zz_barkerd427 is now known as barkerd427
tagrudev has quit [Remote host closed the connection]
axl_ has joined #ruby
njs126 has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mtakkman has quit [Ping timeout: 256 seconds]
hanmac1 has quit [Quit: Leaving.]
bluOxigen has quit [Ping timeout: 272 seconds]
sinkensabe has quit [Remote host closed the connection]
Rollabunna has quit [Quit: Leaving...]
shredding has quit [Ping timeout: 276 seconds]
noonius has joined #ruby
mrdmi has quit [Ping timeout: 276 seconds]
downwithbender is now known as hoov
EagleDelta has joined #ruby
gizmore has joined #ruby
shazaum has quit [Read error: Connection reset by peer]
yfeldblum has quit [Remote host closed the connection]
huddy has quit [Quit: Connection closed for inactivity]
fabrice31 has joined #ruby
airdisa has quit []
<[k->
do you mean at the end or jit-compiler
rbennacer has quit [Read error: Connection reset by peer]
juanpaucar has quit [Remote host closed the connection]
dstarh has joined #ruby
<unshadow>
jit-compiler, did any student picked to do it ?
scripore has quit [Quit: This computer has gone to sleep]
rbennacer has joined #ruby
umgrosscol has joined #ruby
shuber_ has quit [Ping timeout: 264 seconds]
malcolmva has quit [Ping timeout: 245 seconds]
scripore has joined #ruby
thatslifeson has joined #ruby
scripore has quit [Client Quit]
<[k->
A lot of mentors and students hang out at the #rubygsoc channel on Bundler's Slack account. You can join in by filling your email in on this page.
<GaryOak_>
woodennails: do you want full on ruby or mostly rails?
<atmosx>
woodennails: I was very pleased with "beginning ruby" second edition, but I think it's old now. Didn't get an update.
<woodennails>
I think i would like to start with Ruby before I get into rails
<woodennails>
would that be a good idea?
<GaryOak_>
yeah!
<atmosx>
woodennails: yes
charliesome has quit [Quit: zzz]
<woodennails>
I am going for a job interview to become a ruby developer, They are aware i dont know Ruby and are willing to skill me up on it but thought I'd better get a head start
<adaedra>
COngrats
<adaedra>
s/O/o/
Illusioneer has joined #ruby
<atmosx>
woodennails: ruby not rails? or by ruby you rails?
<adaedra>
did you a word?
<woodennails>
Nope, its a pure Ruby role, i asked them the same thing
gagrio has quit [Ping timeout: 264 seconds]
<atmosx>
woodennails: rails is a framework full of methods (functions in ruby-world are called methods) to perform tasks that ruby doesn't have. On the other hand, by understanding how ruby 'works' it will be easy to get up to speed with rails and understand how inheritence, encapsulation, scopes and classes and instances work in rails.
arietis has quit [Quit: Leaving.]
conta has quit [Ping timeout: 250 seconds]
<atmosx>
woodennails: hm, okay. I'd say, since you're going to be a pro, better buy the PickAxe book, latest edition.
Papierkorb has joined #ruby
<woodennails>
Im just a little sick of doing front-end development, id rather worry about the data rather than the presentation
<atmosx>
woodennails: it's not easy-to-follow book but it's a sort of a bible/reference. Also pretty much cryptic in some instances (I might add)
ReachingFarr has joined #ruby
<GaryOak_>
woodennails: if you are more a visual learner, I'd try working through the book and work on a small project at the same time
* atmosx
is the other way around
<atmosx>
lol
<woodennails>
ruby is a backend language right?
<woodennails>
haha
einarj has quit [Remote host closed the connection]
<adaedra>
there's opal :>
<GaryOak_>
woodennails: also if you are familiar with OOP, that's a big hurdle out of the way
BlackGear has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<unshadow>
chrisseaton, thanks ! i'll give it a try :)
<woodennails>
I am, i dont get all the concepts, and sometimes i think it makes things more complicated but i have done it a lot yes
<izzol>
Anyone is using Sinatra?
failshell has joined #ruby
<GaryOak_>
izzol: yep
<ReachingFarr>
I'm trying to write some unit tests for a tutorial. Each tutorial chapter re-defines some of the same classes and methods. This causes problems with Minitest as the old definitions are still visible when the test for a new chapter are started. Is there a way to solve this? Perhaps by having Minitest run each test case in a separate Ruby process?
<atmosx>
ReachingFarr: isn't that a 'naming' issue? can't you rename your classes in order not to be re-defined? (by adding modules)
mistermocha has joined #ruby
<atmosx>
izzol: yeah
<woodennails>
So beginning ruby would be a good book yeah?
<woodennails>
im looking for tutorials really to get up to scrath
<izzol>
GaryOak_: I'm getting "no implicit conversion of Array into String" because of: address = params[:address]. I'm sending this to my gem which accepts only strings. I figure out that this params returns an array or strings. But when I change it to: address = params[:address].first I'm getting: undefined method `first'. So now I'm not sure what is wrong :P
<ReachingFarr>
atmosx: That's an option, but I think it would decrease the clarity of the tutorials.
<Franciman>
Where can I ask some questions about rugged library?
oldbones has quit [Ping timeout: 264 seconds]
oldbones has joined #ruby
failshell has quit [Ping timeout: 264 seconds]
<ReachingFarr>
atmosx: It would also require a non-trivial amount of refactoring. I was hoping there was just a way to modify my Rakefile and get the desired behaviour.
slash_ni1k has joined #ruby
The_Phoenix has quit [Ping timeout: 255 seconds]
sigurding has joined #ruby
slash_ni1k has quit [Changing host]
slash_ni1k has joined #ruby
xjstin has joined #ruby
slash_nick has quit [Disconnected by services]
<atmosx>
ReachingFarr: might be, I'm not sure. Try the ruby-ml if you don't find any answers here.
slash_ni1k is now known as slash_nick
justinxr- has quit [Ping timeout: 252 seconds]
xxneolithicxx has quit [Ping timeout: 255 seconds]
mandarinkin has quit [Ping timeout: 250 seconds]
mistermo_ has quit [Ping timeout: 272 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<izzol>
GaryOak_: ok I fixed it. The problem was with the return :-)
yfeldblum has quit [Remote host closed the connection]
taiansu has joined #ruby
<GaryOak_>
izzol: haha good, I was gone!
workmad3 has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby
AxonetBE has joined #ruby
The_Phoenix has joined #ruby
Pathfinder has joined #ruby
Pathfinder has quit [Remote host closed the connection]
The_Phoenix has quit [Max SendQ exceeded]
mandarinkin has joined #ruby
<Encapsulation>
atmosx, we meet again xD
taiansu has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
<GaryOak_>
atmosx: you'd better learn Encapsulation or it will haunt you forever
ejnahc has quit [Ping timeout: 244 seconds]
The_Phoenix has joined #ruby
<adaedra>
.
Hounddog has quit [Remote host closed the connection]
The_Phoenix has quit [Max SendQ exceeded]
ejnahc has joined #ruby
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
Hounddog has joined #ruby
peteykun has joined #ruby
marr has joined #ruby
mandarinkin has quit [Ping timeout: 265 seconds]
The_Phoenix has joined #ruby
<atmosx>
haha
The_Phoenix has quit [Max SendQ exceeded]
<shevy>
adaedra are you spamming dots again
<adaedra>
I'm not spamming
<adaedra>
period.
terlar has quit [Ping timeout: 252 seconds]
<atmosx>
izzol: params[:address].class
The_Phoenix has joined #ruby
yetone has joined #ruby
yetone has quit [Remote host closed the connection]
<atmosx>
izzol: find out what kind of object your params[:address] is...
<jhass>
it makes sure that repeated calls to call call to_app only once
AxonetBE has quit [Quit: AxonetBE]
<shevy>
repeated calls to call call!
momomomomo has quit [Quit: momomomomo]
<wpp>
mostly used when to_app is "expensive"
<shevy>
someone is calling jhass
some_user has quit [Ping timeout: 246 seconds]
<woodennails>
Just a quick question for you guys too. Cant seem to find any new or recent tutorials on creating a rails api?
<zotherstupidguy>
jhass so its a singleton object now?
ag4ve has quit [Ping timeout: 248 seconds]
<jhass>
no
<atmosx>
woodennails: API, like REST API?
<woodennails>
Yeah
<woodennails>
is that what Rails is mostly used for?
<zotherstupidguy>
woodennails #rails
<woodennails>
ah nice
<woodennails>
thanks :D
<atmosx>
woodennails: it's extremely easy, all you have to do is create a few roots (and set up some permissions... if needed)
paulcsmith has quit [Quit: Be back later ...]
<jhass>
woodennails: #RubyOnRails actually
<atmosx>
woodennails: it's easy to do with Sinatra too.
<atmosx>
oh c'mon it was easy...
<woodennails>
do you guys work doing ruby for a living then?
<atmosx>
jhass knew the answer.
<woodennails>
it seems to be quite niche
<woodennails>
but i kinda like that
<atmosx>
woodennails: I'm a pharmacist.
<atmosx>
I don't code for a living. shevy is a kick-ass world-famous biologist. You can ask him about biomes, bacterias, yeasts...
<zotherstupidguy>
woodennails: i'm a dancer
BlackGear has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
* atmosx
is looking a display for his RPi project for 2 days.
<woodennails>
ah right
conta has joined #ruby
<woodennails>
i assumed you would all do ruby for a living
<adaedra>
I am the dancing queen ♪
<adaedra>
er, oops
<adaedra>
:)
mdarby has joined #ruby
<atmosx>
woodennails: I get job offers to do that pretty regularaly (almost 1 every 3 to 4 months).
<atmosx>
regularly..
thomcom has joined #ruby
<zotherstupidguy>
atmosx please pass one of those offers, i am also a single-mom
<woodennails>
ah nice, the reason i ask is, like im pretty sick of my front-end Javascript role, I find it much better doing backend stuff like API's... but i dont really know much about SQL and DB stuff.... so im kinda stuck between a rock and a hard place. At work they use php on the backend which i dont really like either
<atmosx>
zotherstupidguy: easy, create a github repo. Put some code in it (preferably that doesn't suck too much) and you'reall set. If you create alinked profile I think you might conquer the world overnight.
Hijiri has quit [Quit: WeeChat 1.0.1]
<adaedra>
It's so simple?
<atmosx>
zotherstupidguy: the last one I've had was trying to recruit someone in Berlin
<atmosx>
relocate..
zacts has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<zotherstupidguy>
atmosx i dont knw rails.
Pathfinder has joined #ruby
<atmosx>
adaedra: trutgh to be told, no idea. I never accepted any of them to really know *if* it's like the say it will.
<GaryOak_>
I need to relocate, there are no jobs here!
<zotherstupidguy>
atmosx its hard for single-moms who doesnt do rails
<adaedra>
Note: put some (more) code on GitHub
<thomcom>
hehe well learn rails
withnale_ has quit [Ping timeout: 272 seconds]
<GaryOak_>
There's 4 universities in my area, and all the jobs in the city are for webdev!
<zotherstupidguy>
thomcom i have dignity, i am not going to raise my child using such a huge codebase, i want my child to live in a world where simplicity and minimalism is key to happiness.
<thomcom>
hahaha
<thomcom>
I like you zotherstupidguy
<zotherstupidguy>
thomcom ;)
conta has quit [Ping timeout: 256 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra>
4 universities?
<adaedra>
wow.
joonty has quit [Quit: joonty]
shuber_ has joined #ruby
maletor has joined #ruby
pdoherty has quit [Ping timeout: 265 seconds]
<atmosx>
GaryOak_: then why dont' you do web0dev?
jenrzzz has quit [Ping timeout: 240 seconds]
mdw has joined #ruby
rbennacer has quit [Remote host closed the connection]
<adaedra>
Did you know the pyramids are bases for alien ships to land?
<zotherstupidguy>
i am an alien
<adaedra>
enjoying the place?
<zotherstupidguy>
i am here for irc mostly
<adaedra>
not a good reception from space I take?
arietis has joined #ruby
<zotherstupidguy>
hey, so this script gets the ips, now using ruby we can geo locate them and using js we show a nice map with no of users and but it on the channel website, what you think?
<zotherstupidguy>
put*
<Pathfinder>
zotherstupidguy: BRILLIANT
<zotherstupidguy>
i went this path as i was sad that there was no ruby conf in africa as fas i can tell!
<zotherstupidguy>
wanna connect with more ruby devs nearby, israil is hot but its kinda difficult to go
<adaedra>
There should be some of the at the other side of the Mediterranea
momomomomo_ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<Pathfinder>
zotherstupidguy: lol..but the data would be quite inaccurate based on guys who don't log in from their local computer and use vpns and remote vms
<adaedra>
or however you write that in English
<Pathfinder>
There was a rubyconf in kenya last week..though it was kind of a disappointment
<zotherstupidguy>
Pathfinder ofcourse! but its jsut a figure
Illusioneer has quit [Ping timeout: 276 seconds]
<zotherstupidguy>
stats always helpful even if not 100% accurate
<adaedra>
Time to go get the train
scripore has joined #ruby
momomomomo has quit [Ping timeout: 272 seconds]
momomomomo_ is now known as momomomomo
<zotherstupidguy>
nice!
<Pathfinder>
adaedra: see yah...it's raining so bad here...flooded roads
<zotherstupidguy>
Pathfinder so you are from kenya?
<adaedra>
:/
<Pathfinder>
zotherstupidguy: Yeah..Nairobi, Kenya
StevenXL has joined #ruby
<zotherstupidguy>
Pathfinder nice meeting you :)
<Pathfinder>
Nice to meet you too zotherstupidguy ..... lol... that Nick though :D
<zotherstupidguy>
thx :)
Prysm has joined #ruby
Hijiri has joined #ruby
cjim_ has joined #ruby
mistermo_ has joined #ruby
fabrice31 has joined #ruby
mdarby has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
Zai00 has quit [Quit: Zai00]
DerisiveLogic has quit [Ping timeout: 272 seconds]
hectortrope has quit [Quit: WeeChat 0.4.2]
ag4ve_ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
psy has joined #ruby
simpyll has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby
conta has joined #ruby
krz has quit [Ping timeout: 256 seconds]
JDiPierro has joined #ruby
fabrice31 has quit [Ping timeout: 265 seconds]
twistedpixels is now known as zz_twistedpixels
juanpaucar has quit [Ping timeout: 256 seconds]
billy_ran_away has quit [Ping timeout: 256 seconds]
downwithbender is now known as hoov
varunwachaspati has joined #ruby
n008f4g_ has joined #ruby
zz_twistedpixels is now known as twistedpixels
bb010g has quit [Quit: Connection closed for inactivity]
mistermo_ has quit [Ping timeout: 264 seconds]
GaryOak_ has quit [Remote host closed the connection]
GaryOak_ has joined #ruby
nii236 has joined #ruby
Rixius has joined #ruby
conta has quit [Ping timeout: 256 seconds]
moted has quit [Ping timeout: 246 seconds]
ki0_ has joined #ruby
jayeshsolanki has quit [Quit: bye!]
Illusioneer has joined #ruby
varunwachaspati has quit [Ping timeout: 256 seconds]
zzxc_ has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
shuber_ has joined #ruby
Stalkr_ has joined #ruby
iceden has joined #ruby
phexydelic has joined #ruby
mandarinkin has joined #ruby
doodlehaus has quit [Ping timeout: 245 seconds]
nii236 has quit [Ping timeout: 265 seconds]
ki0 has quit [Ping timeout: 272 seconds]
sent1nel has joined #ruby
ki0_ has quit [Ping timeout: 244 seconds]
NiVanc has joined #ruby
leafybas_ has joined #ruby
billy_ran_away has joined #ruby
shuber_ has quit [Ping timeout: 276 seconds]
mandarinkin has quit [Ping timeout: 258 seconds]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
andikr has joined #ruby
pgunnars has quit [Ping timeout: 246 seconds]
I has joined #ruby
leafybasil has quit [Ping timeout: 240 seconds]
I is now known as Guest75216
teflonton1985 has joined #ruby
Guest75216 has quit [Client Quit]
kirun has joined #ruby
dopiee has joined #ruby
leafybas_ has quit [Ping timeout: 250 seconds]
pdoherty has joined #ruby
tvw has quit [Remote host closed the connection]
phexydelic has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chinmay_dd has quit []
dfinninger has quit [Remote host closed the connection]
hectortrope has joined #ruby
Eiam has joined #ruby
scripore has joined #ruby
arietis has quit [Quit: Leaving.]
scripore has quit [Client Quit]
billy_ran_away has quit [Ping timeout: 272 seconds]
<toretore>
it is parsed as (false ? nil : puts) 'foo'
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leafybasil has joined #ruby
<hololeap>
it's just an example to make my point
<hololeap>
toretore: ok that makes sense
Mohan_ has joined #ruby
sent1nel has quit [Remote host closed the connection]
bMalum has joined #ruby
<hololeap>
i'm looking at a table of operator precedence and it says its evaluated right-to-left, so i figured that anything to the left of : would be taken as a single statement
ane_ has left #ruby ["Leaving"]
<hololeap>
but obviously that's not true
digifiv5e is now known as daynaskully
<Fluent>
please excuse my dear aunt sally
postmodern has joined #ruby
<hololeap>
sometimes its confusing having the option to put a space instead of parenthesis
<postmodern>
what is the defacto library for promises/futures?
kinduff has quit [Ping timeout: 256 seconds]
SuperTaz_ has quit [Read error: Connection reset by peer]
<toretore>
there isn't any
That1Guy has joined #ruby
SuperTaz_ has joined #ruby
<GaryOak_>
postmodern: if you need a bunch of it, you can use celluloid or eventmachine
mistermocha has quit [Ping timeout: 272 seconds]
fabrice31 has joined #ruby
<GaryOak_>
I was gonna ask the same question, trying to return a function before a thread inside of it finishes
juanpaucar has joined #ruby
speakingcode has quit [Ping timeout: 240 seconds]
nfk|laptop has joined #ruby
ArchRogem has joined #ruby
MasterPiece has joined #ruby
sinkensabe has quit [Remote host closed the connection]
aspiers has quit [Ping timeout: 256 seconds]
shazaum_ has joined #ruby
rawrmonstar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
speakingcode has joined #ruby
al2o3-cr has joined #ruby
sandelius has joined #ruby
sinkensabe has joined #ruby
arietis1 has joined #ruby
renanoronfle has joined #ruby
fabrice31 has quit [Ping timeout: 258 seconds]
ArchRogem has quit [Client Quit]
shazaum has quit [Ping timeout: 272 seconds]
RegulationD has quit [Remote host closed the connection]
emilkarl has joined #ruby
juanpaucar has quit [Ping timeout: 276 seconds]
duderonomy has joined #ruby
arietis has quit [Ping timeout: 258 seconds]
<Eiam>
hmm, is there a way to have thin listen on multiple ports at once?
<Eiam>
like from the same bundle exec thin start <port1> <port2>
<jhass>
oO the TCP socket is your bottleneck?
snockerton has quit [Read error: Connection reset by peer]
snockerton has joined #ruby
<hololeap>
Eiam: you could use firewall rules for that
<Eiam>
jhass: no, requests that come in via a different port need a slight pre-process to them is all
AxonetBE has quit [Quit: AxonetBE]
<Eiam>
and I'd rather not just spin up another instance in the proc file just for that minor difference
<toretore>
hololeap: re: syntax; when in doubt, add parentheses
blackmesa has quit [Ping timeout: 240 seconds]
wildroman2 has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
sinkensabe has quit [Remote host closed the connection]
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass>
but I'd consider a middleware/reverse proxy as separate process personally
<jhass>
that normalizes one into the other
krz has joined #ruby
<hololeap>
toretore: i'm reading up on operator precedence, and i see that any operator takes precedence over a method call (without spaces). that is going to help me a lot in the future
That1Guy has joined #ruby
<hololeap>
*without parentheses
<toretore>
hololeap: i don't even bother learning about the less obvious stuff, i just add parens
doertedev has quit [Ping timeout: 272 seconds]
<hololeap>
still, it's good to know
<Eiam>
jhass: hmm. right now I have rack middleware do the pre procesing
<toretore>
even for arithmetic operators
<Eiam>
jhass: but the reverse proxy won't let certain requests into the middleware unless they are authenticated first, and my whole thing is I've setup another listener to bypass the auth check on the outer wall
<Eiam>
hrm
<Eiam>
guess ill have to just setup another instance
hoov has quit []
baweaver has joined #ruby
<jhass>
Eiam: how about you let your reverse proxy set a custom header that your rack middleware detects?
kirun has quit [Quit: Client exiting]
<Eiam>
yeah thats effectively what im after
<jhass>
if the other connection is trusted
sinkensabe has joined #ruby
baweaver has quit [Remote host closed the connection]
Cust0sLim3n has joined #ruby
conta has joined #ruby
<Eiam>
hmm. seeing if thats possible. (I don't control the reverse proxy, im just behind it)
chipotle has quit [Read error: Connection reset by peer]
mistermo_ has joined #ruby
Nieralyte has quit [Quit: Nieralyte]
sent1nel has joined #ruby
al2o3-cr has joined #ruby
sinkensabe has joined #ruby
chipotle has joined #ruby
coppolgat has joined #ruby
<coppolgat>
#multisala
mistermocha has quit [Ping timeout: 256 seconds]
<jhass>
?
itouchthings has quit [Ping timeout: 276 seconds]
frem has joined #ruby
redlegion has joined #ruby
<mwlang>
wow, where the heck has gitlab been hiding? This is a nice suite of tools for self-hosting git repos and doing continuous integration!
thargor has joined #ruby
thargor is now known as alb_thargor
serivich has quit [Ping timeout: 255 seconds]
<zotherstupidguy>
mwlang it been around for a long time!
banister has joined #ruby
greenbagels has quit [Quit: Leaving]
sinkensabe has quit [Remote host closed the connection]
<Eiam>
yep
<Eiam>
I use it every day, super happy with it
<mwlang>
zotherstupidguy: yeah, I saw from the commit history…I think I probably checked it out 3 or 4 years ago but it was too rough around the corners back then.
momomomomo has joined #ruby
OrbitalKitten has joined #ruby
<Eiam>
actually once even used gitlab comments & issues as a backing database for a moderately sized project; worked surprisingly well
yfeldblum has joined #ruby
mistermo_ has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
havenwood has joined #ruby
<zotherstupidguy>
Eiam thats creative, git can be abused in a number of ways! its a well-built tool
<mwlang>
I was able to set up a server, ci, and runner all one one box and experiment a bit this morning. the idea of a backing database of issues, comments, and even wiki is what got me looking at it because I want to make my consulting website more client oriented and give them an all in one place view on their projects and work progress.
sinkensabe has quit [Remote host closed the connection]
<toretore>
wow, i didn't expect it to be such a blatant knockoff of github
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<zotherstupidguy>
github setup a lot of conventions :)
<mwlang>
one thing about gitlab is they did the whole “omnibus installation” thing extremely well and it was something I was looking for an exemplar example of how to do such for firewall management app I’m working on (think shorewall on steroids)
sinkensabe has joined #ruby
jtdowney_ has joined #ruby
<mwlang>
not crazy excited about seeing chef as I want to use ansible, but the general organization and flow of it all is spot on.
<alb_thargor>
Hi, I would expect the following to be trivial in ruby, but haven't found a solution yet
<alb_thargor>
how can I check if a name is defined in ruby and circumvent "NameError: undefined local variable or method" (context: rails, active_admin, sometimes the name is provided by the framework sometimes not)
<hoelzro>
alb_thargor: defined
jtdowney has quit [Disconnected by services]
<hoelzro>
er, defined?
jtdowney_ is now known as jtdowney
sinkensabe has quit [Remote host closed the connection]
<ruboto>
baweaver # => /tmp/execpad-a83bc6e40e9f/source-a83bc6e40e9f:1:in `inspect': undefined method `inspect' for #<Basic ...check link for more (https://eval.in/366888)
sinkensabe has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
<yxhuvud>
>> {BasicObject.new => 42}
<ruboto>
yxhuvud # => undefined method `hash' for #<BasicObject:0x40ea0214> (NoMethodError) ...check link for more (https://eval.in/366889)
momomomomo_ has joined #ruby
<alb_thargor>
hoelzro: so defined? is for checking if a name is defined in the scope and respond_to? is used to check if there is a defined method?
momomomomo has quit [Ping timeout: 265 seconds]
momomomomo_ is now known as momomomomo
<toretore>
alb_thargor: you should specify what it is you're trying to achieve
Obfuscate has joined #ruby
<toretore>
as you've noticed, "checking if a name is defined" can mean many things
mistermo_ has joined #ruby
<alb_thargor>
toretore: I already achieved what I wanted with defined?, now I am just trying to understand the different methods better
<jhass>
alb_thargor: first of all, do you check for a variable or a method?
<jhass>
and where? in a template? in a subclass? in ...?
kinduff has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
<alb_thargor>
currently in a block
<toretore>
this is the information superhighway, we expect some information
iamjarvo has joined #ruby
<alb_thargor>
and I don't know whether it is a variable or a method (although I could look it up)
phexydelic has joined #ruby
nii236 has joined #ruby
phexydelic has quit [Client Quit]
<alb_thargor>
Is there any good reference that explains both method and scope resolution in ruby?
<toretore>
unless you're doing something weird, it's a method
Hijiri has joined #ruby
<toretore>
if it's a variable, you'll see it written in your cod
<toretore>
e
<toretore>
*local variable
mistermo_ has quit [Ping timeout: 256 seconds]
blaines has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
haxrbyte has quit [Ping timeout: 244 seconds]
mistermocha has quit [Ping timeout: 256 seconds]
bigmac has quit [Ping timeout: 246 seconds]
nii236 has quit [Ping timeout: 272 seconds]
kinduff has quit [Ping timeout: 258 seconds]
haxrbyte has joined #ruby
<joelataylor>
quick question: string interpolation vs sprintf - reasons why one way is better than the other?
Guest24 is now known as lele
sent1nel has quit [Remote host closed the connection]
<toretore>
they have different uses
<waxjar>
jolataylor they're not equivalent, sprintf does a lot more
<waxjar>
if you need string interpolation, use string interpolation
<waxjar>
if you need fancy sprintf stuff, use sprintf
iasoon has quit [Ping timeout: 272 seconds]
baweaver has quit [Remote host closed the connection]
dorei has joined #ruby
cosmicexplorer has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
turtil has joined #ruby
wallerdev has joined #ruby
cosmicexplorer has joined #ruby
turtil has quit [Client Quit]
rrichardsr3 has quit [Read error: Connection reset by peer]
<anarcode>
Hi guys. I'm doing an on site interview with a company that uses Ruby on Rails. I have a degree in Comp Sci. What's the best way to learn Ruby for theis purpose?
<zenspider>
write code
<dudedudeman>
make sure you go hang out with the #rubyonrails guys!
<zenspider>
lots of it
JaTochNietDan has quit [Ping timeout: 272 seconds]
<GaryOak_>
and lots of it
<dudedudeman>
anarcode: do you know anyone who could maybe sit down and do a mock interview with you?
<anarcode>
Well I've already passed the fizz buzz and higher technical stages. I'd just like to prepare my knowledge of their stack because I'm getting to the point where I might become a member of their team.
<hoelzro>
anarcode: you should probably think of how you can demonstrate that you know how to reason about problems and can learn new things than trying to cram learn Rails
<dudedudeman>
a personal project would be good for that
haxrbyte_ has quit [Read error: Connection reset by peer]
jerius has quit [Quit: /quit]
<anarcode>
How about a graphical 2048 solver (better than brute force)? Would that be an appropriate project?
blackmesa has joined #ruby
<anarcode>
I mean, not exactly what the company does, but I feel like it would give me a pretty good intro to Ruby on Rails
mrj has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
noonius has quit [Quit: noonius]
That1Guy has quit [Remote host closed the connection]
<adaedra>
That'd be a lot of front-side code, no?
<havenwood>
anarcode: Is it more important for you to show Ruby or Rails proficiency? Both?
JaTochNietDan has joined #ruby
DEA7TH has quit [Ping timeout: 272 seconds]
<dudedudeman>
i mean, yeah, you could do that, and use rails to build a web framework around it and make it a web app. if you like front-end stuff as well
ych_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
quimrstorres has quit [Remote host closed the connection]
That1Guy has joined #ruby
<anarcode>
havenwood: I thought Rails was just an MVC framework for Ruby?
slash_nick has quit [Ping timeout: 258 seconds]
<shevy>
havenwood thanks
Jonah11_ has quit []
FernandoBasso has joined #ruby
werelivi_ has quit [Remote host closed the connection]
Renich has joined #ruby
<anarcode>
Well so it's a web framework as well. I'm going to look more into the specifics of these tools. I guess I'm still not sure how their stack fits together.
quimrstorres has joined #ruby
sent1nel has quit [Ping timeout: 244 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<marlon_>
jhass: can you please explain how this all gets together here
workmad3 has quit [Ping timeout: 255 seconds]
<marlon_>
jhass: and how I can get to knife google without this nightmare?
<jhass>
bundler modifies Ruby's $LOAD_PATH so it contains only gems specified by your Gemfile (well, the .lock)
bigsky_ has quit [Read error: Connection reset by peer]
<havenwood>
Mm, that reminds me I still need to pull request this proposed update o the Bundler logo: https://i.imgur.com/9P4SpWl.png
<marlon_>
jhass: how do I fix this?
benlieb has quit [Quit: Leaving]
<jhass>
marlon_: alias bknife="bundle exec knife" and be done with it
<baweaver>
havenwood: SFW?
<havenwood>
baweaver: yes
<marlon_>
jhass: seriously?
<jhass>
marlon_: by using bundle exec, it's the proper solution
rawrmonstar has joined #ruby
DerisiveLogic has joined #ruby
<anew>
jhass permission denied with that, i cant sudo on this
<jhass>
anew: why would you ever sudo rails s anyway
<jhass>
?root
<ruboto>
General advise in system administration: do not and that means never use sudo or root to "fix" things. Only use it if you exactly know why it would work and why it wouldn't work under any circumstances as normal user. Or if you're told to do it.
<GaryOak_>
Is there a python virtualenv style solution for ruby, or did everyone decide that was bad?
<havenwood>
GaryOak_: We just use chruby.
<adaedra>
Good night #ruby, have sweet dreams
<jhass>
GaryOak_: and bundler
alb_thargor has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/20150513174244]]
<anew>
jhass i dont have permission do that
<GaryOak_>
lol that's what I use
<jhass>
anew: to do what anyway?
marlon_ has left #ruby ["Leaving"]
lxsameer has quit [Quit: Leaving]
<anew>
bin/rails s / bundle exec rails s
<anew>
'permission denied'
<zenspider>
GaryOak_: yes, running. I think I just figured it out. it was trying to send across an exception that was holding an exception that was holding an array of bindings... that last part causes serialization to blow up
nii236 has quit [Ping timeout: 250 seconds]
<jhass>
anew: is that the full output?
<anew>
-bash: bin/rails: Permission denied
<GaryOak_>
zenspider: woah!
<jhass>
anew: and for the other one?
reinaldob has joined #ruby
<baweaver>
Assuming they didn't copy/paste that entire line as one command
<jhass>
that's where my doubts come from atm ;D
<anew>
i thought there was only one?
<jhass>
no, two alternatives to try
<jhass>
bin/rails s
yaw has joined #ruby
<jhass>
or
<jhass>
bundle exec rails s
cjim_ has quit [Quit: (null)]
freerobby has quit [Quit: Leaving.]
<baweaver>
anew: Two commands
vickleton has quit [Quit: Ex-Chat]
vickleton has joined #ruby
EagleDelta has quit [Remote host closed the connection]
wildroman2 has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<anew>
Could not find rake-10.4.2 in any of the sources
slash_nick has joined #ruby
<anew>
Run `bundle install` to install missing gems.
<zenspider>
should probably be https... but sholud still work
baweaver has quit [Remote host closed the connection]
RegulationD has quit [Read error: Connection reset by peer]
scripore has quit [Quit: This computer has gone to sleep]
endash has joined #ruby
RegulationD has joined #ruby
acarpe has joined #ruby
endash has quit [Client Quit]
<zenspider>
GaryOak_: yeah. I map it down to arrays of strings (exception class name, exception message, backtrace)... that's fixed _this_ error, but I suspect I have 2 going on
yaw has quit [Ping timeout: 265 seconds]
cjim_ has quit [Client Quit]
slash_nick has quit [Ping timeout: 256 seconds]
<GaryOak_>
zenspider: That's a fun a serialization bug
gluten_hell_ has joined #ruby
<anew>
which one should i run now ?
Stalkr^ has joined #ruby
<jhass>
bundle install
jtdowney has quit [Ping timeout: 256 seconds]
Spami has quit [Quit: This computer has gone to sleep]
axl_ has quit [Quit: axl_]
<anew>
ok installing
Hijiri has quit [Ping timeout: 272 seconds]
<anew>
is it normal to take a while?
<anew>
ah there we go
Stalkr_ has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass>
shevy: I'm not going to reiterate, it's harmful if you don't know what you're doing, thus suggesting it to clear newbies is harmful. Period.
<jhass>
anew: what's your goal of installing ruby & rails there?
<shevy>
jhass I understand that you have a different opinion, you can iterate it as often as you want to but this does not make your statement anymore valid. Compiling from source is done all the time, every time
acarpe has quit [Quit: acarpe]
<anew>
my goal? i need to write something in ruby...
<jhass>
anew: why do you use a shared hosting environment to develop for ruby?
teflonton1985 has joined #ruby
<jhass>
opposed to your local machine/a local VM
<anew>
what?
<anew>
for a website?
Igorshp has quit [Remote host closed the connection]
<jhass>
yes?
<anew>
it's for a website
<anew>
i need to host it on the shared hosting
<jhass>
developing a website != hosting a website
<anew>
well when i'm done developing i need to put it on here
zzxc has quit [Ping timeout: 250 seconds]
Igorshp has joined #ruby
bogdanteleaga has quit [Ping timeout: 276 seconds]
<zenspider>
jhass: good luck. I already went down this route
<jhass>
how does that shared hosting allow to host Ruby applications? Passenger or can you configure a reverse proxy to your own application server?
<anew>
does shared hosting not allow ruby apps ?
<jhass>
zenspider: I think I got them to actually answer questions now ;)
noonius has quit [Quit: noonius]
<jhass>
anew: shared hosting is not clearly enough defined for that assertion, some do, in some way, others don't
<zenspider>
shevy: I'm gonna have to agree with jhass... if they haven't shown the experience necessary to take your advice and just run with it, it's a bad suggestion. "Compiling from source is done all the time, every time" is a false assertion
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<anew>
ok well i am trying to install it on this shared hosting to host the app
<zenspider>
it most obviously is NOT done "all the time, every time"
wildroman3 has joined #ruby
<zenspider>
and certainly NOT by complete newbs. we want them to succeed. not walk away in frustrated disgust
<jhass>
anew: try to find the answer to my last question, if the answer is neither your goal is not achievable
sepp2k has quit [Quit: Leaving.]
<zenspider>
yes, they need to learn this at some point, but what's wrong with keeping the bar as low as possible?
noonius has joined #ruby
<anew>
i dont evne understand what your asking
vikaton has quit []
<anew>
ruby is for making apps
<anew>
i need to put this app on the shared hosting
<anew>
i dont see what is the problem with that
<anew>
or what is abnormal with that
<shevy>
I thought you were going to help him jhass
<zenspider>
the problem is that you chose an app (which I assume you didn't develop) that requires a version of ruby that your shared host doesn't have... and doesn't give you the power to upgrade
<jhass>
Ruby web applications are run in a couple of different ways, all of them need some support by the shared hosting environment
<anew>
what i'm trying to do is make that upgrade zenspider
noonius has quit [Client Quit]
Igorshp has quit [Ping timeout: 246 seconds]
<zenspider>
if you're not actually developing the app, just putting some code up somewhere... then our questions about why you're not developing locally are moot
<jhass>
anew: and I'm trying to figure out if you're even able to in that environment (there's a good chance you aren't)
<anew>
ok so how can i figure out if i can in this environment
Channel6 has joined #ruby
<jhass>
by figuring out if and if so how that host supports hosting ruby web applications
<anew>
it says here i should be able to run gem install rails -v 3.0.11 --no-rdoc --no-ri
jenrzzz has quit [Ping timeout: 255 seconds]
<anew>
to install 3.0.11
<anew>
but it does not
reinaldob has quit [Remote host closed the connection]
bogdanteleaga has joined #ruby
<anew>
after running this and checking ruby version it's still 1.9.3
<jhass>
rails != ruby
<zenspider>
ruby 1.9.3... rails 3.0.11... they're different things
<jhass>
rails is a framework for web applications written in Ruby
<zenspider>
shevy: instead of trolling jhass... try answering my questions/concerns
<shevy>
zenspider what for?
<anew>
hmmm
paulcsmith has joined #ruby
<anew>
ruby gems = ruby ?
<jhass>
gems are libraries for ruby
<zenspider>
for starters, to show that you're not just being a trolling ass? or so we can understand your viewpoint better? or just to distract you so jhass has a better chance of making headway with anew?
paulcsmith has quit [Client Quit]
<shevy>
zenspider ah name calling. Let's see if the policy applies to you as well
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<zenspider>
shevy: if the policy applies to me, then it certainly applies to this: "<shevy> I thought you were going to help him jhass" -- that's just antagonistic, plain and simple
<shevy>
zenspider ok so you compare "antagonistic" to "trolling ass"?
<zenspider>
I asked legitimate questions of you and shot down your points... you chose not to address any of that. with "what for?"
zzxc has joined #ruby
<zenspider>
have fun with that. I'm done with you
<shevy>
You did nothing but sidestep the issue. And I was answering to jhass' question, not your question.
speakingcode has quit [Ping timeout: 264 seconds]
zz_Outlastsheep has quit [Read error: Connection reset by peer]
<zenspider>
anew: byebug is a ruby debugger... it isn't needed for a rails deploy
<zenspider>
it is only needed for rails development
<zenspider>
what are you trying to deploy?
glcx has quit [Ping timeout: 256 seconds]
ravenreborn_ has joined #ruby
glcx has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
_ixti_ has joined #ruby
v0n has quit [Ping timeout: 256 seconds]
bruno- has joined #ruby
<jhass>
anew: I don't think this changes the Ruby version passenger (which would actually run your site) would use, so you can't change the Ruby version over there
<anew>
i'm following it now
<anew>
i think it will work
swgillespie has joined #ruby
Alina-malina has quit [Ping timeout: 264 seconds]
<jhass>
it'll work for the stuff you run over the shell, I have strong doubts it'll change the Ruby version passenger will use to run your site
<zenspider>
jhass: part 2 of that blog says how to switch passenger over
Alina-malina has joined #ruby
<zenspider>
it's a lot of work tho :)
<jhass>
zenspider: I skimmed through part 2 three times now, can't see where it switches
ixti has quit [Ping timeout: 272 seconds]
graydot has joined #ruby
anarcode has quit [Ping timeout: 252 seconds]
<jhass>
and I have my doubts it'll read the PATH from a users .bashrc
<zenspider>
oh. I just assumed it was PassengerAppRoot /home/username/names and it running `rails s` using the version of ruby specified in the gemfile
<zenspider>
ie, the binstubs
ebbflowgo has quit [Quit: ebbflowgo]
renanoronfle has joined #ruby
<jhass>
nope, passenger is an application server, not a process manager & reverse proxy
baweaver has quit [Remote host closed the connection]
<jhass>
and only Passenger 4 introduced multiple Ruby version support at all
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zenspider>
*nod* yeah. I don't see the glue either
<zenspider>
their output implies it is working, but doesn't actually show that passenger uses the right thing at all
thatslifeson has quit [Remote host closed the connection]
<jhass>
yeah
<zenspider>
tho the first comment implies otherwise
<zenspider>
"I followed your directions and was able to get ruby 2.1.1 and Rails 4.1.0 installed on my server."
conta has joined #ruby
<jhass>
tbh they might even think they're running that with that configuration
<zenspider>
hah. and the 3rd (4th?) says it doesn't work. so who knows
jackjackdripper has quit [Quit: Leaving.]
<zenspider>
Your Ruby version is 1.9.3, but your Gemfile specified 2.1.2 (Bundler::RubyVersionMismatch)
<zenspider>
<zenspider>
<zenspider>
yeah. I think it is screwed
jackjackdripper has joined #ruby
zotherstupidguy has quit [Ping timeout: 276 seconds]
qwertme has joined #ruby
mistermo_ has quit [Read error: Connection timed out]
<zenspider>
ok. I'm confuzored... I'm still trying to fix my DRb error... I have an exception wrapping an exception that has an ivar of bindings. bindings aren't serializable so it goes boom
<GaryOak_>
Is there a way to spawn off a thread, and not worry about what happens to it, and return from the function before the Thread finishes?
jackjackdripper1 has joined #ruby
<zenspider>
so... my first thought was to map it over to arrays of strings
<jhass>
anew: so, if you still want to proceed with bluehost, try undoing what that guide suggested and remove byebug from the Gemfile
jackjackdripper has quit [Read error: Connection reset by peer]
<zenspider>
GaryOak_: very much so
<zenspider>
it doesn't guarantee that it'll finish before the process does
<jhass>
and keep in mind that you're working with outdated possibly unsupported stuff
<zenspider>
1.9.3 is officially unsupported
<zenspider>
my next thought was to map the errors over, and where I have one of these to replace it with a new RuntimeError w/ the message and backtrace
<zenspider>
but... voodoo seems to occur
<zenspider>
the ivar seems to have jumped from the old exception to the new RuntimeError
<jhass>
GaryOak_: only issue might be your main thread exiting too early
<anew>
~/.bashrc well i get here and get permission denied
<anew>
so i guess this is not possible on bluehost
<zenspider>
:@bindings -- as if by magic, is on my new RuntimeError
<anew>
argh
jenrzzz has joined #ruby
<GaryOak_>
jhass: it's hits a wait, eventually so that's not an issue
<GaryOak_>
will ruby only kill the child thread if the main thread gets killed?