sent1nel has quit [Remote host closed the connection]
adamjleonard has joined #ruby
nateberkopec has quit [Quit: Leaving...]
lys has quit [Ping timeout: 252 seconds]
zachrab has quit [Ping timeout: 265 seconds]
hamakn has joined #ruby
<c_nick>
i run an ruby framework which loads a C++ Library in Excel and then run some tests on them. Is it possible for me to open the the C++ source code and attach the ruby process to it and be able to debug through the code?
AlphaTech has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
Rapier- has joined #ruby
hamakn has joined #ruby
towski_ has quit [Quit: Leaving...]
baweaver has quit [Remote host closed the connection]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
<AlphaTech>
Hello, I'm trying to install the library called "twitter", when I run "gem install twitter", it gives this error and I have no clue what's wrong with it. http://pastebin.com/GatsRM9W
nii236|irssi has quit [Quit: leaving]
serivich has quit [Ping timeout: 255 seconds]
hamakn has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
jefus has quit [Ping timeout: 252 seconds]
<apeiros_>
AlphaTech: you have an incomplete ruby installation
hamakn has quit [Read error: Connection reset by peer]
hamakn_ has joined #ruby
<apeiros_>
I assume you used apt or similar to install it. you probably need an additional package, ruby-dev, dev-ruby or similar.
<AlphaTech>
Humm... Which one exactly?
<AlphaTech>
Shall I try both?
valkyrka has quit [Ping timeout: 245 seconds]
hamakn_ has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
amdbcg has joined #ruby
<AlphaTech>
Ah, ruby-dev
hamakn has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
hamakn has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
definiv has joined #ruby
<muzik>
Shouldnt simply changing the permissions on /usr fix it?
<sevenseacat>
fix the missing headers? no
deryl has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
<apeiros_>
muzik: warning vs. error
deryl is now known as ddd
hamakn has joined #ruby
<jhass>
world writable /usr/ is kind of funny though
<muzik>
*bow* thank you for setting me straight
oo_ has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
<AlphaTech>
It's a private system anyways
Dopagod has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
kt2 has quit [Quit: ...]
rbennacer has joined #ruby
nii236|irssi has joined #ruby
kt2 has joined #ruby
hamakn_ has joined #ruby
nateberkopec has joined #ruby
sinkensabe has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
kt2 has quit [Client Quit]
hamakn_ has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
amclain has joined #ruby
<jhass>
yeah, until somebody hacks into any regular user account and removes your /usr/. Then it's no system at all anymore
unreal_ has joined #ruby
<muzik>
*we have a hacker over here*
hamakn has quit [Read error: Connection reset by peer]
<AlphaTech>
Well
<AlphaTech>
What do I need to chmod it to?
hamakn has joined #ruby
<jhass>
755
SOLDIERz has joined #ruby
<AlphaTech>
K, thanks
jenrzzz has quit [Ping timeout: 256 seconds]
<muzik>
that is the correct question
<muzik>
and answer...
<AlphaTech>
Do I need to chmod -R or just regular chmod the directory?
<jhass>
-R could be dangerous on /usr/
nateberkopec has quit [Client Quit]
<AlphaTech>
K
kt2 has joined #ruby
<AlphaTech>
Thanks :)
<jhass>
but maybe check the permissions of the direct subdirectories too
<AlphaTech>
I just did "chmod 755 /usr" :)
sevvie has quit [Ping timeout: 250 seconds]
unreal has quit [Ping timeout: 250 seconds]
<apeiros_>
but 0777 is the lucky seven
sinkensabe has quit [Ping timeout: 264 seconds]
definiv has quit [Ping timeout: 250 seconds]
<apeiros_>
jhass: aren't you in the same timezone as I?
SOLDIERz has quit [Ping timeout: 250 seconds]
Soda has quit [Remote host closed the connection]
<jhass>
yes ;P
<apeiros_>
hm
<apeiros_>
I'm too tired to go through all options here :-p
ARCADIVS has joined #ruby
nuck has joined #ruby
oo_ has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<c_nick>
AlphaTech, that error went after you installed ruby-dev?
hamakn has quit [Read error: Connection reset by peer]
<AlphaTech>
c_nick: I got it to finally install everything correctly ;)
hamakn has joined #ruby
<AlphaTech>
sevenseacat: I'm not sure. To me, it just grabs the top of however many your specify. I want it to make sure every tweet is answered. (Even if there happens to be 50 in one crontab session)
<sevenseacat>
so dont take the top 3?
postmodern has joined #ruby
<c_nick>
AlphaTech, get few then next then next.. seems logical .. you dont want to over burden end user with lots of tweets
krz has joined #ruby
bafbomb has quit [Quit: Lost terminal]
<postmodern>
did i miss something, or does IPAddr not have a method for determining if an IP is a private non-routable ip?
paradisaeidae has quit [Ping timeout: 250 seconds]
unreal has joined #ruby
<AlphaTech>
c_nick: About how many tweets should I grab per minute?
<willharrison>
weaksauce cool. I will check it out. is it for ruby 2.0? or is that something that doesn't really matter?
psy_ has quit [Ping timeout: 255 seconds]
<c_nick>
willharrison, try lynda.com that will get you up and running in ruby in about a day (with prior programming knowledge)
<weaksauce>
it should be. but honestly it doesn't matter
c_nick has quit [Quit: Ex-Chat]
<willharrison>
c_nick I am up and running, I just want to learn to do things the "ruby way"
<willharrison>
best practices and so forth
<AlphaTech>
jhass: That's exactly what I need. Say I grab the top 5 one minute and the next minute I grab the top five again. What if someone never posted in between the minutes? Won't that cause the bot to respond to the same person again?
<weaksauce>
that is the absolute best book I can think of to teach idiomatic ruby
definiv has quit [Remote host closed the connection]
<_blizzy_>
so, I'm trying to run this, but in irb, after I require app.rb, however, I get 'NameError: uninitialized constant ApplicationController'
balazs has quit [Ping timeout: 252 seconds]
definiv has joined #ruby
<willharrison>
weaksauce cool. I think I am about to buy it then. thanks
<_blizzy_>
or
<jhass>
AlphaTech: did you look at the parameters it takes?
<willharrison>
_blizzy_ I have read most of the style guide and I read learn the hard way. both are a good help
<_blizzy_>
willharrison, make something
<_blizzy_>
best way to learn a langauge is to make something with it
<weaksauce>
_blizzy_ nope
paradisaeidae has joined #ruby
<willharrison>
want to make sure I make it the right way tho
<weaksauce>
best way to write code that you already know how to write is to make something
tunaCanBruh has quit [Ping timeout: 245 seconds]
mloveless has joined #ruby
<weaksauce>
you either study idiomatic code, find a teacher, or read a book on it
<AlphaTech>
jhass: So if we use since_id, we could use a cache of the last post we responded to last time
mloveless has quit [Remote host closed the connection]
<jhass>
yup
Kricir has quit [Remote host closed the connection]
<weaksauce>
_blizzy_ why do you think you have that error?
<_blizzy_>
weaksauce, ...., I feel stupid now.
<_blizzy_>
thxs.
<AlphaTech>
jhass: Okay, i know little to nothing about actually coding in ruby gems, do you have a tutorial that could point me in the right direction?
<weaksauce>
not my intention actually. It was a different subject
claptor has joined #ruby
<weaksauce>
I was going to try to help you
<jhass>
AlphaTech: tryruby.org maybe?
Kricir has joined #ruby
wallerdev has joined #ruby
<AlphaTech>
jhass: Thanks! If you want to see if I ever get it working, just follow @TheFlaskBot on Twitter ;)
wallerdev has quit [Client Quit]
<_blizzy_>
weaksauce, oh.
<_blizzy_>
weaksauce, IDK really.
sent1nel has joined #ruby
<weaksauce>
do you know what name error uninitialized constant means?
shadoi has quit [Quit: Leaving.]
<_blizzy_>
actually I figured it out
<_blizzy_>
I needed to require the app file in the controller file
<AlphaTech>
jhass: I ran "ruby help" on my system and it returned with "ruby: No such file or directory -- help (LoadError"
Synthbread has joined #ruby
<weaksauce>
ri is what you are looking for
<_blizzy_>
weaksauce, me or AlphaTech ?
<weaksauce>
AlphaTech
<_blizzy_>
oh.
<weaksauce>
you figured it out!
yfeldblu_ has joined #ruby
mikepack has joined #ruby
Kricir has quit [Ping timeout: 250 seconds]
magic__ has joined #ruby
<jhass>
AlphaTech: yup
lightstalker has quit [Ping timeout: 245 seconds]
fabrice31 has joined #ruby
Troy^ has joined #ruby
balazs has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
shadoi has joined #ruby
luriv_ has quit [Ping timeout: 250 seconds]
havenwoo_ has quit []
<balazs>
hi
psy_ has joined #ruby
valkyrka has quit [Ping timeout: 244 seconds]
ajaiswal has joined #ruby
fabrice31 has quit [Ping timeout: 252 seconds]
<_blizzy_>
hi balazs.
definiv has quit [Quit: Out]
rbennacer has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
ohga_ex has joined #ruby
skj3gg has joined #ruby
<AlphaTech>
Lol figured it out
<AlphaTech>
It's ruby file.rb just like Python......
zacts has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
Musashi007 has joined #ruby
SOLDIERz has joined #ruby
zorak_ has joined #ruby
<AlphaTech>
jhass: So I make a test.rb that contains all the config variables and I also added a status update just to test out the auth. At the end of the file I wrote "end" and it returned with this error: test.rb:1:in `<main>': uninitialized constant Twitter (NameError)
zorak8 has quit [Read error: Connection reset by peer]
sevvie has joined #ruby
<jhass>
AlphaTech: looks like you didn't require "twitter" to load the gem
<AlphaTech>
Oh
<AlphaTech>
I didn't realize you had to require it like that
<AlphaTech>
I just thought it would import by itself
<jhass>
well, loading all libraries you have installed all the time would be kind of messy ;)
<AlphaTech>
Heh, so just put "require twitter" at the top?
<_blizzy_>
put
<_blizzy_>
require 'twitter'
wallerdev has joined #ruby
wallerdev has quit [Client Quit]
<_blizzy_>
you have to wrap the module in quotes, single or double.
<AlphaTech>
Okay, single-quotes ;)
oleo is now known as Guest88958
<_blizzy_>
I personally prefer single quotes for my imports.
<jhass>
you actually specify a filename there, it searches in $LOAD_PATH and appends .rb
oleo__ has joined #ruby
<_blizzy_>
oh, thxs, jhass.
sent1nel has quit [Ping timeout: 265 seconds]
wallerdev has joined #ruby
vdamewood has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Yzguy has joined #ruby
it0a has quit [Ping timeout: 252 seconds]
Troy^ has joined #ruby
<AlphaTech>
It doesn't like the line "client.update("I'm tweeting with @gem!")" and I took it straight from the example
<jhass>
"doesn't like"
<jhass>
"computer not work! help!"
Guest88958 has quit [Ping timeout: 245 seconds]
Troy^ has quit [Client Quit]
Synthbread has quit [Remote host closed the connection]
<_blizzy_>
client's values aren't actually set until the block is done?
triple_b has joined #ruby
<_blizzy_>
meaning to client.update, the values are empty?
bruno- has quit [Ping timeout: 256 seconds]
<jhass>
_blizzy_: the constructor likely directly calls the code, so .new calls #initialize and that runs the block, so it is run before .new returns
<jhass>
*calls the block
jack_rabbit has joined #ruby
<AlphaTech>
jhass: What's the difference between your code and mine besides that yours has a line break under the require?
<_blizzy_>
oh ok, thanks, jhass.
definiv has quit [Client Quit]
amystephen has quit [Quit: amystephen]
<jhass>
AlphaTech: it's properly indent to show you its structure, in the hope that you'll recognize that the last line inside the block is run before the assignment is complete
dol37__ has quit [Quit: Connection closed for inactivity]
<jhass>
*indented
iwishiwerearobot has joined #ruby
<jhass>
AlphaTech: or in other words: please show me a single example that puts that line inside the block
<AlphaTech>
Ah, so put the client.update after the end?
<_blizzy_>
yes.
<jhass>
perfect question you could avoid by just trying
mikepack has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
skj3gg has joined #ruby
ddd has quit [Quit: leaving]
<_blizzy_>
the ruby channel seems
<_blizzy_>
sassy
jlast has joined #ruby
lightstalker has joined #ruby
<AlphaTech>
Nope
<_blizzy_>
it was a play on words.
<shevy>
full of gangsters here
<_blizzy_>
since sass c:
<AlphaTech>
It just returned with a lot of errors
<_blizzy_>
oh.
it0a has joined #ruby
sevvie has joined #ruby
<AlphaTech>
First it said could not auth but I think the rest were caused by not being able to auth
skj3gg has quit [Client Quit]
<jhass>
sounds likely
iwishiwerearobot has quit [Ping timeout: 246 seconds]
postmodern has quit [Quit: Leaving]
zachrab has joined #ruby
Dai-chan has quit [Ping timeout: 252 seconds]
definiv has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
<TheNet>
is there a way to detect if a method is part of a chain?
<jhass>
what do you mean?
shtirlic has quit [Ping timeout: 252 seconds]
krz has quit [Quit: WeeChat 1.0.1]
definiv has quit [Client Quit]
<TheNet>
i.e thing.method (not part of a chain) vs thing.method_one.method_two (method two is part of a chain)
rmoriz has quit [Ping timeout: 252 seconds]
braincrash has quit [Quit: bye bye]
krz has joined #ruby
<jhass>
I can't imagine why you would do that
<jhass>
but no
<AlphaTech>
Hey! I did it, it returned nothing, but it posted to the timeline!
<_blizzy_>
congrats.
zachrab has quit [Ping timeout: 264 seconds]
<AlphaTech>
jhass: What would be the best way to store the last post ID so we don't check the tweets twice?
<jhass>
depends, I guess just write it to a file
sent1nel has quit [Remote host closed the connection]
<streaxy>
Im just a guy aspiring to learn to code.
<streaxy>
And I heard that Ruby is an awesome place to start
<jhass>
sure
<jhass>
but the error you had only happens on windows :P
<streaxy>
Lol
<streaxy>
Im sorry
<streaxy>
Blame my GF
tunaCanBruh has quit [Ping timeout: 255 seconds]
<AlphaTech>
When I do a puts of client.mentions_timeline(), it returns with #<Twitter::Tweet:0x16bd5d8>, how can I run a foreach on it?
<streaxy>
She would freak out if the DB screen popped up when she was booting her lappy
<jhass>
she forbids VirtualBox or Dualboot?
<streaxy>
Not so much VB
<streaxy>
But I want the full box of Ubuntu or nothing at all
bootstrappm has quit [Quit: bootstrappm]
<streaxy>
Wireless drivers are a pain for VB or atleast for me
danman has joined #ruby
zachrab has joined #ruby
danman has quit [Client Quit]
jenrzzz has joined #ruby
<streaxy>
Okay redcar is up and running
mistermocha has joined #ruby
<jhass>
AlphaTech: with .each
<streaxy>
Wow
<streaxy>
Redcar is now not responding
<streaxy>
Every time I restart it, it does the same thing
<AlphaTech>
jhass: yes, I did that and inside of the each, I put |a| to define the var and put a client.status(a) and it is just dumping out the tweet IDs still and not the contents of the tweet (what client.status does)
echevemaster has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 252 seconds]
skj3gg has joined #ruby
mikepack has joined #ruby
ghostpl_ has quit [Ping timeout: 250 seconds]
mikepack has quit [Remote host closed the connection]
riotjones has joined #ruby
agrinb has quit [Remote host closed the connection]
LetErikTry has quit [Quit: sleep]
agrinb has joined #ruby
rbennacer has joined #ruby
fatRomeo has quit [Ping timeout: 246 seconds]
fatRomeo has joined #ruby
riotjones has quit [Ping timeout: 264 seconds]
rbennacer has quit [Ping timeout: 244 seconds]
dojobo has quit [Quit: Leaving]
agrinb has quit [Ping timeout: 250 seconds]
atomi has quit [Quit: brb]
lkba has joined #ruby
DonOtreply has joined #ruby
keen__________68 has joined #ruby
serivich has joined #ruby
keen__________67 has quit [Ping timeout: 240 seconds]
<AlphaTech>
Does anyone know of a library for artificial intelligence that could take (forexample) chat("Whatever the person said") and return it with a valid response?
<ponga>
AlphaTech: i do know one
<ponga>
but the api is not free
atomi has joined #ruby
<ponga>
:(
<ponga>
well im making one, but its not in english
<AlphaTech>
ponga: Eh, thanks anyways
<ponga>
AlphaTech: you should google 'chatbot'
helpa has quit [Ping timeout: 246 seconds]
jlast has joined #ruby
<AlphaTech>
ponga: None of them seem to use a Ruby library though
hvxgr has quit [Ping timeout: 256 seconds]
<ponga>
hm..
tagrudev has joined #ruby
tunaCanBruh has joined #ruby
ghostlines has joined #ruby
<AlphaTech>
I'm going to try out "lita" and hope it isn't too complex for what I'm building
jlast has quit [Ping timeout: 250 seconds]
SOLDIERz has joined #ruby
idoru has quit [Read error: Connection timed out]
fantazo has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
tunaCanBruh has quit [Ping timeout: 245 seconds]
karmatr0n has quit [Remote host closed the connection]
_blizzy_ has quit [Ping timeout: 264 seconds]
riotjones has joined #ruby
magic__ has quit [Quit: Leaving]
SOLDIERz has quit [Ping timeout: 265 seconds]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
fenzil has quit [Read error: Connection reset by peer]
jlast has joined #ruby
CustosL1men has joined #ruby
sinkensabe has quit [Remote host closed the connection]
jlast_ has joined #ruby
kp666 has joined #ruby
charliesome has quit [Quit: zzz]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
boombadaroomba has quit [Remote host closed the connection]
spider-mario has quit [Ping timeout: 245 seconds]
yellowgh0st has joined #ruby
arup_r has joined #ruby
jlast_ has quit [Ping timeout: 265 seconds]
zyxelthrone has quit [Quit: WeeChat 1.1.1]
RDash has quit [Changing host]
RDash has joined #ruby
Mon_Ouie has quit [Ping timeout: 255 seconds]
raja_ has joined #ruby
oo_ has quit [Ping timeout: 246 seconds]
idoru has joined #ruby
paradisaeidae has quit [Ping timeout: 245 seconds]
goodenough has quit [Remote host closed the connection]
andikr has joined #ruby
<arup_r>
why are we quiet ?
byprdct has joined #ruby
duncannz has joined #ruby
byprdct has quit [Client Quit]
rvchangue has joined #ruby
sevvie has joined #ruby
ixti has joined #ruby
jgt has joined #ruby
<certainty>
do you guy use Kernel#warn in your code?
AlienPickle has joined #ruby
sent1nel has joined #ruby
fabrice31 has joined #ruby
<arup_r>
certainty: moin
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
jimms has joined #ruby
<certainty>
arup_r: o/
jack_rabbit has quit [Ping timeout: 264 seconds]
dumdedum has joined #ruby
sent1nel has quit [Ping timeout: 252 seconds]
iwishiwerearobot has joined #ruby
<arup_r>
what does it mean?
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
<arup_r>
I don't understand what shevy want to say using \o/ or o/ :p
<certainty>
arup_r: it's a pictogram of a person saying hi
<arup_r>
tell me so that I can use these by knowing their meaninga
<sevenseacat>
someone waving hello., i presume.
<arup_r>
and \o/ ?
<certainty>
\o/ is a person throwing the hands in the air, like being totally happy
leat has joined #ruby
<sevenseacat>
the o is the persons head
<arup_r>
Ohh! make sense
apurcell has quit [Quit: Be back later ...]
<certainty>
yeah like waving, thank sevenseacat
<arup_r>
sevenseacat: hehehe.. I know you are the best teacher out there
<sevenseacat>
:)
<arup_r>
certainty: \o/
<arup_r>
sevenseacat: o/
<sevenseacat>
:)
<certainty>
arup_r: also i \o_ which is a semaphore xp
<arup_r>
certainty: \m/
codecop has joined #ruby
hollywood has joined #ruby
blaxter has joined #ruby
dumdedum has quit [Ping timeout: 246 seconds]
<certainty>
hehe rock on :)
mxrguspxrt has joined #ruby
<sevenseacat>
:D
<arup_r>
;)
rvchangue has quit [Quit: dead]
iwishiwerearobot has quit [Ping timeout: 256 seconds]
<certainty>
so today is clojure day :)
rvchangue has joined #ruby
mkaesz has joined #ruby
iwishiwerearobot has joined #ruby
jgt has quit [Ping timeout: 255 seconds]
iwishiwerearobot has quit [Client Quit]
mathie has joined #ruby
wallerdev has joined #ruby
psy_ has quit [Quit: Leaving]
SOLDIERz has joined #ruby
allenn has joined #ruby
fatRomeo has quit [Ping timeout: 246 seconds]
kalusn has joined #ruby
oo_ has joined #ruby
quazimodo has joined #ruby
dubchasin has joined #ruby
<dubchasin>
hello to all of you)
mkaesz has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
jlast has joined #ruby
_Andres has joined #ruby
mkaesz has joined #ruby
nii236|irssi has joined #ruby
agrinb has joined #ruby
elaptics is now known as elaptics_away
nii236|irssi has joined #ruby
nolic has quit [Remote host closed the connection]
strixd has joined #ruby
SOLDIERz has quit [Ping timeout: 246 seconds]
longfeet has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 250 seconds]
agrinb has quit [Ping timeout: 265 seconds]
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mathie has joined #ruby
craigp has quit [Remote host closed the connection]
devoldmx has joined #ruby
aganov has joined #ruby
vdamewood has joined #ruby
helpa has joined #ruby
tokik has quit [Ping timeout: 255 seconds]
craigp has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
defrang has joined #ruby
ghostpl_ has joined #ruby
kalusn has quit [Remote host closed the connection]
nuck has quit [Quit: Computer has gone to sleep.]
terlar has joined #ruby
jonr22 has joined #ruby
raja_ has quit [Read error: Connection reset by peer]
raja_ has joined #ruby
jheg has joined #ruby
ghostpl_ has quit [Ping timeout: 250 seconds]
rvchangue has quit [Ping timeout: 240 seconds]
systemd0wn_ has joined #ruby
jonr22 has quit [Ping timeout: 265 seconds]
himsin has quit [Read error: Connection reset by peer]
<dubchasin>
yooy
sinkensabe has quit [Read error: Connection reset by peer]
dubchasin has quit [Quit: Leaving]
sinkensabe has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
himsin has joined #ruby
lidaaa has quit [Ping timeout: 244 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
systemd0wn has quit [Ping timeout: 250 seconds]
craigp has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tag has quit [Ping timeout: 246 seconds]
decoponio has joined #ruby
mkaesz has quit [Read error: Connection reset by peer]
joufflu has quit [Read error: Connection reset by peer]
febuiles has joined #ruby
iwishiwerearobot has joined #ruby
serivich has quit [Ping timeout: 246 seconds]
joonty has joined #ruby
Synthbread has quit [Read error: Connection reset by peer]
bjornar has joined #ruby
mkaesz has joined #ruby
cryo28 has joined #ruby
duncannz has quit [Ping timeout: 252 seconds]
bruno- has joined #ruby
djbkd has quit [Remote host closed the connection]
einarj has joined #ruby
blaxter has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
jimms has quit [Remote host closed the connection]
arup_r has quit []
yxejamir has joined #ruby
AlienPickle has quit [Ping timeout: 244 seconds]
yxejamir has quit [Changing host]
yxejamir has joined #ruby
oo_ has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
craigp has joined #ruby
tag has joined #ruby
cryo28 has quit [Quit: leaving]
cryo28 has joined #ruby
colinstgeorge has quit [Read error: Connection reset by peer]
avril14th has joined #ruby
<avril14th>
morning
msgodf has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
felixjet__ has joined #ruby
oo_ has joined #ruby
roolo has joined #ruby
yellowgh0st has quit [Quit: yellowgh0st]
riotjone_ has joined #ruby
Morkel has joined #ruby
chipotle_ has joined #ruby
Morkel has left #ruby [#ruby]
tunaCanBruh has quit [Ping timeout: 256 seconds]
joonty has quit [Quit: joonty]
redondos has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: zzz]
Azure has quit [Read error: Connection reset by peer]
patrick99e99 has quit [Read error: Connection reset by peer]
quazimodo has quit [Remote host closed the connection]
blenny has quit [Ping timeout: 250 seconds]
gf3 has quit [Ping timeout: 265 seconds]
Nilium has quit [Ping timeout: 252 seconds]
Azure has joined #ruby
patrick99e99 has joined #ruby
timmow_ has quit [Ping timeout: 255 seconds]
davidcelis has quit [Ping timeout: 265 seconds]
warreng has quit [Ping timeout: 265 seconds]
mattp_ has quit [Read error: Connection reset by peer]
x1337807x has joined #ruby
charliesome has joined #ruby
hs366 has joined #ruby
blenny has joined #ruby
crazysim has quit [Excess Flood]
chipotle has quit [Ping timeout: 246 seconds]
mattp_ has joined #ruby
crazysim has joined #ruby
jkyle1 has quit [Ping timeout: 265 seconds]
riotjones has quit [Ping timeout: 246 seconds]
felixjet_ has quit [Ping timeout: 252 seconds]
redondos has joined #ruby
timmow has joined #ruby
gf3 has joined #ruby
rvchangue has joined #ruby
rvchangue has joined #ruby
Nilium has joined #ruby
warreng has joined #ruby
davidcelis has joined #ruby
nii236|irssi is now known as nii236
inukshuk has joined #ruby
kyb3r_ has quit [Quit: Leaving]
craigp has quit [Remote host closed the connection]
phansch has joined #ruby
livathinos has joined #ruby
wpp has joined #ruby
Hobogrammer has quit [Ping timeout: 250 seconds]
blaxter has joined #ruby
DEA7TH has joined #ruby
yellowgh0st has joined #ruby
yellowgh0st has quit [Client Quit]
fantazo has quit [Quit: Verlassend]
himsin has quit [Ping timeout: 244 seconds]
serivich has joined #ruby
himsin has joined #ruby
mkaesz has quit [Read error: Connection reset by peer]
himsin has quit [Remote host closed the connection]
jlast has joined #ruby
agrinb has joined #ruby
craigp has joined #ruby
sinkensabe has quit []
jimms has joined #ruby
yfeldblum has joined #ruby
lolmaus has joined #ruby
mkaesz has joined #ruby
Lemur has quit [Remote host closed the connection]
Lemur has joined #ruby
bweston92 has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 250 seconds]
lolmaus_ has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
jkyle1 has joined #ruby
<bweston92>
I use RVM to manage ruby installation, will installing ruby via apt-get disrupt this? I need to get the dev tools and aptitude wants to get ruby along with it ¬¬
duncannz has joined #ruby
starfox_sf has quit [Read error: Connection reset by peer]
SOLDIERz has joined #ruby
lolmaus_ has quit [Client Quit]
rvchangue has quit [Ping timeout: 264 seconds]
yfeldblu_ has joined #ruby
lolmaus_ has joined #ruby
Lemur has quit [Ping timeout: 265 seconds]
mikecmpbll has joined #ruby
lolmaus_ has quit [Client Quit]
kalusn has joined #ruby
<sevenseacat>
what dev tools?
<bweston92>
`ruby-dev` yes
<sevenseacat>
why are you installing ruby-dev
yfeldblum has quit [Ping timeout: 252 seconds]
<bweston92>
Because mysql gem requires it
<sevenseacat>
no it doesnt
kalusn has quit [Remote host closed the connection]
kalusn has joined #ruby
<bweston92>
Hmm, it says the libraries are present to build it...
<ddv>
anyone here using httparty? how I prevent it from normalizing my query string? it replaces ; with %3B
<ddv>
+do
livathinos has quit []
vtunka has quit [Read error: Connection reset by peer]
serivich has quit [Ping timeout: 252 seconds]
unshadow has joined #ruby
Musashi007 has quit [Quit: Musashi007]
unshadow has quit [Client Quit]
livathinos has joined #ruby
vtunka has joined #ruby
systemd0wn_ has quit [Ping timeout: 252 seconds]
yellowgh0st has quit [Ping timeout: 252 seconds]
unshadow has joined #ruby
yellowgh0st has joined #ruby
chthon has joined #ruby
quazimodo has joined #ruby
MasterPiece has joined #ruby
<quazimodo>
does anyone use fish?
<waxjar>
ddv: use a Hash to set the query String, ; has meaning in a query string and should be escaped?
<waxjar>
fish <3
tunaCanBruh has joined #ruby
unshadow has quit [Client Quit]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ddv>
waxjar: I'm using a hash? query: { signals: %w(packet_index val1 val2 val3).join(';') }, now I makes &signals=packet_index%3Bval1%3B, but I want %3B just to be ;
<ddv>
it*
<quazimodo>
waxjar: you use?
<waxjar>
quazimodo: yes
wottam has joined #ruby
nickjj has quit [Ping timeout: 252 seconds]
<waxjar>
ddv: query strings can be written like key=value;some_key;key=value too, that's why it's escaped
MasterPiece has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 245 seconds]
<mikecmpbll>
i think that's what he's trying to do.
<mikecmpbll>
oh, nevermind
<mikecmpbll>
read it wrong
renier has joined #ruby
<ddv>
waxjar: I don't want httparty to escape it. :)
<mikecmpbll>
ddv: you don't have a choice, it wouldn't be valid if not.
<quazimodo>
waxjar: is it gooda?
<quazimodo>
waxjar: i just installed, it seems cute, but i've been on bash for ever
renier_ has quit [Ping timeout: 252 seconds]
<ddv>
mikecmpbll: well sometimes you need to send data to some api that is just weird
<quazimodo>
holy crap it has all sorts of yumminess
<ddv>
mikecmpbll: i don't have a choice, it isn't a problem with net/http
<waxjar>
quazimodo: i love it, very little configuration, much nicer script syntax and especially the coloring and autocompletion is great
<mikecmpbll>
ddv: don't expect libraries to support it though ;)
fabrice31 has quit [Remote host closed the connection]
<arup_r>
jhass: Awesome!!
<arup_r>
Thank you very much!
razieliyo has joined #ruby
<arup_r>
This can come out of an experienced Rubyist... Thanks for rewriting it... I am gonna add it to wikipedia.. Wikipedia lacks Ruby example for design patterns
jgt has quit [Read error: Connection reset by peer]
jgt has joined #ruby
rdark has quit [Ping timeout: 252 seconds]
<jhass>
eh, no please don't
<jhass>
I didn't pay attention to keep any pattern
rdark has joined #ruby
commmmodo has joined #ruby
ajaiswal has quit [Quit: Leaving]
<waxjar>
plus there is the licensing problem, jhass could sue you bigtime :P
<arup_r>
jhass: Ok..
Lildirt has quit [Read error: Connection reset by peer]
jlast has joined #ruby
<arup_r>
waxjar: I don't then... :-(
agrinb has joined #ruby
Lildirt has joined #ruby
<arup_r>
Wikipedia has no Ruby examples.. It hurts me.. :( All Java and C# examples
nolic has quit [Remote host closed the connection]
<ddv>
I would put def build_ below private
<ddv>
not on the same line
<ddv>
as per the ruby style guide
raja has joined #ruby
<arup_r>
ddv: Ok.. But the convention @jhass did is very new and much more readable IMO..
sieve has quit [Quit: Leaving.]
<arup_r>
You don't need to scroll down to find one in a long Ruby file
<ddv>
sirup_r....
<ddv>
please
<arup_r>
this is called _inline_ access specifier marking..
raja has quit [Client Quit]
<arup_r>
ddv: I'm not.. :p
rsavage has joined #ruby
fabrice31 has joined #ruby
psy_ has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 250 seconds]
jlast has quit [Ping timeout: 265 seconds]
<jhass>
oh, ddv is right. too much Crystal I guess :P
<arup_r>
jhass: Your convention is pretty much accepted
<arup_r>
AFAIK
<arup_r>
:)
davedev24_ has quit [Remote host closed the connection]
mroach has joined #ruby
DaniG2k has joined #ruby
ismaelga has joined #ruby
FooMunki_ has quit [Quit: FooMunki_]
fgo has joined #ruby
<ddv>
jhass just forgot a newline
<ddv>
big deal
<ddv>
:)
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
iamninja has quit [Ping timeout: 240 seconds]
FooMunki has joined #ruby
jgt has quit [Read error: Connection reset by peer]
jm0 has joined #ruby
synfin has quit [Remote host closed the connection]
jgt has joined #ruby
startupality has joined #ruby
apeiros_ has quit [Ping timeout: 250 seconds]
n1x has joined #ruby
Pharaoh2_ has joined #ruby
ismaelga has quit [Remote host closed the connection]
jonr22 has joined #ruby
Timgauthier has joined #ruby
Pharaoh2 has quit [Ping timeout: 264 seconds]
sieve has joined #ruby
dcarmich has joined #ruby
<zmyrgel>
Hi, I'm having trouble using net/sftp to download remote files on windows
jonr22 has quit [Ping timeout: 265 seconds]
<zmyrgel>
I get "connection closed by remote host" error after downloading 16MB of the intended file
jm0 has quit [Ping timeout: 240 seconds]
jm0 has joined #ruby
<ddv>
you have ssh running under cygwin or something?
mkaesz has quit [Read error: Connection reset by peer]
<zmyrgel>
nope
Morkel has quit [Quit: Morkel]
<zmyrgel>
just tried Putty SFTP client, I got to 1Gb before that errored out
mkaesz has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ismaelga has joined #ruby
adriancb has joined #ruby
<ddv>
oh I read your question wrong
zorak_ has quit [Ping timeout: 250 seconds]
tkuchiki has quit [Ping timeout: 246 seconds]
SOLDIERz has joined #ruby
Takle has quit [Remote host closed the connection]
admin0 has joined #ruby
amacou has joined #ruby
Hakuba has joined #ruby
keen__________68 has quit [Read error: Connection reset by peer]
ponga has joined #ruby
yottanami has joined #ruby
adriancb has quit [Ping timeout: 265 seconds]
<yottanami>
Is any function in ruby to convert a string like this "item_name" to "Item Name" ?
fatRomeo has joined #ruby
oleo__ has quit [Quit: Verlassend]
jgt has quit [Read error: Connection reset by peer]
<kotay>
Having a hard time rendering emojis in a PDF using ruby.
brb3 has joined #ruby
codecop has quit [Remote host closed the connection]
<wasamasa>
are you using the right font?
<kotay>
Yes, it just renders as a replacement character. I don't think it'll render unicode emojis.
cphrmky has joined #ruby
<wasamasa>
what font are you using?
jlast has joined #ruby
<kotay>
Apple Color Emoji
agrinb has joined #ruby
<wasamasa>
oh dear
<wasamasa>
that sounds like the source of the problem
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<wasamasa>
could you try using a font like symbola or quivira?
<Hanmac>
apple is often the source of the problem ;P
<wasamasa>
well, that font is rather... unique
<Hanmac>
and if not, blame adobe xD
<wasamasa>
since it's one of the few with embedded colored png files
DonOtreply has quit [Quit: DonOtreply]
<wasamasa>
which requires the appropriate support by whatever is doing the rendering
<softinio>
best vim plugins for ruby development ?
<kotay>
Thanks wasamasa
<wasamasa>
kotay: the fonts I've mentioned are free and contain regular emoji outlines
<wasamasa>
kotay: so, if it doesn't work with them either, you at least know that it wasn't the fault of your original font choice
coinrookie has quit [Quit: Leaving]
<kotay>
wasamasa: Cheers, I'll take a look.
sandelius has joined #ruby
jmignault has quit [Quit: jmignault]
mroach has quit [Quit: mroach]
agrinb has quit [Ping timeout: 250 seconds]
jlast has quit [Ping timeout: 250 seconds]
sieve has joined #ruby
Takle has joined #ruby
tkuchiki has joined #ruby
<Hanmac>
wasamasa:
Rapier- has joined #ruby
jmignault has joined #ruby
* wasamasa
zooms in
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cust0sL1men has joined #ruby
<wasamasa>
HAPPY PERSON RAISING ONE HAND
<Hanmac>
yeah, one of the funniest ones in the symbols section ;P
superlou has joined #ruby
silkfox has joined #ruby
sambao21 has joined #ruby
<superlou>
I'm trying to use Savon 3 from Github via "gem 'savon', github: 'savonrb/savon', branch: 'version3'" on a windows PC. Bundle install seems to work fine: Using savon (3.0.0) from git://github.com/savonrb/savon.git (at version3). However, when I run the script, require 'savon' results in cannot load such file -- savon
paulfm has joined #ruby
<superlou>
On windows, is there a way to figure out why bundler might think a gem's available, but ruby be unable to find it?
<jhass>
bundle exec ruby your_script.rb or in your script make the first require 'bundler/setup'
shredding has joined #ruby
blizzy has joined #ruby
<superlou>
jhass, That's embarrassing.
<superlou>
Could've sworn I had that, but looking through my includes, don't see it.
<superlou>
Sorry. Thanks!
Axord has joined #ruby
dblessing has joined #ruby
lordkryss has joined #ruby
paulfm_ has joined #ruby
<softinio>
you guys recommend using bundler ? New to ruby world :-)
joonty has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
<jhass>
depends on the project and opinion does play into it too, but I generally do, yeah
lxsameer has quit [Quit: Leaving]
lioninawhat has quit [Remote host closed the connection]
psy_ has joined #ruby
last_staff has joined #ruby
grn_ has joined #ruby
<Hanmac>
for my own projects i dont need bundler because i ship my stuff as gems
<softinio>
I am right in my understanding that bundler enables me to use a different set of gems for each project where as without it same gems installed would be used by all projects
yottanami has left #ruby ["PING 1424266663"]
apurcell has joined #ruby
jonr22 has joined #ruby
tier has joined #ruby
oo_ has quit [Remote host closed the connection]
ccooke has quit [Quit: Lost terminal]
sent1nel has joined #ruby
ccooke has joined #ruby
<jhass>
sort of, first of all not all gems are unconditionally loaded, you do need to require them
<odigity>
anyone happen to know of pis or arduinos are more popular/well-supported in the ruby community?
<jhass>
what bundler enables you more easily is to use the same gem in different versions across different projects
<odigity>
I should have capitalized Pi so it doesn't look like piss with a typo
paulfm_ has quit [Read error: Connection reset by peer]
<jhass>
softinio: and the other main feature of bundler is that it enables you to replicate the exact environment, in terms of used gems, onto other setups
yeticry has quit [Ping timeout: 256 seconds]
<yxejamir>
softinio, depends on whether you have some other sort of configuration management handle dependencies for you. Bundler can also play nice with other configuration management, so no reason not to use it, really.
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juanpablo_ has joined #ruby
<Timgauthier>
My grandma asked for photos of our wedding, and she picked out formals. THe formals she picked out are JUST my side of the family, she doesn't want anything with my mother and father-in-law lol
<Hanmac>
Timgauthier: in germany its not the speed limit which is problematic, its the other drivers ...
<Timgauthier>
ah just saw the photo, yeah we have 100km'h on a road like that
aclearman037 has joined #ruby
<Timgauthier>
and a sign saying the road is shit
<Timgauthier>
yea thats true hanmac
<Timgauthier>
sadly i'm not the best driver in germany, i'm better in the deep snow and crap from canada
codeurge has joined #ruby
<shevy>
lol
<shevy>
a sign saying the road is shit? now that's funny :)
<shevy>
yeah I can understand
paulfm_ has joined #ruby
<shevy>
you can be a better driver when a polar bear is chasing you
<Timgauthier>
yeah, Straße Schaden
sent1nel has joined #ruby
<shevy>
but those ice roads for big trucks are cool in canada
<Hanmac>
correction in germany its called "Straßenschäden"
SOLDIERz has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
<Hanmac>
one of the things i hate the most of drivers in germany are when they are driving constant ~60km/h or something like that ... inside (<50km/h allowed) and outside (<100km/h allowed) of cities ... specially if when the street does not allow to drive past them
<shevy>
hmm ok... that actually is more a river and less than a road... lol
tus has joined #ruby
<shevy>
max load was adviced to 4.000 kg, the truck had 60.000 kg
<Timgauthier>
haha wow
admin0 has joined #ruby
mkaesz has quit [Read error: No route to host]
amystephen has joined #ruby
<Timgauthier>
oop, some random came to the house to see "FRAU DR" (my mother in law is an Arzt
sent1nel has quit [Ping timeout: 264 seconds]
jlast has joined #ruby
mkaesz has joined #ruby
bruno- has quit [Quit: Lost terminal]
agrinb has joined #ruby
jimms has quit [Remote host closed the connection]
tier_ has joined #ruby
skj3gg has joined #ruby
SOLDIERz has quit [Ping timeout: 246 seconds]
<shevy>
pretend that you are her!
<shevy>
wear a moustache to make it seem more plausible (through increasing the confusion)
<shevy>
until you have a wikinger beard like workmad3
<Timgauthier>
haha noice
arup_r has quit [Remote host closed the connection]
<shevy>
and the smugly brotherly food leftovers hidding in the beard so you can eat that lateron while walking or climbing in mountains
superlou has quit [Quit: Leaving]
<Timgauthier>
i was about to post a photo of myself... but i realize how easily that can be used against me...
doodlehaus has joined #ruby
mostlybadfly has joined #ruby
mxrguspxrt has joined #ruby
triple_b has quit [Read error: Connection reset by peer]
zenith_ has joined #ruby
philtr_ is now known as philtr
tkuchiki_ has joined #ruby
shum1 has quit [Ping timeout: 250 seconds]
triple_b has joined #ruby
Timgauthier has quit [Read error: Connection reset by peer]
OrbitalKitten has joined #ruby
aamador has joined #ruby
Timgauthier has joined #ruby
triple_b_ has quit [Ping timeout: 250 seconds]
leat has quit [Remote host closed the connection]
tier has joined #ruby
tkuchiki has quit [Ping timeout: 250 seconds]
leat has joined #ruby
mxrguspxrt has quit [Ping timeout: 245 seconds]
banister has joined #ruby
<jhass>
TheRinger: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ help
Xnfu_ has joined #ruby
n1x has quit [Remote host closed the connection]
Channel6 has joined #ruby
Xnfu_ has left #ruby ["Leaving"]
tier_ has quit [Ping timeout: 264 seconds]
blaxter has quit [Quit: foo]
Fluent has joined #ruby
Cust0sL1men has joined #ruby
Soda has joined #ruby
<shevy>
Timgauthier yeah. people could photoshop it and then you'd end up with pink hair
AlienPickle has joined #ruby
byprdct has joined #ruby
<blizzy>
since #sinatra is kind of dead.
leat has quit [Remote host closed the connection]
<blizzy>
anyone know how I would use active record with sinatra?
<centrx>
Timgauthier, Are you the famous guy with the pink hair?
karmatr0n has joined #ruby
<Timgauthier>
no
<centrx>
blizzy, You can use the ActiveRecord gem, without Rails
<centrx>
blizzy, You could also use Sequel, another common Ruby ORM
leat has joined #ruby
iamninja has joined #ruby
<blizzy>
hmm, seems like I would need to use Sinatra-Activerecord also.
ghostpl_ has joined #ruby
iamninja has quit [Client Quit]
iamninja has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
JDiPierro has quit [Remote host closed the connection]
iamninja has quit [Client Quit]
mkaesz has quit [Read error: No route to host]
mkaesz has joined #ruby
iamninja has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skj3gg has quit [Quit: ZZZzzz…]
ghostpl_ has quit [Ping timeout: 256 seconds]
zenith_ has quit [Read error: Connection reset by peer]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ninjazach has joined #ruby
amacou has quit [Remote host closed the connection]
zenith_ has joined #ruby
karmatr0n has quit [Remote host closed the connection]
RegulationD has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki_ has quit [Remote host closed the connection]
iamninja has quit [Quit: WeeChat 1.1.1]
tkuchiki has joined #ruby
izzol has quit [Read error: Connection reset by peer]
serivich has joined #ruby
<blizzy>
so, I'm running 'rake -t', however, I'm getting 'cannot load such file -- active_record/railties/databases.rake' I'm using Sinatra with Ruby 1.9.3.
RegulationD has quit [Remote host closed the connection]
<mroth>
speaking of UTF-8, if anyone feels like doing some code review, I'd love to get some comments on this gem before starting work on the next version (need to start prep for new emoji in unicode 8.0 this summer): https://github.com/mroth/emoji_data.rb
pu22l3r has joined #ruby
mkaesz has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
startupality has joined #ruby
brb3 has quit [Quit: ZZZzzz…]
iamninja has quit [Quit: WeeChat 1.1.1]
jlast has joined #ruby
ghostpl_ has joined #ruby
goodenough has joined #ruby
iamninja has joined #ruby
apurcell has quit [Ping timeout: 250 seconds]
skj3gg has joined #ruby
<shevy>
hanmac oh my irc client supports UTF8 but I don't use UTF8
brb3 has joined #ruby
kp666 has quit [Quit: Leaving]
sambao21 has joined #ruby
OrbitalKitten has joined #ruby
jimms has quit [Remote host closed the connection]
AlienPickle has quit [Ping timeout: 244 seconds]
ghostpl_ has quit [Ping timeout: 264 seconds]
einarj has quit [Remote host closed the connection]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tunaCanBruh has quit [Ping timeout: 240 seconds]
<waxjar>
why not shevy?
vtunka_ has quit [Quit: Leaving]
iamninja has quit [Quit: WeeChat 1.1.1]
iamninja has joined #ruby
d10n-work has joined #ruby
dfinninger has joined #ruby
blackmesa has joined #ruby
<shevy>
I don't need it
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amdbcg has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Remote host closed the connection]
paulfm_ has quit [Read error: Connection reset by peer]
iamninja has quit [Client Quit]
Fire-Dragon-DoL has joined #ruby
jimms has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
tunaCanBruh has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
DEA7TH has quit [Remote host closed the connection]
bal has quit [Quit: bal]
gsd has joined #ruby
balazs has quit [Ping timeout: 252 seconds]
zenith_ has quit [Read error: Connection reset by peer]
DivineEntity has quit [Quit: Lost terminal]
amdbcg has joined #ruby
iamninja has joined #ruby
mkaesz has quit [Read error: No route to host]
pu22l3r has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
iamninja has quit [Client Quit]
perrier has quit [Remote host closed the connection]
mkaesz has joined #ruby
davedev24_ has joined #ruby
zenith_ has joined #ruby
sambao21 has joined #ruby
DivineEntity has joined #ruby
freerobby has quit [Quit: Leaving.]
crueber has joined #ruby
agrinb has joined #ruby
freerobby has joined #ruby
pu22l3r has joined #ruby
fgo has quit [Quit: WeeChat 1.1.1]
gfawcettpq has joined #ruby
mathie has joined #ruby
pu22l3r has quit [Remote host closed the connection]
ferr has joined #ruby
Mon_Ouie has joined #ruby
codeurge has joined #ruby
gmcintire has joined #ruby
DEA7TH has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
havenwood has joined #ruby
ferr has quit [Client Quit]
ferr has joined #ruby
tier_ has joined #ruby
tier has quit [Read error: Connection reset by peer]
agrinb has quit [Ping timeout: 265 seconds]
<DEA7TH>
I have an array of [i, j, value], where i and j are integers and every entry has a unique (i, j) combination. How can I use minimal amount of code to transform it into an adjacency matrix, where array[i][j] = value?
tier has joined #ruby
adamjleonard has quit [Quit: Leaving...]
goodenough has quit [Remote host closed the connection]
Dopagod has joined #ruby
<DEA7TH>
I can use array.group_by{|a| a[0]}.values.map{|outer| outer.group_by{... more code ...}} but that's really long for something so simple
<workmad3>
shevy: yeah, setting up the environment for CGI scripts can be somewhat weird, and dependent on the web server that's launching the CGI scripts
JDiPierro has quit [Remote host closed the connection]
<bennyklo1z>
hello there, i compiled ruby 2.2 by source and use it via chruby, my problem I use this little snippet to determine if I got socket support https://gist.github.com/tak1n/d9ca52f9ed2ee902a6c9 and it says no
JDiPierro has joined #ruby
ponga has quit [Quit: Leaving...]
Morkel has quit [Quit: Morkel]
<bennyklo1z>
which lib do I have to install, I installed libssl-dev
<bricker>
It would be nice if `retry` had a built-in counter, I am over writing that code every time.
<bennyklo1z>
my system is ubuntu 14.04 if that helps
jheg has quit [Quit: jheg]
JDiPierro has quit [Remote host closed the connection]
triple_b has joined #ruby
AlphaTech has joined #ruby
olivier_bK has quit [Ping timeout: 264 seconds]
jkyle1 has quit [Ping timeout: 255 seconds]
defrang has quit [Quit: defrang]
sinkensabe has joined #ruby
<bradland>
bennyklo1z: require 'mkmf'; have_libary('socket') is a non sequitur.
OrbitalKitten has joined #ruby
jonr22 has joined #ruby
<bradland>
mkmf is the library for generating makefiles
<bradland>
it has nothing to do with sockets
<shevy>
bennyklo1z you can install mkmf; you have to ask debian why they stripped it by default
<shevy>
oh wait
gattie has joined #ruby
<shevy>
have_library('socket')
<shevy>
checking for main() in -lsocket... no
<shevy>
hmmm
<bennyklo1z>
I know, I got problems installing rbx, but it turns out it's about -lsocket
<shevy>
libsocket.so I suppose
<bennyklo1z>
mri runs without -lsocket
<bradland>
i get the same, shevy
<shevy>
yeah weird
<bennyklo1z>
but rbx requires to find -socket
uptownhr has joined #ruby
<bennyklo1z>
-lsocket*
jobewan has joined #ruby
<shevy>
don't actually know of any *socket.so file :)
ghostlines has quit [Ping timeout: 240 seconds]
craigp has quit []
<shevy>
bennyklo1z libssl-dev is something else, it is openssl*
<shevy>
or *ssl*
<shevy>
libssl.so
<shevy>
hmm or libssl.so oh man
<bennyklo1z>
ok xD
<AlphaTech>
In my ruby script, it says put is an undefined method
<shevy>
if they'd all just use a consistent way to name stuff! but even distributions use different names for their -dev packages
mikepack has quit [Ping timeout: 256 seconds]
<bennyklo1z>
true true
<shevy>
AlphaTech try "puts" ?
<shevy>
or alias put puts
<shevy>
then you can use put
mkaesz has quit [Read error: Connection reset by peer]
<shevy>
or alias e puts! then you can use e rather than puts!!!
<bennyklo1z>
says I dont need an extra libsocket, wtf
<shevy>
bennyklo1z but to be honest with you... how do you know that you really need any libsocket* stuff?
cajone has quit [Remote host closed the connection]
<shevy>
yeah
yxejamir has quit [Ping timeout: 250 seconds]
Spami has joined #ruby
stef204 has joined #ruby
<shevy>
let's be daring now
<AlphaTech>
Also, I have a script that returns {:success=>true, :bot_id=>"b703f9937e34d0e1", :cust_id=>"blah", :input=>"Hello!", :output=>"Hi there!"} (or at least something similar). How can I just fetch the output from the variable?
baweaver has quit [Remote host closed the connection]
TTilus has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
tus has joined #ruby
maknz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skj3gg has quit [Quit: ZZZzzz…]
yfeldblum has joined #ruby
shazaum has quit [Quit: This computer has gone to sleep]
drkyro has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juanpaucar has joined #ruby
x1337807x has joined #ruby
adriancb has quit [Ping timeout: 246 seconds]
x1337807x has quit [Max SendQ exceeded]
agarie has quit []
duncannz has joined #ruby
rubytor has quit [Ping timeout: 245 seconds]
dzho has quit [Ping timeout: 240 seconds]
skj3gg has joined #ruby
x1337807x has joined #ruby
adriancb has joined #ruby
x1337807x has quit [Max SendQ exceeded]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_1_anyel has joined #ruby
x1337807x has joined #ruby
wldcordeiro has quit [Ping timeout: 250 seconds]
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
Xeago has joined #ruby
amdbcg has quit [Quit: amdbcg]
shredding has quit [Quit: shredding]
x1337807x has quit [Max SendQ exceeded]
blackmesa has quit [Ping timeout: 250 seconds]
OrbitalKitten has joined #ruby
livathin_ has quit [Remote host closed the connection]
x1337807x has joined #ruby
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/2015010900]]
SOLDIERz has quit [Read error: Connection reset by peer]
einarj_ has joined #ruby
SOLDIERz has joined #ruby
duncannz has quit [Ping timeout: 252 seconds]
ldnunes has quit [Quit: Leaving]
einarj has quit [Read error: Connection reset by peer]
livathinos has joined #ruby
mary5030 has joined #ruby
Pupeno_ has joined #ruby
fandi has joined #ruby
gyrfalco has joined #ruby
<dosman711>
does anyone here happen to use Redd, specifically the stream functionality? I'm having an issue where it just stops requesting after awhile
fandi has quit [Max SendQ exceeded]
coinrookie has joined #ruby
_1_anyel has quit [Remote host closed the connection]
rhg135 has quit [Quit: i is out]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pupeno has quit [Ping timeout: 250 seconds]
jaygen has joined #ruby
rhg135 has joined #ruby
x1337807x has joined #ruby
maknz has joined #ruby
x1337807x has quit [Max SendQ exceeded]
fandi has joined #ruby
gyrfalco has quit [Client Quit]
ninjazach has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
<willharrison>
is it easy to find a job doing rails?
jefus has quit [Ping timeout: 265 seconds]
x1337807x has joined #ruby
banister has joined #ruby
x1337807x has quit [Max SendQ exceeded]
shredding has joined #ruby
<willharrison>
and are there other frameworks that I can get jobs doing web dev with ruby that isnt rails?
x1337807x has joined #ruby
commmmodo has joined #ruby
Soda has joined #ruby
Musashi007 has joined #ruby
blizzy has quit [Ping timeout: 252 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework>
willharrison: If you're not rubbish, it's easy to get a job doing rails.
dzho has joined #ruby
<pipework>
There are factors involved. Mostly location, compensation, and culture though.
Pupeno has joined #ruby
<willharrison>
pipework I don't know rails but don't think I'll be finding a job with my framework of choice. rails seems like the next best thing
<pipework>
willharrison: Which framework is that?
<willharrison>
laravel
<pipework>
I don't really participate in the PHP community or job arena.
coinrookie has quit [Quit: Leaving]
<willharrison>
yeah, laravel jobs are scarce
AlphaTech has quit [Quit: Connection closed for inactivity]
goodenough has quit [Remote host closed the connection]
<willharrison>
and I don't want something doing drupal or codeignitor
coinrookie has joined #ruby
svoop has joined #ruby
<bootstrappm>
willharrison: not that scarce! we use it
<bootstrappm>
laravel is solid
wallerdev has quit [Quit: wallerdev]
<pipework>
Ruby can be nice. And it's popular enough to get work easily.
Pupeno_ has quit [Ping timeout: 250 seconds]
<willharrison>
bootstrappm yeah, I mean there are jobs, but just not a whole lot lol
<willharrison>
or maybe they're just not on larajobs.com
<willharrison>
pipework yeah, I started picking up ruby and I am likngi it so far
yfeldblum has quit [Remote host closed the connection]
pdoherty has quit [Quit: Leaving]
<willharrison>
do yall know what the orlando market looks like for rails?
<willharrison>
because I'm going to be moving there
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zB0hs_ has joined #ruby
jefus has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
<willharrison>
bootstrappm do you think it'd be hard to pick up rails if I have been using laravel? I have heard they are similarly structured
ferr has joined #ruby
<bootstrappm>
not hard at all will
<bootstrappm>
^ willharrison
<willharrison>
cool, good to know
<bootstrappm>
laravel took a lot from Rails
OrbitalKitten has joined #ruby
x1337807x has joined #ruby
<bootstrappm>
its lighter though so you'll have to be more patient about Rails
x1337807x has quit [Max SendQ exceeded]
<willharrison>
ah ok
<bootstrappm>
Rails has much better stuff from command line though
pietr0 has joined #ruby
<willharrison>
better than l5 too?
x1337807x has joined #ruby
<bootstrappm>
rails made migrations popular because they're so awesome there
<bootstrappm>
haven't tried l5 yet
<willharrison>
ah ok
Xeago has quit [Remote host closed the connection]
x1337807x has quit [Max SendQ exceeded]
nolic has joined #ruby
<willharrison>
l5 has stepped up cli game a little from 4.2
<willharrison>
not a whole lot but a little
<willharrison>
why do yall use laravel instead of rails?
<havenwood>
willharrison: Take a look at some of the nice new frameworks in Ruby too, like Volt and Roda.
<willharrison>
havenwood cool, will do. which of those is more popular do you think?
agrinb has joined #ruby
goodenough has joined #ruby
<havenwood>
willharrison: Roda is along the lines of Sinatra. It is great for APIs and has a nifty plugin system so it can be bare bones but capable.
Goodbeard has quit [Quit: Leaving]
einarj has joined #ruby
<willharrison>
cool, I will check it out then
<havenwood>
willharrison: Volt uses Ruby for both the backend like Rails but also for the frontend in place of Javascript using Opal.
plashchynski has quit [Quit: plashchynski]
<willharrison>
hm, never heard of opal. is it like coffeescript?
DonOtreply has joined #ruby
<havenwood>
willharrison: Volt does magic to let you write validations, etc, once and have them automagically work on both client and server.
<willharrison>
that sounds very cool
einarj_ has quit [Ping timeout: 245 seconds]
einarj_ has joined #ruby
<pipework>
havenwood: Roda is cool. Did you end up going to that talk? I missed it but watched the video later.
uptownhr has joined #ruby
<havenwood>
pipework: Ditto, I missed the talk but watched it on Confreaks.
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework>
havenwood: It's a really cool thing, honestly.
bdamos has quit [Remote host closed the connection]
plashchynski has quit [Quit: plashchynski]
AlienPickle has quit [Ping timeout: 255 seconds]
shredding has quit [Quit: shredding]
Synthbread has joined #ruby
fabrice31 has joined #ruby
nolic has quit [Remote host closed the connection]
davidhq has joined #ruby
jimms has quit [Remote host closed the connection]
deol has joined #ruby
freezey has joined #ruby
mloveless has quit []
blanc11 has joined #ruby
blanc11 has left #ruby ["Leaving"]
Dopagod has joined #ruby
djbkd has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JDiPierro has joined #ruby
chrishough has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mkaesz has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
maletor has quit [Quit: Computer has gone to sleep.]
wldcordeiro has quit [Ping timeout: 252 seconds]
einarj has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
einarj has joined #ruby
decoponio has quit [Quit: Leaving...]
giuseppesolinas has quit [Client Quit]
zoo-zed has quit [Quit: Leaving.]
droidburgundy has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
plashchynski has joined #ruby
DonOtreply has quit [Remote host closed the connection]
chrishou_ has joined #ruby
baweaver_ has joined #ruby
IrishGringo has quit [Ping timeout: 250 seconds]
Macaveli has quit [Ping timeout: 264 seconds]
momomomomo has quit [Quit: momomomomo]
coetry has joined #ruby
<coetry>
How can I run a shell command with a ruby variable
veinofstars has joined #ruby
<coetry>
I want to specifically, echo the results of a http response to a file
<veinofstars>
i have a goliath app that makes non-blocking HTTP requests to other web APIs. One is twitter, and i want to to ensure that the twitter gem is making its requests asynchronously
<veinofstars>
is there any easy way to do that? over-ride its HTTP mechanism somehow and make it sleep for 5 seconds?
uri_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tunaCanBruh has quit [Ping timeout: 240 seconds]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
adriancb has quit [Remote host closed the connection]
it0a has quit [Quit: WeeChat 1.1.1]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
tvon has joined #ruby
chrisbolton has joined #ruby
doodlehaus has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
drkush has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<chrisbolton>
Anyone familiar with a best practices way to do full text searching of ruby objects?
DadoCe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
agrinb has joined #ruby
einarj_ has joined #ruby
jonr22 has joined #ruby
tunaCanBruh has joined #ruby
maletor has joined #ruby
ghostpl_ has joined #ruby
fryguy9 has joined #ruby
fryguy91 has quit [Ping timeout: 264 seconds]
doodlehaus has quit [Ping timeout: 246 seconds]
snockerton has quit [Ping timeout: 245 seconds]
spyderm__ has quit [Ping timeout: 264 seconds]
einarj has quit [Ping timeout: 252 seconds]
einarj__ has joined #ruby
maknz has joined #ruby
snockerton has joined #ruby
<eam>
chrisbolton: you mean like #scan?
ordepdev has quit []
<chrisbolton>
Maybe.
fantazo has quit [Quit: Verlassend]
einarj_ has quit [Ping timeout: 255 seconds]
<chrisbolton>
I have an account it has 15 fields. Two of those fields are name and email.
paradisaeidae has quit [Ping timeout: 265 seconds]
einarj has joined #ruby
silkfox has quit [Ping timeout: 255 seconds]
<chrisbolton>
I’d like to search my 50 accounts for someone with ‘cat’ in their name.
Mon_Ouie has joined #ruby
<eam>
this is sounding like a rails / database question yeah?
wldcordeiro has quit [Ping timeout: 264 seconds]
jonr22 has quit [Ping timeout: 265 seconds]
ghostpl_ has quit [Ping timeout: 244 seconds]
<eam>
the records and fields aren't stored in ruby?
<chrisbolton>
Well, it’s a sinatra app.
<chrisbolton>
And yeah, database question.
Swappticon has joined #ruby
m8 has quit [Quit: Sto andando via]
ninjazach has quit [Ping timeout: 245 seconds]
wldcordeiro has joined #ruby
OrbitalKitten has joined #ruby
baweaver has joined #ruby
<jhass>
#yourdatabase will now the most efficient way to do it in your database
<jhass>
*know, even
psyprus has quit [Ping timeout: 245 seconds]
<eam>
though in general, LIKE is usually good enough
<eam>
for arbitrary sql
<apeiros_>
fulltext indices help
sambao21 has quit [Quit: Computer has gone to sleep.]
<apeiros_>
a lot
einarj__ has quit [Ping timeout: 265 seconds]
<eam>
apeiros_: though if we're dealing with 50 rows :)
<chrisbolton>
eam: that’s just an example dataset.
<apeiros_>
oh, yeah, 50 records - you can even search those manually
<chrisbolton>
Something I’m testing off of.
blizzy has joined #ruby
<eam>
chrisbolton: like jhass says it's a question of what database you're using, and they'll want to know the particulars about query volume and dataset size
jon-work has joined #ruby
paradisaeidae has joined #ruby
baweaver has quit [Remote host closed the connection]
<eam>
generally indexes are huge, but they can be worse for some load types
<jon-work>
I want to require a file and inspect all the things it defines (modules/classes/functions). is there a way?
<eam>
(eg write heavy, rare reads)
einarj has quit [Remote host closed the connection]
hcnewsom has quit [Quit: hcnewsom]
Hijiri has quit [Ping timeout: 246 seconds]
<jhass>
jon-work: not really, other than dumping the file to your screen instead
checkit has joined #ruby
<eam>
well, you kinda can
<chrisbolton>
K I’ll evaluate. Thanks.
chrisbolton has quit [Quit: chrisbolton]
<eam>
eg, look at all the defined things, load the file, look at them again
<jon-work>
ok how do you get all defined things
jerius has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Remote host closed the connection]
sivasushruth has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eval-in__>
eam => [110, [:Object, :Module, :Class, :BasicObject, :Kernel]] (https://eval.in/289259)
jenrzzz has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
<eam>
jon-work: depends on what you're interested in, but generally all things are inspectable
plashchynski has quit [Quit: plashchynski]
<eam>
and enumerable
<ellisTAA>
i’m trying to create a method that copies highlighted text. how can i check if something is highlighted?
phutchins has quit [Ping timeout: 240 seconds]
<eam>
jon-work: you can also look at all methods, ivars, etc
<jon-work>
ok so theres no way to go from filename => module it defines, I suppose I just have to provide both things as input since a file could define multiple modules, or even open up existing modules
<eam>
jon-work: yes
<eam>
pretty much you can only diff the entire state of the interpreter
sivasushruth has quit [Remote host closed the connection]
shazaum has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
dmbennett has joined #ruby
shazaum has joined #ruby
shazaum has quit [Changing host]
streaxy has quit []
athan has joined #ruby
juanpablo_ has quit [Quit: (null)]
<jon-work>
oh I see, Module.constants literally gives me a list of all defined modules
<jon-work>
and classes
juanpablo_ has joined #ruby
jmignault has quit [Quit: jmignault]
<shevy>
:)
<ellisTAA>
how can i tell ruby if something is highlighted by the user?
papandrea has joined #ruby
<shevy>
ellisTAA what kind of question is this. do you mean in a browser? then you have to use javascript
<papandrea>
1list
sambao21 has quit [Quit: Computer has gone to sleep.]
<ellisTAA>
shevy: i’m trying to create a text editor …
<wallerdev>
lol
<wallerdev>
thats really speciifc to whatever ui you're developing for
<wallerdev>
has nothing to do with ruby
baweaver has joined #ruby
bonhoeffer has joined #ruby
<ellisTAA>
wallerdev: by ui do you mean like website or application?
<wallerdev>
yes
papandrea has quit []
<wallerdev>
maybe youre making a windows app, or a mac app, or a website, or anything
<wallerdev>
ruby has no concept of textboxes
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
<ellisTAA>
wallerdev: i wanted to create a text editor that i can use on my mac.. can you point me in the direction where i can begin learning how to do this? i’m clueless right now
<wallerdev>
id just use obj-c and cocoa
<ellisTAA>
obj-c = objective c?
<wallerdev>
there might be some ruby bindings to cocoa
<ellisTAA>
oh god lol
nunayerBeezwax has joined #ruby
<wallerdev>
but imo ruby is awful for desktop app development
juanpablo_ has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
<ellisTAA>
wallerdev: so what is ruby good for? websites?
<wallerdev>
ui libraries like cocoa are HUGE
sivasushruth has joined #ruby
sambao21 has joined #ruby
<wallerdev>
and having no static typing hurts a lot
<Senjai>
wallerdev: Uhm what?
<Senjai>
ellisTAA: Ruby is good for scripting. And for website development
<Senjai>
ellisTAA: If you want to make your own text editor, for learning reasons, go ahead.
<Senjai>
ellisTAA: If you want to make one you plan to use, just use one that already exists, or make it better
<jon-work>
what does it mean when an instance method has an arity of -1?
<ellisTAA>
snjai: i’m just doing it to learn and practice
athan has quit [Ping timeout: 245 seconds]
<Senjai>
I would recommend C/C#/Java for learning that kind of stuff, in that order
Rhainur has quit [Ping timeout: 264 seconds]
fryguy9 has quit [Ping timeout: 256 seconds]
Rhainur has joined #ruby
<wallerdev>
really? a desktop app in C to start?
bhaak has quit [Ping timeout: 256 seconds]
<Senjai>
wallerdev: A text editor? Yes.
<wallerdev>
good luck with that lol
<Senjai>
wallerdev: Also note the C# and Java recommendations...
<wallerdev>
you can't even do cocoa with just C :|
* Senjai
shrugs
<Senjai>
You cant do it with C++?
bhaak has joined #ruby
dfinninger has quit [Remote host closed the connection]
<Senjai>
I doubt that is true.
psyprus has joined #ruby
dmbennett has quit [Remote host closed the connection]
ninedragon has joined #ruby
x1337807x has joined #ruby
drkyro has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
<ellisTAA>
sorry for this question: but i tried to learn ruby so that i can learn rails and build websites… what sort of things do people use ruby for? build websites and apps? and in order to build websites and apps i need to use a UI like html?
Vile` has joined #ruby
<baweaver>
System Administration, Automation and Tooling
<baweaver>
if you're looking for a GUI builder or forms application, probably not a good idea.
<ellisTAA>
senjai: thanks for the info, there’s just so much to learn for someone who doesn’t know much
<ellisTAA>
baweaver: ty for the info
Nuck has joined #ruby
livathinos has joined #ruby
<Senjai>
baweaver: It is no slower than ruby or any other interpreted garbage collected language. Therfore is not adequate for performant apps.
kirun has quit [Quit: Client exiting]
<baweaver>
that's why you use SOA to compensate.
<baweaver>
abstract the entirety of data to a services layer
OrbitalKitten has joined #ruby
crueber has quit [Quit: Leaving.]
<baweaver>
Using something like Clojure, Elixir, or Erlang you can still hot swap to your hearts content
Troy^ has joined #ruby
<baweaver>
often times without giving up much in terms of speed.
<Senjai>
Uhm, what. So I have to wait over an API for something to calculate a vector
<Senjai>
That's just not a thing
<Senjai>
Leaderboards, sure,
<Senjai>
but that's not where performance is an issue
hiyosi has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
<ellisTAA>
is ruby basically a server side language?
<weaksauce>
it's a scripting language.
<shevy>
ruby is for everything - save for when you require speed
<Senjai>
ellisTAA: Ruby is whatever you want it to be, because it can make things.
fabrice31 has joined #ruby
<baweaver>
ruby is used to build things fast
<baweaver>
not necessarily run them fast.
<Senjai>
ellisTAA: Just like every other programming/scripting language ever.
<shevy>
ellisTAA and you don't need to write an editor, use ruby-gnome bindings, then you can use all gnome widgets (if a binding has been written)
<shevy>
Gtk::SourceView and Gtk::Text*
<baweaver>
but the amount of time that it takes is often so low an order of magnitude that it doesn't matter and the dev time is far more valuable.
sivasushruth has quit [Remote host closed the connection]
JimmyNeutron has joined #ruby
<ellisTAA>
weaksauce: what does that mean! javascript is a scripting language isnt it? i wouldnt use javascript to interact with a server database would i?
slyv has joined #ruby
<baweaver>
NodeJS
sivasushruth has joined #ruby
<baweaver>
you could
mikepack has quit [Remote host closed the connection]
<weaksauce>
yeah nodejs
<baweaver>
or IO.JS
<weaksauce>
scripting means that it's interpreted as you run it
<baweaver>
is that what the cool kids are using now?
<ellisTAA>
senjai: if it is whatever i want it to be, i can build a desktop app with it
sivasushruth has quit [Remote host closed the connection]
<baweaver>
I can jump off a cliff whilst whistling dixie
<baweaver>
doesn't make it that effective though
<Senjai>
ellisTAA: Sure, it's just not the primary use case, so you'll have to do a lot of heavy lifting you wouldnt have to do in languages that were tooled for it
tunaCanBruh has quit [Ping timeout: 246 seconds]
<weaksauce>
ellisTAA look up rubymotion
<Senjai>
ellisTAA: You could build an operating system in ruby if you wanted too
duncannz has joined #ruby
<ellisTAA>
weaksauce: so scripting means it doesnt have to be compiled, but non-scripting languages need to be compiled before they are run?
<baweaver>
If you're a particular type of masochist, yes
<baweaver>
bingo
<ellisTAA>
senjai: i see
<baweaver>
unless you get into the wonderful world of functional programming with Erlang and Lisp
<baweaver>
then you get fun REPLs
<Senjai>
ellisTAA: scripting = interpreted by another process, compilation = compiled down to something a VM can work with, or to machine code that directly interacts with the OS/CPU
<weaksauce>
it's just what it's classified as a language ellisTAA
<baweaver>
Lisp and Erlang are in a whole different bucket of fun
<baweaver>
they're technically both
<weaksauce>
you have functional, logic, scripting, imperative, etc. some languages span a few disciplines
<baweaver>
code as data, and data as code.
ptrrr has quit [Quit: ptrrr]
<baweaver>
Prolog is a trip too
fabrice31 has quit [Ping timeout: 250 seconds]
<weaksauce>
yeah I dislike prolog but it makes some classes of problems easier
<ellisTAA>
so when creating a program you have to have a UI, database, and a language? is there anything else i’m mising?
<baweaver>
Oz and Mozart are about as multi-discipline as you can jam in a language
m10n has joined #ruby
<weaksauce>
since when do you have to have a database
<ellisTAA>
and these together are called a stack?
<baweaver>
programs can use multiple languages
<baweaver>
a stack is a set of tech used to make something
<baweaver>
think: Rails, MEAN.io
<baweaver>
Rails is still Ruby / JS
<baweaver>
unless you're using Opal, but that's a different matter.
iszak has quit [Quit: Page closed]
<ellisTAA>
so without splitting hairs, when planning to build some software you need to fdetermine what stack youll use?
ZoanthusR has joined #ruby
n_blownapart has joined #ruby
<baweaver>
when planning
<baweaver>
you should know your problem domain first
<baweaver>
and thoroughly so at that. That defines the correct stacks to use more than what's new and shiny.
<ellisTAA>
got disconnected
<baweaver>
If you want a live chat app with websockets, Rails is probably a really bad idea.
<baweaver>
Node and Erlang would be far better suited.
<baweaver>
Framework wise MEAN/Sails.js and Phoenix respectively.
<baweaver>
Fair warning, I'm extremely biased against Java
<ellisTAA>
baweaver: so first thing one does is know the problem domain, then determine what stack is best?
<baweaver>
yep
<ellisTAA>
got it …
meschi has joined #ruby
<ellisTAA>
and what sort of products are there, i know of websites, mobile apps, desktop apps… any others?
<baweaver>
A wise man was once told he had 6 hours to fell a tree. He spent the first 4 sharpening his axe.
<ellisTAA>
nice
<baweaver>
SaaS, PaaS, AaaS, tons
<baweaver>
just focus on what you NEED to do
charliesome has joined #ruby
sivasushruth has quit [Remote host closed the connection]
jheg has quit [Quit: jheg]
sivasushruth has joined #ruby
Lucky___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kalusn has quit [Remote host closed the connection]
ninjazach has joined #ruby
sivasushruth has quit [Remote host closed the connection]
sivasushruth has joined #ruby
<baweaver>
the language, framework, stack, and everything else should be a consequence of your research, not the reason for it.
<shevy>
I like beavers
jon-work has left #ruby ["Leaving"]
<Senjai>
Honestly, the aaS
PaulCapestany has quit []
<Senjai>
aaS's are mostly just buzzwords for everything these days
<Senjai>
part of corporate double speak
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Senjai>
Facebook is now social networking as a service now, didn't you know?
sambao21 has quit [Quit: Computer has gone to sleep.]
PaulCapestany has joined #ruby
m10n has quit [Quit: leaving]
<ellisTAA>
so in Excel, the interface is created by one language, and another languages interacts with a database? is that right?
duncannz has quit [Ping timeout: 250 seconds]
sivasushruth has quit [Remote host closed the connection]
paulfm has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
sivasushruth has joined #ruby
agrinb has quit [Remote host closed the connection]
* baweaver
shrugs
livathinos has quit []
<mikecmpbll>
you're an aaS
<baweaver>
I just don't bother with buzzwords but they're still there
sivasushruth has quit [Remote host closed the connection]
sivasushruth has joined #ruby
agrinb has joined #ruby
<baweaver>
excel is its own beast
<baweaver>
probably C++ in visual studio
<baweaver>
which is an all-inclusive wonderland
sivasushruth has quit [Remote host closed the connection]
<weaksauce>
excel is a program not a general programming language. it has a scripting language built into it but it's not meant to do all that much
sivasushruth has joined #ruby
<Senjai>
mikecmpbll: <3
<mikecmpbll>
:')
snath has quit [Ping timeout: 252 seconds]
sivasushruth has quit [Remote host closed the connection]
roolo has joined #ruby
sivasushruth has joined #ruby
<Senjai>
One could not make an operating system in excel. But it would be HELLA funny
<mikecmpbll>
fuck, that's my next project sorted.
* Senjai
bows before mikecmpbll
* mikecmpbll
loads up a worksheet
<ellisTAA>
i dont get how the make the graphics though …
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
excel is a buzzword too!
<shevy>
I'd like to rename it to crapel
wldcordeiro has quit [Ping timeout: 250 seconds]
<baweaver>
it's like rule 34, everything is a corporate buzzword
<shevy>
ellisTAA everything is data
<baweaver>
and data is everything :D
<shevy>
ellisTAA in a framebuffer, you typically may have some array struct in C
<Senjai>
ellisTAA: Dude, sorry man, but Im going to have to be a bit harsh.
<Senjai>
The best way to learn how to code
<Senjai>
is to code
<Senjai>
and stop asking about it
<ellisTAA>
so if i wanted to make an app, i would use some UI that creates the interface structure?
<baweaver>
bingo ^
<shevy>
ellisTAA you should get into SDL, it is easy, and you can make widgets etc... a game
<baweaver>
what exactly do you want to build?
uptownhr has quit [Quit: uptownhr]
<Senjai>
No more bait
<shevy>
:)
agrinb has quit [Ping timeout: 265 seconds]
<shevy>
ellisTAA WHAT DO YOU WANT TO BUILD!!!
<Senjai>
Come back with code and relevant questions please :P
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<paradisaeidae>
gem is great. How do I list have-installed gems? How do I manage/delete them?
<ellisTAA>
shevy: THINGS! i’m just trying to get a visual of all the pieces so i understand how the machine (metaphor) works so that i can plan how to build something
<baweaver>
by googling
ych4k3r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<paradisaeidae>
..half-installed....
<Senjai>
ellisTAA: Google is your friend. I use it for 40% of my day, and I'm a "professional"
<baweaver>
because that's a very trivial one to find
<baweaver>
well, that was referring to paradisaeidae
<baweaver>
but that works too
<Senjai>
But most of all, I suggest writing things
<ellisTAA>
senjai: google isn’t useful if you don’t know what to google
<baweaver>
codewars.com
<baweaver>
have fun
<Senjai>
ellisTAA: I can google all the questions you've asked
RegulationD has quit [Remote host closed the connection]
<Senjai>
and get similarish results
nfk has quit [Quit: yawn]
<ellisTAA>
senjai: there’s something called unknown unknowns, they make the internet less useful for someone compared to someone who is using the internet and knows what unknowns they dont know
<baweaver>
you won't come close to knowing everything
yfeldblum has joined #ruby
<mikecmpbll>
speak for yourself.
<Senjai>
You dont know what to ask because you havent done anything.
* mikecmpbll
shiens
<mikecmpbll>
shines*
<Senjai>
Once you do something, encounter an issue, you have a question that can be answered
atomi has quit [Remote host closed the connection]
<mikecmpbll>
well, i've lost the shine immediately.
<baweaver>
mikecmpbll is an exception
<baweaver>
they're still studying him at Google
<Senjai>
everything else is just theory, and a waste of everyone elses time if you never actually do anything with the knowledge we're giving out
<baweaver>
where do you think they get all the answers from?
<mikecmpbll>
&:)
OrbitalKitten has joined #ruby
<ellisTAA>
senjai: you could encounter an hundred issues before realizing the the thing preventing you from understanding something. we disagree on learning, that’s fine.
<sevvie>
ellisTAA, unknown unknowns can be turned into known unknowns by starting somewhere simple, such as a quick google for "introduction to programming concepts", with a piece of paper and pen beside you, and writing down all the phrases and concepts that you don't understand. As you work through the article, cross out concepts that are explained, and then google the concepts that are still unknown to you.
sivasushruth has quit [Remote host closed the connection]
snath has joined #ruby
paradisaeidae has quit [Ping timeout: 252 seconds]
n_blownapart has quit []
snath has quit [Client Quit]
<Senjai>
ellisTAA: No dude. If you want to understand physics, you start by throwing a rock. Noticing it falls down, you can ask why it does.
atomi has joined #ruby
<Senjai>
Instead your asking: How to physics?
snath has joined #ruby
cr3 has quit [Quit: leaving]
jobewan has quit [Quit: Leaving]
thumpba has quit [Ping timeout: 252 seconds]
Xoro has quit [Read error: Connection reset by peer]
<ellisTAA>
senjai: that’s your approach to learning physics, my approach is to read physics 101, then 102 etc
plashchynski has quit [Quit: plashchynski]
<Senjai>
ellisTAA: Then go read a book..
<baweaver>
It's much more effective (and admittedly entertaining to us) to run into a brick wall a few times
<mikecmpbll>
Senjai: your analogy game is on point.
<mikecmpbll>
+1
<Senjai>
mikecmpbll: <3
<ellisTAA>
senjai: i’m trying to gather the topics to then read