<Spooner>
That is just a gem, so is probably better (and should work with Ocra).
Pandaen has joined #ruby
BeLucid has joined #ruby
pkondzior__ has joined #ruby
zigidias has joined #ruby
daemoen has joined #ruby
Mon_Ouie has joined #ruby
<V8Energy>
yea i think i tried compiling green shoes
WhereIsMySpoon has joined #ruby
<V8Energy>
i will try again
Coolhand has joined #ruby
SolidResolve has joined #ruby
SolidResolve has quit [Max SendQ exceeded]
rcs has joined #ruby
banseljaj has joined #ruby
SolidResolve has joined #ruby
SolidResolve has quit [Max SendQ exceeded]
darkc0met has joined #ruby
SolidResolve has joined #ruby
douglarek_away has joined #ruby
Bish has joined #ruby
techlife has quit [Ping timeout: 246 seconds]
<shevy>
I want blue shoes
____swanson has quit [Ping timeout: 245 seconds]
yeltzooo has joined #ruby
<V8Energy>
ok i am packging it now
<V8Energy>
yap
<V8Energy>
a simple green shoes hello world application
<V8Energy>
is 38mbs
jdunck has joined #ruby
<V8Energy>
packaged with ocra
techlife has joined #ruby
<V8Energy>
i've tried packaging qt application with a simple hello world script, it was less than 10mbs
<Spooner>
That seems over-large. I'd expect ~10MB.
DrForr has joined #ruby
<V8Energy>
that's why i didn't stick with green shoes
<Spooner>
You think 38MB is a lot?
<Spooner>
It really isn't.
<V8Energy>
hmmm
LiquidInsect has joined #ruby
<V8Energy>
Ok then, green shoes is better than the red shoes from shoesrb.com?
<palladium>
navicat isn't too shabby
<palladium>
reminds me of a watered down sql server studio manager
quazimodo has joined #ruby
<Spooner>
That is just "shoes".
Voting has quit [Ping timeout: 252 seconds]
Virunga has joined #ruby
<Boohbah>
V8Energy: what kind of gui toolkit are you looking for? what is the target market for your application
predator217 has joined #ruby
<Spooner>
Boohbah, People who don't have 40MB spare disk space or are on dial-up :D
<V8Energy>
windows/mac/ubuntu
c0rn has joined #ruby
<V8Energy>
lol
epitron has joined #ruby
epitron has quit [Changing host]
epitron has joined #ruby
<V8Energy>
very funny. :) I am creating a simple application, so I just wanted a smaller file size.
<V8Energy>
oh
<Spooner>
Use C ;)
<Boohbah>
you might want to distribute your application by burning CDs and mailing them out :)
<V8Energy>
I think the size didn't bother me as much as the loading speed. When trying to load green shoes app packaged with ocra, it took me about 5-10 seconds
<Boohbah>
the point is that full-featured gui toolkits are heavy
<V8Energy>
compared to qt app which only took me less than a second
<Spooner>
Yes, because it uncompresses everything.
ckrailo has joined #ruby
Tricon has joined #ruby
<V8Energy>
but qt proved that it's possible to load a packaged app in less than a second
<Spooner>
Use that then.
<V8Energy>
but shoes syntax is pretties lol
<whitequark>
38MB is indeed a lot, but half of that is Qt
<Spooner>
Or wxruby, which I've used before (it isn't up to date, but it seems to work).
<whitequark>
half of which is Webkit :/
<whitequark>
the other half is Ruby.
<V8Energy>
wxruby is kinda ugly
predator117 has quit [Ping timeout: 272 seconds]
lewix has joined #ruby
lewix has joined #ruby
lewix has quit [Changing host]
bapa_ has quit []
<Spooner>
Oh, so it can't be ugly either :D
<V8Energy>
yes sir
<V8Energy>
:D
<V8Energy>
i will try shoes3 now
arya has quit []
lolmaus has quit [Ping timeout: 248 seconds]
palladium has quit [Ping timeout: 272 seconds]
Tricon has quit [Client Quit]
LouisRoR has joined #ruby
jpfuentes2 has joined #ruby
sambao21 has quit [Quit: sambao21]
bahhh has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
garbagecollectio has joined #ruby
colonolGron has quit [Quit: Lost terminal]
Tricon has joined #ruby
sambao21 has joined #ruby
tish has joined #ruby
jrajav has joined #ruby
cschneid has joined #ruby
takeru has joined #ruby
pmros has quit [Quit: Konversation terminated!]
TheFuzzball has quit [Quit: Computer has gone to sleep.]
LouisRoR has quit [Read error: Connection reset by peer]
LouisRoR has joined #ruby
jamesfung14 has quit [Ping timeout: 264 seconds]
tish has quit [Client Quit]
coaster has joined #ruby
<aedorn>
*sigh*... technical conference call: "Okay guys, need to use the restroom. Putting phone down, and be right back." Yeah, he put his phone down alright! Also unplugged the server while walking away that needed to be up.
kurkale6ka has joined #ruby
takeru has quit [Ping timeout: 272 seconds]
brooks has joined #ruby
josh0x0 has joined #ruby
kurkale6ka has quit [Client Quit]
chrishough has joined #ruby
chrishough has quit [Client Quit]
mercwithamouth has joined #ruby
josh0x0 has quit [Client Quit]
allaire has joined #ruby
allaire has quit [Excess Flood]
josh0x0 has joined #ruby
allaire has joined #ruby
ngoldman has joined #ruby
one has quit [Ping timeout: 256 seconds]
LouisRoR has quit [Ping timeout: 256 seconds]
<asdasdasdasdas>
is rails with ruby the same as cakephp with php? (for example)
<asdasdasdasdas>
because for a ruby newbie, rails looks like mandatory!
insulator has joined #ruby
<asdasdasdasdas>
and cakephp is too far from mandatory in php
tish has joined #ruby
spider-mario has quit [Remote host closed the connection]
jamesfung14 has joined #ruby
philcrissman has joined #ruby
<V8Energy>
i am no expert, but my guess is: c# to asp.net is like ruby to rails
<V8Energy>
don't take my word for it
<V8Energy>
lol
philcrissman has quit [Remote host closed the connection]
kaffepanna has joined #ruby
mneorr has quit [Remote host closed the connection]
<apeiros_>
asdasdasdasdas: rails is but one framework
mneorr has joined #ruby
<ngoldman>
asdasdasdasdas: rails is just a framework
<ngoldman>
:)
<apeiros_>
it's very popular, but by no means mandatory
<ngoldman>
there are many others
<ngoldman>
it's just the most well known
<aedorn>
Everyone should learn how to use rails... for I wish to build trains.
dogweather has quit [Remote host closed the connection]
rboyd has joined #ruby
asdasdasdasdas has quit [Ping timeout: 245 seconds]
<V8Energy>
did anybody ever create a package using shoes?
<Boohbah>
not a useful one
<V8Energy>
i am trying to package an app, i entered project name, version, my name and clicked on Build .shy and nothing's happening
dogweather has joined #ruby
<ngoldman>
V8Energy: try #shoes
<V8Energy>
the channel has no pulse
samuel02 has quit [Remote host closed the connection]
zubov has joined #ruby
V8Energy has quit [Read error: Connection reset by peer]
dogweather has quit [Remote host closed the connection]
V8Energy has joined #ruby
angusiguess has joined #ruby
fragmachine has joined #ruby
aytch has quit [Remote host closed the connection]
<fragmachine>
Hello, I'd like to add plugin support for my C program. Can anyone point me to some good books or tutorials that deal with plugins? I've been messing around with dlopen but I'm not confident I understand what's going on....
<fragmachine>
oops wrong channel
allaire has quit []
eka has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
dogweather has joined #ruby
`brendan has joined #ruby
ph^ has joined #ruby
apeiros_ has quit [Remote host closed the connection]
V8Energy has quit [Read error: Connection reset by peer]
akhet has joined #ruby
kumavis has quit [Quit: kumavis]
hiroyuki has joined #ruby
jetblack has quit [Quit: leaving]
pasties has joined #ruby
V8Energy has joined #ruby
blf has joined #ruby
quazimodo has quit [Ping timeout: 255 seconds]
freeayu has quit [Read error: Connection reset by peer]
ph^ has quit [Ping timeout: 260 seconds]
jetblack has joined #ruby
<blf>
Are callbacks generally implemented as anonymous functions, rather than named functions?
SCommette has quit [Quit: SCommette]
freeayu has joined #ruby
dogweather has quit [Remote host closed the connection]
`p has joined #ruby
ebobby has quit [Ping timeout: 252 seconds]
zaltekk has joined #ruby
enebo has quit [Quit: enebo]
SCommette has joined #ruby
justsee has quit [Quit: Leaving...]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
<burgestrand>
Callbacks are generally implemented as blocks.
marr has quit [Ping timeout: 255 seconds]
<burgestrand>
blf: ^
danielvdotcom_ has joined #ruby
chrishough has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ortuna has left #ruby ["WeeChat 0.3.9.2"]
davesque_ has joined #ruby
`p has quit [Remote host closed the connection]
<davesque_>
what is the best way to do something like this in ruby? value ? value : other_value
<Spooner>
davesque_, value || other_value
<davesque_>
is there something more concise like `value or other_value` ?
<Spooner>
You could have just tried it in irb/pry :D
<davesque_>
i did
<davesque_>
i see that empty strings evaluate to true
<ryanf>
that is correct
<Spooner>
Yes, only false and nil are "falsy"
<Boohbah>
String.empty?
<davesque_>
what would be the appropriate way to do something like `value || other_value` with strings?
<davesque_>
sorry for these really basic questions :P
`p has joined #ruby
<Spooner>
As Boohbah says: str.empty? ? other : str
Spooner has quit [Remote host closed the connection]
<ryanf>
in rails, you can use str.present?
hiroyuki has quit [Read error: Connection reset by peer]
c0rn has quit [Ping timeout: 255 seconds]
hiroyuki has joined #ruby
generalissimo has joined #ruby
quazimodo has joined #ruby
SCommette has quit [Quit: SCommette]
davesque_ has quit [Quit: leaving]
garbagecollectio has quit [Quit: garbagecollectio]
hbpoison has quit [Ping timeout: 256 seconds]
c0rn has joined #ruby
dorei has joined #ruby
hbpoison has joined #ruby
motto has quit [Quit: Sto andando via]
<V8Energy>
I've tried using shoes with ocra, it would take forever to open the executable. same with QT, once the gui gets a little bit more complex, the files becomes at least 40mbs, and opening the executable takes 10 seconds on a 3ghz+
<V8Energy>
any solution for that?
samphippen has quit [Quit: Computer has gone to sleep.]
r4um has quit [Ping timeout: 260 seconds]
wakoinc has joined #ruby
r4um has joined #ruby
garbagecollectio has joined #ruby
ebobby has joined #ruby
fumbe_ has joined #ruby
freakazoid0223 has joined #ruby
<fuzai>
What does @ mean in Ruby, I can't seem to get an answer from google @thaum = Ponder::Thaum.new do |config|
gtuckerkellogg has joined #ruby
<otters>
instance variable
<fuzai>
what does that mean
<fuzai>
that it's as global to the class it's defined in?
<banisterfiend>
otters: is 'self' there a class or an object?
<otters>
no
<banisterfiend>
otters: i mean: if self is a class and u're doing this: class << self; @foo = "bar"; end, you're deifning an ivar on the metaclass, not the class ;)
<banisterfiend>
i.e: class Hello; class << self; @foo = "bar"; end; end
<banisterfiend>
probably not what u want
<banisterfiend>
hehe
<otters>
but class Foo; @foo = "bar"; end
<otters>
is that even valid
<banisterfiend>
yes
<banisterfiend>
and it does what u want
<otters>
oh
<otters>
l0l
<otters>
nvm
drale2k has quit [Quit: Leaving...]
<banisterfiend>
the class << self' im quite sure will not do what u want and just cause confusion for everyone involved
kumavis has quit [Quit: kumavis]
<banisterfiend>
hehe
<blf>
burgestrand: Thanks indeed. I got focused and forgot to check back. :)
<otters>
i'm on a roll
cephalopod has joined #ruby
chendo has quit [Ping timeout: 240 seconds]
mikurubeam has joined #ruby
chendo_ has joined #ruby
fragmachine has quit [Remote host closed the connection]
mpfundstein has quit [Remote host closed the connection]
james__ has joined #ruby
Beakr has joined #ruby
james__ has quit [Remote host closed the connection]
vierja has quit [Ping timeout: 255 seconds]
eka has quit [Quit: Computer has gone to sleep.]
sirish has joined #ruby
ph^ has joined #ruby
akhet has quit [Ping timeout: 272 seconds]
v0n has joined #ruby
<Boohbah>
otters: s/r/tr/
<otters>
i'm on a troll?
fragmachine has joined #ruby
<Boohbah>
indeed
<otters>
okay
Chryson has joined #ruby
sambao21 has joined #ruby
v0n has quit [Ping timeout: 248 seconds]
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
chrishough has quit [Quit: chrishough]
chrishough has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
chrishough has quit [Client Quit]
ph^ has quit [Ping timeout: 272 seconds]
mneorr has quit [Remote host closed the connection]
apeiros_ has joined #ruby
brooks has joined #ruby
vabenjamin has joined #ruby
ebobby has joined #ruby
wrench has left #ruby [#ruby]
jpfuentes2 has joined #ruby
apeiros_ has quit [Ping timeout: 246 seconds]
<V8Energy>
how do i make an ubuntu executable?
sambao21 has quit [Quit: sambao21]
jeremywrowe has joined #ruby
jeremywrowe has quit [Changing host]
jeremywrowe has joined #ruby
philcrissman has joined #ruby
<vabenjamin>
ubuntu executable...?
<Boohbah>
...?
chipotle_ has joined #ruby
slyv has quit [Quit: Computer has gone to sleep.]
generalissimo has quit [Remote host closed the connection]
takeru has joined #ruby
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
ebobby has quit [Ping timeout: 248 seconds]
allure has joined #ruby
allure has quit [Changing host]
allure has joined #ruby
takeru has quit [Ping timeout: 272 seconds]
Burgundy has joined #ruby
Tricon has quit [Quit: Leaving...]
bigmac has joined #ruby
<Burgundy>
hey, is there a bot command with link(s) to ruby resources? looking for some good tutorials and books on ruby.
adamjleonard has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
mahmoudimus has joined #ruby
neurotech has quit [Remote host closed the connection]
takeru has joined #ruby
robert_ has quit [Read error: Connection reset by peer]
Radnor_ is now known as Radnor
SolidResolve has quit [Ping timeout: 248 seconds]
robert_ has joined #ruby
<aedornm>
I'm having a hard time figuring out how to test this thing. Practically need a fake ftp server, fake web server, a set of responses for both, fake arp replies, fake pings, fake telnet server with responses. It's too much!
fragmachine has quit [Remote host closed the connection]
SolidResolve has joined #ruby
SolidResolve has quit [Max SendQ exceeded]
AlSquirrel has quit [Read error: Connection reset by peer]
Liquid-- has joined #ruby
Takehiro has joined #ruby
<Boohbah>
aedornm: maybe you need a vm
SolidResolve has joined #ruby
SolidResolve has quit [Max SendQ exceeded]
rboyd has quit [Quit: rboyd]
AlSquire has joined #ruby
<Boohbah>
and who the hell still uses ftp and telnet?
SolidResolve has joined #ruby
SolidResolve has quit [Max SendQ exceeded]
SolidResolve has joined #ruby
SolidResolve has quit [Max SendQ exceeded]
<aedornm>
Boohbah: Router manufacturers for telnet, and well, still a lot of people use FTP. It's a great data transfer test
jonahR has joined #ruby
takeru has quit [Ping timeout: 250 seconds]
SolidResolve has joined #ruby
SolidResolve has quit [Max SendQ exceeded]
SolidResolve has joined #ruby
SolidResolve has quit [Max SendQ exceeded]
SolidResolve has joined #ruby
SolidResolve has quit [Max SendQ exceeded]
<aedornm>
Anyway, got a VM right now. The big problem is faking responses. Need a random generating response set for every service. Blah
SolidResolve has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
cephalopod has joined #ruby
kevingriffin has quit [Remote host closed the connection]
jonahR has quit [Ping timeout: 264 seconds]
garbagecollectio has quit [Quit: garbagecollectio]
toekutr has quit [Remote host closed the connection]
mneorr has quit [Read error: Connection timed out]
jonahR has joined #ruby
sandGorgon has quit [Ping timeout: 260 seconds]
mneorr has joined #ruby
toekutr has joined #ruby
otters has joined #ruby
cephalopod has quit [Ping timeout: 264 seconds]
bryanjswift has quit [Quit: Computer has gone to sleep.]
Liquid-- has quit [Quit: Computer has gone to sleep.]
sandGorgon has joined #ruby
BoomCow has quit [Read error: Connection reset by peer]
ngoldman has joined #ruby
kevingriffin has joined #ruby
scruple has joined #ruby
BoomCow has joined #ruby
nipar has quit [Remote host closed the connection]
Myconix is now known as lowercaseEpicnou
lowercaseEpicnou is now known as lowercaseName
splud has joined #ruby
lowercaseName is now known as Myconix
huoxito has quit [Quit: Leaving]
kevingriffin has quit []
kevingriffin has joined #ruby
kushalkhandelwal has quit [Ping timeout: 272 seconds]
mneorr has quit [Read error: Connection timed out]
mneorr has joined #ruby
one has joined #ruby
ph^ has joined #ruby
linuxmintuser has joined #ruby
cableray has quit [Quit: cableray]
<linuxmintuser>
i have a herdoc with html code and every new lines acts as a break in the html
<linuxmintuser>
so i have all this extra white space
newUser1234 has joined #ruby
rburton- has joined #ruby
cephalopod has joined #ruby
Ripp__ has joined #ruby
mduvall has quit []
ph^ has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
mneorr has quit [Read error: Operation timed out]
mneorr has joined #ruby
ocnam has quit [Quit: Tan Tan!]
quazimodo has quit [Ping timeout: 272 seconds]
jameshyde has quit [Quit: Leaving.]
77CAARDD9 is now known as chendo
Radnor has quit [Ping timeout: 248 seconds]
quazimodo has joined #ruby
linuxmintuser has quit [Quit: Page closed]
Radnor has joined #ruby
wookiehangover has quit [Ping timeout: 256 seconds]
lectrick has joined #ruby
wookiehangover has joined #ruby
pigoz has joined #ruby
tomzx_mac has quit [Ping timeout: 272 seconds]
sambao21 has quit [Quit: sambao21]
newUser1234 has quit [Remote host closed the connection]
generalissimo has joined #ruby
newUser1234 has joined #ruby
generalissimo has quit [Remote host closed the connection]
brum has joined #ruby
vlad_starkov has joined #ruby
cantonic has quit [Quit: cantonic]
newUser1234 has quit [Ping timeout: 245 seconds]
cantonic has joined #ruby
BoomCow has quit [Quit: This computer has gone to sleep]
brum has quit [Ping timeout: 260 seconds]
mnaser has quit [Ping timeout: 250 seconds]
cam` has joined #ruby
ckipel has joined #ruby
earthquake has quit [Ping timeout: 248 seconds]
ckipel is now known as earthquake
daemoen has quit [Ping timeout: 248 seconds]
Zelest has quit [Ping timeout: 245 seconds]
Zelest has joined #ruby
yacks has quit [Ping timeout: 260 seconds]
daemoen has joined #ruby
ngoldman has quit [Remote host closed the connection]
idkazuma has joined #ruby
mnaser has joined #ruby
jameshyde has joined #ruby
V8Energy has quit [Ping timeout: 272 seconds]
cephalopod has quit [Ping timeout: 248 seconds]
[diecast] has joined #ruby
cephalopod has joined #ruby
hbpoison has joined #ruby
spanx has joined #ruby
jameshyde has quit [Ping timeout: 252 seconds]
quazimodo has quit [Ping timeout: 250 seconds]
bobdobbs has joined #ruby
AlSquire has quit [Ping timeout: 248 seconds]
yacks has joined #ruby
neurotech has joined #ruby
jef_abraham has quit [Quit: jef_abraham]
AlSquire has joined #ruby
LouisRoR has joined #ruby
AlSquirrel has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
quazimodo has joined #ruby
m3pow has quit [Read error: Connection reset by peer]
mneorr has quit [Remote host closed the connection]
LouisRoR has quit [Ping timeout: 256 seconds]
V8Energy has joined #ruby
ph^ has joined #ruby
Virunga has joined #ruby
brum has joined #ruby
Hanmac1 is now known as Hanmac
predator217 has quit [Ping timeout: 256 seconds]
neurotech has quit [Remote host closed the connection]
ph^ has quit [Ping timeout: 248 seconds]
predator117 has joined #ruby
Jeaye has quit [Read error: Operation timed out]
bryanjswift has joined #ruby
tommyvyo has quit [Quit:]
gtuckerkellogg has joined #ruby
nicoulaj has joined #ruby
brum has quit [Ping timeout: 260 seconds]
hbpoison has quit [Ping timeout: 256 seconds]
sandGorgon has quit [Ping timeout: 245 seconds]
mikurubeam has quit [Ping timeout: 256 seconds]
tish has joined #ruby
<marwinism>
Savon seems like a good choice for doing some SOAP against a java application. but do I need to use wsdl? or is wsdl for other kinds of services?
tish1 has quit [Ping timeout: 260 seconds]
Virunga has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 248 seconds]
m3pow has joined #ruby
SCommette has joined #ruby
<lewix>
how come when you override method_missing , it still keeps track that the first parameter is the name of the method and the second parameter the arguments* sponged up
decoponio has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
<Hanmac>
lewix what else did you suspsect?
Virunga has joined #ruby
rippa has joined #ruby
takeru has joined #ruby
joeycarmello has quit [Remote host closed the connection]
<lewix>
Hanmac: I mean it doesn't fully override- it's not a blank slate. it stills knows the purpose of the arguments
v0n has joined #ruby
<Hanmac>
method_missing will be overwritten or what do you mean??
nari has joined #ruby
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
mikurubeam has joined #ruby
takeru has quit [Ping timeout: 250 seconds]
<lewix>
Hanmac: i'm trying to understand how it works - even though i can overwrite it , the parameter of my new method_missing have the same expectancy
Jeaye has joined #ruby
<Hanmac>
method_missing is called by ruby ... so it expects the parameter in a specific form
predator117 has quit [Ping timeout: 264 seconds]
r4um has quit [Quit: leaving]
idkazuma has quit [Remote host closed the connection]
Nisstyre-laptop has quit [Quit: Leaving]
lkba has joined #ruby
utf1000 has quit [Ping timeout: 276 seconds]
<lewix>
Hanmac: thanks
SCommette has quit [Quit: SCommette]
bryanjswift has quit [Quit: Computer has gone to sleep.]
SCommette has joined #ruby
tish has quit [Quit: Leaving.]
Neomex has joined #ruby
Neomex has quit [Client Quit]
hbpoison has joined #ruby
etcetera has quit []
SCommette has quit [Quit: SCommette]
jameshyde has joined #ruby
etcetera has joined #ruby
predator117 has joined #ruby
JarJar has quit [Quit: Leaving]
idkazuma has joined #ruby
utf1000 has joined #ruby
arietis has joined #ruby
jameshyde has quit [Ping timeout: 256 seconds]
akashj87 has quit [Ping timeout: 264 seconds]
jef_abraham has joined #ruby
joeycarmello has joined #ruby
decoponio has quit [Quit: Take to stop a load on my PC]
Takehiro has quit [Remote host closed the connection]
testingb0t has joined #ruby
subbyyy has quit [Ping timeout: 256 seconds]
ph^ has joined #ruby
kevingriffin has quit [Remote host closed the connection]
jef_abraham_ has joined #ruby
jef_abraham has quit [Read error: Connection reset by peer]
jef_abraham_ is now known as jef_abraham
brum has joined #ruby
Virunga has quit [Remote host closed the connection]
bigmac has quit [Quit: Leaving]
decentrality has quit [Read error: Connection reset by peer]
decentrality has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
ph^ has quit [Ping timeout: 260 seconds]
r0f0 has quit [Quit: Leaving]
arturaz has joined #ruby
mneorr has joined #ruby
brum has quit [Ping timeout: 260 seconds]
ckrailo has joined #ruby
IwwI has quit [Quit: Lost terminal]
cableray has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
mneorr has quit [Ping timeout: 252 seconds]
mikekelly has quit [Ping timeout: 264 seconds]
mikekelly has joined #ruby
kevingri_ has joined #ruby
kevingri_ has quit [Client Quit]
ckrailo has quit [Ping timeout: 276 seconds]
otters has quit [Ping timeout: 256 seconds]
kevingriffin has joined #ruby
toekutr has quit [Remote host closed the connection]
ph^ has joined #ruby
kevingriffin has quit [Client Quit]
adambeynon has joined #ruby
Cthaet has quit []
drago777 has quit [Ping timeout: 260 seconds]
uxp_ has quit [Read error: Connection reset by peer]
<Umair>
seems like ruby is so light weight that gems are required to fill the gap
<postmodern>
Umair, ruby stdlib is pretty big
<whitequark>
Umair: ruby is anything but lightweight
<whitequark>
it's just that gems tend to be quite thin
apeiros_ has joined #ruby
<whitequark>
so there's a large number of it, but they're the opposite of monolithic chunks of code
* Hanmac
has a gem that is compiled > 30MB big
<whitequark>
Hanmac: rubyracer?
<Hanmac>
no, my replacement for wxRuby
<Hanmac>
okay its > 40MB
<whitequark>
I don't wanna know
nachtwandler has joined #ruby
d34th4ck3r has quit [Read error: Operation timed out]
etcetera has quit []
<marwinism>
What would your experts protip for setting up communication between a java(Android application/LiBGDX)-app and a backend written in ruby? Looking into SOAP, but also REST. Wanted to use the DRb, but that was a dead end.
<whitequark>
marwinism: JSON over REST
<whitequark>
or just JSON, if REST doesn't represent your workflow
<marwinism>
Thank you! I am kinda new to ruby, and soap looks like way to much work for my bachelor thesis. JSON I like! So i'll have a look at REST, but I guess I will need to find out if we need REST at all.
<whitequark>
pretty much
<marwinism>
*removing savon*
<Hanmac>
soap is not so bad
<marwinism>
Been reading on SOAP, Savon and trying to understand what this wsdl was.
<whitequark>
marwinism: savon isn't even what you would need. it's a client
ostap_bender has joined #ruby
<whitequark>
and you would need wash_out [shameless plug], a server
mpfundstein has joined #ruby
<marwinism>
wow, glad i'm not stuck banging my head at that wall for ages.
chussenot has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
tesuki has joined #ruby
<banisterfiend>
whitequark: you work for 'roundlake' ?
takeru has joined #ruby
cableray has quit [Quit: cableray]
pen has quit [Read error: Connection reset by peer]
yshh has quit [Read error: Connection reset by peer]
yshh has joined #ruby
pen has joined #ruby
AlSquirrel has quit [Read error: Connection reset by peer]
AlSquirikou has joined #ruby
cantonic has joined #ruby
delqn has quit [Ping timeout: 245 seconds]
takeru has quit [Ping timeout: 256 seconds]
Gurpartap has joined #ruby
dawkirst_ has quit [Ping timeout: 248 seconds]
<whitequark>
banisterfiend: not anymore
<whitequark>
don't even maintain the gem. But I wrote it in the first place.
gvz has joined #ruby
<whitequark>
I work for Evil Martians now
yshh has quit [Remote host closed the connection]
<banisterfiend>
whitequark: those guys (roundlake) sent me a long email about how much they loved pry and watned to sponsor it (back in 2011) and when i replied to them, they just completely ignored me :/
cespare has quit [Ping timeout: 260 seconds]
<whitequark>
banisterfiend: oh I recall that
<whitequark>
was it 2011?.. gee, that was a long time ago
<whitequark>
I can ping the guy if you want
whitedawg has joined #ruby
<banisterfiend>
whitequark: haha no, it's 2 years ago now :)
<banisterfiend>
i was just a bit surprised/wondered wtf happened
<whitequark>
banisterfiend: I think it just got lost in the routine.
<whitequark>
CTO of Roundlake was really happy about pry
<banisterfiend>
no probs i have some other sponsorships now anyway
[rust] has quit [Quit: Leaving]
<banisterfiend>
cool :)
<banisterfiend>
bbs shower
kevingriffin has joined #ruby
rburton- has joined #ruby
cephalopod has quit [Ping timeout: 252 seconds]
kalleth_ has quit [Quit: No Ping reply in 180 seconds.]
kalleth has joined #ruby
cespare has joined #ruby
delqn has joined #ruby
kristofers has joined #ruby
Myconix has quit [Ping timeout: 272 seconds]
arya has joined #ruby
chrisseaton has joined #ruby
<chrisseaton>
I'm using rbenv to control which Ruby version I'm using per project. If I then want to have gems installed per project, which approach should I use? I've seen a few options.
dawkirst_ has joined #ruby
<postmodern>
chrisseaton, bundler or chgems
<postmodern>
chrisseaton, also i think there was an rbenv gemsets plugin
samphippen has joined #ruby
<chrisseaton>
I was hoping one of these approaches had risen to the surface as a best default choice
<postmodern>
chrisseaton, that would probably be bundler
mpfundstein has quit [Remote host closed the connection]
jameshyde has quit [Read error: Operation timed out]
<FunkySayu>
Hello. Someone can explain me what does this command ? : unpack(bytesize, "C#{bytesize}").reverse.inject{|h, l| h << 8 | l} (Operation on a StringIO)
arya has quit [Ping timeout: 248 seconds]
Astral_ has quit [Read error: Connection reset by peer]
Astral_ has joined #ruby
braoru has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<apeiros_>
FunkySayu: open up irb, perform step by step
F1skr has joined #ruby
<Umair>
I have installed GitLab CI following installation guide from github. I have "http://gitlab-ci.local/" server name and it is giving 504 timeout. why?
F1skr has quit [Client Quit]
<apeiros_>
and what it does is it converts a string into a number
Takehiro has quit [Remote host closed the connection]
Gurpartap has quit [Quit: Page closed]
<whitequark>
FunkySayu: it is also a very inefficient way to do so
F1skr has joined #ruby
colonolGron has joined #ruby
Takehiro has joined #ruby
arya has joined #ruby
<FunkySayu>
whitequark: i'm reimplementing a program from Ruby to Python (i never did any ruby in my life). So sometimes I can't understand some line like this...
<FunkySayu>
I tried to install Ruby on my serv, but it doesn't work correctly
<whitequark>
that is a very strange solution
<whitequark>
unless a program is trivial, it would be way simpler to figure out how to install ruby
hbpoison has quit [Ping timeout: 252 seconds]
<FunkySayu>
ye i'm agree. But on my debian, i don't found any package to install it. I will ask my server admin (not here now). That's why i ask you to explain this line :D
brum has joined #ruby
cephalopod has joined #ruby
sheerun has joined #ruby
<whitequark>
um, what? ruby1.9.1 is what you want
<whitequark>
probably
<whitequark>
it's in debian for ages
browndawg has quit [Ping timeout: 264 seconds]
jc555 has joined #ruby
<FunkySayu>
okay sorry, the server wasn't update...
<FunkySayu>
i will try to read step by step
jc555 has left #ruby [#ruby]
brum has quit [Ping timeout: 260 seconds]
Voting has quit [Ping timeout: 255 seconds]
one has quit [Ping timeout: 256 seconds]
M- has joined #ruby
ckrailo has joined #ruby
horofox has joined #ruby
horofox has left #ruby [#ruby]
gtuckerkellogg has joined #ruby
nomenkun_ has joined #ruby
nari has quit [Ping timeout: 256 seconds]
Drager_ has quit [Changing host]
Drager_ has joined #ruby
Drager_ is now known as drager
k611 has joined #ruby
nomenkun has quit [Ping timeout: 272 seconds]
cespare has quit [Read error: Operation timed out]
cespare has joined #ruby
ckrailo has quit [Ping timeout: 276 seconds]
browndawg has joined #ruby
k610 has quit [Ping timeout: 245 seconds]
hiroyuki has quit [Ping timeout: 264 seconds]
Derander has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
arya has quit [Ping timeout: 255 seconds]
Derander has joined #ruby
dogweather has joined #ruby
whitedawg has quit [Quit: Leaving.]
hbpoison has joined #ruby
arya has joined #ruby
mpfundstein has joined #ruby
shadowshell has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 264 seconds]
arturaz has quit [Ping timeout: 260 seconds]
eka has joined #ruby
aqabiz has joined #ruby
codecop has joined #ruby
Kuifje has joined #ruby
yshh has joined #ruby
parzorep_ has joined #ruby
banisterfiend has quit [Remote host closed the connection]
aqabiz has quit [Client Quit]
d34th4ck3r has joined #ruby
<krz>
how can i do something like this: def foo(limit = nil, engagements = %(all))
<krz>
i want to assign engagements a default value of an array
parzorep has quit [Ping timeout: 256 seconds]
parzorep_ is now known as parzorep
aqabiz has joined #ruby
<burgestrand>
krz: what's wrong with what you have?
<burgestrand>
except that %() makes a string
spider-mario has joined #ruby
<krz>
hm
toto- has quit [Ping timeout: 248 seconds]
<krz>
actually i think i was getting another error
<krz>
ill look into it. thanks
senayar has joined #ruby
chussenot has quit [Quit: chussenot]
Banistergalaxy has joined #ruby
poikon has joined #ruby
jameshyde has joined #ruby
AlSquire has joined #ruby
vbajpai has quit [Remote host closed the connection]
AlSquirikou has quit [Read error: Connection reset by peer]
chussenot has joined #ruby
dogweather has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
sandGorgon has joined #ruby
jameshyde has quit [Ping timeout: 248 seconds]
maxmanders has joined #ruby
monkegjinni has joined #ruby
banisterfiend has joined #ruby
arya has quit [Ping timeout: 248 seconds]
banister_ has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
daniel_- has joined #ruby
arya has joined #ruby
NiteRain has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
banseljaj has quit [Ping timeout: 264 seconds]
arya has quit [Ping timeout: 252 seconds]
Zolo has quit [Remote host closed the connection]
sk87 has joined #ruby
hbpoison has quit [Ping timeout: 256 seconds]
rburton- has quit [Read error: Connection reset by peer]
banister_ has quit [Remote host closed the connection]
F1skr has quit [Quit: WeeChat 0.4.0]
sayan has quit [Read error: Connection reset by peer]
statarb3 has joined #ruby
statarb3 has joined #ruby
perun__ has quit [Ping timeout: 255 seconds]
Zolo has joined #ruby
Burgundy has quit [Ping timeout: 256 seconds]
pepper_chico has joined #ruby
calmyournerves_ is now known as calmyournerves
F1skr has joined #ruby
atmosx has quit [Quit: And so the story goes…]
perun__ has joined #ruby
josh0x0 has joined #ruby
josh0x0 has left #ruby [#ruby]
banisterfiend has joined #ruby
nari has quit [Ping timeout: 252 seconds]
NiteRain has quit [Ping timeout: 246 seconds]
Takehiro has joined #ruby
NiteRain has joined #ruby
sandGorgon has quit [Ping timeout: 255 seconds]
statarb3 has quit [Read error: Connection reset by peer]
lewix has joined #ruby
lewix has quit [Changing host]
lewix has joined #ruby
BizarreCake has joined #ruby
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
Beakr has joined #ruby
fragmachine has joined #ruby
Eldariof93-ru has joined #ruby
akashj87 has joined #ruby
nomenkun has joined #ruby
Doc_X_ has joined #ruby
jameshyde has joined #ruby
apeiros has joined #ruby
uxp_ has joined #ruby
hbpoison_ has joined #ruby
benlangfeld has joined #ruby
Zolo_ has joined #ruby
Al__ has quit [Quit: Al__]
ph^_ has joined #ruby
Lemtzas has joined #ruby
NiteRain has quit [Ping timeout: 246 seconds]
sepp2k1 has joined #ruby
sambao21 has joined #ruby
monkegjinni has joined #ruby
brooks_ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
<benlangfeld>
Hey gents, I'm struggling to conclude some research on regex partial matching and was wondering if anyone can help? I'm trying to do something similar to PCRE partial-matching (http://regexkit.sourceforge.net/Documentation/pcre/pcrepartial.html) in Ruby. I need either a native Ruby way to do it, or a wrapper for PCRE that works on JRuby also. Does anyone know if this is possible? I've found this but it's unmaintained: https://github.com/rdp/pcre
splud has quit [Quit: splud]
swex has joined #ruby
Gate_ has joined #ruby
jameshyde has quit [Ping timeout: 250 seconds]
DrForr_ has joined #ruby
nOStahl has joined #ruby
arya has joined #ruby
spider-mario_ has joined #ruby
kalleth_ has joined #ruby
Derander_ has joined #ruby
Guedes has joined #ruby
kofno has quit [Remote host closed the connection]
chrisramon has joined #ruby
matchaw_ has joined #ruby
choclo1 has joined #ruby
Zolo has quit [*.net *.split]
Eldariof-ru has quit [*.net *.split]
noxoc has quit [*.net *.split]
hbpoison has quit [*.net *.split]
spider-mario has quit [*.net *.split]
senayar has quit [*.net *.split]
Derander has quit [*.net *.split]
nomenkun_ has quit [*.net *.split]
browndawg has quit [*.net *.split]
kalleth has quit [*.net *.split]
apeiros_ has quit [*.net *.split]
zooz has quit [*.net *.split]
Lemtzas_ has quit [*.net *.split]
ph^ has quit [*.net *.split]
drago777 has quit [*.net *.split]
uxp has quit [*.net *.split]
eval-in_ has quit [*.net *.split]
[Neurotic] has quit [*.net *.split]
lagging_` has quit [*.net *.split]
swex_ has quit [*.net *.split]
brooks has quit [*.net *.split]
geggam_ has quit [*.net *.split]
matchaw has quit [*.net *.split]
bjeanes has quit [*.net *.split]
DrForr has quit [*.net *.split]
choclo has quit [*.net *.split]
Doc_X has quit [*.net *.split]
undersc0re97 has quit [*.net *.split]
sepp2k has quit [*.net *.split]
kaen has quit [*.net *.split]
araujo has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
psyprus has quit [*.net *.split]
Gate has quit [*.net *.split]
sambao21 has quit [Ping timeout: 252 seconds]
sandGorgon has joined #ruby
noxoc has joined #ruby
eval-in_ has joined #ruby
yshh has quit [Remote host closed the connection]
Gadgetoid has joined #ruby
niklasb has joined #ruby
jslowe has joined #ruby
techlife has quit [Ping timeout: 264 seconds]
geggam_ has joined #ruby
kaen has joined #ruby
senayar has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
NiteRain has joined #ruby
V8Energy has quit [Ping timeout: 246 seconds]
browndawg has joined #ruby
[Neurotic]_ has joined #ruby
arya has quit [Ping timeout: 248 seconds]
techlife has joined #ruby
<pen>
can I do this? x, y = [4, 5]
zooz has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
<pen>
or
<pen>
[x, y] = [2, 5]
<pen>
?
AlSquire has joined #ruby
<Xeago>
the first should work
<MrZYX>
why don't you just fire up an IRB and try? ;)
<Xeago>
that is probably better advice yea
AlSquirrel has joined #ruby
<pen>
oh yea
<pen>
true
arietis has joined #ruby
<finnomenon>
lewix: I wasn't looking for help, I was pointing out and error in example code in the documentation
AlSquire has quit [Read error: Connection reset by peer]
<lewix>
finnomenon: ouhla what I do
<lewix>
finnomenon: just kidding I know
kevingriffin has quit [Remote host closed the connection]
kofno has joined #ruby
sambao21 has joined #ruby
<lewix>
finnomenon: return in def initialize. you weren't sure whether whether it was correct. We concluded that the return value in initialize is always ignored(I didn't know that)
nOStahl has quit [Quit: Going To Sleep]
bjeanes has joined #ruby
k611 has quit [Ping timeout: 256 seconds]
drago777 has joined #ruby
kofno has quit [Remote host closed the connection]
<lewix>
come guys, any questions....
<Xeago>
lewix: it is not ignored if you do the full allocation and intialization yourself
<Xeago>
it just happens that the new method ignores initializes return
perun__ has quit [Quit: Leaving]
girija has joined #ruby
<banisterfiend>
pen: unfortunately no, that would be cool though
<lewix>
banisterfiend: pen: totally, I even when on irb to try it myself, I return with a hint of dissapointment
<lewix>
Xeago: right
<banisterfiend>
pen: but u can do this:
<pen>
the first one worked for me
<banisterfiend>
oh nm
kofno has joined #ruby
<banisterfiend>
pen: yeah it's the second one that doesnt'
<pen>
I can do o = [1, 2]; x, y = o
<pen>
yea
<pen>
but that would be really cool
yshh has joined #ruby
perun__ has joined #ruby
akashj87 has quit [Ping timeout: 260 seconds]
yshh has quit [Read error: Connection reset by peer]
<lewix>
banisterfiend: wait did i ended up on your blog while googling away
<lewix>
end*
yshh has joined #ruby
<banisterfiend>
lewix: googling for what?
<lewix>
banisterfiend: I think yesterday I was googling about private instance variables or something similar and I remember a blog "banister"
<banisterfiend>
i need to rewrite that at some point it's a bit fuzzy in some places
takeru has quit [Ping timeout: 246 seconds]
brooks_ has quit [Quit: brooks_]
tish has joined #ruby
jameshyde has joined #ruby
spider-mario_ is now known as spider-mario
alexwh has quit [Quit: Quitting]
VinceThePrince has joined #ruby
alexwh has joined #ruby
sayan has joined #ruby
sayan has quit [Changing host]
sayan has joined #ruby
angusiguess has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
arya has quit [Ping timeout: 248 seconds]
wargasm1 has quit [Ping timeout: 245 seconds]
sandGorgon has quit [Ping timeout: 260 seconds]
sepp2k1 has quit [Read error: Connection reset by peer]
maxmanders has quit [Quit: Computer has gone to sleep.]
drale2k has joined #ruby
kushalkhandelwal has quit [Ping timeout: 245 seconds]
Zolo_ has quit [Ping timeout: 245 seconds]
geggam_ has quit [Ping timeout: 245 seconds]
kushalkhandelwal has joined #ruby
arya has joined #ruby
geggam_ has joined #ruby
Zolo has joined #ruby
Stilo has joined #ruby
survili has joined #ruby
<survili>
hi all, I was wondering if someone knows where I can get mruby for windows ?
sayan has quit [Read error: Connection reset by peer]
F1skr has quit [Quit: WeeChat 0.4.0]
bw__ has quit [Ping timeout: 245 seconds]
bw_ has joined #ruby
delqn has quit [Ping timeout: 245 seconds]
<banisterfiend>
survili: haha, i say goodluck with that
velCzupa has quit [Remote host closed the connection]
<banisterfiend>
im sure right now windows support is very low on their list of priorities, but i could be wrong
<lewix>
banisterfiend: I think that was a joke
<banisterfiend>
:)
<lewix>
it has to
enebo has joined #ruby
<survili>
:))
<survili>
wanted to use it instead of LUA :(
mikekelly has quit [Ping timeout: 245 seconds]
MissionCritical has quit [Ping timeout: 245 seconds]
<survili>
really basic, scripts just some ifs ..
delqn has joined #ruby
mikekelly has joined #ruby
maxmanders has joined #ruby
<banisterfiend>
survili: check the repo, i think it's at github.com/mruby/mruby
<survili>
banisterfiend, it's there but I want to find already windows compiled binaries. it's hell to try to compile yourself such project(too many dependencies), so thought I'd try my luck here
<banisterfiend>
survili: no idea, sorry
<lewix>
survili: what's LUA
<benlangfeld>
It's unlikely that anyone working on mruby really cares about windows right now.
daniel_-_ has joined #ruby
<benlangfeld>
lewix: lua.org
daniel_-_ has quit [Client Quit]
<lewix>
every year I hear about a language I didn't know about
<benlangfeld>
only once per year?
maxmanders has quit [Client Quit]
<lewix>
I challenge you to list all the programming languages you know, I'll always find one you don't
khismetix has joined #ruby
<lewix>
benlangfeld: okay every six months
tomzx_mac has joined #ruby
daniel_- has quit [Ping timeout: 252 seconds]
wereHamster has quit [Changing host]
wereHamster has joined #ruby
mikurubeam has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
mikurubeam has joined #ruby
axtran has joined #ruby
mikurubeam is now known as Guest69029
Guest69029 has quit [Client Quit]
drale2k has quit [Quit: Leaving...]
razibog has joined #ruby
mikurubeam has joined #ruby
khismetix has quit [Quit: Computer has gone to sleep.]
aapzak has quit [Ping timeout: 248 seconds]
drale2k has joined #ruby
marr has quit [Ping timeout: 248 seconds]
MissionCritical has joined #ruby
V8Energy has joined #ruby
blaxter has joined #ruby
postmodern has quit [Quit: Leaving]
sayan has joined #ruby
sayan has quit [Changing host]
sayan has joined #ruby
w400z has joined #ruby
subbyyy has joined #ruby
hbpoison_ has quit [Ping timeout: 252 seconds]
maxmanders has joined #ruby
sambao21 has quit [Read error: Connection reset by peer]
abstrusenick has joined #ruby
sambao21 has joined #ruby
abstrusenick has quit [Client Quit]
abstrusenick has joined #ruby
drale2k has quit [Quit: Leaving...]
drale2k has joined #ruby
banisterfiend has quit [Remote host closed the connection]
d34th4ck3r has quit [Ping timeout: 255 seconds]
samphippen has joined #ruby
iamjarvo has joined #ruby
girija has quit [Ping timeout: 260 seconds]
kirun has joined #ruby
pac1 has joined #ruby
beiter has joined #ruby
kushalkhandelwal has quit [Quit: Leaving.]
fire has joined #ruby
drale2k has quit [Quit: Leaving...]
khismetix has joined #ruby
akashj87 has joined #ruby
<Xeago>
Banistergalaxy: any chance you let my gf borrow your sc2 account :O?
BizarreCake has quit [Read error: Connection reset by peer]
paladium has joined #ruby
<paladium>
woot woot
theoros_ is now known as theoros
garbagecollectio has joined #ruby
paolooo has quit [Quit: Page closed]
aapzak has joined #ruby
pdamer has joined #ruby
newUser1234 has joined #ruby
beiter has quit [Quit: beiter]
fuzai has quit [Ping timeout: 260 seconds]
m3pow has quit [Read error: Connection reset by peer]
hbpoison has joined #ruby
marr has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
jameshyde has quit [Quit: Leaving.]
beiter has joined #ruby
takeru has joined #ruby
daniel_- has joined #ruby
arya has quit [Ping timeout: 248 seconds]
otherj has joined #ruby
jpfuentes2 has joined #ruby
eka has joined #ruby
eka has quit [Client Quit]
arya has joined #ruby
sambao21 has quit [Quit: sambao21]
sayan has quit [Ping timeout: 260 seconds]
arya has quit [Ping timeout: 248 seconds]
pdamer has quit [Quit: pdamer]
VinceThePrince has quit [Remote host closed the connection]
kofno has quit [Remote host closed the connection]
arya has joined #ruby
chendo has quit [Ping timeout: 252 seconds]
m3pow has joined #ruby
cyberflux has joined #ruby
chendo_ has joined #ruby
kofno_ has joined #ruby
chrisramon has quit [Ping timeout: 252 seconds]
chrisramon has joined #ruby
nfk has joined #ruby
subbyyy has quit [Ping timeout: 248 seconds]
takeru has quit [Remote host closed the connection]
angusiguess has joined #ruby
pdamer has joined #ruby
kushalkhandelwal has joined #ruby
ddd has quit [Quit: Lost terminal]
kushalkhandelwa1 has joined #ruby
w400z has quit [Quit: Computer has gone to sleep.]
kushalkhandelwa2 has joined #ruby
Umair has quit [Quit: Leaving.]
ddd has joined #ruby
angusiguess has quit [Ping timeout: 246 seconds]
kushalkhandelwal has quit [Ping timeout: 250 seconds]
kushalkhandelwa1 has quit [Read error: Operation timed out]
wchun has quit [Remote host closed the connection]
chipotle_ has joined #ruby
twshelton has joined #ruby
sambao21 has joined #ruby
twshelton has quit [Client Quit]
brum has joined #ruby
pac1 has quit [Quit: I got it one line of code at a time]
pac1 has joined #ruby
twshelton has joined #ruby
angusiguess has joined #ruby
pdamer has quit [Quit: pdamer]
niklasb has quit [Ping timeout: 264 seconds]
Hydroxide has joined #ruby
joofsh has joined #ruby
larissa has joined #ruby
kushalkhandelwa2 has quit [Quit: Leaving.]
kushalkhandelwal has joined #ruby
zenojis has joined #ruby
arya has quit [Ping timeout: 248 seconds]
angusiguess has quit [Ping timeout: 264 seconds]
mityaz has joined #ruby
sambao21 has quit [Quit: sambao21]
Voting has joined #ruby
Bry8Star has joined #ruby
Eldariof93-ru has quit [Read error: Operation timed out]
arya has joined #ruby
noxoc has quit [Read error: Connection reset by peer]
Eldariof93-ru has joined #ruby
jekotia has joined #ruby
noxoc has joined #ruby
survili has quit [Ping timeout: 256 seconds]
TheFuzzball has quit [Quit: Leaving...]
jonathanwallace has quit [Ping timeout: 246 seconds]
cantonic has quit [Quit: cantonic]
<apeiros>
hrmpf
* apeiros
wonders whether a factor 2.5 performance improvement is worth the ugliness
blaxter has quit [Quit: foo]
sayan has joined #ruby
sayan has quit [Changing host]
sayan has joined #ruby
BizarreCake has joined #ruby
tesuki has quit [Ping timeout: 246 seconds]
tenmilestereo has joined #ruby
blahwoop has joined #ruby
banisterfiend has joined #ruby
jameshyde has joined #ruby
techlife has quit [Ping timeout: 256 seconds]
atno has quit [Remote host closed the connection]
chrishunt has quit [Quit: ZzZzZz...]
pdamer has joined #ruby
jbw has quit [Quit: ┌∩┐(◣_◢)┌∩┐]
chrishunt has joined #ruby
techlife has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
hesco has left #ruby [#ruby]
jameshyde has quit [Ping timeout: 240 seconds]
kodeart has joined #ruby
bluOxigen has joined #ruby
beiter has quit [Quit: beiter]
twshelton has quit [Quit: Computer has gone to sleep.]
<UberNerdGirl>
banisterfiend: if there;s techno music
skattyadz has joined #ruby
Tricon has joined #ruby
akashj87 has quit [Ping timeout: 252 seconds]
<banisterfiend>
UberNerdGirl: well i now live in europe, so there's plenty of techno ;)
<UberNerdGirl>
banisterfiend: i've only a few chapters left but I was running so many tests according to the tutorial I wasn't sure I was retaining meaningful information about MVC
adkron has joined #ruby
<UberNerdGirl>
banisterfiend: where in Europe
<banisterfiend>
UberNerdGirl: netherlands
m3pow has quit [Ping timeout: 252 seconds]
<banisterfiend>
UberNerdGirl: you might like this:
<UberNerdGirl>
actually this is quite interesting and relevant, i am going to sign up for an acct brb
m3pow has joined #ruby
<banisterfiend>
UberNerdGirl: part 1 has finished already, but the archived material is still there (i.e video lectures)
<banisterfiend>
which enough to go on, all you get from actually 'doing the course' is a certificate
<banisterfiend>
and it's a pretty meaningless certificate since you only need 50% to pass
<UberNerdGirl>
banisterfiend first time I've heard of edx, also. yesterday i finally caved into Udacity and checked out their Peter Norvig course
<banisterfiend>
UberNerdGirl: coursera is very good too
<banisterfiend>
coursera i think is the most successful one, it also has a slightly higher standard re achieving the certificate so might actually (one day) mean something to employers
<darius12>
edx has some very cool stuff
blueOxigen has quit [Ping timeout: 248 seconds]
<darius12>
the electronics course had the fanciest software i've seen in a mooc
khismetix has quit [Quit: Computer has gone to sleep.]
jamesfung14 has joined #ruby
angusiguess has joined #ruby
pdamer has joined #ruby
oposomme has joined #ruby
Stilo has joined #ruby
mercwithamouth has joined #ruby
<shevy>
Hanmac history repeats itself
coderhs has joined #ruby
Matip has quit [Read error: Connection reset by peer]
<shevy>
Hanmac it is the ghettoification of a country
mahmoudimus has joined #ruby
Matip has joined #ruby
<ninjers>
israel is an illegal apartheid state and the US loves funding them, what can you do
picca_ has joined #ruby
mengu has joined #ruby
tesuki has joined #ruby
<lewix>
ninjers: matsumoto has authority on that ?
pdamer has quit [Quit: pdamer]
gvz has joined #ruby
mockra has joined #ruby
<ninjers>
if only
<Hanmac>
israels can be assholes too ... but it is not allowed to say that in europe ...
<lewix>
Hanmac: it's not allowed to say that anywhere
astegman has joined #ruby
<lewix>
ninjers: in their defense they're not illegal, it just has an illegal feel to it
Neomex has joined #ruby
meoblast001 has joined #ruby
abstrusenick has quit [Quit: abstrusenick]
<apeiros>
assholeness is not bound to country or culture
chipotle_ has quit [Quit: cya]
<vabenjamin>
i have an asshole
wallerdev has joined #ruby
<apeiros>
my congratulations on that
<apeiros>
cheers!
toekutr has joined #ruby
Beakr has quit [Quit: Beakr]
spider-mario has joined #ruby
picca_ has quit [Remote host closed the connection]
Spooner has joined #ruby
DJust1ce has joined #ruby
DJust1ce has quit [Client Quit]
undersc0re97 has quit [Ping timeout: 252 seconds]
DJust1ce has joined #ruby
banisterfiend has quit [Ping timeout: 260 seconds]
thinkclay has joined #ruby
yshh_ has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 246 seconds]
yshh has joined #ruby
Apocalypse has joined #ruby
fire has quit [Quit: WeeChat 0.4.0]
undersc0re97 has joined #ruby
undersc0re97 has quit [Changing host]
undersc0re97 has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
kofno has joined #ruby
DJust1ce is now known as EPIK
drale2k has joined #ruby
banisterfiend has joined #ruby
kodeart has quit [Remote host closed the connection]
tesuki has quit [Remote host closed the connection]
ubuntu has joined #ruby
verysoftoiletppr has joined #ruby
ubuntu is now known as Guest82936
drale2k has quit [Client Quit]
Opettaja has joined #ruby
ngoldman has joined #ruby
Guest82936 has quit [Client Quit]
verysoftoiletppr has quit [Client Quit]
horofox_ has joined #ruby
ubuntu___ has joined #ruby
IceDragon has joined #ruby
cantonic has joined #ruby
neurone-2337 has quit [Ping timeout: 264 seconds]
jonathanwallace has joined #ruby
neurone-1337 has joined #ruby
ubuntu___ has quit [Client Quit]
emmanuelux has joined #ruby
pdtpatrick has joined #ruby
cantonic has quit [Client Quit]
Tricon has quit [Quit: Leaving...]
cantonic has joined #ruby
Break has joined #ruby
elico has joined #ruby
neurone-1337 has quit [Ping timeout: 245 seconds]
zooz has left #ruby ["Leaving"]
wmoxam_ has joined #ruby
Neomex has quit [Quit: Neomex]
dhruvasagar has quit [Ping timeout: 245 seconds]
tesuki has joined #ruby
phracker has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
Takehiro has quit [Remote host closed the connection]
testingb0t1 has joined #ruby
Break has quit [Quit: leaving]
chrishunt has quit [Quit: ZzZzZz...]
Mon_Ouie has quit [Ping timeout: 272 seconds]
whitedawg has joined #ruby
testingb0t has quit [Ping timeout: 252 seconds]
lewix has quit [Remote host closed the connection]
otherj has quit []
one has joined #ruby
bryanjswift has joined #ruby
phracker has left #ruby [#ruby]
paladium has quit [Ping timeout: 250 seconds]
mockra has quit [Remote host closed the connection]
arya has quit [Ping timeout: 248 seconds]
thone_ has joined #ruby
fire has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
Nitzan has joined #ruby
wmoxam_ has quit [Ping timeout: 260 seconds]
newUser1234 has quit [Remote host closed the connection]
garbagecollectio has quit [Quit: garbagecollectio]
arya has joined #ruby
newUser1234 has joined #ruby
thone has quit [Ping timeout: 245 seconds]
Nitzan has quit [Ping timeout: 252 seconds]
mneorr has joined #ruby
browndawg has quit [Quit: Leaving.]
fire has quit [Quit: WeeChat 0.4.0]
tesuki has quit [Remote host closed the connection]
d34th4ck3r has joined #ruby
phracker has joined #ruby
Skylab has joined #ruby
newUser1234 has quit [Ping timeout: 255 seconds]
coderhs has quit [Ping timeout: 260 seconds]
tesuki has joined #ruby
phracker has left #ruby [#ruby]
oposomme has quit [Quit: Leaving...]
Tania has joined #ruby
<marwinism>
uhm, if I have a bunch of sql-querys where each value is assigned to a @fooBar, and I want all these together into a JSON oject, is my idea to put them all together in a hash reasonable?
generalissimo has quit [Remote host closed the connection]
khismetix has joined #ruby
generalissimo has joined #ruby
SCommette has quit [Quit: SCommette]
garbagecollectio has joined #ruby
cantonic has quit [Quit: cantonic]
oposomme has joined #ruby
neurone-1337 has joined #ruby
ged has joined #ruby
tvw has quit [Ping timeout: 260 seconds]
mneorr has quit [Read error: Operation timed out]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
mneorr has joined #ruby
fire has joined #ruby
jameshyde has joined #ruby
kushalkhandelwal has quit [Quit: Leaving.]
fire has quit [Client Quit]
jamesfung14 has quit [Ping timeout: 260 seconds]
bryanjswift has quit [Quit: Computer has gone to sleep.]
Skylab has quit [Quit: Skylab]
fire has joined #ruby
kushalkhandelwal has joined #ruby
<Spooner>
marwinism, A Ruby Hash directly translates to JSON, so that makes sense.
<marwinism>
It does?
<marwinism>
Spooner: I love this language more and more. I need to read these ruby books of mine! Thanks a million!
twshelton has joined #ruby
jameshyde has quit [Ping timeout: 246 seconds]
<Spooner>
marwinism, Yes. Both Hash and Array (and numbers and strings) are very JSON friendly. Symbols not though.
fire has quit [Client Quit]
velCzupa has joined #ruby
<Spooner>
marwinism, Just load json in irb/pry and try #to_json on a few things.
<marwinism>
Spooner: Good to know! Thanks for the tips!
<samuelkadolph>
Symbols are JSON friendly, they are just strings in the end.
dhruvasagar has joined #ruby
<Spooner>
samuelkadolph, They do convert to JSON, but information is lost (since they become Strings) and you can't automatically convert them back to symbols (Yes, I know you can convert them back to symbols once they are back in Ruby manually).
SCommette has joined #ruby
TheFuzzball has joined #ruby
noxoc has quit [Read error: Operation timed out]
<samuelkadolph>
Symbols are immutable interned strings
<apeiros>
Spooner: no longer. JSON hashes are unordered.
<apeiros>
i.e., that aspect of ruby hashes gets lost
noxoc has joined #ruby
<RubyPanther>
I thought symbols were ints that are often represented as strings?
<samuelkadolph>
No
<apeiros>
yes
<samuelkadolph>
That only applies for equality checks
<Spooner>
samuelkadolph, Yes, but as long as :frog != "frog" they can't be considered to be exactly the same thing.
<samuelkadolph>
They are O(1) because you can just check the pointer (object_id)
<apeiros>
you could very well view a symbol as an int with an "attached" string
<samuelkadolph>
But you would be doing it wrong and only hurting your ability to learn other languages
<Spooner>
apeiros, Well, that is true about hash ordering.
subbyyy has joined #ruby
<apeiros>
samuelkadolph: I think that's nonsense
blahwoop has quit [Ping timeout: 276 seconds]
<samuelkadolph>
Well you can think that but it's wrong. Lots of languages have immutable strings and interned strings. Ruby just took both and called them symbols. They are closer to strings than enums from C.
<apeiros>
hear hear, samuelkadolph owns the truth :-p
<samuelkadolph>
Damn right :P
<apeiros>
and no, symbols and immutable strings are not the same. you're quite mistaken there.
blueOxigen has joined #ruby
Choobie has joined #ruby
Choobie has quit [Changing host]
Choobie has joined #ruby
<samuelkadolph>
I never said that. I said symbols are immutable interned strings
<samuelkadolph>
There's a difference
<apeiros>
symbols are called symbols because it's rubys internal symbol table accessible from ruby
astegman has quit [Quit: Computer has gone to sleep.]
<apeiros>
so it's not "ruby has immutable strings and decided to call them symbols", that's just patently wrong.
<samuelkadolph>
I like how you read only part of that and quoted it wrong
cantonic has joined #ruby
kushalkhandelwal has quit [Quit: Leaving.]
bluOxigen has quit [Ping timeout: 240 seconds]
<apeiros>
I like how you make ambiguous statements and go all whiny when people don't quote you the way you want :-p
sandGorgon has joined #ruby
<samuelkadolph>
You specifically took one part of a sentence and replaced a "both" with it.
yacks has quit [Quit: Leaving]
<apeiros>
yeah, part of "taking both" is taking one part
<apeiros>
maybe you want to be more specific?
angusiguess has joined #ruby
fire has joined #ruby
<samuelkadolph>
Maybe you want a dictionary?
<samuelkadolph>
Adjective
<samuelkadolph>
Used to refer to two people or things, regarded and identified together: "both his parents indulged him".
jetblack_ has quit [Quit: leaving]
newUser1234 has joined #ruby
<samuelkadolph>
The word you are thinking of is either.
<apeiros>
lol
_maes_ has quit [Ping timeout: 260 seconds]
wmoxam_ has joined #ruby
mneorr has quit [Read error: Connection timed out]
<apeiros>
I don't know where your confusion is coming from, but I see no point in pursuing this.
devdazed_ has quit [Ping timeout: 272 seconds]
mneorr has joined #ruby
<RubyPanther>
if you play with symbols in C via the C API they start looking like ints really fast lol
ebobby has joined #ruby
<RubyPanther>
then again, so do object instances...
<apeiros>
also, part of the definition of "interned string" is "immutable". so "take immutable and interned and combine" is somewhat silly.
jetblack has joined #ruby
whitedawg has quit [Quit: Leaving.]
chrishunt has joined #ruby
<marwinism>
if my complete JSON looks like this (data from postgres) :"Electric ", is the whitespace from my poorly postgres skills?
devdazed has joined #ruby
<samuelkadolph>
Yes interning strings requires that they be immutable
<apeiros>
marwinism: or from your field containing that whitespace
nwest has quit [Quit: Server Error 482: The server has been shot by a 12-gauge, please contact an administrator]
<marwinism>
that could be a result of me ditching mysql and trying to learn postgres ;)
<marwinism>
should I check my database then, or are there somehow I can remove whitespaces, like in php?
pkrnj has joined #ruby
<RubyPanther>
IMO there are only two perspectives that matter, the Ruby perspective and the implementation... as far as Ruby concepts are concerned, a symbol is a special type of string for use in code. For things that the programmer types in and wants readable, but that are not data. And in the implementation, in MRI it is just an int... the same as everything else ;)
mneorr has quit [Remote host closed the connection]
<RubyPanther>
Once you understand it is a code identifier it is implied that it is immutable. It isn't data, after all.
angusiguess has quit [Ping timeout: 255 seconds]
khismetix has quit [Ping timeout: 246 seconds]
<Spooner>
marwinism, Remove whitespaces in what way?
ananthakumaran has quit [Quit: Leaving.]
wmoxam_ has quit [Ping timeout: 250 seconds]
elico has quit [Quit: elico]
<apeiros>
marwinism: strip, rstrip, lstrip
<Spooner>
marwinism, You could just string.strip.to_sym to get that.
raund_up has joined #ruby
raund_up has left #ruby [#ruby]
Takehiro has joined #ruby
samuelj has joined #ruby
<marwinism>
Thanks! But i'm inspecting my database now, and I see that I have alot of whitespace in some rows, so I think I need to figure out why!
<UberNerdGirl>
RubyPanther: hai o/
<UberNerdGirl>
Spooner: o.O
khismetix has joined #ruby
hbpoison has quit [Ping timeout: 260 seconds]
<samuelj>
Hey guys. I've just cloned a repo from GH, run bundle install, and tried to rackup. But I get a 'Could not locate gem' error, even though bundle show is definitely installed! Any ideas?
<Spooner>
Hey UberNerdGirl!
<RubyPanther>
hi UberNerdGirl got anythign nerdy for us today?
wmoxam_ has joined #ruby
hbpoison has joined #ruby
<UberNerdGirl>
hmmmm
<UberNerdGirl>
nerdiness explosion...
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
<banisterfiend>
UberNerdGirl: still at hackerschool?
<UberNerdGirl>
she is one of my bestest buddies. Very charming, dorky at times, hilarious sense of humor
<banisterfiend>
UberNerdGirl: i prefer the brunette to your left, but both are cute (also i have a brunette bias)
<sam113101>
are you part asian?
<banisterfiend>
sam113101: she's full blown
<banisterfiend>
;)
<UberNerdGirl>
Ruby and i shared a fond joke with each other during our batch
<sam113101>
I wish I had friends as well
<UberNerdGirl>
my twitter account is 'RomyOnRuby' because obviously it is one of my more favourite languages
<UberNerdGirl>
so Jamie Brandon, another student from our batch, created 'RubyOnRomy'
<UberNerdGirl>
so nerdy
<samuelkadolph>
I just created troll accounts for people at Shopify
<UberNerdGirl>
sam113101: starting from a year and a half ago, my friends are all programmer friends / extreme nerds
<ddd>
i'll take the one 2 to the left of the girl with the glasses in the 2nd row :)
<banisterfiend>
ddd: indian girl?
c0rn has joined #ruby
<sam113101>
UberNerdGirl: does it make you proud, or happier in some way?
<banisterfiend>
ddd: there's 2 girls with glasses on the second row
<ddd>
no. maroon shirt next to the asian girl in the 2nd row
<banisterfiend>
ddd: what about the asian girl, does she float your boat too?
<ddd>
no there are only 3 rows dude
<ddd>
no matter HOW you count, the middle row is the 2nd row ;)
<banisterfiend>
ddd: on the second row, there's 2 girls with glasses, look carefully ;)
<banisterfiend>
far-right and second from left
<ddd>
ohhh yeah no the one the far right is standing next to :)
<UberNerdGirl>
sam113101: Hacker School is one of the more pivotal experiences of my while life
<UberNerdGirl>
too bad there's someone here by the name of "one"
zenojis has quit [Read error: Connection reset by peer]
<ddd>
and no the asian girl doesn't do it for me. (nothing like a good looking woman AND one that has brains (and isn't afraid to use them) all rolled into one :))
<UberNerdGirl>
sam113101: one neat initiative is they balance the gender ratio
<UberNerdGirl>
so in the end, we have a goofy high school drama relationship with everyone
khismetix has quit [Quit: Computer has gone to sleep.]
<sam113101>
last time I heard the term "nerd" it was pejorative
<banisterfiend>
UberNerdGirl: are there any turbo nerds that freak everyone out and dont like close human contact
<UberNerdGirl>
banisterfiend: YOURS TRULY
rahearn has joined #ruby
<UberNerdGirl>
I am the Ultra Uber Turbo Mega Nerd
c0rn has quit [Ping timeout: 240 seconds]
<UberNerdGirl>
but I didn't mind close human contact with fellow Hopeless Sonic Nerds
<sam113101>
what's a nerd exactly?
<ddd>
nerd == geek == tech head == most of us :)
<UberNerdGirl>
sam113101: I don't know, but whatever it is, I vehemently assert I am the Mac Daddy of all Nerds
<sam113101>
so nerd and geek are the same?
<Spooner>
UberNerdGirl, You've told me you've been outside in sunlight. That isn't very nerdy :P
<ddd>
sam113101: *I* associate them that way, and most people irl that i deal with do as well.
<Spooner>
I'd say a geek is measurably weird or an outsider and a nerd is clever, but socially-awkward. I don't really equate them, but my terminology might be out of date.
<ddd>
*and* has brains, *and* isn't afraid to use them? hotness
mockra has joined #ruby
<sam113101>
do you guys have a preference for IT girls?
tommyvyo has joined #ruby
c0rn has quit [Client Quit]
<ddd>
Spooner: i think the two words have become fuzzy in where they separate from each other
<Spooner>
Geeks bite the heads of chickens, as we all know.
<ddd>
sam113101: well, it makes it easier to talk with someone who knows what you're talking about, can understand the nuances that inevitably creep into all tech conversations.
chrisramon has quit [Quit: chrisramon]
mneorr has quit [Read error: Connection timed out]
<UberNerdGirl>
what is the difference between dork, nerd, geek, dweeb?
picca has joined #ruby
<ddd>
but its not a requirement. i'm just as happy with a woman who doesn't understand a damned thing about computers, so long as she's smart, ambitious, not willing to play 2nd fiddle to me or anyone else.
<Spooner>
dorks and dweebs are like nerds, but not clever :D
<ddd>
a role model for my daughter
onlinenickid has joined #ruby
<ddd>
Spooner: exactly
twshelton has joined #ruby
<sam113101>
"Dork is a slang word for a stupid or inept person; similar to nerd or geek." - Wikipedia
<sam113101>
what the fuck man
<ddd>
ouch
mneorr has joined #ruby
<UberNerdGirl>
those terms are hilarious
<ddd>
someone screwed that entry
khismetix has quit [Client Quit]
picca has quit [Remote host closed the connection]
<UberNerdGirl>
I thought a dork was a clumsy adorable goofy person?
<sam113101>
Dork may also refer to: Vulgar slang for "penis"
<ddd>
UberNerdGirl: thats what *I* associate dork as
jetblack has quit [Remote host closed the connection]
<ddd>
sam113101: yeah that came around in the 80s i think
<Xeago>
but my audience isn't (native) english speaking
mockra has quit [Ping timeout: 250 seconds]
<UberNerdGirl>
and a geek is I guess a type of nerd but more boringly "normal", "mainstream", etc. I reckon geeks use Instagram, Foursquare, and many of them wear those atrocious hipster glasses
<Xeago>
and they see it as a foul word
<ddd>
like dude. most people don't know that a dude is that area *right* above a horse's tail where it starts growing off the body
<ddd>
but you hear people call each other dude all the time. its like my own main word hehe and I *know* what it is :)
joeycarmello has joined #ruby
<sam113101>
haha I didn't know
eka has joined #ruby
Stilo has joined #ruby
rahearn has left #ruby [#ruby]
elico has quit [Client Quit]
jekotia has quit [Ping timeout: 260 seconds]
<UberNerdGirl>
perhaps a geek is an aspiring nerd, but never quite able to pull off the upper echelon of coolness that is the Nerd
chussenot has quit [Quit: chussenot]
hybris has joined #ruby
<ddd>
UberNerdGirl: hmm. i think of nerds more the socially inept (more so than geeks), I associate geek the more technical of the two, but both being technically minded, far more so than the average 'normal'
<ddd>
if that makes sense
<geggam_>
you do realize at some point you age and it doesnt matter what they call you as long as they pay you lots :)
<ddd>
hahaha
<ddd>
niiice
<UberNerdGirl>
I wonder why I take it as the most profound, sublime compliment when someone notes that i am a nerd
<UberNerdGirl>
Spooner: are you a nerd?
<sam113101>
I wonder too (no offence)
<UberNerdGirl>
Spooner: I guess you are more of a vegan hipster
<banisterfiend>
he's another genre of person
<ddd>
damn, jruby freaking on me when trying to install it. [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
<banisterfiend>
aka "freak"
<banisterfiend>
;) jk
<Spooner>
Hipster? Heavens no!
<samuelj>
Anyone got any ideas why rackup is failing because of a missing gem, even though I've installed it with bundler? It shows up when I do bundle show gemname, and is included in the Gemfile.lock. If it's relevant, the gem is commonjs. Thanks in advance!
<Spooner>
I was going to say "freak" actually, banisterfiend :$
mengu has joined #ruby
<Xeago>
samuelj: are you running rackup with bundler?
<ddd>
time to hit the jruby channel. i'm thinking that means i need the openjdk-6-jdk installed but idk
<Xeago>
(e.g. bundle exec rackup)
<banisterfiend>
Spooner: just teasing, you're pretty k00 to me
<banisterfiend>
Spooner: tell UberNerdGirl your full name, she'll be impressed
<banisterfiend>
:)
<UberNerdGirl>
Spooner: I guess you are a chav
<samuelj>
Xeago: I've tried bundle exec rackup but i get a seg fault!?
arya has quit [Ping timeout: 248 seconds]
<UberNerdGirl>
banisterfiend: no need, I already have investigated everything there is to know about him
<UberNerdGirl>
I have cameras installed in Spooner 's room and I keep tabs on everything
<banisterfiend>
UberNerdGirl: did you know he legally changed his name to that of a pink cat puppet from 1980s television?
<Spooner>
A chav. Yep, I didn't tell you about my Ford Capri with the go-faster stripe and my collection of shiny tracksuits and gold chains.
<UberNerdGirl>
However, I grimly report to you he has been frolicking with the Pythons lately
<geggam_>
you know its mainstream when aol happens in irc
<geggam_>
christ
<UberNerdGirl>
banisterfiend: that's why he's my favourite British programmer
mengu has quit [Read error: Connection reset by peer]
<UberNerdGirl>
banisterfiend: i see you have been living in the cave
MehLaptop has joined #ruby
<banisterfiend>
:)
mengu has joined #ruby
nimred has quit [Ping timeout: 255 seconds]
<UberNerdGirl>
anyway, does anyone here enjoy doing Project Euler from time to time?
<Spooner>
UberNerdGirl, Yes, it is sadly true, but the Pythons pay better than the Rubies :P
<UberNerdGirl>
I am sure there are quite a number of us who do that
<sam113101>
UberNerdGirl: me
<geggam_>
Spooner, get involved with foreman... it is going to be big once everyone realizes wtf it does
<sam113101>
I've solved some of them with ruby
<geggam_>
and its ruby
subbyyy has quit [Ping timeout: 264 seconds]
horofox__ has joined #ruby
<banisterfiend>
Spooner: foreman has been out for > 2 years afaik
<UberNerdGirl>
sam113101: I only started recently and I became a bit obsessed
<banisterfiend>
geggam_: *
<ddd>
i've been meaning to look at Project Euler but haven't yet
<UberNerdGirl>
sam113101: I tried doing them in Javascript and Scheme/Lisp
<Spooner>
Yes, I've used foreman in the past. Not much though.
bonhoeffer has joined #ruby
cantonic has quit [Quit: cantonic]
<geggam_>
well... im about to demo it in front of large telecoms who partner with us
wallerdev has joined #ruby
<samuelj>
Has anyone ever seen a seg fault with bundle exec rackup?
<geggam_>
big business move slow as poop
sonda has quit [Remote host closed the connection]
<sam113101>
I've done the first ones with php IIRC, now I'm using ruby
<ddd>
even colleges move slow as poop
<geggam_>
colleges are so damned political im surprised they move at all
<ddd>
they *just* upgraded our curriculum from java 1.5 to 1.7 hehe
eka has quit [Quit: Computer has gone to sleep.]
horofox_ has quit [Ping timeout: 252 seconds]
thinkclay has quit [Quit: Leaving.]
xcvd`` has joined #ruby
rodasc has quit [Ping timeout: 252 seconds]
jetblack has joined #ruby
sayan has quit [Read error: Connection reset by peer]
shevy has quit [Ping timeout: 264 seconds]
Zolo has quit [Remote host closed the connection]
Zolo has joined #ruby
mneorr has quit [Read error: Operation timed out]
<geggam_>
you combine mmonit / monit ... foreman + puppet + tftp + dhcp ... and one person that knows what he is doing can manage thousands of nodes
Jeaye has joined #ruby
cantonic has joined #ruby
Jeaye has left #ruby [#ruby]
<geggam_>
which is why im learning ruby... even tho it makes me cring
<geggam_>
e
subbyyy has joined #ruby
oposomme is now known as oposomme|away
jslowe has quit [Ping timeout: 260 seconds]
<banisterfiend>
geggam_: what language do you come from?
<geggam_>
none really.. bash if i had to pick one... i hack perl more than anything
<geggam_>
sysadmin type
mneorr has joined #ruby
<banisterfiend>
so i dont see how ruby could make you cringe ;)
<banisterfiend>
why does it?
LouisRoR has joined #ruby
<geggam_>
more of a brain rut that hurts when i try to get out of it ?
<banisterfiend>
oh ok.
whowantstolivefo has joined #ruby
<samuelj>
Here's an interesting thought. I'm using ruby 1.9.3 but when I run bundle exec rackup and I get the seg fault, it says that the version is 1.8.7? That's the default system ruby on os x lion, I'm not using Lion. Ideas?
troydm has joined #ruby
<troydm>
just quick note, what's the last stable version of ruby 1.9.3
<troydm>
if i do rvm install ruby-1.9.3 it installs p0
<troydm>
is it latest stable?
<yfeldblum>
troydm, ruby-1.9.3-p392
<troydm>
yfeldblum: how do i make rvm install latest stable 1.9.3 ?
<troydm>
--latest flag?
Zolo has quit [Ping timeout: 260 seconds]
crodas has joined #ruby
<yfeldblum>
troydm, `rvm get latest ; rvm install 1.9.3`
<troydm>
t might be expired, or the name might
<samuelkadolph>
samuelj: 1.8.7 is the default for any recent OS X
<troydm>
not match the domain name in the UR
Myconix has joined #ruby
<troydm>
yfeldblum: when i do rvm install 1.9.3
<troydm>
it says ruby-1.9.3-p0 - #fetching
<troydm>
meaning it installs p0 ?
<samuelkadolph>
Try rvm reinstall 1.9.3
pkrnj has quit [Quit: Computer has gone to sleep.]
<yfeldblum>
troydm, yes; that's why you should `rvm get latest` first and then `rvm version` to make sure you've got the latest version of rvm running
<samuelj>
samuelkadolph: I'm not using rvm
ngoldman has quit [Remote host closed the connection]
chrisramon has joined #ruby
<samuelkadolph>
samuelj: That wasn't for you (rvm reinstall)
<samuelkadolph>
samuelj: How did you install ruby 1.9.3?
Opettaja has quit [Remote host closed the connection]
<Spooner>
troydm, You may need to update rvm if it is a while since you installed it. It doesn't automatically update its list of available Ruby versions, I don't think.
kushalkhandelwal has joined #ruby
kushalkhandelwal has quit [Read error: Connection reset by peer]
BoomCow has quit [Read error: Connection reset by peer]
meme has joined #ruby
<troydm>
Spooner: doing that right now
twshelton has quit [Quit: Computer has gone to sleep.]
<troydm>
Spooner: thx
crodas has quit [Ping timeout: 260 seconds]
newUser1234 has quit [Remote host closed the connection]
BoomCow has joined #ruby
newUser1234 has joined #ruby
hashmal has quit [Quit: Computer has gone to sleep.]
angusiguess has joined #ruby
MehLaptop has quit [Remote host closed the connection]
meme has quit [Remote host closed the connection]
shevy has joined #ruby
bubblehead has quit [Remote host closed the connection]
khismetix has joined #ruby
<samuelj>
samuelkadolph: With homebrew?
brady has joined #ruby
<samuelkadolph>
Yuck
BoomCow has quit [Read error: Connection reset by peer]
twshelton has joined #ruby
BoomCow has joined #ruby
lewix has joined #ruby
hybris has quit [Quit: hybris]
brady has quit [Client Quit]
huttan has joined #ruby
Opettaja has joined #ruby
fors has quit [Ping timeout: 245 seconds]
zubov_ has quit [Quit: This computer has gone to sleep]
newUser1234 has quit [Ping timeout: 252 seconds]
<samuelj>
What's wrong with brew? I've only ever needed two rubies - 1.9.3 and jruby
<samuelj>
I find rvm to be kind of messy
angusiguess has quit [Ping timeout: 248 seconds]
sandGorgon has quit [Ping timeout: 255 seconds]
velCzupa has quit [Quit: Leaving]
<samuelkadolph>
homebrew is fine it's just you would be way better off using rvm/rbenv for managing rubies
<samuelkadolph>
They properly set variables to make sure you use the right ruby
takeru has joined #ruby
pkrnj has joined #ruby
Takehiro has joined #ruby
mityaz has quit [Quit: See ya!]
cr3 has joined #ruby
mneorr has quit [Read error: Connection timed out]
takeru has quit [Ping timeout: 255 seconds]
ebobby has quit [Quit: Lost terminal]
l0x has joined #ruby
<cr3>
can someone suggest a reason why 'rpm -qa | grep rubygems' returns 'rubygems-1.3.7-1.el6.noarch' whereas 'gem --version' returns 2.0.0?
mneorr has joined #ruby
BoomCow has quit [Read error: Connection reset by peer]
BoomCow has joined #ruby
jamesfung14 has joined #ruby
Takehiro has quit [Ping timeout: 256 seconds]
Choobie has quit [Quit: End]
<l0x>
Hi. I'm trying to open an IMAP connection with Net::IMAP. If there is no internet connection available getaddrinfo raises a SocketError. Thats ok - so I try to reconnect every few seconds. Problem: If after a few tries a connection is available, getaddrinfo still say it is not. Why is that?
BoomCow has quit [Client Quit]
swex has quit [Read error: Operation timed out]
Blue_Ice_ is now known as Blue_Ice
swex has joined #ruby
troydm has left #ruby ["What is hope? That all of your wishes and all of your dreams come true? (C) Rau Le Creuset"]
twshelton has quit [Quit: Computer has gone to sleep.]
<cr3>
geggam_: I wonder what might've caused that. heh, not a developer directly but perhaps indirectly via puppet
<geggam_>
puppet will do that
jslowe has joined #ruby
sambao21 has quit [Quit: sambao21]
pyrac has joined #ruby
<cr3>
geggam_: I'll try to track down what tries to replace my precious gem :(
<geggam_>
reinstall the rpm
l0x has quit [Quit: WeeChat 0.4.0]
xcvd`` has quit [Ping timeout: 264 seconds]
<geggam_>
will overwrite it... but expect whatever you installed with puppet to break
Grieg has joined #ruby
Grieg has quit [Changing host]
Grieg has joined #ruby
<geggam_>
i have sermons about this
<geggam_>
:) ... need to go for a bit
<cr3>
geggam_: I'm trying this in a VM where I have a pre-puppet state from which I can reproduce the error. fortunately, this hasn't happened on a production system
brandon|work has quit [Ping timeout: 260 seconds]
crodas has quit [Ping timeout: 250 seconds]
darius12 is now known as darius
ph^ has joined #ruby
pyrac has quit [Client Quit]
waxjar has joined #ruby
pyrac has joined #ruby
one has quit [Ping timeout: 245 seconds]
jslowe has quit [Ping timeout: 246 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
thinkclay has joined #ruby
garbagecollectio has quit [Quit: garbagecollectio]
mneorr has quit [Remote host closed the connection]
zubov_ has joined #ruby
statarb3 has joined #ruby
chrisramon has quit [Ping timeout: 252 seconds]
mneorr has joined #ruby
ph^ has quit [Ping timeout: 260 seconds]
mneorr has quit [Remote host closed the connection]
ostap_bender has quit [Quit: Leaving]
benlieb has joined #ruby
phracker has joined #ruby
phracker has quit [Client Quit]
phracker has joined #ruby
brum has quit [Remote host closed the connection]
phracker has quit [Client Quit]
picca has joined #ruby
chussenot has joined #ruby
BoomCow has joined #ruby
BoomCow has quit [Client Quit]
picca has quit [Remote host closed the connection]
cr3 has quit [Ping timeout: 250 seconds]
kaen has quit [Quit: Leaving]
cantonic has quit [Quit: cantonic]
chrisramon has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
kaen has joined #ruby
newUser1234 has joined #ruby
jslowe has joined #ruby
solancer has joined #ruby
<solancer>
my gf keeps saying that geeks can't be built cause they spend all there time in front of the comp
niklasb has joined #ruby
<solancer>
wonder if anyone of u guys are built ?
<sam113101>
I have a gym membership but I stopped going
pavilionXP has joined #ruby
<sam113101>
I'm far from being built
<solancer>
me too
Eldariof93-ru has quit []
<solancer>
my gf keeps asking me to workout
<sam113101>
but I've seen a guy on youtube, he was quite built
<solancer>
a programmer ?
<sam113101>
IIRC, yes
rippa has quit [Ping timeout: 240 seconds]
<banisterfiend>
are you guys a comedy duo?
<banisterfiend>
cos you're both babbling such nonsense it has to be a joke
<Mon_Ouie>
I was built with all optimization flags on
<MrZYX>
zastern: downcase! modifies the result of .chomp and returns nil, nil is then assigned to user_input, you want the method without the bang which copies self, modfies the copy and then returns it.
<zastern>
MrZYX: not according to the example :(
<zastern>
I do want to modify the original
<Grieg>
Hanmac the combo were the "built" conversation which was broken by a ruby stuff then )
khismetix has quit [Quit: Computer has gone to sleep.]
<Hanmac>
zastern: some methods like downcase! with the ! are returning nil when nothing is changed
testingb0t1 has quit [Quit: Leaving.]
<zastern>
so it actually sets user_input to nil if there is no upcase stuff?
<zastern>
oh.
<zastern>
That's weird.
<zastern>
That seems counterintuitive. Just do nothing.
Aiur has joined #ruby
<Hanmac>
you need the downcase method without !
bryanjswift has quit [Quit: Computer has gone to sleep.]
<zastern>
Hanmac: it works fine if i separate it like this:
<Hanmac>
zastern its for conditions: val.downcase! ? "changed" : "not changed"
ngoldman has quit [Remote host closed the connection]
ph^ has quit [Ping timeout: 245 seconds]
aldodelgado has joined #ruby
drale2k has joined #ruby
<Spooner>
zastern, That is because of precedence. You have to put brackets around the arguments if you use ||, since || has high precedence.
<Spooner>
That is why I wrote it out as I did ;)
<sam113101>
I get "No such file or directory - C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bigdecimal-.1.1.0" when doing gem rdoc --all
<zastern>
Spooner: brackets or parens?
<sam113101>
why?
hbpoison has quit [Ping timeout: 260 seconds]
spider-mario has quit [Read error: Connection reset by peer]
<Spooner>
zastern, parens.
chrisramon has joined #ruby
<Spooner>
Just read the answer I gave. It uses parens with || - you need to understand Ruby precedence if you are to get away with avoiding method parenthesis.
V8Energy has quit []
chipotle_ has joined #ruby
Stilo has joined #ruby
MehLaptop has quit [Remote host closed the connection]
tenmilestereo has quit [Quit: Leaving]
daniel_- has quit [Ping timeout: 252 seconds]
picca3 has quit [Ping timeout: 264 seconds]
burgestrand has quit [Quit: Leaving.]
gabrielrotbart has joined #ruby
daniel_- has joined #ruby
ckrailo has joined #ruby
aldodelgado has quit [Quit: aldodelgado]
apeiros has quit [Remote host closed the connection]
jslowe has quit [Read error: Connection reset by peer]
tenmilestereo has joined #ruby
newUser1234 has quit [Remote host closed the connection]
brum has joined #ruby
<sam113101>
anyone?
newUser1234 has joined #ruby
<banisterfiend>
anyone here have any experience with android market api?
etcetera has joined #ruby
Takehiro has joined #ruby
v0n has joined #ruby
blacktulip has quit [Remote host closed the connection]
brum has quit [Ping timeout: 248 seconds]
newUser1234 has quit [Ping timeout: 246 seconds]
arya has quit [Ping timeout: 250 seconds]
Kuifje has quit [Ping timeout: 256 seconds]
Takehiro has quit [Ping timeout: 256 seconds]
lewix has joined #ruby
j^2 has joined #ruby
arya has joined #ruby
renanoronfle has joined #ruby
tenmilestereo has quit [Quit: Leaving]
w400z has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
j^2 has quit [Quit: for i in `/names` ; do adios $i; done]
j^2 has joined #ruby
hbpoison has joined #ruby
mikurubeam has quit [Ping timeout: 264 seconds]
jerius has quit []
etcetera has quit [Ping timeout: 240 seconds]
NightCreature is now known as Sdr
gabrielrotbart has quit [Remote host closed the connection]
<kx>
yeah, not sure how it would deal with change of sorting criterion
brum has joined #ruby
Nuck has joined #ruby
Nuck has joined #ruby
Voting has quit [Ping timeout: 256 seconds]
hogeo_ has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
<banisterfiend>
kx: class MyUniqArray; def initialize; @array = []; end; include Enumerable; def each; @array.each { |v| yield(v) }; end; def <<(o); @array << o if !@array.include?(o); end; end
<banisterfiend>
you can implement as many methods as you wish
<banisterfiend>
or forward them onto the @array via method_missing
<kx>
:D sure, thanks
bryanjswift has quit [Quit: Computer has gone to sleep.]
Takehiro has joined #ruby
tesuki has joined #ruby
brum has quit [Ping timeout: 248 seconds]
ngoldman has joined #ruby
j^2 has quit [Ping timeout: 264 seconds]
mockra has joined #ruby
hbpoison has quit [Ping timeout: 255 seconds]
Takehiro has quit [Ping timeout: 248 seconds]
emmanuelux has quit [Quit: emmanuelux]
zubov_ has joined #ruby
frank_ has joined #ruby
scruple has quit [Ping timeout: 260 seconds]
frank_ is now known as frank__
dogweather has quit [Remote host closed the connection]
tesuki has quit [Ping timeout: 248 seconds]
darius has left #ruby [#ruby]
kiwnix has joined #ruby
w400z has quit [Quit: Computer has gone to sleep.]
generalissimo has joined #ruby
kiwnix has quit [Client Quit]
takeru has joined #ruby
philcrissman has quit [Remote host closed the connection]
tvw has joined #ruby
mockra has quit [Remote host closed the connection]
mpfundstein has quit [Remote host closed the connection]
arya has quit [Ping timeout: 245 seconds]
<frank__>
have a best practice question: I'm writing a standalone ruby app and have a script that seeds the data for it. Planning to run that script with rake. Should that script include the environment setup or should that be done in a separate rake task?
sirish has quit [Ping timeout: 256 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
freeayu has joined #ruby
<frank__>
My concern is that if its in a separate rake task I won't be able to run the script standalone with 'ruby scripts/...' and that feels funny. Not sure if I should be able to
twshelton has quit [Quit: Computer has gone to sleep.]