UtkarshRay has quit [Remote host closed the connection]
choke has quit [Read error: Connection reset by peer]
<ihsw>
hi, i inherited a project and i'm getting an exception -- ExecJS::RuntimeUnavailable "Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes."
FernandoBasso has quit [Read error: Connection reset by peer]
<ihsw>
it's on a javascript_include_tag in one of my slim templates.
Limix has joined #ruby
Limix has quit [Client Quit]
<ihsw>
do i have to install nodejs (or one of the other runtimes)?
Vertroa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Makorak has joined #ruby
CloCkWeRX has joined #ruby
konr has quit [Quit: Connection closed for inactivity]
psy_ has joined #ruby
phantummm has quit [Quit: WeeChat 1.3]
DonOtreply has quit [Quit: DonOtreply]
duckpupp1 has quit [Ping timeout: 260 seconds]
<diegoviola>
I was using capybara for web scraping but some folks said I shouldn't use this in rake tasks, as it's used for feature specs, what do you guys think?
<diegoviola>
I switched to mechanize
<diegoviola>
however, I'm getting complains that mechanize is too fast, as I'm using the ruby module to perform benchmarks
CloCkWeRX has quit [Ping timeout: 260 seconds]
Makorak has quit [Ping timeout: 272 seconds]
<diegoviola>
ruby benchmark module
<diegoviola>
I was using capybara+poltergeist
<diegoviola>
with capybara+poltergeist I was getting 4 seconds or so, with mechanize 0.x seconds
<chipotle>
so i want to learn data analysis and whatnot. i am coming more from a web dev background using drupal to build websites. i don't know how to do OOP. i know python has A LOT of data science support whereas ruby isn't used as much in the data science world. is that correct? so would it make more sense that i focus my time learning and getting better and python (and learning its libraries that are relevant to data science) and stick to ruby for building web
<chipotle>
apps?
kp666 has joined #ruby
DEA7TH has quit [Quit: DEA7TH]
kp666 has quit [Max SendQ exceeded]
kp666 has joined #ruby
kp666 has quit [Max SendQ exceeded]
SCHAAP137 has quit [Remote host closed the connection]
kp666 has joined #ruby
thejoecarroll has quit [Ping timeout: 245 seconds]
kp666 has quit [Max SendQ exceeded]
kp666 has joined #ruby
hannelita has quit [Remote host closed the connection]
c355e3b has quit [Quit: Connection closed for inactivity]
rdp1036 has quit [Quit: Page closed]
dorei has quit []
chouhoulis has joined #ruby
bnizzle1 has left #ruby [#ruby]
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has quit [Remote host closed the connection]
einarj has joined #ruby
agentmeerkat has joined #ruby
peeja has joined #ruby
hxegon_AFK has quit [Quit: BRB]
hannelita has joined #ruby
blt has joined #ruby
hannelita has quit [Remote host closed the connection]
BTRE has quit [Ping timeout: 245 seconds]
chouhoulis has quit [Ping timeout: 255 seconds]
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
hxegon has joined #ruby
einarj has quit [Ping timeout: 255 seconds]
TomPeed has joined #ruby
hxegon has quit [Client Quit]
TheHodge has quit [Quit: Connection closed for inactivity]
rocfig has quit [Ping timeout: 265 seconds]
ur5us has quit [Ping timeout: 246 seconds]
rocfig_ has joined #ruby
roshanavand has joined #ruby
Bloomer has joined #ruby
jthomp has quit [Quit: jthomp]
aadam21 has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
lonekswolf has joined #ruby
dlitvak has joined #ruby
djbkd has joined #ruby
duckpupp1 has joined #ruby
lacuna has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
dlitvak has quit [Ping timeout: 264 seconds]
rkazak has joined #ruby
djbkd has quit [Ping timeout: 265 seconds]
lacuna has quit [Ping timeout: 260 seconds]
QpQ4 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duckpupp1 has quit [Ping timeout: 265 seconds]
zast has quit [Quit: Leaving.]
Makorak has joined #ruby
mistermocha has joined #ruby
Coldblackice_ has quit [Read error: Connection reset by peer]
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Coldblackice has joined #ruby
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
Makorak has quit [Ping timeout: 272 seconds]
s00pcan has quit [Remote host closed the connection]
akem has quit [Remote host closed the connection]
s00pcan has joined #ruby
mistermocha has quit [Ping timeout: 240 seconds]
rocfig_ has quit [Quit: This computer has gone to sleep]
rocfig_ has joined #ruby
QpQ4 has joined #ruby
arescorpio has quit [Quit: Leaving.]
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
aadam21 has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
ur5us has joined #ruby
rrichardsr3 has joined #ruby
Anderson69s has joined #ruby
s00pcan has quit [Remote host closed the connection]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s00pcan has joined #ruby
djbkd has quit [Ping timeout: 260 seconds]
s2013 has joined #ruby
rocfig_ has quit [Quit: This computer has gone to sleep]
senayar_ has joined #ruby
rrichardsr3 has quit [Quit: He who dares .... wins.]
senayar_ has quit [Remote host closed the connection]
ziyadb has joined #ruby
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
postmodern has joined #ruby
govg has quit [Ping timeout: 264 seconds]
speaking1ode has quit [Ping timeout: 245 seconds]
duckpupp1 has joined #ruby
rocfig has joined #ruby
govg has joined #ruby
senayar_ has joined #ruby
northfurr has joined #ruby
senayar_ has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
edwinvdgraaf has joined #ruby
chouhoulis has joined #ruby
who42 has quit [Ping timeout: 260 seconds]
senayar_ has joined #ruby
peeja has quit [Ping timeout: 246 seconds]
senayar_ has quit [Remote host closed the connection]
Gnut has joined #ruby
freerobby has joined #ruby
freerobby has quit [Client Quit]
pawnbox has joined #ruby
Anderson69s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gix has quit [Ping timeout: 272 seconds]
edwinvdgraaf has quit [Ping timeout: 250 seconds]
hannelita has joined #ruby
senayar_ has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
senayar_ has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 240 seconds]
senayar_ has joined #ruby
dlitvak has joined #ruby
senayar_ has quit [Remote host closed the connection]
gix has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
praveen has joined #ruby
hannelita has quit [Ping timeout: 264 seconds]
senayar_ has joined #ruby
dlitvak has quit [Ping timeout: 245 seconds]
senayar_ has quit [Remote host closed the connection]
praveen has quit [Ping timeout: 255 seconds]
scripore has quit [Quit: This computer has gone to sleep]
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
senayar_ has joined #ruby
haraigo has quit [Ping timeout: 240 seconds]
colegatron has quit [Ping timeout: 240 seconds]
senayar_ has quit [Remote host closed the connection]
djbkd has joined #ruby
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
juddey has quit [Ping timeout: 256 seconds]
senayar_ has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
joescript1 has joined #ruby
joescript1 has left #ruby [#ruby]
ziprar has joined #ruby
ziprar has quit [Max SendQ exceeded]
senayar_ has quit [Remote host closed the connection]
ziprar has joined #ruby
ziprar has quit [Max SendQ exceeded]
ziprar has joined #ruby
ziprar has quit [Max SendQ exceeded]
ziprar has joined #ruby
ziprar has quit [Max SendQ exceeded]
rkazak has quit [Quit: Sleep.....ing....]
senayar_ has joined #ruby
baweaver has joined #ruby
zipace has quit [Ping timeout: 265 seconds]
senayar_ has quit [Remote host closed the connection]
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
Kryptonical has joined #ruby
einarj has joined #ruby
baweaver has quit [Ping timeout: 260 seconds]
colegatron has joined #ruby
eros_zhao has joined #ruby
arup_r has joined #ruby
arup_r has quit [Client Quit]
einarj has quit [Ping timeout: 264 seconds]
last_staff has joined #ruby
arup_r has joined #ruby
BTRE has joined #ruby
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
Meow-J has joined #ruby
speaking1ode has joined #ruby
senayar_ has joined #ruby
wackyluckyducky has left #ruby [#ruby]
nanoz has joined #ruby
kalopsian has quit [Ping timeout: 260 seconds]
senayar_ has quit [Remote host closed the connection]
duncannz has joined #ruby
framling has joined #ruby
dorakyur1 has joined #ruby
aadam21 has joined #ruby
phantummm has quit [Quit: WeeChat 1.3]
darkf has joined #ruby
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
praveen has joined #ruby
senayar_ has joined #ruby
Vertroa has joined #ruby
pawnbox has joined #ruby
senayar_ has quit [Remote host closed the connection]
baweaver has joined #ruby
blackgoat has joined #ruby
Sucks has quit [Read error: Connection reset by peer]
senayar_ has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
QpQ4 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
senayar_ has quit [Remote host closed the connection]
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
praveen has quit [Ping timeout: 240 seconds]
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
dlitvak has joined #ruby
senayar_ has joined #ruby
El3ktra has joined #ruby
senayar_ has quit [Remote host closed the connection]
Sucks has joined #ruby
senayar_ has joined #ruby
devbug has quit [Ping timeout: 240 seconds]
dh64 has joined #ruby
ur5us has quit [Remote host closed the connection]
senayar_ has quit [Remote host closed the connection]
ur5us has joined #ruby
Makorak has joined #ruby
chouhoulis has joined #ruby
dlitvak has quit [Ping timeout: 264 seconds]
mesamoo has quit [Ping timeout: 250 seconds]
<pontiki>
chipotle: i'd tend to agree with that in terms of data analysis in python
bkxd has joined #ruby
<pontiki>
ruby is awfully good at stuff beyond web dev, tho it's pretty ace for that
roshanavand has joined #ruby
<pontiki>
python has the libraries
lxsameer has joined #ruby
<chipotle>
it seems that ruby's niché is web dev
<pontiki>
mostly cos rails
<shevy>
chipotle I came to ruby before rails and still use ruby - but not rails
<chipotle>
my understanding is python was never meant to be an OO language, that it was basically thrown on at the end
<chipotle>
unlike ruby, that was built as an OOP language from the ground up
<chipotle>
so that appealed to me as i'm trying to learn to be an actual coder
<pontiki>
i don't know about python as i've never really had to use it
ur5us has quit [Ping timeout: 255 seconds]
<shevy>
python's OOP is weird, explicit self feels as if python is too dumb to know where self is
<chipotle>
but it seems that unless i want to be a web developer my whole life, i should use python instead and then branch out from there (js, java, c/c++ maybe, ruby, etc)
<shevy>
why
<pontiki>
idk
Makorak has quit [Ping timeout: 272 seconds]
<pontiki>
i came to ruby after learning a tonne of other languages
chouhoulis has quit [Ping timeout: 256 seconds]
<pontiki>
i don't see it as a career stopper
<chipotle>
it seems like everybody in the physics dept (at least on the applied side, i have my phd in theoretical physics) learned c++ first because that's what their undergrad taught them and then they use python for simulations
<shevy>
ok so they already know C or C++
<shevy>
so they pick:
<shevy>
(1) python
govg has quit [Ping timeout: 245 seconds]
<shevy>
(2) ruby
moei has quit [Read error: Connection reset by peer]
<shevy>
when they have decided on which one to pick, why would they want to change lateron?
<chipotle>
right now i really just want to get away from drupal. i don't like it anymore. and i want to learn to be an actual programmer. but i still gotta pay bills so over the next 6-12 months as i study to be decent enough to get a data scientist entry level job, i thought i'd learn ruby and do small web dev jobs as a consultant on the side to pay the bills
<pontiki>
i can totally see getting away from drupal
ohaibbq has joined #ruby
moei has joined #ruby
<pontiki>
most everyone i know on that side has switched to using wordpress
bkxd has quit [Ping timeout: 240 seconds]
<chipotle>
but it doesn't seem like ruby will be used much more outside of web dev (like google doesnt consider it a "core" language) so maybe i should just find a good python book and learn python and bild sites in python (and use js as needed) over the next 6-12 months to pay rent and not split my focus python/ruby
roshanavand has quit [Ping timeout: 264 seconds]
<shevy>
chipotle stop monologuing
<chipotle>
one thing that is a concern: the ruby community is SO much nicer than python
<chipotle>
shevy: ?
<pontiki>
do what you gotta do
<chipotle>
pontiki: i always hatd wordpress.
<pontiki>
*shrug* me too
<Cohedrin>
to add in: ruby community is the best I've found tbh
<pontiki>
i build rails and angular apps nowadays
senayar_ has joined #ruby
<Cohedrin>
language is great, my favorite out of all of them
<Cohedrin>
but putting up with its flaws is made really easy by the community of ruby
<pontiki>
i am choosing which jobs i take based on what i like to work in
<pontiki>
but that's not guaranteed to pay the bills
<Cohedrin>
something I've not found in other communities
senayar_ has quit [Remote host closed the connection]
<chipotle>
and drupal 8 is a mess. and the core people that use drupal are academia and large nonprofits with lots of money which is great, sometimes they do cool stuff on their websites. but for the most part, you gotta work on a small project for a startup or a smaller company to do cool shit as a web dev and drupal is really used as a news platform type site. what i mean is it powers sites with lots of text content and it does a good job. but it doesn't do
<chipotle>
anything really "cool"
skcin7 has joined #ruby
<chipotle>
Cohedrin: what kind of flaws?
<Cohedrin>
well, its slow as shit
<chipotle>
pontiki: do you work remotely or in person?
<chipotle>
hah
senayar_ has joined #ruby
<Cohedrin>
to start out with
<pontiki>
both, either
senayar_ has quit [Remote host closed the connection]
<chipotle>
do you have any idea of a realistic entry level ror rate for remote work (US based)?
<Cohedrin>
I mean, the flaws I'm talking about are more of like "I'm unable to do something in ruby/ this is going to be difficult to implement"
<pontiki>
don't base your decision on me, however. my primary thing right now is taking care of my aged folks; i can pick up work as i can, but where i live is dependent on them
praveen has joined #ruby
<chipotle>
i was charging $85-105/hr for drupal depending on the project
<chipotle>
i assume maybe i could get 20-30/hr entry level stuff?
<pontiki>
rails is pretty comparable IME
<Cohedrin>
but most of the time the community has a well tested open source library to give you a hand
<Cohedrin>
something along those lines
Sucks has quit [Read error: Connection reset by peer]
<chipotle>
i know a senior dev that got hired at harvard for $125/hr c2c 1 year contract doing ruby solely. that's really good
<pontiki>
i haven't been entry level anything for about 30 years, chipotle
<chipotle>
but he didn't get any of harvard's benefits so that kinda sucked
<pontiki>
i wouldn't know
<Cohedrin>
I dont know entry level hourly
<chipotle>
harvard hasa huge drupal presence, i started with it back in 2008 but the flaws are too apparent and i don't want to be working on a sinking ship/dying tech
<pontiki>
if you're a contractor, you don't get the client's benefit packages...
<chipotle>
i want to stay relevant
aadam21 has quit [Remote host closed the connection]
aadam21 has joined #ruby
duckpupp1 has quit [Ping timeout: 255 seconds]
<Cohedrin>
I know here in sf, depending on where you're working (obvs early stage startups will by less), salary is around 80-180k for entry level
<pontiki>
180k seems unlikely for an entry level dev
<Cohedrin>
the 180k range is companies such as google with a bit of background experience
<Cohedrin>
like I said, depends where you work: I know a few people that got paid that right out of college
<Cohedrin>
of course, thats not ruby: google doesn't hire ruby devs as far as I know
<pontiki>
for rails dev?
<pontiki>
exactly
<havenwood>
Cohedrin: They do. Wildfire team, etc.
<Cohedrin>
really? I didn't know that
sigurding has joined #ruby
<Cohedrin>
what is the wildfire team?
<Cohedrin>
I haven't heard of this
<pontiki>
i think we're pushing the envelope on what the context of the question is here
<pontiki>
does google hire entry level rails devs at 180k?
<Cohedrin>
fair enough
<Cohedrin>
the highest common starting salary (i.e. not some dumb startup paying ludacris salries) I can think of off the top of my head is 120k for entry rails
<Cohedrin>
keep in mind thats in san fransico
<pontiki>
i hope to hell this windows update mess is not going ahead and installing win10 .... 178 updates, on 116
<Cohedrin>
so adjust accordingly
<chipotle>
Cohedrin: where in SF are you?
The_Phoenix has joined #ruby
<Cohedrin>
soma
<pontiki>
i spent 25+ years in the SFBA
djbkd has joined #ruby
<chipotle>
is it possible to find a roommate in san francisco itself and have a clean apartment (not modern but not falling over with rats in it) for under $2000 a month?
<pontiki>
practically my whole adult life...
<Cohedrin>
sure
<chipotle>
i'm from nyc everyone says SF is even more expensivebut idk, in nyc for instance, if you live in brooklyn or the bronx, you can get your own one bedroom for $1100 a month or share a 2 bedroom even less. and both places are into the center of manhattan in less than an hour
<Cohedrin>
when I first moved here I got a great place in the middle of the city for 1900 a month with 1 roomate
northfurr has quit [Quit: northfurr]
anaeem1_ has joined #ruby
<Cohedrin>
I found that place in 3 days, moved here without a place to stay lol
<chipotle>
i know there's this area that is up and coming in SF up on a hill, it seemed like it would be somewhat affordable
<Cohedrin>
so you could definitely do better if you plan ahead and don't try to find a place to live in 3 days
Vertroa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<chipotle>
i thought about renting a large victorian and truning it into a hacker house, where i'd furnish the rooms and charge more than their fair share of rent
<chipotle>
i did that in boston; my first apartment was 1 mile to harvard yard and when my two other rooommates moved out into their girlfriend's homes, i went on craigslist, got free furniture, paid $100 to rent a uhaul and pick everything up. i moved into the larger bedroom (20x11) and the other 2 bedrooms were 12x12. the rent was $1700 and i was the only one on the lease. i was charging $1100 per room and people paid!
<chipotle>
i thought that would be something to try in SF so i coudl live for free
<Cohedrin>
chipotle thats really up to you, you could do that. Personally thats not for me, so I coudln't tell you much about that
<Cohedrin>
I coudln't even stand having the one roomate I had lol
anaeem1_ has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
govg has joined #ruby
rocfig has quit [Quit: This computer has gone to sleep]
apeiros has quit [Ping timeout: 272 seconds]
sgambino has joined #ruby
blub has quit [Quit: bye]
apeiros has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ni291187 has joined #ruby
usershell has joined #ruby
kalopsian has joined #ruby
symm- has joined #ruby
psy_ has quit [Ping timeout: 272 seconds]
usershell has quit [Read error: Connection reset by peer]
usershel_ has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
<pontiki>
that could work; i think some locales have subleasing restrictions, and california renter laws fall far on the side of the renter, not the landlord, though, so investigate carefully
last_staff has quit [Remote host closed the connection]
last_staff has joined #ruby
<pontiki>
there's a set of nolo press books on california rental law
claw_ has quit [Ping timeout: 265 seconds]
last_staff has quit [Read error: Connection reset by peer]
kalopsian has quit [Ping timeout: 272 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rocfig has joined #ruby
aadam21 has quit [Remote host closed the connection]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ricer2_g4H4 has quit [Ping timeout: 245 seconds]
last_staff has joined #ruby
claw has joined #ruby
dnewkerk has joined #ruby
pwnd_nsfw has quit [Ping timeout: 250 seconds]
kenbi has joined #ruby
ayonkhan has joined #ruby
ricer2_g4H4 has joined #ruby
ni291187 has quit [Remote host closed the connection]
blt has quit [Read error: Connection reset by peer]
Vertroa has joined #ruby
duckpupp1 has joined #ruby
gambl0re has joined #ruby
snguyen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
snguyen has joined #ruby
dnewkerk has quit [Quit: dnewkerk]
Makorak has joined #ruby
chouhoulis has joined #ruby
yardenbar has joined #ruby
kenbi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tubuliferous_ has quit [Ping timeout: 246 seconds]
hxegon has joined #ruby
hannelita has joined #ruby
Makorak has quit [Ping timeout: 272 seconds]
synthroid has joined #ruby
blt has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
eros_zhao has quit [Ping timeout: 252 seconds]
arup_r has quit [Remote host closed the connection]
<shevy>
ponga yeah, in fact... I forgot about you, sorry :( but when I read the nick, I remembered it!
<ponga>
shevy: well isn't that the beauty of IRC?, that you can be forgotten?
<ponga>
and then remembered again?
<shevy>
jackcom don't be so lazy
<Ox0dea>
ponga: That's the beauty of fallible human memory. :P
<jackcom>
human memory == fish memory?
<ponga>
Ox0dea: yeah but thru IRC we make less impact onto human memory, thus leaving less trace
<Ox0dea>
jackcom: This is as far as you've come in eight months of "learning" Ruby? Asking people to translate Python code?
<shevy>
I dunno... IRC feels like a neverending flow of information.... what scrolls up top, is already long past gone (I also don't see time stamps or join/quit messages)
<ponga>
hence easier to forget
<shevy>
jackcom fish can learn! see on youtube
<ponga>
actually I've been cheating lately
<ponga>
doing some python
<jackcom>
shevy: ponga is chinese. he use strange text
<shevy>
aha
<shevy>
jackcom nope but close
mesamoo has joined #ruby
<ponga>
haha
<jackcom>
:(
<jackcom>
open and closed?
<shevy>
ponga I have been getting a bit bored lately with ruby myself... I am still contemplating whether I really should get it over with and learn C seriously
Gnut has quit [Ping timeout: 272 seconds]
<jackcom>
me too
<Ox0dea>
Will you use it?
<ponga>
shevy: which the exact same thing you told me before when you remembered me!
<jackcom>
but c is difficult for using text.
<ponga>
and you are still saying that to yourself? lol
<shevy>
ponga yeah it's like a huge mountain to overcome! like you want to climb the highest mountain... but you also know, there is a helicopter to lift you up, so why climb!
<alyssadaemon>
Assuming you stick with ANSI, C is fine for text. Unicode wasn’t around for C iirc (though there are libraries for it)
<choke>
when i got bored with php a few years ago ( way before the switch to ruby ), i took a big project ( wordpress ) and wrote it in the most inefficient way I could ( a single file, with a bunch of nested switch statements ) because it sounded fun... it was...
<ponga>
shevy: and your trouble is to learn how to pilot heli yourself?
<ponga>
*learning C
<Ox0dea>
alyssadaemon: ANSI?
<jackcom>
K&R
<shevy>
ponga well if it would be to learn how to fly - but it's more learn how to CLIMB :)
<jackcom>
is good for c
<ponga>
I see
CorySimmons has joined #ruby
dh64 has quit [Ping timeout: 260 seconds]
<shevy>
choke you write this in php?
<choke>
yeah
<ponga>
shevy: I still love how things go in ruby-style, but most of things i wanted to do, python supported it better
<ponga>
this is sad
<Ox0dea>
ponga: Hm?
<shevy>
ponga yeah... I lately was stunned by a project... let me fetch the link... python project
<jackcom>
:( ponga
<alyssadaemon>
0x0dea: Basically English characters in a 7bit plane
<jackcom>
this is ruby channel
<jackcom>
ponga:
<Ox0dea>
alyssadaemon: That's ASCII, not ANSI.
<alyssadaemon>
0x0dea: Whoops, you’re right. Looks like I need another cup of coffee
_joes_ has quit [Quit: Connection closed for inactivity]
jackcom was kicked from #ruby by ChanServ [User is banned from this channel]
<ponga>
my god the mod
UtkarshRay has joined #ruby
<ponga>
the power
<shevy>
ponga yeah but still used a lot; phpBB forum, mediawiki, wordpress, drupal
<choke>
ponga I could show you some PHP that I'm dreading re-writing for a client that would seriously give you sarcoma...
<ponga>
shevy: I read a comment about php saying that its Justin Bieber of language, you don't have to be good to be popular
<choke>
^ lol i like it
zapata has quit [Quit: WeeChat 1.3]
<shevy>
php is a weird language indeed
<ponga>
shevy: anyway so i'm shifting myself onto python for my work, but ruby will still stay for 'a girl whom i contact when i need emotional'
<shevy>
ponga I see
juddey has joined #ruby
<choke>
I noticed writing a little php after learning ruby/rails I keep wanting to use .nil? and .empty? without the expected results...
<ponga>
yeah ruby is still my favourite
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
usershell has quit [Remote host closed the connection]
<shevy>
choke that is a nasty habit, it leaked into my bash aliases too
<ponga>
I love doing a.method.method.method
<ponga>
because i can
<shevy>
well you can do this in python too right .... a.method().method().method()
<choke>
shevy oddly enough, it hasn't leaked anywhere else... been doing some bash this weekend, re-configuring my terminal/vim/tmux/etc without any issues.
<ponga>
yeah that's why im tolerable to shift to python
<shevy>
hehe
<ponga>
but just the language design-wise, I like swift too
<ponga>
choke: last week, I was told by my friend that I shouldn't be doing ruby unless I will do some rails
<ponga>
:(
<shevy>
I haven't really looked at swift at all... all I know is that it is the one that obsoletes objective-c and that's about all I know
<Ox0dea>
*obsolesces
<Ox0dea>
In case somebody wants a new word.
<ponga>
shevy: it looked like clean C# with some ruby sugar to me
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ponga>
and its compiled
<choke>
lol I don't agree with that much myself ponga -- rails is great, but like all frameworks depends on what you want to make i guess ( i imagine you could build the same web-app in pure ruby as you can rails? )
<choke>
swift is a nice language too ponga, I learned a little bit about it for work ( for our mobile app )
<ponga>
choke: yeah I liked its style and design
<ponga>
only if it wasn't restricted to its ecosystem
<choke>
biggest thing I hate about it, is the damn optionals lol... they trip me up all the time
antgel has quit [Ping timeout: 240 seconds]
Makorak has joined #ruby
chouhoulis has joined #ruby
<ponga>
well I think I like python too, at least its similar to ruby than Java
<choke>
I've been learning RubyMotion lately, writing ruby code to generate objective-c code @ compile time... that seems to work quite nicely
<ponga>
ah rubymotion
<choke>
started the RM learning, and got to the point I couldn't wait on my crappy designer so I learned sketch too lol
bkxd has joined #ruby
<ponga>
lol
<ponga>
choke: so are you gonna do the graphic design yourself?
praveen has quit [Ping timeout: 276 seconds]
pawnbox has quit [Ping timeout: 256 seconds]
<choke>
Yeah, i'm just getting this app to a beta ( non-work app ) -- and my friend will then come in and give me some funding -- and i'll hire a real designer at that point
aadam21 has joined #ruby
<choke>
he wants to see a working prototype first though -- so i went with a simplistic design
<ponga>
I see, may i ask what that app will do?
juddey has quit [Ping timeout: 264 seconds]
<choke>
It's a blackjack app... So, when you open it up -- it'll get your location, find the closest casinos to you... click on a casino ( or search by name ) and it'll show you a list of all the B.J tables it has with the associated rules, and give you a strat card specific to that table with those rules
chouhoulis has quit [Ping timeout: 256 seconds]
Makorak has quit [Ping timeout: 272 seconds]
yottanami has joined #ruby
<yottanami>
Hey all
<choke>
I have some videos done and voice overs done as well, so eventually it'll have features to teach you how to play
hannelita has joined #ruby
<ponga>
I see
<ponga>
choke: and that is written in ruby with RM ?
<choke>
Yep
<ponga>
how is your exprience with RM?
<havenwood>
yottanami: hi
bkxd has quit [Ping timeout: 272 seconds]
<ponga>
is using ruby for iOS lessening your stress ?
<yottanami>
Is it a modern code style of hash? {'code' => '33'} or should I change it like {code: 33}
<yottanami>
{code: '33'}
<Ox0dea>
yottanami: Change it unless you really need it to be a String.
aadam21 has quit [Ping timeout: 276 seconds]
<choke>
my experience is still new-ish -- in that i've been learning over the last 6 months. it's definitely made it easier...
<havenwood>
yottanami: The Hash rocket is still modern if the key isn't a Symbol. But yeah, Symbol keys are the norm!
<choke>
i've done things with RM that i have no clue how to do with Obj-C or swift lol
<ponga>
I see
Coldblackice has quit [Ping timeout: 240 seconds]
yardenbar has joined #ruby
<choke>
if you have an ios device you can download "frontback" which was written in RM too
yardenbar has quit [Max SendQ exceeded]
hannelita has quit [Ping timeout: 240 seconds]
<choke>
and if you get into RM, look at the gem RedPotion for ios and BluePotion for android or WhitePotion for OSX. They make the syntax more ruby like
<yottanami>
I need it in liquid template engine, it seems it needs string
baseman has joined #ruby
djbkd has joined #ruby
<Ox0dea>
yottanami: Seems so.
CorySimmons has quit [Quit: Bye!]
davedev24 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
graphettion has quit [Remote host closed the connection]
davedev24 has joined #ruby
Coldblackice has joined #ruby
arup_r has quit [Remote host closed the connection]
aadam21 has joined #ruby
davedev2_ has joined #ruby
davedev2_ has quit [Remote host closed the connection]
davedev2_ has joined #ruby
davedev24 has quit [Ping timeout: 260 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
davedev24 has joined #ruby
jondot has joined #ruby
roshanavand has joined #ruby
davedev24 has quit [Remote host closed the connection]
aadam21 has quit [Ping timeout: 276 seconds]
davedev24 has joined #ruby
kalopsian has joined #ruby
davedev2_ has quit [Ping timeout: 250 seconds]
davedev2_ has joined #ruby
baseman has quit []
jondot has quit [Client Quit]
yottanami_ has joined #ruby
sameerynho has joined #ruby
davedev2_ has quit [Remote host closed the connection]
Haris has joined #ruby
<Haris>
hello all
<Haris>
what version of ruby can be installed on centos 6.4 ? I need 2.2.3 at least
<shevy>
"To keep track of the files installed by the packages, porg loads a shared library before installation by using the environment variable LD_PRELOAD"
<domgetter>
agent_white: wwwwwwwhat. is your quest?
<shevy>
and then! a package manager in ruby!
<jackcom>
shevy: anyway there is a site in that i can see broadcasting US TV?
<shevy>
jackcom lol
elaptics is now known as elaptics`away
<agent_white>
domgetter: 11mp/s!
<adaedra>
that's not really ruby-related, jackcom.
<jackcom>
yeah but i m very close with shevy ok
<jackcom>
i understand it adaedra
<adaedra>
see me not care.
senayar_ has quit []
<shevy>
lol
kalopsian has joined #ruby
hannelita has quit [Ping timeout: 255 seconds]
jondot has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shortdudey123 has quit [Max SendQ exceeded]
shortdudey123 has joined #ruby
dorakyur1 has quit [Ping timeout: 256 seconds]
SCHAAP137 has joined #ruby
colegatron has joined #ruby
ziyadb has joined #ruby
kalopsian has quit [Ping timeout: 250 seconds]
<ponga>
shevy:
<ponga>
oh and one thing i forgot to tell you
<ponga>
where is rvm and rbenv for python?
<ponga>
:(
aadam21 has joined #ruby
<shevy>
I dunno but they have different names for their binaries :D
<yxhuvud>
ponga: virtualenv ?
GBrawl has joined #ruby
djbkd has joined #ruby
<ponga>
oh thank you yxhuvud i will google it
<choke>
^ yep virtualenv along with virtualenvwrapper
<choke>
and you can install both with virtualenv burrito
<choke>
also pyenv, pythonbrew
GGMethos has joined #ruby
<choke>
in fact, pyenv is rbenv modified for python if i recall
karapetyan has quit [Remote host closed the connection]
yos7ph has joined #ruby
tmtwd has quit [Ping timeout: 272 seconds]
arup_r has quit []
kies^ has joined #ruby
karapetyan has joined #ruby
djbkd has quit [Ping timeout: 265 seconds]
blt has quit [Ping timeout: 272 seconds]
roshanavand has quit [Remote host closed the connection]
TheHodge has joined #ruby
acke has joined #ruby
chipotle has quit [Quit: cheerio]
FernandoBasso has joined #ruby
duckpupp1 has joined #ruby
karapetyan has quit [Remote host closed the connection]
<choke>
depending on how you implement it yes.. but really running something every 28 seconds is a cron -- and you get to deal with the hacky-hacky to make it run as you need it.
devbug_ has quit [Ping timeout: 240 seconds]
<solars>
cron is not an option, as pontiki mentioned because of the min interval of 1 min
<choke>
ideally 2 identical crons, one that sleeps for 30 seconds runs the same cron at the same time every minute, but one sleeps for 30 seconds causing it to be staggered every 30 seconds
<solars>
that's not very clean :)
_Darin has joined #ruby
zenlot has quit [Ping timeout: 250 seconds]
<choke>
that's what you get -- i mean unless you write a server process that is constantly running i don't see any other way
<domgetter>
Can you make a Thread?
<_Darin>
Hello Ruby World!
pawnbox has quit [Remote host closed the connection]
praveen has quit [Remote host closed the connection]
<domgetter>
Thread.new { loop {run_method_I_want; sleep 20} } or whatever
<solars>
choke, of course there are other ways than cron, I just wanted to ask if there is a gem, instead of writing it on my own
pawnbox has joined #ruby
<solars>
it should be robust and I have to daemonize it later
praveen has joined #ruby
praveen has quit [Remote host closed the connection]
<pontiki>
start simple
<solars>
domgetter, that's what I have now, I was curious if there is some kind of better framework that abstracts things
dlitvak_ has joined #ruby
<solars>
like whenever, just on a more fine grained level
devbug has joined #ruby
<pontiki>
how many of this type of thing are you needing to write?
sigurding has quit [Quit: sigurding]
praveen has joined #ruby
<solars>
it's not about how many of these scripts I need to write, but about re-inventing something that is already there
karapetyan has quit [Remote host closed the connection]
<_Darin>
When the floor is open, I have a quick question about devise.
cmolenda has quit [Remote host closed the connection]
<domgetter>
_Darin: floor is always open for questions :)
cmolenda has joined #ruby
<_Darin>
Didn't want to be rude. Thanks.
JohnT has joined #ruby
cmolenda has quit [Read error: Connection reset by peer]
<domgetter>
Just be sure to address someone by name if you're responding to them specifically when there are several people talking so we know who's talking to whom
<_Darin>
Anyway, the User that devise creates is different that a "normal" user model/controller/view right? Definitely, thanks for that as well.
<adaedra>
For devise, you may want to talk to #RubyOnRails, though.
praveen has quit [Ping timeout: 276 seconds]
<_Darin>
Oh, I am very new to IRC just learning how to get around.
solars has quit [Quit: WeeChat 0.4.2]
<domgetter>
_Darin: to talk in #rubyonrails you'll have to register with nameserver if you haven't already
<adaedra>
/join #RubyOnRails
<pontiki>
darin: devise is added to an existing model; it creates controllers, views and the like
cmolenda has joined #ruby
<_Darin>
Does the one I use for this channel work for ROR?
uherz has left #ruby ["NedaMise"]
<adaedra>
Same server, so yes
karapetyan has joined #ruby
<adaedra>
But you're not registered right now
duckpupp1 has joined #ruby
<_Darin>
I'm not? I had a username and password.
<adaedra>
For freenode?
<_Darin>
Yeah.
<domgetter>
_Darin: you should be able to /join #rubyonrails
<_Darin>
I received the email and set everything up.
<_Darin>
Im on there now.
<adaedra>
I see
einarj has joined #ruby
karapetyan has quit [Remote host closed the connection]
duckpupp1 has quit [Ping timeout: 245 seconds]
radgeRayden has quit [Quit: Leaving]
einarj has quit [Ping timeout: 240 seconds]
yottanami has quit [Ping timeout: 260 seconds]
cmolenda has quit [Remote host closed the connection]
al2o3-cr has quit [Ping timeout: 256 seconds]
yottanami has joined #ruby
CaseyOnHex has joined #ruby
kalopsian has quit [Ping timeout: 240 seconds]
yashinbasement has quit [Ping timeout: 264 seconds]
antgel has quit [Ping timeout: 264 seconds]
dorei has joined #ruby
sdothum has joined #ruby
Haris2 has left #ruby [#ruby]
edwinvdgraaf has joined #ruby
cmolenda has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CaseyOnHex has quit [Ping timeout: 260 seconds]
chipotle has joined #ruby
acke has quit [Quit: Leaving...]
choke has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
yottanami has quit [Ping timeout: 256 seconds]
sergey_makagon has joined #ruby
choke has joined #ruby
casadei has quit [Remote host closed the connection]
casadei has joined #ruby
<lucasb>
good day o/
CorySimmons has quit [Quit: Bye!]
<lucasb>
I'm almost finishing my tic tac toe game :)
devbug has quit [Ping timeout: 250 seconds]
Guest57 has joined #ruby
chouhoulis has joined #ruby
kalopsian has joined #ruby
<adaedra>
lucas: congrats
Coldblackice has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
hannelita has joined #ruby
Makorak has joined #ruby
Xeago_ has quit [Remote host closed the connection]
choke has quit [Read error: Connection reset by peer]
mdw has joined #ruby
hannelita has quit [Ping timeout: 255 seconds]
Makorak has quit [Ping timeout: 272 seconds]
Coldblackice has quit [Ping timeout: 272 seconds]
aadam21 has joined #ruby
cmolenda has quit [Remote host closed the connection]
<lucasb>
I don't know enough ruby idioms, so I spend a lot of time trying to think of them
choke has joined #ruby
hannelita has joined #ruby
<lucasb>
but ruby api sure is a sweet thing. I want to spend more time playing with it. I'll come back to it later
yfeldblum has quit [Ping timeout: 250 seconds]
zapata has quit [Ping timeout: 240 seconds]
Z00t has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
mdw has joined #ruby
Z00t has quit [Ping timeout: 240 seconds]
trautwein has joined #ruby
millerti has joined #ruby
_Darin has quit [Ping timeout: 252 seconds]
arup_r has quit [Remote host closed the connection]
<jackcom>
ponga: virtualenv
mfb2 has joined #ruby
choke has quit [Read error: Connection reset by peer]
mdw has quit [Quit: Sleeping Zzzzz]
sftrabbit has joined #ruby
Drakx has quit [Ping timeout: 255 seconds]
SirCmpwn has quit [Ping timeout: 255 seconds]
hannelita has quit [Remote host closed the connection]
Drakx has joined #ruby
pwnd_nsfw has joined #ruby
mfb2 has quit [Ping timeout: 276 seconds]
iateadonut has joined #ruby
karapetyan has quit [Remote host closed the connection]
dlitvak_ has quit [Ping timeout: 260 seconds]
SirCmpwn has joined #ruby
davedev24 has joined #ruby
lapide_viridi has joined #ruby
platzhirsch has joined #ruby
mistermocha has joined #ruby
choke has joined #ruby
kenbi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
c355e3b has joined #ruby
davedev2_ has joined #ruby
arup_r has joined #ruby
dlitvak has joined #ruby
davedev24 has quit [Ping timeout: 250 seconds]
duckpupp1 has joined #ruby
Jello_Raptor has quit [Ping timeout: 272 seconds]
mistermocha has quit [Ping timeout: 250 seconds]
Jello_Raptor has joined #ruby
CorySimmons has joined #ruby
Guest57 has quit [Ping timeout: 265 seconds]
aadam21 has quit [Ping timeout: 276 seconds]
duckpupp1 has quit [Ping timeout: 250 seconds]
rippa has joined #ruby
blackmesa has joined #ruby
kalopsian has quit [Ping timeout: 260 seconds]
ekinmur has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
howdoicomputer has joined #ruby
choke has quit [Read error: Connection reset by peer]
praveen has joined #ruby
millerti has joined #ruby
praveen has quit [Remote host closed the connection]
radgeRayden has joined #ruby
finisherr has left #ruby [#ruby]
codecop has joined #ruby
howdoicomputer has quit [Ping timeout: 246 seconds]
praveen has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GBrawl has joined #ruby
GBrawl has quit [Client Quit]
GBrawl has joined #ruby
who42 has joined #ruby
chimche has joined #ruby
choke has joined #ruby
chouhoulis has joined #ruby
bkxd has joined #ruby
platzhirsch has quit [Ping timeout: 246 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
blackmesa has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Ping timeout: 246 seconds]
bkxd has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
CorySimmons has quit [Quit: Bye!]
JohnT has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
kalopsian has joined #ruby
cmolenda has joined #ruby
choke has quit [Read error: Connection reset by peer]
psy_ has joined #ruby
puria has joined #ruby
cmolenda has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
UtkarshRay has joined #ruby
dlitvak has quit [Ping timeout: 256 seconds]
stevenxl has quit [Ping timeout: 265 seconds]
choke has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
edwinvdgraaf has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
edwinvdgraaf has joined #ruby
chussenot has quit [Quit: chussenot]
howdoi has joined #ruby
aryaching has joined #ruby
einarj has joined #ruby
snguyen has joined #ruby
snguyen has quit [Client Quit]
dlitvak has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 272 seconds]
Sucks has joined #ruby
dlitvak has joined #ruby
hannelita has joined #ruby
user083 has quit [Read error: Connection reset by peer]
psy__ has joined #ruby
psy_ has quit [Ping timeout: 240 seconds]
psy__ has quit [Max SendQ exceeded]
karapetyan has joined #ruby
psy__ has joined #ruby
praveen has quit [Remote host closed the connection]
choke has quit [Read error: Connection reset by peer]
hannelita has quit [Ping timeout: 264 seconds]
aadam21 has joined #ruby
user083 has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
JohnT has joined #ruby
ajf- has joined #ruby
scripore has joined #ruby
<ajf->
question: If I have a .rb file that uses some libraries to do a simple task (in this case, convert markdown to html using github-markup), can I bundle that script into a binary for people that don't have ruby to distribute with my desktop app ? Ruby would then be needed only for development
choke has joined #ruby
monod has joined #ruby
<alyssadaemon>
ajf-: depends on a lot of factors. Like, which OS you’re compiling for
<ajf->
say for dawin platform for starters, but ideally I would have a compiler that would let me choose the OS
usershell has quit [Read error: Connection reset by peer]
Ebok has quit [Ping timeout: 260 seconds]
antgel has joined #ruby
northfurr has joined #ruby
usershell has joined #ruby
QpQ4 has joined #ruby
praveen has quit [Ping timeout: 276 seconds]
dlitvak has quit [Ping timeout: 250 seconds]
ozzloy has quit [Ping timeout: 272 seconds]
sts has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
choke has quit [Read error: Connection reset by peer]
symm- has joined #ruby
djbkd has joined #ruby
aryaching has joined #ruby
chouhoulis has joined #ruby
bkxd has joined #ruby
certainty has joined #ruby
smactive has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
casadei has quit [Remote host closed the connection]
JBrickley has joined #ruby
JBrickley has quit [Client Quit]
chouhoulis has quit [Ping timeout: 272 seconds]
choke has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
dmr8 has joined #ruby
Makorak has joined #ruby
haraigoshi has joined #ruby
lacuna has joined #ruby
lacuna has quit [Changing host]
lacuna has joined #ruby
lapide_viridi has quit [Quit: Leaving]
GBrawl has quit [Quit: (null)]
acharnosh has joined #ruby
smactive has quit [Ping timeout: 256 seconds]
puria has quit [Ping timeout: 260 seconds]
simi has joined #ruby
haraigoshi has quit [Ping timeout: 240 seconds]
Makorak has quit [Ping timeout: 272 seconds]
speaking1ode has joined #ruby
kobain has joined #ruby
symm- has quit [Quit: Leaving...]
aadam21 has quit [Ping timeout: 276 seconds]
QpQ4 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
praveen has joined #ruby
acharnosh has quit [Quit: WeeChat 1.3]
FooMunki has quit [Quit: FooMunki]
yottanami has joined #ruby
cmolenda has joined #ruby
Melpaws has joined #ruby
choke has quit [Read error: Connection reset by peer]
zotherstupidguy has joined #ruby
rodfersou has joined #ruby
<zotherstupidguy>
do ruby 'gem uninstall somthing' doesnt give an error if the gem is actually not installed?
speaking1ode has quit [Ping timeout: 256 seconds]
<zotherstupidguy>
i tried somthing like gem uninstall blahblahblahblah and no errors!
<zotherstupidguy>
kinda bad, right!
QpQ4 has joined #ruby
dlitvak_ has quit [Remote host closed the connection]
cmolenda_ has joined #ruby
speaking1ode has joined #ruby
cmolenda has quit [Ping timeout: 260 seconds]
pdoherty has joined #ruby
chimche has quit [Quit: Leaving.]
choke has joined #ruby
chimche has joined #ruby
Pupeno has quit [Quit: Leaving...]
<Melpaws>
mine returns no message if the gem does not exist
mrtomme has quit [Ping timeout: 246 seconds]
northfurr has quit [Quit: northfurr]
cpup has quit [Ping timeout: 256 seconds]
rodfersou has quit [Ping timeout: 240 seconds]
mrtomme has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
cpup has joined #ruby
lucasb has quit [Quit: leaving]
antgel has joined #ruby
ruby-lang261 has joined #ruby
zenlot has joined #ruby
Z00t has joined #ruby
choke has quit [Read error: Connection reset by peer]
puria has joined #ruby
rodfersou has joined #ruby
ruby-lang261 has quit [Ping timeout: 252 seconds]
stevenxl has joined #ruby
stevenxl has joined #ruby
sergey_makagon has quit [Read error: Connection reset by peer]
hannelita has joined #ruby
northfurr has joined #ruby
gambl0re has joined #ruby
aryaching has quit [Ping timeout: 255 seconds]
sftrabbit has quit [Quit: sftrabbit]
monod has quit [Quit: Sto andando via]
JohnT has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
KineticX has joined #ruby
choke has joined #ruby
karapetyan has joined #ruby
jackcom has quit [Quit: jackcom]
aryaching has joined #ruby
Z00t has quit [Quit: No Ping reply in 180 seconds.]
mistermocha has joined #ruby
hannelita has quit [Ping timeout: 240 seconds]
sergey_makagon has joined #ruby
Z00t has joined #ruby
duckpupp1 has joined #ruby
arup_r has quit []
Blaguvest has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
mistermocha has quit [Ping timeout: 256 seconds]
sftrabbit has joined #ruby
speaking1ode has quit [Ping timeout: 272 seconds]
fourq is now known as fourq|away
duckpupp1 has quit [Ping timeout: 256 seconds]
ledestin has joined #ruby
aryaching_ has joined #ruby
jschmid has joined #ruby
fourq|away is now known as fourq
chimche has quit [Quit: Leaving.]
aryaching has quit [Ping timeout: 264 seconds]
Rickmasta has joined #ruby
elaptics`away is now known as elaptics
tubuliferous_ has joined #ruby
antgel has quit [Ping timeout: 250 seconds]
choke has quit [Read error: Connection reset by peer]
howdoicomputer has joined #ruby
antgel has joined #ruby
dlitvak has joined #ruby
ponga has quit []
<zotherstupidguy>
Melpaws thats bad behavior in my opinon, too passive
Xeago has quit [Remote host closed the connection]
howdoicomputer has quit [Ping timeout: 264 seconds]
jxs_ has joined #ruby
choke has joined #ruby
colegatron has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
zotherstupidguy has quit [Quit: WeeChat 1.3]
sergey_makagon has quit [Remote host closed the connection]
QpQ4 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has quit [Ping timeout: 246 seconds]
stevenxl has quit [Ping timeout: 272 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandstrom has joined #ruby
millerti has joined #ruby
dlitvak has quit [Remote host closed the connection]
platzhirsch has joined #ruby
legit has joined #ruby
sergey_makagon has joined #ruby
aadam21 has joined #ruby
ferr has joined #ruby
Habib has joined #ruby
chimche has joined #ruby
certainty has quit [Ping timeout: 260 seconds]
chipotle has quit [Quit: cheerio]
yottanami has quit [Remote host closed the connection]
<legit>
Hi. Trying to package an app that requires rmagick with ocra. I have rmagick installed (and it works), but after packaging I get 'Ignoring rmagick-2.15.4 because its extensions are not built. Try: gem pristine rmagick --version 2.15.4' when running the app. Am I doing something wrong?
Cyberheb has joined #ruby
colegatron has joined #ruby
mfb2 has joined #ruby
choke has quit [Read error: Connection reset by peer]
lxsameer__ has quit [Quit: Leaving]
mfb2 has quit [Ping timeout: 264 seconds]
choke has joined #ruby
chimche has quit [Quit: Leaving.]
nanoz has quit [Read error: Connection reset by peer]
davedev2_ has quit [Ping timeout: 240 seconds]
rodfersou has quit [Ping timeout: 255 seconds]
einarj has joined #ruby
davedev24 has joined #ruby
northfurr has quit [Quit: northfurr]
northfurr has joined #ruby
Meow-J has joined #ruby
einarj has quit [Ping timeout: 260 seconds]
casadei has joined #ruby
terminalrecluse has joined #ruby
Kaurs has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
edwinvdgraaf has quit [Remote host closed the connection]
<sts>
i would like to avoid passing the extra construct required, but i think that is only possible if i create a instance of a class and store the argument there..
djbkd has quit [Ping timeout: 240 seconds]
Habib has joined #ruby
duckpupp1 has quit [Ping timeout: 240 seconds]
griffindy has joined #ruby
metalic has joined #ruby
kalopsian has quit [Ping timeout: 256 seconds]
fourq is now known as fourq|away
fourq|away is now known as fourq
TheHodge has quit [Quit: Connection closed for inactivity]
kalopsian has joined #ruby
northfurr has quit [Quit: northfurr]
sarkis has joined #ruby
fourq is now known as fourq|away
jschmid has quit [Remote host closed the connection]
<sarkis>
hey all - so have something like this (using gemoji gem) : h(content).to_str.gsub(/:([\w+-]+):/) do |match|
<sarkis>
what's the best way to see if match is inside of a set of ``
jschmid has joined #ruby
hxegon has joined #ruby
Kaurs has quit [Remote host closed the connection]
<sarkis>
or i guess i can modify the regex in .gsub() to ignore it rather than doing it after the fact
The_Phoenix has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
northfurr has joined #ruby
choke has quit [Read error: Connection reset by peer]
dwfait has quit [Remote host closed the connection]
volty has joined #ruby
david1 has joined #ruby
<apeiros>
sarkis: via $~ you have access to pre_ an post_match
<darix>
sarkis: matching things like `..` or (..) is pita with regexp :p
<sarkis>
darix i'm starting to realize :(
<sarkis>
apeiros: thanks - taking a look at doc
<darix>
a proper parser and just applying gemoji to the parts needed would be easier :p
dlitvak has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
bkxd has joined #ruby
choke has joined #ruby
howdoicomputer has joined #ruby
quaristice has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
Makorak has joined #ruby
quaristice has quit [Client Quit]
haraigoshi has joined #ruby
hxegon has quit [Quit: BRB]
dlitvak has quit [Ping timeout: 265 seconds]
bithon has quit [Ping timeout: 255 seconds]
dlitvak has joined #ruby
jondot has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azure has quit [Ping timeout: 246 seconds]
jbrhbr has joined #ruby
certainty has joined #ruby
chipotle has joined #ruby
Makorak has quit [Ping timeout: 272 seconds]
symm- has joined #ruby
Waheedi has joined #ruby
haraigoshi has quit [Ping timeout: 264 seconds]
jxs_ has quit [Remote host closed the connection]
QpQ4 has joined #ruby
<Waheedi>
for example in Gemfile can I define a specific version for ruby that all gems would just relate to that version?
<Waheedi>
as now a days most of recent gems forces 2.+ rb upgrade
metalic has quit [Quit: Leaving]
arup_r has joined #ruby
<volty>
Is there something like Enumerator#each_select? (no Enumerator#select ... #each)
<Waheedi>
yes for sure there is
choke has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
howdoicomputer has quit [Ping timeout: 240 seconds]
jschmid has quit [Ping timeout: 264 seconds]
<volty>
Waheedi: no further hints?
Jardayn has joined #ruby
Azure has joined #ruby
<Waheedi>
sorry :)
Guest57 has joined #ruby
Zggb has quit [Quit: Connection closed for inactivity]
Xeago has quit [Remote host closed the connection]
dlitvak_ has joined #ruby
hxegon has joined #ruby
<domgetter>
volty: what should each_select? do?
crowell has quit [Ping timeout: 250 seconds]
bithon has joined #ruby
crowell has joined #ruby
crowell has quit [Changing host]
crowell has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
Thomas-0725 has joined #ruby
JohnT has joined #ruby
dlitvak has quit [Ping timeout: 264 seconds]
choke has joined #ruby
<domgetter>
Enumerable#select uses #each to do it's work.
edwinvdgraaf has joined #ruby
<volty>
so, I have a filename list, I open the files and depending on a certain condition (let's say the first line is ...) I passed it down. Now, I want to delegate that test elsewhere ( if cond yield(file) )
certainty has quit [Ping timeout: 265 seconds]
<volty>
of course I can specialize the object (files.each_open), but I was asking if something already there
dwfait has joined #ruby
lucasb has joined #ruby
<volty>
( I feel those tests clutter my code, just want to move the test elsewhere, and, btw, I feel a bit fuzzy)
<volty>
s/passed/pass/
akem has joined #ruby
einarj has joined #ruby
platzhirsch has quit [Ping timeout: 256 seconds]
Thomas-0725 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<lucasb>
idk if I fully understand you, but why 'filenames.select(&my_file_filter)' is not what you want?
Thomas-0725 has joined #ruby
einarj has quit [Ping timeout: 250 seconds]
sandstrom has quit [Read error: Connection reset by peer]
<volty>
lucasb: doesn't Enumerator#each(&:meth) calls a method defined on objects contained in the enumerable? I wish I could call a global.
<volty>
s/calls/call/
<akem>
hi
duckpupp1 has joined #ruby
<domgetter>
volty: Enumerable is the module in question. Enumerator is a class. Enumerable#select runs the predicate function for each element, but doesn't call any methods on the elements
sandstrom has joined #ruby
Xeago has joined #ruby
choke has quit [Read error: Connection reset by peer]
lacuna has quit [Remote host closed the connection]
<volty>
domgetter: I asked for hints, not for lectures (sorry if I do not seem polite)
<volty>
domgetter: and who was talking about «module»?
Xeago has quit [Remote host closed the connection]
<domgetter>
You were trying to talk about something that doesn't exist.
defendguin has joined #ruby
<volty>
lucasb: that will do it, thx :)
<volty>
domgetter: it does exist, and lucasb showed how it can be done
<domgetter>
volty: you kept typing Enumerator instead of Enumerable
<volty>
domgetter: give it up man, stop with your sterile pedantry
hannelita has quit [Ping timeout: 240 seconds]
mistermocha has joined #ruby
<domgetter>
volty: I don't mind being accused of being a pedant when I am one, but this is not such a case.
aadam21 has joined #ruby
<volty>
It is. There are nice people here, like lucasb, that help you solve problems, and there are *sterile* pedants breaking eggs on non relevant issues. It there a #quarrel chan here ? :)
eggoez has quit [Quit: ingatkah kamu?]
choke has joined #ruby
stevenxl has joined #ruby
iateadonut has quit [Quit: Leaving.]
LMity has joined #ruby
stannard has joined #ruby
<domgetter>
calling me sterile doesn't seem very nice. Was I not being nice by trying to help you use the correct word?
mistermocha has quit [Ping timeout: 245 seconds]
howdoicomputer has joined #ruby
roshanavand has joined #ruby
roshanavand has quit [Remote host closed the connection]
hxegon has quit [Quit: BRB]
scripore has quit [Quit: This computer has gone to sleep]
CorySimmons has joined #ruby
<adaedra>
Is there a problem?
<volty>
I am trying to be nice by suggesting you to not torture people on «correct words». The key issue was iteration with filtering coupled with yielding. Enumerable vs Enumerator doesn't matter.
<apeiros>
volty: correct words actually matter, you know?
<volty>
apeiros: yes, upon context.
<domgetter>
allow me to apologize for the *hint hint* joke.
rkazak has joined #ruby
<volty>
domgetter: nm :)
<domgetter>
I admit I was a little defensive when you said I was lecturing you.
<apeiros>
I don't think it was lecturing. IMO volty overreacted.
f00dMonsta_ has quit [Remote host closed the connection]
dlitvak has joined #ruby
<apeiros>
the proper reaction to having a mistake pointed out isn't "gosh, how dare you". it's "thanks" and move on.
lacuna has joined #ruby
<domgetter>
apeiros: well now you're the one lecturing
<volty>
Nothing dramatic. I always prefer to help solve others' problems , prior to explaining what is class and what is not (was not pertinent, anyway) :)
choke has quit [Read error: Connection reset by peer]
<apeiros>
domgetter: how dare I!
<adaedra>
The correction was not hurting?
<domgetter>
volty: I think we'll have to agree to disagree that the difference between Enumerator and Enumerable was pertinent.
choke has joined #ruby
dlitvak_ has quit [Ping timeout: 245 seconds]
mwlang has joined #ruby
<volty>
Was not — each(&method(:my_meth)) is all the same.
<domgetter>
Though I'
<domgetter>
whoops
chouhoulis has joined #ruby
lucas has left #ruby [#ruby]
QpQ4 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<domgetter>
Though I'm still waiting for the apology for calling my pedantry sterile. My pedantry is very strong, and will fulfill its Darwinian imperative.
nunchuck has joined #ruby
stevenxl has quit [Quit: leaving]
nunchuck has quit [Client Quit]
edwinvdgraaf has quit [Read error: Connection reset by peer]
nunchuck has joined #ruby
edwinvdgraaf has joined #ruby
einhander has joined #ruby
chouhoul_ has joined #ruby
<volty>
ah ah, Darwin's selection through killing with lectures
<adaedra>
You're done yet you two? *This* is sterile.
<volty>
adeponte: You are right. Sorry :)
dwfait has quit [Remote host closed the connection]
Melpaws has quit [Ping timeout: 240 seconds]
howdoicomputer has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 265 seconds]
Melpaws has joined #ruby
ruby-lang913 has joined #ruby
usershell has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
jbrhbr has quit [Quit: Leaving.]
Bloomer has quit [Remote host closed the connection]
choke has quit [Read error: Connection reset by peer]
devbug has joined #ruby
usershell has joined #ruby
ruby-lang913 has quit [Ping timeout: 252 seconds]
dlitvak_ has joined #ruby
bkxd has quit [Ping timeout: 246 seconds]
camillo has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
jondot has joined #ruby
dlitvak has quit [Ping timeout: 250 seconds]
ibouvousaime has joined #ruby
devbug has quit [Ping timeout: 240 seconds]
sol_ has quit [Ping timeout: 240 seconds]
s00pcan has quit [Remote host closed the connection]
camillo is now known as sol_
ajf- has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pdoherty has quit [Ping timeout: 264 seconds]
s00pcan has joined #ruby
scripore has joined #ruby
aadam21 has quit [Ping timeout: 250 seconds]
QpQ4 has joined #ruby
Thomas-0725 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hxegon has joined #ruby
roshanavand has joined #ruby
stevenxl has joined #ruby
roshanavand has quit [Remote host closed the connection]
dlitvak_ has quit [Remote host closed the connection]
trautwein has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LMity has quit [Ping timeout: 250 seconds]
roshanavand has joined #ruby
akem2 has joined #ruby
akem has quit [Read error: Connection reset by peer]
rkazak has joined #ruby
TheHodge has joined #ruby
<legit>
How do I deal with foreign characters in filenames on Windows? I always get file not found when trying to read or open
howdoi has quit [Quit: Connection closed for inactivity]
akem has joined #ruby
akem2 has quit [Read error: No route to host]
Xeago has joined #ruby
roshanavand has quit [Remote host closed the connection]
mdw has joined #ruby
djbkd has joined #ruby
<domgetter>
legit: it may be a string encoding issue. what version of Ruby? can you give an example?
jrcharney has joined #ruby
<legit>
domgetter, ruby 2.2.3. I can't use filenames with þ,º,ã,â,î
<legit>
Everything works fine on Linux
<jrcharney>
I installed ruby via rbenv on Linux Mint, but when I type "whereis ruby" I get nothing. Anyone know what I need to do to fix this?
akem2 has joined #ruby
<jrcharney>
domaldel: Check your keyboard layout
<jrcharney>
whoops, wrong person
<jrcharney>
domgetter: check your keyboard layout. (More to follow)
<domgetter>
jrcharney: I don't think I'm having any problems with my keyboard layout. Did you mean that for someone else?
<apeiros>
they probably meant legit
sergey_makagon has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 246 seconds]
<adaedra>
jrcharney: did you install at least one ruby?
<jrcharney>
Just to be sure, I just did that again
akem has joined #ruby
akem2 has quit [Read error: Connection reset by peer]
<domgetter>
legit: are you trying to do stuff from irb, or from a saved ruby script?
<legit>
jrcharney, Romanian Standard (which is what I use when typing in my IDE).
<legit>
domgetter, both fail
axsuul has joined #ruby
<adaedra>
also, I don't see how configuring debian keyboard helps with filename handling in windows
symm- has quit [Quit: Leaving...]
<domgetter>
legit: well lucky for you I'm on Windows with Ruby 2.2.3 so I can do some tests
<apeiros>
legit: ruby 2.2 by default uses utf-8 for encoding of script files
LMity has joined #ruby
akem has quit [Read error: Connection reset by peer]
akem2 has joined #ruby
<apeiros>
or rather assumes the file to be encoded in utf-8. so if your script files are encoded in a different encoding - and you try to open files by having their names literally in the code - then that'll fail.
<jrcharney>
legit: maybe there is a layout for using AltGr (right alt) to do special characters. I live in the US, but I type a lot of words with the spanish and french accents in them. (i.e. El Niño)
<toretore>
wild guess: windows filenames are in some stupid code* charset, ruby uses utf-8
<legit>
apeiros, using .encoding on a file name returns Windows-1252
JohnT has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra>
Aaah, windows, always such a pleasure to work with.
<domgetter>
legit: I can open it if I use the unicode literals
<jrcharney>
toretore: I set up my computer to use UTF-8, ruby means well. Besides, how else is Matz supposed to write his language in Japanese and English?
<legit>
domgetter, how?
<domgetter>
File.open("\u00FE.txt", "r") will open þ.txt
<jrcharney>
domgetter: Interesting...Is it supposed to do that?
arup_r has quit [Remote host closed the connection]
<apeiros>
toretore: windows afair uses utf-16, and as long as the filename is stored in a string with the proper encoding set, it shouldn't matter as ruby should translate
axsuul has quit [Ping timeout: 240 seconds]
<sarkis>
damn it really is hard to NOT match stuff in `...` with regex
<sarkis>
is this just hard or impossible :D
<legit>
domgetter, I'm getting the filenames with Dir, which outputs a broken list
<domgetter>
legit: yea with Dir["*"] I get "?.txt"
<apeiros>
legit: really, gist some code like you've been asked to do a while ago already.
<domgetter>
lemme do more tests
<legit>
apeiros, hold on
Guest57 has quit [Ping timeout: 255 seconds]
<jrcharney>
adaedra: At any rate, the reason I need to get my system to recongize the ruby I installed (rbenv) is so that I don't have to install Ubuntu/Linux Mint's way older version of ruby. Ruby is required for weechat plugins
<apeiros>
Dir.entries("input/") with a file "input/foo.txt" will return ["foo.txt"], not ["input/foo.txt"]
<apeiros>
if you then try to (essentially) do File.open("foo.txt"), if course you'll get "file not found"
<apeiros>
the part with the output being mangled is something you should check either way, though.
arup_r has joined #ruby
usershell has quit [Remote host closed the connection]
<legit>
apeiros, returned file name is correct if there are no foreign characters.
<domgetter>
apeiros: do you know why (in that gist) the encoding is changing on me?
akkad has joined #ruby
<apeiros>
legit: read closer. it does not include the dir.
<apeiros>
"foo.txt" != "input/foo.txt"
<legit>
apeiros, I know, I don't need the dir
<Melpaws>
i need to iterate over an array and if the index matches a number (eg every 7th index spot) i need to assign the range in between. so essentially elements 0-6 would be a new array and 7-13 and on and on. Any google fu suggestions?
<apeiros>
legit: because File.open magically knows you meant for it to look in input?
<domgetter>
dont do things that are illegal where you live. that's my advice
akem has quit [Read error: No route to host]
akem has joined #ruby
<apeiros>
and no, you should not pirate it, whether you can afford it or not. somebody worked to create it and are asking compensation for their work.
m3_del has joined #ruby
<noone_>
apeiros: I wish, but I'm staying in a rural part of india, libraries don't have this book, and it is like 32$ which is quite big amount for me
akem has quit [Read error: No route to host]
platzhirsch has quit [Ping timeout: 240 seconds]
akem has joined #ruby
bkxd has joined #ruby
<domgetter>
and whether or not you should pirate it, don't argue about whether or not you should pirate it here
<havenwood>
noone_: I've seen multiple cases in the Ruby community where copies or licenses were given out for free to those in need when requested by postcard or email. Try writing an email to the author. There are also many good free resources!
gheegh has joined #ruby
northfurr has quit [Quit: northfurr]
akem has quit [Client Quit]
<noone_>
havenwood: the book is "The Pragmatic Programmer", I'll try to contact the author
Thomas-0725 has joined #ruby
YankNYC has joined #ruby
zipace has joined #ruby
Meow-J has quit [Quit: Connection closed for inactivity]
northfurr has joined #ruby
tectonic has quit [Ping timeout: 276 seconds]
xnr has left #ruby ["They know."]
hannelita has joined #ruby
ferr has joined #ruby
who42 has quit [Quit: Leaving]
northfurr has quit [Client Quit]
ur5us has joined #ruby
CorySimmons has quit [Quit: Bye!]
armyriad has quit [Ping timeout: 260 seconds]
armyriad has joined #ruby
northfurr has joined #ruby
dionysus69 has joined #ruby
northfurr has quit [Client Quit]
hannelita has quit [Ping timeout: 255 seconds]
craysiii has joined #ruby
choke has quit [Read error: Connection reset by peer]
m3_del has quit [Remote host closed the connection]
aadam21 has quit [Ping timeout: 276 seconds]
harai has joined #ruby
m3_del has joined #ruby
darkf has quit [Quit: Leaving]
karapetyan has quit [Remote host closed the connection]
northfurr has joined #ruby
dorakyur1 has quit [Ping timeout: 256 seconds]
praveen has quit [Remote host closed the connection]
Xiti` has joined #ruby
houhoulis has joined #ruby
m3_del has quit [Ping timeout: 265 seconds]
tectonic has joined #ruby
praveen has joined #ruby
CorySimmons has joined #ruby
yqt has joined #ruby
speaking1ode has joined #ruby
Xiti` has quit [Client Quit]
stevenxl has quit [Ping timeout: 260 seconds]
edwinvdgraaf has quit [Read error: Connection reset by peer]
choke has joined #ruby
Xiti has quit [Ping timeout: 264 seconds]
dwefe has quit [Remote host closed the connection]
Xiti has joined #ruby
edwinvdgraaf has joined #ruby
chipotle has quit [Quit: cheerio]
Thomas-0725 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
choke has quit [Read error: Connection reset by peer]
choke has joined #ruby
Vertroa has joined #ruby
pdoherty has quit [Ping timeout: 265 seconds]
Rodya_ has joined #ruby
Cyberheb has quit [Quit: Computer has gone to sleep.]
speaking1ode has quit [Quit: Lost terminal]
QpQ4 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has quit [Remote host closed the connection]
pskosinski has quit [Read error: Connection reset by peer]
symm- has joined #ruby
CorySimmons has quit [Quit: Bye!]
puria has quit [Remote host closed the connection]
m3_del has joined #ruby
<shevy>
sjums all installed gems are also available in cache/ subdirectory
roshanavand has quit [Read error: Connection reset by peer]
tubuliferous_ has quit [Ping timeout: 245 seconds]
<shevy>
and you can always do a local install of all .gem files
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devbug has joined #ruby
karapetyan has joined #ruby
Xeago has quit [Remote host closed the connection]
chussenot has joined #ruby
noone_ has quit [Quit: Page closed]
<choke>
guten morgen shevy
<shevy>
yo choke
praveen has quit [Remote host closed the connection]
shortdudey123 has quit [Max SendQ exceeded]
pawnbox has quit [Remote host closed the connection]
shortdudey123 has joined #ruby
bluOxigen_ has quit [Ping timeout: 240 seconds]
<choke>
how goes it
pawnbox has joined #ruby
tmtwd has quit [Ping timeout: 240 seconds]
<shevy>
woke up again not long ago!
devbug has quit [Ping timeout: 250 seconds]
<choke>
nice.. i just woke up the first time ( noon )... but was up till like 5 'cause i'm obsessed and refuse to leave code not working or unfinished :(
<shevy>
yeah
<sjums>
shevy, as you can see the rerun gem is in the 2.2.0 folder, but my ruby version is 2.3.0 and the stacktrace clearly says my gem_path is only set for 2.3.0
karapetyan has quit [Ping timeout: 260 seconds]
mdw has joined #ruby
<sjums>
it worked just yesterday D: and I see the build of ruby is from a month ago
<shevy>
sjums cool. so did you go to the cache/ subdirectory yet
<shevy>
it should be at $PREFIX_WHERE_RUBY_RESIDES/lib/ruby/gems/2.3.0/cache/ where 2.3.0 would be the C API of the ruby I think; so for 2.2.x branch it would be 2.2.0
roshanavand has joined #ruby
j416 has quit [Read error: Connection reset by peer]
j416_ has joined #ruby
j416_ is now known as j416
pawnbox has quit [Ping timeout: 255 seconds]
jbrhbr has joined #ruby
<shevy>
a simple batch install for the .gem files there would be "gem install --ignore-dependencies -no-ri -no-rdoc ./*.gem" but if you really have more than one ruby versions, perhaps you may also have more than one gem versions. do you arch people not have a wiki that recommends how you properly upgrade by the way?
<havenwood>
sjums: Gem binaries are installed with hardcoded paths to Ruby by default. There's an --env-shebang option and a proposal to enable it by default in RubyGems has been accepted and is currently set to the RubyGems 2.6 milestone. The easiest way for now is to reinstall your gems on 2.3.0.
<shevy>
because there is no normal way that the C API version changes unless you change the ruby version itself, and you said you no longer use 2.2.0 you use 2.3.0 suddenly
<choke>
i have 3 versions of ruby myself lol
<sjums>
there's a pretty good wiki for Arch, yes. Exactly if there's anything specific for ruby I don't know
<havenwood>
sjums: I set --env-shebang in my ~/.gemrc which makes upgrading TINY versions easy. I still reinstall gems for MINOR version updates.
<sjums>
I think I'll just roll with the reinstall your gems idea
JohnT has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hannelita has joined #ruby
wasserschlange_ has quit [Client Quit]
futilegames has quit [Quit: futilegames]
wasserschlange_ has joined #ruby
benhuda has joined #ruby
wasserschlange_ has quit [Client Quit]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
terminalrecluse has joined #ruby
mistermocha has joined #ruby
yashinbasement has quit [Quit: Leaving]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hannelita has quit [Ping timeout: 264 seconds]
hxegon has quit [Read error: Connection reset by peer]
shadoi has joined #ruby
einarj has joined #ruby
chipotle has joined #ruby
karapetyan has quit [Remote host closed the connection]
Thomas-0725 has joined #ruby
karapetyan has joined #ruby
symm- has quit [Ping timeout: 250 seconds]
tectonic has quit []
defendguin has joined #ruby
psy__ has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
chimche has joined #ruby
mistermocha has quit [Ping timeout: 246 seconds]
einarj has quit [Ping timeout: 255 seconds]
<diegoviola>
how do I sleep randomly between 2 and 4 sececonds
<diegoviola>
like sleep 2..4
<diegoviola>
seconds*
spider-mario has joined #ruby
<adaedra>
sleep (2..4).to_a.sample
<adaedra>
but it depends on the precision you want
<diegoviola>
thanks
<adaedra>
(also, this is surely not the best way, but I don't do random enough the have the right one on first try)
<diegoviola>
I think this works just fine for me for now, thanks
<adaedra>
sleep rand(2..4) # better
<diegoviola>
hrm
choke has quit [Read error: Connection reset by peer]
<adaedra>
(as it doesn't create an array)
<diegoviola>
cool
<diegoviola>
ty :)
Rodya_ has quit [Remote host closed the connection]
choke has joined #ruby
hxegon has joined #ruby
nettoweb has joined #ruby
chussenot has quit [Quit: chussenot]
casadei has quit [Remote host closed the connection]
wanderer has joined #ruby
sftrabbit has quit [Quit: sftrabbit]
pawnbox has joined #ruby
howdoicomputer has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
Thomas-0725 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hxegon has quit [Ping timeout: 264 seconds]
ferr has quit [Ping timeout: 250 seconds]
tectonic has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
howdoicomputer has quit [Ping timeout: 245 seconds]
hxegon has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sftrabbit has joined #ruby
pandaant has joined #ruby
northfurr has joined #ruby
Makorak has joined #ruby
Rodya_ has joined #ruby
hxegon has quit [Ping timeout: 264 seconds]
crdpink2 has joined #ruby
nfk has joined #ruby
crdpink has quit [Ping timeout: 260 seconds]
edwinvdgraaf has quit [Read error: Connection reset by peer]
agentmeerkat has joined #ruby
aryaching has quit []
edwinvdgraaf has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
Makorak has quit [Ping timeout: 272 seconds]
edwinvdgraaf has joined #ruby
nettoweb has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
ajf- has joined #ruby
symm- has joined #ruby
edwinvdgraaf has joined #ruby
crdpink has joined #ruby
rserro has joined #ruby
crdpink2 has quit [Ping timeout: 260 seconds]
ibouvousaime has quit [Ping timeout: 260 seconds]
chimche has quit [Quit: Leaving.]
edwinvdgraaf has quit [Read error: Connection reset by peer]
chimche has joined #ruby
ferr has joined #ruby
edwinvdgraaf has joined #ruby
nettoweb has quit [Client Quit]
blackmesa has joined #ruby
who42 has joined #ruby
Vertroa has joined #ruby
chimche has quit [Client Quit]
pawnbox has joined #ruby
shadoi has quit [Quit: Leaving.]
edwinvdgraaf has quit [Read error: Connection reset by peer]
praveen has joined #ruby
Coldblackice has joined #ruby
roshanavand has quit [Remote host closed the connection]
markfletcher has joined #ruby
QpQ4 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rserro has quit []
roshanavand has joined #ruby
xlegoman has quit [Quit: xlegoman]
edwinvdgraaf has joined #ruby
pawnbox has quit [Ping timeout: 255 seconds]
praveen has quit [Ping timeout: 240 seconds]
Dimik has joined #ruby
Z00t has quit [Ping timeout: 255 seconds]
nerium has quit [Quit: nerium]
axsuul has quit [Ping timeout: 276 seconds]
tectonic has quit []
mdw has quit [Quit: Sleeping Zzzzz]
futilegames has joined #ruby
northfurr has quit [Quit: northfurr]
decoponio has quit [Quit: Leaving...]
Rodya_ has quit [Remote host closed the connection]
mdw has joined #ruby
Rodya_ has joined #ruby
futilegames has quit [Client Quit]
tectonic has joined #ruby
solocshaw has joined #ruby
<lucasb>
there's no core operation for getting multiple values from an array, using arbitrary indices? I had to use a map and Array#at...
<apeiros>
lucasb: values_at
chimche has joined #ruby
scripore has joined #ruby
<lucasb>
apeiros: cool, I missed that one. thanks.
QpQ4 has joined #ruby
chimche has quit [Client Quit]
markfletcher has quit [Quit: markfletcher]
atomical_ has joined #ruby
crdpink2 has joined #ruby
Synthbread has joined #ruby
crdpink has quit [Ping timeout: 240 seconds]
<Synthbread>
if I type "gem environment", I see a bunch of settings that I can only assume come from environment varaibles. What are the variables for these settings? Are they documented anywhere?
smactive has joined #ruby
unreal_ has quit [Ping timeout: 260 seconds]
<adaedra>
they don't really come from environment variables
<adaedra>
"Shell path" does, yes (it's $PATH) and other can be overriden
<Synthbread>
adaedra, if I wanted to change what "ruby environment" is calling "EXECUTABLE DIRECTORY", what would I do?
atomical has quit [Ping timeout: 260 seconds]
<Synthbread>
adaedra, at the moment, it's putting it into "$HOME/bin", and I don't like having this directory around. I would rather have it in "$HOME/.gem/... etc"
chimche has joined #ruby
unreal has joined #ruby
<adaedra>
Can you show the whole `gem env` output?
pdoherty has quit [Ping timeout: 260 seconds]
<lucasb>
Synthbread: did you ./configure --prefix="$HOME" yourself when installing ruby?
hannelita has joined #ruby
yfeldblum has joined #ruby
<Synthbread>
lucasb, no
dionysus69 has quit [Ping timeout: 260 seconds]
<Synthbread>
adaedra, lucasb: this is on cygwin, but ruby is otherwise the same. http://pastie.org/10682335
Dimik has quit [Ping timeout: 272 seconds]
<adaedra>
How did you install your ruby? Do you use a version manager?
<lucasb>
Hash has both values_at and fetch_values (which raises an exception on missing keys). I wonder why Array only has values_at.
solocshaw has joined #ruby
<adaedra>
What happens if you do `GEM_HOME=/foo gem env`, Synthbread?
ohaibbq has joined #ruby
atomical has joined #ruby
hannelita has quit [Ping timeout: 264 seconds]
einarj has joined #ruby
<lucasb>
There is Array#fetch that raises an exception on an out-of-bounds index, that's why I thought a method that accepted multiples indices (but raised an exception) could be useful too.
<Synthbread>
adaedra, on a linux system, its "gem env" lists a "USER INSTALLATION DIRECTORY" setting where my cygwin installation doesn't. Is there a variable for this, too?
<adaedra>
Also, don't forget to add your new bin to your $PATH.
<adaedra>
GEM_ROOT, it seems. (Not 100% sure.)
codelurker has joined #ruby
futilegames has joined #ruby
CloCkWeRX has joined #ruby
einarj has quit [Ping timeout: 265 seconds]
choke has quit [Read error: Connection reset by peer]
ur5us has quit [Remote host closed the connection]
Vertroa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roshanavand has quit [Remote host closed the connection]
ur5us has joined #ruby
Vertroa has joined #ruby
last_staff has joined #ruby
hxegon has joined #ruby
elaptics is now known as elaptics`away
QpQ4 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruby-lang920 has joined #ruby
colegatron has quit [Ping timeout: 256 seconds]
chipotle has quit [Quit: cheerio]
chipotle has joined #ruby
Vertroa has quit [Ping timeout: 265 seconds]
kalopsian has quit [Ping timeout: 250 seconds]
DoubleMalt has quit [Remote host closed the connection]
choke has joined #ruby
JakFrist has joined #ruby
<adaedra>
g'night
mdw has quit [Quit: Sleeping Zzzzz]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
ruby-lang920 has quit [Ping timeout: 252 seconds]
kies^ has quit [Ping timeout: 264 seconds]
kies has quit [Ping timeout: 276 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_djbkd has joined #ruby
antgel has quit [Ping timeout: 245 seconds]
hxegon has quit [Ping timeout: 240 seconds]
codelurker has quit [Quit: Leaving]
Makorak has joined #ruby
Spleeze has quit [Ping timeout: 256 seconds]
ropeney has joined #ruby
chimche has quit [Quit: Leaving.]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #ruby
Makorak_ has joined #ruby
futilegames has quit [Quit: futilegames]
atomical_ has joined #ruby
Spleeze has joined #ruby
yardenbar has quit [Ping timeout: 250 seconds]
paradisaeidae has joined #ruby
lucasb has quit [Quit: leaving]
chussenot has joined #ruby
millerti has joined #ruby
Makorak has quit [Ping timeout: 272 seconds]
kies^ has joined #ruby
Vertroa has joined #ruby
atomical has quit [Ping timeout: 276 seconds]
hxegon has joined #ruby
Makorak_ has quit [Ping timeout: 276 seconds]
colegatron has joined #ruby
tectonic has quit []
tectonic has joined #ruby
kenbi has joined #ruby
kenbi has quit [Remote host closed the connection]
d0nn1e has quit [Ping timeout: 240 seconds]
Thomas-0725 has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
Thomas-0725 has quit [Client Quit]
Waheedi has quit [Quit: Waheedi]
d0nn1e has joined #ruby
armyriad has quit [Ping timeout: 276 seconds]
hxegon has quit [Ping timeout: 260 seconds]
shadoi has joined #ruby
psyq has quit [Quit: Conversation terminated]
stannard has quit [Remote host closed the connection]
sandstrom has quit [Quit: My computer has gone to sleep.]
Vertroa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cheerio]
Habib has quit [Quit: Habib]
kalopsian has joined #ruby
symbol_ has joined #ruby
axsuul has joined #ruby
pdoherty has joined #ruby
sandstrom has joined #ruby
codecop has quit [Remote host closed the connection]
kies has joined #ruby
stannard has joined #ruby
Sucks has quit [Quit: No Ping reply in 180 seconds.]
fourq|away is now known as fourq
nerfando has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benhuda has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rkazak has joined #ruby
Sucks has joined #ruby
psyq has joined #ruby
stannard has quit [Ping timeout: 260 seconds]
exadeci has joined #ruby
psyq has quit [Quit: Conversation terminated]
chussenot has quit [Quit: chussenot]
duckpupp1 has joined #ruby
pskosinski_ is now known as pskosinski
psyq has joined #ruby
vikaton has joined #ruby
FernandoBasso has quit [Quit: Leaving]
kalopsian has quit [Ping timeout: 245 seconds]
markfletcher has joined #ruby
zenlot has quit [Ping timeout: 276 seconds]
zenlot has joined #ruby
duckpupp1 has quit [Ping timeout: 245 seconds]
janebootydoe has joined #ruby
hannelita has joined #ruby
KineticX has quit [Remote host closed the connection]
Vertroa has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
<janebootydoe>
how does one use itunes_prefix or itunes_uri when parsing rss?