ttoocs has quit [Read error: Connection reset by peer]
ttoocs has joined #ruby
cliluw has quit [Ping timeout: 256 seconds]
alfiemax has quit [Remote host closed the connection]
consti has joined #ruby
ritalinona has quit [Ping timeout: 240 seconds]
iNs has quit [Ping timeout: 240 seconds]
lineus has quit [Ping timeout: 240 seconds]
cnsvc has quit [Ping timeout: 240 seconds]
galaxie has quit [Ping timeout: 240 seconds]
phaul has joined #ruby
_phaul has quit [Ping timeout: 265 seconds]
lineus has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
iNs has joined #ruby
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davor has quit [Ping timeout: 240 seconds]
cliluw has joined #ruby
vondruch has quit [Remote host closed the connection]
davor has joined #ruby
vondruch has joined #ruby
ferche23 has quit [Read error: Connection reset by peer]
cliluw has quit [Ping timeout: 240 seconds]
code_zombie has quit [Read error: Connection reset by peer]
_phaul has joined #ruby
ritalinona has joined #ruby
phaul has quit [Ping timeout: 264 seconds]
galaxie has joined #ruby
markopasha has joined #ruby
cthu| has quit [Ping timeout: 264 seconds]
markopasha has quit [Max SendQ exceeded]
markopasha has joined #ruby
cnsvc has joined #ruby
d3bug has quit [Quit: Connection closed for inactivity]
cschneid_ has joined #ruby
cschneid has quit [Ping timeout: 265 seconds]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
alfiemax has joined #ruby
jetchisel has joined #ruby
phaul has joined #ruby
_phaul has quit [Ping timeout: 264 seconds]
alfiemax has quit [Remote host closed the connection]
code_zombie has joined #ruby
apotheon has quit [Ping timeout: 260 seconds]
_phaul has joined #ruby
Jonopoly has joined #ruby
phaul has quit [Ping timeout: 264 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
lineus_ has joined #ruby
apotheon has joined #ruby
lineus has quit [Ping timeout: 240 seconds]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
alfiemax has joined #ruby
daqing has joined #ruby
<daqing>
hi, everyone, I've built libvips 8.9 from source, but my rails app still throw exception which says (image_processing/vips needs libvips 8.6+)
<daqing>
I don't know how ruby-vips select which version of libvips
<daqing>
can someone help me ?
xco has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
ur5us has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
phaul has quit [Ping timeout: 260 seconds]
phaul has joined #ruby
jingjing1 has joined #ruby
jingjinghack has quit [Ping timeout: 264 seconds]
_phaul has joined #ruby
cschneid has joined #ruby
phaul has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 258 seconds]
gix has quit [Quit: Client exiting]
gix has joined #ruby
postmodern has quit [Quit: Leaving]
consti has joined #ruby
ujjain has joined #ruby
<ujjain>
How can I change this to 1 line for my Rakefile? myvar = ENV['box_stem']
<ujjain>
puts "box_stem: #{myvar}"
chalkmonster has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
<_phaul>
puts "box_stem: #{ENV['box_stem']}"
<_phaul>
but then the local var myvar is not defined, so can't be used later...
<ujjain>
thanks
alfiemax has joined #ruby
conta has joined #ruby
code_zombie__ has joined #ruby
code_zombie_ has quit [Ping timeout: 240 seconds]
jingjing1 has quit [Quit: WeeChat 2.1]
conta has quit [Quit: conta]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
consti has quit [Quit: consti]
fercell has joined #ruby
consti has joined #ruby
consti has quit [Client Quit]
ur5us has quit [Ping timeout: 240 seconds]
code_zombie_ has joined #ruby
sergioro has quit [Quit: leaving]
code_zombie__ has quit [Ping timeout: 256 seconds]
alfiemax has quit [Remote host closed the connection]
lineus has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
TCZ has joined #ruby
lineus_ has quit [Ping timeout: 240 seconds]
consti has joined #ruby
cschneid_ has joined #ruby
cschneid has quit [Ping timeout: 258 seconds]
mnemon has joined #ruby
_whitelogger has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
xco has joined #ruby
xco has quit [Client Quit]
xco has joined #ruby
Tungki has joined #ruby
TomyLobo has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
hassox has joined #ruby
drincruz has joined #ruby
ExoUNX has joined #ruby
markopasha has quit [Ping timeout: 250 seconds]
hassox has quit [Ping timeout: 256 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
banisterfiend has joined #ruby
Tungki has quit [Read error: Connection reset by peer]
caterfxo has quit [Ping timeout: 256 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
jacksop has joined #ruby
alfiemax has joined #ruby
vondruch has quit [Ping timeout: 256 seconds]
clemens3 has quit [Quit: reboot]
clemens3 has joined #ruby
drincruz has quit [Ping timeout: 258 seconds]
consti has quit [Quit: consti]
brool has joined #ruby
drincruz has joined #ruby
consti has joined #ruby
consti has quit [Client Quit]
bvdw has joined #ruby
consti has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.7.1]
leitz has joined #ruby
caterfxo has joined #ruby
<leitz>
Assuming a person had reasonable coding skills in a language, and wanted to participate in an open source project, would you consider any skills more important than these six: Team Communication, Version Control, Code Reading, Test Driven Development, Documentation, Packaging and Deployment.
consti has quit [Quit: consti]
vondruch has joined #ruby
banisterfiend has quit [Ping timeout: 256 seconds]
arcaos has quit [Read error: Connection reset by peer]
jacksop has quit [Remote host closed the connection]
jacksop has joined #ruby
vondruch has quit [Quit: vondruch]
arcaos has joined #ruby
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
jacksop has quit [Ping timeout: 260 seconds]
Tungki has joined #ruby
cschneid_ has quit [Ping timeout: 256 seconds]
cschneid has joined #ruby
cd has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
aphprentice__ has joined #ruby
pandakekok9 has quit [Quit: leaving]
ellcs has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
ellcs has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 264 seconds]
pupsikov has joined #ruby
jacksop has joined #ruby
vondruch has quit [Quit: vondruch]
hiroaki has joined #ruby
vondruch has joined #ruby
jacksop has quit [Remote host closed the connection]
TCZ has quit [Quit: Leaving]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
GodFather has joined #ruby
lucasb has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
jmcgnh has quit [Read error: Connection reset by peer]
lazyatom has joined #ruby
jmcgnh has joined #ruby
<apotheon>
class String; def in? arr; arr.include? self; end; end
<apotheon>
the_basket = Array.new
<apotheon>
puts 'the lotion'.in? the_basket
<apotheon>
false
<apotheon>
hmm
<apotheon>
I think I need a the_hose_again method.
<_phaul>
apotheon: ?
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
<apotheon>
_phaul: nothing
<apotheon>
Something just remined me of Silence Of The Lambs this morning.
<adam12>
lol
sagax has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
impermanence has joined #ruby
cthu| has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
Tungki has quit [Read error: Connection reset by peer]
nullus has joined #ruby
<apotheon>
I swear I'm not always prone to useless non-sequiturs.
ellcs has joined #ruby
bvdw has quit [Ping timeout: 258 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
fercell has quit [Quit: WeeChat 2.7.1]
tsujp has joined #ruby
tsujp has quit [Client Quit]
roadie has quit [Read error: Connection reset by peer]
<havenwood>
leitz: Code writing. :P Packaging may not be part of the project. Documentation is what I started doing PRs on before I could write code. Version control and tests are no doubt important.
<havenwood>
leitz: There are other important aspects of open source contribution, but not everyone has all of them. For example, contributing the logo via design. That sort of thing matters too!
<havenwood>
leitz: Triaging issues is another way to get involved, but that usually follows one of the others, after you've built some repor.
<havenwood>
"I don't want a new operator that does not introduce something new."
regreg has joined #ruby
fluxAeon has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
<apotheon>
har
bitcycle has joined #ruby
arahael2 has joined #ruby
<leitz>
havenwood, I'm focusing on the base skills "you", as a hypothetical (or not?) Open Source project lead would like newbies to join with.
<leitz>
The project starts with the "you must know how to code, and at least some Ruby. Now, here's what's next."
<leitz>
Assuming, of course, I know how to code...
orbyt_ has joined #ruby
Arkantos has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
akem has joined #ruby
<havenwood>
leitz: Wish to be helpful, persevere in finding and fixing an issue or making an improvement, have patience, be kind, and that kind of thing.
<havenwood>
leitz: Communication does matter too. I think there are many ways to contribute and they require diverse are varied skills.
<havenwood>
leitz: There isn't a single cookie cutter way. If you pick things broad enough to encompass them all, it'll be incredibly vague. If you select a single path, it'll omit others. I think my answer is, "It depends."
<leitz>
havenwood, understood. The main goal is to help participants bridge the gap from "leaned from the book" to "able to help in a project". A focus on someone who can code some, and wants to make a difference.
<leitz>
I'm still working on the "be kind" bit myself.
<apotheon>
leitz: At that point, I think the most important thing to learn is how to use the tools necessary for contributing fixes for outstanding issues on a project, or for things you find that aren't right or could be improved.
<apotheon>
. . . which often involves understanding Git and GitHub, and following directions in the README or whatever else the project might offer in the way of guidance on how to go about contributing.
<siery>
Hey guys, you know how to write that short if expression (cond ? do_something : skip?) to ship the else statement? Something like `cond ? do_something : ;;`.
<apotheon>
Key to the Git part of it is knowing some common Git process practices, such as using branches for feature and fix development.
<siery>
s*kip the else
<apotheon>
siery: That's called a "ternary operator", by the way, because it's an infix operator with two parts dividing three arguments.
<apotheon>
If you want it without the else, though, I'd just use a condition-last one-line "if".
<apotheon>
. . . like: do_something if cond
<apotheon>
You could also conceivably write it more like: if cond then do_something end
lucasb has quit [Quit: Connection closed for inactivity]
<leitz>
apotheon, github is one of the topics for discussion.
<siery>
apotheon: hm.. do you consider this readible then:
<siery>
file_list = lambda { if do_search_content then (status = search_content) ? status : [] end }.call
<apotheon>
err
<apotheon>
Should that be == instead of = in your condition?
<_phaul>
what is the purpose of the lambda there?
<brool>
i think that's being too clever
<siery>
nope, I asigne the status of the search_conent method to the status variable
<apotheon>
I consider that too long to be on a single line, actually.
<apotheon>
. . . and also too clever by half, most likely.
<siery>
maybe I just make this method return an empty array then
lineus_ has joined #ruby
<apotheon>
Why not just define a method?
<apotheon>
Why stick it all on one line?
<siery>
well, that's actually an simple script to change a pattern in files content or names, which I consider to be too long already c:
<apotheon>
I'm not sure I get the point of all that. A minimally modified rewrite to remove what appears to be unnecessary might be:
lineus_ has quit [Remote host closed the connection]
lineus has joined #ruby
<siery>
like that will require to serch all files twice
<apotheon>
Oh, is search_content a method?
<apotheon>
I figured it was a variable.
sergioro has joined #ruby
<apotheon>
. . . but the or-assignment approach should be more efficient than the assignment-inside-a-ternary-inside-a-conditional-inside-a lambda-inside-an-assignment approach, anyway.
<siery>
c:
myphs has joined #ruby
myphs has quit [Client Quit]
sh7d has quit [Read error: Connection reset by peer]
factormystic3 has joined #ruby
nofxx_ has quit [Remote host closed the connection]