baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 2.4.6: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
renich has quit [Quit: renich]
renich has joined #ruby
hightower3 has quit [Ping timeout: 258 seconds]
haengma has quit [Remote host closed the connection]
AlHafoudh has joined #ruby
haengma has joined #ruby
haengma has quit [Ping timeout: 245 seconds]
AJA4350 has quit [Remote host closed the connection]
AJA4350 has joined #ruby
AlHafoudh has quit [Ping timeout: 252 seconds]
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cnsvc has quit [Ping timeout: 256 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
fphilipe_ has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
gix has quit [Ping timeout: 246 seconds]
edwardly has quit [Read error: Connection reset by peer]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
AJA4350 has quit [Ping timeout: 248 seconds]
ur5us has joined #ruby
fphilipe_ has quit [Ping timeout: 258 seconds]
DTZUZO has quit [Ping timeout: 252 seconds]
noobineer has joined #ruby
cnsvc has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agent_white has quit [Quit: Lost terminal]
budonyc has joined #ruby
pupsikov has joined #ruby
fphilipe_ has joined #ruby
espinet has joined #ruby
djellemah has quit [Ping timeout: 245 seconds]
orbyt_ has joined #ruby
tdy has joined #ruby
gnufied has quit [Quit: Leaving]
AlHafoudh has joined #ruby
djellemah has joined #ruby
duderonomy has joined #ruby
arand has quit [Read error: Connection reset by peer]
arand has joined #ruby
renich has quit [Ping timeout: 246 seconds]
fphilipe_ has quit [Ping timeout: 258 seconds]
hightower3 has joined #ruby
AlHafoudh has quit [Ping timeout: 245 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
eblip has joined #ruby
fphilipe_ has joined #ruby
braincrash has quit [Quit: bye bye]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has joined #ruby
braincrash has joined #ruby
kapilp has quit [Quit: Connection closed for inactivity]
i1nfusion has quit [Remote host closed the connection]
budonyc has quit [Remote host closed the connection]
i1nfusion has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
hightower3 has quit [Ping timeout: 252 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
ramfjord has joined #ruby
cnsvc has joined #ruby
cold_iron has quit [Quit: WeeChat 2.4]
ramfjord has quit [Ping timeout: 258 seconds]
djellemah has quit [Ping timeout: 245 seconds]
fphilipe_ has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
dar123 has joined #ruby
laaron has quit [Remote host closed the connection]
AlHafoudh has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
cnsvc has joined #ruby
Swyper has quit [Remote host closed the connection]
laaron has joined #ruby
AlHafoudh has quit [Ping timeout: 252 seconds]
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
salasrod has quit [Read error: Connection reset by peer]
m27frogy has quit [Quit: ZNC - https://znc.in]
salasrod has joined #ruby
m27frogy has joined #ruby
rhuang_ has joined #ruby
Freshnuts has quit [Quit: Leaving]
rhuang_ has quit [Ping timeout: 246 seconds]
maryo_ has quit [Ping timeout: 255 seconds]
noobineer has quit [Ping timeout: 246 seconds]
AlHafoudh has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
Tempesta has quit [Quit: See ya!]
AlHafoudh has quit [Ping timeout: 248 seconds]
ur5us has quit [Ping timeout: 245 seconds]
Tempesta has joined #ruby
orbyt_ has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
fphilipe_ has joined #ruby
rhuang_ has joined #ruby
jenrzzz has joined #ruby
rhuang_ has quit [Ping timeout: 248 seconds]
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
swarley has quit [Ping timeout: 256 seconds]
kapilp has joined #ruby
rhuang_ has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
laaron has quit [Remote host closed the connection]
jenrzzz has joined #ruby
laaron has joined #ruby
espinet has quit [Quit: espinet]
espinet has joined #ruby
espinet has quit [Client Quit]
espinet has joined #ruby
espinet has quit [Client Quit]
espinet has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
espinet has quit [Client Quit]
espinet has joined #ruby
espinet has quit [Client Quit]
espinet has joined #ruby
espinet has quit [Client Quit]
espinet has joined #ruby
rhuang_ has quit [Ping timeout: 248 seconds]
espinet has quit [Client Quit]
fphilipe_ has quit [Ping timeout: 258 seconds]
espinet has joined #ruby
espinet has quit [Client Quit]
espinet has joined #ruby
espinet has quit [Client Quit]
Exuma has joined #ruby
Xiti` has joined #ruby
helpa-bot has joined #ruby
dsmythe_ has joined #ruby
<Exuma> is anyone here good with dual entry accounting? I have a basic question
sauvin has joined #ruby
tdy1 has joined #ruby
duderono_ has joined #ruby
Junaos has joined #ruby
ged_ has joined #ruby
bvdw9 has joined #ruby
haengma has joined #ruby
haengma has quit [Remote host closed the connection]
llua` has joined #ruby
Azure|dc has joined #ruby
helpa-bot has quit [Remote host closed the connection]
salasrod_ has joined #ruby
helpa-bot has joined #ruby
SCHAAP137 has joined #ruby
ozzloy_ has joined #ruby
hagebake_ has joined #ruby
Cthulu202 has joined #ruby
spiette_ has joined #ruby
swistak35 has joined #ruby
genpaku_ has joined #ruby
Davey has quit [Ping timeout: 258 seconds]
llua has quit [Read error: Connection reset by peer]
mikeiniowa has quit [Ping timeout: 258 seconds]
lambarena has quit [Read error: Connection reset by peer]
hagebake has quit [Quit: No Ping reply in 180 seconds.]
spiette has quit [Read error: Connection reset by peer]
dsmythe has quit [Ping timeout: 258 seconds]
salasrod has quit [Read error: Connection reset by peer]
wolfshappen_ has quit [Read error: Connection reset by peer]
duderonomy has quit [Ping timeout: 258 seconds]
n13z has quit [Ping timeout: 258 seconds]
Cthulu201 has quit [Ping timeout: 258 seconds]
cranq has quit [Ping timeout: 258 seconds]
helpa has quit [Ping timeout: 258 seconds]
Exagone313 has quit [Ping timeout: 258 seconds]
Prira has joined #ruby
ged has quit [Read error: Connection reset by peer]
tdy has quit [Ping timeout: 258 seconds]
Junaos_ has quit [Read error: Connection reset by peer]
ozzloy has quit [Ping timeout: 258 seconds]
bvdw has quit [Ping timeout: 258 seconds]
SCHAPiE has quit [Ping timeout: 258 seconds]
justache has quit [Ping timeout: 258 seconds]
arooni has quit [Read error: Connection reset by peer]
Xiti has quit [Ping timeout: 258 seconds]
Azure has quit [Ping timeout: 258 seconds]
Prira has quit [Ping timeout: 258 seconds]
swistak35_ has quit [Ping timeout: 258 seconds]
genpaku has quit [Ping timeout: 258 seconds]
justache has joined #ruby
SCHAAP137 is now known as SCHAPiE
salasrod_ is now known as salasrod
ged_ is now known as ged
justache has joined #ruby
justache has joined #ruby
justache has quit [Changing host]
cranq_ has joined #ruby
wolfshappen has joined #ruby
arooni has joined #ruby
genpaku_ is now known as genpaku
helpa-bot has quit [Remote host closed the connection]
Exagone313 has joined #ruby
lambarena has joined #ruby
helpa has joined #ruby
cranq_ is now known as cranq
n13z has joined #ruby
Davey has joined #ruby
al2o3-cr has quit [Ping timeout: 246 seconds]
ffl^ has quit []
al2o3-cr has joined #ruby
al2o3-cr is now known as Guest90737
AlHafoudh has joined #ruby
justache has quit [Ping timeout: 258 seconds]
Exagone313 has quit [Ping timeout: 258 seconds]
Prira has quit [Ping timeout: 258 seconds]
ammar has quit [Ping timeout: 258 seconds]
ammar has joined #ruby
Prira has joined #ruby
justache has joined #ruby
Exagone313 has joined #ruby
djdduty has quit [Ping timeout: 246 seconds]
Swyper has joined #ruby
akosednar has quit [Ping timeout: 255 seconds]
akosednar has joined #ruby
akosednar has joined #ruby
akosednar has quit [Changing host]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
reber has joined #ruby
Swyper has quit [Ping timeout: 258 seconds]
djdduty has joined #ruby
dar123 has quit [Ping timeout: 248 seconds]
fphilipe_ has joined #ruby
AlHafoudh has quit [Ping timeout: 245 seconds]
AlHafoudh has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
arup_r has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
fphilipe_ has quit [Ping timeout: 252 seconds]
arup_r has quit []
faces has joined #ruby
face has quit [Remote host closed the connection]
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
vs^ has joined #ruby
RyanMcCoskrie has joined #ruby
AlHafoudh has quit [Ping timeout: 244 seconds]
RyanMcCoskrie has left #ruby [#ruby]
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
dsmythe_ has quit [Read error: Connection reset by peer]
dsmythe has joined #ruby
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
nowhereman has joined #ruby
jenrzzz has joined #ruby
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
fphilipe_ has joined #ruby
zapata has quit [Read error: Connection reset by peer]
DTZUZO has joined #ruby
zapata has joined #ruby
nowhereman has quit [Ping timeout: 255 seconds]
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
zapata has quit [Client Quit]
jefffrails35 has joined #ruby
conta has joined #ruby
Guest90737 has quit [Quit: If the universe is a machine where the future is uniquely determined by its present state, it would not be possible to calculate what the future will be.]
fphilipe_ has quit [Ping timeout: 258 seconds]
haengma has joined #ruby
sameerynho has joined #ruby
al2o3-cr has joined #ruby
dellavg_ has joined #ruby
haengma has quit [Ping timeout: 258 seconds]
cnsvc has joined #ruby
kyrylo has joined #ruby
_whitelogger has joined #ruby
_whitelogger has joined #ruby
Ai9zO5AP has joined #ruby
nowhereman has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
cnsvc has joined #ruby
fphilipe_ has joined #ruby
haxx0r has joined #ruby
neovalis[m] has quit [Write error: Connection reset by peer]
bastilian has quit [Write error: Connection reset by peer]
Turnikov[m] has quit [Remote host closed the connection]
turt2live has quit [Remote host closed the connection]
sepp2k has quit [Remote host closed the connection]
kateskips has quit [Remote host closed the connection]
jonjitsu1 has quit [Remote host closed the connection]
supergeek[m] has quit [Write error: Broken pipe]
cnsvc has quit [Ping timeout: 256 seconds]
cgfbee has quit [Ping timeout: 246 seconds]
irdr_ has quit [Remote host closed the connection]
irdr has joined #ruby
kapilp has quit [Quit: Connection closed for inactivity]
cgfbee has joined #ruby
tdy1 has quit [Ping timeout: 246 seconds]
bastilian has joined #ruby
fphilipe_ has quit [Ping timeout: 258 seconds]
AlHafoudh has joined #ruby
rippa has joined #ruby
laaron has quit [Remote host closed the connection]
cnsvc has joined #ruby
laaron has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dhollin3 has joined #ruby
dhollinger has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
crankharder has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
turt2live has joined #ruby
supergeek[m] has joined #ruby
sepp2k has joined #ruby
jonjitsu has joined #ruby
neovalis[m] has joined #ruby
kateskips has joined #ruby
Turnikov[m] has joined #ruby
waheedi has joined #ruby
DTZUZO has quit [Ping timeout: 258 seconds]
AlHafoudh has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
_whitelogger has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
SCHAPiE has quit [Quit: ZNC - https://znc.in]
SCHAPiE has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
AlHafoudh has joined #ruby
AlHafoudh has quit [Ping timeout: 244 seconds]
AJA4350 has joined #ruby
gix has joined #ruby
nowhereman has quit [Ping timeout: 245 seconds]
jefffrails35 has quit [Remote host closed the connection]
AlHafoudh has joined #ruby
waheedi has quit [Quit: waheedi]
AlHafoudh has quit [Ping timeout: 245 seconds]
Fernando-Basso has joined #ruby
cnsvc has joined #ruby
moei has joined #ruby
DTZUZO has joined #ruby
Swyper has joined #ruby
DTZUZO has quit [Ping timeout: 258 seconds]
code_zombie has quit [Quit: Leaving]
Swyper has quit [Ping timeout: 246 seconds]
i1nfusion has quit [Remote host closed the connection]
AlHafoudh has joined #ruby
i1nfusion has joined #ruby
AlHafoudh has quit [Ping timeout: 255 seconds]
_whitelogger has joined #ruby
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 258 seconds]
fphilipe_ has joined #ruby
AlHafoudh has joined #ruby
AlHafoudh has quit [Ping timeout: 268 seconds]
fphilipe_ has quit [Ping timeout: 250 seconds]
AlHafoudh has joined #ruby
AlHafoudh has quit [Ping timeout: 246 seconds]
ellcs has joined #ruby
AlHafoudh has joined #ruby
dviola has joined #ruby
AlHafoudh has quit [Ping timeout: 268 seconds]
Swyper has joined #ruby
jenrzzz has joined #ruby
Swyper has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
haengma has joined #ruby
haengma has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
haengma has joined #ruby
haengma has quit [Remote host closed the connection]
haxx0r has quit [Remote host closed the connection]
dellavg_ has quit [Ping timeout: 245 seconds]
Swyper has quit [Remote host closed the connection]
Gvirus_ has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
Swyper has joined #ruby
maryo has joined #ruby
Gvirus_ has left #ruby [#ruby]
Swyper has quit [Remote host closed the connection]
lucasb has joined #ruby
llua` is now known as llua
Swyper has joined #ruby
cnsvc has joined #ruby
dsmythe has quit [Remote host closed the connection]
AJA4350 has quit [Quit: AJA4350]
cd has quit [Remote host closed the connection]
dsmythe has joined #ruby
fphilipe_ has joined #ruby
AJA4350 has joined #ruby
ellcs has quit [Ping timeout: 264 seconds]
fphilipe_ has quit [Ping timeout: 252 seconds]
Fusl has quit [Ping timeout: 256 seconds]
Fusl has joined #ruby
sameerynho has quit [Ping timeout: 244 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
fphilipe_ has joined #ruby
AlHafoudh has joined #ruby
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
jenrzzz has joined #ruby
Swyper has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 258 seconds]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #ruby
Swyper_ has joined #ruby
Swyper_ has quit [Ping timeout: 258 seconds]
Swyper has joined #ruby
AlHafoudh has quit [Ping timeout: 268 seconds]
cadeskywalker has quit [Quit: WeeChat 1.0.1]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
cadeskywalker has joined #ruby
mistym has quit [Quit: ZNC - http://znc.in]
mistym has joined #ruby
mistym has joined #ruby
mistym has quit [Changing host]
m27frogy has quit [Quit: ZNC - https://znc.in]
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
cadeskywalker has quit [Quit: WeeChat 1.0.1]
cadeskywalker has joined #ruby
Mia has quit [Ping timeout: 268 seconds]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Axy has quit [Ping timeout: 258 seconds]
alem0lars has joined #ruby
fphilipe_ has quit [Ping timeout: 252 seconds]
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
djellemah has joined #ruby
espinet has joined #ruby
mohsen_1 has joined #ruby
<mohsen_1> hi
<mohsen_1> when I try to run `bundler init` in rubymine I get : `C:\Ruby26-x64\bin\ruby.exe: No such file or directory -- init (LoadError)`
<mohsen_1> what is the problem?
<TheMoonMaster> probably means that ruby.exe doesn't exist there
<mohsen_1> TheMoonMaster: it does, I can clarify
<TheMoonMaster> oh I see. it says init doesn't exist?
<TheMoonMaster> sorry, windows catching me off guard
<mohsen_1> TheMoonMaster: I'm not sure how to use this `https://github.com/brenes/stopwords-filter` library in rubymine
nima_m has joined #ruby
<TheMoonMaster> you should be able to add it to your projects Gemfile then `bundle install`
Zarthus has left #ruby [#ruby]
Mia has quit [Ping timeout: 258 seconds]
espinet has quit [Quit: espinet]
Swyper has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
conta has quit [Remote host closed the connection]
Swyper has joined #ruby
<mohsen_1> TheMoonMaster: but I haven't `bundle init` yet
Swyper has quit [Read error: Connection reset by peer]
Swyper has joined #ruby
<TheMoonMaster> then run it? maybe outside of rubymine
alem0lars has quit [Remote host closed the connection]
alem0lars has joined #ruby
djellemah has quit [Ping timeout: 245 seconds]
daniel____ has joined #ruby
szulak_ has joined #ruby
alem0lars has quit [Remote host closed the connection]
kapilp has joined #ruby
alem0lars has joined #ruby
alem0lars has quit [Remote host closed the connection]
alem0lars has joined #ruby
fphilipe_ has joined #ruby
<mohsen_1> manually running `bundle init` worked, thank you
mohsen_1 has quit []
cnsvc has quit [Ping timeout: 256 seconds]
szulak_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m27frogy has joined #ruby
fphilipe_ has quit [Ping timeout: 252 seconds]
kent\n has quit [Ping timeout: 245 seconds]
cnsvc has joined #ruby
djellemah has joined #ruby
djellemah has quit [Client Quit]
djellemah has joined #ruby
Yxhuvud has quit [Ping timeout: 248 seconds]
mohsen_1 has joined #ruby
Mia has quit [Ping timeout: 246 seconds]
kent\n has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Yxhuvud has joined #ruby
jenrzzz has joined #ruby
conta has joined #ruby
Mia has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 258 seconds]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
alem0lars has quit [Ping timeout: 245 seconds]
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
espinet has joined #ruby
linduxed has quit [Quit: WeeChat 2.3]
Axy has quit [Read error: Connection reset by peer]
Mia has quit [Ping timeout: 245 seconds]
Swyper has quit [Remote host closed the connection]
linduxed has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
AlHafoudh has joined #ruby
ricekrispie has joined #ruby
daniel____ has quit [Ping timeout: 245 seconds]
ricekrispie2 has quit [Ping timeout: 248 seconds]
AlHafoudh has quit [Ping timeout: 258 seconds]
Cthulu202 has quit [Quit: Nowhere special. I always wanted to go there.]
Cthulu201 has joined #ruby
AlHafoudh has joined #ruby
dar123 has joined #ruby
laaron has quit [Remote host closed the connection]
AlHafoudh has quit [Ping timeout: 244 seconds]
djellemah has quit [Ping timeout: 255 seconds]
laaron has joined #ruby
lord4163 has quit [Quit: Gotta go cya!]
jtdowney has quit [Quit: jtdowney]
jtdowney has joined #ruby
nwradio878887987 has quit [Ping timeout: 246 seconds]
lord4163 has joined #ruby
conta has quit [Quit: conta]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maryo_ has joined #ruby
maryo has quit [Ping timeout: 245 seconds]
cnsvc has quit [Ping timeout: 256 seconds]
AlHafoudh has joined #ruby
nima_m has quit [Quit: Connection closed for inactivity]
AlHafoudh has quit [Ping timeout: 246 seconds]
Exuma has joined #ruby
<Exuma> does anyone know a fancy way to check that all :debits come first in an array?
AlHafoudh has joined #ruby
<Exuma> [:debit, :debit, :credit].....good [:debit, :credit, :debit]... bad [:credit, :debit] ...... bad
mohsen_1 has left #ruby [#ruby]
<phaul> &>> [:debit, :debit, :credit].each_cons(2).none?([:credit, :debit])
<rubydoc> # => true (https://carc.in/#/r/6wb9)
<phaul> &>> [:debit, :debit, :credit, :debit].each_cons(2).none?([:credit, :debit])
<rubydoc> # => false (https://carc.in/#/r/6wba)
AlHafoudh has quit [Ping timeout: 245 seconds]
<phaul> Exuma: ^
<Exuma> phaul interesting ok. currently I just did sides == sides.sort.reverse
<Exuma> im looking at your way
<Exuma> i thought of it while waiting haha
<phaul> but how do you sort? /me confused
<phaul> &>> :debit <=> :credit
<rubydoc> # => 1 (https://carc.in/#/r/6wbb)
<phaul> rly? ok. cool
<Exuma> [:debit, :debit, :credit, :debit] == [:debit, :debit, :credit, :debit].sort.reverse
<Exuma> i just do that, which will return false
<phaul> well, I like your solution :)
<havenwood> a[a.index { |sym| sym != :debit }..].none?(:debit)
<Exuma> im too dumb to understand fancy code like that
<Exuma> well, in 3 months i mean
<phaul> I didn't think of comparing symbols..
<Exuma> yeah i didnt think it would work at first . i always think ruby is full of surprises when its reference vs value
<Exuma> it appears to work fine
maryo has joined #ruby
<phaul> one thing is that mine, and havenwood's are O(n) you are probably O n (log n) but really doesn't matter unless you have thousands of entries
<Exuma> hmm yeah there should be a max 2 or 3 items but thats a great point
m27frogy has quit [Ping timeout: 246 seconds]
<havenwood> drop_while { |sym| sym == :debit }.none?(:debit)
maryo has quit [Read error: Connection reset by peer]
maryo_ has quit [Ping timeout: 255 seconds]
maryo has joined #ruby
dar123 has joined #ruby
<havenwood> it'd be a bit fancier if #drop_while took a match argument: drop_while(:debit).none?(:debit)
jenrzzz has joined #ruby
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlHafoudh has joined #ruby
<havenwood> debit = :debit.method(:==); a.drop_while(&debit).none?(&debit)
Exuma has joined #ruby
<havenwood> which I guess now we can write as :)
<havenwood> debit = :debit.:==
fphilipe_ has joined #ruby
<havenwood> drop_while(&:debit.:==).none?(:debit)
zacts has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
waheedi has joined #ruby
<havenwood> also the short circuiting ^ doesn't matter with a few entries
AlHafoudh has quit [Ping timeout: 255 seconds]
<Exuma> haha havenwood that is like code golf level answer :D
fphilipe_ has quit [Ping timeout: 252 seconds]
<havenwood> Exuma: Add a #lazy and it'll work with infinite collections!
<havenwood> &>> %i[debit credit].cycle.lazy.drop_while(&:debit.:==).none?(:debit)
<rubydoc> stderr: -e:2: syntax error, unexpected tSYMBEG (https://carc.in/#/r/6wbc)
<havenwood> #=> false
<Exuma> &>> BigDecimal.new(500)
<rubydoc> stderr: -e:2:in `<main>': uninitialized constant BigDecimal (NameError) (https://carc.in/#/r/6wbd)
<Exuma> damn... that bot is awesome. i never knew
cnsvc has joined #ruby
<havenwood> &>> require 'bigdecimal'; require 'bigdecimal/util'; 500.to_d
<rubydoc> # => 0.5e3 (https://carc.in/#/r/6wbe)
<havenwood> I forgot, .: is 2.7 syntax
<havenwood> &>> %i[debit credit].cycle.lazy.drop_while(&:debit.method(:==)).none?(:debit)
<rubydoc> # => false (https://carc.in/#/r/6wbg)
<phaul> Exuma: there are more things it can do for you, docs : https://github.com/phaul/yarr
waheedi has quit [Quit: waheedi]
<Exuma> thanks :D
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy1 has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
Mia has quit [Ping timeout: 246 seconds]
waheedi has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
Dbugger has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
waheedi has quit [Ping timeout: 258 seconds]
kapilp has quit [Quit: Connection closed for inactivity]
espinet has quit [Quit: espinet]
espinet has joined #ruby
espinet has quit [Client Quit]
maryo has quit [Quit: Leaving]
fphilipe_ has joined #ruby
wald0 has joined #ruby
pupsikov has joined #ruby
espinet has joined #ruby
espinet has quit [Client Quit]
espinet has joined #ruby
espinet has quit [Client Quit]
wald0 has quit [Client Quit]
cnsvc has joined #ruby
zacts has quit [Quit: WeeChat 2.4]
armyriad has quit [Ping timeout: 245 seconds]
armyriad has joined #ruby
pupsikov has quit [Quit: Textual IRC Client: www.textualapp.com]
dar123 has joined #ruby
dhollin3 is now known as dhollinger
al2o3-cr has quit [Quit: If the universe is a machine where the future is uniquely determined by its present state, it would not be possible to calculate what the future will be.]
gix has quit [Ping timeout: 244 seconds]
Fernando-Basso has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix has joined #ruby
weteamsteve has joined #ruby
m27frogy has joined #ruby
al2o3-cr has joined #ruby
landakram has joined #ruby
orbyt_ has joined #ruby
wald0 has joined #ruby
djellemah has joined #ruby
weteamsteve has quit [Ping timeout: 252 seconds]
weteamsteve has joined #ruby
landakram has quit [Quit: Mutter: www.mutterirc.com]
Swyper has joined #ruby
landakram has joined #ruby
weteamsteve1 has joined #ruby
landakram has quit [Client Quit]
weteamsteve has quit [Ping timeout: 264 seconds]
weteamsteve2 has joined #ruby
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
rafadc has quit [Read error: Connection reset by peer]
kapilp has joined #ruby
weteamsteve1 has quit [Ping timeout: 268 seconds]
Swyper has quit [Remote host closed the connection]
weteamsteve has joined #ruby
weteamsteve2 has quit [Ping timeout: 264 seconds]
rafadc has joined #ruby
zapata has joined #ruby
zacts has joined #ruby
bsdbandit has joined #ruby
Swyper has joined #ruby
bsdbandit has quit [Quit: leaving]
ellcs has joined #ruby
bsdbandit has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
zacts has quit [Quit: WeeChat 2.4]
Swyper has quit [Ping timeout: 244 seconds]
weteamsteve has quit [Ping timeout: 268 seconds]
djellemah has quit [Ping timeout: 258 seconds]
AlHafoudh has joined #ruby
cliluw has quit [Ping timeout: 246 seconds]
cliluw has joined #ruby
weteamsteve has joined #ruby
wald0 has quit [Quit: Lost terminal]
zacts has joined #ruby
djellemah has joined #ruby
dar123 has joined #ruby
wilbert has joined #ruby
weteamsteve1 has joined #ruby
weteamsteve has quit [Ping timeout: 244 seconds]
wilbert has quit [Quit: wilbert]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_rubik has joined #ruby
AlHafoudh has quit [Ping timeout: 244 seconds]
<_rubik> Hey all. I wrote a script for Weechat, but I'm having trouble forking off a process. I was wondering if I was getting something wrong with weechat scripting, or ruby itself
_rub1k has joined #ruby
minimal_life has joined #ruby
minimal_life has quit [Client Quit]
_rubik has quit [Ping timeout: 245 seconds]
_rub1k is now known as _rubik
zacts has quit [Quit: WeeChat 2.4]
zacts has joined #ruby
fphilipe_ has quit [Ping timeout: 252 seconds]
weteamsteve has joined #ruby
troulouliou_div2 has joined #ruby
weteamsteve1 has quit [Ping timeout: 252 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Puffball has joined #ruby
weteamsteve1 has joined #ruby
weteamsteve has quit [Ping timeout: 246 seconds]
dsmythe_ has joined #ruby
AlHafoudh has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
fphilipe_ has joined #ruby
dsmythe has quit [Ping timeout: 268 seconds]
cnsvc has quit [Ping timeout: 256 seconds]
AlHafoudh has quit [Ping timeout: 246 seconds]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zacts has quit [Ping timeout: 246 seconds]
wald0 has joined #ruby
wald0 has quit [Client Quit]
zacts has joined #ruby
espinet has joined #ruby
fphilipe_ has quit [Ping timeout: 257 seconds]
zacts has quit [Ping timeout: 268 seconds]
Puffball has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
weteamsteve has joined #ruby
kapilp has quit [Quit: Connection closed for inactivity]
maryo has joined #ruby
weteamsteve1 has quit [Ping timeout: 250 seconds]
dsmythe_ has quit [Remote host closed the connection]
dsmythe has joined #ruby
cnsvc has joined #ruby
dsmythe_ has joined #ruby
dsmythe has quit [Ping timeout: 257 seconds]
Dbugger has quit [Quit: Leaving]
moei has quit [Quit: Leaving...]
_rubik has quit [Quit: WeeChat 2.4]
_rubik has joined #ruby
Ai9zO5AP has quit [Quit: WeeChat 2.4]
cnsvc has quit [Ping timeout: 256 seconds]
_rubik has quit [Ping timeout: 245 seconds]
d^sh has quit [Ping timeout: 246 seconds]
zacts has joined #ruby
d^sh has joined #ruby
hightower3 has joined #ruby
AndBobsYourUncle has joined #ruby
weteamsteve has quit [Ping timeout: 250 seconds]
fphilipe_ has joined #ruby
cnsvc has joined #ruby
wald0 has joined #ruby
hightower2 has joined #ruby
zacts has quit [Ping timeout: 268 seconds]
cagomez has quit [Remote host closed the connection]
hightower3 has quit [Ping timeout: 258 seconds]
AlHafoudh has joined #ruby
zacts has joined #ruby
fphilipe_ has quit [Ping timeout: 264 seconds]
cnsvc has quit [Ping timeout: 256 seconds]
maryo has quit [Read error: Connection reset by peer]
maryo has joined #ruby
cagomez has joined #ruby
AlHafoudh has quit [Ping timeout: 244 seconds]
ellcs has quit [Ping timeout: 250 seconds]
RiPuk has quit [Read error: Connection reset by peer]
cagomez has quit [Ping timeout: 246 seconds]
teclator_ has joined #ruby
weird_error has joined #ruby
cnsvc has joined #ruby
reber has quit [Read error: Connection reset by peer]
Fridtjof has quit [Ping timeout: 246 seconds]
zacts has quit [Quit: WeeChat 2.4]
cagomez has joined #ruby
teclator_ has quit [Ping timeout: 255 seconds]
cagomez has quit [Ping timeout: 246 seconds]
weird_error has quit [Quit: weird_error]
jenrzzz has joined #ruby
fphilipe_ has joined #ruby
Fridtjof has joined #ruby