brent__ has quit [Remote host closed the connection]
<lupine>
it's pretty much exactly like this
<bg>
jhack: by watching rubytapas
<jhack>
interesting... someone spoke about rubytapas today too
<jhack>
lupine, brb gonna watch it now
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
mula has joined #ruby
<jhack>
bg, how good is rubytapas
<bg>
the best
ElDoggo has quit [Remote host closed the connection]
<jhack>
:0
SteenJobs_ has joined #ruby
<jhack>
it's not specific for webdev right?
<bg>
right
mikecmpbll has quit [Quit: inabit. zz.]
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhack>
cool
<jhack>
any thoughts on upcase?
TomyLobo has quit [Ping timeout: 246 seconds]
SteenJobs_ has quit [Ping timeout: 258 seconds]
grant has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
Ruby_Rocks_007 has joined #ruby
ramfjord_ has quit [Ping timeout: 258 seconds]
zenguy_pc has quit [Ping timeout: 256 seconds]
Wolfpack_12 has joined #ruby
SeepingN_ has quit [Quit: The system is going down for reboot NOW!]
zenguy_pc has joined #ruby
SteenJobs_ has joined #ruby
pawnbox has joined #ruby
nofxx has joined #ruby
<avdi>
bg: thanks!
<bg>
avdi: did you buy a subscription?
ThereIsNoYeti has quit [Ping timeout: 246 seconds]
AndBobsYourUncle has joined #ruby
<avdi>
bg: nah I get mine for free. 'course, I have to make the videos first, but after that I get them for free ;-)
* bg
feels stupid
grant has joined #ruby
<bg>
lol
pawnbox has quit [Ping timeout: 240 seconds]
jeyraof^mbpr has joined #ruby
sarbs has quit [Read error: Connection reset by peer]
raspado has quit [Remote host closed the connection]
rkazak_ has quit [Quit: Sleep.....ing....]
raspado has joined #ruby
SteenJobs_ has quit [Ping timeout: 246 seconds]
duderono_ has quit [Ping timeout: 246 seconds]
<jhack>
oh..
<jhack>
wait a minute
raspado has quit [Ping timeout: 240 seconds]
SteenJobs_ has joined #ruby
sarbs has joined #ruby
herbmillerjr has joined #ruby
<jhack>
brb signing up now
djbkd has quit [Quit: My people need me...]
zenguy_pc has quit [Ping timeout: 256 seconds]
SteenJobs_ has quit [Ping timeout: 268 seconds]
zenguy_pc has joined #ruby
cdg has quit [Remote host closed the connection]
certainty has joined #ruby
Channel6 has joined #ruby
zenguy_pc has quit [Ping timeout: 246 seconds]
nofxx has quit [Ping timeout: 260 seconds]
nofxx has joined #ruby
zenguy_pc has joined #ruby
harfangk has joined #ruby
Channel6 has quit [Client Quit]
Channel6 has joined #ruby
marr has quit [Remote host closed the connection]
pawnbox has joined #ruby
SteenJobs_ has joined #ruby
zenguy_pc has quit [Ping timeout: 260 seconds]
* baweaver
is amused that avdi probably highlighted rubytapas
gsilva has quit [Ping timeout: 260 seconds]
* baweaver
wonders if Radar highlights r4ia
zenguy_pc has joined #ruby
SteenJobs_ has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 264 seconds]
<avdi>
I have a strobe light and klaxons installed in every room of the house
enterprisey has joined #ruby
statelesscode has joined #ruby
xall has joined #ruby
<jhack>
r4ia
jeyraof^mbpr has quit [Quit: Leaving]
t-recx has quit [Quit: t-recx]
tvw has quit [Ping timeout: 264 seconds]
d0nn1e has quit [Ping timeout: 268 seconds]
nowhere_man has joined #ruby
d0nn1e has joined #ruby
raspado has joined #ruby
raspado has quit [Remote host closed the connection]
raspado has joined #ruby
montanonic has joined #ruby
certainty has quit [Ping timeout: 240 seconds]
raspado has quit [Ping timeout: 240 seconds]
griffindy has joined #ruby
pawnbox has joined #ruby
d^sh has quit [Ping timeout: 260 seconds]
d^sh has joined #ruby
ramfjord has joined #ruby
sleetdrop has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
xall has quit [Ping timeout: 268 seconds]
electrostat has quit [Quit: uwotm8]
electrostat has joined #ruby
Rodya_ has quit [Remote host closed the connection]
hahuang65 has quit [Quit: WeeChat 1.7]
SteenJobs_ has joined #ruby
ss_much has joined #ruby
SteenJobs_ has quit [Ping timeout: 256 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
SteenJobs_ has joined #ruby
duderonomy has joined #ruby
hotpancakes has joined #ruby
pawnbox has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
Yoncise has joined #ruby
cibs has joined #ruby
SteenJobs_ has quit [Ping timeout: 258 seconds]
hutch34 has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 256 seconds]
Rodya_ has joined #ruby
EV3RYDAYPR0GRESS has quit [Ping timeout: 246 seconds]
hotpancakes has quit [Ping timeout: 246 seconds]
<Disavowed>
Hey all. I've written an API library that wraps HTTParty. I want to test that the underlying HTTParty.post method receives the correct headers, but I'm a little bit mixed up as to how I would do this. I'm using rspec if that helps.
<Disavowed>
Apologies for what is no doubt a stupid question, but it's Friday afternoon here and I'm not exactly firing on all cylinders.
Yoncise has left #ruby [#ruby]
ule has quit [Changing host]
ule has joined #ruby
duderonomy has quit [Ping timeout: 260 seconds]
jhack_ has joined #ruby
jhack has quit [Ping timeout: 256 seconds]
libastral has quit [Ping timeout: 264 seconds]
Yoncise has joined #ruby
Yoncise has quit [Quit: Page closed]
libastral has joined #ruby
yusrideb has quit [Quit: yusrideb]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 260 seconds]
jhack_ has quit [Quit: Leaving]
duderonomy has joined #ruby
SteenJobs_ has joined #ruby
rkazak_ has joined #ruby
certainty has joined #ruby
pawnbox has joined #ruby
yusrideb has joined #ruby
hotpancakes has joined #ruby
SteenJobs_ has quit [Ping timeout: 264 seconds]
astrobunny has joined #ruby
dviola has quit [Quit: WeeChat 1.7]
pawnbox has quit [Ping timeout: 258 seconds]
hotpancakes has quit [Ping timeout: 246 seconds]
skweeke has quit [Quit: Leaving]
skweek has joined #ruby
nobitanobi has joined #ruby
<allisio>
Disavowed: Sounds like you want to contribute to HTTParty's test suite?
hfp_work has quit [Ping timeout: 260 seconds]
Wolfpack_12 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Wolfpack_12 has joined #ruby
Wolfpack_12 has quit [Client Quit]
<Disavowed>
allisio: Well I'm not against that, but all I really want to do is check that the underlying request from my API is sent with the correct headers. I feel like I'm missing something really obvious
<allisio>
Disavowed: You're missing trust.
nobitanobi has quit [Ping timeout: 260 seconds]
<Disavowed>
The headers are passed as an argument to the httparty.post method, so I guess what I'm asking is how do I check if an argument is present in a method call?
<allisio>
Again, HTTParty is a battle-tested library; you should put some measure of stock in its correctness.
brent__ has joined #ruby
<Disavowed>
allisio: I trust it fully. I'm trying to test my code is passing the correct headers to the underlying httparty post method.
<allisio>
Disavowed: Does it do The Right Thing? If so, you are; if not, you're not.
<allisio>
It really sounds like you want to include a test for HTTParty in your own thing's test suite, and that's just not the done thing.
<Disavowed>
Let me do a pastebin because I feel like I'm not explaining this very well
<Disavowed>
http://pastebin.com/18Smv36v <- hopefully this either explains what I'm trying to achieve or highlights some totally idiotic underlying assumption I have made.
<ruby[bot]>
Disavowed: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
maloik56 has quit [Remote host closed the connection]
maloik has joined #ruby
xall has joined #ruby
pilne has quit [Quit: Quitting!]
<allisio>
Disavowed: They are.
marxarelli|afk is now known as marxarelli
<allisio>
HTTParty.post invokes HTTParty.perform_request, which passes the `options` Hash into `#process_headers`, which checks for the existence of a `:headers` key and responds accordingly.
<allisio>
I'm sure HTTParty has tests for this in their own suite; it would be silly of you to duplicate that effort.
certainty has quit [Ping timeout: 258 seconds]
scott4000 has quit [Ping timeout: 245 seconds]
<Disavowed>
allisio: I feel like I'm still not explaining what I am trying to do very well.
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Disavowed>
I don't care what httparty.post does - indeed I plan to mock the method. All I care about is that the wrapper method send() is passing the headers to the HTTParty.post method, or a mock version thereof
staticfox has quit [Ping timeout: 264 seconds]
xMopxShell has quit [Ping timeout: 240 seconds]
jameser has joined #ruby
<Disavowed>
I need a reasonable guarantee that such basic functionality works. I am certain that HTTParty is battle tested and perfectly fit for purpose, but that isn't germane right now
scott4000 has joined #ruby
marxarelli is now known as marxarelli|afk
xMopxShell has joined #ruby
<allisio>
Disavowed: Do you test that your Classes respond to #new?
pawnbox has joined #ruby
xall has quit [Ping timeout: 268 seconds]
<Disavowed>
allisio: I do not
<Disavowed>
Perhaps this is what I'm missing
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hfp_work has joined #ruby
<Disavowed>
You're saying that I should not test that my method passes the correct arguments to an underlying function?
xall has joined #ruby
<allisio>
Disavowed: It strikes me as a perfectly useless test in this particular scenario.
staticfox has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
<Disavowed>
allisio: I'll defer to your experience but it sounds incredibly dangerous to me, because if a content-type header isn't passed, then the whole library is broken. I'm clearly missing some idealogical practice in my understanding of testing methodologies (I'm not from a Ruby background originally) - could you recommend any resources I should consume to better understand the landscape?
<allisio>
Disavowed: Right, that gets closer to the heart of the thing: shouldn't you just be testing that `@headers` includes a reasonable value for the 'Content-Type' key?
<Disavowed>
That's right! So I test for that initially. My concern is that if the code changed and I forgot to pass @headers to HTTParty.post, then I would have no test to catch that event. Does that make sense?
<Disavowed>
matthewd: allisio: You two are absolute saints! Thank you so much for making sense of my garbled explanations! This is what I was playing with but I couldn't get it to work and assumed I was approaching the problem wrong. Thank you for setting me back on the right track!
saneax-_-|AFK is now known as saneax
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<allisio>
Disavowed: Glad to have been of some help. :)
<allisio>
(I stand by my original conviction. :P)
segmond has quit [Quit: l8r]
bmurt has joined #ruby
<Disavowed>
allisio: I really think I'm misunderstanding Ruby testing - I mean I wouldn't test a .new method (unless perhaps it had a reasonable degree of complexity in the function signature). I guess I just have to keep asking stupid questions!
<allisio>
Disavowed: I specifically mentioned *responding* to #new in service of advising you to have at least a modicum of trust in the "system" to do what it's supposed to.
<allisio>
You should of course test that complex instantiations work correctly.
<Disavowed>
Regardless, thank you so much for your patience.
ThereIsNoYeti has joined #ruby
pawnbox has joined #ruby
jackjackdripper has joined #ruby
skweek has quit [Quit: Leaving]
skweek has joined #ruby
Channel6 has quit [Quit: Leaving]
jackjackdripper has quit [Client Quit]
pawnbox has quit [Ping timeout: 260 seconds]
hotpancakes has joined #ruby
Ruby_Rocks_007 has quit [Quit: Ruby_Rocks_007]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xall has quit [Ping timeout: 240 seconds]
akkad has quit [Excess Flood]
rkazak_ has quit [Quit: Sleep.....ing....]
Channel6 has joined #ruby
gix has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akkad has joined #ruby
hahuang65 has joined #ruby
gix has joined #ruby
charliesome has quit [Client Quit]
xall has joined #ruby
<bg>
is rubyconf harmful
hutch34 has joined #ruby
<bg>
i'm watching this guy fucking butcher his program in a talk called "Refactoring from Good to Great"
<bg>
this guy has been drank Uncle Bob's kool-aid
<bg>
s/drank/drinking/
<bg>
it's honestly scary
hutch34 has quit [Ping timeout: 264 seconds]
akkad has quit [Excess Flood]
<bg>
687 likes, 8 dislikes
<bg>
i can't believe what i'm watching
xall has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
marcdel has joined #ruby
cibs has quit [Ping timeout: 246 seconds]
akkad has joined #ruby
Trynemjoel has quit [Quit: Quitting]
cibs has joined #ruby
brent__ has quit [Remote host closed the connection]
morfin has joined #ruby
<morfin>
hello
Ruby_Rocks_007 has joined #ruby
<morfin>
returning to yesterday topic - i saw gems for JRuby which interface with plain Java libraries
elaptics has quit [Remote host closed the connection]
tyang has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<toretore>
polyzium: what can't you find?
<polyzium>
toretore, libopenmpt/libxmp/libmikmod.
jameser has joined #ruby
<polyzium>
toretore, nodejs has all of what i need, including these libs above
<toretore>
wow, blast from the past
bkxd has joined #ruby
<toretore>
why are you using ruby and not nodejs?
itsautomatisch has joined #ruby
igniting has joined #ruby
<polyzium>
the reason is simplicity and some guy told me to learn it
dionysus69 has quit [Ping timeout: 256 seconds]
<toretore>
i foresee many problems in your future if you try to use node libs from ruby
<polyzium>
k how about c libs?
<toretore>
pulling that out of my ass, but that's my instinct
<toretore>
c should be easier
hotpancakes has quit [Ping timeout: 246 seconds]
<toretore>
c -> js -> ruby < c -> ruby
squ has quit [Remote host closed the connection]
<polyzium>
toretore, less by what? performance?
<toretore>
but if you don't have any particular reason to use ruby, and such a specific need for libraries, it could be better to use a language where support already exists
<toretore>
just an unnecessary step
<toretore>
and probably performance, as you'd have to use a js runtime
ujjain has joined #ruby
ujjain has quit [Changing host]
ujjain has joined #ruby
<polyzium>
r.i.p. i cannot combine these
ogurk has quit [Ping timeout: 260 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<polyzium>
so i guess i should wait for someone making a binding for libopenmpt/libxmp/libmikmod or switch back to node
jamesaxl has quit [Read error: Connection reset by peer]
<polyzium>
just rip
<toretore>
it sounds like something python would have
pragmaticus has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
jamesaxl has joined #ruby
anisha has quit [Quit: Leaving]
<polyzium>
toretore, there is a port of libxmp to python. but pip is a mess
hutch34 has quit [Ping timeout: 240 seconds]
jameser has joined #ruby
<Burgestrand>
If you're very intent on using Ruby for whatever reason, and the API surface of the libraries you want to use is not too complex, then FFI is quite a nice experience for binding C libraries in Ruby.
<Burgestrand>
polyzium ^
<polyzium>
lol i know nothing about c as i used node before ruby
pragmaticus has joined #ruby
teddysmoker has joined #ruby
<polyzium>
but i'll take a look.
jameser has quit [Client Quit]
troulouliou_div2 has joined #ruby
millerti has joined #ruby
hutch34 has joined #ruby
jameser has joined #ruby
ebcz has joined #ruby
<herwin>
Burgestrand: you realize he's now going to load the V8 engine in ruby to run JS?
<herwin>
:)
charliesome has joined #ruby
kernelPaniq has quit [Ping timeout: 240 seconds]
jaruga__________ has quit [Quit: jaruga__________]
<Burgestrand>
herwin I didn't write anything about running JS within Ruby. :)
pragmaticus has quit [Ping timeout: 240 seconds]
charliesome has quit [Client Quit]
jaruga__________ has joined #ruby
minasploit has joined #ruby
<minasploit>
supp
<bg>
hi minasploit
<minasploit>
hw u?
<bg>
im fantastic, thank you!
<bg>
how are you?
<minasploit>
good too... am new to irc anything i shud know?
<bg>
yes
<minasploit>
being...
charliesome has joined #ruby
<bg>
you should know that the people in this channel are wonderful ^_______^
<minasploit>
rly?
<bg>
yes :3
jancsi has joined #ruby
<minasploit>
so shud we talk online about ruby or
<bg>
and you should know that if you have a question, you will have to be patient
ramortegui has joined #ruby
<bg>
people aren't always looking at irc so sometimes there will be like an hour or two with no activity
<minasploit>
oww no problem... should questions only be about ruby?
pawnbox has joined #ruby
<allisio>
Probably don't say "oww" if you're not in pain.
griffindy has joined #ruby
<minasploit>
haha cool
<jancsi>
hi all! I have ruby 2.1.9 installed on my Gentoo machine. I'm trying to install whois-parser with "gem install whois-parser" but I'm getting an error, that the "activesupport-5.0.2" dependency requires ruby >= 2.2.2. Unfortunately, ruby 2.1.9 is the only stable version available on gentoo. In whois-parser's package file it says it needs activesupport >=4.0. Is there a way to force the gem installation to not to use activesupport >5 ?
pawnbox has quit [Remote host closed the connection]
<jancsi>
Please note that I'm a first-day ruby guy here. :)
pawnbox has joined #ruby
minasploit has left #ruby [#ruby]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Snickers has quit [Ping timeout: 260 seconds]
failshell has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Eiam has quit [Ping timeout: 276 seconds]
nofxx has quit [Ping timeout: 256 seconds]
<bg>
jancsi: how about u build mri from source like a real gentoo power user
<jancsi>
bg, ?
<bg>
u can pry (lol) ruby 2.4 from my cold dead hands
<leah2>
jancsi: 2.1 is almost EOL'ed
<leah2>
just unmask it :P
<allisio>
jancsi: You mentioned you run Gentoo, and are now reaping your sown. :P
baked__beans has joined #ruby
<allisio>
bg: What's wrong with 2.5?
<bg>
:o
* bg
goes to install 2.5
<leah2>
lol
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<allisio>
I mean, you were the one who mentioned building from source?
<bg>
i actually didn't, since homebrew has relatively new versions available
<bg>
if my system package manager had 2.1.9 i'd build from source
ResidentBiscuit has joined #ruby
Burgestrand has quit [Quit: Closing time!]
s2013 has joined #ruby
<jancsi>
sorry for asking, I'll go and flush myself down the toilet
<bg>
jancsi: :s
<leah2>
jancsi: you probably can install an older version of whois-parser as well else
<jancsi>
no worries, I'll figure it out
<bg>
jancsi: i luv u and i want u 2 enjoy the latest and greatest that ruby has to offer
<bg>
i have ur best interests in mind
<allisio>
jancsi: Clone the project, modify those ">= 4"s to be "~> 4", `gem build *.gemspec`, `gem install *.gem`.
<bg>
allisio: do u watch rubyconf
<bg>
like do u attend it or watch the videos online
<allisio>
bg: I probably won't join you in your tirade against refactoring, if that's why you're asking. ;)
<bg>
i'm not against refactoring... wtf
<bg>
it's the *way* that this guy refactors
<bg>
i just need someone to tell me if this is serious or if it's some kind of joke that is going over my head
<bg>
why are the parentheses around parameters optional when it causes this ambiguity with array-decomposition parameters
<matthewd>
I never know how to answer a "why" question like that
<allisio>
It should be ignored, ideally.
<bg>
allisio: the question should be ignored?
<tobiasvl>
why are any parentheses optional
<bg>
it's a valid question
<bg>
you should ignore it because it hints at a flaw in your favorite language?
<tobiasvl>
how is precedence ambiguity a flaw
<tobiasvl>
it exists in all languages that are not… lisp
DLSteve_ has joined #ruby
<bg>
it's not precedence ambiguity
<bg>
what even is precedence ambiguity
<bg>
if all operators have well-defined precedence and associativity, there's really no ambiguity
<tobiasvl>
well, ambiguity to the programmer
SteenJobs_ has joined #ruby
Snickers has joined #ruby
<tobiasvl>
surely there's no ambiguity for ruby, not with array-decomposition parameters either?
millerti has joined #ruby
<bg>
that's right
singularity42 has joined #ruby
<bg>
this isn't a precedence thing though
certainty has quit [Ping timeout: 258 seconds]
cdg has joined #ruby
conta has quit [Ping timeout: 240 seconds]
xen0fon has quit [Quit: xen0fon]
<bg>
i wonder why [a, b] is not used for array-decomposition parameters
<bg>
more intuitive and it solves this problem
certainty has joined #ruby
hotpancakes has joined #ruby
cdg has quit [Read error: Connection reset by peer]
acalycine has joined #ruby
jonjoe has joined #ruby
cdg has joined #ruby
<matthewd>
"why" again :/
<singularity42>
hey all. can anyone direct me, or explain to me how in the world I use pipelines in ruby exec/system/backticks? I just get "command not found" any time I want to add a new pipe
<bg>
what is wrong with asking why?
<bg>
curiosity is frowned upon in the ruby community?
ferr1 has quit [Quit: WeeChat 1.7]
<bg>
singularity42: yes because pipes are interpreted by the shell
<dminuoso>
Do you folks feel like an exception constant should have the word "Error" in it?
<bg>
exec('a | b') looks for a binary called 'a | b'
<singularity42>
bg: right. so how do i chain commands?
<bg>
try exec()ing /bin/sh sh or similar with the arguments -c 'a | b'
Snickers has quit [Ping timeout: 260 seconds]
<bg>
or use a richer interface to spawn multiple processes and handle the piping yourself
<dminuoso>
singularity42: What do you mean by "chaining"
<matthewd>
bg: The phrasing presupposes there's a different, more correct, option, and asks for a justification for it being done differently from that
<bg>
matthewd: right
<bg>
do you not feel [a, b] would be better?
<dminuoso>
singularity42: If you use "exec", you can do exec("foo"); exec("bar"); ... :\
<dminuoso>
bg: because Ruby is not Javascript.
cdg has quit [Remote host closed the connection]
<bg>
what
<singularity42>
bg: adding an additional layer of complication, this is for powershell commands. such as `powershell Get-NetAdapter | Get-NetIPAddress`
<dminuoso>
15:40 < bg> i wonder why [a, b] is not used for array-decomposition parameters
<matthewd>
dminuoso: I generally prefer it, but if the name otherwise implies something sufficiently bad, I wouldn't feel strongly about it
jsaak has quit [Ping timeout: 240 seconds]
<dminuoso>
matthewd: UnknownPredicate bad enough?
Burgestrand has joined #ruby
<matthewd>
Yeah, I think Error on there would be superfluous, maybe even less clear
jsaak has joined #ruby
<singularity42>
dminuoso: sorry, i mean piping, not chaining
<bg>
what even are Get-NetAdapter and Get-NetIPAddress
lxsameer has quit [Quit: WeeChat 1.5]
<bg>
are they actual programs or just functions inside of powershell
<singularity42>
functions correct
<bg>
then you can't even run them with exec(), let alone construct a pipeline out of them
<bg>
you have to exec() powershell itself with some arguments the make it run a command line
hotpancakes has quit [Ping timeout: 246 seconds]
<dminuoso>
Interesting..
<dminuoso>
Wow.
<dminuoso>
>> [1,2].map &-> (e) { |a,b| }
<ruby[bot]>
dminuoso: # => /tmp/execpad-13d72ebc0ce8/source-13d72ebc0ce8:2: syntax error, unexpected '|' ...check link for more (https://eval.in/752294)
<ruby[bot]>
dminuoso: # => wrong number of arguments (given 1, expected 3) (ArgumentError) ...check link for more (https://eval.in/752297)
<dminuoso>
bg: ^- this.
<singularity42>
bg: ruby processes the first function without issue , i just cant do anyhing with it after that :( ive been trying literally for 2 work days to get some results
Trynemjoel has joined #ruby
<dminuoso>
I should stop using blocks immediately.
<dminuoso>
and procify lambdas instead.
<dminuoso>
blockify.
<bg>
dminuoso: what is &->
<bg>
oh
<bg>
haha
<dminuoso>
bg: & is the to_proc operator
<bg>
right
<singularity42>
i dont see why it seems so complicated to send a basic command structure :(
renchan has quit [Quit: Leaving...]
<bg>
singularity42: could you write a powershell script and run that from ruby?
<singularity42>
bg: hmmm. that might be an idea. I cant use powershell cause the system I am passing the info to doesnt support structured data from powershell. but it does from ruby. so i am trying to do it through ruby. i didnt think of going that route though
kernelPaniq has joined #ruby
<bg>
dminuoso: why didn't it print anything
<bg>
oh
TomyWork has joined #ruby
<bg>
what is returning from in the first one
<bg>
what is it returning from*
FastJack has quit [Ping timeout: 260 seconds]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
<bg>
dminuoso: what is -> (e) { ... }
<bg>
i don't understand what & is doing there
<bg>
`-> (e) { 42 }` is a Proc
<bg>
`&-> (e) { 42 }` is a syntax error on its own -- but i don't know why
<dminuoso>
15:59 < bg> `-> (e) { 42 }` is a Proc
<allisio>
I do this weird thing where I assume people with very short nicks are competent netizens.
<allisio>
I thought there might be something about mutating a translation table as you chomp along the string, but the lack of slices makes that a non-starter.
renchan has quit [Remote host closed the connection]
<allisio>
`'z'.succ.succ` needs to be 'b', not 'a'.
<allisio>
Have you had your coffee? :P
<matthewd>
downcase changes the output for uppercase inputs
<baweaver>
ach, block
Beams has joined #ruby
* baweaver
wanders off to get coffee
shinnya has quit [Ping timeout: 240 seconds]
Exuma has quit [Client Quit]
BackEndCoder has quit [Excess Flood]
SeepingN has joined #ruby
pandaant has quit [Remote host closed the connection]
Beams_ has quit [Ping timeout: 240 seconds]
<baweaver>
gah, Ox0dea is offline.
<baweaver>
they lurk in other channels on occasion.
samdvr has joined #ruby
samdvr has quit [Client Quit]
millerti has joined #ruby
BackEndCoder has joined #ruby
andikr has quit [Remote host closed the connection]
bg has joined #ruby
xzhao has quit [Remote host closed the connection]
xzhao has joined #ruby
ElDoggo has joined #ruby
mula has joined #ruby
SteenJobs_ has quit [Quit: SteenJobs_]
SteenJobs_ has joined #ruby
szulak_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
SteenJobs_ has quit [Client Quit]
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
conta has joined #ruby
xzhao has quit [Remote host closed the connection]
tercenya has quit [Remote host closed the connection]
chopin has quit [Remote host closed the connection]
tercenya has joined #ruby
bg has quit [Quit: :*]
xzhao has joined #ruby
Alina-malina has quit [Ping timeout: 240 seconds]
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
SteenJobs_ has joined #ruby
gsilva has quit [Read error: Connection reset by peer]
bigkevmcd has quit [Quit: Outta here...]
Beams has quit [Quit: .]
djbkd has joined #ruby
ramfjord has joined #ruby
mula has quit [Read error: No route to host]
samdvr has joined #ruby
mula has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flying has quit []
jaruga__________ has joined #ruby
jaruga__________ has quit [Remote host closed the connection]
conta has quit [Quit: conta]
samdvr has quit [Client Quit]
samdvr has joined #ruby
mula has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 258 seconds]
sid_fules has quit [Remote host closed the connection]
sid_fules has joined #ruby
mula has joined #ruby
rgiscard has joined #ruby
sid_fules has quit [Ping timeout: 260 seconds]
samdvr has quit [Quit: samdvr]
AndBobsYourUncle has joined #ruby
lxsameer has joined #ruby
tildes_ has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
brent__ has quit [Remote host closed the connection]
AndBobsYourUncle has quit [Ping timeout: 260 seconds]
willardg has joined #ruby
millerti has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
brent__ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
Ruby_Rocks_007 has quit [Quit: Ruby_Rocks_007]
gusrub has quit [Ping timeout: 256 seconds]
khaki has joined #ruby
gusrub has joined #ruby
brent__ has quit [Ping timeout: 258 seconds]
kirun has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
electrostat has quit [Quit: uwotm8]
cgdub has joined #ruby
electrostat has joined #ruby
Rex has quit [Ping timeout: 268 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xiti has quit [Quit: Xiti]
montanonic has joined #ruby
Rex has joined #ruby
pifon has joined #ruby
hahuang65 has joined #ruby
ramfjord has joined #ruby
redsandhand has joined #ruby
JeanCarloMachado has quit [Ping timeout: 256 seconds]
<ruby[bot]>
Tatou: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<allisio>
Tatou: That's just calling a method with a Hash argument.
mula has quit [Remote host closed the connection]
<elomatreb>
Is it? That does not look like valid Ruby syntax
<Tatou>
Is it not valid ruby syntax? That is what is confusing me..
Rex has joined #ruby
Oldn0rse has joined #ruby
<allisio>
Tatou: Yeah, never mind. But then you'll have to clarify what you mean by "these".
<Tatou>
allisio: That's how you declare things in a puppet manifest..
<Tatou>
I was wondering if there is a name for such a thing in Ruby. Is that just valid ruby?
<allisio>
Nah, there's a few things that make it syntactically invalid.
<allisio>
It's meant to look a lot like Ruby, obviously, and you can get there with a bit of finagling.
<baweaver>
Valid ruby would be: user {name: 'mitchell', ensure => present, ... }
<Tatou>
Ok.. Well, I don't know if this is good news or not!
cfec0b8d has joined #ruby
<Tatou>
I was trying to work out if I can make my own user style type, but with random fields
<allisio>
You can.
szulak has joined #ruby
<Tatou>
In puppet?
<elomatreb>
baweaver: Would it be valid? Wouldn't it think ensure is a keyword?
JoshS has joined #ruby
<baweaver>
point
<baweaver>
if it eval'd to true/false though
<baweaver>
that's what I was half thinking
TomyLobo has joined #ruby
millerti has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
mula has joined #ruby
milardovich has joined #ruby
Eiam has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.5]
<cek>
Am I right saying that if attacker gains access to executing ruby code inside any of my class instance, I'm screwed.
<baweaver>
If an attacker has any type of eval access to anything you're screwed
<elomatreb>
If an attacker gains access to executing ruby code anywhere in not in a heavily sandboxed env, you're screwed
<baweaver>
`sudo rm -rf /` and boom
khaki has quit [Ping timeout: 256 seconds]
<baweaver>
DO NOT RUN THAT COMMAND IN RUBY
<allisio>
It's safe.
<elomatreb>
--no-preserve-root
<baweaver>
that as well
<allisio>
`rm -rf ~` is considerably more sinister.
mula has quit [Remote host closed the connection]
hotpancakes has quit [Remote host closed the connection]
<baweaver>
If you have to ask, it's probably a bad idea for security.
<cek>
they won't be able to access a secret in object not referenced and unreachable from within the context. I don't care about system being wiped. The question was about global object pointer table or alike, if such exists.
<allisio>
cek: Yeah, ObjectSpace exists.
<elomatreb>
You can't rely on access control for security, it's always bypassable
<allisio>
You can get to anywhere from anywhere else in Ruby.
<cek>
you have to understand ruby very well in order to answer my question.
<allisio>
cek: Try to hide something in a Ruby program.
<allisio>
I'll happily show you how to get to it.
<elomatreb>
You can literally enumerate all current objects from anywhere
<cek>
apeiros: what do you think?
millerti has quit [Client Quit]
<allisio>
cek: Why not just accept my challenge?
* baweaver
grabs popcorn
<allisio>
cek: In the final analysis, ObjectSpace + Fiddle makes it delightfully straightforward to get hold of every single live object in the system, and even some dead ones.
<allisio>
You could stick your thing on FrozenCore or some such, but even that's not terra incognita.
hahuang61 has quit [Quit: WeeChat 1.7]
<allisio>
You have to understand Ruby very well in order to properly ask your question.
hahuang65 has joined #ruby
patarr_ has quit [Ping timeout: 268 seconds]
bg has quit [Quit: :*]
<antoniobeyah>
allisio: personal curiosity, what is Fiddle?
Silthias has quit [Ping timeout: 240 seconds]
<allisio>
antoniobeyah: The layer between Ruby and C is actually surprisingly thin, and Fiddle makes it all but disappear.
<allisio>
Pretty sure it's been there from the beginning, but Perl borrowed it from AWK.
xen0fon has joined #ruby
<hxegon>
Just to double check here, you BEGIN runs a block before anything else in the program, you patched Object to assign self to a global var?
<hxegon>
s/you/your
<allisio>
It's just a minimally demonstrative example of the theory.
<cek>
never heard of BEGIN. Well, at this point I'm sure there exist additional ways of circumventing traditional encapsulation concept then.
patarr has joined #ruby
<allisio>
In Ruby, everything is always open.
<allisio>
If it's closed, you can open it with little more than a method call.
<cek>
this is very, very daunting.
<elomatreb>
Why would you want this though?
<allisio>
If your thing involves letting the user run arbitrary Ruby code, there are battle-tested sandboxen at your disposal.
<allisio>
You really don't want to home-grow something like that.
<cek>
yes, that code is called dsl
<cek>
it seems you have to write / use a parser instead of what you would normally accomplish with simple ruby dsl
psychicist__ has quit [Ping timeout: 256 seconds]
jackjackdripper1 has joined #ruby
Rex has joined #ruby
Ruby_Rocks_007 has quit [Quit: Ruby_Rocks_007]
jackjackdripper has quit [Ping timeout: 260 seconds]
<allisio>
You haven't said much about what it is you're trying to do, but if your aim is to hide something from users of your library *within* that same library, definitely give it up as a fool's errand.
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
dionysus69 has quit [Ping timeout: 264 seconds]
Ruby_Rocks_007 has joined #ruby
ColeHub has quit [Quit: Snooze.]
cvander has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
cek has left #ruby [#ruby]
millerti has joined #ruby
Silox| has joined #ruby
pabloh has joined #ruby
psychicist__ has joined #ruby
montanonic has quit [Ping timeout: 258 seconds]
tildes_ has quit [Ping timeout: 246 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
psychicist__ has quit [Ping timeout: 264 seconds]
johnny56 has joined #ruby
tercenya has quit [Read error: Connection reset by peer]
ColeHub has joined #ruby
psychicist__ has joined #ruby
tercenya has joined #ruby
elifoster has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
johnny56 has joined #ruby
chouhoul_ has joined #ruby
aesthetikx has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
tildes_ has joined #ruby
<aesthetikx>
Does anyone know when 2.4.1 is going to come out, waiting to update but that weird instance_exec block argument thing is breaking my build
dmin7b5 has joined #ruby
<dminuoso>
aesthetikx: Can you link the bug?
skweek has joined #ruby
<dminuoso>
aesthetikx: And if it breaks your build, then downgrade Ruby.
milardovich has quit [Remote host closed the connection]
<hxegon>
Question: You find a gem that you need to make work because <business reasons>, and you are going to rely on it for mission critical tasks all the time. But the code is awful. It's complex, non-idiomatic, hardly readable semi-garbage. The test suite runs against some undocumented endpoint. Documentation is outdated at best, completely non-existant at worst. You aren't familiar with the problem domain, and
<hxegon>
reading the code brings up more questions than answers. What do you do?
<Papierkorb>
hxegon: Not use it
<allisio>
But <business reasons>!
skweek has quit [Ping timeout: 240 seconds]
<Papierkorb>
hxegon: If you're not comfortable using a certain library in general: Don't use it.
<hxegon>
Papierkorb: If it were you, you'd rewrite it vs try to refactor?
<Papierkorb>
hxegon: I can't tell you without context. both may be reasonable.
dhollinger has joined #ruby
skweek has joined #ruby
xzhao has quit [Remote host closed the connection]
<hxegon>
I was a little hard on it, there are spots that are decent, but...
cek has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
johnny56 has joined #ruby
jamesaxl has joined #ruby
<hxegon>
just to give an approximate taste, sloccount gives it about 2000 lines of ruby, and rubocop gives lib/ 1368 offenses
<baweaver>
ignore rubocop
<hxegon>
Not that I try and adhear to rubocop strictly, but in this case
<baweaver>
For a library, focus on structure and docs.
<baweaver>
Rubocop gripes are worthless unless you intend to fix them everywhere
<Papierkorb>
rubocop can be pretty nitpicky at times, especially if you don't adhere exactly to its ruleset (e.g. because you didn't use rubocop or because your rubocop.yml is outdated)
<baweaver>
in this case they're skimpy on docs everywhere and don't know what SQL actually does in some areas.
<baweaver>
TL;DR: Rubocop is not the law, don't get hung up on it when viewing someone elses code
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 258 seconds]
<hxegon>
the rubocop corrections are really needed honestly
hutch34 has joined #ruby
<baweaver>
name a few
<baweaver>
because a lot of them are really nitpicky and worthless to worry about unless it's your codebase.
<cek>
i now have totally forgotten closures in ruby. How do I unbind a proc and execute it in caller context, not the context it's been defined?
<hxegon>
well for example the style rule that adds underscores to unused arguments helps, because they are all over the place
<hxegon>
helps to know up front
<baweaver>
nitpicky
<baweaver>
next
<hxegon>
making comments not start at the beginning of a line regardless of the surrounding indentation
<baweaver>
don't get hung up on those. CodeClimate is a way better indication, and even that's not the best (see README)
<hxegon>
again, many small improvements
<Papierkorb>
cek: you're looking for instance_exec(&the_proc)
<baweaver>
and it catches some interesting classes of issues
<cek>
no, i'm not. that changes the self
<hxegon>
A lot of it's stuff I'd end up doing myself anyway
<hxegon>
changing normal strings from using " to '
<baweaver>
again, really frivolous to worry over
<hxegon>
not to worry over, these aren't the issues that matter, but I can just run it over the whole code base and it's a minor improvement
<baweaver>
you should worry about things like Session login being ridiculously strongly coupled
<hxegon>
Or the mind numbing demeter violations in errors
oryman has quit [Remote host closed the connection]
<cek>
docs say: > Executes the given block within the context of the receiver ..., the variable self is set to obj while the code is executing,
<cek>
so you'd expect your { tproc.call } would be executed in self context, but it isn't , because it will be executed in tproc's defining context
Wolfpack_12 has joined #ruby
JoshS has quit [Quit: Leaving]
<hxegon>
probably right baweaver, hate to admit it. I'd *like* to rewrite, but realistically I don't think it's an option given my time constraints.
jamesaxl has quit [Quit: Leaving]
<baweaver>
The fact of the matter is that a lot of things we use are ducttape. Ignorance is bliss and whatnot.
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<hxegon>
I'd like to ignore as much as possible, but It's going to be to critical to operations to try and sweep under the rug. Once we get going downtime would be really bad
Lord_of_Life has quit [Excess Flood]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
mula has joined #ruby
renchan has quit [Remote host closed the connection]
alibby has joined #ruby
djbkd has joined #ruby
<Papierkorb>
hxegon: IMHO the biggest improvement would then writing (additional) tests. Then you can somewhat safely refactor later on. But at least you're sure it at least works, or does not and you find a bug before you hit it in prod :)
<hxegon>
Papierkorb: need to get the tests working first, but yeah :)
planigan has quit [Remote host closed the connection]
SeepingN has joined #ruby
vuoto has quit [Remote host closed the connection]
psychicist__ has joined #ruby
\tau is now known as rolls
djbkd has quit [Ping timeout: 240 seconds]
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
eclecticjohny has joined #ruby
skweek has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
hxegon is now known as hxegon_afk
Oldn0rse has quit []
Asher has joined #ruby
mula has quit [Remote host closed the connection]
dstrunk has joined #ruby
lianj_ has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
lianj has joined #ruby
lianj has quit [Changing host]
lianj has joined #ruby
cgdub has quit [Remote host closed the connection]
sid_fules has joined #ruby
resin has joined #ruby
electrostat has quit [Quit: uwotm8]
pawnbox has quit [Remote host closed the connection]
electrostat has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
JeanCarloMachado has joined #ruby
Trynemjoel has joined #ruby
<mwlang>
*sigh* … Every major macOS upgrade brings the dance of “how to install imagemagick and rmagick” and “how to install nokogiri” dance back to life.
<dminuoso>
mwlang: use docker with an ubuntu base image?
<dminuoso>
And never give a fuck again
montanonic has quit [Ping timeout: 240 seconds]
<mwlang>
dminuoso: funny you mention that…that’s essentially what I just did to get back to operational on Ruby 1.8.6 and 1.8.7. I guess it’s time to go all in.
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sid_fules has quit [Remote host closed the connection]
<mwlang>
I just haven’t because I have about 70 or so live projects I have to dockerize.
<dminuoso>
mwlang: Then you definitely should approach it carefully, as you probably want to plan ahead with your CI chain, docker registry, etc.
<mwlang>
and I probably need to invest in a 1TB SSD, too.
<mwlang>
dminuoso: lots of moving parts, for sure.
dstrunk has joined #ruby
<mwlang>
dminuoso: I’m curious though…isn’t there still a maintenance overhead maintaining the OS images? For example, installing the extension packs every where every time VirtualBox puts out a new release?
zeroDi has joined #ruby
<dminuoso>
mwlang: no
djbkd has quit [Remote host closed the connection]
<dminuoso>
mwlang: and what does this have to do with VirtualBox?
psychicist__ has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Remote host closed the connection]
psychicist__ has joined #ruby
<dminuoso>
mwlang: remember that the OS images are maintained by *other* folks.
<mwlang>
dminuoso: woah, things have changed with docker. I just had docker lying around from a few years ago on coreos VM and cloned that puppy and got things running thatta way.
<mwlang>
Didn’t know there’s a mac app now. :-o
<dminuoso>
mwlang: there's just some subtle annoyances under mac.
Rex has quit [Read error: Connection reset by peer]
<dminuoso>
but other than that its install and it works.
Rex has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* mwlang
going off to read up on “modern docker practices"
<dminuoso>
mwlang: ship early, ship often!
<dminuoso>
Oh wait. Wrong paradigm.
<dminuoso>
:D
Silox| has quit [Quit: Connection closed for inactivity]
<mwlang>
LMAO
rgiscard has quit [Quit: Gone fishing]
pilne has joined #ruby
<dminuoso>
mwlang: Though honestly the girl analogy has helped me a lot with git.
<mwlang>
I think the pardigm you’re looking for is “git widah program, already!”
KnownSyntax_ has joined #ruby
pilne has quit [Remote host closed the connection]
<dminuoso>
mwlang: Well, the git paradigm is: "treat git like girlfriends. commit early and commit often"
<dminuoso>
Oh my. I just found this funny git joke
<dminuoso>
A branch, a tag, and a reflog walk into a bar. The bartender says, "What is this, some sort of rebase?"
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evaleval has joined #ruby
<mwlang>
lol
dstrunk has joined #ruby
KnownSyntax has quit [Ping timeout: 260 seconds]
<dminuoso>
mwlang: This one I heard in #git a long while ago:
<evaleval>
I'm using Resque to process some objects and part of the processing is to generate a unique slug (using friendly_id). Unfortunately, there are times when two processes check the db for the slug, see no one has it, and assign it which causes the second to fail.
<dminuoso>
Git gets easier once you get the basic idea that branches are homeomorphic endofunctors mapping submanifolds of a Hilbert space.
<pabloh>
anyone here familiar with sequel?
<pabloh>
the gem
<evaleval>
I'm trying to figure out a sane solution. My thought was to queue to the objects up and process their slug one by one.
<Papierkorb>
pabloh: just ask
* mwlang
uses sequel
djbkd has joined #ruby
* Papierkorb
thinks sequel is the best thing since sliced bread
<SeepingN>
and almost as old
<mwlang>
dminuoso: that’s about right…about how my mind blanks out when going through the nitty gritty of Ruby Net/…. libraries. :-)
<Papierkorb>
it's actively developed
<pabloh>
Papierkorb, mwkang, do you know any plugin, or functionality to do profiling?
<pabloh>
I would like to count the number of queries during requests?
<mwlang>
pabloh: I thought Sequel exposes profiling through #explain or something like that.
<dminuoso>
That being said, I just found the simplest explanation on what a Monad is..
nOwz has quit [Ping timeout: 268 seconds]
<dminuoso>
All told, a monad in X is just a monoid in the category of endofunctors of X, with product × replaced by composition of endofunctors and unit set by the identity endofunctor.
<pabloh>
and have tests to detect if a N+1 problem arises?
<baweaver>
pabloh: that's called don't call it in a loop
raspado has quit [Remote host closed the connection]
bmurt has joined #ruby
maattdd has joined #ruby
<Papierkorb>
pabloh: can't find something right now. There's #sequel, getting an answer might take a while though
Arpanet69 has quit [Ping timeout: 240 seconds]
<pabloh>
Papierkorb, I already asked there, maybe I could try the google group later
<pabloh>
the mailing list I mean
<Papierkorb>
pabloh: "take a while" = up to 24 hours
<pabloh>
yeap
pifon has quit [Quit: Connection closed for inactivity]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
<mwlang>
pabloh: that’s not really something writing test cases for are useful. Far better to just have console scrolling the log and spotting such scenarios while “useful” unit tests are running. Because once you fix it, the test becomes pretty worthless.
Arpanet69 has joined #ruby
<mwlang>
pabloh: just stay connected to the #sequel channel. Jeremy’s pretty frickin’ consistent about coming through with answers.
Rex has quit [Ping timeout: 246 seconds]
<mwlang>
otherwise, post it on Stack Overflow.
<pabloh>
cool
bmurt has quit [Ping timeout: 260 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Arpanet69 has quit [Ping timeout: 260 seconds]
Fernando-Basso has quit [Quit: WeeChat 1.7]
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]