oncall-pokemon has quit [Quit: Connection closed for inactivity]
Creatornator has joined #ruby
za1b1tsu has quit [Ping timeout: 272 seconds]
DarthGandalf has quit [Ping timeout: 240 seconds]
Caerus has joined #ruby
Caerus has quit [Client Quit]
cagomez has quit [Remote host closed the connection]
tty has quit [Read error: Connection reset by peer]
sameerynho has quit [Ping timeout: 244 seconds]
Caerus has joined #ruby
cthu| has joined #ruby
cthulchu_ has quit [Ping timeout: 255 seconds]
zerowaitstate has quit [Ping timeout: 256 seconds]
y3n has quit [Ping timeout: 256 seconds]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
herbmillerjr has joined #ruby
DarthGandalf has joined #ruby
vonfry has joined #ruby
cthu| has quit [Ping timeout: 240 seconds]
arekushi has joined #ruby
patr0clus has quit [Ping timeout: 240 seconds]
<havenwood>
#=> "e"
Creatornator has joined #ruby
<Caerus>
.
arescorpio has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
clemens3 has quit [Ping timeout: 248 seconds]
AJA4350 has quit [Remote host closed the connection]
duderonomy has quit [Ping timeout: 256 seconds]
duderonomy has joined #ruby
sauvin has joined #ruby
scientes has joined #ruby
<scientes>
how would i convert 76b8e0ada0f13d90405d6ae55386bd28bdd219b8a08ded1aa836efcc8b770dc7da41597c5157488d7724e03fb8d84a376a43b8f41518a11cc387b669b2ee6586 into 0xff, 0xff, 0xff ?
<Zarthus>
as a string or a hex
<Zarthus>
(int)
<scientes>
string, i've got it, i was just lazy
<Zarthus>
because it's already hexadecimal you could .split(/../).map { |v| '0x'+v }
<scientes>
.split(/../) thats what i was looking for
<maryo>
havenwood, here is the actual code https://dpaste.de/7cuO looks like it is in the expected format. Please correct me if I am wrong
eckhardt_ has joined #ruby
vondruch has joined #ruby
<havenwood>
maryo: In the code you're showing it appears you're defining JENKINS_URI last on line 33 correctly as a URI. It looks like twice above that you defined it as a String, but one of those is commented and the other should get stomped on. Sanity check with p-based debugging: p JENKINS_URI
<havenwood>
maryo: (It's not good practice to redefine constants. They'll warn if you do.)
<maryo>
havenwood, thank you for the pointers. I will check that o/
maryo has quit [Quit: Leaving]
Puffball has joined #ruby
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZO has quit [Ping timeout: 240 seconds]
psychicist__ has joined #ruby
funnel has quit [Remote host closed the connection]
funnel has joined #ruby
maryo has joined #ruby
clemens3 has joined #ruby
DTZUZO has joined #ruby
<maryo>
havenwood, I have tried adding the p-based debugging to see what value it holds and I got this https://dpaste.de/2P6z and here is how I have added p debugging https://dpaste.de/pFKL just wondering what went wrong. Some inputs from you would help.
<ruby[bot]>
baweaver: # => #<OpenStruct lines=[#<OpenStruct queues=[#<OpenStruct agents=["sue", "bob", "sam"]>, #<OpenStruct ag ...check link for more (https://eval.in/1046661)
<baweaver>
A client has 3 lines, which all have 3 queues, which all have 3 agents
<baweaver>
Which I just named after people, because why not
<baweaver>
Now that we have that we can test some fun
dhollinger has quit [Ping timeout: 240 seconds]
* baweaver
goes back to pry
Inline has quit [Quit: Leaving]
ruschlem has joined #ruby
ruschlem has left #ruby [#ruby]
Puffball has quit [Read error: Connection reset by peer]
<baweaver>
The idea is to keep digging until you hit the bottom of the "path" you want to follow. Once you do, those are the values you want to iterate on.
Puffball has joined #ruby
tag has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
<apeiros>
I have no idea why you do .to_s on a string, and i have no idea either why you perform that slicing there.
ellcs has joined #ruby
minimal_life has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros>
maryo: got to go, others can certainly help you too :)
apeiros has quit [Remote host closed the connection]
tag has quit [Quit: Connection closed for inactivity]
minimal_life has quit [Quit: I am functioning within established parameters.]
mikecmpbll has quit [Quit: inabit. zz.]
Inline has quit [Quit: Leaving]
gheegh has joined #ruby
gheegh has quit [Client Quit]
FernandoBasso has joined #ruby
maryo has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
aspiers has quit [Read error: Connection reset by peer]
aspiers has joined #ruby
mojtaba has joined #ruby
gix has joined #ruby
ellcs has quit [Ping timeout: 265 seconds]
mojtaba has quit [Ping timeout: 268 seconds]
Inline has joined #ruby
Inline has quit [Remote host closed the connection]
Inline has joined #ruby
Inline has quit [Remote host closed the connection]
Inline has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
mojtaba has joined #ruby
mojtaba has quit [Client Quit]
thinkpad has quit [Quit: lawl]
thinkpad has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
Azure has quit [Quit: Oops.]
aniarya82 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
maryo has joined #ruby
maryo has quit [Quit: Leaving]
AJA4350 has quit [Remote host closed the connection]
za1b1tsu has quit [Ping timeout: 244 seconds]
funnel has quit [Ping timeout: 248 seconds]
unshackled has left #ruby ["Leaving"]
funnel has joined #ruby
mikecmpbll has joined #ruby
thy0 has joined #ruby
DLSteve has joined #ruby
aniarya82 has joined #ruby
mojtaba has joined #ruby
savolla has joined #ruby
mojtaba has quit [Ping timeout: 240 seconds]
t0x has quit [Quit: Connection closed for inactivity]
thinkpad has quit [Quit: lawl]
thinkpad has joined #ruby
raulp has quit [Ping timeout: 256 seconds]
Some-body_ has joined #ruby
DarthGandalf has quit [Ping timeout: 268 seconds]
Some-body_ is now known as DarthGandalf
tty has quit [Ping timeout: 244 seconds]
mojtaba has joined #ruby
blood has quit [Quit: Page closed]
alfiemax has joined #ruby
Emmanuel_Chanel has quit [Read error: No route to host]
alfiemax has quit [Remote host closed the connection]
Emmanuel_Chanel has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
ciro has quit [Ping timeout: 256 seconds]
gix has quit [Quit: Client exiting]
bmurt has joined #ruby
alfiemax has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
apeiros has joined #ruby
apeiros has quit [Ping timeout: 260 seconds]
c_nick has joined #ruby
<c_nick>
Whenever I open my team city triggered runs to looks at the results, I want to provide a tab where I can see my Ruby-Sinatra web server.Ideally that should result in a Same Domain Error because team city tabs are i-frames, If I give a html page with a hyper link to the web server.How can I go about it
alfiemax has quit [Remote host closed the connection]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ciro has joined #ruby
Creatornator has joined #ruby
duderonomy has joined #ruby
UserOO7 has joined #ruby
c0ncealed2 has quit [Remote host closed the connection]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drale2k_ has joined #ruby
drale2k_ has quit [Client Quit]
c0ncealed2 has joined #ruby
juiko has joined #ruby
juiko has quit [Remote host closed the connection]
Mike111 has quit [Quit: Leaving.]
alfiemax has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
User458764 has joined #ruby
User458764 has quit [Client Quit]
User458764 has joined #ruby
User458764 has quit [Client Quit]
User458764 has joined #ruby
User458764 has quit [Client Quit]
User458764 has joined #ruby
User458764 has quit [Client Quit]
User458764 has joined #ruby
User458764 has quit [Client Quit]
User458764 has joined #ruby
<hays>
should each class have its own file?
theRealGent has joined #ruby
User458764 has quit [Client Quit]
drale2k_ has joined #ruby
User458764 has joined #ruby
<ineb>
hays: its not required but makes sense in most cases imho
cadillac_ has quit [Ping timeout: 248 seconds]
User458764 has quit [Client Quit]
User458764 has joined #ruby
UserOO7 has quit [Remote host closed the connection]
User458764 has quit [Client Quit]
User458764 has joined #ruby
User458764 has quit [Client Quit]
cadillac_ has joined #ruby
User458764 has joined #ruby
<hays>
im finding that when i write code, I have a real hard time going back to it and figuring out what is happening
<hays>
with maybe a 2 month gap in looking at it
<hays>
trying to figure out how to remedy that
User458764 has quit [Client Quit]
<ineb>
i would say by practicing
<ineb>
havin a good structure in the first case helps here ofc
User458764 has joined #ruby
<hays>
recently i was using a nokogiri object, and one class created the object and passed it to another, for it to be used.. coming back to it, it was hard to tell how to use it
User458764 has quit [Client Quit]
UserOO7 has joined #ruby
<hays>
I guess my problem there is I should have made a stronger interface.. instead of passing back a nokogiri object, pass back my own object with clearer interfaces
<ineb>
i would say there is not much you can do here but relearning how nokogiri works again :)
User458764 has joined #ruby
<ineb>
defining an interface makes sense if you dont need a full featured nokogiri interface object
<ineb>
but if you need to do html/xml operations it doesnt make sense to create an interface
noobineer has joined #ruby
User458764 has quit [Client Quit]
<hays>
right, but if i am really wanting to not be aware of xml i should also create an interface
User458764 has joined #ruby
<ineb>
yes, its an good idea. but in your case it sounds like you have not implemented the logic two months ago
<hays>
correct
User458764 has quit [Client Quit]
<ineb>
so the only thing you can do now is learning nokogiri and write the interface
User458764 has joined #ruby
User458764 has quit [Client Quit]
User458764 has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
User458764 has quit [Client Quit]
User458764 has joined #ruby
<hays>
how do you draw out your design? UML?
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
User458764 has quit [Client Quit]
UserOO7 has quit [Remote host closed the connection]
User458764 has joined #ruby
desperek has joined #ruby
User458764 has quit [Client Quit]
User458764 has joined #ruby
User458764 has quit [Client Quit]
User458764 has joined #ruby
mroutis has joined #ruby
ohcibi has quit [Ping timeout: 260 seconds]
User458764 has quit [Client Quit]
User458764 has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
theRealGent has quit [Quit: Leaving]
User458764 has quit [Client Quit]
User458764 has joined #ruby
User458764 has quit [Client Quit]
User458764 has joined #ruby
tty has joined #ruby
User458764 has quit [Client Quit]
User458764 has joined #ruby
User458764 has quit [Client Quit]
User458764 has joined #ruby
User458764 has quit [Client Quit]
User458764 has joined #ruby
UserOO7 has joined #ruby
User458764 has quit [Client Quit]
User458764 has joined #ruby
User458764 has quit [Client Quit]
ptx0 has quit [Read error: Connection reset by peer]