mansi has quit [Remote host closed the connection]
mansi has joined #ruby
randomau_ has joined #ruby
justjealouse has joined #ruby
yshh has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
pkrnj has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
randomautomator has quit [Ping timeout: 248 seconds]
ckrailo has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby
randomau_ has quit [Ping timeout: 246 seconds]
blitz has joined #ruby
guiocavalcanti has joined #ruby
nari has joined #ruby
adeponte has quit [Remote host closed the connection]
iliketurtles has quit [Client Quit]
yshh has quit [Ping timeout: 276 seconds]
lnormous has quit [Remote host closed the connection]
<justjealouse>
I am new to ruby but am trying to run a rserve gem in jruby. I get this error http://pastebin.com/g2B1N9Q2, can someone help explain what I'm missing
bradsmith has quit [Remote host closed the connection]
bigmac has joined #ruby
mrsolo has quit [Quit: Leaving]
pinage404 is now known as zz_pinage404
freerobby has quit [Quit: Leaving.]
jacobbednarz has joined #ruby
twoism has quit [Remote host closed the connection]
<r0bgleeson>
vim isnt going to be useful to justjealouse
<havenwood>
or take the plunge and emacs or vim :P
<r0bgleeson>
no dont
<havenwood>
but yeah
<r0bgleeson>
itll slow you down
bionoid has quit [Remote host closed the connection]
digitalcake has joined #ruby
<r0bgleeson>
you dont want to be smacking your head against the wall because of an editor when youre learning to code, sublime is a good choice
<r0bgleeson>
its powerful and easy to use
platforms has quit [Remote host closed the connection]
<justjealouse>
how do I run jruby from sublime text?
jacobbednarz has quit [Read error: Connection reset by peer]
<blitz>
I use sublime for rails work
<shevy>
hmmm when you have a user that could input stuff like this, a string: "5+5" or " 5 - 3" or "11/0", I would like to provide to him a little calculator. right now I use eval() but this does not seem to be ideal at all
<havenwood>
justjealouse: You install JRuby then point Sublime at it.
<xybre>
Sublime is awesome. One might even say its ... sublime.
apeiros has quit [Remote host closed the connection]
<blitz>
well, I use sublime for everything
<shevy>
does anyone have a better idea to provide a "calculator"?
<havenwood>
justjealouse: Just grab the exe(x64): http://jruby.org
<justjealouse>
how do you point with sublime?
<justjealouse>
i have jruby installed
<r0bgleeson>
justjealouse: what are you running?
<r0bgleeson>
little scripts?
<justjealouse>
yes
pkrnj has quit [Quit: Computer has gone to sleep.]
<r0bgleeson>
dont know how to do that with sublime, but i think powershell is suppose to be a good emulator, you'll need to get comfortable to running console commands if you get into rails or anything like that, so its not a bad idea
<r0bgleeson>
so you'd just "jruby myscript.rb"
<r0bgleeson>
from the command line (powershell)
Villadelfia has quit [Quit: Computer has gone to sleep.]
osvico has joined #ruby
<havenwood>
r0bgleeson: I haven't played with it much, but stumbled across `pash` the other day: http://pash.sourceforge.net
<havenwood>
This video contains content from Eagle Rock and EMI Music Publishing, one or more of whom have blocked it in your country on copyright grounds.
<r0bgleeson>
Queen - Who Wants To Live Forever (HQ) (Live At Wembley 86)
bricker`LA has joined #ruby
mercwithamouth has quit [Ping timeout: 276 seconds]
<r0bgleeson>
havenwood: i also spammed you some nirvana in #pry
<havenwood>
mmm good stuff indeed
bricker`LA has quit [Read error: Connection reset by peer]
mercwithamouth has joined #ruby
blackmes1 has quit [Quit: WeeChat 0.4.1]
<r0bgleeson>
its time IRC clients support github emoji
joshmyers has quit [Remote host closed the connection]
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
henn has left #ruby ["Leaving"]
nanoxd has joined #ruby
rshetty has joined #ruby
<Kelet>
I'm trying to make a RubyGem of my project, and the general idiom for versioning is to provide a lib/Project/version.rb with module Project; VERSION='0.0.1'; end or whatnot.
zachrab_ has joined #ruby
<Kelet>
However my project provides a class named Project, so this doesn't work
<r0bgleeson>
why not?
<Kelet>
Because I have a class and a module named the same thing
<r0bgleeson>
ok
<r0bgleeson>
just set VERSION in your class
<Kelet>
As a class variable, then? Makes sense.
<r0bgleeson>
no
<r0bgleeson>
as a constant
<Kelet>
Gotcha, I wasn't aware of their status by default but just read about it
i_s has joined #ruby
freerobby has joined #ruby
rodacato has joined #ruby
Pandee has quit [Ping timeout: 246 seconds]
Pandee has joined #ruby
sailias has quit [Quit: Leaving.]
sailias has joined #ruby
apeiros has joined #ruby
mateuspontes has joined #ruby
bradsmith has quit [Remote host closed the connection]
<Kelet>
r0bgleeson, If you don't mind. I've seen a lot of talk about bundler. I've read about it. But is it 'ok' if I just provide a gemspec file for using gem build with? I only have 1 runtime dependency, and 1 dev dependency. I don't think it's necessary so to speak.
<r0bgleeson>
up to you
<r0bgleeson>
if you want to test on TravisCI its easier to use bundler
zeade has joined #ruby
smathieu_ has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 240 seconds]
Pandee has quit [Ping timeout: 248 seconds]
v0n has quit [Ping timeout: 276 seconds]
zachrab_ has quit [Remote host closed the connection]
i_s has quit [Remote host closed the connection]
anderson has quit [Ping timeout: 260 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
sailias has joined #ruby
anderson has joined #ruby
digitalcake has joined #ruby
rshetty has quit [Ping timeout: 256 seconds]
AkashicLegend is now known as Akashic_Afk
i_s has joined #ruby
rshetty has joined #ruby
Spooner_ has quit [Remote host closed the connection]
Arya_ has quit [Ping timeout: 276 seconds]
emergion has joined #ruby
ebobby has quit [Quit: Lost terminal]
scarolan has quit [Ping timeout: 264 seconds]
Arya_ has joined #ruby
Kruppe has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
digitalcake has quit [Ping timeout: 264 seconds]
osvico has quit [Ping timeout: 248 seconds]
saarinen has joined #ruby
rshetty has quit [Quit: Sleeping]
vikhyat_ has quit [Remote host closed the connection]
rodacato has quit [Remote host closed the connection]
vikhyat has joined #ruby
i_s has quit [Remote host closed the connection]
ffio has joined #ruby
braincrash has quit [Ping timeout: 246 seconds]
graydot has joined #ruby
bradsmith has joined #ruby
Arya_ has quit [Ping timeout: 276 seconds]
devoldmx3 has joined #ruby
devoldmx has quit [Ping timeout: 248 seconds]
smathieu_ has joined #ruby
threesome has quit [Ping timeout: 276 seconds]
Arya_ has joined #ruby
braincrash has joined #ruby
rodacato has joined #ruby
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
fridim_ has joined #ruby
jefflyne has joined #ruby
bradsmith has quit [Ping timeout: 248 seconds]
tomsthumb has quit [Remote host closed the connection]
smathieu_ has quit [Ping timeout: 240 seconds]
yshh has joined #ruby
baroquebobcat has joined #ruby
freerobby has quit [Quit: Leaving.]
wesside has quit [Quit: Computer has gone to sleep.]
Zeeraw has quit [Ping timeout: 264 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
Arya_ has quit [Ping timeout: 264 seconds]
scarolan has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
mateuspontes has quit [Ping timeout: 246 seconds]
adeponte has quit [Remote host closed the connection]
alvaro_o has quit [Quit: Ex-Chat]
digitalcake has joined #ruby
h4mz1d has quit [Ping timeout: 264 seconds]
Arya_ has joined #ruby
rh1n0 has joined #ruby
dodosan has joined #ruby
scarolan has quit [Ping timeout: 256 seconds]
ewnd9 has joined #ruby
wesside has joined #ruby
vmussa has joined #ruby
digitalcake has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
cj3kim has joined #ruby
sleetdrop has joined #ruby
nanothief has quit [Ping timeout: 246 seconds]
Ripp__ has joined #ruby
henn has joined #ruby
cj3kim has quit [Ping timeout: 245 seconds]
icole has joined #ruby
freerobby has joined #ruby
dodosan has quit [Ping timeout: 256 seconds]
mame3 has quit [Ping timeout: 264 seconds]
Arya_ has quit [Ping timeout: 240 seconds]
rodacato has quit [Remote host closed the connection]
orionstein_away is now known as orionstein
Es0teric has quit [Quit: Computer has gone to sleep.]
Arya_ has joined #ruby
Arya_ has quit [Ping timeout: 256 seconds]
s2013 has joined #ruby
justjealouse has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
tgunr has joined #ruby
popl has joined #ruby
mame0 has joined #ruby
kofno has quit [Remote host closed the connection]
<cads>
so since the project is so small, maybe I can give up on requiring any kind of initial translation step, and just implement the code function by function
<cads>
I'll be done in no time
amacgregor has joined #ruby
icole has quit [Read error: Connection reset by peer]
wesside has quit [Quit: Computer has gone to sleep.]
io_syl has quit [Quit: io_syl]
amacgregor_ has quit [Ping timeout: 276 seconds]
dodosan has joined #ruby
cjs226 has quit [Quit: cjs226]
smathieu_ has joined #ruby
bradsmith has joined #ruby
baroquebobcat has joined #ruby
nathancahill has quit [Quit: nathancahill]
smathieu_ has quit [Ping timeout: 240 seconds]
rh1n0 has quit [Ping timeout: 248 seconds]
JohnE has joined #ruby
bradsmith has quit [Ping timeout: 240 seconds]
v1rr3n has quit [Quit: WeeChat 0.4.1]
mame0 has quit [Ping timeout: 264 seconds]
Gate has quit [Ping timeout: 276 seconds]
Gate_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Black_Dolphin has quit [Ping timeout: 246 seconds]
nbouscal has quit [Quit: Computer has commenced electric sheep tracking protocol.]
graydot has quit [Ping timeout: 246 seconds]
brennanMKE has quit [Remote host closed the connection]
freerobby has quit [Read error: Connection reset by peer]
wesside has joined #ruby
byprdct has joined #ruby
dross has quit [Ping timeout: 245 seconds]
Arya_ has quit [Ping timeout: 248 seconds]
<zets2>
What's the purpose of eigenclasses in ruby? I might just be too used to other OOP languages, but I can't think of a situation where I'd want to use it :| maybe like polymorphic functions?
dross has joined #ruby
Heero has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
fridim_ has quit [Ping timeout: 256 seconds]
<bnagy>
well in a lot of ways almost nothing would work without them
<bnagy>
every time you use a module function or class method you're using one
<bnagy>
Base64.decode_64 ... etc
zets2 is now known as zets
<bnagy>
they _can_ be used to graft methods onto existing instances, but it's not very common and it's not IMHO good style
nbouscal has joined #ruby
<zets>
bnagy: ah, that's what I was wondering
<bnagy>
or even SomeCLass.new, really, to take a fundamental example
Arya_ has joined #ruby
brennanMKE has joined #ruby
<bnagy>
>> class Foo;class << self;def new;"NOT A FOO HAHAHA";end;end;end ; p Foo.new ; p Foo.new.class
<fryguy>
AzizLight: why does it need to be one line
Skaflem has joined #ruby
<apeiros>
AzizLight: .each is your friend
realDAB has quit [Quit: realDAB]
<AzizLight>
fryguy, zendeavor: I have a method that is too long, trying to make it a bit shorter/more readable. Also rubocop is complaining
tkuchiki has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
<fryguy>
AzizLight: giant complicated one-liners aren't more readable
tkuchiki has joined #ruby
<apeiros>
I couldn't care less than about a code analyzers complaints
<apeiros>
those are hints at best
<fryguy>
some are
smathieu has quit [Ping timeout: 240 seconds]
guiocavalcanti has joined #ruby
viszu has quit [Quit: Leaving.]
<AzizLight>
apeiros: thanks for .each hint
<zendeavor>
unless you're writing python, in which case it's pep8 or bust.
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
<apeiros>
AzizLight: for such questions, you can also paste (gist.github.com) your current code and ask for how to do it better. best accompanied with desired in/output examples
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
brennanMKE has joined #ruby
byprdct has joined #ruby
r1d4a3 has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
pygospa has quit [Read error: Operation timed out]
klaut has quit [Remote host closed the connection]
pygospa has joined #ruby
Vivekananda has joined #ruby
vlad_sta_ has joined #ruby
davedev24 has quit [Ping timeout: 240 seconds]
klaut has joined #ruby
r1d4a3 has quit [Quit: Leaving]
vlad_starkov has quit [Ping timeout: 264 seconds]
teddyp1cker has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
fcanela has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
davedev24 has joined #ruby
<zachrab_>
does anyone know of a way of using Ruby to develop iOS apps?
<zendeavor>
rubymotion
nikeita has joined #ruby
realDAB has quit [Quit: realDAB]
zubov has joined #ruby
cj3kim has joined #ruby
BizarreCake has joined #ruby
teddyp1cker has quit [Ping timeout: 256 seconds]
freerobby has joined #ruby
niklasb has quit [Ping timeout: 276 seconds]
spidergears has joined #ruby
mansi has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 245 seconds]
realDAB has joined #ruby
freerobby has quit [Ping timeout: 248 seconds]
jorge_ has joined #ruby
corehook_ has quit [Ping timeout: 246 seconds]
m8 has joined #ruby
<zachrab_>
zendeavor: is that the best toolchain? anything for free?
fcanela has joined #ruby
<zendeavor>
have you tried googling?
PCChris has quit [Quit: Leaving]
xcthulhu has quit [Quit: xcthulhu]
anildigital_away is now known as anildigital
chimkan has joined #ruby
<zendeavor>
perhaps mobiruby fits your needs
klaut has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 248 seconds]
fcanela has quit [Ping timeout: 240 seconds]
nikeita has quit [Ping timeout: 240 seconds]
<zachrab_>
zendeavor: i have tried googling but was seeing if someone had better insight
Ripp__ has joined #ruby
tgunr has quit [Ping timeout: 276 seconds]
nikeita has joined #ruby
Krajsnick has quit [Remote host closed the connection]
<zendeavor>
there's not much to go on.
<zachrab_>
zendeavor: what do you mean?
tgunr has joined #ruby
<zendeavor>
there are very few offerings available, one of which is commercial and the other which is MIT licensed.
jorge_ has quit [Ping timeout: 248 seconds]
smathieu has joined #ruby
<zachrab_>
i see
<zendeavor>
your options are fairly limited.
<zachrab_>
got it thats unfortunate
<zachrab_>
why is that?
<zendeavor>
because most people suck it up and just use objective-c
<zachrab_>
i think obj-c is terrible
guiocavalcanti has quit [Remote host closed the connection]
nikeita has quit [Quit: sleep]
<zendeavor>
oh well.
<zendeavor>
submit patches and features to mobiruby
saarinen has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
tommyvyo has quit [Quit:]
nikeita has joined #ruby
workmad3 has joined #ruby
tommyvyo has joined #ruby
maroloccio has joined #ruby
Ripp__ has quit [Quit: This computer has gone to sleep]
kobain has quit [Ping timeout: 246 seconds]
mary5030 has joined #ruby
xcthulhu has joined #ruby
nouh has joined #ruby
klaut has joined #ruby
platforms is now known as platforms_away
yshh has joined #ruby
freerobby has joined #ruby
realDAB has quit [Quit: realDAB]
v0n has joined #ruby
rshetty has quit [Quit: Sleeping]
tommyvyo has quit [Quit:]
eka has quit [Quit: Computer has gone to sleep.]
relix has joined #ruby
teddyp1cker has joined #ruby
guiocavalcanti has joined #ruby
yshh has quit [Ping timeout: 276 seconds]
habanany has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 264 seconds]
cj3kim has joined #ruby
jp- has joined #ruby
axeman- has joined #ruby
fcatojo has quit [Quit: Leaving]
snearch has quit [Quit: Verlassend]
Kabaka has quit [Remote host closed the connection]
mityaz has joined #ruby
Kabaka has joined #ruby
FredInDshell has quit [Ping timeout: 256 seconds]
nouh has quit [Remote host closed the connection]
nouh has joined #ruby
nouh has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
intuxicated has quit [Remote host closed the connection]
intuxicated has joined #ruby
pandawanda has joined #ruby
jabular has joined #ruby
Notte has quit [Remote host closed the connection]
rshetty has joined #ruby
haxrbyte_ has quit [Read error: Connection reset by peer]
nfk has quit [Quit: yawn]
Astral_ has joined #ruby
johnkary has joined #ruby
eldariof has quit [Ping timeout: 276 seconds]
saarinen has quit [Quit: saarinen]
Astralum has quit [Ping timeout: 276 seconds]
guiocavalcanti has quit [Remote host closed the connection]
nouh has joined #ruby
nouh has quit [Read error: Connection reset by peer]
nouh has joined #ruby
FredInDshell has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
nouh has quit [Remote host closed the connection]
cj3kim has joined #ruby
nouh has joined #ruby
phracker has quit [Excess Flood]
nouh has quit [Remote host closed the connection]
cha1tanya has quit [Ping timeout: 248 seconds]
phracker has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
tkuchiki has quit [Remote host closed the connection]
cj3kim has quit [Read error: Connection reset by peer]
pitzips has joined #ruby
klaut has quit [Remote host closed the connection]
Krajsnick has joined #ruby
cj3kim has joined #ruby
freerobby has joined #ruby
henn has joined #ruby
henn has joined #ruby
henn has quit [Changing host]
saarinen has joined #ruby
IceDragon has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
vlad_sta_ has quit [Remote host closed the connection]
v0n has quit [Read error: Connection reset by peer]
s2013 has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
intuxicated has quit [Read error: No route to host]
binw_ has quit [Read error: Connection reset by peer]
anonymuse has joined #ruby
zachrab_ has quit [Remote host closed the connection]
rshetty has quit [Quit: rshetty]
klaut has joined #ruby
binw has joined #ruby
cj3kim has quit [Remote host closed the connection]
freerobby has joined #ruby
jorge_ has joined #ruby
platforms_away is now known as platforms
klaut has quit [Remote host closed the connection]
ebanoid has quit [Quit: brbomgwtfbbq]
Norsken has quit [Ping timeout: 240 seconds]
smathieu has joined #ruby
jorge_ has quit [Ping timeout: 240 seconds]
FredInDshell has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
anonymuse has quit [Remote host closed the connection]
yshh has joined #ruby
FredInDshell has joined #ruby
saarinen has quit [Quit: saarinen]
felixjet has quit [Quit: felixjet]
rezzack1 has joined #ruby
rezzack has quit [Ping timeout: 256 seconds]
saarinen has joined #ruby
axeman- has quit [Remote host closed the connection]
bricker`1A has quit [Ping timeout: 240 seconds]
nathancahill has quit [Quit: nathancahill]
yshh has quit [Ping timeout: 240 seconds]
nikeita has quit [Quit: sleep]
arya_ has quit [Ping timeout: 246 seconds]
cj3kim has joined #ruby
wmoxam has quit [Quit: Lost terminal]
anildigital is now known as _anildigital
dodosan has joined #ruby
clov3r has quit [Remote host closed the connection]
bean has joined #ruby
arya_ has joined #ruby
bronson has joined #ruby
Ripp__ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
dtcrshr has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
sarkis has joined #ruby
Norsken has joined #ruby
dodosan has quit [Remote host closed the connection]
godfrey3835 has joined #ruby
nathancahill has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
druonysus has joined #ruby
druonysus has joined #ruby
dtcrshr has joined #ruby
nathancahill has quit [Client Quit]
druonysus has quit [Client Quit]
druonysus has joined #ruby
druonysus has joined #ruby
druonysus has quit [Changing host]
druonysus has quit [Read error: Connection reset by peer]
kaspergrubbe has quit [Ping timeout: 264 seconds]
druonysus has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
rickruby has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
dash_ has joined #ruby
tommyvyo has quit [Quit:]
v0n has joined #ruby
FredInDshell has quit [Ping timeout: 256 seconds]
Notte has joined #ruby
FredInDshell has joined #ruby
Notte has quit [Remote host closed the connection]
Notte has joined #ruby
Notte has quit [Remote host closed the connection]
badquanta has quit [Remote host closed the connection]
henn has quit [Ping timeout: 248 seconds]
Es0teric has joined #ruby
fschuindt has joined #ruby
vikhyat_ has joined #ruby
henn has joined #ruby
vlad_starkov has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
intuxicated has joined #ruby
vikhyat has quit [Ping timeout: 276 seconds]
bronson has left #ruby ["Leaving"]
dash_ has quit [Ping timeout: 248 seconds]
SeySayux_ has joined #ruby
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
fcanela has joined #ruby
dash_ has joined #ruby
SeySayux has quit [Ping timeout: 245 seconds]
adeponte has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
brennanMKE has quit [Read error: Connection reset by peer]
spectre| has joined #ruby
eka has joined #ruby
nathancahill has joined #ruby
anonymuse has joined #ruby
vikhyat has joined #ruby
cyong has joined #ruby
habanany has joined #ruby
vikhyat_ has quit [Ping timeout: 264 seconds]
maroloccio has joined #ruby
jorge has joined #ruby
noop has joined #ruby
<shevy>
I'd wish there would be more GUI things going on with ruby
freakazoid0223 has quit [Read error: Connection reset by peer]
johnkary has quit [Quit: @johnkary]
freerobby has joined #ruby
timonv has joined #ruby
smathieu has joined #ruby
<shevy>
is there a difference between Dir[input+'*'] and Dir.glob(input+'*') ? the first would seem shorter to match user input against file content of a directory listing
nathancahill has quit [Quit: nathancahill]
SeySayux_ is now known as SeySayux
jorge has quit [Ping timeout: 256 seconds]
zachrab_ has joined #ruby
godfrey3835 has quit [Quit: quit]
x1337807x has joined #ruby
anonymuse has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
ewnd9 has quit [Ping timeout: 256 seconds]
zmike123 has quit [Read error: Connection reset by peer]
smathieu has quit [Ping timeout: 276 seconds]
sam113101 is now known as sam113101_afk
nikeita has joined #ruby
trepidaciousMBR has joined #ruby
sam113101_afk is now known as sam113101
goodmanio has quit [Excess Flood]
stayarrr has quit [Quit: Leaving...]
k3VB6u4d has joined #ruby
k3VB6u4d has quit [Excess Flood]
trepidaciousMBR has quit [Client Quit]
arya_ has quit [Ping timeout: 264 seconds]
adeponte has quit [Remote host closed the connection]
nathancahill has joined #ruby
BizarreCake has quit [Ping timeout: 264 seconds]
zachrab_ has quit []
ntus1017 has quit [Remote host closed the connection]
Skaflem has quit [Quit: Leaving]
k3VB6u4d has joined #ruby
freakazoid0223 has joined #ruby
nathancahill has quit [Client Quit]
ryanf has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teddyp1cker has quit [Remote host closed the connection]
arya_ has joined #ruby
spidergears has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
jonathanwallace has quit [Client Quit]
spidergears has joined #ruby
<apeiros>
shevy: [] is an alias of glob
godfrey383 has joined #ruby
<apeiros>
so there's no difference
<apeiros>
but: [] methods can't take a block
n_blownapart has joined #ruby
xcv has joined #ruby
<apeiros>
glob can take a block, so you can only use glob with a block when using 'glob' and not '[]'
bricker`LA has joined #ruby
sam113101 is now known as sam113101_afk
<shevy>
hmm
timonv has quit [Remote host closed the connection]
<shevy>
ah, nice, did not think of blocks
sam113101_afk is now known as sam113101
nikeita has quit [Quit: sleep]
rippa has joined #ruby
twoism has joined #ruby
twoism has quit [Remote host closed the connection]
<ntzrmtthihu777>
Hullo. I've a large array of rubyscripts stored via Marshal.dump; How would one go about requiring each of these scripts? its a 3*n array, n for each script contained (not sure atm, lol). the scripts are contained in the third index.
pskosinski has joined #ruby
<apeiros>
ntzrmtthihu777: what have you tried?
kaspergrubbe has joined #ruby
n_blownapart has joined #ruby
<ntzrmtthihu777>
script.each { |s| require (Zlib::Inflate.inflate(s.at(2))) } and various iterations after that; this is after I set script = Marshall.load scriptfile (not literally that, I marshalled it fine)
Villadelfia has joined #ruby
<apeiros>
and what do you need help with now?
crashfocus has joined #ruby
otherj has quit []
pskosinski has quit [Client Quit]
cyong has quit [Quit: Leaving.]
<ntzrmtthihu777>
well, I can use file.write(Zlib-blah-blah) to dump it all to a text file, but I'm wanting to load the entire thing into my current irb session.
colonolGron has joined #ruby
<apeiros>
eval
<Nilium>
Does require work on non-files?
cj3kim has quit [Remote host closed the connection]
cyong has joined #ruby
<Nilium>
Docs suggest the answer's no.
<apeiros>
require '/absolute/path.rb' is essentially eval(File.read(path), TOPLEVEL_BINDING)
<shevy>
I arm myself with a knife when I see a nasty eval, prepared to stab the next person to come nearby somewhere in a soft spot
noop has quit [Ping timeout: 246 seconds]
adeponte has joined #ruby
* ntzrmtthihu777
is glad irc allows distance conversation
<shevy>
hehe
Krajsnick has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 246 seconds]
jorge has joined #ruby
pskosinski has joined #ruby
<r0bgleeson>
whats so bad about eval?
<ntzrmtthihu777>
hmm. so exactly what is the term for the output of zlib.deflate?
<ntzrmtthihu777>
a stream, mayhaps?
<Nilium>
I think people respond poorly to eval because people use it in really bad ways.
<Nilium>
It's kind of like how people respond to goto with instant revulsion despite it just being misused by stupid people.
mercwithamouth has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
echevemaster has joined #ruby
<shevy>
r0bgleeson I am not sure, every time I see it, I have to think that it's like at odds with the rest of the code (if the latter is well structured). I am thinking "hmm, if there is an eval() in here, people may gonna want to abuse it most likely", and it's part of my code where I have to spend more time thinking about it than other part of the code
mikek has joined #ruby
smathieu has joined #ruby
tbn has joined #ruby
jorge has quit [Ping timeout: 240 seconds]
<mikek>
The stringio module: is this something special in some way? It's documented, but I can't find the source file in the Ruby repo?
<r0bgleeson>
shevy: as Nilium hinted, eval() is awesome if you're not using it carelessly.
<r0bgleeson>
without eval() you would have no REPL.
crashfocus has quit [Quit: crashfocus]
fuhgeddaboudit has quit [Ping timeout: 256 seconds]
<apeiros>
r0bgleeson: and require is special how? (other than checking against $" of course)
<apeiros>
or rather, how's what I said not correct?
diegoviola has joined #ruby
<r0bgleeson>
it wasn't incorrect, but i thought id just mention the difference between $LOADED_FEATURES and not.
JZTech102 has quit [Read error: Connection reset by peer]
<ntzrmtthihu777>
Dang, I was really hoping to be able to use marshalled scripts :/
nomenkun has quit [Remote host closed the connection]
JZTech101 has joined #ruby
<r0bgleeson>
ntzrmtthihu777: you can compile the code to bytecode, and distribute that with something that knows how to pass back to ruby for compile/execution
<r0bgleeson>
what for though?
adeponte has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
<mikek>
Nilium: there's no need to be mean - I looked in the lib directory as that was the only place I knew to look
<ntzrmtthihu777>
r0bgleeson: game project. java, jruby, and lwjgl
<Nilium>
I'm not being mean.
<Nilium>
Though you did just confirm you didn't look very hard.
realDAB has joined #ruby
<r0bgleeson>
ntzrmtthihu777: JVM bytecode/jar.
<ntzrmtthihu777>
r0bgleeson: the idea is that the scripts data can be freely edited by a special gui and packed into the jar for distribution
<mikek>
Nilium: "how hard did you look" could have been - "did you also look in ext?" - it's doesn't take a lot of effort to be helpful and civil rather than demeaning - I looked as well as I knew
<r0bgleeson>
ntzrmtthihu777: why are you trying to serialize?
<Nilium>
I think I was pretty helpful and civil. I pointed you directly to its location.
mikek has quit [Quit: Page closed]
<Nilium>
If I'd just said "did you also look in ext?" then I would be civil but dickish.
<ntzrmtthihu777>
r0bgleeson: an array of ruby scripts. script number, script name, zlib compressed script body.
realDAB has quit [Client Quit]
<Nilium>
Plus, since you didn't say where you initially looked, I can only assume you probably didn't actually look.
<ntzrmtthihu777>
problem is I have to somehow get those zlibs into my runtime. its doable.
<ntzrmtthihu777>
I know it is, at least 3 other systems did this, I just need to figure it out :/
<r0bgleeson>
doesnt sound too hard
<r0bgleeson>
Nilium: he left
<Nilium>
Yeah, I only saw after I'd hit return.
<ntzrmtthihu777>
r0bgleeson: yeah, but sounding and being are oft not the same :P
nikeita has quit [Quit: sleep]
<r0bgleeson>
there's a ZLib library in ruby
<r0bgleeson>
just use that?
<ntzrmtthihu777>
r0bgleeson: yep, I've tried various iterations. I can inflate the info fine, but not get it all required'ed
<apeiros>
ntzrmtthihu777: what didn't work about eval(script, TOPLEVEL_BINDING)?
<ntzrmtthihu777>
apeiros: I must have missed that, one sec.
<r0bgleeson>
that wont work til you decompress
aspiers has quit [Ping timeout: 260 seconds]
evdakovkirill has joined #ruby
<apeiros>
since you also have script_name, you can use that too in eval, for better exceptions:
<ntzrmtthihu777>
pretty sure its me, not the code, but running: script.each {|s| eval(Zlib::Inflate.inflate(s.at(2)), TOPLEVEL_BINDING) } Aborts and dumps the core :P
evdakovkirill has quit [Quit: evdakovkirill]
pskosinski has quit [Quit: Til rivido Idisti!]
nikeita has joined #ruby
nikeita has quit [Client Quit]
<apeiros>
ntzrmtthihu777: still not a useful problem description
FredInDshell has joined #ruby
<ntzrmtthihu777>
apeiros: no kidding, lol. But what would be useful? I honestly have not a clue about the results of that core dump, I
<ntzrmtthihu777>
*I'm just a rookie XD
<Xeago>
what you want to do, why, and why this way?
<ntzrmtthihu777>
=_= damn enter key next to '
<apeiros>
ntzrmtthihu777: the full exception you get, for example (make a gist of it)
<Xeago>
ignore me, had a beer and tired because I just ate
workmad3 has joined #ruby
<apeiros>
you know, it "dumps the core" for a reason.
<apeiros>
if that was all useless information, it wouldn't
<ntzrmtthihu777>
apeiros: yeah, I get that, but it has outran my terminal buffer XD. any way you know of to record it?
<apeiros>
ntzrmtthihu777: your terminal can't scroll? srsly?
<apeiros>
are you on DOS 3.0 or somesuch?
adeponte has joined #ruby
mmitchell has quit [Remote host closed the connection]
kobain has joined #ruby
<ntzrmtthihu777>
apeiros: it can, but only so far, lol. I'ma see if I can't jack it up.
Kruppe has joined #ruby
<apeiros>
o0
adeponte has quit [Remote host closed the connection]
<Xeago>
you can redirect stderr if you must..
<apeiros>
what ruby are you using?
ntus1017 has joined #ruby
<ntzrmtthihu777>
atm 1.9.3-p448
<ntzrmtthihu777>
yeah, anyways I just jacked up my scroll buffer, gimme a bit.
<ntzrmtthihu777>
Hmm. One sec, I think I got this.
<ntzrmtthihu777>
apeiros: yep, eval is what i needed. now once I work out my own bugs I'll be fine.
<apeiros>
so reading the exception helped solve the problem, what a surprise :-p
<ChristianS>
evdakovkirill: various things
<ntzrmtthihu777>
apeiros: lol, I woulda but like I said, my scroll buffer was too low. When I mentioned the exception I was actually thankfull; I much prefer a good error message over silent failure.
zachrab_ has joined #ruby
rodacato has joined #ruby
dash_ has quit [Quit: dash_]
staafl_123 has quit [Ping timeout: 246 seconds]
sayan has quit [Ping timeout: 264 seconds]
<Xeago>
evdakovkirill: what is wrong with it?
<Xeago>
it runs according what you told it to do, which might be not what you want
blackmesa has quit [Remote host closed the connection]
<evdakovkirill>
it returns me alc.rb:10: syntax error, unexpected ')', expecting keyword_end
<evdakovkirill>
puts ( 'You need to drink' + userprint_ml * 0,05 + ' of water' )
<Xeago>
I don't think you can concatenate like that
<apeiros>
evdakovkirill: the worst issue of your code is that you spelled absinth absent…
<Xeago>
try "You need ti drubj #{userorubt_ml * .05} of water"
<evdakovkirill>
=) sorry
<Xeago>
excuse my tyoing errors
<apeiros>
Xeago: if userprint_ml is a String, then you actually can
<apeiros>
because * takes precedence before +
stayarrr has joined #ruby
<Xeago>
i doubt it is
<Xeago>
sorry: 0.05
<apeiros>
it's from a gets, no?
<apeiros>
ah, haha
<apeiros>
but String * 0.05 makes no sense :)
<apeiros>
also, 0,4 is not 0.4
<apeiros>
ah, well, I'm out of this.
mlue has quit [Ping timeout: 246 seconds]
pupoque_ has quit [Read error: Connection reset by peer]
Es0teric has quit [Quit: Computer has gone to sleep.]
byprdct has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
henn has joined #ruby
ndrei has joined #ruby
rezzack has joined #ruby
nomenkun has joined #ruby
Smoochict has joined #ruby
<Smoochict>
Hi
jonahR has quit [Quit: jonahR]
orionstein_away is now known as orionstein
zomgbie_ has joined #ruby
<ntzrmtthihu777>
apeiros: well, I'm still erroring out on bad rubysdl code, but this gives me the info I need. It is at least attempting to run the zlibbed scripts, so many thanks.
<evdakovkirill>
which method tells ruby to handle with user input, as a numbers?
<evdakovkirill>
i need to multiple the numbers, not just print it 10 times)
<Xeago>
mind using google for basic ruby questions?
<Xeago>
sorry but your issue is entirely solved by doing so
byprdct has joined #ruby
<evdakovkirill>
ok sorry
nomenkun has quit [Ping timeout: 240 seconds]
<Xeago>
Smoochict: hi!
<Smoochict>
Hi Zeago
<Smoochict>
*Xeago
<Smoochict>
what's the difference betwene #ruby and #ruby-lang?
<Xeago>
Zeago is actually an alternative nick :)
zomgbie_ has quit [Client Quit]
zomgbie_ has joined #ruby
zomgbie_ has quit [Client Quit]
<Xeago>
Smoochict: #ruby-lang is the official channel I think
<Xeago>
apeiros: SLAP! you know that
<apeiros>
Smoochict: -lang
<apeiros>
and some hundred people
<r0bgleeson>
the people banished from #ruby-lang hang out here
<workmad3>
Smoochict: nowadays? not really much
<Smoochict>
no one is talking in #ruby-lang… so i'm guessing this is the main chat now lol
<Xeago>
isn't it also +R egistered
<workmad3>
I know #ruby originally came about because of disagreements between people in #ruby-lang
<r0bgleeson>
Smoochict: #ruby-lang is actually more popular with the 'bigger' names
<Smoochict>
'bigger' names..?
sqd has quit [Quit: sqd]
<r0bgleeson>
i hang out in both, but i usually talk here because its on a lower buffer number and more convient to switch to
Bry8Star{T2 has quit [Remote host closed the connection]
<workmad3>
but tbh, I see a fair bit of crossover nowadays, and the amount of conversation in each seems to vary by some unknown cosmic variable...
<r0bgleeson>
Smoochict: a few famous rubyists hang out there
zomgbie_ has joined #ruby
<Smoochict>
like who..?
vlad_starkov has quit [Ping timeout: 240 seconds]
<r0bgleeson>
zenspider, off the top of my head
<Smoochict>
never heard of him/her
<apeiros>
drbrain (maintainer of rubygems)
zomgbie_ has quit [Client Quit]
<Xeago>
from the few times I have tried #ruby-lang, I had better success in #ruby
<apeiros>
tenderlove (maintainer of a shitload of gems)
<Smoochict>
ah
<apeiros>
a couple of others
<workmad3>
apeiros: tenderlove is also a core ruby contributor, iirc
<apeiros>
workmad3: I think so are zenspider and drbrain
<workmad3>
quite likely :)
freerobby has quit [Quit: Leaving.]
<apeiros>
zzak too I think
<apeiros>
but he hangs out here too I just noticed :)
<Smoochict>
i'm not a professional rubyist yet.. so i don't know this stuff, haha
allsystemsarego has quit [Quit: Leaving]
Bry8Star{T2 has joined #ruby
<workmad3>
Smoochict: this isn't required knowledge to be a 'professional rubyist'
<Smoochict>
i know lol
<workmad3>
whatever a 'professional rubyist' is...
<Smoochict>
sorry
<workmad3>
;)
<Smoochict>
it's nearly 7am here, had no sleep.. so i'm a bit… weird
bluOxigen has joined #ruby
<apeiros>
I think professional is pretty well defined
<workmad3>
Smoochict: don't worry... I'm being deliberately critical of the term... I suspect I know what you mean, but I'd say that a professional developer isn't defined by the language they are using
jorge has joined #ruby
<apeiros>
I think it makes sense to specify the main language of the profession
<workmad3>
apeiros: I'm a professional english? :P
<apeiros>
workmad3: do you do a job ad "Looking for software developer"?
<apeiros>
or do you make a job ad "Looking for ruby programmer"?
Es0teric has quit [Quit: Computer has gone to sleep.]
<workmad3>
apeiros: jobs != people
<apeiros>
workmad3: jobs = profession
<workmad3>
apeiros: I'd make a job ad looking for developers with ruby experience
<Xeago>
how would you title it?
<workmad3>
apeiros: and you're right, I might use the idiom of 'ruby programmer'
<Smoochict>
"Ruby Programmer wanted"
<workmad3>
apeiros: but that doesn't mean I agree with the idiom
<apeiros>
workmad3: but maybe you're just a professional typist
<apeiros>
after all, you're paid to press buttons on your keyboard :-p
<workmad3>
apeiros: not really
v0n has quit [Quit: WeeChat 0.4.1]
zomgbie_ has joined #ruby
<apeiros>
ok, professional thinker and typist
<workmad3>
apeiros: better ;)
v0n has joined #ruby
zomgbie_ has quit [Client Quit]
<workmad3>
apeiros: professional epistemology extractor and recorder?
<r0bgleeson>
youre learning ruby either way so i guess it doesnt matter
<Smoochict>
i have a bit of ruby experience, so that's good
<Smoochict>
to be honest though i think beginners should start with ruby then simple frameworks like sinatra then rails
<r0bgleeson>
i donno
<r0bgleeson>
probably sounds like a good idea
cj3kim has joined #ruby
<r0bgleeson>
its often the reverse
<workmad3>
Smoochict: I agree with the ruby side... not convinced by the sinatra argument
FredInDshell has quit [Read error: Connection reset by peer]
<Smoochict>
learning a framework as big as rails would be tedious, especially if you have no prior experience with full stack frameworks
<Kelet>
I'm somewhat new to Ruby, and while I realize that Rails is one of the reasons Ruby exists in this form today, it is somewhat annoying that the community is so Rails-centric. As somewhat of a beginner who doesn't care too much about the web or huge frameworks, it's sometimes hard to find resources that aren't about Rails.
evdakovkirill has left #ruby [#ruby]
<diegoviola>
i love ruby but rails is too frameworky for my taste
<Smoochict>
rails is not for every project
<workmad3>
Smoochict: rails makes it a lot easier to get started with little knowledge about web development in general, and learn more, IMO
<shevy>
Kelet what community exactly, I use ruby since about 2004 and still dont use or need rails
<Smoochict>
workmad3: maybe, but i've always thought starting of simple is much easier on the brain than going in reverse
<workmad3>
Smoochict: as opposed to sinatra, which is simpler, but requires the developer to then consequently have a higher knowledge of web development to get along with
<zendeavor>
this is a non-productive kind of discussion to have
<Kelet>
diegoviola, Indeed, I did want to make a web app a while back, and chose Sinatra. It's very simple and I'm more comfortable without having a framework that has commands to generate files and such. I know it's not necessary but it's pretty much ubiquitous to use.
cyong has quit [Quit: Leaving.]
<workmad3>
zendeavor: it's a discussion on pedagogy ;)
<workmad3>
Smoochict: I prefer to start easy, rather than simple
pupoque has joined #ruby
<zendeavor>
who wants to help me figure out why chruby's tests don't work when variable expansions are properly quoted instead
mityaz has quit [Quit: See ya!]
adeponte has joined #ruby
<r0bgleeson>
zendeavor: ppl in £bash or £zsh
<r0bgleeson>
#
<diegoviola>
Kelet: right, sinatra is good
postmodern has joined #ruby
<diegoviola>
Kelet: another "framework" i like in ruby is ramaze
<Smoochict>
but
<workmad3>
yeah, I'm not arguing that sinatra isn't useful :)
<Smoochict>
rails abstracts you from a lot of things
<diegoviola>
Kelet: i think it's bigger than sinatra but smaller than rails
<workmad3>
Smoochict: exactly... which means the concepts you, personally, need to concern yourself with, are smaller in number
<Smoochict>
that's great if you only ever intend to use rails..
<diegoviola>
Smoochict: that's what i don't like in rails, that it abstracts a lot and it hides too much, especially ActiveRecord
<shevy>
there is one big reason for rails going which is complexity. the technical university in vienna uses rails for the student pages, and it's really very, very useful, much better than most non-rails alternatives I saw in use by other universities
<Smoochict>
but if you ever intend to use other frameworks or use ruby for something other than the web…
<workmad3>
Smoochict: just because you *start* with something easier to grasp doesn't mean you are always stuck with it
<Smoochict>
true
arya_ has quit [Ping timeout: 240 seconds]
<Smoochict>
but i guess again, it all boils down to what your purpose is
<workmad3>
Smoochict: that's like suggesting that because you start learning maths without negative numbers... or complex numbers... then you're always doomed to never move beyond that
<Smoochict>
actually i disagree with that statement
rezzack has quit [Quit: Leaving.]
<Smoochict>
rails would most likely be complex
<Smoochict>
nvm
<diegoviola>
i also don't like the concept of generating code or scaffolding, i want proper, simple API and good documentation instead
ntus1017 has quit [Remote host closed the connection]
<workmad3>
diegoviola: I don't use any of the code generation or scaffolding in rails
<r0bgleeson>
you can prototype fast
<workmad3>
diegoviola: those are very surface-level bling
bionoid has joined #ruby
rezzack has joined #ruby
<r0bgleeson>
I use rails g because it makes my life easier
<Smoochict>
about ramaze and sinatra.. are we limited to using just one class? like rails, i like to seperate my logic
<r0bgleeson>
i could do it myself but id prefer to just focus on writing code
<workmad3>
there are bits of rails that aren't brilliant... and it's definitely not for every project
<diegoviola>
workmad3: well, yeah, i can always avoid using them too, but i think it's what rails has encouraged for a long time now, i wish they'd remove those things or at least make those parts gems and not part of the core
bricker`LA has quit [Ping timeout: 264 seconds]
cj3kim has quit [Remote host closed the connection]
<workmad3>
diegoviola: I'd disagree with that
<workmad3>
diegoviola: I've used rails for a fairly long time now, and I've discouraged them, and most other long-term rails users also discourage their use
Es0teric has joined #ruby
<r0bgleeson>
discourage generators or scaffolds?
<workmad3>
diegoviola: they're in there to make it easier to get started for newcomers and allow said newcomers to scale their learning up as they learn more rails
<workmad3>
r0bgleeson: scaffolds
<r0bgleeson>
ok id agree with that, i never use them
<diegoviola>
workmad3: well, my apologize then, i guess i've been reading the wrong blogs or something
<diegoviola>
workmad3: :)
<Smoochict>
oh nice, ramaze is like a streamlined mini-rails.. without activercord and all that
<workmad3>
r0bgleeson: that said, the only generators I tend to use are the migrations (because it puts the timestamp in) and the occasional install ones from a gem to get started :)
kilophoton has joined #ruby
n_blownapart has quit [Remote host closed the connection]
DanKnox_away is now known as DanKnox
FredInDshell has joined #ruby
<r0bgleeson>
workmad3: i use rails g model/controller/migration all the time
<shevy>
workmad3 do you use rails for local stuff that only you use, too?
<r0bgleeson>
controller is a little annoying because i dont use the assets/helpers a lot of the time
lebek has joined #ruby
<workmad3>
shevy: no... but I don't tend to use webapps for that sort of stuff either
jonkri_ has quit [Ping timeout: 246 seconds]
<Xeago>
around rails 2 it was decided scaffolds were for introducing new users to ruby (on rails0
<Xeago>
and not for production use
kaspergrubbe has quit [Remote host closed the connection]
xcv has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
xcv has joined #ruby
<shevy>
is there statistics to show how many sites use rails in production worldwide?
Catbuntu has joined #ruby
kobain has joined #ruby
<Smoochict>
shevy: pretty sure rails core doesn't log that information
kaspergrubbe has joined #ruby
Ripp__ has quit [Quit: This computer has gone to sleep]
stayarrr has quit [Quit: Leaving...]
Krajsnick has quit [Remote host closed the connection]
Krajsnick has joined #ruby
Krajsnick has quit [Remote host closed the connection]
Smoochict is now known as Smoochict|Away
Smoochict|Away is now known as Smoochict
codecop has quit [Remote host closed the connection]
tes2958292 has joined #ruby
<Smoochict>
hmm
saarinen has joined #ruby
Smoochict is now known as Smoochict|Away
workmad3 has quit [Ping timeout: 264 seconds]
<zendeavor>
Smoochict|Away: away nicks and away messages are a big no-no
Gate has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
anonymuse has joined #ruby
Gate has joined #ruby
Gate has quit [Changing host]
Gate has joined #ruby
kofno has joined #ruby
TheFuzzball has joined #ruby
ffio has quit [Ping timeout: 264 seconds]
jonkri_ has joined #ruby
saarinen has quit [Quit: saarinen]
vlad_starkov has quit [Ping timeout: 246 seconds]
anonymuse has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 248 seconds]
<shevy>
he is away and can't read you :-)
jorge has joined #ruby
<Smoochict|Away>
Hi
Smoochict|Away is now known as Smoochict
<Smoochict>
zendeavor: i disabled it just now, just for you ;)
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
threesome has joined #ruby
<Smoochict>
the away message is fine though right?
zachrab_ has quit [Remote host closed the connection]
<zendeavor>
Smoochict|Away: away nicks and away messages are a big no-no
<Smoochict>
why away messages as well?
<Smoochict>
it doesn't show away messages in the chat..
cjs226 has joined #ruby
<zendeavor>
that's not an away message then
<zendeavor>
this is
* zendeavor
is away: gone to lunch
decoponio has quit [Read error: Connection reset by peer]
<Smoochict>
did you see "smoochict is away: offline"?
<zendeavor>
perhaps you have an auto-responder for /query?
nignaztic has quit [Quit: Leaving]
<Smoochict>
nope, autoreply is disabled
<zendeavor>
anything which notifies an entire channel is unnecessary
<Smoochict>
the only thing i had enabled was so it changed my nick to "Smoochict|Away|
<Smoochict>
that's all
decoponio has joined #ruby
* Kelet
is away: setting up away message notifier
<zendeavor>
an auto-responder for /query is quite alright. it helps in case someone sends you a private message while you're gone
<Kelet>
IRC is the new twitter folks.
<Smoochict>
i'll close my irc client, tell me if it sends a message
<zendeavor>
notifying every person in every channel that you're connected to on every network that you use is blegh.
jorge has quit [Ping timeout: 246 seconds]
Nex7 has joined #ruby
smathieu has joined #ruby
bionoid has quit [Remote host closed the connection]
<Smoochict>
i use textual but also znc.in irc bouncer
<shevy>
Kelet hah, I am a die-hard IRC user... I think I started IRCing on mIRC back in 1997 or 1996 or some such
Notte has joined #ruby
<Smoochict>
when i type /away test i don't get any notification
<zendeavor>
good
<Smoochict>
i'll disconnect one more time, tell me if my irc bouncer notifies you or anything
<Smoochict>
it should say i'm away if you whois
<Kelet>
shevy, I started using IRC when I tried to install Linux on my old computer in early 00's. Currently using Hexchat but slowly working on my own client in C. Might be done next century.
<Kelet>
I tried to install Linux, got a kernel panic, and ran to IRC for assistance which was met with the good ol' RTFM :)
<Kelet>
Good times
<zendeavor>
circle is a cool client
<Kelet>
Believe it was Red Hat 3 or something corny
<Kelet>
zendeavor, Seems like it's similar to Smuxi/Quassel.
<shevy>
cool
smathieu has quit [Ping timeout: 276 seconds]
<shevy>
I still use xchat, hexchat fails to compile for me so far
<Kelet>
I really liked Quassel, but it doesn't seem to clear its backbuffers, and thus after a few days is using a cool 200+mb of RAM.
<Kelet>
My C client is going to be pretty barebones because I don't use dcc, don't log, and don't use any scripts.
<shevy>
I actually want to have a minimal IRC client, but it must be graphical. I can't use things like irssi, my brain is not working with these
<zendeavor>
i just use weechat because i multiplex with tmux
<zendeavor>
so it's nice to drop out of X and still have irc on hand
<shevy>
yeah, you guys hate GUI ;)
<zendeavor>
i just don't need it for anything
<zendeavor>
i use tiling WMs because i hate touchpads
anonymuse has joined #ruby
<Kelet>
I kind of liked weechat but
<Kelet>
the configuration process and huge autogenerated default config file kind of set me off TBH
<zendeavor>
it is kind of daunting these days
crashfocus has joined #ruby
<zendeavor>
but i prefer that the full default config is at my fingertips
<Smoochict>
it worked, it set me as away.. when i rejoined marked as no longer away :)
<zendeavor>
okay Smoochict, whatever floats your boat. it didn't spit anything in-channel so you adhere to convention.
Gate has quit [Ping timeout: 256 seconds]
<Smoochict>
:)
<zendeavor>
now this netsplitting is getting annoying though
Gate has joined #ruby
Gate has joined #ruby
Gate has quit [Changing host]
<zendeavor>
maybe it's not a split, but people are dropping like flies
<shevy>
sounds like warfare
<shevy>
in the ancient games of perl-text browsergames, we used to coordinate guild actions through IRC
<zendeavor>
MUDs
<Kelet>
Hehe even though my guild uses Mumble now, and we're just hopping between games, we still use IRC quite regularly just because it's what we started on. Roger Wilco was the only voice chat service back in the day, and it made everyone sound horrible. And many people were on 56k so they couldn't use it even if they wanted to.
<Kelet>
Good times
anonymuse has quit [Remote host closed the connection]
Smoochict has quit [Quit: Quit]
Smoochict has joined #ruby
Smoochict has joined #ruby
Smoochict has quit [Changing host]
<Smoochict>
sadly znc is connecting to one of freenodes EU servers lol
<zendeavor>
don't use the round-robin server then
<Smoochict>
lol
sarkis has quit [Ping timeout: 256 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
<shevy>
zendeavor, yeah, MUDs I think I found in 1992, was different to browser games though, IRC was absolutely brilliant back then. I am not sure what changed, but today's games don't interest me anymore, and facebook (or even worse, "facebook games") is completely alien to me
<Smoochict>
okay, i think wright.freenode.net is closer to los angeles
<shevy>
I even wanted to write a MUD in ruby once... kinda gave up on that
vikhyat has quit [Read error: Connection reset by peer]
<shevy>
matti! you old horse, what are you doing here at this late hour! go to bed!
Smoochict has quit [Quit: Quit]
<zendeavor>
okay i'm not in the mood for focusing that hard on chruby right now so i'm gonna blow my joke and not be idle
<zendeavor>
did you at least get the joke
<zendeavor>
you got the joke rite.
Smoochict has joined #ruby
Smoochict is now known as Guest250
nicoulaj has quit [Remote host closed the connection]
dodosan has quit [Remote host closed the connection]
<matti>
shevy: Coding in Go ;p
<shevy>
whoa
<shevy>
fearless man
Guest250 has left #ruby [#ruby]
<shevy>
zendeavor, dunno, I idled actually when you wrote the joke
<shevy>
I always idle to power. one day I am gonna beat it
Notte has quit [Remote host closed the connection]
vikhyat has quit [Ping timeout: 264 seconds]
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
<zendeavor>
someone tell me why these tests don't pass
Guest96558 has joined #ruby
Smoochict has joined #ruby
diegoviola is now known as Guest34575
<Smoochict>
done :)
Guest96558 is now known as diegoviola
Guest34575 has quit [Ping timeout: 264 seconds]
darkc0met has quit [Ping timeout: 256 seconds]
zomgbie has quit [Ping timeout: 240 seconds]
ntzrmtthihu777 has joined #ruby
<ntzrmtthihu777>
anyone here passable with jruby? #jruby seems a bit dead atm. Question is is it possible to use Marshal.load on an object within a jar file?
FredInDshell has quit [Ping timeout: 246 seconds]
vikhyat has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
freerobby has quit [Quit: Leaving.]
zachrab_ has joined #ruby
sam19113 has quit [Quit: sam19113]
pitzips has joined #ruby
sam19113 has joined #ruby
<tes2958292>
:)
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
hmm dont use java, so I dont use jruby, sorry ntzrmtthihu777
<apeiros>
ntzrmtthihu777: you use Marshal.load with a string
<apeiros>
and a string which was generated by Marshal.dump
bionoid has joined #ruby
Smoochict has quit [Quit: Quit]
Smoochict has joined #ruby
lebek has joined #ruby
Smoochict has joined #ruby
Smoochict has quit [Changing host]
saarinen has joined #ruby
FredInDshell has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
bionoid has quit [Remote host closed the connection]
diego1 has joined #ruby
diegoviola is now known as Guest20571
diego1 is now known as diegoviola
tes2958292 has quit [Quit: Page closed]
anonymuse has joined #ruby
zachrab_ has quit [Remote host closed the connection]
Guest20571 has quit [Ping timeout: 276 seconds]
bionoid has joined #ruby
nomenkun has joined #ruby
darkc0met has joined #ruby
brennanMKE has joined #ruby
<ntzrmtthihu777>
apeiros: yeah, I know that, sorta, but I've several ruby objects stored as Marshal.dumped objects, I should like to include them in the resultant jar if possible.
<Smoochict>
a jar is just a zip file, so can't you just put them in a file there and load them at runtime?
<ntzrmtthihu777>
Smoochict: that's what I'm after, actually.
DeanH has joined #ruby
<Smoochict>
never really used jruby
mwmnj has joined #ruby
mwmnj has quit [Max SendQ exceeded]
<apeiros>
ntzrmtthihu777: I think you're confusing serialized objects and objects at runtime
vikhyat_ has joined #ruby
<apeiros>
ntzrmtthihu777: before deserializing data, you must have all classes of all objects serialized in the string loaded already
<apeiros>
and that's completely unrelated to jars
spider-mario has quit [Remote host closed the connection]
mwmnj has joined #ruby
<apeiros>
it's the same for non-jruby ruby.
nomenkun has quit [Ping timeout: 276 seconds]
vikhyat has quit [Ping timeout: 240 seconds]
<ntzrmtthihu777>
apeiros: actually its completely related to jars in this situation. The game is to be distributed that way. Now if I have loaded, say, the Game::Map class, how do I Marshal a serialized Game::Map object?
<ntzrmtthihu777>
If you prefer I can say "inside a zipfile", because it really doesn't matter either way :P
<mwmnj>
Any heroku users around interested in beta testing an addon I am developing?
zomgbie has joined #ruby
haxrbyte has joined #ruby
nfk has quit [Quit: yawn]
<ntzrmtthihu777>
*assuming said Game::Map object is inside a zip, lol.
<Smoochict>
jruby is horribly slow
<Smoochict>
nvm
blanoz has quit [Quit: Hunting shrimps!]
haxrbyte has quit [Remote host closed the connection]
jonkri_ has quit [Quit: jonkri_]
jorge has joined #ruby
haxrbyte has joined #ruby
mwmnj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ntzrmtthihu777>
Smoochict: maybe so, but its very portable :P
anonymuse has quit [Remote host closed the connection]
<Smoochict>
i wonder if jruby is better performance wise than REE? (ruby enterprise edition or whatever it' scalled) ?
<ntzrmtthihu777>
I'm actually handling the lowlevel stuffs like graphics and audio in java, so it won't be that past :P
<ntzrmtthihu777>
*bad
TIJ has quit [Ping timeout: 256 seconds]
r0bgleeson has quit [Ping timeout: 264 seconds]
vikhyat has joined #ruby
<ntzrmtthihu777>
the hell did I say past for?
vikhyat_ has quit [Ping timeout: 246 seconds]
<Smoochict>
i hope rvm and jruby work fine now :\
jorge has quit [Ping timeout: 264 seconds]
<Smoochict>
yay, rvm fixed the jruby bug
smathieu has joined #ruby
pupoque_ has joined #ruby
<apeiros>
ntzrmtthihu777: it's not related to jars. it's related to "having your classes loaded". that it is loaded through a jar doesn't matter one yota.
TheFuzzball has quit [Quit: Leaving...]
zomgbie has quit [Ping timeout: 264 seconds]
Catbuntu has quit [Quit: Leaving]
pupoque has quit [Read error: Connection reset by peer]
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arya_ has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
smathieu has quit [Ping timeout: 240 seconds]
<shevy>
one yoda!
diegoviola has quit [Ping timeout: 256 seconds]
<shevy>
ntzrmtthihu777 what are you doing, a game in java?
<zendeavor>
fuck yeah, the tests work again
<zendeavor>
this time without relying on buggy behaviours!
* zendeavor
fistpump
pupoque__ has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
FredInDshell has quit [Ping timeout: 240 seconds]
pupoque_ has quit [Ping timeout: 248 seconds]
Ripp__ has joined #ruby
pupoque_ has joined #ruby
FredInDshell has joined #ruby
nathancahill has joined #ruby
rbento has joined #ruby
lebek has joined #ruby
freerobby has joined #ruby
echevemaster has quit [Quit: Leaving]
northelks has joined #ruby
xcv has quit [Remote host closed the connection]
fess has quit [Ping timeout: 256 seconds]
s2013 has quit [Ping timeout: 246 seconds]
<ntzrmtthihu777>
apeiros: the. objects. are. contained. in. the. jar. how do I marshal an object in a jar/zip/whatever? I'm not "require 'something'"ing, I'm "File.open("somefile", "rb") { |f| obj = Marshal.load(f) }"ing a file.
fcanela has quit [Ping timeout: 240 seconds]
<ntzrmtthihu777>
shevy: yeah, lwjgl+java with jruby scripting.
nathancahill has quit [Ping timeout: 264 seconds]
kiri has quit [Read error: Operation timed out]
<Smoochict>
going to go
<Smoochict>
bye
<Smoochict>
lol
<ntzrmtthihu777>
Smoochict: later :P
Banistergalaxy has joined #ruby
brennanMKE has quit [Remote host closed the connection]
S0da has joined #ruby
kiri has joined #ruby
dhruvasagar has quit [Ping timeout: 256 seconds]
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
r0bgleeson has joined #ruby
v0n has quit [Ping timeout: 248 seconds]
DonRichie has quit [Quit: Verlassend]
chimkan has quit [Quit: chimkan]
Czupa has quit [Remote host closed the connection]
<apeiros>
ntzrmtthihu777: dude, you don't get it
<apeiros>
an object is NEVER in anything but the runtime.
S0da has quit [Ping timeout: 248 seconds]
<apeiros>
outside the runtime an object may be stored. but it's no longer an object. it's serialized data.
S0da has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
mwmnj has joined #ruby
<apeiros>
and as far as I remember, jars are about *code*. code != objects.
JZTech101 has quit [Read error: Connection reset by peer]
v0n has joined #ruby
rodacato has quit [Remote host closed the connection]
kiri has quit [Ping timeout: 264 seconds]
arya_ has quit [Ping timeout: 240 seconds]
NealJ has quit [Quit: :c]
FredInDshell has quit [Ping timeout: 264 seconds]
AzizLight has quit [Ping timeout: 264 seconds]
zomgbie has joined #ruby
saarinen has quit [Quit: saarinen]
mmitchell has joined #ruby
kirun has quit [Quit: Client exiting]
kiri has joined #ruby
arya_ has joined #ruby
zomgbie has quit [Ping timeout: 276 seconds]
JZTech101 has joined #ruby
nkts has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
<ntzrmtthihu777>
apeiros: jars can store many things. I've got my game image files stored in this jar and I can call them from inside it. This. is the exact same. After loading the right classes that define the objects I can marshal.load the map objects, monster objects, etc, from the filesystem using normal ruby, now I'm seaking to do the same with jruby and having the files *inside* the jar. If its not possible then I'll move onto some other method, b
huoxito has quit [Quit: Leaving]
bradsmith has joined #ruby
tgunr has quit [Quit: Nity nite]
JZTech101 has quit [Ping timeout: 276 seconds]
predator117 has joined #ruby
tgunr has joined #ruby
bradsmit_ has joined #ruby
cads has quit [Ping timeout: 268 seconds]
bradsmith has quit [Ping timeout: 256 seconds]
mmitchell has quit [Remote host closed the connection]
predator217 has quit [Ping timeout: 240 seconds]
sam19113 has quit [Quit: sam19113]
<ntzrmtthihu777>
apeiros: in fact look at the minecraft jar. It contains not only .class files but audio and graphical files as well.
nomenkun has joined #ruby
m8 has quit [Quit: Sto andando via]
Cyrus has joined #ruby
habanany has quit [Ping timeout: 264 seconds]
FredInDshell has joined #ruby
<ntzrmtthihu777>
now, lets forget about it being a jar and call it a zip, and lets also forget that its a serialized object. The whole root of this question is "How do I execute some ruby code that takes a filepath as a parameter against a file stored inside a zip?"
<ntzrmtthihu777>
so how do I do foo("File.zip:/path/to/some/file.ext")