<centrx>
Secnz, inserting a variable within the string
<vulix>
Is there any comprehensive changelog that shows what gets deprecated every version of Ruby? Im currently on Windows and am worried that using one of the pre-packaged but older releases is going to be counter-productive for learning
<shevy>
Secnz this is calling the .to_s method. Rather than: @name = "foo"; "@name #{@name}" you could also do: '@name '+@name.to_s
<vulix>
Ruby installer lets me grab 2.2.1 but I'm finding setting up Rails with it is giving me some trouble (specifically, something with Sqlite3). RailsInstaller gives me 2.1.5
<Secnz>
shevy: Ah I see thanks :)
ponga has joined #ruby
CloCkWeRX has joined #ruby
<shevy>
string interpolation should also be faster than when you use + and .to_s by yourself
<shevy>
and is also more failsave; you could forget to use .to_s
<shevy>
and may have a nil object there... " "+nil+" " would not work
<shevy>
*failsafe
<weaksauce>
centrx you might want to add that it's any expression that can be to_s'd
<Secnz>
shevy: But why do you have to do that, isn't @name already a string?
Zamyatin has joined #ruby
<centrx>
vulix, That's fine then, everything you learn should be valid
<Secnz>
shevy: Nvm what I said
noname has joined #ruby
jeramy_s has joined #ruby
<centrx>
vulix, 1.9 is the main rubicon
<shevy>
Secnz in this case it should not make a big difference
<jhass>
Secnz: "string #{interpolation}" is more idiomatic and failsafe, stick to it, don't do "string" + concatenation
<vulix>
centrx tyvm. Is there a major difference between 2.1.5 and 2.2.1?
<centrx>
vulix, no
<vulix>
Ah I see. 1.9 was the first I put it down a few years ago and now am back to pick up Ruby again
<shevy>
Secnz but when you use a larger class, with several different @ivars, you may be confused what they are.. array..hash ... nil... integer
<Secnz>
How does Ruby know if my input should be handled as an integer or string then?
Zamyatin has quit [Max SendQ exceeded]
<Secnz>
shevy: Yea aight
<shevy>
well, they have different methods right?
<jhass>
Secnz: it just calls to_s
<shevy>
:)
<vulix>
Sencz it's a weak typed language so it figures it out based on what mehtods you call on the variable
ruby739 has joined #ruby
<shevy>
there is .to_s and .to_str, it's ruby's way to get an object to show its "string representation"
<jhass>
maybe it's because all primes beside 2 are odd, an odd number plus one is an even number and an even number besides 2 can't be prime?
thumpba_ has quit [Ping timeout: 250 seconds]
kyrylo has joined #ruby
<jhass>
do you get that?
<riskish>
right yeah
GeorgeThompson has joined #ruby
<jhass>
sooo, back to your code
<jhass>
you check that i is a prime, what do you next?
<riskish>
increase a counter
kyrylo__ has quit [Ping timeout: 245 seconds]
<jhass>
and then?
<riskish>
then increase i
jenrzzz has quit [Ping timeout: 245 seconds]
<riskish>
increase the prime
<jhass>
by how much?
<riskish>
by 1
<jhass>
clicked? ;)
_djbkd has quit [Quit: My people need me...]
<riskish>
no
<riskish>
:(
<sevenseacat>
so now i is not going to be prime anymore
<jhass>
yeah, I think I give up
<sevenseacat>
as we just established that any prime + 1 is not prime
<jhass>
immune to logic :/
tubuliferous has joined #ruby
<riskish>
but then the while loop will go around and check, and it will say its not prime, and then it will increase again to an odd number, and try again, right?
<sevenseacat>
err, no
GenghisKen has joined #ruby
<riskish>
jhass: I need to work on it.
<jhass>
riskish: right, but say you increased counter to n+1
_honning_ has quit [Ping timeout: 264 seconds]
<jhass>
what happens in that case
<sevenseacat>
it wont go around if youre on the nth prime
basiclaser has quit [Quit: Connection closed for inactivity]
hannahkoala has quit [Read error: Connection reset by peer]
* baweaver
needs to remember it's tuesday now.
<sevenseacat>
its wednesday! \o/
charliesome has quit [Quit: zzz]
<bricker>
>:(
aphprentice has joined #ruby
<baweaver>
Was about to say
casshern2 has quit [Ping timeout: 264 seconds]
sargas has joined #ruby
<baweaver>
Still Tuesday on the West Coast.
eytanfb has quit [Ping timeout: 256 seconds]
<centrx>
Are you on Earth
<sevenseacat>
its wednesday on this west coast!
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
Megtastique has joined #ruby
Yzguy has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
data-cat has joined #ruby
oo_ has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
iotouch has quit [Quit: This computer has gone to sleep]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mrmargolis has joined #ruby
Yzguy has quit [Client Quit]
horsecowdog has joined #ruby
<bricker>
shhh
Yzguy has joined #ruby
hannahkoala has joined #ruby
vim_shimm has quit [Ping timeout: 240 seconds]
<data-cat>
I'm having a problem writing a test for my controller. I was getting "RuntimeError: @controller is nil" but I get "NameError: uninitialized constant" when trying to initialize @controller in my setup method. Does this mean my test cannot find my controller?
greenbagels has joined #ruby
oo_ has joined #ruby
<jhass>
?rails data-cat
<ruboto>
data-cat, Please join #RubyOnRails for Rails questions. You need to be authenticated with NickServ, see /msg NickServ help
<sevenseacat>
and we'll just ask you for the code and error there :)
<data-cat>
Oh my bad, I'll go there.
wookiehangover has quit [Ping timeout: 245 seconds]
data-cat has left #ruby [#ruby]
<havenwood>
If it's divisible by 3 print "Flip", if it's divisible by 5 print "Flop"...
GeorgeThompson has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wookiehangover has joined #ruby
arescorpio has joined #ruby
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
Guest27791 has joined #ruby
Guest27791 has quit [Excess Flood]
vim_shimm has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hannahkoala has quit [Read error: Connection reset by peer]
gorpon_ has joined #ruby
paulcsmith has joined #ruby
hannahkoala has joined #ruby
amclain_ has joined #ruby
Fezzler has quit [Quit: Leaving]
Filete has quit [Ping timeout: 246 seconds]
Astrologos_ has joined #ruby
amclain has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
NoNMaDDeN has joined #ruby
havenwood has quit []
kblake has joined #ruby
maximski has joined #ruby
vivekananda has joined #ruby
dorei has quit [Ping timeout: 264 seconds]
maximski has quit [Max SendQ exceeded]
jottr_ has quit [Ping timeout: 246 seconds]
maximski has joined #ruby
longfeet has joined #ruby
iotouch has joined #ruby
gorpon_ has quit [Quit: Konversation terminated!]
NoNMaDDeN has quit [Ping timeout: 265 seconds]
kblake has quit [Ping timeout: 252 seconds]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rbennacer has joined #ruby
evanjs has joined #ruby
grindmodeon has quit [Quit: Leaving.]
paulcsmith has quit [Quit: Be back later ...]
nettoweb has quit [Ping timeout: 252 seconds]
krisquigley has joined #ruby
babykosh has quit [Quit: babykosh]
<vulix>
So I'm on windows, if I install using RailsInstaller.com, I get this warning first tiem I boot up Ruby 'DL is deprecated, please use Fiddle'
jzigmund has quit [Ping timeout: 240 seconds]
<sevenseacat>
its a safe warning to ignore.
zubov has joined #ruby
rbennacer has quit [Ping timeout: 272 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
FernandoBasso has quit [Quit: leaving]
Astrologos_ has quit []
wallerdev has quit [Quit: wallerdev]
dorei has joined #ruby
dopie has quit [Remote host closed the connection]
<vulix>
Ah sevenseacat youre back :) Ty for your help so far
nettoweb has joined #ruby
krisquigley has quit [Ping timeout: 250 seconds]
doodlehaus has joined #ruby
nettoweb has quit [Max SendQ exceeded]
zubov has quit [Remote host closed the connection]
nettoweb has joined #ruby
tgunr has joined #ruby
Spleeze has quit [Ping timeout: 245 seconds]
mgberlin has quit [Remote host closed the connection]
hannahkoala has quit [Read error: Connection reset by peer]
<bricker>
woa
<bricker>
:O
zzing has joined #ruby
Filete has joined #ruby
nettoweb has joined #ruby
<vulix>
Got it...that's pretty sweet
Renich has joined #ruby
gsd has joined #ruby
Renich has joined #ruby
ringarin has joined #ruby
quintinadam has quit []
Rickmasta has joined #ruby
nettoweb has quit [Client Quit]
<vulix>
I'm basically just looking to use Ruby as a hobby language to implement some machine learning algorithms that there are already libraries for in Java and Python...figured a new language incentivizes me to learn by implementing myself rather than just using what exists :P. The C bindings will be great for widening any crippling bottlenecks
somnium has quit [Ping timeout: 272 seconds]
hannahkoala has joined #ruby
plutonic has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
fedexo has joined #ruby
djbkd has quit [Remote host closed the connection]
sankaber has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
Fezzler has joined #ruby
wallerdev has quit [Quit: wallerdev]
djbkd has quit [Remote host closed the connection]
wallerdev has joined #ruby
djbkd has joined #ruby
ascarter has joined #ruby
sankaber has joined #ruby
djbkd_ has joined #ruby
Beoran has joined #ruby
Astrologos_ has quit []
zachrab has joined #ruby
somnium has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
silentpost has quit [Read error: Connection reset by peer]
hannahkoala has quit [Read error: Connection reset by peer]
silentpost has joined #ruby
hannahkoala has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
RegulationD has joined #ruby
NoNMaDDeN has joined #ruby
bricker has quit [Ping timeout: 250 seconds]
reinaldob has quit [Remote host closed the connection]
zachrab has quit [Remote host closed the connection]
Deele has quit [Ping timeout: 256 seconds]
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maximski has quit []
chinmay_dd has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
tus has quit []
mgberlin has joined #ruby
oo_ has quit [Remote host closed the connection]
evanjs has joined #ruby
mic has joined #ruby
arescorpio has quit [Ping timeout: 252 seconds]
Sawbones has joined #ruby
postmodern has joined #ruby
<mic>
If there a perfered way to include preexisting command line gem into a command line gem i am creating and the included gem from mine?
amclain_ has quit [Quit: Leaving]
oo_ has joined #ruby
gauke has joined #ruby
casadei has joined #ruby
ramfjord has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
casadei has quit [Ping timeout: 276 seconds]
jottr has quit [Ping timeout: 264 seconds]
tiago_ has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
somnium has quit [Ping timeout: 264 seconds]
hannahkoala has quit [Quit: My computer has gone to sleep. ZZZzzz…]
tiago has quit [Ping timeout: 255 seconds]
tiago_ is now known as tiago
tiago has quit [Changing host]
tiago has joined #ruby
hmsimha has joined #ruby
tearan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GeorgeThompson has joined #ruby
vim_shimm has quit [Ping timeout: 264 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
<bintelli>
any recommendations for a ruby natural language toolkit? Similar to Python's?
yfeldblum has quit [Remote host closed the connection]
hgl has quit [Read error: Connection reset by peer]
grindmodeon has joined #ruby
hgl- is now known as hgl
silentpost has quit [Ping timeout: 248 seconds]
<willharrison>
cool I will look into it
<willharrison>
I tried gruff but I get `require': cannot load such file -- gruff (LoadError)
<willharrison>
not sure what that means
<sevenseacat>
it means it couldnt load the file
bintelli has quit [Quit: Page closed]
colorisco has quit [Ping timeout: 248 seconds]
<willharrison>
ah apparently the gem install failed
Sypheren has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
Axy has joined #ruby
Mia has quit [Ping timeout: 240 seconds]
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
krisquigley has joined #ruby
arup_r has joined #ruby
Fezzler has quit [Quit: Leaving]
horsecowdog has quit [Remote host closed the connection]
astrobunny has joined #ruby
MyGreenPickle has joined #ruby
moeabdol2 has joined #ruby
sinkensabe has quit [Ping timeout: 255 seconds]
reinaldob has joined #ruby
freerobby has quit [Quit: Leaving.]
krisquigley has quit [Ping timeout: 265 seconds]
colorisco has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
ringarin has quit [Read error: Connection reset by peer]
ringarin has joined #ruby
MyGreenPickle has quit [Ping timeout: 245 seconds]
reinaldob has quit [Ping timeout: 265 seconds]
fabrice31 has joined #ruby
ujihisa has joined #ruby
moeabdol2 has quit [Quit: WeeChat 1.1.1]
yfeldblum has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has joined #ruby
<shevy>
sounds like a naughty gem
fabrice31 has quit [Ping timeout: 240 seconds]
grindmodeon has quit [Quit: Leaving.]
Yzguy has quit [Quit: I'm sleeping, go away.]
musashi has quit [Quit: Connection closed for inactivity]
GenghisKen has quit [Ping timeout: 252 seconds]
<shevy>
anyone happens to remember offhand how to find out the --prefix used for the ruby installation?
davedev24_ has quit []
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.1/2015040300]]
oo_ has quit [Remote host closed the connection]
n80 has quit [Quit: n80]
DavidDudson has joined #ruby
icebourg has joined #ruby
Vile` has quit [Ping timeout: 248 seconds]
Sawbones has quit []
paradisaeidae has quit [Ping timeout: 248 seconds]
swgillespie has joined #ruby
<Sypheren>
So characteristics (denoted by the @ symbol) allow variables to exist within a whole class, and not only with in a method?
<Sypheren>
Just making sure I'm understanding this correctly
towski__ has joined #ruby
Vile` has joined #ruby
towski_ has quit [Ping timeout: 245 seconds]
<sevenseacat>
@ denotes instance variables - a variable belonging to the instance of the class. accessible from every instance method.
<sevenseacat>
eg. if you had a Dog class, then an instance might have a @name (every dog has a name, right?)
Morkel has joined #ruby
NoNMaDDeN has quit [Quit: Leaving...]
<Sypheren>
Right! So any @variable will only be accessible to methods inside of the class that it was defined in. While normal variable = *stuff* would only be accessible inside of the method?
<sevenseacat>
right, that would be a local variable.
<Sypheren>
I see! You used the same example codecademy did
<Sypheren>
They use Dog a lot
<sevenseacat>
that was purely by coincidence, ive never used codecademy lol
<Sypheren>
I'm learning Rails :3
<Sypheren>
The Ruby part came eaily... Rails... not so much
<sevenseacat>
to pick a different example, every instance of a Tweet model would have @content, for example
<Sypheren>
I don't understand quite a bit of it
<sevenseacat>
rails is fuuuun
<Sypheren>
model?
<Sypheren>
Thats new
A205B064 has quit [Ping timeout: 276 seconds]
moeabdol has joined #ruby
<sevenseacat>
blerp, using Rails terminology now
<sevenseacat>
Tweet class works too
MasterPiece has quit [Quit: Leaving]
<Sypheren>
I'm still having a hard time understanding how Rails does its thing >_<
<sevenseacat>
i'm primarily a Rails developer, so, my apologies
<sevenseacat>
if you have questions specifically on Rails, you can jump over to #rubyonrails to get more specialized help
<Sypheren>
You're perfectly fine! I just don't know what a model is exactly yet, I've heard the term though
<sevenseacat>
(i'll answer you there too)
<Sypheren>
I'm in that channel too :3
<Sypheren>
Thank you :)
oo_ has joined #ruby
evanjs has quit [Remote host closed the connection]
zorak8 has quit [Quit: Leaving]
Deele has joined #ruby
MyGreenPickle has joined #ruby
bruno- has joined #ruby
silentpost has joined #ruby
MyGreenPickle has quit [Ping timeout: 246 seconds]
centrx has quit [Remote host closed the connection]
ringarin has quit [Ping timeout: 244 seconds]
blazes816 has joined #ruby
RegulationD has joined #ruby
mitchellhenke has joined #ruby
bruno- has quit [Ping timeout: 255 seconds]
Hijiri has joined #ruby
silentpost has quit [Ping timeout: 255 seconds]
tcrypt has quit [Ping timeout: 252 seconds]
zachrab has joined #ruby
blazes816 has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
oo_ has quit [Remote host closed the connection]
zachrab has quit [Ping timeout: 256 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
oo_ has joined #ruby
konsolebox has joined #ruby
casadei has joined #ruby
mgberlin_ has joined #ruby
mgberlin has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
work is now known as fxck
mary5030 has joined #ruby
casadei has quit [Ping timeout: 265 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hfp has quit [Ping timeout: 244 seconds]
rootsudo has quit [Remote host closed the connection]
hfp has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has quit [Remote host closed the connection]
<vulix>
Anyone used C bindings in Ruby ? Theres a gem called RubyInline, not sure if there are others
fabrice31 has joined #ruby
rdark has joined #ruby
rfi has quit [Ping timeout: 256 seconds]
rfi has joined #ruby
plutonic has quit [Quit: plutonic]
gf3 has joined #ruby
cefkamcau has quit [Ping timeout: 264 seconds]
grindmodeon has quit [Quit: Leaving.]
<hanmac1>
vulix: i prefer to write the C bindings myself in C(++) because with that i have more control over the code/memory
<vulix>
How do you embed them in your ruby code?
<hanmac1>
vulix: just with require? the binding self got compiled as native one without RubyInline
<vulix>
hanmac1 sorry I'm new to Ruby, not quite following. You can just have some C++ and import it natively and call methods from it? Or...?
<hanmac1>
vulix: Ruby (the MRI one and some others too) does have an C-API interface ... with that you can connect C(++) structures and functions into Ruby Objects and other way around ... for sample nokogiri is such a native binding
poguez_ has joined #ruby
<vulix>
hanmac1 Interesting tyvm for the info, I didn't know that. That helps a lot
clamstar has joined #ruby
hannahko_ has quit [Read error: Connection reset by peer]
allenn has joined #ruby
hannahkoala has joined #ruby
A205B064 has joined #ruby
<hanmac1>
vulix: for sample in one of my bindings would a WX::Color#red call turn the ruby object into a wxColor* pointer and call the color->GetRed() function from that and then use INT2NUM to turn the returned C Int into an Ruby Integer
<vulix>
hm ill have to read more about it, you lost me a bit there xP
lobolars has joined #ruby
<shevy>
ponga yeah that is lovely, I used it a few months ago to write a very complicated regex
<ponga>
i always appreciate straight to the point data,table explanation
<ponga>
rather than telling me never ending story
gagrio has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
towski__ has quit [Remote host closed the connection]
<magnificrab>
jhass: actually, just realised that i'm completely wrong almost
CloCkWeRX has joined #ruby
plutonic has quit [Quit: plutonic]
platzhirsch has quit [Quit: Leaving.]
platzhirsch1 has joined #ruby
<magnificrab>
task foo => bar |obj| <-- here, its going to loop over each element of bar and run the block. but I need the task to run once passing all the elements of bar to a shell command
platzhirsch1 has quit [Client Quit]
platzhirsch has joined #ruby
<jhass>
wasn't rule where it does that or something?
<jhass>
you want to watch ruby tapas 129-131 iirc
<jhass>
135 actually
rodfersou has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
in the source variable, the PKGBUILD has: source=(${pkgbase}-${pkgver}.tar.bz2::"http://quickgit.kde.org/?p=${pkgbase}-1.git&a=snapshot&h=40afa675bfa4cacd95487ce8b0544654c5f34e21&fmt=tbz2"
<shevy>
pkgbase is this though: polkit-qt
<jhass>
yeah, what's not clear?
<shevy>
and pkgver is: 0.112
lobolars has quit [Remote host closed the connection]
<shevy>
so PKGBUILD source is: (polkit-qt-0.112.tar.bz2
amundj has joined #ruby
<shevy>
where did the "1-0" part go?
<jhass>
${pkgbase}-1
<jhass>
and the ....:: renames the download
<shevy>
hmm
<shevy>
interesting
iamninja has joined #ruby
ndrei has joined #ruby
lobolars has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
silentpost has joined #ruby
<shevy>
a PKGBUILD requires a hardcoded program-name and version?
bim has joined #ruby
Takle_ has quit [Remote host closed the connection]
meschi has joined #ruby
bim is now known as Guest53081
silentpost has quit [Client Quit]
<jhass>
well yeah
<jhass>
but you can easily write some template generator, there probably are some already
Takle has joined #ruby
<jhass>
I know of at least two gem2arch that stub out a PKGBUILD for a gem
<jhass>
there's updpkgsums that updates the hashes and so on
<jhass>
it's an easy to script format
<jhass>
sed -i "s/pkgver=.\+/pkgver=$version/" PKGBUILD
<jhass>
got that in a script
sevenseacat has joined #ruby
sevvie has quit [Ping timeout: 256 seconds]
<jhass>
so I just for name in ruby1.9-bundler ruby2.0-bundler ruby2.1-bundler; do ./bump_pkg.sh $name 1.9.4; done to bump my bundler packages n the AUR
rodferso1 has joined #ruby
<jhass>
didn't even save that, it's just in my shell history
<shevy>
hmm
lobolars has quit [Remote host closed the connection]
yfeldblu_ has quit [Ping timeout: 245 seconds]
<shevy>
You wrote above that the :: renames a download. Is that a common pattern in a PKGBUILD?
sevvie has joined #ruby
<jhass>
only when you download from weird locations, like git snapshots
<jhass>
github's tarball route doesn't yield nice filenames either
<jhass>
stuff like that
<shevy>
aaaaah
Takle has quit [Ping timeout: 256 seconds]
<shevy>
yeah
<shevy>
now that makes a lot more sense to me
konsolebox has joined #ruby
rodfersou has quit [Ping timeout: 248 seconds]
Guest53081 has quit [Remote host closed the connection]
<jhass>
source also takes all kind of VCS URLs, git://, hg:// svn:// and so on and makepkg automatically fetches that and calls pkgver() and replaces the pkgver variable with it
<jhass>
so you just rebuilt such a package if you want to update to the latest development version of something
rodferso1 has quit [Quit: leaving]
pen has quit []
rodfersou has joined #ruby
mengu has quit [Remote host closed the connection]
lobolars has joined #ruby
lobolars has quit [Remote host closed the connection]
konsolebox has quit [Quit: Leaving]
ringarin has joined #ruby
rkmylo has joined #ruby
Igorshp has quit [Remote host closed the connection]
MyGreenPickle has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
matcouto has joined #ruby
DerisiveLogic is now known as danecandor
RegulationD has joined #ruby
ringarin has quit [Ping timeout: 264 seconds]
elfuego has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
Akagi201 has quit [Remote host closed the connection]
MyGreenPickle has quit [Ping timeout: 246 seconds]
sevenseacat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has joined #ruby
nszceta has joined #ruby
CloCkWeRX has quit [Ping timeout: 256 seconds]
jimms has joined #ruby
Takle has joined #ruby
Takle has quit [Remote host closed the connection]
Takle has joined #ruby
mengu has joined #ruby
noteugene has joined #ruby
vt102 has joined #ruby
<noteugene>
Hi guys, has anybody else noticed a memory issue after upgrading from ruby 2.2.0 to 2.2.1?
rkmylo has left #ruby [#ruby]
krisquigley has joined #ruby
<ddv>
no
chridal has joined #ruby
GeorgeThompson has joined #ruby
<noteugene>
freaking weird, okay
xmad-afk is now known as xmaddness
doodlehaus has joined #ruby
doodlehaus has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
doodlehaus has joined #ruby
rj-code has joined #ruby
elfuego has quit [Quit: elfuego]
krisquigley has quit [Ping timeout: 245 seconds]
elfuego has joined #ruby
Beliq has quit [Quit:
zachrab has joined #ruby
vivekananda has joined #ruby
doodlehaus has quit [Remote host closed the connection]
vt102 has quit [Remote host closed the connection]
max96at|off has quit [Quit: Bye!]
pika_pika has joined #ruby
vt102 has joined #ruby
max96at|off has joined #ruby
max96at|off is now known as max96at
ByronJohnson has quit [Ping timeout: 256 seconds]
MyGreenPickle has joined #ruby
elfuego has quit [Ping timeout: 245 seconds]
zachrab has quit [Ping timeout: 245 seconds]
ByronJohnson has joined #ruby
bim has joined #ruby
casadei has joined #ruby
brb3 has joined #ruby
bim is now known as Guest10679
jottr has joined #ruby
joonty has quit [Quit: joonty]
meschi has joined #ruby
vt102 has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
ldnunes has joined #ruby
startupality has joined #ruby
casadei has quit [Ping timeout: 245 seconds]
lordkryss has quit [Quit: Connection closed for inactivity]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
rhllor has joined #ruby
nszceta has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ChoiKyuSang has joined #ruby
Caius has quit [Ping timeout: 276 seconds]
bMalum has joined #ruby
quimrstorres has quit [Remote host closed the connection]
rsavage has joined #ruby
rsavage is now known as NinjaOps
nettoweb has joined #ruby
iotouch has joined #ruby
Caius has joined #ruby
sgambino has joined #ruby
CloCkWeRX has joined #ruby
bMalum has quit [Quit: bMalum]
ponga has quit [Quit: Connection closed for inactivity]
ringarin has joined #ruby
iteratorP has quit [Remote host closed the connection]
freerobby has joined #ruby
djellemah has joined #ruby
Beliq has joined #ruby
lanemeyer has joined #ruby
maximski has joined #ruby
sinkensabe has joined #ruby
Akagi201 has quit [Ping timeout: 246 seconds]
Akagi201 has joined #ruby
axilla has quit [Quit: Lost terminal]
arup_r has quit [Remote host closed the connection]
joonty has joined #ruby
Takle has quit []
turtil has quit [Quit: WeeChat 1.1.1]
Symbiosisz has quit [Quit: Leaving]
Pumukel has joined #ruby
zubov has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
amdbcg has joined #ruby
RegulationD has joined #ruby
Rapier- has joined #ruby
sigurding has quit [Quit: sigurding]
iteratorP has joined #ruby
livathinos has joined #ruby
pl1ght has quit [Quit: WeeChat 0.4.2]
arup_r has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
joonty has quit [Quit: joonty]
naftilos76 has joined #ruby
vt102 has joined #ruby
joonty has joined #ruby
vt102 has quit [Max SendQ exceeded]
vt102 has joined #ruby
amdbcg has quit [Ping timeout: 250 seconds]
professor_soap has joined #ruby
hmsimha has joined #ruby
Beliq has quit [Quit:
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
iotouch has quit [Quit: This computer has gone to sleep]
<professor_soap>
Hi people
edma10 has joined #ruby
<edma10>
ciao
jherbst has joined #ruby
nateberkopec has joined #ruby
bradleyprice has joined #ruby
ChoiKyuSang has joined #ruby
<professor_soap>
Say you had a string looking like this [LINK]Lorem Ipsum Dalor@http://www.foo.com/bar[/LINK] and you needed to make it into a html <a> tag where href would be the url right to the @ and the text within the tag would be "Lorem Ipsum Dalor", how would you go about?
Jamo___ has quit [Ping timeout: 250 seconds]
sevenseacat has joined #ruby
<jhass>
professor_soap: seems easy enough for a regexp
<jhass>
hanmac1: why don't you let people learn :(
<hanmac1>
its currently to hot outside ... i am to lazy to wait until he might gets it ...
withnale_ has joined #ruby
<jhass>
besides yours is too greedy
dumdedum has quit [Quit: foo]
yqt has joined #ruby
joonty has quit [Quit: joonty]
<jhass>
"[LINK]Lorem Ipsum Dalor@http://www.foo.com/bar[/LINK] and [LINK]another@one[/LINK]".gsub(/\[LINK\](.+)@(.+)\[\/LINK\]/i) { "<a href='#$2'>#$1</a>"}
<jhass>
>> "[LINK]Lorem Ipsum Dalor@http://www.foo.com/bar[/LINK] and [LINK]another@one[/LINK]".gsub(/\[LINK\](.+)@(.+)\[\/LINK\]/i) { "<a href='#$2'>#$1</a>"}
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pl1ght has joined #ruby
<hanmac1>
now less greedy:
<hanmac1>
>> "[LINK]Lorem Ipsum Dalor@http://www.foo.com/bar[/LINK] and [LINK]Lorem Ipsum Dalor@http://www.foo.com/bar[/LINK]".gsub(/\[LINK\](.+?)@(.+?)\[\/LINK\]/i) { "<a href='#$2'>#$1</a>"}
<MyGreenPickle>
jhass: Nice, I had never heard of that. This is quite interesting to learn regex.
delianid_ has joined #ruby
kblake has joined #ruby
apoplexy has joined #ruby
oo_ has quit [Remote host closed the connection]
<jhass>
it'll teach you the thinking at least, it doesn't quite get into all the features
<professor_soap>
jhass: absolutely
maximski has quit [Ping timeout: 248 seconds]
delianides has quit [Remote host closed the connection]
vim_shimm has quit [Ping timeout: 245 seconds]
User458764 has joined #ruby
chinmay_dd has quit [Client Quit]
zubov has quit [Ping timeout: 250 seconds]
oo_ has joined #ruby
msmith has joined #ruby
Igorshp has joined #ruby
eshiffob has quit [Read error: Connection reset by peer]
ixti has joined #ruby
maximski has joined #ruby
lobolars has joined #ruby
kblake has quit [Ping timeout: 255 seconds]
_ixti_ has quit [Ping timeout: 245 seconds]
mgberlin has joined #ruby
sankaber has joined #ruby
spyderman4g63 has joined #ruby
msmith has quit [Remote host closed the connection]
lobolars has quit [Remote host closed the connection]
<hanmac1>
dorei: you did try to use require_relative inside irb or pry which doesnt make much sense
cefkamcau has joined #ruby
lobolars has joined #ruby
dblessing has joined #ruby
Igorshp has quit [Ping timeout: 246 seconds]
sprihodko has joined #ruby
iamninja has quit [Ping timeout: 272 seconds]
spyderma_ has joined #ruby
jerius has joined #ruby
lavros has joined #ruby
spyderman4g63 has quit [Ping timeout: 246 seconds]
ismaelga has joined #ruby
bMalum has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sprihodko is now known as homersimpson
homersimpson is now known as tokenvolt
maximski has quit []
ndrei has quit [Ping timeout: 264 seconds]
tokenvolt is now known as pinkman
elaptics is now known as elaptics_away
NoNMaDDeN has joined #ruby
agarie has joined #ruby
pinkman is now known as kshitijlakshmi
workmad3 has quit [Quit: Lost terminal]
brb3 has quit [Quit: <.<]
amdbcg has joined #ruby
brb3 has joined #ruby
sinkensabe has quit [Remote host closed the connection]
mrmargolis has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
doodlehaus has joined #ruby
sevvie has quit [Ping timeout: 248 seconds]
kobain has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
icebourg has joined #ruby
startupality has quit [Quit: startupality]
bMalum has quit [Quit: bMalum]
vim_shimm has joined #ruby
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elfuego has joined #ruby
startupality has joined #ruby
sgambino has quit [Remote host closed the connection]
colorados has joined #ruby
ag4ve_ has joined #ruby
mattarse has quit [Ping timeout: 245 seconds]
techsethi has quit [Quit: techsethi]
krz has joined #ruby
zz_AlphaTech is now known as AlphaTech
fryguy9 has joined #ruby
quimrstorres has joined #ruby
<sanguisdex>
so I am sitting here feeling like a complete tool not understanding the documentation for find. I don't know how to define the input vars. would be some one be willing to explain like I am five. https://gist.github.com/sanguis/58109b76dd74404c1f36
Vivex has quit [Read error: Connection reset by peer]
startupality has quit [Quit: startupality]
Igorshp has joined #ruby
<jhass>
sanguisdex: (1..10).each do |i| # you understand what i is in this, right?
nettoweb has joined #ruby
<sanguisdex>
jhass: it separates inputs input values right?
casadei has joined #ruby
bobbrez has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass>
I don't think so... (since I have trouble understanding what you mean with that)
fryguy9 has quit [Quit: Leaving.]
davedev24_ has joined #ruby
paulcsmith has joined #ruby
<jhass>
which Ruby tutorial do you follow?
ta has joined #ruby
d10n-work has joined #ruby
noname has quit [Ping timeout: 272 seconds]
<sanguisdex>
I tried using code schools, but I found it a little lacking.
<jhass>
mh
<jhass>
maybe Chris Pine's Learn to program would be something for you
sandelius has joined #ruby
techsethi has joined #ruby
fryguy9 has joined #ruby
shazaum has joined #ruby
fabrice31 has quit [Remote host closed the connection]
casadei has quit [Ping timeout: 250 seconds]
chridal has quit [Ping timeout: 252 seconds]
mgorbach has quit [Read error: Connection reset by peer]
sevvie has joined #ruby
mgorbach has joined #ruby
RegulationD has joined #ruby
dseitz has joined #ruby
sevenseacat has quit [Quit: Me dun like you no more.]
zenith_ has joined #ruby
startupality has joined #ruby
zenith_ has quit [Excess Flood]
sigurding has quit [Quit: sigurding]
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
krisquigley has joined #ruby
bkxd has joined #ruby
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
spyderma_ has quit [Remote host closed the connection]
kshitijlakshmi has quit [Quit: (null)]
zenith_ has joined #ruby
spyderman4g63 has joined #ruby
zenith_ has quit [Excess Flood]
zcreative has quit [Quit: (null)]
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
sgambino has joined #ruby
msmith has joined #ruby
fryguy9 has quit [Quit: Leaving.]
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
freerobby has quit [Quit: Leaving.]
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
mgberlin has quit [Remote host closed the connection]
failshell has joined #ruby
Sou|cutter has joined #ruby
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
Outlastsheep has joined #ruby
arup_r has quit []
zachrab has joined #ruby
zenith_ has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
zenith_ has quit [Excess Flood]
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Feyn has quit [Quit: Leaving]
fryguy9 has joined #ruby
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
ianseyer has joined #ruby
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
Outlastsheep is now known as zz_Outlastsheep
zenith_ has joined #ruby
zenith_ has quit [Excess Flood]
<sanguisdex>
jhass: I have been a developer for years, but mainly php. The hardest part about going from php to ruby is the each of multi dimensional arrays, and a more symbolic (operator driven) syntax.
<sanguisdex>
So in your above each, I understand that inside of that do loop the i would represent the array index being accessed
fabrice31 has joined #ruby
zenith_ has joined #ruby
fabrice31 has quit [Remote host closed the connection]
zenith_ has quit [Excess Flood]
zz_Outlastsheep is now known as Outlastsheep
bruno- has joined #ruby
<jhass>
no, it doesn't
<apeiros>
sanguisdex: huh? how's traversing multi-dimensional arrays (structurally) different in php?
zenith_ has joined #ruby
<ddv>
its not :)
zenith_ has quit [Excess Flood]
zachrab has quit [Ping timeout: 250 seconds]
B1n4r10 has joined #ruby
zenith_ has joined #ruby
<jhass>
so if you're a programmer, the terms loop, iteration, enumeration should mean something to you, why not use them over "separates inputs input values"?
<apeiros>
jhass: I think we have to still tweak the eval plugin of ruboto
<apeiros>
aaaand we need a !fixcon
freerobby has joined #ruby
sgambino has quit [Remote host closed the connection]
fryguy9 has joined #ruby
<jhass>
apeiros: I'll not touch plugin code till you declare your rewrite complete ;P
amdbcg has quit [Ping timeout: 248 seconds]
<apeiros>
jhass: aaahaha. don't worry, I'll port plugins.
amdbcg has joined #ruby
<apeiros>
should be (mostly) trivial
sinkensabe has joined #ruby
<apeiros>
but I think I'll be done after the next week-end.
<jhass>
yeah, but it won't go any faster anyhow
wmoxam_ is now known as wmoxam
werelivinginthef has joined #ruby
wmoxam has joined #ruby
wmoxam has quit [Changing host]
<sanguisdex>
ahhhh index/vs value that is what I was missing
horsecowdog has joined #ruby
<jhass>
whether I write stuff you have to port or wait until I can submit stuff you don't have to port... roughly the same
KramerC has quit [Ping timeout: 252 seconds]
axl_ has joined #ruby
ismaelga has quit [Ping timeout: 256 seconds]
rgb-one has joined #ruby
ismael__ has joined #ruby
<jhass>
sanguisdex: yeah, I think PHP conflating list and map into the same datastructure does serious damage to programmer thinking :/
lobolars has quit [Remote host closed the connection]
amdbcg has quit [Read error: No route to host]
apoplexy has joined #ruby
amdbcg has joined #ruby
zerowaitstate has joined #ruby
<sanguisdex>
jhass: it does, ontop of having learned on php, I learned in Druapl world
joonty has joined #ruby
banister has joined #ruby
<sanguisdex>
which is off practice centric
<certainty>
jhass: s/conflating list and map into the same datastructure//
<jhass>
well, that's probably easily the main issue though
Hirzu has quit [Ping timeout: 240 seconds]
maximski has joined #ruby
<jhass>
though weak typing doesn't help much either
Rickmasta has joined #ruby
amdbcg has quit [Read error: Connection reset by peer]
techsethi has quit [Quit: techsethi]
amdbcg1 has joined #ruby
Vivex has joined #ruby
rgb-one has quit [Read error: Connection reset by peer]
<certainty>
indeed
iteratorP has quit [Remote host closed the connection]
sigurding has joined #ruby
antgel has quit [Ping timeout: 246 seconds]
ismael__ has quit [Ping timeout: 248 seconds]
sinkensabe has quit [Remote host closed the connection]
RegulationD has quit [Remote host closed the connection]
<Outlastsheep>
certainty: certainly.
<Outlastsheep>
Sorry, I had to.
rgb-one has joined #ruby
<certainty>
:)
iteratorP has joined #ruby
chridal has joined #ruby
antgel has joined #ruby
SOLDIERz has quit [Ping timeout: 252 seconds]
RegulationD has joined #ruby
fryguy9 has quit [Quit: Leaving.]
bkxd has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
RegulationD has quit [Remote host closed the connection]
iceden has quit [Read error: Connection reset by peer]
rgb-one has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
<ninjs>
Does anyone have any experience with trying to parse a filetype that's not like excel, txt, or whatever? If I change the file extension to .txt I can open it and read all of the information... haha
Hirzu has joined #ruby
<adaedra>
ninjs: file
<adaedra>
(The command)
ujjain has joined #ruby
<adaedra>
Or is it not your question ?
rbennacer has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
<Outlastsheep>
ninjs: I used to make a tiny game with Lua, and saved all the savedata to a file with plain text. I just changed the extension from '.txt' to '.und'
RegulationD has joined #ruby
dfinninger has joined #ruby
tagrudev has quit [Remote host closed the connection]
<ninjs>
Let me phrase my question differently. My company works with claim software that produces claims in two file types, with two different extensions. '.ub4' and '.npi' I need to write something in ruby that can go through a directory, parse each file, and then spit out some kind of output file. I've got the output part managed, but I'm struggling where to
<ninjs>
start with the input
Morkel has quit [Quit: Morkel]
rbennacer has quit [Remote host closed the connection]
lolmaus_ has joined #ruby
riotjones has quit [Remote host closed the connection]
<certainty>
i still don't get it
rbennacer has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
emocakes has joined #ruby
<apeiros>
ninjs: do you know the structure of the data in those files?
fryguy9 has joined #ruby
<apeiros>
I'm a bit confused as to how you managed to do the output part without having the input first :D
<ninjs>
I mean I know how to handle the output (spreadsheet gem)
ndrei has joined #ruby
oo_ has quit [Remote host closed the connection]
<adaedra>
ninjs: do you have the specification on the file format ?
mitchellhenke has joined #ruby
<ninjs>
When you say structure... if I open it with the claim software all the values are mapped to places on the page. If I open them in a text editor or excel, all the values are like per line
<adaedra>
no
<ninjs>
no it's made by a stupid company that doesn't release anything
MyGreenPickle has quit [Ping timeout: 265 seconds]
<adaedra>
ah
amdbcg1 has quit [Ping timeout: 246 seconds]
<adaedra>
then you'll have to reverse eingeneer it
<ninjs>
and they are like the sole competitor in their space
<apeiros>
then there are the less heavyweight solutions like just plain StringScanner and/or String#scan/#split/#match
* certainty
fell in love with parselt recently
<certainty>
parslet even
<apeiros>
ninjs: but all of that starts with what everybody else just said - figure out the format
lolmaus__ has joined #ruby
ismaelga has joined #ruby
<ninjs>
When you say figure out the format.. I'm lost. Like you think they are just using a format like XML or something and then putting their own extension on it?
lolmaus_ has quit [Quit: Konversation terminated!]
<certainty>
more like looking at the data and trying to spot the pattern
<apeiros>
ninjs: xml would be a way of structuring, yes.
<apeiros>
but it could also be a binary data format
<apeiros>
or some plaintext serialization
<apeiros>
*we* can't do that for you ninjs.
<certainty>
or music
<avril14th>
Hello, any hint on how should one write a client that fires request to a server that has some request throttling limits (rejects all requests if more than 30 per 60 seconds)?
<apeiros>
especially not without having any examples.
<ninjs>
That's the frustrating part. There's no format. If I open it in .txt format, it's just like one of the values, some breaks, another value, some breaks
lolmaus__ has quit [Client Quit]
<apeiros>
good luck then
dvxam has joined #ruby
<ddv>
avril14th: pretty simple, just record the timestamp of the last request
<certainty>
ninjs: did you try to run file(1) on it? maybe worth a shot
<ninjs>
I guess it could be possible that they are just mapping values on each line to a box.. that would sort of make sense
<avril14th>
ddv: that won't be enough. Since you also need to know how many requests were made on the past rolling 60 seconds. Now, the server API also supports batches (meaning to take one request for several jobs instead of one request per job, so I could merge my tasks and fire much less requests)
<ddv>
avril14th: yeah so record that too
lolmaus has joined #ruby
<avril14th>
well, yeah, though it would be much better to use the batch interface
<avril14th>
since I could still hit the limit of requests per minute and so have a growing queue that could never reduce
ismaelga has quit [Ping timeout: 248 seconds]
<ddv>
avril14th: ok, so why did you ask the question in the first place then if you already have the anwer?
ismaelga has joined #ruby
dfinninger has quit [Remote host closed the connection]
<avril14th>
I don't have the answer
MyGreenPickle has joined #ruby
fryguy9 has quit [Quit: Leaving.]
andikr has quit [Remote host closed the connection]
bradleyprice has quit [Remote host closed the connection]
Obfuscate has quit [Ping timeout: 252 seconds]
oddskill_afk is now known as wellbutidkwtf
poguez_ has joined #ruby
chrissonar has quit [Remote host closed the connection]
solars has joined #ruby
<solars>
hi, what's the right method to remove items from an array that are not in a second array? e.g. [a,b], [a, c] -> [a]?
<jhass>
dvxam: demo only, pry/irb for experiments ;)
<dvxam>
Yes ;)
tkuchiki_ has quit [Ping timeout: 250 seconds]
jottr has quit [Ping timeout: 248 seconds]
<shevy>
why aren't there more games in ruby
ta has quit [Remote host closed the connection]
<hanmac1>
shevy write one ;P
<shevy>
nobody would play it
hanmac1 has quit [Quit: Leaving.]
<dudedudeman>
goooooOOOOODDD morning!
<adaedra>
woah dude
<ninjs>
Good news... If I do f = File.open('filename.ext', 'r') and then f.readline ... I can go through the file and find the values as strings with \r\n at the end of them.. So I could maybe write something that for each file, go through each line and store the value, then output it through the Spreadsheet gem? Sorry I'm just kind of thinking outloud but I want
<ninjs>
to make sure I have the right idea
<adaedra>
ninjs: it really depends on how the file is formatted
kraljev11 has quit [Read error: Connection reset by peer]
kraljev11 has joined #ruby
paulcsmith has joined #ruby
professor_soap has quit []
dfinninger has joined #ruby
wedgeV has joined #ruby
evanjs has quit [Remote host closed the connection]
iceden has joined #ruby
tier_ has joined #ruby
amdbcg has joined #ruby
vire has joined #ruby
gagrio has quit [Ping timeout: 248 seconds]
noname has joined #ruby
joonty has quit [Quit: joonty]
arturaz has quit [Ping timeout: 250 seconds]
aganov has quit [Quit: Leaving]
joonty has joined #ruby
kraljev11 has quit [Read error: Connection reset by peer]
evanjs has joined #ruby
tus has joined #ruby
tier has quit [Ping timeout: 265 seconds]
Spami has joined #ruby
Igorshp has quit [Remote host closed the connection]
gfawcettpq has quit [Ping timeout: 272 seconds]
GeorgesLeYeti has joined #ruby
<GeorgesLeYeti>
Hi
spyderman4g63 has quit [Read error: Connection reset by peer]
Igorshp has joined #ruby
<jhass>
ninjs: I think you're right, it's probably just mapping line numbers to fields
Zamerick has joined #ruby
<GeorgesLeYeti>
Let's sayt that I have a string like 'Hi World. Hello World World World ' I want to have 'Hi World. Hello'. So something like a.gsub(/World \z/, "") but recursivly.
cocotton has joined #ruby
uri_ has joined #ruby
baroquebobcat has joined #ruby
cpt_yossarian has joined #ruby
fabrice31 has joined #ruby
anibara has quit [Ping timeout: 250 seconds]
ianseyer has joined #ruby
sinkensabe has joined #ruby
oo_ has joined #ruby
riotjones has joined #ruby
tkuchiki has joined #ruby
solars has quit [Ping timeout: 246 seconds]
<pagios>
:blah : "tesT" same as blah => "tesT" ?
<pagios>
:blah => "tesT" same as blah: "tesT" ?
<toretore>
yes
rhllor has joined #ruby
fabrice31 has quit [Ping timeout: 246 seconds]
antgel has joined #ruby
Azure has quit [Ping timeout: 246 seconds]
fryguy9 has quit [Read error: Connection reset by peer]
fryguy9 has joined #ruby
evanjs has quit [Remote host closed the connection]
paulcsmith has quit [Quit: Be back later ...]
speakingcode has joined #ruby
paulcsmith has joined #ruby
riotjones has quit [Ping timeout: 250 seconds]
hmsimha has quit [Ping timeout: 256 seconds]
<jhass>
pagios: almost {blah: "tesT"} == {:blah => "tesT"}
izzol has joined #ruby
<pagios>
this amazon thing is killing me..
evanjs has joined #ruby
<izzol>
Is it possible to (somehow) get the data from sqlite not in array?
<dudedudeman>
thank you for saying Amazon. reminds me i need to go buy the pickaxe book
MyGreenPickle has quit [Ping timeout: 245 seconds]
<izzol>
I'm trying to get data from sqlite but each data/select is array.
failshell has quit [Read error: Connection reset by peer]
<dudedudeman>
izzol: i know you can use column mode and turn on header output
failshell has joined #ruby
spyderman4g63 has joined #ruby
<toretore>
izzol: you say what you don't want, but not what you want
mengu has quit [Remote host closed the connection]
gfawcettpq has joined #ruby
<izzol>
toretore: I'm keeping the Time.now in one column, and I need it as it is (Time).
<izzol>
not the array :(
snockerton has joined #ruby
<izzol>
So not on the putput I have: "[["2015-04-15 11:13:09 -0400"]]"
<izzol>
which is wrong, as It's hard to use it :(
<jhass>
GeorgesLeYeti: (Word )+\z ?
<jhass>
prolly non-capturing: (?:World )+\z
grindmodeon has joined #ruby
wellbutidkwtf is now known as oddskill
chridal has quit [Ping timeout: 272 seconds]
bradleyprice has joined #ruby
<a5i>
Lets say I have a hash like {"food" => "apple"}
<a5i>
can I do hash["apple"] so it returns the key ?
jheg has joined #ruby
bradleyprice has quit [Read error: Connection reset by peer]
<jhass>
.key("apple"), but (a big one): why is it not {"apple" => "food"} ?
speaking1ode has joined #ruby
gauke has quit [Quit: gauke]
bradleyprice has joined #ruby
nathanows has joined #ruby
speakingcode has quit [Ping timeout: 250 seconds]
<a5i>
jhass, maybe I dont know the key but the value
<jhass>
but if that's the case, why don't you build you hash so that the value is the key?
speaking1ode is now known as speakingcode
allenn has quit [Remote host closed the connection]
<a5i>
o
<a5i>
I never thought of it that way
meschi has quit [Remote host closed the connection]
HayesHimself has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
renier_ has joined #ruby
<pagios>
is this valid? string_value: "{ \'data\': { \'message\': \'hi\' } }",
krisquigley has joined #ruby
selu has joined #ruby
<jhass>
>> {string_value: "{ \'data\': { \'message\': \'hi\' } }"} # sooo easy to try out
<ruboto>
ninjs # => undefined method `strftime' for "2015-04-10":String (NoMethodError) ...check link for more (https://eval.in/314005)
<jhass>
strptime is much better if you know the format
saturnflyer has quit []
aphprentice has joined #ruby
zorak8 has quit [Ping timeout: 246 seconds]
mistermocha has joined #ruby
endash has joined #ruby
shellfu has joined #ruby
GenghisKen has quit [Ping timeout: 245 seconds]
maximski has joined #ruby
Akagi201 has quit [Remote host closed the connection]
Casshern2 has quit [Ping timeout: 246 seconds]
oo_ has quit [Remote host closed the connection]
dumdedum has joined #ruby
maximski has quit [Client Quit]
luser_ has quit [Remote host closed the connection]
oo_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
ndrei has joined #ruby
graydot has joined #ruby
nathanows_ has joined #ruby
graydot has quit [Client Quit]
mistermocha has quit [Read error: Connection reset by peer]
Soda has quit [Remote host closed the connection]
amdbcg has quit [Ping timeout: 244 seconds]
blueOxigen has quit [Ping timeout: 255 seconds]
bluOxigen has joined #ruby
mistermocha has joined #ruby
sethetter has joined #ruby
xtreak has joined #ruby
<sethetter>
I have a an object I'm trying to use `.send` on with a variable like 'foo.bar.baz', and what I want is `obj.foo.bar.baz`. Can that be achieved with .send?
havenwood has quit [Ping timeout: 245 seconds]
Guest10679 has quit [Remote host closed the connection]
<jhass>
sethetter: yeah, just split it up and call .send each time
<jhass>
.inject will be handy
baroquebobcat has joined #ruby
<jhass>
I prefer public_send btw
<sethetter>
What about .instance_eval? I just found that and it seems to work.
User458764 has joined #ruby
lavros has quit [Ping timeout: 250 seconds]
dsaf has quit [Remote host closed the connection]
<jhass>
send is saner
<sethetter>
Seems that way, haha
<jhass>
where does that string come from in the first place?
<sethetter>
A URL param >_<
<jhass>
d'oh
<sethetter>
Yeah, I know :(
<jhass>
then neither do eval nor send
<jhass>
just don't
<jhass>
find a different design
<sethetter>
Fair enough. I've decided on that already, but I have a hotfix I have to get out and working at the moment.
<jhass>
back to the drawing board, there's shame and death further along this path
<sethetter>
Haha, noted.
<sethetter>
Bandaids aren't fun, but my hands are tied at the moment.
<jhass>
because a hotfix send'ing an URL param is that kind of category
michaeldeol has joined #ruby
<sethetter>
I don't
mistermocha has quit [Ping timeout: 240 seconds]
<certainty>
muha reminds me of cisco ip phones that would do their firmware upgrade from an url that you pass as a GET-Parameter to and endpoint on their webinterface
nathanows_ has quit [Quit: nathanows_]
MyGreenPickle has quit [Ping timeout: 245 seconds]
<shevy>
nemish works; add the .downcase after the ]
<nemish>
doh.. okay thanks
naftilos76_ has joined #ruby
izzol has quit [Quit: leaving]
<pagios>
optprase.rb in '===' invalid bytre sequence in UTF-8 ArgumentError jhass
livathinos is now known as livathinos|away
livathinos|away has quit []
<jhass>
aha
<jhass>
thanks for the info
DaniG2k has quit [Quit: leaving]
* jhass
carries on
xtreak has left #ruby ["AndroIRC"]
rzewski has joined #ruby
nathanows_ has quit [Ping timeout: 252 seconds]
<naftilos76_>
Is there any reason why i should not do IO.read("filename") but instead do : File.open(filename, "r") do |f| f.flock(File::LOCK_SH) f.read end ???
<adaedra>
none
<adaedra>
except if you absolutely want a lock during the read
<adaedra>
which seems useless
<jhass>
in that particular example, yeah, the locking
Joufflu has quit [Read error: Connection reset by peer]
eytanfb has quit [Ping timeout: 256 seconds]
deric_skibotn has joined #ruby
jheg has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
cpt_yossarian has joined #ruby
zzing has joined #ruby
<jhass>
allcentury: first wild guess: s/localhost/127.0.0.1/
vt102 has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
fryguy9 has joined #ruby
vt102 has joined #ruby
hectortrope has quit [Quit: WeeChat 0.4.2]
<jhass>
allcentury: then I think you want to use connect instead of the send form that takes those params
gfawcettpq has joined #ruby
Senjai has joined #ruby
Senjai has quit [Changing host]
mary5030 has joined #ruby
DuoSRX has joined #ruby
<allcentury>
I'm not sure I understand what s/localhost/127.0.0.1 means?
amdbcg has quit [Ping timeout: 272 seconds]
vt102 has quit [Remote host closed the connection]
<jhass>
replace by
MyGreenPickle has quit [Ping timeout: 245 seconds]
<jhass>
avoid the lookup in each iteration
_honning_ has quit [Ping timeout: 245 seconds]
<jhass>
though using connect would solve that too
<atmosx>
allcentury: localhost must be matched against /etc/host, must be 'resolved'
<atmosx>
allcentury: but I don't that is going to add too much... if it does your DNS setup is fucked up
<allcentury>
hrm
<jhass>
but still enough to be slower than a file
<atmosx>
yes, sure
<atmosx>
it's a +1 call
<jhass>
what's your requirements for the receiving side?
<jhass>
I'd dig into a named pipe
<allcentury>
so in the real world this was getting sent over UDP into logstash
MyGreenPickle has joined #ruby
<allcentury>
I'm trying to isolate where our bottleneck is at the moment
ujihisa has quit [Ping timeout: 276 seconds]
<pagios>
how can i put GCM inside default and not put it as a sibling in json? [{ "default": "Str" } , {"GCM": "{ \"data\": { \"message\": \"c\" } }"}]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
basiclaser has quit [Quit: Connection closed for inactivity]
RegulationD has joined #ruby
RegulationD has quit [Remote host closed the connection]
<jhass>
allcentury: so for starters I'd try using connect on the socket
riskish has joined #ruby
<pagios>
finally it works
RegulationD has joined #ruby
jgoyon has quit [Remote host closed the connection]
pengin has joined #ruby
<allcentury>
jhass: WHOA! 1.27 if I use connect instead
<allcentury>
1.27seconds*
User458764 has joined #ruby
thomcom has joined #ruby
amdbcg has joined #ruby
<jhass>
maybe there's some interesting flag that you can pass too, digging through Socket::MSG_* might be worth it
vt102 has joined #ruby
grindmodeon has joined #ruby
mary5030 has quit [Remote host closed the connection]
<atmosx>
allcentury: what was your previous number?
zz_Outlastsheep is now known as Outlastsheep
djbkd has quit [Remote host closed the connection]
Hijiri has quit [Quit: WeeChat 1.0.1]
<allcentury>
24 seconds
ki0 has quit [Ping timeout: 250 seconds]
<atmosx>
oh I se..
ismaelga has quit [Remote host closed the connection]
<marens>
allcentury: we implemented that in our app recently but went for async writing log events to a queue and periodically pushing them to logstash via tcp
djbkd has joined #ruby
thiagovsk has joined #ruby
<marens>
allcentury: the question is if you want the logger call to return fast or to have the mesaage send to the receiving end as fast as possible
lolmaus_ has quit [Quit: Konversation terminated!]
<marens>
with udp you might end up with split messages due to udp size limitations
CloCkWeRX has quit [Quit: Leaving.]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
krisquigley has quit [Remote host closed the connection]
colorados has quit [Ping timeout: 250 seconds]
colorisco has quit [Ping timeout: 272 seconds]
krisquigley has joined #ruby
Kricir has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
ta has joined #ruby
dmmoody has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
krisquigley has quit [Ping timeout: 248 seconds]
cpt_yossarian has quit [Ping timeout: 245 seconds]
chridal has joined #ruby
blackmesa has quit [Ping timeout: 256 seconds]
chrisja has joined #ruby
failshell has joined #ruby
ghr has quit [Ping timeout: 276 seconds]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djellemah has quit [Remote host closed the connection]
nathanows has quit [Ping timeout: 265 seconds]
Advocation has joined #ruby
dfinninger has joined #ruby
f3lp has quit [Ping timeout: 246 seconds]
cosmicfires has quit [Quit: bye...]
dfinninger has quit [Read error: Connection reset by peer]
withnale_ has quit [Ping timeout: 252 seconds]
colorados has joined #ruby
dfinninger has joined #ruby
colorisco has joined #ruby
chridal has quit [Ping timeout: 272 seconds]
mengu has joined #ruby
mengu has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fryguy9 has quit [Quit: Leaving.]
mengu has quit [Remote host closed the connection]
wald0 has joined #ruby
Hijiri has joined #ruby
mengu has joined #ruby
djbkd has quit [Remote host closed the connection]
small-chimp has joined #ruby
meschi has joined #ruby
n80 has quit [Quit: n80]
<small-chimp>
burn all jews in oven
jlast has quit [Remote host closed the connection]
davispuh has joined #ruby
<jhass>
!ban small-chimp bye
jlast has joined #ruby
<small-chimp>
burn all jews in oven
<small-chimp>
sieg heil
<jhass>
!ban small-chimp !P bye
<small-chimp>
only muslims have a right to live
small-chimp was kicked from #ruby by ChanServ [Banned: bye]
tier has joined #ruby
dfinninger has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
<jhass>
apeiros: what about defaulting to !P if it seems missing?
nathanows has joined #ruby
<crowell>
chanserv has commands like that?
bMalum has joined #ruby
Caius has quit [Ping timeout: 276 seconds]
<crowell>
i had no idea
<GaryOak_>
It's 2015 why do people still do that shit
dmmoody_ has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
<jhass>
crowell: yeah, chanserv help kick, chanserv help akick
jlast has quit [Read error: Connection reset by peer]
jlast_ has joined #ruby
tier_ has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
fryguy9 has joined #ruby
blueOxigen has quit [Ping timeout: 246 seconds]
Caius has joined #ruby
DrCode has joined #ruby
XorSwap has joined #ruby
<dmmoody_>
msg NickServ IDENTIFY dmmoody bango1
<jhass>
dmmoody_: new password time!
<tmadsen>
:D
<jhass>
and choose a bettter one this time
<dmmoody_>
grrr...yup
teddyp1cker has joined #ruby
ta has quit [Remote host closed the connection]
mengu has quit [Read error: Connection reset by peer]
<thomcom>
hahaha
<thomcom>
lawls
jenrzzz has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
apoplexy has quit [Ping timeout: 250 seconds]
<thomcom>
Using a high security password here seems kind of silly, the primary risk is being impersonated on IRC
hyperjuice has joined #ruby
Renich has quit [Quit: leaving]
fryguy9 has quit [Quit: Leaving.]
Outlastsheep is now known as zz_Outlastsheep
kaspernj has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
<bricker>
thomcom: can be pretty dangerous though
<bricker>
if someone things you are someone you're not
vdamewood has joined #ruby
bluOxigen has quit [Remote host closed the connection]
fryguy9 has joined #ruby
Filete has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
bluOxigen has joined #ruby
Hounddog has quit [Remote host closed the connection]
havenn has joined #ruby
<eam>
why would you ever have a password not randomly generated and stored in a password manager?
<atmosx>
GaryOak_: racism is growing rampant throughout Europe :-(
<GaryOak_>
Really?!
havenwood has quit [Ping timeout: 246 seconds]
<atmosx>
lol
jheg has quit [Quit: jheg]
<atmosx>
GaryOak_: You didn't notice?
<GaryOak_>
I thought Europe was finally getting their shit together
<atmosx>
GaryOak_: hm, apparently in 2 weeks time there will be plenty of shit around and won't be *together* by no means.
allcentury has quit [Ping timeout: 256 seconds]
ghr has joined #ruby
<GaryOak_>
What does that mean?
<GaryOak_>
In 2 weeks time?
gusrub has joined #ruby
felltir has joined #ruby
<atmosx>
GaryOak_: time will tell of course, but right-wing parties are growing in UK, France and Germany.
felltir has quit [Client Quit]
thatslifeson_ has joined #ruby
leafybas_ has joined #ruby
<GaryOak_>
They are mad at Islam this time instead of Judism
<atmosx>
GaryOak_: well by April 24 Greece might default (like officially). Then I seriously don't know what's gonna happen. because shit will hit in weeks or month Italy and Spain or maybe not. We'll see.
<eam>
not that racism is primarily a function of where one stands on a left/right spectrum
<eam>
in the US, most racists self-identify with the left
<atmosx>
eam: well it was kinda associated with far-right. But generally speaking it's poverty which gives political space to extremists
<eam>
and both sides think the other is racist
leafybas_ has quit [Remote host closed the connection]
<atmosx>
eam: I find that hard to believe.
<atmosx>
eam: btw there's no 'left' in the US
pandaant has joined #ruby
<eam>
atmosx: poverty / lack of education give rise to certain types of racism, but privilige gives rise to other types
<shellfu>
Racism will be alive until we're all in silver jumpsuits with robots with flailing arms.
<atmosx>
eam: like which one?
<eam>
atmosx: well, I think left/right is largely a false dichotomy so I won't argue :)
<ytti>
in two party system you really have only one party
<atmosx>
eam: If we're talking about the US, I agree.
<eam>
ytti: but there are minor differences! And the branding is totally different
<ytti>
because neither can afford to alienate half of the voters
<eam>
atmosx: I'm talking about humans in general, in all places and historical contexts
lobolars has joined #ruby
amdbcg has quit [Ping timeout: 250 seconds]
<ytti>
i found it lulzy how it was utterly obvious to both candidates that military expenses need to be increased
charliesome has joined #ruby
<eam>
I agree all the "sides" in america have a lot in common with each other
<GaryOak_>
The US has institutional racism, so we can feel better about ourselves
<atmosx>
eam: then you probably better stick with programming? :-P
leafybasil has quit [Ping timeout: 255 seconds]
<ytti>
that would be something that left-leaning party would never propose in country with multiple parties
thatslifeson has quit [Ping timeout: 245 seconds]
ghr has quit [Ping timeout: 256 seconds]
<eam>
every group thinks every other group is subject to issues which they aren't
<eam>
it's rarely true
<shellfu>
yeah. what flared up this topic in a ruby channel? Kinda counter-productive to ruby learning. Not that I give two shits, but this may not be the right forum for such a discussion.
<GaryOak_>
shellfu: some spammer came on the channel shouting racist crap
<shellfu>
Ah
<GaryOak_>
But yes back to ruby
gcheng has joined #ruby
<gcheng>
hi
<gcheng>
hi friends
<shellfu>
:)
<havenn>
gcheng: hi
bruno- has quit [Ping timeout: 265 seconds]
havenn is now known as havenwood
n80 has joined #ruby
<gcheng>
newbie to ruby & ERB
<gcheng>
I am newbie :)
<atmosx>
I am a newbie too
huddy has quit [Quit: Connection closed for inactivity]
<gcheng>
how can I stop one variable inside ERB from interpolating?
<atmosx>
gcheng: by removing it?
<shellfu>
exclude it :)
dfinninger has joined #ruby
<gcheng>
say, I have 4 variables, 3 needs to be interpolated, and one should not.
<gcheng>
basically the ideas is from ERB into another ERB
<atmosx>
gcheng: from erb into another erb?
<gcheng>
yes
<atmosx>
I don't understand what that might mean
<shellfu>
maybe throw your vars into an array and if array val == one you dont want dont print it
dmmoody_ has quit []
dmmoody_ has joined #ruby
* shellfu
is dropping turkey sandwich into his mechanical keyboard!!!
<shellfu>
brb
<gcheng>
say I have ‘<%= var1 %> <\%\= var2 %>
<gcheng>
can I do that?
<atmosx>
doesn't make sense
<gcheng>
my app needs the output to be: value1 <%= var2 %>
ebbflowgo has quit [Read error: Connection reset by peer]
<gcheng>
is that possible with escaping and similar tweak?
enebo has joined #ruby
ebbflowgo has joined #ruby
agarie has quit []
<atmosx>
You cant to not render erb code?
anthony has joined #ruby
<gcheng>
say, if my input is <%= var1 %> <\%\= var2 %>, then var2 will not be escaped, then can I use another ruby function to unescape the output?
<gcheng>
unescape to <%= var2 %> ?
anthony is now known as Guest18935
<adaedra>
what are you trying to do, just print ’<%’ ?
teddyp1cker has quit [Remote host closed the connection]
wald0 has quit [Ping timeout: 248 seconds]
odin22 has joined #ruby
<dudedudeman>
let's say i have a has {:thing1 => "1", :thing2 => "2"} and i want to pass user input to the values of my keys. so basically, this: {:thing1 => "user field", :thing2 => "user field"}
<dudedudeman>
have a hash*
Juanchito has quit [Quit: Connection closed for inactivity]
Pixi_ has joined #ruby
mengu has quit [Remote host closed the connection]
<A124>
wasamasa Where should I ask then?
_honning_ has joined #ruby
fryguy9 has quit [Quit: Leaving.]
ndrei has joined #ruby
<wasamasa>
A124: ##c
<wasamasa>
A124: or ##programming
Xiti has quit [Ping timeout: 248 seconds]
<A124>
It concerns ruby not c.
<wasamasa>
uh
<A124>
Its code in Ruby not code in C
<toretore>
A124: what exactly is it you want to asking about?
XorSwap has quit [Ping timeout: 240 seconds]
<wasamasa>
A124: you don't want that really
<toretore>
*ask
<wasamasa>
A124: besides, it's better to understand C++ first, so ask them
Lingo__ has joined #ruby
<jhass>
hash[:thing1] = user_input; hash[:thing2] = user_input; or directly in the hash definition: {thing1: user_input, thing2: user_input}
<A124>
tekacs Imlpementing an interpreter for a very limited subset of c++
<jhass>
dudedudeman: ^
<dudedudeman>
jhass: thanks. and can i assign and instance variable to that user_input? so like @user_input1, @user_input2 and so on?
<toretore>
A124: that's not a question; be more specific
<voodookobra>
show of hands, who uses open-uri? :D
<jhass>
dudedudeman: you can put whatever valid ruby expression there really
<toretore>
open-uri is stupid
<A124>
toretore How do I proceed with parsing and interpretting a relatively simple language aka subset of c++?
<dudedudeman>
jhass: thank you. i officially love you.
<voodookobra>
toretore: :D
balazs_ has joined #ruby
<ninjs>
jhass is the best
* dudedudeman
flaunts his new knowledge like a badge of honor
<toretore>
A124: that is like asking "how do i make a program that does the same as excel"
<toretore>
A124: be more specific
<balazs_>
Hi, I'm having problems with bundler. Any chance there's an online form where I can upload my Gemfile and get a fresh Gemfile.lock ?
<A124>
How do I proceed with lexical parsing and analysis in Ruby?
<jhass>
balazs_: Gemfile, Gemfile.lock, full command output + invocation that's causing you issues -> gist
<wasamasa>
eam: it's not about implementing it in C++, they want to parse C++ in ruby
<wasamasa>
eam: not the other way around
<eam>
oh, parsing C++ in ruby? use libclang
<wasamasa>
and interpreting it afterwards
<wasamasa>
because, uh, using cling is too simple
<eam>
wasamasa: well interpreting it is easy
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<wasamasa>
eam: if it were, cling would be usable for more than running it on existing C++ code
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leafybasil has joined #ruby
NinjaOps has quit [Quit: Konversation terminated!]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<A124>
clang, cling, impressive, ripper handy. Thank you. That is input I hoped for. I personally only bumped across Treetop.
n80_ has quit [Quit: n80_]
<wasamasa>
cling is using the llvm project which is what powers clang
<wasamasa>
it is an example of a tool actually used in production
startupality has joined #ruby
vulix has joined #ruby
<balazs_>
jhass: It's way too involved. So I take there isn't an online tool to turn a Gemfile to a Gemfile.lock ?
n80_ has joined #ruby
n80_ has quit [Client Quit]
qwertme has joined #ruby
<wasamasa>
I don't get why it's insistent on this weird workflow of running it on a file (instead of defining functions interactively), but whatever
rikai has joined #ruby
<jhass>
balazs_: no, that seems silly. I told you what you need to provide to get actual help, if you choose not to, don't expect actual help
<wasamasa>
A124: if you want to take a look at a hackier tool that only supports C, there's cint
<wasamasa>
A124: I suspect it's doing it the way you planned to do
amdbcg has quit [Ping timeout: 246 seconds]
<A124>
Yep, found that out. If I will be able to use cling, or clang to run C++ and have own functions interfacing with stuff and also interfacing with Ruby that is all I hoped. Basically an interpreter, and specific functions handled in Ruby not C. Which gives my familiar coding and dynamic stuff.
momomomomo_ has joined #ruby
zachrab has quit [Remote host closed the connection]
Lingo__ has quit [Quit: (null)]
momomomomo has quit [Ping timeout: 256 seconds]
momomomomo_ is now known as momomomomo
Synthead has joined #ruby
delianides has quit []
zzing has joined #ruby
<A124>
"CINT is an interpreter for C and C++ code" Excellent, thank you wasamasa. I am interested in both, but for this purpose I am looking to have C++ and certain functions to interface with Ruby, which can process and return a value back to the function.
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Synthead>
Is there a name for doing "#{foo}#{bar}" vs foo + bar?
<wasamasa>
it supports C++, too?
<wasamasa>
oh well, I haven't went that far with testing
<toretore>
balazs_: why do you need an online tool when you have bundler on your machine?
<dudedudeman>
Synthead: concatinating? i think..
<ytti>
Synthead, string interpolation versus string concatenation?
<A124>
Yup, they say. Not teh new one, but I do not the new one.
<Synthead>
dudedudeman: I thought a + b was concatenating
<dudedudeman>
Synthead: ah, it is. now that I see what you're saying
<winghouchan>
I'm trying recruit some peeps who might want to volunteer to help kids code :)
<dudedudeman>
do you have a page with info or anything about it?
<jhass>
see, always good to include that in the initial question ;)
<dudedudeman>
i'm not from the UK, but having a link for someone might be good
xmaddness is now known as xmad-afk
chridal has quit [Ping timeout: 248 seconds]
vulix has joined #ruby
<winghouchan>
jhass: I usually see if anyone fits the criteria first or if there's interest ;)
bruno- has quit [Ping timeout: 244 seconds]
fryguy9 has joined #ruby
lidenskap has quit [Remote host closed the connection]
<winghouchan>
dudedudeman: Yea sure. The centre I run is in Westminster. Our Twitter is here: twitter.com/YRSWestminster. We form part of a larger organisation called Young Rewired State yrs.io twitter.com/youngrewired
<winghouchan>
dudedudeman: Cheers!
xiq has joined #ruby
<jhass>
thing is that question is kinda vague and usually motivated by recruiting or trying to get somebody local to mentor you for whatever reason. It's likely just ignored by many potential candidates
<toretore>
so no priests is what you're saying?
<dudedudeman>
winghouchan: I dig it! teaching youngsters to code is always a plus
<jhass>
so including your motivation for it is always a good thing and should actually yield you more responses
momomomomo has quit [Quit: momomomomo]
<winghouchan>
jhass: The sea is wide and deep ;) And I only need to cast my net in shallow waters :)
<winghouchan>
jhass: But cheers for the advice! :)
andikr has quit [Remote host closed the connection]
rbennacer has joined #ruby
<winghouchan>
dudedudeman: There's some great organisations out there, get involved if you can :)
startupality has quit [Quit: startupality]
<winghouchan>
dudedudeman: I can recommend some if you want?
<dudedudeman>
i have a bit more to learn myself before i become a teacher, that's for sure. lol. see my question earlier about hashes *derp*
tier has joined #ruby
<winghouchan>
dudedudeman: Haha, fair enough. Have fun learning and good luck! You'll be sure to become a master.
<dudedudeman>
ha. thanks for the encouragement!!
nathanows has joined #ruby
decoponio has quit [Quit: Leaving...]
<winghouchan>
No probs :)
_honning_ has quit [Ping timeout: 264 seconds]
<thomcom>
Hey all
<winghouchan>
thomcom: Heyo!
camilasan has quit [Remote host closed the connection]
<thomcom>
I'm trying to figure out how to do roles
<ninjs>
so like file_operation would finish before move starts
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass>
yeah, most likely
<toretore>
it depends, but most likely yes
mtakkman has joined #ruby
Zai00 has joined #ruby
<ninjs>
That most likely bit scares me
Morkel has quit [Quit: Morkel]
<toretore>
what you're talking about is synchronous code; the alternative is asynchronous code, but it's usually pretty clear from the context if that's the case
<ninjs>
because file_operation uses some files in a directory to create an output file, then move moves those files to a different directory
<toretore>
it's not something you should be worrying about
<ninjs>
Great. That's what I wanted to hear haha
<Sou|cutter>
ninjs: "most likely" is only a qualifier because without knowing the context, the implementation of method1 could do something asyncronously. You would probably know
foureight84 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
mjuszczak has quit []
spyderman4g63 has joined #ruby
nathanows has quit [Ping timeout: 264 seconds]
arturhoo has quit [Quit: arturhoo]
growlove has quit [Ping timeout: 240 seconds]
<xxneolithicxx>
why do older ppl find git so difficult (i know that sounds stereotypical and over generalizing, but seriously)
<toretore>
cause it's not like what they're used to
<jhass>
what's your sample set?
<xxneolithicxx>
jhass: my sample set of old ppl lol ?
<shellfu>
"old habits die hard"
<toretore>
{that guy who works at my company}
<xxneolithicxx>
^
foureight84_ has joined #ruby
<shellfu>
old is relative :)
<xxneolithicxx>
gsub(/guy/, "guys")
xiq has quit [Remote host closed the connection]
<jhass>
so generalizing from that one personal experience sample... mmh
<xxneolithicxx>
its not one, its one of many
<xxneolithicxx>
its like they have given up on learning
<tcrypt>
how old do you mean?
<shellfu>
besides VCS is just VCS it doesnt matter. Its like getting on a dude for using joe or emacs or vim or textmate or pen and paper
<shellfu>
ok maybe not pen and paper :)
<toretore>
maybe older people just have the experience to know that newer isn't usually better and that jumping on the latest trend is usually just a way to introduce more complexity and uncertainty
<ytti>
i thought everyone uses google as UI to git
<shellfu>
heh
<xxneolithicxx>
theres a difference between jumping on a source control trend and not knowing how to do it at all
<ytti>
because it's hella confusing the moment you're doing something new
<ytti>
then you fat finger question to google, and cheap from stackexcahnge
<xxneolithicxx>
lol
last_staff has quit [Quit: last_staff]
twistedpixels is now known as zz_twistedpixels
<toretore>
people who are new to programming are the most likely to install new shit just because it's new
<Nilium>
i.e., the branching model for local branches being "clone it again"
<weaksauce>
GaryOak_ like what?
<toretore>
well, just be glad it's not emacs, which sucks
<shellfu>
^ opinion
<guintwi>
emacs + slime = ok
<c-c>
Well, all of these tools are still in their infancy, and it is up to us to make it better!
<weaksauce>
git is really simple at its core actually
<c-c>
Cause we know they suck, sometimes
<GaryOak_>
weaksauce: most places just end up using bitbucket or github like a centralized repo
<shellfu>
I use a combination of word perfect and abode indesign for my programming needs!
<Nilium>
If you just use git or mercurial as though it were svn, you're probably better with mercurial or just using svn.
<Nilium>
Granted, telling people they can use svn now is a sin.
<GaryOak_>
lol
<weaksauce>
wat. git is fantastic even if you have a canonical repo
<c-c>
shellfu: You are a design-abode prefect?
<guintwi>
I am a hobby programmer so don't use git
<Nilium>
weaksauce: It's fine for anything.
<shellfu>
its the best editor out there!
<GaryOak_>
guintwi: you heathen!
<c-c>
git can be used as svn transparently
<jhass>
can svn do git add -p ? or mercurial?
<Nilium>
Mercurial: sort of but not really.
<dudedudeman>
you know, git question then. do you like -m on your commits or do you prefer to jump in to an editor and line it out
frem has joined #ruby
<Nilium>
SVN: no.
<GaryOak_>
jhass laying down the line
<ytti>
dudedudeman, definitely editor
<Nilium>
dudedudeman: I use an editor, but that's 'cause I try to ensure I'm not doing one-line commit messages.
<shellfu>
I typically use -m unless I have some splaining to do
<ytti>
unless change is trivial and subject is sufficient
<jhass>
I rely on that feature in my workflows nowadays
<weaksauce>
partial line by line additions to your staging area is one of git's killer features
fryguy9 has quit [Quit: Leaving.]
<ytti>
if change is trivial, maybe you should amend or rebase anyhow
<Nilium>
Something I'd really recommend is always do git commit --verbose or -v
<guintwi>
what is heathen (sorry not native English here)
<hanmac>
hahaha i heard the new GTA5 does have problems if the username have something orthodox like that " " XD
<Nilium>
That way, when your editor does open to write the commit message, you'll also see the changes in that commit
wikiziner has joined #ruby
colorisco has quit [Quit: colorisco]
<dudedudeman>
i see what you're saying weaksauce. instead of just doing one large one, git add and commit individual files and put messages with each file
<Nilium>
Being forced to stare at the horrors made by your own hand is useful.
<shellfu>
ha
<dudedudeman>
Nilium: ain't that the truth
<shellfu>
the horrors :)
<dudedudeman>
also, thanks for all of those replies
<guintwi>
who is at the stage in git?
<jhass>
Nilium: -p does that pretty much for me
<weaksauce>
dudedudeman yes. precisely. it lets you craft the development story
<dudedudeman>
weaksauce: i like it when you talk like that
<Nilium>
jhass: Yeah, but having it all together can help you describe the commit better.
<xxneolithicxx>
one question and i derailed the channel, who needs help lol
<jhass>
which is why I do it quite regularly even if I intend to stage fully
<dudedudeman>
currently, i'm using -m because i'm really just in a small project where i keep forgetting small, stupid things
vt102 has quit [Remote host closed the connection]
<Nilium>
Still trying to get my coworkers to stop doing one-line commit messages.
<dudedudeman>
this is helping me!
<dudedudeman>
one of my latest -m's was "because I like doing things twice"
<weaksauce>
if you haven't tried sourcetree it's really good for 99% of git's day to day use
meschi has quit [Remote host closed the connection]
fryguy9 has joined #ruby
<Nilium>
dudedudeman: If you haven't already, consider reading Tim Pope's git commit message thing
ki0 has quit []
<Nilium>
weaksauce: It's fantastic.
<xxneolithicxx>
Nilium: nothing wrong with it unless you have commit msg standards
<guintwi>
git -m dry
<Nilium>
xxneolithicxx: We've got none.
<weaksauce>
if you have a tricky rebase or something you might want to drop down to the cl
baweaver has quit [Remote host closed the connection]
<Nilium>
Side-note: do not try to get git beginners to use git rebase or anything.
davejacobs has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: zzz]
tier_ has joined #ruby
<dudedudeman>
Nilium: i have, and it's great. brief all caps intro of commit, then a detailed summary, write in the imperative, things like that
<jhass>
!commit
<DeBot>
My bad
<Nilium>
That crap's hard to explain and it's better to just let them ask about it when they find it.
<jhass>
scnr
<weaksauce>
yeah no doubt. that's a running with scissors kind of feature Nilium
<dudedudeman>
?commit
<ruboto>
I don't know anything about commit
<dudedudeman>
?git
<ruboto>
I don't know anything about git
* dudedudeman
throws shoe at ruboto
<ytti>
dudedudeman, all caps? que
<ytti>
either i don't understand humor
<jhass>
okay, one more
<ytti>
or you're terrible preson
<jhass>
!commit
<DeBot>
hey, what's that over there?!
<Nilium>
Pretty sure Pope didn't advocate all-caps
<xxneolithicxx>
Nilium: i had to introduce them to orphan branches on the first day due to how our project was being used
<xxneolithicxx>
did not go well
<dudedudeman>
ytti: i may have mistyped. i think it's just a capitalized first line
<Nilium>
xxneolithicxx: I almost had to do that with an SVN migration where we were tagging subdirectories
<ytti>
dudedudeman, fair enough
<Nilium>
Ultimately I decided to just truncate the directory structure and re-merge later.
<xxneolithicxx>
ill have to watch this in full later
charliesome has joined #ruby
<dudedudeman>
man, you said model and i'm here like......
sgambino has quit [Remote host closed the connection]
sgambino has joined #ruby
f3lp has joined #ruby
<xxneolithicxx>
lol
charliesome has quit [Client Quit]
<xxneolithicxx>
no not a perty feminine model
<ninjs>
how do I get the position of a certain string, say 'ABC' in an array of strings like ['123', 'DEF', 'ABC', '456']
<xxneolithicxx>
index
<xxneolithicxx>
i think
<jhass>
yup, index
<jhass>
but why do you need it? what's your goal?
<shellfu>
So since we're all off topic anyhow. Star Citizen... who wants to jump into some arena commander later?
<ninjs>
I have this long array that I'm trying to find what position I need to look at for a certain value, and I'm just trying not to count how many spaces over
Casshern2 has joined #ruby
mtakkman has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
foureight84_ has quit [Quit: Be back later ...]
<jhass>
k, fair enough
Guest12600 has quit [Remote host closed the connection]
<ninjs>
I.E. I'm going to hard code where in the array to look at, but in order to find out where, I'd like to just use ruby to find the position for me
RegulationD has quit [Remote host closed the connection]
<jhass>
make sure to make pretty constants
<jhass>
SOME_FILED = 123
<jhass>
some_field = data[SOME_FIELD]
Conner__ has joined #ruby
<xxneolithicxx>
its like hes using a high school science molecule kit to teach git lol
naftilos76 has quit [Remote host closed the connection]
meschi has joined #ruby
<jhass>
xxneolithicxx: it's also a pretty decent explanation of rebase and what branches and tags actually are
sumark has quit [Ping timeout: 255 seconds]
<pagios>
getting: ArgumentError - wrong number of arguments (2 for 1):when using result = client[:'userTable'].find({"token" => token}, {:fields => {"_id" => 0, "arn" => 1} }) any idea?
pandaant has quit [Remote host closed the connection]
growlove has joined #ruby
tubuliferous has joined #ruby
<ninjs>
what was that command that clears blanks out of an array?
<ninjs>
.clean or something
<ninjs>
not command, method sorry
<matugm>
.compact?
quimrstorres has quit [Remote host closed the connection]
<tubuliferous>
Hey folks, I want to connect to a publically-accessible folder on a web server and recursively download all of the files that match a particular regex
<ninjs>
matugm: yeah, thanks! Doesn't work for "" strings though. D:
<Nilium>
pagios: That should hopefully work.
<Nilium>
Does for me, at least.
<tubuliferous>
*publicly =)
<toretore>
tubuliferous: curl or wget
<tubuliferous>
ah...yeah...
<tubuliferous>
good call
<tubuliferous>
thanks toretore
<pagios>
Nilium: can you share your .projection line?
jottr has quit [Read error: Connection reset by peer]
nathanows has quit [Ping timeout: 256 seconds]
<ninjs>
havenwood: yeah I found what I was looking for, it was the .reject method
<shellfu>
Nilium only writes my code. Because teamwork is where others do your work for you
failshell has quit [Remote host closed the connection]
Sembei has joined #ruby
jottr has joined #ruby
Sawbones has joined #ruby
<zenspider>
jhass: I threw a comment in there. basically negating your PR, but hopefully getting the right people talking. maybe we can make another stab at getting freenode to actually help.
<jhass>
zenspider: check #ruby access list
<zenspider>
jhass: thanks for poking the beehive (seriously). it needs it.
<Nilium>
shellfu: You tell 'em. I'll have your bash implementation of Java done any minute now.
<jhass>
zenspider: we recently got zzzak as founder appointed by freenode staff, which in turn appointed apeiros as founder which in turn appointed a whole bunch of new ops (including me)
<Nilium>
I wonder how hard it'd be to implement the Lua VM as a shell script.
<jhass>
zenspider: so we're pretty good staffed now
zachrab has quit [Remote host closed the connection]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass>
probably should write that into the PR
<havenwood>
pretty good 24hr coverage
<ytti>
i reaaaally dislike shell scripting
<ytti>
almost violently
<ytti>
it's like 'woo i can do this and this in shell scripting', which is just calling bunch of external binaries
<havenwood>
ytti: it can be elegantly simple for small things, but quickly gets... gross
<lawandand>
shell is a cute solution when the problem is short
zachrab has joined #ruby
<zenspider>
how in the hell did you get freenode to actually act? we've been trying for years
<zenspider>
tho, I have no idea how long it's been since we last tried
<jhass>
ask apeiros, he did
<ytti>
sadly unix is too mature and resists innovation
<pagios>
Nilium: i am not able to put arguments to the find, find.projection works fine though
lidenskap has quit [Remote host closed the connection]
<ytti>
something like 'powerscript' just can't happen in nix systems
<ytti>
s/powerscrip/powershell/
snockerton has quit [Quit: Leaving.]
<jhass>
zenspider: I think he massaged a staff long enough to get it when somebody with commit access requests
Rickmasta has joined #ruby
Sawbones has quit [Ping timeout: 250 seconds]
<p8952>
Can minitest be instructed to always run the takedown method even if the tests fail?
Spami has quit [Quit: This computer has gone to sleep]
<zenspider>
p8952: did you try?
<zenspider>
jhass: well.. congrats to zzak for getting through. wow.
<havenwood>
just took a few years ;)
blueOxigen has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
Lingo_ has joined #ruby
<zenspider>
"just" :P
<jhass>
zenspider: anyway I'd be fine with switching the official channel for now, merging I'd actually like as a separate discussion
fryguy9 has quit [Quit: Leaving.]
<lawandand>
I was trying to understand what people are talking here about but not an easy task
<p8952>
zenspider, by default it doesn't. I could monkeypatch Test::Unit::TestCase with begin/rescue to call teardown on failure but I was hoping there was a more correct way
<vulix>
how often do core libraries and function calls break with ruby updates? I know 1.9 -> 2 was huge, but what about 2.1 -> 2.2?
<zenspider>
well... I'd like it to happen together, if at all possible... I don't want to leave those in #ruby-lang out in the cold. I still find the signal:noise better there
<zenspider>
p8952: minitest != test/unit
<ytti>
vulix, 1.9 -> 2.0 wasn't big to me
<toretore>
vulix: i can't think of anyhink that has
tier_ has quit []
<ytti>
1.8 -> 1.9 was way bigger for me
<zenspider>
vulix: 1.8 -> 1.9 was the worst. 1.9 -> 2.0 wasn't too bad. everything since has been rather minor
<p8952>
zenspider, in > 1.9 Test:Unit is provided by minitest
<shevy>
vulix don't think there were any major changes from 2.1 to 2.2 ... GC collects symbols now if I remember correctly, not sure when that happened... syntax: no change I think
<zenspider>
all in all, I'd say that the 2.x line has done a pretty good job of stabilizing
<pagios>
fixed it
FernandoBasso has joined #ruby
<vulix>
Ty guys, I am trying to do Ruby on both Win and Linux and I'm a bit sketched out on the Windows side of things since the packages available are a bit older than the newest release
<zenspider>
p8952: no, it isn't.
<ytti>
i don't have beef with breaking stuff
<ytti>
as long as you bring some candy
blueOxigen has quit [Remote host closed the connection]
<dudedudeman>
who said candy?
* dudedudeman
desires much candy
<ytti>
mine
<zenspider>
vulix: talk to imperator in #ruby-lang about windows stuff. he and luis pretty much own that platform
<shellfu>
addicts
<shellfu>
:)
<vulix>
ty zenspider
zachrab has quit [Remote host closed the connection]
<ytti>
python3 is good example of breaking without candy
bluOxigen has joined #ruby
zachrab has joined #ruby
Lingo_ has quit [Client Quit]
anaeem1 has quit [Remote host closed the connection]
zachrab has quit [Remote host closed the connection]
<lawandand>
many people are expecting some more speed (candy)
<zenspider>
p8952: ruby -rminitest/autorun -e 'class X < Minitest::Test; def test_bad; raise; end; def teardown; p :good; end; end' # prints :good just fine
<shevy>
ytti: speaking of python3... I can't compile pycairo... with mysterious things like "waf"... I have both python3 and python2 compiled from source just fine, "./waf configure" still fails with a mysterious error "command ['/usr/bin/python', '/usr/bin/python3.4-config', '--includes'] returned 1"
<zenspider>
hrm...
<zenspider>
>> require "minitest/autorun"; class X < Minitest::Test; def test_bad; raise; end; def teardown; p :good; end; end
<ytti>
shevy, sorry no clue, but i would pr obably run those manually in shell and see what happens
ianseyer has quit [Ping timeout: 248 seconds]
<ninjs>
can I instantiate a variable outside of a method, reference the variable inside the method, change it, and have it be changed external to the method?
<ninjs>
Sorry if that makes no sense
<jhass>
zenspider: anyway, thanks for the shoutout
amdbcg has joined #ruby
fryguy9 has joined #ruby
MyGreenP1 has quit [Ping timeout: 250 seconds]
delianides has quit [Remote host closed the connection]
<thomcom>
Soudns like a static variable ninjs
<thomcom>
I believe we have those in ruby
Sawbones has joined #ruby
lawandand has quit [Quit: Page closed]
lidenskap has joined #ruby
<Mon_Ouie>
Does loading minitest involve loading some C extension from stdlib? Last time I checked eval-in's sandbox didn't let you do that
<ninjs>
is that like the @@variable
<ninjs>
thomcom: ^
snockerton has joined #ruby
teddyp1cker has joined #ruby
shellfu has quit [Quit: Leaving]
<thomcom>
ninjs exactly
h00d has joined #ruby
<thomcom>
commonly used for counting the number of instances that have been created
<zenspider>
Mon_Ouie: nope. it does use an at_exit to run tests... maybe that's it?
<ninjs>
hmm... can I get a callback from a method then?
bluOxigen has quit [Ping timeout: 276 seconds]
<ninjs>
Sorry for so many stupid questions. Let me just post what I'm trying to do here..
<thomcom>
Sounds like you have to access it via getter/setter methods
<h00d>
Guys, how I create an array whose size I still do not know?
ldnunes has quit [Quit: Leaving]
<shevy>
h00d array = Array.new \o/
<thomcom>
So you create static methods with def self.varname and def self.varname=argname
<shevy>
you create class methods via def self.bla
<h00d>
shevy ok man
<zenspider>
>> require "minitest"; Class.new(Minitest::Test) do def test_bad; raise; end; def teardown; p :good; end; end.run Minitest::Reporter.new, {}
<shevy>
dunno if "def self.varname=argname" would be valid, I think you must use the ()? "def self.bla=(i)"
<zenspider>
wtf? it should at least tell you where/why
yikw has joined #ruby
<zenspider>
no parens needed
teddyp1cker has quit [Ping timeout: 252 seconds]
Guest39478 has joined #ruby
<thomcom>
h00d I like to say array = []
<yikw>
/join #clojure
<jhass>
zenspider: I think it blocks the syscall and aborts the program on not whitelisted ones or something
<Guest39478>
any idea why i cant seem to be able to JSON.parse "{\n \"event_name\": \"sign_ups\",\n \"event_info\": {\n \"name\": \"John Smith\",\n \"email\": \"john@smith.com\",\n \"location\": \"New York, NY\"\n }\n}"
<yikw>
JSON.parse perhaps has to encode the string urlencode?
charliesome has joined #ruby
blackmesa has joined #ruby
amdbcg has quit [Remote host closed the connection]
<jhass>
parameter whitelist as far as I can deduce from experience
<h00d>
is that I will filter data from a file and, depending on the column can contain more than one User, so the array can get bigger.
<ninjs>
I need to take the values returned in lines 76-83 and append them to newsheet1 that I created at line 4.
<Nilium>
It's starting to get hard for me to keep track of my many different iTerm tabs
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Nilium>
I might have to get into the habit of naming them.
amdbcg has joined #ruby
Casshern2 has quit [Ping timeout: 256 seconds]
bintelli has joined #ruby
<zenspider>
jhass: the existance of it, or calling? because the code above shouldn't be calling.... Tempfile.open w/ a plain string seems harmless enough tho
gcheng has left #ruby [#ruby]
<jhass>
zenspider: calling it with certain parameters, various parts of stdlib can't be required
jerius has quit [Quit: /quit]
dling has quit []
<shevy>
Nilium give them names, like... first tab is "George", second tab is "Michael", third tab is "Gunther"
grindmodeon has quit [Quit: Leaving.]
<jhass>
zenspider: but I'm just guessing, charliesome is the owner of the service if you bother enough ;)
rbennacer has quit [Ping timeout: 256 seconds]
Sawbones has quit [Remote host closed the connection]
fryguy9 has quit [Quit: Leaving.]
<thomcom>
Nilium you need a 4k monitor
<thomcom>
When you can see all of your term sessions/code windows at the same time they don't need names :)
quimrstorres has joined #ruby
<thomcom>
On hard problems I'll run 10 code windows simultaneously, 600 loc simultaneously :D
<Guest39478>
in eventmachine how do i return a http callback?
<Guest39478>
http.callback { |response| return {status: response}.to_json } i have this line
<Guest39478>
but it doesnt respond with that :\
XorSwap has joined #ruby
endash has quit [Quit: endash]
Sawbones has joined #ruby
yikw has quit [Quit: Page closed]
bim has joined #ruby
fryguy9 has joined #ruby
bim is now known as Guest61149
hakunin has quit []
mary5030 has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
Megtastique has quit []
zzing has joined #ruby
XorSwap has quit [Client Quit]
djbkd has joined #ruby
quimrstorres has quit [Ping timeout: 276 seconds]
oo_ has joined #ruby
centrx has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
brb3 has quit [Quit: <.<]
mjuszczak has quit []
amdbcg has quit [Ping timeout: 265 seconds]
<weaksauce>
ninjs anytime you use a bunch of elsif's for identical code you might want to think about using a hash instead
<ninjs>
oh! Good point
<ninjs>
weaksauce: Thanks a bunch for that tip. :) I didn't even think of that
<weaksauce>
and use fetch for the default value
doodlehaus has quit [Remote host closed the connection]
RegulationD has quit [Remote host closed the connection]
d10n-work has quit [Quit: Connection closed for inactivity]
Guest61149 has quit [Ping timeout: 250 seconds]
jottr has quit [Read error: Connection reset by peer]
<Nilium>
thomcom: I have enough screens to do that, but I don't really want to see them all, just need to remember which one is which for when I occasionally go to check something
<Nilium>
I think I just need to close them more proactively.. it's like browser tabs.
<Nilium>
Though in the case of browser tabs, I have a plugin auto-closing old ones.
hiyosi has joined #ruby
_djbkd has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
dblessing has quit [Ping timeout: 240 seconds]
<weaksauce>
also ninjs you can't access newsheet1 from across function calls
<ninjs>
weaksauce: I can't use a hash if multiple keys correspond to one value, right?
<ninjs>
weaksauce: That's what I was afraid of
<ninjs>
So I'm not sure how to store the information I get out of that function call
<weaksauce>
huh
jottr has joined #ruby
<ninjs>
I suppose I *don't* need to make that into a function, I can store it all in the file_operation function, just under the if statement..
<weaksauce>
an elsif would stop at the first match anyway ninjs
<ninjs>
Right, but I need for example both '1002' and '1001' to return 'RTC'
<thomcom>
keep an array as the hash value ninjs
<zenspider>
Coraline: *ping*
MyGreenP1 has joined #ruby
<weaksauce>
you could yield each keypair and do it from a block in the main call ninjs
<ninjs>
so like {['1001','1002']: 'RTC'} ?
<weaksauce>
also {"1002' => "RTC", "1001" => "RTC" }
<weaksauce>
the keys need to be unique not the values
poguez_ has quit [Quit: Connection closed for inactivity]
<ninjs>
Okay. So I cleaned up that elsif mess and made an array and it works great. :) I'm still not sure how I get all of my cell values into an array I can pass back outside of my function
sgambino has quit [Remote host closed the connection]
hyperjuice has quit [Read error: Connection reset by peer]
quimrstorres has quit [Remote host closed the connection]
<ninjs>
Or should I not even worry about separating all of that into a function and just leave it in the main function of my code
sgambino has joined #ruby
<weaksauce>
it's kindof a mess ninjs
<weaksauce>
ruby code typically is small methods that are easy to reason about.
<ninjs>
I would expect so.. it's just a refactor of my very first Ruby script ever haha
Joufflu has joined #ruby
fryguy9 has quit [Quit: Leaving.]
dmmoody has quit []
<weaksauce>
:)
quimrstorres has joined #ruby
fxck has quit [Read error: Connection reset by peer]
<ninjs>
So I guess I'm not sure how to split it into small little methods haha
<ninjs>
Like maybe each column operation is it's own method?
<ninjs>
and they just return a value to the main method
Notte has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
dling has joined #ruby
fxck has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
fxck has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
failshell has joined #ruby
vdamewood has quit [Quit: Computer has gone to sleep.]
<weaksauce>
col_n is not a great variable name.
GenghisKen has quit [Ping timeout: 245 seconds]
shellfu_afk has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
vdamewood has joined #ruby
snockerton has joined #ruby
f3lp has quit [Ping timeout: 252 seconds]
jlast_ has quit [Remote host closed the connection]
evanjs has quit [Remote host closed the connection]
<ninjs>
right but you get my point right? like def get_payor_name(claim_array); payor_name = claim_array[92]; end; ? etc
baweaver has joined #ruby
jlast has joined #ruby
failshell has quit [Ping timeout: 245 seconds]
<weaksauce>
ninjs that doesn't work because payor_name falls out of scope
<weaksauce>
it will return whatever is in claim_array[92] though
<ninjs>
crap.
elfuego has quit [Quit: elfuego]
<ninjs>
so just def get_payor_name(claim_array); claim_array[92]; end; payor_name = get_payor_name(claim_array)
<weaksauce>
that would clean it up a bit yeah
tkuchiki has quit [Read error: Connection reset by peer]
GenghisKen has joined #ruby
GenghisKen has joined #ruby
icebourg has quit [Ping timeout: 276 seconds]
odin22 has quit [Read error: Connection reset by peer]
michael_mbp has quit [Excess Flood]
danzilio has joined #ruby
icebourg has joined #ruby
danzilio has quit [Max SendQ exceeded]
jlast has quit [Ping timeout: 264 seconds]
danzilio has joined #ruby
fryguy9 has joined #ruby
shellfu_afk has quit [Ping timeout: 265 seconds]
michael_mbp has joined #ruby
cocotton has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
x1337807x has joined #ruby
<ninjs>
awesome. that would actually be easier because I need to return the same values no matter what type of file it is, they are just in different places.
Casshern2 has joined #ruby
speakingcode has quit [Ping timeout: 265 seconds]
<ninjs>
so I could just do def get_payor_name(claim_array, claim_ext); if claim_ext == '.ub4', claim_array[92]; else, claim_array[406]; end; payor_name = get_payor_name(claim_array)
<ninjs>
not exact, but illustrates my point
fryguy9 has quit [Quit: Leaving.]
fxck has joined #ruby
fxck has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
<baweaver>
Well that was magical
<baweaver>
A recruiter in SF just tried to recruit me for my own team
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlphaAtom has quit [Ping timeout: 244 seconds]
rgs has quit [Ping timeout: 246 seconds]
AlphaAtom has joined #ruby
<ninjs>
rofl. A recruiter for our company got one of our employees let go because he had posted that he was looking for work somewhere and the recruiter tried to refer him back to us, when he already worked here.
rgs has joined #ruby
<adaedra>
the wonders of work world
nathanows has joined #ruby
cek has joined #ruby
<cek>
how do you view anotehr file in byebug?
shellfu_afk has joined #ruby
quimrstorres has quit [Remote host closed the connection]
dling has quit [Read error: Connection reset by peer]
dling has joined #ruby
magnificrab has left #ruby [#ruby]
quimrstorres has joined #ruby
NoNMaDDeN has joined #ruby
<vulix>
So if I develop a fairly basic rails app on my Windows box, can I just take the app's folder and drop it into my Linux install and it should be good to go?
mjuszczak has quit []
MyGreenP1 has joined #ruby
Rickmasta has joined #ruby
<baweaver>
ninjs: I should have played along a bit for kicks. Ah well.
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
willharrison has joined #ruby
baweaver has quit [Remote host closed the connection]
quimrstorres has quit [Ping timeout: 264 seconds]
Sawbones has quit [Remote host closed the connection]
NoNMaDDeN has quit [Ping timeout: 250 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
mjuszczak has joined #ruby
krisquigley has joined #ruby
nathanows has quit [Ping timeout: 240 seconds]
noname has joined #ruby
RegulationD has joined #ruby
pdoherty has joined #ruby
jenrzzz has joined #ruby
<shevy>
vulix yeah
anibara has joined #ruby
mjuszczak has quit [Client Quit]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elfuego has joined #ruby
CloCkWeRX has joined #ruby
krisquigley has quit [Ping timeout: 276 seconds]
elfuego has quit [Client Quit]
pika_pika has quit [Ping timeout: 245 seconds]
RegulationD has quit [Ping timeout: 264 seconds]
vdamewood has quit [Quit: Computer has gone to sleep.]
nathanows has joined #ruby
mengu has quit []
bMalum has quit [Quit: bMalum]
<shevy>
aaah the shapechanging lemur is a beaver again \o/
mjuszczak has joined #ruby
baweaver has joined #ruby
alvaro_o has joined #ruby
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wallerdev has quit [Quit: wallerdev]
sankaber has joined #ruby
horsecowdog has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
vim_shimm has quit [Ping timeout: 256 seconds]
_honning_ has joined #ruby
mjuszczak has quit []
zachrab has joined #ruby
grindmodeon has joined #ruby
grindmodeon has quit [Max SendQ exceeded]
cek has left #ruby [#ruby]
mjuszczak has joined #ruby
vt102 has quit [Read error: Connection reset by peer]
grindmodeon has joined #ruby
mjuszczak has quit [Remote host closed the connection]
qwertme has joined #ruby
grindmodeon has quit [Client Quit]
rodfersou has joined #ruby
sankaber has quit [Ping timeout: 250 seconds]
jobewan has quit [Quit: Leaving]
sgambino has quit [Remote host closed the connection]
elfuego has joined #ruby
rek2gnulinux has joined #ruby
grindmodeon has joined #ruby
grindmodeon has quit [Max SendQ exceeded]
zachrab has quit [Ping timeout: 276 seconds]
grindmodeon has joined #ruby
grindmodeon has quit [Max SendQ exceeded]
grindmodeon has joined #ruby
grindmodeon has quit [Max SendQ exceeded]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
grindmodeon has joined #ruby
grindmodeon has quit [Max SendQ exceeded]
rodferso1 has joined #ruby
grindmodeon has joined #ruby
grindmodeon has quit [Max SendQ exceeded]
sankaber has joined #ruby
lanemeyer has joined #ruby
grindmodeon has joined #ruby
grindmodeon has quit [Max SendQ exceeded]
grindmodeon has joined #ruby
grindmodeon has quit [Max SendQ exceeded]
serivich has joined #ruby
serivichi has joined #ruby
grindmodeon has joined #ruby
rodfersou has quit [Ping timeout: 256 seconds]
Sawbones has joined #ruby
chrisja has quit [Quit: leaving]
ianseyer has joined #ruby
rek2gnulinux is now known as rek2wilds
Deele has quit [Ping timeout: 256 seconds]
GeorgeThompson has joined #ruby
GenghisKen has quit [Ping timeout: 256 seconds]
machty has quit [Ping timeout: 252 seconds]
artmann has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
artmann has joined #ruby
serivich has quit [Ping timeout: 240 seconds]
serivichi has quit [Ping timeout: 240 seconds]
machty has joined #ruby
jenrzzz has joined #ruby
werelivinginthef has joined #ruby
iamninja_ has joined #ruby
predator117 has joined #ruby
Deele has joined #ruby
Zai00 has quit [Quit: Zai00]
iamninja has quit [Ping timeout: 252 seconds]
predator217 has quit [Ping timeout: 246 seconds]
jlast has joined #ruby
teddyp1cker has joined #ruby
bintelli has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
failshell has joined #ruby
teotwaki has quit [Ping timeout: 256 seconds]
kartouch has quit [Ping timeout: 256 seconds]
werelivinginthef has quit [Ping timeout: 264 seconds]
gz_rain has joined #ruby
gz_rain has quit [Client Quit]
jaxxstorm has quit [Ping timeout: 256 seconds]
enebo has quit [Quit: enebo]
kartouch has joined #ruby
max96at has quit [Ping timeout: 252 seconds]
teotwaki has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
pdoherty has quit [Ping timeout: 252 seconds]
jaxxstorm has joined #ruby
teddyp1cker has quit [Ping timeout: 264 seconds]
max96at|off has joined #ruby
delianides has joined #ruby
failshell has quit [Ping timeout: 245 seconds]
max96at|off is now known as max96at
oo_ has joined #ruby
zubov has joined #ruby
<Coraline>
zenspider: pong
plutonic has joined #ruby
davedev24_ has joined #ruby
davedev2_ has quit [Ping timeout: 250 seconds]
_djbkd has quit [Remote host closed the connection]
vdamewood has joined #ruby
djbkd has joined #ruby
tkuchiki has joined #ruby
baweaver has quit [Remote host closed the connection]
Rickmasta has joined #ruby
zzing has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maximski has joined #ruby
felixjet has joined #ruby
felixjet_ has quit [Read error: Connection reset by peer]
zacts has joined #ruby
baweaver has joined #ruby
marr has quit [Ping timeout: 245 seconds]
cats has quit [Ping timeout: 240 seconds]
pdoherty has joined #ruby
cats has joined #ruby
bim has joined #ruby
ss__ has joined #ruby
bim is now known as Guest15638
mikecmpb_ has joined #ruby
anibara_ has joined #ruby
Sawbones has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
kt2 has joined #ruby
klaas_ has joined #ruby
horsecow_ has joined #ruby
kotk_ has joined #ruby
kt2 has quit [Client Quit]
bigkevmc_ has joined #ruby
x77686d has joined #ruby
swgillespie has joined #ruby
rodferso1 has quit [Quit: leaving]
paulcsmith has joined #ruby
Rollabun_ has joined #ruby
rodfersou has joined #ruby
delianides has quit [Remote host closed the connection]
djbkd has joined #ruby
Guest15638 has quit [Ping timeout: 245 seconds]
oddskillz has joined #ruby
Ove___ has joined #ruby
swgillespie has quit [Client Quit]
icebourg has quit []
Advocation_ has joined #ruby
bhaak_ has joined #ruby
xxi has joined #ruby
pygospa has quit [Disconnected by services]
matrixfo1 has joined #ruby
queequeg1 has joined #ruby
Freijo has joined #ruby
dfinninger has quit [Remote host closed the connection]
pygospa has joined #ruby
nathanows_ has joined #ruby
sivoais_ has joined #ruby
daed_ has joined #ruby
skinny_much has joined #ruby
rdema_ has joined #ruby
haroldwu_ has joined #ruby
Casshern2_ has joined #ruby
gsd_ has joined #ruby
camilasann has joined #ruby
mikecmpb_ has quit [Quit: i've nodded off.]
hasB4K_ has joined #ruby
davidcelis_ has joined #ruby
aef_ has joined #ruby
nomadic_ has joined #ruby
nathanows has quit [Ping timeout: 250 seconds]
gsd has quit [Ping timeout: 250 seconds]
davidcelis has quit [Ping timeout: 250 seconds]
Casshern2 has quit [Ping timeout: 250 seconds]
daynaskully has quit [Ping timeout: 250 seconds]
oddskill_away has quit [Ping timeout: 250 seconds]
kotk has quit [Ping timeout: 250 seconds]
nomadic has quit [Ping timeout: 250 seconds]
wmoxam has quit [Ping timeout: 250 seconds]
sivoais has quit [Ping timeout: 250 seconds]
ixx has quit [Ping timeout: 250 seconds]
qwertme has quit [Ping timeout: 250 seconds]
Advocation has quit [Ping timeout: 250 seconds]
aef has quit [Ping timeout: 250 seconds]
SHyx0rmZ has quit [Ping timeout: 250 seconds]
ping-pong has quit [Ping timeout: 250 seconds]
ninjazach has quit [Ping timeout: 250 seconds]
camilasan has quit [Ping timeout: 250 seconds]
Azure has quit [Ping timeout: 250 seconds]
bigkevmcd has quit [Ping timeout: 250 seconds]
benlieb has quit [Ping timeout: 250 seconds]
klaas has quit [Ping timeout: 250 seconds]
kies has quit [Ping timeout: 250 seconds]
hasB4K has quit [Ping timeout: 250 seconds]
sjohnsen has quit [Ping timeout: 250 seconds]
sethette1 has joined #ruby
_honning__ has joined #ruby
Advocation_ is now known as Advocation
ping-pong has joined #ruby
bashusr2 has joined #ruby
digifiv5e has joined #ruby
KramerC_ has joined #ruby
RandyT_ has joined #ruby
digifiv5e is now known as Guest94978
plantigrade has joined #ruby
sanguisdex has quit [Ping timeout: 248 seconds]
anibara has quit [Ping timeout: 248 seconds]
predator117 has quit [Ping timeout: 248 seconds]
horsecowdog has quit [Ping timeout: 248 seconds]
KramerC has quit [Ping timeout: 248 seconds]
Rollabunna has quit [Ping timeout: 248 seconds]
RandyT has quit [Ping timeout: 248 seconds]
snapcase has quit [Ping timeout: 248 seconds]
queequeg2 has quit [Ping timeout: 248 seconds]
Fraeon has quit [Ping timeout: 248 seconds]
bhaak has quit [Ping timeout: 248 seconds]
matrixfox has quit [Ping timeout: 248 seconds]
loop3r has quit [Ping timeout: 248 seconds]
sethetter has quit [Ping timeout: 248 seconds]
avelldiroll has quit [Ping timeout: 248 seconds]
daed has quit [Ping timeout: 248 seconds]
_honning_ has quit [Ping timeout: 248 seconds]
Guest39478 has quit [Ping timeout: 248 seconds]
mikecmpbll has quit [Ping timeout: 248 seconds]
CaptainCibai has quit [Ping timeout: 248 seconds]
troyready has quit [Ping timeout: 248 seconds]
bashusr has quit [Ping timeout: 248 seconds]
rdema has quit [Ping timeout: 248 seconds]
jokester has quit [Ping timeout: 248 seconds]
Ove_ has quit [Ping timeout: 248 seconds]
haroldwu has quit [Ping timeout: 248 seconds]
skinny_much_ has quit [Ping timeout: 248 seconds]
DylanJ has quit [Ping timeout: 248 seconds]
DylanJ has joined #ruby
sjohnsen- has joined #ruby
thomas has quit [Read error: Connection reset by peer]
anibara_ is now known as anibara
KramerC_ is now known as KramerC
DylanJ has quit [Changing host]
DylanJ has joined #ruby
kies has joined #ruby
plantigrade has quit [Client Quit]
troyready has joined #ruby
djbkd has quit [Remote host closed the connection]
Casshern2_ has quit [Client Quit]
jokester has joined #ruby
benlieb has joined #ruby
wallerdev has joined #ruby
CaptainCibai has joined #ruby
avelldiroll has joined #ruby
sanguisdex has joined #ruby
predator117 has joined #ruby
crazydiamond has quit [Remote host closed the connection]
nathanows_ has quit [Quit: nathanows_]
ninjazach has joined #ruby
wmoxam has joined #ruby
thomas has joined #ruby
jenrzzz has joined #ruby
ducklobster has quit [Ping timeout: 255 seconds]
loop3r has joined #ruby
snapcase has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<chintanparikh>
I have a loop and inside the block is a case/when with a state variable that's updated. Is there a better way to share a variabe (not the case variable) between each of the when's than using an @variable?
sarlalia1 has quit [Quit: WeeChat 0.4.2]
sarlalian has joined #ruby
<chintanparikh>
Nevermind
sarlalian has quit [Client Quit]
havox has joined #ruby
Lingo has joined #ruby
sarlalian has joined #ruby
Lingo_ has joined #ruby
Lingo has quit [Read error: Connection reset by peer]
Lingo_ has quit [Read error: Connection reset by peer]
maximski has quit [Read error: Connection reset by peer]
Lingo has joined #ruby
vdamewood has quit [Quit: Computer has gone to sleep.]
maximski has joined #ruby
AlphaAtom has quit [Ping timeout: 272 seconds]
GenghisKen has joined #ruby
AlphaAtom has joined #ruby
lordkryss has joined #ruby
Adran is now known as Ttech
Ttech is now known as Adran
ianseyer has quit [Ping timeout: 250 seconds]
jeramy_s has joined #ruby
DerisiveLogic has quit [Ping timeout: 264 seconds]
maximski has quit []
sevenseacat has joined #ruby
Lingo has quit [Read error: Connection reset by peer]
Lingo has joined #ruby
tvw has quit [Remote host closed the connection]
zachrab has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
davispuh has quit [Ping timeout: 250 seconds]
Akagi201 has quit [Remote host closed the connection]
Akagi201 has joined #ruby
Akagi201 has quit [Remote host closed the connection]
Akagi201 has joined #ruby
davispuh has joined #ruby
<h00d>
personal, I wanna associate a name to a number. but there is the need for the number of be changed over time.
Akagi201 has quit [Remote host closed the connection]
icebourg has joined #ruby
<h00d>
how can I have this effect?
djbkd has joined #ruby
Pixi_ has quit [Quit: Pixi_]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]