<pontiki>
it was this phrase: "since the data changes all time?" that i found questionable
<gregf>
pontiki: I still don't want to have to manually edit each cassette to get rid of the cookie, so i'm curious how I could filter that out
<gregf>
pontiki: its easy with the access token I just tell it to replace the var with some fake data, but with a cookie I don't know what its going to be before hand
<sevenseacat>
seems to be skipping the point of VCR
<gregf>
sevenseacat: what should I use instead then if I don't want the cookie data saved
<gregf>
i mostly just care about replaying the response
Nogbit has quit [Ping timeout: 265 seconds]
Hijiri has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
takle has quit [Remote host closed the connection]
pdtpatrick has quit [Quit: pdtpatrick]
txdv_ has joined #ruby
txdv has quit [Ping timeout: 272 seconds]
Dude007 has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
davasaurous has quit [Remote host closed the connection]
greenride has joined #ruby
BTRE has quit [Ping timeout: 245 seconds]
proteusvacuum has joined #ruby
zacts has quit [Quit: leaving]
havenwood has joined #ruby
boombadaroomba has joined #ruby
_ixti_ has quit [Ping timeout: 240 seconds]
jonr22 has joined #ruby
martin_work has joined #ruby
majjoha has joined #ruby
jimbach has joined #ruby
hamakn has joined #ruby
boombadaroomba has quit [Ping timeout: 264 seconds]
dkb20k has joined #ruby
jdj_dk has quit [Read error: Connection reset by peer]
jdj_dk has joined #ruby
jenrzzz has joined #ruby
majjoha has quit [Ping timeout: 240 seconds]
BTRE has joined #ruby
tier has joined #ruby
newmanships has joined #ruby
<greenride>
A rack server takes a Ruby object as input. This Ruby object must operate in some environment. I would like to understand that environment. What is involved in understanding this?
<greenride>
For example, can variables be inside this environment?
<greenride>
jhass: Yes. That page. I read. The first sentence states:
<greenride>
A Rack application is a Ruby object (not a class) that responds to call. It takes exactly one argument, the environment and returns an Array of exactly three values: The status, the headers, and the body.
<greenride>
I understand the ruby object, call method, env argument, and return value.
<greenride>
What I don't understand is exactly what is passed to Webbrick?
<greenride>
Just the Ruby object (called the Rack application)?
<jhass>
webrick itself doesn't understand rack
moritzs has quit [Remote host closed the connection]
<jhass>
if you have a rails application at hand, run rake middlewares to get its current middleware stack
josephndenton has quit [Ping timeout: 244 seconds]
adriancb has quit [Remote host closed the connection]
<greenride>
jhass: Based on what you're telling me, it should be easy to create a Rack application that mounts one Rails app at /v1 and another Rails app at /v2. Right?
havenwood has quit [Remote host closed the connection]
adriancb has joined #ruby
<jhass>
right
<jhass>
Rails router allows to do that in two lines
bri has joined #ruby
<jhass>
I think I saw a gem somewhere that does it standalone
<jhass>
really? I need to ask you what the problem is?
Kricir has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
govg has joined #ruby
jdj_dk has joined #ruby
<greenride>
jhass: This question is a bit removed from the initial problem. But, here is the initial. I have v1 of codebase and v2 of codebase. I also have a migration script from v1 to v2. However, I want the site to redirect users to v1 or v2 based on a database flag as opposed to routing at the system level. So, I want everything in one process.
DrCode has joined #ruby
<greenride>
Does that make sense?
<jhass>
I guess this is more a #RubyOnRails question of running two rails apps in the same process
<jhass>
turning at least one of them into a Rails engine would probably make it easier
ARCADIVS has joined #ruby
<greenride>
I tried that, but Devise pollutes the global namespace making it hard for both the engine and the app to use the devise gem.
optiz0r has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
iwishiwerearobot has joined #ruby
IrishGringo has joined #ruby
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
<jhass>
I'd probably merge it into one Rails app with namespacing (app/{controllers,models,views}/{v1,v2}) and the common parts like authentication in the top level namespace
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
optiz0r has joined #ruby
<jhass>
this really is a #RubyOnRails topic though
<greenride>
I agree
<greenride>
At the Rack level, I was wondering why Rails wasn't behaving as an isolated Rails application.
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
<greenride>
So, I was wondering what else was fed to the Rack server other than the app object.
takle has joined #ruby
iwishiwerearobot has quit [Ping timeout: 260 seconds]
<greenride>
jhass: Thanks for your input.
<jhass>
I really don't think your issue is at the Rack level, it's global state like Bundler, Devise and the Rails constant
pdtpatrick has joined #ruby
<greenride>
That's what I want to know about.
<greenride>
Does Bundler, Devise, and Rails Framework set global state?
<jhass>
Bundler sets $LOAD_PATH
<Nilium>
Might want to ask in the rails room re: Rails specifically.
<jhass>
Devise you said something about global state
mark06 has joined #ruby
<jhass>
Rails.env is global state for example
<greenride>
That was for the Rails Engine approach.
takle has quit [Ping timeout: 250 seconds]
<greenride>
I thought Rack apps were isolated.
<jhass>
anyway, really, ask in #RubyOnRails please
<greenride>
Sorry
<greenride>
Thanks
Xeago_ has quit [Remote host closed the connection]
krz has joined #ruby
<Nilium>
Generally speaking, though, anything with state probably has global state.
<Nilium>
Meaning it's going to have to set it at some point in order to read it later (even if it's just caching stuff)
eka has joined #ruby
<jhass>
Which if properly namespaced is not an issue
<jhass>
we should've been talking about conflicting global state here
<Nilium>
Sounds unlikely
<greenride>
And, the rack standard doesn't enforce namespacing of a Rack apps environment, right?
<Nilium>
Conflicting global state, that is. Kind of sounds unlikely.
<jhass>
greenride: tell me how you namespace $LOAD_PATH
<greenride>
I didn't…
<greenride>
I think that's my problem.
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
davasaurous has joined #ruby
arup_r has joined #ruby
Scotteh has quit [Read error: Connection reset by peer]
<Nilium>
I do not appreciate my head feeling like it's going to explode
<Nilium>
It needs to stop this at once and submit to my will
<Nilium>
Preferably by not hurting
patric100e99 has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
Kricir has joined #ruby
davasaurous has quit [Ping timeout: 264 seconds]
aspiers has quit [Read error: No route to host]
patric100e99 has quit [Ping timeout: 260 seconds]
tyll_ has joined #ruby
rshetty has quit [Ping timeout: 244 seconds]
zorak8 has joined #ruby
tier has quit [Remote host closed the connection]
martin_work has joined #ruby
majjoha has joined #ruby
tyll has quit [Ping timeout: 250 seconds]
cleopatra has quit [Remote host closed the connection]
acalewin has quit [Ping timeout: 272 seconds]
Paradox has quit [Ping timeout: 265 seconds]
pdtpatrick has quit [Quit: pdtpatrick]
cleopatra has joined #ruby
freerobby has quit [Quit: Leaving.]
majjoha has quit [Ping timeout: 265 seconds]
wjimenez5271 has joined #ruby
martin_work has quit [Quit: martin_work]
Dramors has joined #ruby
cantonic has quit [Quit: cantonic]
Dramors has left #ruby ["Leaving"]
cantonic has joined #ruby
cantonic has quit [Client Quit]
zorak8 has quit [Read error: Connection reset by peer]
Lewix has joined #ruby
rshetty has joined #ruby
wjimenez_ has joined #ruby
Lewix has quit [Read error: Connection reset by peer]
davasaur_ has quit [Remote host closed the connection]
davasaurous has joined #ruby
majjoha has joined #ruby
jdj_dk has joined #ruby
x1337807x has quit [Ping timeout: 240 seconds]
hatzopoulos has joined #ruby
jottr_ has joined #ruby
braincrash has joined #ruby
majjoha has quit [Ping timeout: 256 seconds]
rshetty has joined #ruby
leathershibe has quit [Quit: leaving]
lkba has quit [Ping timeout: 255 seconds]
rshetty has quit [Read error: Connection reset by peer]
jottr_ has quit [Ping timeout: 258 seconds]
rshetty has joined #ruby
exgf has joined #ruby
leathershibe has joined #ruby
St_Marx has joined #ruby
KC9YDN has quit [Ping timeout: 240 seconds]
lkba has joined #ruby
nkumari has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
arup_r has quit [Quit: Leaving.]
nkumari has joined #ruby
x1337807x has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
KC9YDN has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
mtakkman has joined #ruby
x1337807_ has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
danjordan has quit [Ping timeout: 255 seconds]
spyderman4g63 has quit [Remote host closed the connection]
arup_r has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
proteusvacuum has quit [Ping timeout: 264 seconds]
x1337807x has quit [Ping timeout: 245 seconds]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
arescorpio has quit [Excess Flood]
spyderman4g63 has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
spyderman4g63 has joined #ruby
Snarkz has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
arup_r has quit [Client Quit]
spyderman4g63 has quit [Remote host closed the connection]
mikepack has joined #ruby
dTSCode has joined #ruby
alol__ is now known as alol
adriancb has quit [Remote host closed the connection]
livingstn has quit []
krz has quit [Ping timeout: 244 seconds]
Kricir has joined #ruby
n008f4g_ has quit [Ping timeout: 256 seconds]
fandi_ has quit [Remote host closed the connection]
mikepack has quit [Ping timeout: 245 seconds]
cleopatra has joined #ruby
djbkd_ has quit [Quit: Leaving...]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kricir has quit [Ping timeout: 250 seconds]
davasaurous has quit [Remote host closed the connection]
x1337807_ has quit [Ping timeout: 258 seconds]
hightower4 has quit [Ping timeout: 272 seconds]
o0oo0o has joined #ruby
oo_ has quit [Remote host closed the connection]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
oo_ has joined #ruby
kyb3r_ has joined #ruby
davasaurous has joined #ruby
oo_ has quit [Remote host closed the connection]
bluOxigen has joined #ruby
michaeldeol has joined #ruby
x1337807x has quit [Ping timeout: 255 seconds]
abuzze has joined #ruby
banister has joined #ruby
abuzze_ has joined #ruby
abuzze has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
parabolize has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
abuzze has joined #ruby
dseitz has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
abuzze_ has quit [Ping timeout: 255 seconds]
mas0n1c has joined #ruby
x1337807x has joined #ruby
greenride has joined #ruby
BTRE has quit [Remote host closed the connection]
BTRE has joined #ruby
greenride has quit [Client Quit]
x1337807x has quit [Read error: Connection reset by peer]
x1337807x has joined #ruby
melik has joined #ruby
majjoha has joined #ruby
<shevy>
guys
<shevy>
I love you all
danguita has joined #ruby
x1337807x has quit [Ping timeout: 255 seconds]
zacts has joined #ruby
josephndenton has joined #ruby
skolman has joined #ruby
hightower4 has joined #ruby
ndrei has joined #ruby
sargas has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #ruby
anarang has joined #ruby
iamjarvo has quit [Ping timeout: 250 seconds]
sumark has quit [Remote host closed the connection]
sumark has joined #ruby
jdj_dk has quit [Ping timeout: 250 seconds]
JokesOnYou77 has joined #ruby
adriancb has joined #ruby
<mas0n1c>
your not getting half our hard drive
yfeldblu_ has quit [Remote host closed the connection]
nahtnam has joined #ruby
<nahtnam>
Hey! If I want to include a ruby gem in a .rb file, all I have to do is `require 'gem_name'` right?
adriancb has quit [Ping timeout: 265 seconds]
mistermocha has quit [Remote host closed the connection]
<JokesOnYou77>
Nahtnam: yes
<JokesOnYou77>
You also need to have that gem installed/in you gem file if thats what you're doing, but yeah, that should do it
melik has quit [Read error: Connection reset by peer]
melik has joined #ruby
jenrzzz has joined #ruby
<nahtnam>
JokesOnYou77: Ok. I created a new gem, and pushed it to rubygems.org. I then installed the gem. I created a test.rb file to see if it works and for some reason, I get a weird error: https://gist.github.com/nahtnam/9cb2488add4e466a5115
Snarkz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
takle has joined #ruby
nkumari has quit [Remote host closed the connection]
cerberblue has joined #ruby
<sevenseacat>
the file you defined in your gem is called 'straight'
<sevenseacat>
not 'straight-ruby'
wjimenez_ has quit [Remote host closed the connection]
<nahtnam>
sevenseacat: So in order for it to work I have to rename it?
<sevenseacat>
or you can just require the right file
<nahtnam>
sevenseacat: I cant call it straight because that conflicts with another gem
<nahtnam>
Anyways, ill rename it
<nahtnam>
thanks
<sevenseacat>
you have two options - rename the file or include the right file
<sevenseacat>
neither is particularly difficult
<nahtnam>
Kk
davasaurous has quit [Remote host closed the connection]
spyderman4g63 has quit [Ping timeout: 244 seconds]
iwishiwerearobot has joined #ruby
nuhbye_ has joined #ruby
rshetty_ has joined #ruby
vieq has joined #ruby
nuhbye_ has left #ruby ["Leaving..."]
sinequanon has joined #ruby
krz has joined #ruby
rshetty has quit [Ping timeout: 260 seconds]
iwishiwerearobot has quit [Ping timeout: 260 seconds]
josephndenton has quit [Ping timeout: 250 seconds]
nahtnam has quit [Quit: Page closed]
keen___________0 has joined #ruby
dkb20k has quit [Ping timeout: 240 seconds]
keen____________ has quit [Ping timeout: 245 seconds]
dTSCode has joined #ruby
mikepack has joined #ruby
ptrrr has joined #ruby
poweratom__ has joined #ruby
Photism has quit [Quit: Leaving]
nuhbye has joined #ruby
nuhbye has left #ruby [#ruby]
maletor has quit [Quit: Computer has gone to sleep.]
mikepack has quit [Ping timeout: 260 seconds]
henesy has joined #ruby
dkb20k has joined #ruby
poweratom_ has quit [Ping timeout: 272 seconds]
ChoiKyuSang has quit [Quit: Going offline, see ya! ( www.adiirc.com]
hatzopoulos has quit [Quit: Leaving]
ChoiKyuSang has joined #ruby
sinequanon has quit [Remote host closed the connection]
fandi has joined #ruby
Spami has joined #ruby
nkumari has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
sarkis has quit [Ping timeout: 240 seconds]
nkumari has quit [Ping timeout: 245 seconds]
neoxquick has quit [Read error: Connection reset by peer]
AliRezaTaleghani has joined #ruby
<AliRezaTaleghani>
can I load a file it has been changes since last time I had loaded it?
terlar has joined #ruby
renderful has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
jgrevich_ has joined #ruby
jgrevich has quit [Ping timeout: 244 seconds]
jgrevich_ is now known as jgrevich
tagrudev has joined #ruby
leathershibe has joined #ruby
renderful has quit [Ping timeout: 245 seconds]
Ulrike_Rayne is now known as Sylveon
Sylveon is now known as Ulrikr_Rayne
<shevy>
AliRezaTaleghani with load() yeah
Ulrikr_Rayne is now known as Ulrike_Rayne
<shevy>
unmides is spam-botting
KostyaChoporov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bMalum has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dkb20k_ has joined #ruby
dopie has joined #ruby
dopie has quit [Client Quit]
jdj_dk has quit [Ping timeout: 264 seconds]
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<AliRezaTaleghani>
shevy: I know about load, and implemented a loop which will store current external files md5sum in a hash, and reload the file on next loop if it's md5 has been changed! but I'm looking for a better way to not to handle this by my own :-/ if there is any...
dkb20k has quit [Ping timeout: 250 seconds]
psy_ has joined #ruby
patric100e99 has joined #ruby
eren has joined #ruby
xanderwebs has quit [Quit: Connection closed for inactivity]
<eren>
I have a background in Python and Scheme (Racket) and I'm looking at some Ruby code. I've learned that ruby blocks are like anonymous functions (lambda) and they can be passed to other methods
<eren>
what's the different use cases of blocks?
sarkis has joined #ruby
apeiros has quit [Remote host closed the connection]
<eren>
the interesting one I came across was: somevariable = if foo do .... end elsif .....
apeiros has joined #ruby
<eren>
since blocks always return a value, it's possible to use it to pass value to variable
dkb20k_ has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
<epitron>
AliRezaTaleghani: maybe rails' reloader is reusable?
poweratom___ has joined #ruby
dkb20k has joined #ruby
oo_ has joined #ruby
patric100e99 has quit [Ping timeout: 265 seconds]
x1337807x has joined #ruby
wjimenez5271 has joined #ruby
thomas has joined #ruby
<thomas>
hi
<eren>
hi thomas
sarkis has quit [Ping timeout: 264 seconds]
<thomas>
hello :)
poweratom__ has quit [Ping timeout: 265 seconds]
apeiros has quit [Ping timeout: 250 seconds]
<eren>
thomas: is it intelligent enough to check the cloak of staffers? :)
jenrzzz has joined #ruby
<thomas>
perhaps
<eren>
he just spammed me the moment I joined this channel
<eren>
oh no, the moment I wrote my first message
hanmac1 has joined #ruby
ptrrr has quit [Quit: ptrrr]
corehook has quit [Remote host closed the connection]
unmides has quit [K-Lined]
tobago has joined #ruby
<eren>
thomas: thanks
corehook has joined #ruby
kamilc__ has joined #ruby
bal has joined #ruby
corehook has quit [Remote host closed the connection]
corehook has joined #ruby
Snowstormer has quit [Ping timeout: 265 seconds]
corehook has quit [Remote host closed the connection]
timonv^ has joined #ruby
poweratom____ has joined #ruby
<shevy>
AliRezaTaleghani I think your only way is to use load() really
<shevy>
or eval()
<shevy>
hahaha
CustosLimen has joined #ruby
dkb20k_ has joined #ruby
<shevy>
eren blocks are like an additional argument to all methods in ruby
poweratom___ has quit [Ping timeout: 260 seconds]
zacts has quit [Ping timeout: 245 seconds]
proteusvacuum has joined #ruby
timonv_ has quit [Ping timeout: 255 seconds]
<shevy>
and they are optional
<shevy>
lambda is different
zacts has joined #ruby
poweratom_____ has joined #ruby
<shevy>
x = lambda {|arg| p arg } <-- here you MUST provide the argument or else it will error by default
wjimenez5271 has quit [Remote host closed the connection]
<shevy>
x[] # ArgumentError: wrong number of arguments (0 for 1)
<godd2>
If you want to sound fancy shevy, that's called "arity checking"
jgrevich has quit [Quit: jgrevich]
gauke has joined #ruby
JokesOnYou77 has quit [Quit: Ex-Chat]
<leathershibe>
so whats the next big thing after ruby? where have all the biggest ruby/rails contributors moved to now? nodejs?
<sevenseacat>
leathershibe: to rails.
<zenspider>
that's a loaded question full of biases, isn't it?
<leathershibe>
no?
<shevy>
leathershibe dunno, I could not tell you who contributes to rails; in regards to ruby, I think most core/stdlib contributors are japanese and they use fancy characters to communicate with one another
<godd2>
leathershibe you could check out opal. that might take off
<shevy>
I don't really think there are many "big backers" of ruby altogether really
<zenspider>
big backers?
andrewlio has joined #ruby
<godd2>
but if you're in the stock market of programming language popularity, then perhaps node.js, maybe some clojure, or some of those other mvw things for javascript like angular and ember and whatever
<leathershibe>
I guess my question was more aimed at the eco system of ruby/rails in general. I see quite a few gems going stale, although new ones pop up too. But big names like rbates and such have been leaving too, at least I think
<zenspider>
so like salesforce/heroku? rackspace? at&t?
<leathershibe>
and rails popularity seems to be on a downards trend so figured I'd just ask here
<leathershibe>
not trying to troll/start a flamewar :P
<sevenseacat>
seems based on what?
<zenspider>
popularity...
<sevenseacat>
thats a really vague term
terlar has quit [Quit: WeeChat 1.0.1]
karunamon has quit [Ping timeout: 264 seconds]
<shevy>
leathershibe see the thing is - there is rails and then there is outside rails
<godd2>
leathershibe if you are C-savvy you could help make Ruby thread-safe
<shevy>
leathershibe and gems become inactive all the time, people quite or work less with ruby so the old ones remain, but new folks come as well
<leathershibe>
godd2: I don't think threading is the best way to do concurrency though
<leathershibe>
that's true
jottr_ has quit [Ping timeout: 245 seconds]
aganov has joined #ruby
<shevy>
*quit, not quite... somehow I need to wake up properly...
karunamon has joined #ruby
timonv_ has joined #ruby
ghormoon has joined #ruby
<shevy>
time for a fish duel!
* shevy
slaps leathershibe with a large trout
<godd2>
leathershibe you could code a fish_duel_bot so that shevy doesn't have to type out what kind of fish he is attacking with every time
<leathershibe>
haha
<shevy>
leathershibe you have been using another language ?
timonv_ has quit [Remote host closed the connection]
fabrice31 has joined #ruby
<leathershibe>
I've toyed with Go for concurrency, I really wanna do more backend stuff with it cause it's fast and concurrency is easy. But all our stuff is in Ruby and it'd be too much work :p
<shevy>
yay!
<leathershibe>
I've noticed a lot of the web crowd has moved to nodejs/client side js frameworks
<shevy>
ruby has entered the COBOL era ^^^
<shevy>
well
<sevenseacat>
lol
<shevy>
javascript is everywhere
<leathershibe>
haha, I interviewed someone with cobol on their resume the other day actually...
<shevy>
HOW OLD WAS HE
<sevenseacat>
I'm guessing 'a lot of the web crowd' translates to 'the people i follow on twitter'
<leathershibe>
around 30, which was quite shocking
<shevy>
poor guy
<godd2>
Grace "Matz" Hopper will be a name known by many
elcheckito has quit [Quit: WeeChat 1.0.1]
<leathershibe>
haha :p
<shevy>
who is grace chopper
<godd2>
She invented COBOL
<shevy>
ah now I remember the name
<shevy>
some military person right?
<godd2>
Navy, yes
jusmyth has joined #ruby
<sevenseacat>
rear admiral grace hopper iirc
<godd2>
She has her own wikipedia page if you want to know more
jusmyth has left #ruby [#ruby]
<shevy>
I think I saw the name there once, when I look at COBOL syntax
<shevy>
and mixed it up with forth
bogeyd6 has quit [Read error: Connection reset by peer]
<leathershibe>
sevenseacat: more like google trends, job posts by startups/HN who's hiring...I don't use twitter much. also quality/activity of the eco systems of the langs/frameworks
<shevy>
there was a diehard fan of forth on #gobolinux years ago - I have never seen anyone super enthusiastic over COBOL though
<sevenseacat>
yeah there's your problem... job posts by startups and HN
<sevenseacat>
they switch the new cool thing every five seconds
<sevenseacat>
while the rest of us keep using what works
<shevy>
that is a COBOL using cat
<godd2>
shevy theres a shop in my town which maintains a POS system software for pawn shops that's written in COBOL
bMalum has quit [Quit: bMalum]
timonv^ has joined #ruby
charliesome has joined #ruby
<leathershibe>
sevenseacat: for me they are the jobs with the highest pay/not fucking boring ratio so I tend to follow suit :P
<leathershibe>
but you're not wrong :D
<shortCircuit__>
I fed up my ubuntu yesterday, I said sudo apt-get install ubuntu-dektop-mir, created a folder called libgdm.conf.d and a file saying type=unity. and sudo lightdm restart. and boom, I can't get to the tty nor the GUI
sarkis has joined #ruby
nonks has joined #ruby
bogeyd6 has joined #ruby
<shevy>
haha
<shevy>
welcome to UNITY!
<shortCircuit__>
I uninstalled the mir from recovery , but it was the same. All my downloads are gone!!!
<shevy>
YES
spyderman4g63 has joined #ruby
<leathershibe>
XFree86 is still the best
<shortCircuit__>
I blame that Thomas Vob for this. I saw his interview on Unity next. Its really "out of the box". :'(
<shevy>
well
<shevy>
my co-worker from india actually used unity to great effect
<shortCircuit__>
how
<shevy>
I guess if you are more of a casual user, it might be that unity isn't that awful
<shevy>
I dunno, he was just clicking on things like an idiot
<shortCircuit__>
:D
<shevy>
rather than use tabs, he simply clicked on gnome-terminal button to spawn new terminals
<shevy>
even the lead lab guy, who is an old man, did not know that gnome-terminal had tabs
elcheckito has joined #ruby
<leathershibe>
I bet they'll remove tabs in the next version of gnome terminal though
<shevy>
he had a funky button though where he could quickly switch between windows and linux
<sevenseacat>
they won't.
<leathershibe>
it's a joke.
<shevy>
IT COULD BECOME REAL
pdtpatrick has quit [Quit: pdtpatrick]
<sevenseacat>
of course, i wouldnt put it past them
<shortCircuit__>
Might be X-Windows user, the way windows has re-defined the UI, They should probably write a book, "How to Click"
<shortCircuit__>
I am thinking OpenSUSE or Elementary OS, what would be a good choice!! A little GUI, without Unity
sarkis has quit [Ping timeout: 245 seconds]
bMalum has joined #ruby
bMalum has quit [Client Quit]
rpag has joined #ruby
bascht has quit [Ping timeout: 255 seconds]
<riceandbeans>
I just use openbox with tint2
spyderman4g63 has quit [Ping timeout: 244 seconds]
<riceandbeans>
no desktop environments for me
<riceandbeans>
that shit is useless
<riceandbeans>
gets in the way
<riceandbeans>
all that wasted CPU and RAM
rshetty_ has quit [Remote host closed the connection]
<zenspider>
hahaha
<shortCircuit__>
But the Pear OS 8 looks so cool
<riceandbeans>
DragonFlyBSD+openbox+tint2, all I need
terlar has joined #ruby
<riceandbeans>
Pear is just a stupid skin on top of Ubuntu
<riceandbeans>
with a bunch of broken french
<shortCircuit__>
:P
Joufflu_ has quit [Quit: Leaving]
JohnBat26 has joined #ruby
<riceandbeans>
I will give you I laughed pretty good the first time I saw it
<riceandbeans>
make something that looks damn near identical to Apple and call it Pear
<riceandbeans>
it lost the novelty after about 5 minutes
rshetty has joined #ruby
qba73 has joined #ruby
<shortCircuit__>
Can I install openbox+tint2 on a amd machine. I have a legendary machine. It cam e with windows pre-installed. I wanted to use Fedora 20 before Ubuntu, but I guess it had driver issues at boot up. Whereas it ran smooth on Intel i3
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shortCircuit__>
umm, tell me whats things to downloads and any tutorial to integrate those stuff
<zenspider>
godd2: a single call just to create the proc... doesn't make it any deeper
nfk has joined #ruby
clauswitt has joined #ruby
<riceandbeans>
I don't use a Linux anymore
<shortCircuit__>
MAC?
<riceandbeans>
BSD
<shortCircuit__>
oh
<riceandbeans>
DragonFlyBSD
timonv_ has joined #ruby
<leathershibe>
whats' good about it? I remember them forking to fix smp and not much since
<riceandbeans>
really clean simplified code, really strong community, really good performance, supports almost every single port that FreeBSD has, best (imo) filesystem, would be a few highlight points
<otherj>
why do people always capitalize mac? komisch
<godd2>
zenspider seems like it would, but if I'm wrong, then okay
<riceandbeans>
shortCircuit__: you want me to show you how to set up DragonFlyBSD with openbox?
Xeago has joined #ruby
<shevy>
rpag I can not even read that def
<rpag>
shevy, it appears as '?' ?
<rpag>
or a blackbox?
Xeago_ has joined #ruby
<shevy>
no
<shevy>
λ
<shortCircuit__>
yes, I mean if its possible, I was looking at a video, It looks very pro-ish.. I am not very experienced, but I like screwing up with thinhs.
<godd2>
shevy it was the greek unicode character for lambda
<shevy>
it appears as a I with an accent and a >> next to it
rshetty has joined #ruby
<shevy>
aha
RitterJack has joined #ruby
<shevy>
looks totally not that way here
<shevy>
:>
rshetty has quit [Read error: Connection reset by peer]
<rpag>
its something i picked up from emacs, even if i write 'lambda' in plain text that character is swapped in its place
<zenspider>
hah.
<riceandbeans>
shortCircuit__: the install is pretty straightforward
rshetty has joined #ruby
<zenspider>
rpag: you can turn that off you know
<godd2>
not to imply that Greek unicode is different from normal unicode
<rpag>
zenspider, i like it :))
<shevy>
greek unicode?
<zenspider>
keeps me from lining up my lisp sometimes
<shortCircuit__>
but then the setup for the internet and repositories video and graphics drivers
sar_s has quit [Ping timeout: 260 seconds]
jdj_dk_ has joined #ruby
jdj_dk has quit [Ping timeout: 264 seconds]
<riceandbeans>
shortCircuit__: after install, log in as root, pkg update && pkg install openbox tint2
<riceandbeans>
shortCircuit__: pkg upgrade
<zenspider>
can't you two get a room?
Xeago has quit [Ping timeout: 250 seconds]
<riceandbeans>
actually I forgot/
<riceandbeans>
you'll want xauth and xinit as well as the xserver
tesuji has joined #ruby
majjoha has quit [Ping timeout: 250 seconds]
<rpag>
riceandbeans, #dragonflybsd or priv msg
<riceandbeans>
then log in as your user, ee ~/xinitrc, type in openbox-session, save it, exit, startx. you're done
<shortCircuit__>
:ok
rshetty has quit [Ping timeout: 265 seconds]
leathershibe has quit [Ping timeout: 265 seconds]
<rpag>
that's the most ruby thing i seen you say all day
<shortCircuit__>
:P
<shortCircuit__>
#dragonflybsd is a room with 4 users including me. where's the community!! :)
squar1sm has joined #ruby
<rpag>
well it's a lesser known fork :)
Guest21406 is now known as madhatter
Hobogrammer has quit [Ping timeout: 256 seconds]
rshetty has joined #ruby
rdark has joined #ruby
madhatter is now known as Guest77369
<shortCircuit__>
I guess, I am trying to do something terrible today when I get home. But who cares, I have nothing to loose
<shortCircuit__>
except sleep
anarang has quit [Ping timeout: 250 seconds]
corehook has joined #ruby
apeiros has joined #ruby
qba73 has quit []
leathershibe has joined #ruby
otherj has quit [Quit: .]
KostyaChoporov has quit [Ping timeout: 256 seconds]
noop has joined #ruby
<zenspider>
and proper grammar
<sevenseacat>
lol
Wolland has quit []
<zenspider>
yawn havoc and let loose the dogs of sleep
<shortCircuit__>
grammar is my :weakest => link.
<shortCircuit__>
sevenseacat , I have seen you somewhere.
<sevenseacat>
<_<
Bakambu has joined #ruby
<Bakambu>
Hi, What is a good server side language these days for maintaining a database and sending secure messages to it?
clauswitt has joined #ruby
danjordan has joined #ruby
timonv_ has quit [Ping timeout: 255 seconds]
sk87 has joined #ruby
clauswitt has quit [Max SendQ exceeded]
<rpag>
Bakambu, I think the encrypted part depends on the database
<riceandbeans>
it's been a while since I had to install
<riceandbeans>
plus I have two kids jumping on me
<shortCircuit__>
:D
squar1sm has quit [Ping timeout: 250 seconds]
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
sk87 has joined #ruby
Sthebig has quit [Ping timeout: 240 seconds]
clauswitt has quit [Max SendQ exceeded]
michael_mbp has joined #ruby
timonv_ has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
agjacome has joined #ruby
clauswitt has joined #ruby
Sthebig has joined #ruby
clauswitt has quit [Max SendQ exceeded]
luriv has joined #ruby
patric100e99 has joined #ruby
clauswitt has joined #ruby
timonv^ has joined #ruby
lolmaus has joined #ruby
majjoha has joined #ruby
chthon has joined #ruby
timonv_ has quit [Ping timeout: 244 seconds]
Sthebig has quit [Ping timeout: 244 seconds]
patric100e99 has quit [Ping timeout: 245 seconds]
<shortCircuit__>
doing sudo dd if dfly-x86*.img of=/dev/sdb should make the usb drive (sdb) bootable !!
<sevenseacat>
what can possibly go wrong
timonv^ has quit [Remote host closed the connection]
josephndenton has joined #ruby
jack_rabbit has quit [Ping timeout: 260 seconds]
ghr has joined #ruby
rbrs has joined #ruby
<pontiki>
hi
<rpag>
hello
takle has joined #ruby
elaptics`away is now known as elaptics
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
Sthebig has joined #ruby
sevenseacat has quit [Quit: Leaving.]
Spami has quit [Quit: This computer has gone to sleep]
josephndenton has quit [Ping timeout: 245 seconds]
alex88 has joined #ruby
takle has quit [Ping timeout: 255 seconds]
timonv_ has joined #ruby
hamakn has quit [Ping timeout: 258 seconds]
sar_s has joined #ruby
Sthebig has quit [Ping timeout: 240 seconds]
clauswit_ has joined #ruby
clauswitt has quit [Ping timeout: 250 seconds]
AFKGeek has quit [Quit: Fades into the shadows]
snovity has joined #ruby
dumdedum has joined #ruby
sar_s has quit [Ping timeout: 256 seconds]
iwishiwerearobot has joined #ruby
RitterJack has quit [Ping timeout: 255 seconds]
<shortCircuit__>
sevenseacat, with me? a LOT.
takle has joined #ruby
roolo has joined #ruby
danguita has quit [Ping timeout: 250 seconds]
otherj has joined #ruby
yfeldblum has quit [Remote host closed the connection]
TPBallbag has joined #ruby
dangerousdave has joined #ruby
<rpag>
;(
takle has quit [Remote host closed the connection]
chishiki has quit [Quit: WeeChat 1.0.1]
chishiki has joined #ruby
<shortCircuit__>
it is sad. I am so frustrated with my life. Its like why always me!!
<rpag>
coding can help
mikepack has joined #ruby
takle has joined #ruby
corehook has quit [Remote host closed the connection]
crazydiamond has joined #ruby
otherj has quit [Quit: .]
timonv_ has quit [Ping timeout: 255 seconds]
thsig has joined #ruby
corehook has joined #ruby
Sthebig has joined #ruby
<shortCircuit__>
:P
ikaros has joined #ruby
anaeem1 has joined #ruby
<rpag>
i'm serious :)
jottr_ has joined #ruby
mikepack has quit [Ping timeout: 265 seconds]
RitterJack has joined #ruby
govg has quit [Quit: leaving]
anaeem1 has quit [Remote host closed the connection]
<shortCircuit__>
I am doing rails and nodejs now. I find these OS related codes too difficult , but at the same time, I have a dream of building an OS that can scale according to the users tastes.
hamakn has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
coderhs has joined #ruby
danguita has joined #ruby
coderhs has quit [Read error: Connection reset by peer]
Sthebig has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
timonv_ has joined #ruby
jottr_ has quit [Ping timeout: 258 seconds]
elcheckito has quit [Ping timeout: 265 seconds]
bigkevmcd has joined #ruby
jenrzzz has joined #ruby
aspiers has joined #ruby
rodfersou has joined #ruby
reinaldob has joined #ruby
zybi1 has quit [Remote host closed the connection]
nonks has quit [Ping timeout: 250 seconds]
Sthebig has joined #ruby
AFKGeek has joined #ruby
shevy has quit [Ping timeout: 245 seconds]
zarubin has quit [Remote host closed the connection]
<rpag>
the world has enough OS's if you ask me :P
<rpag>
i use fedora, and just because i don't have to spend a lifetime configuring it
Joufflu has joined #ruby
marr has joined #ruby
<zenspider>
rpag: are they still going?
Sthebig has quit [Ping timeout: 240 seconds]
<rpag>
fedora? yup, scheduled to release fedora 21 soon
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
<zenspider>
I meant those two going on and on and on and on about OSes
<rpag>
oh
<rpag>
hehe
<rpag>
not as much :)
<dTSCode>
i use manjaro
<dTSCode>
love it
<rpag>
i'm happy to use whatever, as long as i can play with open source languages like ruby
Dude007 has joined #ruby
<zenspider>
OSes have to be the ultimate form of mentarbation
<rpag>
that rules out windows, and not much else
Dude007 has quit [Remote host closed the connection]
<rpag>
zenspider, yes i agree, when i was 15 or 16 i enjoyed experimenting and configuring, but not anymore, not enough time/motivation to bother
hamakn has quit [Read error: Connection reset by peer]
mengu has joined #ruby
hamakn has joined #ruby
sarkis has joined #ruby
spyderman4g63 has joined #ruby
<rpag>
experimenting with new and sometimes unheard of languages is still fun though
nrsk has joined #ruby
<rpag>
i'm playing with crystal, nimrod, & rust atm
<zenspider>
haven't heard of the first two
<rpag>
i like nimrod the most
<zenspider>
I'm finishing up my homework in racket
<rpag>
Bakambu, Postgres supports SSL connections at least, i'd guess MySQL does too, so as long as you find a ruby client that can communicate over SSL, ruby should be fine as a choice :)
jaxxstorm has joined #ruby
jdj_dk_ has quit [Remote host closed the connection]
TPBallbag has quit [Changing host]
TPBallbag has joined #ruby
rbrs has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
ephemerian has joined #ruby
<shortCircuit__>
nom nom
tyll_ is now known as tyll
timonv^ has joined #ruby
corehook has joined #ruby
mikepack has joined #ruby
ephemerian has quit [Client Quit]
St_Marx has quit [Ping timeout: 250 seconds]
timonv_ has quit [Ping timeout: 265 seconds]
Xeago_ has quit [Remote host closed the connection]
tokik has quit [Ping timeout: 244 seconds]
mikepack has quit [Ping timeout: 245 seconds]
banister has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
terlar has quit [Ping timeout: 244 seconds]
tkuchiki has quit [Remote host closed the connection]
majjoha has joined #ruby
squar1sm has joined #ruby
jottr_ has joined #ruby
tkuchiki has joined #ruby
wigirc has joined #ruby
Dude007 has joined #ruby
squar1sm has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Ping timeout: 255 seconds]
klaut has quit [Remote host closed the connection]
terlar has joined #ruby
Dreamer3 has joined #ruby
mtakkman has joined #ruby
siwica1 has joined #ruby
siwica has quit [Ping timeout: 255 seconds]
yfeldblum has joined #ruby
takle has quit [Read error: Connection reset by peer]
Takle_ has joined #ruby
Xeago has joined #ruby
Takle_ has quit [Remote host closed the connection]
timonv^ has quit [Ping timeout: 264 seconds]
ldnunes has joined #ruby
timonv_ has joined #ruby
kirun has joined #ruby
mengu has joined #ruby
weemsledeux has joined #ruby
rshetty_ has joined #ruby
majjoha has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 258 seconds]
Xeago_ has joined #ruby
kedare has joined #ruby
weemsledeux has quit [Client Quit]
bMalum has joined #ruby
josephndenton has joined #ruby
rshetty has quit [Ping timeout: 272 seconds]
timonv_ has quit [Read error: Connection reset by peer]
Xeago_ has quit [Remote host closed the connection]
bMalum has quit [Client Quit]
Xeago has quit [Ping timeout: 258 seconds]
DarkCthulhu has joined #ruby
DarkCthulhu is now known as Guest98966
weemsledeux has joined #ruby
weemsledeux has joined #ruby
sk87 has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
josephndenton has quit [Ping timeout: 255 seconds]
TPBallbag has quit [Remote host closed the connection]
TPBallbag has joined #ruby
timonv_ has joined #ruby
takle has joined #ruby
TPBallbag is now known as Guest93060
Guest98966 has quit [Ping timeout: 240 seconds]
jds has joined #ruby
timonv_ has quit [Client Quit]
Fire-Dragon-DoL has joined #ruby
fsapo has joined #ruby
jleishman has joined #ruby
timonv_ has joined #ruby
Timgauthier has joined #ruby
red_horned_rihno has joined #ruby
majjoha has joined #ruby
takle has quit [Read error: Connection reset by peer]
Takle_ has joined #ruby
Snowstormer has joined #ruby
Snowstormer is now known as Guest14428
codearms has joined #ruby
Guest93060 is now known as TPBallbag
TPBallbag has quit [Changing host]
TPBallbag has joined #ruby
clauswit_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nonks has quit [Ping timeout: 250 seconds]
fabrice31 has quit [Remote host closed the connection]
Guest14428 has quit [Changing host]
Guest14428 has joined #ruby
sevenseacat has joined #ruby
ndrei has quit [Ping timeout: 258 seconds]
Guest14428 is now known as Snowstormer
oo_ has quit [Remote host closed the connection]
codearms has left #ruby [#ruby]
red_horned_rihno has quit [Ping timeout: 265 seconds]
fsapo has quit [Remote host closed the connection]
TPBallbag has joined #ruby
clauswitt has joined #ruby
ndrei has quit [Ping timeout: 260 seconds]
ndrei has joined #ruby
red_horned_rihno has quit [Quit: Leaving]
clauswitt has quit [Client Quit]
red_horned_rihno has joined #ruby
mikepack has joined #ruby
fandi has quit [Remote host closed the connection]
fabrice31 has joined #ruby
<godd2>
oh wow, pry gives tab completion. who knew
o0oo0o has quit [Remote host closed the connection]
o0oo0o has joined #ruby
Morkel_ has joined #ruby
Morkel has quit [Ping timeout: 256 seconds]
Morkel_ is now known as Morkel
mikepack has quit [Ping timeout: 255 seconds]
red_horned_rihno has quit [Read error: Connection reset by peer]
nrsk has joined #ruby
red_horned_rihno has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rshetty_ has quit [Ping timeout: 244 seconds]
red_horned_rihno has quit [Read error: Connection reset by peer]
sarkis has joined #ruby
twistedpixels is now known as zz_twistedpixels
ndrei has quit [Ping timeout: 258 seconds]
dangerousdave has joined #ruby
spyderman4g63 has joined #ruby
<workmad3>
godd2: many, many people? :P
<shortCircuit__>
yeeeaa!! I have downloaded 5 OS'es till now.
ndrei has joined #ruby
<godd2>
workmad3 okay well now it's many, many people + 1
<workmad3>
godd2: :D
luksaur has joined #ruby
AndChat| has joined #ruby
sarkis has quit [Ping timeout: 264 seconds]
jleishman has quit [Quit: Be back later ...]
spyderman4g63 has quit [Ping timeout: 264 seconds]
robustus is now known as robustus|Off
lkba has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
rpag has quit [Ping timeout: 245 seconds]
banister has joined #ruby
clauswitt has joined #ruby
Takle_ has quit [Remote host closed the connection]
jusmyth has joined #ruby
jusmyth has left #ruby [#ruby]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robustus|Off is now known as robustus
yfeldblum has quit [Ping timeout: 264 seconds]
rshetty has joined #ruby
<leathershibe>
we should make a bot that posts useful stuff like this to twitter, like pry having tab completetion, I'm sure there are others who do not know
<leathershibe>
The world must know!
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drawingthesun has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<shevy>
the scariest task alive on a linux system I fiddled with
jleishman has joined #ruby
olivier_bK has joined #ruby
bMalum has joined #ruby
TinkerTyper has joined #ruby
txdv_ has quit [Ping timeout: 272 seconds]
wigirc has quit [Remote host closed the connection]
nagaraj has joined #ruby
janmuffino has joined #ruby
larissa has joined #ruby
txdv has joined #ruby
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nagaraj>
hi
nonks has joined #ruby
hiall has joined #ruby
chthon has quit [Ping timeout: 244 seconds]
phutchins has joined #ruby
Dude007 has quit [Read error: Connection reset by peer]
Dude007 has joined #ruby
AFKGeek has quit [Quit: Fades into the shadows]
<hanmac1>
shevy happens once before that after i did reboot, i grub didnt find my partitions again ... (currently it does have problems with Raid + LVM) ... or somehow my network is buggy, that it does work, but after i reboot it doesnt work anymore ...
<hanmac1>
so reboot can be dangerous ;P
<hanmac1>
(or somehow the graphic driver does fuck up again)
jottr_ has quit [Ping timeout: 255 seconds]
VanillaGoat_ has joined #ruby
rotcetor_ has joined #ruby
<rotcetor_>
is facter a puppet only thing?
bMalum has quit [Quit: bMalum]
<rotcetor_>
i have a snipet of code that a coworker wrote.. im trying to get it to run stand alone without having to bring puppet into the picture. "facter.add(:function) do..."
anarang has joined #ruby
corehook has quit [Remote host closed the connection]
zacts has quit [Ping timeout: 245 seconds]
kotk has quit [Quit: Leaving...]
nonks has quit [Ping timeout: 250 seconds]
VanillaGoat__ has quit [Ping timeout: 244 seconds]
<shortCircuit__>
Then since I get lost reading my own code, I could write an expression like that and then in the middle of the expression, "wait, what was i reading"
<shevy>
godd2 hehehe
<shevy>
please hanmac1
<shevy>
and why are there two hanmacs
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<godd2>
I still think there should be an anternary operator !? that swaps which expression is executed
squar1sm has joined #ruby
<shevy>
shortCircuit__ that is why I like short code
<godd2>
like this: (2.odd?) !? "two is even, duh" : "2 is odd??"
<shortCircuit__>
hanmac1, yes, like that.
<hanmac1>
shevy i am a programmer, i need irc channels for getting help at my other problems
<jhass>
>> (3.odd? and ((2.even? and '3 is odd and 2 is even') or '3 is odd but 2 is not even')) or ((2.even? and '3 is not odd but 2 is even') or '3 is not odd and 2 is not even')
<shevy>
"Innate started out as I grew increasingly annoyed by the many hacks and add-ons that diluted the original simplicity of Ramaze as we discovered ways to do things better"
<shevy>
sadly it looks as if ramaze died
patric100e99 has quit [Ping timeout: 264 seconds]
takle has joined #ruby
TPBallbag has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TPBallbag is now known as Guest92197
henesy has quit [Ping timeout: 265 seconds]
shortCircuit__ is now known as ItachiHatake
Squarepy has joined #ruby
Squarepy has quit [Max SendQ exceeded]
ItachiHatake is now known as ItachiUchiha
ItachiUchiha is now known as Itachi_Uchiha
dangerousdave has joined #ruby
Guest92197 has quit [Remote host closed the connection]
St_Marx has joined #ruby
St_Marx has quit [Remote host closed the connection]
Abhijit has quit [Quit: Leaving]
bMalum has quit [Quit: bMalum]
paulfm has joined #ruby
bMalum has joined #ruby
atomical has joined #ruby
govg has joined #ruby
<gregf__>
:/ instance_eval does what a class_eval should be doing
jenrzzz has quit [Ping timeout: 255 seconds]
moritzs has joined #ruby
St_Marx has joined #ruby
mib_mib has joined #ruby
dkphenom has joined #ruby
corehook has joined #ruby
moritzs has quit [Remote host closed the connection]
mengu has joined #ruby
oo_ has joined #ruby
<jhass>
why you think so?
aclearman037 has joined #ruby
IrishGringo has quit [Ping timeout: 245 seconds]
corehook has quit [Ping timeout: 258 seconds]
abuzze has quit [Ping timeout: 244 seconds]
jottr_ has quit [Ping timeout: 256 seconds]
takle has quit [Remote host closed the connection]
tokik has joined #ruby
majjoha has quit [Read error: Connection reset by peer]
mathias1 has joined #ruby
mikepack has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<godd2>
gregf__ note that instance_eval, when called on a object, will have a block which executes in the context of that object as an instance of something. So if you call instance_eval on a class, it will execute in the context of the class itself, not the objects instantiated from it.
yfeldblum has joined #ruby
<godd2>
So that leaves class_eval. class_eval, when called on a class, will have a block execute in the context of its children. the converse would be silly, that is, calling class_eval on an object which changes the class that instantiated it.
<godd2>
replace "context of its children" with "context of any object instantiated from it"
TPBallba_ has joined #ruby
mikepack has quit [Ping timeout: 244 seconds]
TPBallba_ is now known as TPBallbag_
Deele has quit [Ping timeout: 260 seconds]
TPBallbag_ has quit [Changing host]
TPBallbag_ has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
robustus|Off is now known as robustus
TPBallbag_ is now known as TPBallbag
tesuji has quit [Ping timeout: 265 seconds]
bMalum has quit [Quit: bMalum]
dangerousdave has joined #ruby
Gadgetoid has quit [Ping timeout: 245 seconds]
sepp2k has joined #ruby
sk87 has joined #ruby
razieliyo has joined #ruby
Deele has joined #ruby
rshetty has joined #ruby
anarang has quit [Quit: Leaving]
iamjarvo has joined #ruby
KostyaChoporov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xfz has joined #ruby
iamjarvo has quit [Client Quit]
Gadgetoid has joined #ruby
arup_r has quit [Remote host closed the connection]
dc_ has quit [Remote host closed the connection]
nateberkopec has joined #ruby
mengu has quit [Remote host closed the connection]
IrishGringo has joined #ruby
corehook has joined #ruby
xjiujiu has joined #ruby
droidburgundy has joined #ruby
pandaant has quit [Quit: Lost terminal]
pandaant has joined #ruby
tier has joined #ruby
diegoviola has quit [Quit: WeeChat 1.0.1]
livingstn has joined #ruby
tier_ has joined #ruby
rshetty has quit [Remote host closed the connection]
Itachi_Uchiha has quit [Remote host closed the connection]
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
godd2 has quit [Ping timeout: 245 seconds]
nonks has joined #ruby
jdj_dk has quit [Client Quit]
St_Marx has quit [Remote host closed the connection]
St_Marx has joined #ruby
allcentury has joined #ruby
takle has joined #ruby
boombadaroomba has joined #ruby
rshetty has quit [Ping timeout: 250 seconds]
ta has quit [Ping timeout: 272 seconds]
User458764 has joined #ruby
thsig has quit [Remote host closed the connection]
panini has joined #ruby
davedev24_ has joined #ruby
takle has quit [Remote host closed the connection]
pdtpatrick has joined #ruby
sanguisdex has joined #ruby
nonks has quit [Ping timeout: 250 seconds]
hyperdrive is now known as hdrv
hdrv has quit [Changing host]
hdrv has joined #ruby
charliesome has quit [Quit: zzz]
boombadaroomba has quit [Ping timeout: 244 seconds]
ta has joined #ruby
TandyUK has joined #ruby
wald0 has joined #ruby
tesaf has joined #ruby
allcentury has quit [Ping timeout: 255 seconds]
<TandyUK>
im trying to build an rpm on centos 5.11 using fpm.. trying to install fpm using "sudo gem install fpm" i get the error "ffi requies Ruby version >= 1.8.7"
<TandyUK>
how can i use fpm on centos 5.11?
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<TandyUK>
5.11 has ruby 1.8.5
havenwood has joined #ruby
allcentury has joined #ruby
it0a has joined #ruby
jusmyth1 has joined #ruby
AlexRussia has quit [Ping timeout: 250 seconds]
krz has quit [Ping timeout: 250 seconds]
henesy has joined #ruby
takle has joined #ruby
nrsk has joined #ruby
rshetty has joined #ruby
krz has joined #ruby
<apeiros>
TandyUK: search for the release dates of the gem. find one which is ~10y old. install that version explicitly.
<shock_one>
Can I create a block with a number or arguments determined at runtime?
Rx_o has quit [Quit: (null)]
larissa has quit [Quit: Leaving]
dkb20k_ has quit [Remote host closed the connection]
<ericwood>
you can say *args
<ericwood>
well...not sure if you can do that in a block
<shock_one>
I have a line of code like this: define_method("with_#{name}", &implementation). implementation is a block which takes different number of parameters depending for different names. Now I want to define a method that executes implementation, and does something else, particularly returns self. How would I wrap this block?
<shock_one>
*parameters for different names.
takle has quit [Remote host closed the connection]
arclitgold has joined #ruby
maletor has joined #ruby
takle has joined #ruby
shortCircuit__ has joined #ruby
<jhass>
most simple version: define_method("with_#{name") do |*args| implementation.call(*args); self; end
<shortCircuit__>
riceandbeans: you there?
mtakkman has quit [Read error: Connection reset by peer]
<jhass>
note that implementation has no access to self this way
<shortCircuit__>
I messed up my pendrive.
henesy has quit [Ping timeout: 264 seconds]
<ericwood>
TIL: you can use *args in block arguments
<ericwood>
seems kinda risky tho
chrishough has joined #ruby
<jhass>
ericwood: you can even accept a block
jophish__ has quit [Read error: Connection reset by peer]
<ericwood>
so you can take in a block as a block arg
<ericwood>
idk if I like that
takle has quit [Remote host closed the connection]
<jhass>
you can accept everything you can accept in a method definition
<jhass>
including blocks, keyword args and array decomposition
shock_one has quit [Read error: Connection reset by peer]
<ericwood>
very cool!
shock_one has joined #ruby
reinaldob has quit [Remote host closed the connection]
joast has joined #ruby
jottr has joined #ruby
shock_one_ has joined #ruby
<shock_one_>
ping
<shock_one_>
Not sure if you saw this message, because I got disconnected. jhass, self is correct because I'm executing it in instance_eval. However, a block with splat reports its arity as -1, which makes define_method unhappy.
DrShoggoth has quit [Quit: Leaving]
<ericwood>
hmmm arity of -1 means it owes you an argument :D
<shock_one_>
It was my first thought too, jhass, but using a splat won't create a method with correct number of arguments.
skolman_ has quit [Remote host closed the connection]
<jhass>
mmh, kay
weemsledeux has joined #ruby
djbkd has joined #ruby
aspires has joined #ruby
shock_one_ has quit [Quit: Be back later ...]
maletor_ has joined #ruby
data551 has joined #ruby
postmodern has joined #ruby
<atmosx>
havenwood: hm, can you take a look here also? I'm doing something wrong. https://gist.github.com/atmosx/ade0987281a94ee3616d tried n-1 or n+1 still not getting expected results (e.g. all combinations).
shock_one_ has joined #ruby
shock_one_ has quit [Client Quit]
boombadaroomba has quit [Ping timeout: 256 seconds]
<jhass>
soulisson: to distinguish them from local variables
<atmosx>
soulisson: the official answer is "Because someone said so"
<soulisson>
atmosx, to me it's not very readable
<atmosx>
havenwood: the number 3 is what is causing the confusion, because the list is 'dynamic', so it will not have just 3 elements, it might have 400 or 1500
<atmosx>
soulisson: then you can use perl
<atmosx>
soulisson: and come back after a couple of months
<soulisson>
atmosx, haha using perl ....
<atmosx>
soulisson: then what's the problem?
<havenwood>
atmosx: 3 isn't about the number of triplets, its the number of triplets to put together
<eam>
or don't come back because perl is more readable :^)
Alina-malina has quit [Ping timeout: 255 seconds]
<atmosx>
soulisson: anyway I'm teasing you. But your question doesn't make sense.
<atmosx>
havenwood: ooh..
<soulisson>
atmosx, i never said it was a problem, it's odd for me
<atmosx>
soulisson: cool
<havenwood>
atmosx: try ^
<atmosx>
havenwood: okay
kireevco has quit [Read error: Connection reset by peer]
kireevco1 has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nickenchuggets has joined #ruby
<atmosx>
havenwood: nope :-( ... In this example the total length of a string is 9 becuase 3x3 but if I have 10 then should 10x3 = 30 chars.
<havenwood>
atmosx: ahh, gotcha
<shevy>
atmosx semi; I am a bit sleepy
<atmosx>
shevy: k, nevermind then. I was going to ask something related to biology, but fuck it.
<shevy>
you can!
<shevy>
what is it!!!
dc_ has quit [Ping timeout: 244 seconds]
<shevy>
atmosx today I heard a lecture about ectopic eyes in drosophila
<shevy>
now I knew about it before but I did not know the genetic control system that governed it
DogsAndCats has joined #ruby
DogsAndCats has quit [Max SendQ exceeded]
DogsAndCats has joined #ruby
BlackGear has joined #ruby
<havenwood>
atmosx: there's A, M, and L, so 3 no?
arup_r has quit [Quit: Leaving.]
soulisson has quit [Ping timeout: 240 seconds]
<havenwood>
atmosx: but if there were more, it'd be more?
<shevy>
soulisson some token had to be chosen; there are not that many possibilities and $ was designated for global vars
<atmosx>
havenwood: that's an example, in this case is 3x3 = 9 (and works). But what if instead of 'AML' I have a string with 400 chars?
<havenwood>
atmosx: you're welcome, i'd like to learn more about this bio stuff :)
mtakkman has quit [Read error: Connection reset by peer]
justinmburrous has joined #ruby
justinmburrous has quit [Remote host closed the connection]
<atmosx>
havenwood: :-) sure, you're a natural talent... I was going to ask shevy now that I have list incredibly long list of strings.
DogsAndCats has quit [Client Quit]
DogsAndCats has joined #ruby
<atmosx>
I wonder if there's any way to tell which of these strings is more *probable* to be the source of our sample protein.
<atmosx>
now let's benchmark a DNA-Poly4 from E. Coli see how much time it takes to create a list.
djbkd has quit [Remote host closed the connection]
DogsAndCats has quit [Client Quit]
DogsAndCats has joined #ruby
maletor_ has quit [Max SendQ exceeded]
ptrrr has joined #ruby
TPBallbag has joined #ruby
claymore has joined #ruby
Joufflu has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TPBallbag is now known as Guest79376
DogsAndCats has quit [Remote host closed the connection]
klaut_ has joined #ruby
djbkd has joined #ruby
timonv_ has joined #ruby
DogsAndCats has joined #ruby
apeiros has joined #ruby
Guest79376 has quit [Remote host closed the connection]
DogsAndCats has quit [Remote host closed the connection]
klaut has quit [Ping timeout: 240 seconds]
DogsAndCats has joined #ruby
DogsAndCats has quit [Remote host closed the connection]
BlackGear has quit [Remote host closed the connection]
DogsAndCats has joined #ruby
msgodf has quit [Ping timeout: 258 seconds]
graydot has quit [Quit: graydot]
rkalfane has joined #ruby
troyready has joined #ruby
nkumari has joined #ruby
Alina-malina has joined #ruby
rkalfane has quit [Client Quit]
lolmaus has joined #ruby
CustosLimen has joined #ruby
graydot has joined #ruby
panini has quit [Remote host closed the connection]
<Timgauthier>
mmmm
pietr0 has joined #ruby
sdegutis has joined #ruby
<atmosx>
lol my laptop is abotu to explode
lolmaus_ has joined #ruby
<Timgauthier>
cook bacon!
cndiv has quit [Ping timeout: 244 seconds]
mattmcclure has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
timonv_ has quit [Ping timeout: 264 seconds]
lolmaus has quit [Ping timeout: 240 seconds]
kyb3r_ has joined #ruby
DogsAndCats has quit [Quit: Leaving]
fandi has joined #ruby
DogsAndCats has joined #ruby
rkalfane has joined #ruby
momomomomo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
hamakn has quit [Ping timeout: 265 seconds]
anaeem1_ has joined #ruby
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
michael_mbp has quit [Excess Flood]
<shevy>
you are way out of my league already atmosx
nkumari has quit [Remote host closed the connection]
<atmosx>
shevy: hm, I don't feel like I'm out of anybody's league. I stopped the computation my computer got almost frozen.
<BLuEGoD>
hi
fwaokda has joined #ruby
<atmosx>
I need a cuda or something
sinequanon has joined #ruby
<shevy>
lol atmosx
<shevy>
a soda!
<shevy>
you need a soda
clauswitt has joined #ruby
<atmosx>
putting the laptop into the fridge might work
<atmosx>
not to mention that if I need to parse the output into an HTML page... it will take 2 life-times
<atmosx>
and I don't see any reason doing this.
marr has quit [Ping timeout: 250 seconds]
<fwaokda>
how can i create an array from another array of all the duplicates (case insensitive) strings? I was using the following but it doesn't capture instances of the same word but different case... duplicates = file_columns.select{ |e| file_columns.count(e) > 1 }
crantron has quit []
<atmosx>
I'll mail my prof. tell him the world is about to end..
<BLuEGoD>
can I group a hash by multiple keys? I can do hash.group_by(hash[:year]) and it does 2014 => {}, but I want something like group_by(hash[:year], hash[:month]) so it outputs 2014 => {'March' => {}}
anaeem1_ has joined #ruby
<BLuEGoD>
sorry syntax should be group_by { |hash| hash[:year] }
takle has quit [Remote host closed the connection]
<dorei>
hmm
<baweaver>
nice to see you too
<baweaver>
yeah, EM looks either dead or untenable for production. That's disappointing. Anyone know of a better Ruby event lib?
<baweaver>
Looking into Celluloid:IO
fartface has joined #ruby
skolman has quit [Remote host closed the connection]
<dorei>
maybe celluloid:io is what you're looking for
kyb3r_ has quit [Read error: Connection reset by peer]
<fartface>
Forgive me if this is a stupid question (newbie!), but is there an easy way to include the Rails date helpers (like Date.today.beginning_of_month) in a non-rails script?
<baweaver>
basically trying to get events on a rails server
<baweaver>
mixin activesupport
<dorei>
fartface: yeap, just require what you want
<dorei>
like require 'active_support/core_ext/string/multibyte'
yetanotherdave has joined #ruby
<fartface>
Thanks! I figured it was straight forward, but still just barely getting my feet wet, so I wasn't sure
chipotle has joined #ruby
sambao21 has joined #ruby
karolinka has left #ruby [#ruby]
Hijiri has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
<baweaver>
I'd avoid doing too much of that though unless you really need it
<baweaver>
bloats programs and adds a huge dependency to it if you get carried away.
klaut_ has quit [Ping timeout: 250 seconds]
klaut has joined #ruby
rbrs has quit [Remote host closed the connection]
ramfjord has joined #ruby
ndrei has joined #ruby
Bira has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 255 seconds]
Bira has joined #ruby
aclearman037 has joined #ruby
S0da has joined #ruby
Bira has quit [Ping timeout: 240 seconds]
postmodern has joined #ruby
fartface has quit [Quit: Leaving]
rpag has joined #ruby
fartface has joined #ruby
takle has joined #ruby
jerius has quit []
zacts has joined #ruby
i_s has joined #ruby
jerius has joined #ruby
nonks has quit [Ping timeout: 250 seconds]
dan1d has joined #ruby
TPBallbag has joined #ruby
ZaRDaK has joined #ruby
TPBallbag is now known as Guest59128
fabrice31 has joined #ruby
skolman has joined #ruby
* atmosx
pokes dorei
skolman has quit [Remote host closed the connection]
cleopatra has quit [Ping timeout: 260 seconds]
nkumari has quit [Remote host closed the connection]
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
squar1sm has joined #ruby
Guest59128 has quit [Ping timeout: 244 seconds]
klaut_ has joined #ruby
i0n has quit [Quit: snooze]
ndrei has quit [Ping timeout: 265 seconds]
klaut has quit [Ping timeout: 240 seconds]
henesy has quit [Ping timeout: 264 seconds]
klaut_ has quit [Read error: Connection reset by peer]
klaut has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
dc_ has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdwrage_ has joined #ruby
michael3 has quit [Quit: WeeChat 1.0.1]
kireevco1 has quit [Ping timeout: 244 seconds]
sdwrage has quit [Ping timeout: 272 seconds]
squar1sm has quit [Ping timeout: 245 seconds]
sepp2k has quit [Quit: Konversation terminated!]
i0n has joined #ruby
<maasha>
This is a 5 char bytestring with all bits set? "\xFF\xFF\xFF\xFF\xFF"
dan1d has quit [Remote host closed the connection]
chipotle has quit [Ping timeout: 256 seconds]
Xeago_ has joined #ruby
<havenwood>
benzrf: in honor of Perl
<havenwood>
>.>
cajone has quit [Remote host closed the connection]
hiall has joined #ruby
sambao21 has joined #ruby
chipotle has joined #ruby
marr has joined #ruby
sandelius has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
badhatter has quit [Read error: Connection reset by peer]
ducklobster has quit [Remote host closed the connection]
<BLuEGoD>
can I group a hash by multiple keys? I can do hash.group_by(|hash| hash[:year]) and it does 2014 => {}, but I want something like group_by(|hash| hash[:year], hash[:month]) so it outputs 2014 => {'March' => {}} (sort of a nested hash)
Techguy305 has quit [Ping timeout: 255 seconds]
pandaant has quit [Remote host closed the connection]
rkalfane has joined #ruby
skolman_ has joined #ruby
Jake232 has joined #ruby
Davey has quit [Ping timeout: 244 seconds]
baweaver has joined #ruby
clauswitt has joined #ruby
wallerdev has quit [Quit: wallerdev]
czaks has quit [Ping timeout: 250 seconds]
thsig_ has joined #ruby
Davey has joined #ruby
ducklobster has joined #ruby
<shevy>
long live perl!
<shevy>
and along those lines
zacts has quit [Ping timeout: 244 seconds]
<shevy>
long live the dinosaurs!
<shevy>
I welcome our old fossil overlords
<shevy>
right eam
thsig has quit [Ping timeout: 264 seconds]
skolman_ has quit [Ping timeout: 272 seconds]
ldnunes has quit [Quit: Leaving]
desp has quit [Quit: This computer has gone to sleep]
reset has joined #ruby
graft has joined #ruby
bMalum has quit [Quit: bMalum]
chrisja has joined #ruby
cajone has joined #ruby
siwica1 has quit [Quit: siwica1]
michael_mbp has quit [Excess Flood]
tanema has joined #ruby
jli49 has joined #ruby
jli49 has left #ruby [#ruby]
clauswitt has quit [Max SendQ exceeded]
michael_mbp has joined #ruby
tanema has quit [Client Quit]
samuel02 has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cleopatra has joined #ruby
cleopatra has left #ruby [#ruby]
sirene has joined #ruby
data551 has quit [Quit: (null)]
jenrzzz has joined #ruby
Bira has joined #ruby
Ulrike_Rayne has quit [Excess Flood]
cajone has quit [Remote host closed the connection]
aspires has joined #ruby
lolmaus_ has quit [Quit: Konversation terminated!]
Ulrike_Rayne has joined #ruby
tier has quit [Read error: Connection reset by peer]
jerius has quit []
baweaver has quit [Remote host closed the connection]
i0n has joined #ruby
cajone has joined #ruby
jimbach has quit [Remote host closed the connection]
icebourg_ has joined #ruby
icebourg has quit [Ping timeout: 255 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jokke>
hi
bMalum has joined #ruby
czaks has joined #ruby
Bira has quit [Ping timeout: 265 seconds]
st1gma has quit [Read error: Connection reset by peer]
<havenwood>
jokke: hey
sambao21 has quit [Quit: Computer has gone to sleep.]
clauswitt has joined #ruby
az7ar_away has quit [Remote host closed the connection]
tier has joined #ruby
<shevy>
hey jokers
chrishough has joined #ruby
iamjarvo has joined #ruby
clauswitt has quit [Max SendQ exceeded]
mikeg has joined #ruby
kireevco has joined #ruby
czaks has quit [Ping timeout: 250 seconds]
<jokke>
i want to feed diff two strings from ruby and get the output
kaspergrubbe_ has joined #ruby
<jokke>
how can i do this?
<tobiasvl>
two strings from ruby?
<jokke>
yes
<jokke>
well actually those strings come from a system call also
<apeiros>
ruby yourscript | diff
<tobiasvl>
output from programs?
<jokke>
apeiros: no i need it in a method
n008f4g_ has quit [Ping timeout: 255 seconds]
<apeiros>
actually I doubt piping would work :)
<apeiros>
after all, diff needs to be able to distinguish two sources
<tobiasvl>
diff <(ruby 1.rb) <(ruby 2.rb)
<tobiasvl>
??
<tobiasvl>
or inside ruby?
<tobiasvl>
I have no idea what you're trying to do
m8 has joined #ruby
baweaver has joined #ruby
<jokke>
more specifically i need to do this: `diff <$(mediainfo #{file_a}) <$(mediainfo #{file_b})
kaspergrubbe has quit [Ping timeout: 255 seconds]
st1gma has joined #ruby
<jokke>
`
st1gma has quit [Client Quit]
<tobiasvl>
and that doesn't work?
<jokke>
nope
<jokke>
sh: $(mediainfo /home/jokke/music/Feed\ Me/Feed\ Me\'s\ Big\ Adventure/04\ Feed\ Me\ -\ Muscle\ Rollers\ \(feat.\ Kill\ the\ Noise\).mp3): No such file or directory
<jokke>
(i'm using Shellwords.escape)
hhutch has joined #ruby
<atmosx>
jokke: try quotes ""
<tobiasvl>
use bash, not sh
<tobiasvl>
or maybe quotes
<atmosx>
so eomthing
<atmosx>
lol
<atmosx>
do something
<jokke>
tobiasvl: but the filenames could contain quotes too
<tobiasvl>
use bash anyway
czaks has joined #ruby
<shevy>
down with quotes! down with () in names! down with ' ' in names!
<jokke>
atmosx: how can i change the shell being used?
<tobiasvl>
it handles that stuff in a way you're probably more used to
diegoviola has quit [Remote host closed the connection]
timgauthier_away is now known as Timgauthier
<jokke>
havenwood: this is just a little script
nkumari has quit [Remote host closed the connection]
josephndenton has joined #ruby
n_blownapart has joined #ruby
mikesplain has joined #ruby
yfeldblum has joined #ruby
nkumari has joined #ruby
max96at is now known as max96at|off
anotherZero has joined #ruby
auxbuss has joined #ruby
et09 has joined #ruby
<et09>
i have this string: "focuses on improving people’s health"
<et09>
see the UTF-8 apostrophe? how can i encode that to HTML automatically, without also catching any < or > in the string
<et09>
along with as many other UTF-8 characters as possible
RTG` has joined #ruby
<apeiros>
et09: just emit proper meta tag and content-type header
josephndenton has quit [Ping timeout: 255 seconds]
<et09>
i have the meta tag already
<et09>
but by the time this gets through my processing pipeline, somehow it ends up as ' on improving people�s health'
<apeiros>
fix your pipeline then?
<et09>
im not even clear what's doing that
nuck has quit [Excess Flood]
jerius has joined #ruby
skolman has joined #ruby
supernullset has quit [Remote host closed the connection]
<apeiros>
I think there's an html entities gem. IMO going the wrong way, but that's on you to decide.
nuck has joined #ruby
<et09>
yeah i tried it, but that encodes > etc.
supernullset has joined #ruby
tercenya has quit []
rshetty has joined #ruby
<apeiros>
et09: and how did you use it?
webgen has joined #ruby
Jackneill has quit [Ping timeout: 250 seconds]
jerius has quit [Client Quit]
<et09>
just .new.encode
TandyUK has left #ruby [#ruby]
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
cajone has quit [Remote host closed the connection]
jerius has joined #ruby
rshetty has quit [Ping timeout: 255 seconds]
cajone has joined #ruby
cajone has left #ruby [#ruby]
czaks has quit [Ping timeout: 250 seconds]
decoponio has quit [Quit: Leaving...]
ghr has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood>
tobiasvl: looking at that blog post i don't think the author realizes he's doing `sh -c "bash -c command"` with `system 'bash -c command'` when he could call bash directly with `system 'bash', '-c', 'command'`
pengin has quit [Ping timeout: 245 seconds]
<havenwood>
system *Shellwords.split('bash -c ls')
<maasha>
zenspider: ah, some function names in inline act up. E.g I have a and_C which takes three arguments, but ruby complaints 3:1. If I rename to bitwise_and_C all is good?
mistermocha has joined #ruby
alem0lars has joined #ruby
<havenwood>
zenspider: then by ruby-install i think you meant ruby-build
<havenwood>
zenspider: but ruby-install > ruby-build :P
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Remote host closed the connection]
<zenspider>
oh! Yes, you are right. I meant ruby-build
sailias has quit [Quit: Leaving.]
sailias has joined #ruby
Ial has joined #ruby
<zenspider>
maasha: I don't understand what you're saying. 3:1 ?
droidburgundy has joined #ruby
<maasha>
zenspider: Message: <"wrong number of arguments (1 for 3)">
<zenspider>
maasha: I can't possibly go from "3:1" to an arity issue. I'm not psychic
sambao21 has joined #ruby
<zenspider>
maasha: can you file an issue with details to reproduce?
oleo__ is now known as oleo
fabrice31 has quit [Ping timeout: 256 seconds]
<xyh>
I just like the idea about "emacs + ruby" instead of "emacs + elisp"
philwantsfish has joined #ruby
aspires has joined #ruby
mistermocha has quit [Ping timeout: 245 seconds]
rdark has quit [Quit: leaving]
<zenspider>
xyh: iirc rubykitch did something so you could write ruby for emacs extensions
wallerdev has quit [Client Quit]
<maasha>
zenspider: I have seen this a couple of times - and I have to come up with new function names to go on. Seems like something is compiled and cached somewhere and never updated even if the code is.
<zenspider>
stuff is definitely compiled and cached
<zenspider>
but it uses digests to ensure it gets rebuilt if anything changes
<maasha>
zenspider: but I am not sure I can reproduce this :o( - seems to happen only when I am undo'ing and redo'ing stuff
wallerdev has joined #ruby
codecop has quit [Remote host closed the connection]
<Ial>
Hello?
<atmosx>
Hello! Is it me you're looking for?
dacamp has joined #ruby
* atmosx
go Lionel go!
sambao21 has quit [Client Quit]
Xeago_ has quit [Remote host closed the connection]
<Ial>
Lol, yes. I was just seeing if everything is working? First time IRC user and teaching myself ruby
<Ial>
Figured I'd hop on the ruby irc see what's going on
<zenspider>
not much wrt ruby. this is pretty much the #emacs of ruby channels :)
timonv_ has joined #ruby
<yxhuvud>
I imagine extension writing will be easier soon when emacs starts to support linking dynamically (and also support threading)
<dacamp>
Anyone have a suggestion on using RDoc to gather all flags with ":feature:"? I'm trying to create a single page with links to all new 'features'.
<zenspider>
yxhuvud: extension writing isn't hard in elisp. quite easy actually.
cajone has joined #ruby
<dacamp>
Sorry for the abundance of "quotes". :)
jaequery_ has joined #ruby
<Ial>
Ohh, lol. Like I said, first time IRC user so I'm just trying to figure out what I'm doing really XD
<atmosx>
Ial: you might wanna change the nickname
graydot has quit [Quit: graydot]
<Ial>
I dunno how you did that but okay
<atmosx>
XD
jaequery has quit [Ping timeout: 265 seconds]
TPBallbag has joined #ruby
<zenspider>
dacamp: I don't think rdoc does what you're looking for.
emmesswhy has joined #ruby
<zenspider>
is supports a very limited number of :flags: and isn't meant to be used like, say, javadoc
TPBallbag is now known as Guest22102
<yxhuvud>
zenspider: you are most probably correct (as you have more experience than I in that), but it can't hurt that the options are increasing.
cajone has quit [Remote host closed the connection]
<Ial>
Better?
loly0 has joined #ruby
<Ial>
Nope
czaks has joined #ruby
<zenspider>
yxhuvud: it can't? have you looked at extension writing in vim lately? it's a mess
<dacamp>
zenspider: sunofagun... any suggestions or should I just script it out into its own rake task?
<zenspider>
I think where the dynamic loading stuff will come in handy is with direct integration with 3rd party libs instead of writing socket protocols to bridge
<atmosx>
refresh?
<atmosx>
Quassel IRC client blah
<Ial>
Trying to change my name like you said
<Ial>
How did you know?
<zenspider>
like right now, enh-ruby-mode starts a ruby process to get parse tree info
<zenspider>
it's a serious pita
sambao21 has joined #ruby
<atmosx>
Ial: I was a security for the NSA. I just ask...
<yxhuvud>
still, I know some old elisp projects that could benefit hugely by namespaces and threads in some cases.
<atmosx>
Ial: security analyst
<Ial>
Ahh I got you
sambao21 has quit [Client Quit]
<Ial>
Also I dunno how you're doing that so I'll just keep typing in chat lol
<atmosx>
Ial: j/k... I just used a command, /ctcp Ial version
<atmosx>
returns the version of the client if you didn't obscure it intentionally
<zenspider>
dacamp: drbrain on #ruby-lang maintains rdoc. he'd be better to ask
<Ial>
Ohhh
<dacamp>
thanks!
<Ial>
Cool
<Ial>
Did you obscure yours then?
<Ial>
Also still dunno how to change the name
postmodern has joined #ruby
<zenspider>
yxhuvud: sure. but namespaces and threads are orthogonal to dynamic loading
<zenspider>
(afaik)
<atmosx>
Ial: nah, I dn't obscure anything these days. Freenode is mostly okay. No need to hide identities and what-not
<atmosx>
Ial: /nick new_nickname
Ial is now known as learningthings
<yxhuvud>
yeah. just noticing that there are lots of stuff in the pipeline
cajone has joined #ruby
<learningthings>
Oh heyy
m8 has quit [Quit: Sto andando via]
exceion has quit [Quit: leaving]
Guest22102 has quit [Ping timeout: 258 seconds]
<learningthings>
Now how are you pming me exactly? So I don't bug everyone here in chat lol
auxbuss has quit [Quit: I'm gone.]
sambao21 has joined #ruby
<zenspider>
learningthings: you pm with /msg <name> <text>
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thiagofm has joined #ruby
josephndenton has joined #ruby
<yxhuvud>
of course, people are usually not bugged by traffic in the channel as long as it is on topic, but surprise pm's can annoy some people
cndiv has quit [Ping timeout: 244 seconds]
<atmosx>
true
<n_blownapart>
lal go to your chat app's 'server' menu or 'server properties'. you can add second nicknames or better yet: just change your main nick.
<atmosx>
pm's can annoy people
quazimodo has quit [Ping timeout: 265 seconds]
unclouded has quit [Ping timeout: 265 seconds]
<atmosx>
n_blownapart: he already did
ltd has quit [Ping timeout: 240 seconds]
<n_blownapart>
uh oh..
thiagofm has quit [Client Quit]
<learningthings>
How do you know that I did?
<learningthings>
Unless the command changed my main nick
maasha has quit [Quit: Page closed]
unclouded has joined #ruby
quazimodo has joined #ruby
timonv_ has quit [Ping timeout: 264 seconds]
<zenspider>
it did
ltd has joined #ruby
graydot has joined #ruby
graydot has quit [Client Quit]
cibs has quit [Ping timeout: 272 seconds]
cibs has joined #ruby
<atmosx>
learningthings: I'm a magician!
graydot has joined #ruby
<n_blownapart>
what's the chat app that runs on linux cli? I want to try that.
<sweeper>
there are lots?
Takle_ has joined #ruby
<atmosx>
n_blownapart: one too many... I use weechat + tor occasionally (on my FreeBSD vps)
<atmosx>
n_blownapart: nginx, irssi, etc.
<atmosx>
err lol BitchX irssi
josephndenton has quit [Ping timeout: 240 seconds]
<n_blownapart>
irssi yeah I want to try that.
<sweeper>
nginx probably has a module for that tbh
toretore has quit [Quit: This computer has gone to sleep]
loly0 has left #ruby [#ruby]
tier has quit [Remote host closed the connection]
<n_blownapart>
limechat is cool on osX but I find them all wonky. you change stuff and it doesn't stick.
<shevy>
I like peechat
<shevy>
that warm fuzzy feeling
mary5030 has quit [Remote host closed the connection]
samuel02 has quit [Remote host closed the connection]
<n_blownapart>
limechat has a really nice ui but it's not for linux.
* atmosx
uses Textual on OSX
<atmosx>
Leenoux
<atmosx>
n_blownapart: why do you wanna use leenoux anyway?
takle has quit [Ping timeout: 264 seconds]
<atmosx>
shevy you're always using non-conventional programs, I don't know why.
anaeem1_ has quit [Remote host closed the connection]
<n_blownapart>
atmosx: I don't know because I suck at ruby so I gave it a shot.
<n_blownapart>
to be employable
x1337807x has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hiall has quit [Quit: hiall]
<atmosx>
cool
<n_blownapart>
I don't understand oop at all. cry me a river. ... I found a tutor for ruby in my area.
emmesswhy has quit [Quit: Leaving]
baweaver has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
jlast has joined #ruby
cajone has quit [Remote host closed the connection]
boombadaroomba has quit [Remote host closed the connection]
bMalum has quit [Quit: bMalum]
kireevco has quit [Ping timeout: 256 seconds]
vyorkin has quit [Quit: WeeChat 1.0.1]
<xyh>
reading more about ruby, now I view ruby as an acceptable lisp too :)
bMalum has joined #ruby
mary5030 has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
<zenspider>
I find ppl who say that don't code enough lisp...
claymore has quit [Quit: Leaving]
havenwood has quit []
ghr has joined #ruby
<xyh>
zenspider: why
iamjarvo has joined #ruby
<xyh>
in your view it is not acceptable lisp ?
baweaver has joined #ruby
n_blownapart has quit []
yfeldblum has joined #ruby
_djbkd has joined #ruby
<xyh>
the code block just catchs a good pattern of the use of lambda, and designed a good syntax on it.
_djbkd has quit [Read error: Connection reset by peer]
_djbkd has joined #ruby
rodfersou has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
<zenspider>
if all you want out of a lisp is _just_ lambdas? sure
sambao21 has quit [Quit: Computer has gone to sleep.]
paulfm has quit []
pasties has joined #ruby
<zenspider>
just lambda?
skolman_ has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
jaequery_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_djbkd has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 264 seconds]
Ankhers has quit [Ping timeout: 250 seconds]
aclearman037 has quit [Quit: I'm out!]
djbkd has joined #ruby
tvw has quit [Read error: Connection reset by peer]
duncannz has joined #ruby
mathias1 has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
<xyh>
zenspider: one can even use lambda to encode natural number ... the GC of lisp is for to implement list-processing, the list-processing of lisp is for to implement lambda. [maybe this is ture, only in the very first versions of lisp implementations]
<xyh>
"funny encoded natural number"
<zenspider>
one CAN just do the whole thing in their head. not terribly useful that way, is it?
dc_ has quit [Remote host closed the connection]
nkumari has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 272 seconds]
codeitagile has joined #ruby
<xyh>
I have implemented lambda in this way in a forth-like language I designed. so the whole things are in my head, and in github too.
kireevco has joined #ruby
nfk has quit [Quit: yawn]
<zenspider>
very exciting.
<xyh>
:P
codeitagile has quit [Client Quit]
codeitagile has joined #ruby
Bira has joined #ruby
havenwood has joined #ruby
codeitagile has quit [Read error: Connection reset by peer]
desp has joined #ruby
learningthings has quit [Remote host closed the connection]
rh1n0 is now known as rh1n0_away
Bira has quit [Ping timeout: 265 seconds]
omosoj has joined #ruby
MatthewsFace has joined #ruby
desp has quit [Client Quit]
wjimenez_ has joined #ruby
it0a has quit [Ping timeout: 244 seconds]
AlSquirrel has quit [Quit: This computer has gone to sleep]
spider-mario has quit [Remote host closed the connection]
<seanp2k>
I have no problem using the longer version, which is playlists.map { |playlist| playlist.slice(:permalink, :uri) } … but I was wondering why playlists.each(&:slice(:uri, :permalink)) doesn’t do the same thing.
<WhereIsMySpoon_>
i mean for a start theyre in the opposite order
<jhass>
seanp2k: :slice is a symbol. You can't call a symbol
Hijiri has quit [Read error: Connection reset by peer]
rylev has joined #ruby
charliesome has joined #ruby
<seanp2k>
jhass: I’m possibly missing the point, but would there be any way to pass args to slice in a situation like that?
<jhass>
& calls to_proc on the passed argument. Symbol#to_proc returns a proc that calls the method of the symbols name on the first argument
mikeg has quit [Remote host closed the connection]
Hijiri has joined #ruby
renderful has joined #ruby
<jhass>
foo(&:bar) == foo(&(:bar.to_proc)) == foo do |arg| arg.send(:bar); end;
<seanp2k>
so, and this would be silly, but I could define a new method that calls slice with the args I want, then use &:that ?
<jhass>
yes, but don't do it
<seanp2k>
cool, makes sense; thanks for explaining :)
s00pcan has joined #ruby
samuel02 has joined #ruby
<apeiros>
there are gems which try to enable what you want. I'd not use them, though
jaequery has joined #ruby
renderful has quit [Ping timeout: 255 seconds]
allcentury has joined #ruby
sambao21 has joined #ruby
s00pcan has quit [Remote host closed the connection]
<godd2>
WhereIsMySpoon_ when he runs ->{}[] he's calling a lambda which returns nil. nil is an object, and he overrode the unary ~ method for objects, so calling ~nil returns "-ish"
<dorei>
havenwood: what's that @ in the def?
<havenwood>
how you can write a little testing library: class Proc; def -@; !self.call end; def +@; !!self.call end end
skolman has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
<godd2>
dorei @ is for the unary operators.
cleopatra1 has joined #ruby
moritzs has quit [Remote host closed the connection]