Guest28368 has quit [Read error: Connection reset by peer]
chouhoulis has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
Yzguy has quit [Quit: Zzz...]
ycyclist has quit [Quit: Page closed]
pskosinski_ has quit [Ping timeout: 240 seconds]
gizmore|2 has joined #ruby
pskosinski_ has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
runescape07rsps has quit [Quit: Leaving]
JD2020X has joined #ruby
nankyokusei has joined #ruby
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyoku_ has quit [Ping timeout: 252 seconds]
milardovich has joined #ruby
Joufflu has quit [Ping timeout: 255 seconds]
ElDoggo has joined #ruby
brw has quit [Quit: Off to listen to some tunes...]
<Algebr`>
ah nevermind, solved problem another way
ElDoggo has quit [Read error: Connection reset by peer]
<MrBusiness3>
anyone happen to have a good suggestion for a book of short to medium length (ideally shorter than the O' Reilly "Programming in (Perl|Python) books; however, I would like something reasonably comprehensive where concerns exposition, example, and potential (hidden) pitfalls? All I've read thus far has been a redacted copy of "Why's (Poignant) Guide to Ruby" and while it makes for an amusing read, it's also very difficult to
<MrBusiness3>
focus my attention on it since and given page could end up being totally irrelevant to anything outside of the current chatper's comic theme
d^sh has quit [Ping timeout: 264 seconds]
<MrBusiness3>
Certainly, I can say that I respect Why's effort, but I think it's not the best starting point, at least for me, into such a powerful language; I also am saddled with considerable professional Perl experience which, like C++ to Verilog, contains many similar syntactic elements that have absolutely no semantic similarity whatsoever
<MrBusiness3>
the way Ruby's variable sigils for example.
mim1k has joined #ruby
d^sh has joined #ruby
<MrBusiness3>
I mean, I'm sure O'Reilly has "Programming in Ruby" in its catalog somewhere, but I think I need to start somewhere between that and WHy's Guide
<zenspider>
havenwood: I... what?
holgerdanske has quit [Read error: Connection reset by peer]
<MrBusiness3>
heh, saying it aloud, "Why's Guide" kind of sounds similar to "wise guy"
holgerdanske has joined #ruby
<zenspider>
MrBusiness3: you settle on a book? I recommend the pickaxe, but it might be larger at this point than you desire
<MrBusiness3>
So, the book has a picture of a pickaxe on it?
<MrBusiness3>
and yeah, my size desires may not be met
<elomatreb>
There's a list of book suggestions in the topic
<MrBusiness3>
elomatreb, thank you for pointing that out. I had indeed missed that!
holgerdanske has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
<MrBusiness3>
aw man, holger acme back for a second and then vanished
<elomatreb>
"Programming Ruby" is the pickaxe book, because there is a pickaxe on it. But it's a little dated by now
holgerdanske has joined #ruby
<MrBusiness3>
probably not even the same as the guy I'm thinking off
RickHull has quit [Ping timeout: 260 seconds]
<MrBusiness3>
sounds like myself I should go throug the online docs to see if there's some kind of grounds-up tutorial ala Python
<MrBusiness3>
holgerdanske, hello
* MrBusiness3
admires his own "-3" suffix
MrBusiness3 is now known as MRBusiness
<MRBusiness>
or no
mim1k has quit [Ping timeout: 260 seconds]
MRBusiness is now known as MrBusiness
<elomatreb>
Not really in an official capacity, sadly. There is an old version of the pickaxe book freely available here, you might take a look there http://ruby-doc.com/docs/ProgrammingRuby/
tamouse__ has quit [Ping timeout: 240 seconds]
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
holgerdanske has quit [Read error: Connection reset by peer]
troys is now known as troys_
holgerdanske has joined #ruby
pharma_joe has joined #ruby
JD2020X has quit [Ping timeout: 240 seconds]
holgerdanske has quit [Read error: Connection reset by peer]
holgerdanske has joined #ruby
dachi has quit [Ping timeout: 260 seconds]
johnbox has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has quit [Remote host closed the connection]
PorcoRex has joined #ruby
<PorcoRex>
Evening Ruby.
harai has quit [Ping timeout: 248 seconds]
FastJack has quit [Read error: Connection reset by peer]
paradisaeidae has joined #ruby
paradisaeidae_ has joined #ruby
FastJack has joined #ruby
ElDoggo_ has joined #ruby
brw has joined #ruby
QualityAddict has quit [Read error: Connection reset by peer]
oetjenj_ has joined #ruby
ElDoggo_ has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
oetjenj has quit [Ping timeout: 240 seconds]
holgerdanske has quit [Read error: Connection reset by peer]
holgerdanske has joined #ruby
Dimik has joined #ruby
QualityAddict has joined #ruby
oetjenj has joined #ruby
tcopeland has joined #ruby
__Yiota has joined #ruby
oetjenj_ has quit [Ping timeout: 252 seconds]
cdg has joined #ruby
harai has joined #ruby
tcopeland has quit [Quit: tcopeland]
tcopeland has joined #ruby
milardovich has quit []
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
tcopeland has quit [Client Quit]
rfoust has joined #ruby
ta has joined #ruby
tcopeland has joined #ruby
knight33 has joined #ruby
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
kies has quit [Ping timeout: 240 seconds]
spk has quit [Ping timeout: 246 seconds]
ramfjord has quit [Ping timeout: 248 seconds]
spk has joined #ruby
ta has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
ramfjord has joined #ruby
bmurt has joined #ruby
harai has quit [Ping timeout: 248 seconds]
Algebr` has quit [Ping timeout: 255 seconds]
harfangk has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
dviola has quit [Quit: WeeChat 1.9.1]
ramfjord has quit [Ping timeout: 240 seconds]
bronson has quit [Remote host closed the connection]
ramfjord has joined #ruby
PaulCape_ has quit [Quit: .]
ElDoggo has joined #ruby
ElDoggo has quit [Remote host closed the connection]
PaulCapestany has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
enterprisey has quit [Read error: Connection reset by peer]
enterprisey has joined #ruby
gusrub has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
mochiyoda_ has joined #ruby
PorcoRex has quit [Quit: Leaving]
brw has quit [Quit: Off to listen to some tunes...]
lel has quit [Ping timeout: 252 seconds]
lel has joined #ruby
kies has joined #ruby
paradisaeidae has quit [Quit: ChatZilla 0.9.93 [Firefox 55.0.3/20170824123605]]
paradisaeidae_ has quit [Quit: ChatZilla 0.9.93 [Firefox 55.0.3/20170824123605]]
jnollette has quit [Ping timeout: 246 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
jnollette has joined #ruby
bronson has joined #ruby
gusrub has quit [Remote host closed the connection]
Guest87386 has joined #ruby
milardovich has quit [Remote host closed the connection]
jnollette has quit [Ping timeout: 255 seconds]
tinix has joined #ruby
Guest87386 has quit [Quit: Leaving]
tinix has left #ruby [#ruby]
MarkBilk_ has quit [Ping timeout: 246 seconds]
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
scorphus has quit [Ping timeout: 240 seconds]
ahrs has quit [Remote host closed the connection]
MarkBilk has joined #ruby
ahrs has joined #ruby
nahra` has quit [Ping timeout: 240 seconds]
DTZUZU has quit [Ping timeout: 240 seconds]
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ElDoggo has joined #ruby
gusrub has joined #ruby
ElDoggo has quit [Read error: Connection reset by peer]
oetjenj has quit [Remote host closed the connection]
MarkBilk has quit [Ping timeout: 246 seconds]
oetjenj has joined #ruby
MarkBilk has joined #ruby
csk has joined #ruby
mim1k has joined #ruby
gix- has quit [Ping timeout: 260 seconds]
Yzguy has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jhass has quit [Ping timeout: 246 seconds]
DTZUZU has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
Caius has quit [Ping timeout: 248 seconds]
roamingdog has joined #ruby
SuperTux88 has quit [Ping timeout: 255 seconds]
gix has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
__Yiota has joined #ruby
SHyx0rmZ has quit [Ping timeout: 246 seconds]
ujjain has quit [Ping timeout: 255 seconds]
elomatreb has quit [Ping timeout: 255 seconds]
shadeslayer has quit [Ping timeout: 255 seconds]
MarkBilk has quit [Ping timeout: 246 seconds]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gusrub has quit [Remote host closed the connection]
afaf3 has joined #ruby
MarkBilk has joined #ruby
QualityAddict has quit [Disconnected by services]
afaf3 has quit [Remote host closed the connection]
QualityAddict has joined #ruby
elomatreb has joined #ruby
Caius has joined #ruby
Caius has quit [Changing host]
Caius has joined #ruby
ujjain has joined #ruby
ujjain has quit [Changing host]
ujjain has joined #ruby
kloeri has quit [Read error: Connection reset by peer]
shadeslayer has joined #ruby
RickHull has joined #ruby
claw has quit [Ping timeout: 264 seconds]
jhass has joined #ruby
kloeri has joined #ruby
TinkerTyper has quit [Read error: Connection reset by peer]
SuperTux88 has joined #ruby
pharma_joe has joined #ruby
ujjain has quit [Ping timeout: 240 seconds]
ujjain has joined #ruby
ujjain has quit [Changing host]
ujjain has joined #ruby
MarkBilk has quit [Ping timeout: 255 seconds]
Algebr` has joined #ruby
Yzguy has quit [Quit: Cya]
claw has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
MarkBilk has joined #ruby
Hobbyboy has quit [Ping timeout: 252 seconds]
Danielss89 has quit [Ping timeout: 246 seconds]
ndrst has quit [Ping timeout: 255 seconds]
ccooke has quit [Ping timeout: 240 seconds]
claw has quit [Ping timeout: 252 seconds]
johnbox has quit [Ping timeout: 240 seconds]
troys_ is now known as troys
coderphive has joined #ruby
Danielss89 has joined #ruby
ndrst has joined #ruby
ndrst is now known as Guest26486
afaf33 has joined #ruby
ccooke has joined #ruby
volix has quit [Ping timeout: 260 seconds]
coderphive has quit [Client Quit]
afaf33 has left #ruby [#ruby]
foxxx0 has quit [Ping timeout: 240 seconds]
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Terens>
How to explain difference between ruby hash and json to someone ?
<Terens>
They look the same so we are arguing about the data type
gigetoo has joined #ruby
<teatime>
well they're kinda similar
<teatime>
hash maps are a larger concept than ruby or javascript
<teatime>
what in particular are you arguing about
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Terens>
Initially he told me that I have to pass JSON data to his library. I did but he meant hash. Tried to tell him that he needs hash not json but he kept pasting me ruby hash and telling me that there is no difference... Now I sent him data as hash and we got error. Turned out he wanted json string to parse it. Then he started sarcasm that I am not doing what we agreed and he hopes I dont send him xml next time.
<teatime>
well yes if you say "JSON data" you mean a string in JSON format
<vee_>
Terens: what were the differences in what you provided vs he expected?
<Terens>
yes but he changed his library. Intially accepted hash (told me to send json string)
<Terens>
Then it stopped working because he wanted json string
<vee_>
Forgive me, is this "he" a person or your application?
duckpupp1 has joined #ruby
uZiel has joined #ruby
tamouse__ has joined #ruby
Algebr` has joined #ruby
Terens has quit [Ping timeout: 260 seconds]
charliesome_ has joined #ruby
<ineb>
vee_: person
charliesome has quit [Read error: Connection reset by peer]
tamouse__ has quit [Ping timeout: 260 seconds]
Algebr` has quit [Ping timeout: 260 seconds]
duckpupp1 has quit [Ping timeout: 260 seconds]
charliesome_ has quit [Ping timeout: 248 seconds]
uZiel has quit [Ping timeout: 248 seconds]
charliesome has joined #ruby
apparition has joined #ruby
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alveric4 has quit [Quit: WeeChat 1.9]
<Caius>
I'd send a ruby hash and break out a 2x4 to beat him with until he understands what he will accept.
<Caius>
(Or a clue-by-four, as a friend of mine has nicknamed his)
bronson has joined #ruby
uZiel has joined #ruby
ElDoggo has joined #ruby
ElDoggo has quit [Read error: Connection reset by peer]
sp4rrow has joined #ruby
workmad3 has joined #ruby
duckpupp1 has joined #ruby
Burgestrand has joined #ruby
apparition has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
paranoicsan is now known as paranoicsan[Away
paranoicsan[Away has quit [Quit: paranoicsan[Away]
apparition has joined #ruby
mim1k has quit [Disconnected by services]
mim1k_ has joined #ruby
roamingdog has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
<vee_>
ineb: i imagine that person is you??
cagmz_ has joined #ruby
<ineb>
vee_: send me some json data and see if i complain about it
anisha__ has quit [Ping timeout: 248 seconds]
<adaedra>
{}
<ineb>
i only accept hashes ffs
anisha__ has joined #ruby
<ineb>
and dont you dare to send me xml
<adaedra>
I only read from far away, but the debate is about serialized vs unserialized data?
<ineb>
idk tbh
<vee_>
lol, would love to see your method or problem at hand in a gist.
<ineb>
vee_: no, iam not that confused person ;)
<adaedra>
also, iirc, there are no JSON hashes, only objects.
cagmez__ has joined #ruby
cagmz has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
cagmz_ has quit [Ping timeout: 240 seconds]
roamingdog has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
cagmez__ has quit [Ping timeout: 260 seconds]
mim1k_ has quit [Ping timeout: 258 seconds]
webguynow has quit [Ping timeout: 240 seconds]
webguynow has joined #ruby
ramfjord has quit [Ping timeout: 258 seconds]
sylario has joined #ruby
kapil___ has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
johnbox has joined #ruby
jphase has quit [Remote host closed the connection]
mim1k has joined #ruby
Algebr` has joined #ruby
jrafanie has joined #ruby
JD2020X has joined #ruby
mim1k has quit [Ping timeout: 246 seconds]
__Yiota has joined #ruby
Algebr` has quit [Ping timeout: 246 seconds]
jameser has joined #ruby
f3ttX] has joined #ruby
apparition has quit [Quit: Bye]
synthroid has joined #ruby
s3nd1v0g1us has quit [Quit: tempusfugit]
shime has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rabajaj has quit [Remote host closed the connection]
Mortomes|Work has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 258 seconds]
Burgestrand has quit [Quit: Closing time!]
marr has quit [Ping timeout: 260 seconds]
uZiel has quit [Ping timeout: 248 seconds]
griffindy has joined #ruby
bruno- has joined #ruby
f3ttX] has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Algebr` has quit [Ping timeout: 264 seconds]
truenito has joined #ruby
cdg has joined #ruby
jnollette has quit [Ping timeout: 240 seconds]
tamouse__ has joined #ruby
ana_ has quit [Quit: Leaving]
truenito has quit [Ping timeout: 248 seconds]
mim1k has joined #ruby
cdg has quit [Ping timeout: 258 seconds]
cdg has joined #ruby
tamouse__ has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 258 seconds]
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fmcgeough has joined #ruby
<scatterp>
https://pastebin.com/ddvAx1Kf can someone tell me how to make this a bash script where i can echo "hi" at the end i think its something to do with source command ?
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Algebr` has joined #ruby
Algebr` has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
johnbox has quit [Ping timeout: 248 seconds]
orbyt_ has joined #ruby
f3ttX] has joined #ruby
aupadhye has quit [Ping timeout: 246 seconds]
Defenestrate has quit [Quit: This computer has gone to sleep]
marcux has joined #ruby
oleo has joined #ruby
tvw has quit [Remote host closed the connection]
tvw has joined #ruby
jrafanie has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Defenestrate has joined #ruby
Defenestrate has quit [Changing host]
Defenestrate has joined #ruby
tamouse__ has joined #ruby
johnbox has joined #ruby
Defenestrate has quit [Client Quit]
FrostCandy has joined #ruby
synthroid has quit [Remote host closed the connection]
tamouse__ has quit [Ping timeout: 255 seconds]
duckpupp1 has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
Yoshido has joined #ruby
LastWhisper____ has joined #ruby
samlisl_ has joined #ruby
csk has joined #ruby
marcux has quit [Ping timeout: 255 seconds]
ramfjord has joined #ruby
shime has joined #ruby
anisha__ has quit [Ping timeout: 260 seconds]
sepp2k has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<MrBusiness>
Hello. I asked at some point in the past few days for a book suggestion to help me learn Ruby. The consensus seemed to be that, "The Pickaxe Book" was the best choice, but I failed to clarify: how do I identify "The Pickaxe Book?"
<havenwood>
MrBusiness: It has a pickaxe on the cover.
<teatime>
MrBusiness: well, I googled "the pickaxe book".
<havenwood>
MrBusiness: It's full name is "Programming Ruby."
<teatime>
and that seemed to work. it's Programming Ruby.
<havenwood>
Its*
<teatime>
looks like there are a lot of editions of it
cjs226 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<MrBusiness>
alright, two books and a web page added to my bookmarks. Reckon that ought to do the trick. Still wish I could just read Why's guide. Probably could if I had some sticky tabs in two colors, one to denote pages with useful information and others to denote where the useful information stops and Why or his character fly off into a surreal tangent.
<MrBusiness>
granted, if memory serves, divorcing the two in that fashion may simply not be possible for some sections.
<elomatreb>
Also consider the age of that, _why has vanished from the face of the earth years ago
yeticry has quit [Read error: Connection reset by peer]
<MrBusiness>
Still, it is an amusing read, and in the absence of knowledge as to whether or not I will have the money to afford such a thing I reckon.
yeticry_ has joined #ruby
<MrBusiness>
This is true, though I recall researching that
<MrBusiness>
and the discovery of another curious person was that Why simply wanted to put the book behind him. However, when I last went searching for a fresh copy of that old .pdf, the copy I found had supposedly been redacted by a third party to make it relevant to a newer version of Ruby than the one that Why wrote about.
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erlend has quit [Read error: Connection reset by peer]
<elomatreb>
There were a lot of deprecations from 1.8 to 1.9, maybe that was that
<MrBusiness>
I cannot imagine myself not having subsequently downloaded it, and indeed, that could be the change. I have no clue. As said, my attempts to learn Ruby have only been half-hearted at best.
<matthewd>
s/redacted/amended/, FYI -- I wondered what you meant that the first time you said it :)
erlend has joined #ruby
AgentVenom has joined #ruby
<MrBusiness>
I have no working need to learn the language per se, but I feel as though learning it and producing a work of some value, no matter how small, would be a good feather in my cap.
LyndsySimon has joined #ruby
AgentVenom has quit [Client Quit]
<MrBusiness>
Granted, I've never done a study on Ruby penetration rates by region.
<MrBusiness>
I meant redacted but i suppose edited might have been a better choice?
<LyndsySimon>
I'm working on a project where we have substantial manual QA testing, in addition to our automated tests that use Capybara. Does anyone have experience using Capybara to automate the setup to particular states for the purposes of manual testing?
<MrBusiness>
I always thought that redaction was a form of censorship until I looked it up and "edited" was the given definition.
yeticry_ has quit [Quit: leaving]
<LyndsySimon>
Basically, I'd like to run the user's browser for as long as it takes to do environment setup tasks - logging in, creating some stuff, then dropping them on a page and giving them back control.
yeticry has joined #ruby
workmad3 has joined #ruby
jrafanie has joined #ruby
Algebr` has joined #ruby
synthroid has joined #ruby
<MrBusiness>
hm, I suppose that some kind of automation task would be a good project/portfolio piece for me to attempt to learn from. Ruby certainly does seem to have a lot of browser automation frameworks. I was aware of Cucumber, but capybara looks interesting and has an interesting syntax. I apologize LyndsySimon, i doubt that i can be of much help but these "states" of which you speak, what defines them. Are they browser states, OS
<MrBusiness>
states, or simply different end results of specific automation tasks that have measurable and definite differences?
elsevero has joined #ruby
anisha has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MrBusiness>
I guess the same inquiry, though not precisely identical, could be made concerning "state." What are these states?
<MrBusiness>
er
<MrBusiness>
no
<MrBusiness>
"environments"
<MrBusiness>
is it the OS environement ala environment variables, or the environment inside of your application?
dinfuehr has quit [Ping timeout: 240 seconds]
<MrBusiness>
I am assuming, perhaps incorrectly, that your application is a web application.
Algebr` has quit [Ping timeout: 255 seconds]
dinfuehr has joined #ruby
bigkevmcd has quit [Read error: Connection reset by peer]
bigkevmcd has joined #ruby
<LyndsySimon>
MrBusiness: Yes, it's a web app. The "state" would be a combination of client state (i.e., session, including cookies and LocalStorage) and server state (including database contents).
<LyndsySimon>
Basically, I want to be able to run a test that's already using Capybara, but instead of executing the test I want to stop there and let a user take over.
<matthewd>
LyndsySimon: Presumably you could just `gets` when you want to wait for the user
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<LyndsySimon>
Hmm. Yeah, I could.
banisterfiend has joined #ruby
<LyndsySimon>
I'd like to wrap this in a GUI of some type - either a desktop app, a web interface or a browser extension. That would require that I split the test setup and teardown from the test suite and put it in a structure that's readable and usable for this as well. That should be possible.
<LyndsySimon>
It's getting more clear in my mind :)
jinie has quit [Ping timeout: 252 seconds]
<LyndsySimon>
Just talking about it helps.
jinie has joined #ruby
cjs226 has joined #ruby
erlend has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 258 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
shime has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<matthewd>
LyndsySimon: Alternatively, consider why the tests are manual, and whether that can be addressed in some other way, maybe?
mikecmpbll has joined #ruby
<LyndsySimon>
matthewd: Ideally, yeah. We're not going to be able to get away from manual testing completely, no matter what. The software is for the healthcare industry, so it's very important that we be as confident as possible that things in the UI in particular not break.
erlend has joined #ruby
shinnya has quit [Ping timeout: 246 seconds]
<LyndsySimon>
In my experience, automated testing is awesome for making sure things don't break in the same way they have in the past. It's not as great for making sure they don't break in new and exciting ways.
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<teatime>
LyndsySimon: the former is called regression testing
<LyndsySimon>
teatime: I'm aware :)
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<matthewd>
Maybe consider a visual change detection tool like Percy CI, or run scripted capybara tests, but slow enough that a human can supervise and observe otherwise-undetected malfeasance
<LyndsySimon>
teatime: Actually, I was trying to be a bit more precise. Codifying the "happy path" of expected user interaction isn't technically regression testing, and that's the primary stuff I meant.
<LyndsySimon>
matthewd: Yes, a visual diffing tool is on my list of things to incorporate.
<matthewd>
I guess it just seems odd to me to automate getting them to exactly the right place, then ask them to [e.g.] click <this particular> button, then look for <this particular> result
<LyndsySimon>
That's not *quite* what I'm looking for. I don't want to tell them what to do, that's sorta their job description.
<LyndsySimon>
I just want to automate what they're already having to do by hand, and since I'm already having to do it for automated testing, I'd rather just put an additional interface over that existing code than do it twice.
ryakh has joined #ruby
<matthewd>
Surely you have to know what they intend to do if you're going to pre-arrange just the right set of data to support it
<matthewd>
Oh, maybe you could get away with a full-database snapshot/restore tool for their local DB? ¯\_(ツ)_/¯
rippa has joined #ruby
<ryakh>
Any ideas why push into Array is not working in this case? (just out of curiosity) — foo = Hash.new { [] }; foo[:bar] << 2; foo[:baz] = 2; foo # {:baz=>2}
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthewd>
ryakh: That block isn't doing what you intend
bmurt has joined #ruby
<ryakh>
matthewd: what do you mean? I expect it to return [] as a default value
cagmz_ has joined #ruby
InfinityFye has quit [Quit: Leaving]
<matthewd>
Okay, well it is doing that
bigkevmcd has quit [Read error: Connection reset by peer]
<matthewd>
And checking foo[:bar] again will show it continuing to do so
<LyndsySimon>
matthewd: The data are too big for a DB restore to be a viable solution, and a big part of this is going to be navigating them through the app to the right spot. There's also the part where they're testing against a deployed instance of the application with anonymized PHI data pre-loaded. Acting against the DB directly is not out of the question, but is a fairly high barrier.
bigkevmcd has joined #ruby
<LyndsySimon>
I've got some ideas how to do it now - it's just a matter of making it happen.
orbyt_ has joined #ruby
<ryakh>
matthewd: yeah it returns an array which I expect to be referenced to called key and after that I push into that array... or I am wrong? What is happening in reality?
cagmz has quit [Ping timeout: 240 seconds]
nadir has quit [Quit: Connection closed for inactivity]
<matthewd>
Every time you call foo[:bar] the block is called, and it returns a new array
Yoshido has quit []
roamingdog has joined #ruby
bigkevmcd has quit [Ping timeout: 260 seconds]
DTZUZU has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
DTZUZU has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
AgentVenom has joined #ruby
roamingdog has quit [Ping timeout: 240 seconds]
LastWhisper____ has joined #ruby
<ryakh>
matthewd: what about this one? x = []; foo = Hash.new { x }; p x.object_id; p foo[:bar].object_id; foo[:bar] << 2; p foo; p x # 70210950423140; 70210950423140; {}; [2]
<ryakh>
matthewd: now in this case I would definitely expect "foo[:bar] << 2" to push into x
ams__ has joined #ruby
<matthewd>
ryakh: And it is
DTZUZU2 has joined #ruby
antoniobeyah_ has joined #ruby
antoniobeyah_ is now known as antoniobeyah
ElDoggo has joined #ruby
DTZUZU has quit [Ping timeout: 240 seconds]
<ryakh>
matthewd: Oh you are correct it does... I guess my expectation is that "foo[:bar] << 2" in this case is that following will happen: "foo[:bar] = x; foo[:bar] << 2". So it will not only push into array but will set hash key to "x"
erlend has quit [Ping timeout: 240 seconds]
antoniobeyah has quit [Changing host]
antoniobeyah has joined #ruby
antoniobeyah has joined #ruby
<matthewd>
Yeah. It doesn't do that. :)
bronson has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
polishdub has joined #ruby
mson has quit [Quit: Connection closed for inactivity]
dhollinger has quit [Ping timeout: 248 seconds]
chouhoulis has joined #ruby
dhollinger has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
bronson_ has joined #ruby
ledestin has joined #ruby
Algebr` has joined #ruby
cagomez has joined #ruby
preyalone has joined #ruby
ledestin has quit [Ping timeout: 246 seconds]
Algebr` has quit [Ping timeout: 248 seconds]
preyalone has left #ruby [#ruby]
elsevero has quit [Quit: elsevero]
mson has joined #ruby
bronson_ has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
Heph__ has joined #ruby
eroux has quit [Quit: ZZZzzz… ZZZzzz…]
John__ has quit [Ping timeout: 246 seconds]
Heph_ has quit [Ping timeout: 248 seconds]
Heph_ has joined #ruby
Heph_ has quit [Client Quit]
f3ttX] has quit [Remote host closed the connection]
Heph__ has quit [Ping timeout: 240 seconds]
ryakh has quit [Ping timeout: 260 seconds]
gusrub has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ShekharReddy has quit [Quit: Connection closed for inactivity]
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
Burgestrand has quit [Quit: Closing time!]
hinbody has quit [Quit: leaving]
John__ has joined #ruby
jphase has quit [Ping timeout: 248 seconds]
hinbody has joined #ruby
johnbox has quit [Ping timeout: 248 seconds]
johnbox has joined #ruby
duckpupp1 has joined #ruby
roamingdog has joined #ruby
tamouse__ has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
skweek has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
johnbox has quit [Ping timeout: 246 seconds]
johnbox has joined #ruby
tamouse__ has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
tvw has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 246 seconds]
banisterfiend has joined #ruby
Serpent7776 has quit [Quit: Leaving]
lagweezle_away is now known as lagweezle
FahmeF has quit [Remote host closed the connection]
Beams has quit [Quit: .]
selim has quit [Ping timeout: 248 seconds]
selim has joined #ruby
andikr has quit [Remote host closed the connection]
workmad3 has joined #ruby
bloody_bob has quit [Ping timeout: 240 seconds]
Algebr` has joined #ruby
DoubleMalt has joined #ruby
mtkd has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
mtkd has joined #ruby
FahmeF has joined #ruby
bronson has quit [Remote host closed the connection]
<verumnoslibx>
I am looking into how I can ember my simple emberJS frontend (actually only a page) to a sinatra app hosted inside a gem
jphase has quit [Ping timeout: 240 seconds]
paolo_ has quit [Quit: paolo_]
mark_66 has quit [Remote host closed the connection]
tamouse__ has quit [Ping timeout: 260 seconds]
<theRoUS>
does ruby have a class metamethod (like included, etc) that can be defined to be invoked after the class instance is created? i.e., as soon as the constructor has finished?
oetjenj has joined #ruby
<theRoUS>
sort of a post-initialize in contrast to ObjectSpace.define_finalizer
dviola has joined #ruby
milardovich has joined #ruby
jphase_ has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jphase has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
zachk has joined #ruby
<theRoUS>
never mind, found a workaround using inheritance
milardovich has quit [Ping timeout: 258 seconds]
jphase has quit [Ping timeout: 255 seconds]
Algebr` has quit [Ping timeout: 240 seconds]
jphase has joined #ruby
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
snickers has joined #ruby
banisterfiend has joined #ruby
mikecmpbll has joined #ruby
Cleopatra has joined #ruby
<Cleopatra>
hello people
skweek has quit [Ping timeout: 258 seconds]
<Papierkorb>
theRoUS: There's not directly something for this. You found a proper solution already, but a meta-programming solution would involve using `prepend MyModule`, in which you provide your #initialize (or whichever methods you want to hook this way). In these hook methods, you call `super`. You can run custom code before and after calling super like normal.
TomyWork has quit [Ping timeout: 240 seconds]
Cleopatra has quit [Client Quit]
<theRoUS>
Papierkorb: basically what i've done. i already have an #initialize that everything inherits and supers
<Papierkorb>
a proper OOP solution is a good solution in my book :)
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
banisterfiend has quit [Ping timeout: 240 seconds]
Cohedrin_ has joined #ruby
gusrub has quit [Remote host closed the connection]
mson has quit [Quit: Connection closed for inactivity]
gusrub has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
jphase has quit [Remote host closed the connection]
roamingdog has joined #ruby
jphase has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
synthroid has quit [Remote host closed the connection]
synthroid has joined #ruby
lxsameer has joined #ruby
TomyLobo has joined #ruby
Exagone313 has quit [Quit: see ya!]
orbyt_ has joined #ruby
nowhereman has quit [Ping timeout: 248 seconds]
jphase has quit [Ping timeout: 264 seconds]
synthroid has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
milardovich has joined #ruby
imode has joined #ruby
johnbox has quit [Ping timeout: 248 seconds]
rgr has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
voodoofish430 has left #ruby [#ruby]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tuelz has quit [Remote host closed the connection]
rgr has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 240 seconds]
MarkBilk has quit [Ping timeout: 246 seconds]
jrafanie has joined #ruby
ozcanesen has joined #ruby
John__ has quit [Remote host closed the connection]
conta3 has joined #ruby
FahmeF has quit [Remote host closed the connection]
conta3 has quit [Client Quit]
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lagweezle is now known as lagweezle_away
lagweezle_away is now known as lagweezle
roamingdog has joined #ruby
Exagone313 has joined #ruby
John__ has joined #ruby
ur5us has joined #ruby
cdg has quit [Remote host closed the connection]
tolerablyjake has joined #ruby
tuelz has joined #ruby
ozcanesen has quit [Quit: ozcanesen]
ur5us has quit [Ping timeout: 248 seconds]
rosa has quit [Quit: Konversation terminated!]
workmad3 has joined #ruby
Algebr` has joined #ruby
Bock has quit [Ping timeout: 248 seconds]
govg has quit [Ping timeout: 246 seconds]
troys is now known as troys_
gusrub has quit [Remote host closed the connection]
kspencer has quit []
gusrub has joined #ruby
kspencer has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
workmad3_ has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
synthroid has joined #ruby
SeepingN has quit [Ping timeout: 258 seconds]
ams__ has quit [Quit: Connection closed for inactivity]
rfoust has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
kies has quit [Ping timeout: 255 seconds]
mtkd has quit [Ping timeout: 248 seconds]
banisterfiend has joined #ruby
skweek has joined #ruby
metadox has joined #ruby
workmad3_ has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
roamingdog has quit []
ElDoggo_ has joined #ruby
SeepingN has joined #ruby
ElDoggo has quit [Ping timeout: 248 seconds]
metadox has quit [Quit: metadox]
metadox has joined #ruby
jphase has joined #ruby
orbyt_ has joined #ruby
metadox has quit [Client Quit]
ta has joined #ruby
jphase has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 258 seconds]
dionysus69 has joined #ruby
jphase has joined #ruby
johnbox has joined #ruby
metadox has joined #ruby
bronson has joined #ruby
metadox has quit [Client Quit]
cdg has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]