jaguarmagenta has quit [Ping timeout: 258 seconds]
lel has joined #ruby
<frontrowalex>
hey folks, quick question: is there a clear winner these days in the ruby environment manager space e.g. rvm vs rbenv vs chruby or are they pretty much a matter of taste at this stage?
<havenwood>
frontrowalex: I hereby declare chruby the winner. It has been spoken.
<mustmodify>
ditto
pragmaticus has quit [Ping timeout: 252 seconds]
karapetyan has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mustmodify>
though I really enjoyed using rvm
<mustmodify>
and does chruby have gemsets? I don't think so, I miss that feature.
cdg has quit [Remote host closed the connection]
potatoes_ has joined #ruby
<potatoes_>
what cookbook you guys using for managing RVM in Chef out of curiosity?
tyang_ has quit [Read error: Connection reset by peer]
Livecodingtv_Ale has quit [Quit: ChatZilla 0.9.93 [Firefox 51.0/20161115182233]]
giraffe has joined #ruby
JeanCarloMachado has quit [Ping timeout: 245 seconds]
tpendragon has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
Azure|dc is now known as Azure
charliesome has joined #ruby
ryan_notabot has quit [Remote host closed the connection]
fullofcaffeine has quit [Ping timeout: 250 seconds]
dnicole has quit [Remote host closed the connection]
savage has joined #ruby
OnyxRaven has joined #ruby
statelesscode has joined #ruby
hightower2 has quit [Ping timeout: 256 seconds]
jaguarmagenta has joined #ruby
gix has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
bmurt has joined #ruby
hightower2 has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
tjbiddle has joined #ruby
potatoes___ has quit [Quit: This computer has gone to sleep]
ResidentBiscuit has joined #ruby
jphase has quit [Ping timeout: 260 seconds]
d^sh has quit [Ping timeout: 250 seconds]
Fridtjof has quit [Ping timeout: 250 seconds]
d^sh has joined #ruby
unknowns2k2 has quit [Quit: unknowns2k2]
unknowns2k2 has joined #ruby
unknowns2k2 has quit [Client Quit]
JoshS has quit [Quit: Leaving]
hutch34 has joined #ruby
tjbiddle has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
h42r62[m] has joined #ruby
fmcgeough has joined #ruby
tjbiddle has joined #ruby
Jardayn has quit [Read error: Connection reset by peer]
Dragonai has joined #ruby
arescorpio has joined #ruby
Rodya_ has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harai has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 246 seconds]
tvw has quit [Ping timeout: 250 seconds]
bmurt has joined #ruby
jaguarmagenta has joined #ruby
Jayson_Virissimo has joined #ruby
skweek has joined #ruby
iamse7en has quit [Quit: I'm out like a black kid in a spelling bee.]
karapetyan has joined #ruby
<nchambers>
if I have a string, "Hello", which is the name of a class, is there a way to turn that into an actual instance of the class? so that I can do something like Hello,new?
potatoes___ has quit [Quit: This computer has gone to sleep]
_sfiguser has quit [Max SendQ exceeded]
_sfiguser has joined #ruby
_sfiguser has quit [Max SendQ exceeded]
Felipe__ has joined #ruby
<c-c>
Ok, kinda brainflap of me to use a module variable for instance cleanup flag...
<al2o3-cr>
nchambers: why you eval'n plugins?
_sfiguser has joined #ruby
_sfiguser has quit [Max SendQ exceeded]
<nchambers>
al2o3-cr, where?
_sfiguser has joined #ruby
_sfiguser has quit [Max SendQ exceeded]
<al2o3-cr>
conf.plugins.plugins
quiller has joined #ruby
<nchambers>
that doesn't actually eval them. it evals the classname
_sfiguser has joined #ruby
<nchambers>
but that has the same problem
<al2o3-cr>
nchambers: HAHA
<al2o3-cr>
just use the classnames
<nchambers>
how?
hightower3 has joined #ruby
<al2o3-cr>
nchambers: what do you think config['plugins'] ==?
jgt has joined #ruby
<nchambers>
its an array of strings
<al2o3-cr>
right, ok
optiz0r has joined #ruby
<nchambers>
and conf.plugins.plugins takes an array of class refs
hightower2 has quit [Ping timeout: 244 seconds]
<al2o3-cr>
so why are you evaluating a string
<al2o3-cr>
*s
<nchambers>
to turn it into a class name
<nchambers>
I have an array of strings, I need to to turn it into an array of Class Refs. eval does that, but if I don't have to do that I'd rather not
<al2o3-cr>
nchambers: one sec, and read this carefully
<nchambers>
ok
hutch34 has joined #ruby
marktwo has joined #ruby
Fridtjof has joined #ruby
Joufflu has quit [Ping timeout: 260 seconds]
<gener1c>
well this sucks
hightower2 has joined #ruby
<gener1c>
i dont get any credit for contributing to ruby core
<nchambers>
also, I read the page, but I'm still confused on how that helps
<domgetter>
"The following list might be incomplete. Feel free to add your name if your patch was accepted into Ruby."
hightower2 has joined #ruby
<al2o3-cr>
nchambers: are you not requiring modules?
<gener1c>
ok
<al2o3-cr>
i'm confused
<nchambers>
oh I see
blackbombay has quit [Ping timeout: 246 seconds]
<gener1c>
domgetter: how do i edit that list
<domgetter>
gener1c Not sure. There is a "register" link on the top right of the page though
solocshaw has quit [Ping timeout: 256 seconds]
<gener1c>
im signed in
<al2o3-cr>
nchambers: it should be conf.plugins.plugins = config["plugins"].collect { |p| p } that's it
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
hightower3 has quit [Ping timeout: 250 seconds]
rbr has quit [Ping timeout: 268 seconds]
<al2o3-cr>
nchambers: give that `unless not` up
<nchambers>
ok
<nchambers>
I'll try that
<al2o3-cr>
no badgering :P
karapetyan has quit [Remote host closed the connection]
<al2o3-cr>
nchambers: unless is really if not
railssmith has joined #ruby
nicklink483 has joined #ruby
<c-c>
Examples of non-blocking, non-waiting read from IO pipe?
nicklink483 has left #ruby [#ruby]
rbr has joined #ruby
<c-c>
Is it like a begin; io_pipe.gets; rescue IOError; #what end ?
<al2o3-cr>
nchambers: abort if ARGV.empty?
<nchambers>
oh neat
<nchambers>
thanks
govg has joined #ruby
<c-c>
Basically I have a process that *sometimes* shouts messages at another process, neither of which are supposed to stop and wait.
<al2o3-cr>
nchambers: because ARGV will never be nil
<c-c>
I also have a solution that *sometimes* stops and sits waiting for the other process to send something into the pipe, which is confusing, as most of the time this doesn't happen
<nchambers>
I'm not testing ARGV, I'm testing ARGV[0]
<nchambers>
for nil
blackwind_123 has quit [Ping timeout: 250 seconds]
<al2o3-cr>
nchambers: good eyes
<nchambers>
so wait, am I still wrong to do that?
<al2o3-cr>
no
<nchambers>
oh ok
<al2o3-cr>
just one liner for that abort foo if cond
<nchambers>
right I'll still probably use it
<nchambers>
or rather, will
<al2o3-cr>
no problemo
dnicole has joined #ruby
<domgetter>
gener1c keep in mind that your name is in the commit message
<al2o3-cr>
nchambers: you got it working?
<nchambers>
not yet. I keep getting distracted by the TV
tjbiddle has quit [Quit: tjbiddle]
<gener1c>
based on a patch i made
<gener1c>
thats a bit offbase
<al2o3-cr>
>> [1 unless not true, 1 unless not false]
<ruby[bot]>
al2o3-cr: # => /tmp/execpad-8cc162660547/source-8cc162660547:2: syntax error, unexpected modifier_unless, expecting ...check link for more (https://eval.in/683370)
<al2o3-cr>
>> [(1 unless not true), (1 unless not false)]
<domgetter>
gener1c also keep in mind that Ruby development happens on the svn repo, not on github. THey just mirror it on github, and for convenience, they pay some attention to the pull requests there
GodFather has quit [Remote host closed the connection]
<gener1c>
but i get what you are saying domgetter
<gener1c>
well, he could have at least mentioned in the commit he is integrating my code, not integrating some of my code with his
<c-c>
More forking questions. I have the one script started with ruby -command, that forks two processes with fork do end. But, I can see 6 processes running, 3 of which have 0 utilization. Any idea why?
<gener1c>
ill use svn next time
<domgetter>
gener1c and I totally understand your frustration with the wording of the commit message
karapetyan has joined #ruby
<al2o3-cr>
>> Class === Module and Module === Class
savage has quit [Quit: Connection closed for inactivity]
matp has quit [Remote host closed the connection]
astrobunny has joined #ruby
<al2o3-cr>
>> def x; if iterator? then yield 1; else 1 end; x
<ruby[bot]>
al2o3-cr: # => /tmp/execpad-f7952808bfd8/source-f7952808bfd8:7: syntax error, unexpected end-of-input, expecting ke ...check link for more (https://eval.in/683380)
matp has joined #ruby
sneakerhax has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
<al2o3-cr>
>> def x; if iterator? then yield 1; else 1 end end; x
<nchambers>
al2o3-cr, so I got around to doing require_relative "plugins/#{plugin}.rb". if I do $load ping, it appears to load fine, but doing $ping doesn't do anything
<al2o3-cr>
>> def x; if iterator? then yield 1; else 2 end end; x { |n| n }
<domgetter>
gener1c method calls don't call send by default. You have to call send explicitly
<domgetter>
also, we're just being silly
fullofcaffeine has quit [Ping timeout: 256 seconds]
<gener1c>
reversing ruby?
<al2o3-cr>
nchambers: why are you using globals, just nooooooooooo
<nchambers>
what do you mean?
<gener1c>
how do i play this game?
<nchambers>
I'm not using globals
<domgetter>
nchambers when you type $, are you talking about your terminal prompt?
<apeiros>
serard: how does def foo(*args) not satisfy your needs? (it fits your description - it takes none or more params)
<apeiros>
whoops
<apeiros>
that was at floyd20183, but they're gone
<serard>
:)
<apeiros>
serard: re your yaml problem - can you gist an example yaml, and what kind of ruby datastructure you'd want back out of it?
byte512 has quit [Quit: WeeChat 1.6]
<serard>
apeiros, I found a solution, it is to not use arrays, instead use hashes
SeepingN has joined #ruby
Immune has joined #ruby
r3vDev has quit [Read error: Connection reset by peer]
<apeiros>
ah. yes, I think there's no way to concatenate arrays in yaml. and merging is for hashes only.
jaguarmagenta has joined #ruby
<andrzejku>
hey guys
<andrzejku>
what tool do you use to sketch design before coding?
nofxx has quit [Ping timeout: 268 seconds]
Fernando-Basso has joined #ruby
byte512 has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros>
andrzejku: UI or API?
<djellemah>
c-c: Personally, I've only used zeromq for hello-world level toys in various languages. On real projects, every time I see a problem it's a good fit for, I talk about it. It's rejected I guess mostly because there's no http/REST involved :-| I've read about it being used in some pretty heavyweight projects.
<c-c>
ok
<c-c>
I think its not really the thing to use for IPC
<c-c>
on a local machine
karapetyan has quit [Remote host closed the connection]
jaguarmagenta has quit [Remote host closed the connection]
hightower3 has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
jgt has joined #ruby
pandaant has joined #ruby
Cohedrin has joined #ruby
jgt has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<andrzejku>
apeiros: UI
gingray has quit [Ping timeout: 268 seconds]
<apeiros>
andrzejku: paper & pencil. sometimes the paper having the current layout preprinted on it.
<djellemah>
c-c: in your scenario (iiuc) I see two advantages: it handles cross-platform fifos; it does message framing.
<andrzejku>
apeiros: oh really :D
<andrzejku>
that was easy
<andrzejku>
apeiros: what about colors?
<c-c>
djellemah: ok well I think its bit like suggesting you install industrial 480V 3-phase electricity socket when someone ask to "get electricity in the house" :)
<apeiros>
andrzejku: well, I'm not a UI designer. so what I have to transfer most is workflows and the basic idea. less is more there.
astrobunny has quit [Remote host closed the connection]
jaguarmagenta has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
<serard>
There is no map_pair for Hash ?
<apeiros>
serard: no. map{}.to_h
karapetyan has joined #ruby
<serard>
I was using map! when having an array, now I have a hash that I want to map, to transform values and return them
Humdai has joined #ruby
<apeiros>
hsh.replace(hsh.map{}.to_h)
<apeiros>
that'd be how you can implement Hash#map!
charliesome has joined #ruby
<serard>
I don't understand the .map{} thing
<serard>
:(
<serard>
map{ |x| x } ?
<apeiros>
.map{} is where you do the mapping. e.g. map { |key, value| [key.upcase, value * 2] }
<apeiros>
serard: I think so. I'd name it with a bang, though.
<apeiros>
and if you just pass on the block, &block notation is faster.
<serard>
What's the convention around bang naming ?
<apeiros>
bang means "be careful" in general. it is often used when mutating/non-mutating methods come in pairs.
<apeiros>
c.f. map/map!
<serard>
ok
<serard>
&block : I don't get it
<serard>
&k ?
<serard>
&v ?
<apeiros>
re &block: def map_pairs(&block); … map(&block); …
<apeiros>
instead of map { |k,v| yield(k,v) }
Silthias1 has joined #ruby
<serard>
I'm sorry I still don't get it .... really newbe to ruby :(
<serard>
You mean not touching Hash class, and making a def instead
BTRE has quit [Quit: Leaving]
Silthias has quit [Ping timeout: 252 seconds]
<apeiros>
no. you already are making a def. I suggest a change in the code of your method definition.
<serard>
yep
Burgestrand has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
<serard>
can you gist it to me ? :o
Silthias1 has quit [Ping timeout: 248 seconds]
unknowns2k2 is now known as antoniobeyah
Snowy has joined #ruby
antoniobeyah has quit [Changing host]
antoniobeyah has joined #ruby
<c-c>
I have a process that has a main loop (a while -loop). In that loop I do 'STDIN.read(1)' or 'STDIN.getc' (because $stdin.gets doesn't work, causes process IO to block). For some reason both read up to 3 characters at a time, mostly 2 or one.
<c-c>
Any ideas why?
<tobiasvl>
c-c: please gist code
ur5us has quit [Ping timeout: 265 seconds]
jaguarmagenta has joined #ruby
<apeiros>
serard: class Hash; def map_pairs(&block); replace(map(&block).to_h); end; end
<apeiros>
(the `self.` is superfluous too, so I took it out)
Snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ishe_ua has joined #ruby
<adgtl>
Do wer have something like zen of ruby
<adgtl>
or some Ruby commandments?
JeanCarloMachado has joined #ruby
<adgtl>
basically I am thinking of updating my Ruby gem named 'this' to show those commandments or rules
aupadhye has quit [Remote host closed the connection]
<adgtl>
oddmunds thank you for quick response
<adgtl>
I would put those zens
rsampaio_ has quit [Ping timeout: 245 seconds]
<adgtl>
lol 'Namespaces are completely unnecessary -- let's make everything global!'
<oddmunds>
mind that that was written to make fun of ruby
<adgtl>
does that make sense today?
<adgtl>
yeah.. seems like
<adgtl>
lol 'When in doubt, monkeypatch'
<adgtl>
i guess that's not legit
<oddmunds>
maybe the zen of ruby is "Happiness is better than misery"
Bish has quit [Ping timeout: 258 seconds]
douglascorrea has quit [Ping timeout: 244 seconds]
Bish has joined #ruby
aryaching has joined #ruby
karapetyan has quit [Remote host closed the connection]
ircuser0815 is now known as janmh
ferr has joined #ruby
janmh has left #ruby [#ruby]
cibs has quit [Ping timeout: 268 seconds]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
<c-c>
tobiasvl: I think what happens is the process that spawns that ui process, or the terminal they run in, grabs half of the input. So when typing 'foobar', only o,b &r hit the STDIN and the reading function in the class I pasted in that gist.
cibs has joined #ruby
Silthias has joined #ruby
<c-c>
I guess I could try to get this class to steal the stdin from the spawning term/process
<c-c>
- I have no idea how, but pretty sure it is porrible
Beams has joined #ruby
nettoweb has joined #ruby
emilkarl has joined #ruby
blaxter has quit [Quit: foo]
gregf_ has joined #ruby
ARCADIVS has joined #ruby
Chair has joined #ruby
danst has quit [Ping timeout: 256 seconds]
BTRE has joined #ruby
psychicist__ has joined #ruby
Kero has quit [Ping timeout: 245 seconds]
alexherbo2 has quit [Quit: WeeChat 1.6]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
Cohedrin has quit [Client Quit]
<c-c>
*I know its pretty horrible!
<c-c>
time to finish for the day
* c-c
waves good luck!
ledestin has quit [Ping timeout: 252 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Rodya_ has quit [Remote host closed the connection]
danst has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
codfection has quit [Remote host closed the connection]
savage has joined #ruby
lxsameer has joined #ruby
ocbtec has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
Immune has quit [Read error: Connection reset by peer]
a3f has quit [Quit: Zzzzz..]
careta has joined #ruby
doublemalt__ has joined #ruby
quazimodo has joined #ruby
GodFather has joined #ruby
elementaru has quit [Ping timeout: 250 seconds]
bathtub_shark has quit [Ping timeout: 260 seconds]
r3vDev has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
pec has joined #ruby
aryaching has quit [Ping timeout: 246 seconds]
JoL1hAHN has quit [Ping timeout: 260 seconds]
vuoto_ has joined #ruby
vuoto has quit [Quit: Lost terminal]
Fichtenstein has quit [Ping timeout: 256 seconds]
vuoto has joined #ruby
vuoto_ has quit [Client Quit]
dunpeal has joined #ruby
vuoto_ has joined #ruby
vuoto has quit [Client Quit]
vuoto_ has quit [Client Quit]
vuoto has joined #ruby
danst has quit [Ping timeout: 265 seconds]
danst has joined #ruby
dunpeal has quit [Ping timeout: 256 seconds]
XV8 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JoL1hAHN has joined #ruby
serard has quit [Ping timeout: 268 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adas has joined #ruby
JeanCarloMachado has joined #ruby
hightower2 has joined #ruby
syf-revk has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
jaguarmagenta has joined #ruby
vuoto has quit [Remote host closed the connection]
charliesome has joined #ruby
adas has quit [Quit: Page closed]
ledestin has joined #ruby
jaguarmagenta has quit [Ping timeout: 246 seconds]
tau has joined #ruby
doublemalt__ has quit [Ping timeout: 248 seconds]
douglascorrea has joined #ruby
douglascorrea has quit [Remote host closed the connection]
teclator has quit [Ping timeout: 250 seconds]
JeanCarloMachado has quit [Quit: Lost terminal]
Kero_ is now known as Kero
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdelic has joined #ruby
teclator has joined #ruby
elastix has joined #ruby
pandaant has quit [Remote host closed the connection]
BackEndCoder has joined #ruby
Ishido has joined #ruby
manjaro-kde5_ has quit [Ping timeout: 250 seconds]
psychicist__ has quit [Ping timeout: 245 seconds]
jaruga___ has joined #ruby
karapetyan has quit [Remote host closed the connection]
doublemalt__ has joined #ruby
domgetter has joined #ruby
karapetyan has joined #ruby
douglascorrea has joined #ruby
yuki_is_bored has quit [Read error: Connection reset by peer]
psychicist__ has joined #ruby
Fichtenstein has joined #ruby
dogweather has quit [Remote host closed the connection]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
muelleme has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
sdelic has quit [Ping timeout: 258 seconds]
JesseH has quit [Ping timeout: 258 seconds]
karapetyan has joined #ruby
<TomyWork>
Server: WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13) <--- this is what gems.hashicorp.com, the Vagrant plugin repository, sends as the server name. are they doing it wrong by using webrick or not necessarily?
<sogard>
Whether or not you have an exception, state appears to stay FALSE.
jaguarmagenta has quit [Remote host closed the connection]
r3vDev has joined #ruby
cdg_ has joined #ruby
saslam has quit [Ping timeout: 252 seconds]
hutch34 has joined #ruby
cdg has quit [Ping timeout: 260 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
Elemenn has joined #ruby
bturker has joined #ruby
platzhirsch has quit [Ping timeout: 246 seconds]
shinnya has quit [Ping timeout: 250 seconds]
blackbom1 has quit [Ping timeout: 258 seconds]
rippa has joined #ruby
Illianthe has joined #ruby
banisterfiend has joined #ruby
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bturker has quit [Ping timeout: 256 seconds]
SteenJobs has joined #ruby
Elemenn has quit [Ping timeout: 250 seconds]
agit0 has joined #ruby
jhack has quit [Quit: jhack]
codfection has quit [Remote host closed the connection]
endbringer has joined #ruby
bathtub_shark has quit [Ping timeout: 260 seconds]
atmosx has joined #ruby
ferr has quit [Quit: WeeChat 1.5]
Snickers has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
atmosx has quit [Client Quit]
d0nn1e has quit [Ping timeout: 258 seconds]
Illianthe has quit [Ping timeout: 260 seconds]
ryan_notabot has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
platzhirsch has joined #ruby
d0nn1e has joined #ruby
JesseH has joined #ruby
igniting has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
chouhoulis has joined #ruby
rbr has quit []
bmurt has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
svankmajer has joined #ruby
<svankmajer>
Should I stick to simple stubbing/mocking for testing a yet-to-be-relased, unstable REST API? I was thinking of using a fake service, but I don't see much sense at this stage.
<svankmajer>
Note: I don't have much experience testing APIs.
sepp2k has joined #ruby
<svankmajer>
Oh, and, hello everyone. :-)
truenito has joined #ruby
rfoust has joined #ruby
Silthias1 has joined #ruby
sparch has joined #ruby
sparch has joined #ruby
sparch has quit [Changing host]
polysics has joined #ruby
dionysus69 has joined #ruby
<sogard>
Anyone here who could offer a little help with mrb_protect?
psychicist__ has quit [Ping timeout: 260 seconds]
Silthias has quit [Ping timeout: 260 seconds]
dar123 has joined #ruby
whippythellama has joined #ruby
dunpeal has quit [Quit: leaving]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
platzhirsch has quit [Ping timeout: 256 seconds]
xall has joined #ruby
syf-revk has quit [Quit: Leaving]
buglessdr has joined #ruby
armando has quit [Ping timeout: 256 seconds]
bathtub_shark has joined #ruby
byte512 has joined #ruby
dar123 has quit [Ping timeout: 258 seconds]
aganov has quit [Remote host closed the connection]
gizmore|2 has quit [Ping timeout: 258 seconds]
gizmore|2 has joined #ruby
libastral has quit [Ping timeout: 246 seconds]
buglessdr has quit [Remote host closed the connection]
buglessdr has joined #ruby
nikivi has joined #ruby
karapetyan has joined #ruby
Snowy is now known as N0B0
Elemenn has joined #ruby
platzhirsch has joined #ruby
etehtsea has quit [Ping timeout: 250 seconds]
bayed has joined #ruby
wugy has quit []
synthroid has quit [Remote host closed the connection]
libastral has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
synthroid has joined #ruby
synthroid has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
synthroid has joined #ruby
quazimodo has quit [Quit: leaving]
synthroid has quit [Read error: Connection reset by peer]
dogweather has joined #ruby
karapetyan has quit [Remote host closed the connection]
buglessdr has quit [Remote host closed the connection]
synthroid has joined #ruby
synthroid has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
buglessdr has joined #ruby
Elemenn has quit [Ping timeout: 250 seconds]
synthroid has joined #ruby
synthroid has quit [Read error: Connection reset by peer]
synthroid has joined #ruby
synthroid has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 252 seconds]
bathtub_shark has quit [Ping timeout: 260 seconds]
dogweather has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
Beams has quit [Quit: .]
savage is now known as its_over_9000
douglasc_ has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
Definity has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
buglessdr has quit [Remote host closed the connection]
Elemenn has joined #ruby
ryan_notabot has quit [Remote host closed the connection]
buglessdr has joined #ruby
careta has joined #ruby
karapetyan has quit [Remote host closed the connection]
bathtub_shark has joined #ruby
karapetyan has joined #ruby
hfp has quit [Ping timeout: 265 seconds]
nadir has joined #ruby
jgnagy has joined #ruby
hfp has joined #ruby
huddy has joined #ruby
douglascorrea has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
buglessdr has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 260 seconds]
oncall-pokemon has joined #ruby
buglessdr has joined #ruby
karapetyan has joined #ruby
Elemenn has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
bmurt has joined #ruby
karapetyan has quit [Remote host closed the connection]
bathtub_shark has quit [Ping timeout: 260 seconds]
jackjackdripper has joined #ruby
Definity has joined #ruby
frozengeek____ has joined #ruby
nikivi has quit [Read error: Connection reset by peer]
marr has joined #ruby
emilkarl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agit0 has quit [Ping timeout: 250 seconds]
doublemalt__ has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
douglascorrea has quit [Ping timeout: 265 seconds]
careta has quit [Ping timeout: 250 seconds]
<TomyWork>
I'm having trouble with a slow proxy and an application that uses bundler to download its plugin gems. Is there an environment variable or something like that that I can use to increase the timeout from the default of 1 minute?
armando has joined #ruby
blackwind_123 has quit [Ping timeout: 244 seconds]
blackwind_123 has joined #ruby
karapetyan has joined #ruby
chouhoulis has joined #ruby
karapetyan has quit [Remote host closed the connection]
Salih has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
gizmore|2 has quit [Ping timeout: 250 seconds]
harai has joined #ruby
doublemalt__ has joined #ruby
gizmore|2 has joined #ruby
<svankmajer>
TomyWork: you can set BUNDLE_TIMEOUT to whatever you want in your ~/.bundle/config
[Butch] has joined #ruby
nikivi has joined #ruby
<TomyWork>
svankmajer can i also set that as an environment variable?
gregf_ has quit [Quit: Page closed]
unknowns2k2 has joined #ruby
<svankmajer>
TomyWork: yes, of course
karapetyan has joined #ruby
<TomyWork>
nice, because i dont think i can access that config that easily in this case
<svankmajer>
you don't need to set it up twice, tho. use bundle config or env variables
aufi has quit [Quit: Leaving]
nofxx has joined #ruby
karapetyan has quit [Remote host closed the connection]
fullofcaffeine has quit [Ping timeout: 245 seconds]
hfp has joined #ruby
f3ttX] has quit [Ping timeout: 250 seconds]
raul782 has quit [Remote host closed the connection]
dogweather has joined #ruby
f3ttX] has joined #ruby
raul782 has joined #ruby
mtkd has quit [Ping timeout: 256 seconds]
troulouliou_div2 has quit [Quit: Leaving]
Xiti has quit [Quit: Xiti]
benlieb has joined #ruby
Xiti has joined #ruby
Rodya_ has joined #ruby
Elemenn has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
mtkd has joined #ruby
bathtub_shark has quit [Ping timeout: 246 seconds]
vuoto has quit [Remote host closed the connection]
platzhirsch has quit [Quit: WeeChat 1.4]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
f3ttX] has quit [Ping timeout: 250 seconds]
tomphp has quit [Ping timeout: 268 seconds]
f3ttX] has joined #ruby
bathtub_shark has joined #ruby
senayar has quit []
hfp_work has quit [Ping timeout: 252 seconds]
hfp has quit [Ping timeout: 256 seconds]
binaryplease has joined #ruby
igniting has joined #ruby
hfp has joined #ruby
f3ttX] has quit [Ping timeout: 256 seconds]
hfp_work has joined #ruby
f3ttX] has joined #ruby
Elemenn has joined #ruby
f3ttX] has quit [Remote host closed the connection]
dasher00 has joined #ruby
mati_urunda has joined #ruby
Pupeno has quit [Quit: Leaving...]
blackmesa has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
nikivi has quit [Read error: Connection reset by peer]
unknowns2k2 has quit [Quit: unknowns2k2]
Joufflu has joined #ruby
Elemenn has quit [Ping timeout: 250 seconds]
byte512 has quit [Ping timeout: 245 seconds]
OnyxRaven has quit [Ping timeout: 244 seconds]
Pupeno has joined #ruby
karapetyan has joined #ruby
hfp_work has quit [Ping timeout: 256 seconds]
hfp_work has joined #ruby
Elemenn has joined #ruby
Humdai has quit [Quit: Leaving]
OnyxRaven has joined #ruby
nikivi has joined #ruby
karapetyan has quit [Ping timeout: 248 seconds]
_sfiguser has joined #ruby
pec has quit [Remote host closed the connection]
unreal has quit [Ping timeout: 260 seconds]
tomphp has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Elemenn has quit [Ping timeout: 250 seconds]
raul782 has quit [Remote host closed the connection]
SteenJobs has quit [Quit: SteenJobs]
raul782 has joined #ruby
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bathtub_shark has quit [Ping timeout: 256 seconds]
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
TomyWork has quit [Ping timeout: 256 seconds]
[Butch]_ has joined #ruby
lenwood has quit [Ping timeout: 246 seconds]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
unreal has joined #ruby
claudiuinberlin has joined #ruby
bathtub_shark has joined #ruby
Nicmavr has joined #ruby
banisterfiend has joined #ruby
[Butch] has quit [Ping timeout: 258 seconds]
ycyclist has joined #ruby
<headius>
dminuoso: Ruboto is indeed "just JRuby"
terlar has joined #ruby
[Butch]_ has quit [Ping timeout: 256 seconds]
muelleme has joined #ruby
<ycyclist>
Say, I look at "ruby -e 'puts $:'' but I don't get the present directories I am consuming things with require. I am pulling in things that are in places like ../../../../a/b/c, where a is in $HOME. Can someone tell me where else to look for the require set?
Jardayn has quit [Read error: Connection reset by peer]
[Butch]_ has joined #ruby
nikivi has quit [Read error: Connection reset by peer]
fmcgeough has joined #ruby
Elemenn has joined #ruby
unknowns2k2 has joined #ruby
vuoto has quit [Remote host closed the connection]
<eam>
ycyclist: I'm not quite sure what you're asking, could you rephrase?
unknowns2k2 has quit [Client Quit]
tvw has joined #ruby
<ycyclist>
I have a thing a in $HOME/A. I am in $HOME/B. I cannot find out how a statement require 'a' is working finding a.
whippythellama has quit [Ping timeout: 245 seconds]
<eam>
gotcha. AFAIK $: and the gem loading logic are the two things that drive require search paths
<ycyclist>
I looked at $:. It does not have the answer.
<eam>
how about stuff like GEM_HOME?
<ycyclist>
it is not a gem.
<eam>
could you share the code in question?
Elemenn has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
<ycyclist>
No GEM_HOME nor LOAD* env variables are defined.
<ycyclist>
Nope. Cannot.
<ycyclist>
I am using cucumber. Could it be a configuration somewhere in cucumber that is special?
bathtub_shark has quit [Ping timeout: 260 seconds]
<eam>
sure, modules or gems can modify these settings
<ycyclist>
Ok. Well I appreciate your feedback. Thank you.
<eam>
no prob
brianpWins has quit [Ping timeout: 260 seconds]
brianpWins has joined #ruby
Cohedrin has joined #ruby
nikivi has joined #ruby
nettoweb has joined #ruby
brianpWins has quit [Client Quit]
bmurt has joined #ruby
nikivi has quit [Read error: Connection reset by peer]
jcao219 has joined #ruby
nikivi has joined #ruby
conta has quit [Ping timeout: 256 seconds]
Definity has joined #ruby
Nicmavr has quit [Quit: Page closed]
johnmccabe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fullofcaffeine has joined #ruby
maokomioko has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
datanoise has joined #ruby
[Butch]_ has quit [Quit: I'm out . . .]
datanoise has quit [Client Quit]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
railssmith has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
ResidentBiscuit has joined #ruby
nikivi has quit [Quit: irc]
nikivi has joined #ruby
_2easy has joined #ruby
nelsonsar has joined #ruby
nelsonsar_ has joined #ruby
nelsonsar_ has quit [Client Quit]
hutch34 has quit [Ping timeout: 260 seconds]
N0B0 has joined #ruby
_2easy has quit [Client Quit]
_2easy has joined #ruby
unknowns2k2 has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
N0B0 has quit [Ping timeout: 244 seconds]
nofxx has quit [Remote host closed the connection]
nikivi has quit [Read error: Connection reset by peer]
Mike777 has quit [Remote host closed the connection]
ryanlong has joined #ruby
ryanlong has left #ruby [#ruby]
johnny56_ has joined #ruby
Elemenn has joined #ruby
johnny56 has quit [Ping timeout: 246 seconds]
sami has quit [Ping timeout: 246 seconds]
hutch34 has joined #ruby
cajone has left #ruby [#ruby]
Pumukel has joined #ruby
sami has joined #ruby
ResidentBiscuit has quit [Read error: Connection reset by peer]
its_over_9000 has quit [Quit: Connection closed for inactivity]
ramfjord has quit [Quit: leaving]
Elemenn has quit [Ping timeout: 250 seconds]
jcao219 has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
bathtub_shark has quit [Ping timeout: 240 seconds]
sparch has quit [Quit: bejomimliga]
hutch34 has quit [Ping timeout: 250 seconds]
Pupeno has quit [Remote host closed the connection]
agit0 has quit [Quit: zzzZZZ….]
ldnunes has quit [Quit: Leaving]
_2easy has quit [Ping timeout: 260 seconds]
fullofcaffeine has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
buglessdr has quit [Remote host closed the connection]
buglessdr has joined #ruby
saslam has quit [Ping timeout: 248 seconds]
rfoust has joined #ruby
cajone has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
bathtub_shark has joined #ruby
_2easy has joined #ruby
jcao219 has joined #ruby
Elemenn has joined #ruby
f3ttX] has joined #ruby
saslam has joined #ruby
kriskropd has quit [Quit: WeeChat 0.4.2]
_sfiguser has quit [Ping timeout: 256 seconds]
ereslibre has joined #ruby
kriskropd has joined #ruby
ereslibre has quit [Client Quit]
_2easy has quit [Ping timeout: 250 seconds]
pskosinski has joined #ruby
gingray has joined #ruby
jphase_ is now known as jphase
rfoust has quit [Ping timeout: 258 seconds]
elifoster has quit [Quit: out]
unknowns2k2 has quit [Quit: unknowns2k2]
<pskosinski>
Hey ho. Was there a big change in Ruby GUI toolkits in last half year? Is there anything worth trying?
fullofcaffeine has joined #ruby
johnny56_ has quit [Quit: WeeChat 1.4-dev]
* pskosinski
sees that shoes 4 development halted :(
johnny56 has joined #ruby
<adam12>
:|
unknowns2k2 has joined #ruby
huddy has quit [Quit: Connection closed for inactivity]
_2easy has joined #ruby
_2easy has joined #ruby
_2easy has quit [Changing host]
benlieb has joined #ruby
<pskosinski>
Or not. There's activity in Github repo, I looked only on blog before.
saslam has quit [Ping timeout: 256 seconds]
Elemenn has quit [Ping timeout: 250 seconds]
darrin_s has joined #ruby
f3ttX] has quit [Remote host closed the connection]
hutch34 has joined #ruby
f3ttX] has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
nelsonsar has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
nelsonsar has joined #ruby
bathtub_shark has quit [Ping timeout: 260 seconds]
serard has quit [Ping timeout: 268 seconds]
libastral has joined #ruby
_sfiguser has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
f3ttX] has quit [Ping timeout: 250 seconds]
synthroid has joined #ruby
fullofcaffeine has quit [Ping timeout: 258 seconds]
f3ttX] has joined #ruby
tpendragon has quit [Ping timeout: 256 seconds]
nelsonsar has quit [Ping timeout: 244 seconds]
Dragonai has joined #ruby
f3ttX] has quit [Ping timeout: 258 seconds]
f3ttX] has joined #ruby
gizmore|2 is now known as gizmore
muelleme has joined #ruby
<chrisseaton>
pskosinski: JRuby with JFX looks good
<chrisseaton>
There was a talk mentioning it at RubyConf - video on YouTube
AnoHito has quit [Ping timeout: 245 seconds]
<pskosinski>
chrisseaton: Thanks! :) Eh, I so hate Java and try to avoid it but I see that really many interesting apps are being developed in Java, so I guess I have to surrender finally
claudiuinberlin has joined #ruby
dogweather has joined #ruby
nelsonsar has joined #ruby
<chrisseaton>
pskosinski: as you say, it's the only thing going for Ruby GUIs
unknowns2k2 has quit [Quit: unknowns2k2]
f3ttX] has quit [Ping timeout: 265 seconds]
f3ttX] has joined #ruby
marr has quit [Ping timeout: 245 seconds]
Jackneill_ has joined #ruby
hutch34 has joined #ruby
f3ttX] has quit [Ping timeout: 245 seconds]
SteenJobs has joined #ruby
f3ttX] has joined #ruby
AnoHito has joined #ruby
marxarelli|afk is now known as marxarelli
jschoolcraft has quit [Quit: peace]
jschoolcraft has joined #ruby
hutch34 has quit [Ping timeout: 245 seconds]
f3ttX] has quit [Ping timeout: 240 seconds]
f3ttX] has joined #ruby
ycyclist has quit [Ping timeout: 260 seconds]
tyang has quit [Quit: Leaving]
Pumukel has quit [Quit: ChatZilla 0.9.93 [Firefox 50.0/20161104212021]]
jschoolcraft has quit [Client Quit]
nikivi has joined #ruby
jschoolcraft has joined #ruby
f3ttX] has quit [Ping timeout: 246 seconds]
f3ttX] has joined #ruby
Dragonai has quit [Quit: zzz]
bathtub_shark has joined #ruby
bturker has joined #ruby
synthroid has quit []
Guest2 has joined #ruby
agit0 has joined #ruby
codfection has quit [Remote host closed the connection]
Salih has quit [Quit: Leaving]
f3ttX] has quit [Ping timeout: 250 seconds]
f3ttX] has joined #ruby
firstdayonthejob has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
biberu has quit [Read error: Connection reset by peer]
Elemenn has joined #ruby
hutch34 has joined #ruby
f3ttX] has quit [Ping timeout: 245 seconds]
f3ttX] has joined #ruby
<bougyman>
hrm.
dionysus69 has quit [Ping timeout: 260 seconds]
<bougyman>
there's a way to have an instance do something when ruby exits, right?
ramfjord has quit [Ping timeout: 265 seconds]
last_staff has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
nikivi has quit [Read error: Connection reset by peer]
<bougyman>
I mean, I know Kernel.at_exit, but don't know exactly where to put it, I guess.
workmad3 has quit [Ping timeout: 256 seconds]
claudiuinberlin has quit [Remote host closed the connection]
Elemenn has quit [Ping timeout: 250 seconds]
f3ttX] has quit [Ping timeout: 260 seconds]
f3ttX] has joined #ruby
fullofcaffeine has joined #ruby
claudiuinberlin has joined #ruby
nikivi has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
Elemenn has joined #ruby
muelleme has quit [Ping timeout: 258 seconds]
SteenJobs has joined #ruby
binaryplease has joined #ruby
bmurt has joined #ruby
f3ttX] has quit [Ping timeout: 250 seconds]
AnoHito has quit [Read error: Connection reset by peer]
f3ttX] has joined #ruby
Nicmavr has joined #ruby
ace05 has quit [Remote host closed the connection]
frozengeek____ has quit [Remote host closed the connection]
Pupeno has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
AnoHito has joined #ruby
zeroDi has quit [Quit: WeeChat 1.6]
SteenJobs has quit [Client Quit]
f3ttX] has quit [Ping timeout: 256 seconds]
Rutix has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
marxarelli is now known as marxarelli|afk
f3ttX] has joined #ruby
s1kx has quit [Quit: bai]
raul782 has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
symm- has joined #ruby
hutch34 has joined #ruby
jcao219 has quit [Ping timeout: 250 seconds]
f3ttX] has quit [Ping timeout: 246 seconds]
fullofca_ has joined #ruby
Elemenn has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
f3ttX] has joined #ruby
shinnya has joined #ruby
Dragonai has joined #ruby
doublemalt_ has joined #ruby
yuki_is_bored has quit [Ping timeout: 268 seconds]
Illianthe has joined #ruby
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
hutch34 has quit [Ping timeout: 245 seconds]
nikivi has quit [Read error: Connection reset by peer]
_2easy has quit [Ping timeout: 245 seconds]
yuki_is_bored has joined #ruby
f3ttX] has quit [Ping timeout: 260 seconds]
doublemalt__ has quit [Ping timeout: 244 seconds]
f3ttX] has joined #ruby
pawnbox has quit [Remote host closed the connection]
leitz has joined #ruby
atmosx has joined #ruby
pawnbox has joined #ruby
lenwood has joined #ruby
Pupeno has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
Elemenn has joined #ruby
tomphp has joined #ruby
railswebdev has joined #ruby
maloik has quit [Remote host closed the connection]
_2easy has joined #ruby
raul782 has quit [Remote host closed the connection]
maloik has joined #ruby
blackmesa has joined #ruby
f3ttX] has quit [Ping timeout: 244 seconds]
doublemalt_ has quit [Ping timeout: 260 seconds]
f3ttX] has joined #ruby
Azure has quit [Ping timeout: 260 seconds]
f3ttX] has quit [Remote host closed the connection]
lenwood has quit [Ping timeout: 246 seconds]
_2easy has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
toc has quit [Ping timeout: 244 seconds]
_2easy has joined #ruby
last_staff has quit [Quit: last_staff]
Elemenn has quit [Ping timeout: 250 seconds]
nikivi has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has quit [Remote host closed the connection]
dnicole has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
hutch34 has joined #ruby
bathtub_shark has quit [Ping timeout: 260 seconds]
platzhirsch has joined #ruby
saslam has joined #ruby
saslam has quit [Client Quit]
saslam has joined #ruby
dnicole has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
doublemalt_ has joined #ruby
rwb has quit [Ping timeout: 246 seconds]
nikivi has quit [Read error: Connection reset by peer]
chrisja has joined #ruby
toc has joined #ruby
Guest2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nikivi has joined #ruby
claudiuinberlin has quit []
saslam has quit [Ping timeout: 248 seconds]
Elemenn has joined #ruby
serard has joined #ruby
augcesar has quit [Quit: Connection closed for inactivity]
nikivi has quit [Read error: Connection reset by peer]
cibs has quit [Ping timeout: 268 seconds]
Pupeno has joined #ruby
GodFather has quit [Ping timeout: 250 seconds]
cibs has joined #ruby
ICantCook has joined #ruby
SteenJobs has joined #ruby
bathtub_shark has joined #ruby
benlieb has quit [Quit: benlieb]
miqlas-H has joined #ruby
dionysus69 has joined #ruby
nelsonsar has quit [Remote host closed the connection]
psychicist__ has quit [Ping timeout: 258 seconds]
nikivi has joined #ruby
nelsonsar has joined #ruby
jcao219 has joined #ruby
terlar has quit [Ping timeout: 260 seconds]
Elemenn has quit [Ping timeout: 250 seconds]
leitz has quit [Quit: Nappy time]
nelsonsar has quit [Ping timeout: 241 seconds]
bathtub_shark has quit [Ping timeout: 260 seconds]
nikivi has quit [Read error: Connection reset by peer]
nettoweb1 has joined #ruby
nettoweb has quit [Ping timeout: 250 seconds]
d5sx43 has joined #ruby
workmad3 has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
_2easy has quit [Ping timeout: 250 seconds]
fullofca_ has quit [Read error: Connection reset by peer]
fullofcaffeine has joined #ruby
raul782 has joined #ruby
d5sx43 has quit [Quit: Leaving...]
gingray has quit [Ping timeout: 246 seconds]
ramortegui has quit [Quit: Ex-Chat]
raul782 has quit [Remote host closed the connection]
toc has quit [Quit: Leaving]
kirun has quit [Quit: Konversation terminated!]
rwb has joined #ruby
l33n has joined #ruby
scripore has joined #ruby
Definity2 has quit [Ping timeout: 256 seconds]
scripore has quit [Client Quit]
nelsonsar has joined #ruby
binaryplease has quit [Ping timeout: 245 seconds]
CasaBlanco has joined #ruby
<CasaBlanco>
anyone here can you plz help me with my assembly mips hw?
<l33n>
i have a ruby server running on port 2000 on a virtual machine, with a bridged connectino to the host computer, however, I am unable to connect to the server: when i type in the web address of the server and the port "192.168.69.21:2000" it says i am unable to connect to the server, any thoughts?
<eam>
l33n: you'll want to get the specific connection error. Is it refused? Is it a timeout? These distinctions matter
darrin_s has quit [Remote host closed the connection]
<eam>
CasaBlanco: is it assembly for a ruby virtual machine?
tpendragon has joined #ruby
<CasaBlanco>
uh yea
<CasaBlanco>
Write a program to calculate the rent of a user defined space and dimensions. The total rent should allow the calculation of three primary shapes(squares, rectangles, & circles). First the shape must be defined, then the dimensions will be entered and then the rent is based on the area times the cost per square foot(20 dollars per square foot). Use labels & prompts.
mati_urunda has quit [Ping timeout: 260 seconds]
<eam>
CasaBlanco: what are your thoughts on how to approach that problem?
Illianthe has quit [Ping timeout: 246 seconds]
<l33n>
eam, its "This site cant be reached"
<CasaBlanco>
tbh I have no idea
<l33n>
"ERR_CONNECTION_RESET"
<eam>
connection reset means the TCP connection was established, but then terminated
<eam>
you should check the server logs to see why
<eam>
that specific error rules out a whole class of problems around having no connection at all
A124 has quit [Remote host closed the connection]
art-solopov has joined #ruby
<eam>
CasaBlanco: can you break the problem into smaller pieces which you do know how to solve?
<CasaBlanco>
yes
cdg_ has quit [Remote host closed the connection]
<eam>
a good approach would be to break each program component into bits which you solve, then sketch out how they can be fit back together
Rodya_ has quit [Remote host closed the connection]
<l33n>
eam, im pretty new, how to access the server log
<eam>
it doesn't look like you have made one
mtkd has quit [Ping timeout: 268 seconds]
<l33n>
ok
<eam>
you're pointing a browser at this?
<l33n>
yeah, i can access it through localhost:2000
<eam>
TCPServer isn't an HTTP server, it's a plain old TCP socket server
<l33n>
ah ok
<eam>
your problem is probably that it's not speaking the HTTP protocol
<l33n>
i see
<eam>
there are other gems for a http server, though I'm not sure which I'd recommend (others here might have opinions)
<elomatreb>
eam: "HyperTextT Transfer Protocol Protocol"?
<elomatreb>
:P
workmad3 has quit [Ping timeout: 256 seconds]
A124 has joined #ruby
<eam>
elomatreb: it's a good thing an acronym's role in grammar isn't to be literally expanded ;)
mtkd has joined #ruby
GodFather has joined #ruby
malconis has quit [Read error: Connection reset by peer]
<l33n>
can i access the tcp server though a web address, do browsers use other protocols aside from html
<l33n>
er
<l33n>
http
<l33n>
and https
hutch34 has quit [Ping timeout: 252 seconds]
<elomatreb>
Browsers speak multiple protocols, HTTP, Websockets, sometimes FTP, etc
<l33n>
can i accesss a tcp server through a web address
<elomatreb>
TLS is a bit of a special case because it's just a encrypted layer, over which you can speak almost anything
Rodya_ has joined #ruby
<elomatreb>
l33n: Probably not with a browser, no. Maybe try telnet?
<eam>
it really depends on the browser
<l33n>
ok
<eam>
some talk telnet, gopher, websockets, etc
<l33n>
im just trying to figure out how to write an ajax function with this tcp server
<elomatreb>
netcat can be useful for some simple things too
bairyn is now known as bairyn_
bairyn_ has quit []
<eam>
I have a ruby question: What's your one-liner to generate a random MAC address?
dogweather has joined #ruby
<elomatreb>
l33n: Ajax is just HTTP, you should probably use an actual HTTP server instead of building one yourself
ByronJoh1son has joined #ruby
ByronJoh1son is now known as bairyn
bairyn is now known as Guest91701
CasaBlanco has quit [Ping timeout: 260 seconds]
Guest91701 has quit [Changing host]
Guest91701 has joined #ruby
<eam>
here's what I came up with: Array.new(6) {[*"a".."f",*"0".."9"].sample(2).join}.join ":"
Pupeno has quit [Remote host closed the connection]
siaw23 has joined #ruby
ropeney has joined #ruby
Guest91701 has quit [Client Quit]
Fernando-Basso has quit [Quit: WeeChat 1.6]
<l33n>
elomatreb, i have another server i made through a rails project, it listens on port 3000, i can connect to it through localhost:3000 on the virtual machine, but when i try to access it on the host, i get 192.168.69.21 refused to connect.
<l33n>
the rails one is http i believe
<toretore>
that's a network configuration issue
<toretore>
(most likely)
dogweather has quit [Ping timeout: 240 seconds]
nikivi has joined #ruby
art-solopov has quit [Quit: Konversation terminated!]
<eam>
using a zero-width expression is a sure sign you shouldn't be doing whatever it is you're doing
Elemenn has quit [Ping timeout: 250 seconds]
ur5us has quit [Ping timeout: 246 seconds]
nikivi has joined #ruby
l33n has quit [Quit: Leaving]
<havenwood>
siaw23: It's good practice to use #require_paths= in your gemspec so your $LOAD_PATH includes the lib directory ("lib" is the default value). Then you can just: require 'ruby-go'
<havenwood>
siaw23: usually you omit the .rb extension from your executable, so bin/ruby-go instead of bin/ruby-go.rb
bathtub_shark has quit [Ping timeout: 246 seconds]
Pupeno has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
skweek has quit [Ping timeout: 245 seconds]
d5sx43 has quit [Remote host closed the connection]
tylermcginnis has joined #ruby
tylermcginnis has left #ruby [#ruby]
jackjackdripper has joined #ruby
Pupeno has joined #ruby
tylermcginnis has joined #ruby
tylermcginnis has left #ruby [#ruby]
Azure has joined #ruby
Snickers has joined #ruby
sagax has quit [Read error: Connection reset by peer]
jackjackdripper has quit [Quit: Leaving.]
peyton has joined #ruby
sinktyler has joined #ruby
sinktyler has quit [Client Quit]
smlocal has joined #ruby
<peyton>
I'm a little confused about the use of the modulus operator. So if I was to have a variable set to 23 % 2 the variable would 5?
<peyton>
*would be equal to
<matthewd>
peyton: How'd you come to 5?
<Joufflu>
output would be 1
alan_w has joined #ruby
polysics has quit [Remote host closed the connection]
<peyton>
Because 23/2 is 11.5 so I figured it would be the the number after the decimal
DLSteve has joined #ruby
<matthewd>
23/2 is 11 (integer division); 2*11=22; 23-22 = 1
<Joufflu>
peyton: its basically the remainder like we did back when would do division
whippythellama has quit [Quit: WeeChat 1.4]
<Joufflu>
23/2 is 11 with a remainder of 1
<peyton>
Ohhhhh
<peyton>
I had thought that the remainder would be the decimal value.
<peyton>
Alright, thank.s
<Joufflu>
no decimals
<Joufflu>
integars (whole numbers)
jackjackdripper has joined #ruby
Nicmavr has joined #ruby
<Joufflu>
peyton: np
Nicmavr is now known as Guest63196
<peyton>
Alright, excellent thank you. I was horribly confused. I'm really new to programming.
d5sx43 has joined #ruby
Dobler has joined #ruby
<havenwood>
peyton: In irb or pry try `23 / 2`, `23 % 2` and `23.divmod 2`
<Joufflu>
peyton: ah ok. yeah just remember that everything you're learning will sometimes make you think harder than you should, always take a step back and just be like "man I might be over thinking this"