baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: 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!
<baweaver> What do you mean "we" havenwood? We're the same person aren't we?
tdy has joined #ruby
<havenwood> baweaver: And we're all why!
<havenwood> baweaver: It gets confusing...
<baweaver> quite the lucky stiffs we be
cagomez has joined #ruby
tdy has quit [Quit: WeeChat 2.2]
za1b1tsu has joined #ruby
tdy has joined #ruby
elphe has joined #ruby
za1b1tsu has quit [Ping timeout: 272 seconds]
elphe has quit [Ping timeout: 272 seconds]
sheepman has quit [Ping timeout: 260 seconds]
maqbool has quit [Quit: Leaving]
beefjoe has quit [Quit: <3]
elphe has joined #ruby
sgen has quit [Quit: Leaving]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has quit [Quit: AJA4350]
cagomez has joined #ruby
cagomez has quit [Ping timeout: 252 seconds]
orbyt_ has joined #ruby
cagomez has joined #ruby
tiogrand has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
<i8igmac> havenwood: i have done a lot of remodels which typically the customer is upper middle class...
<i8igmac> the majority of the customers where in the iT field
<i8igmac> one job i remember, the husband was doing something with database management for multi-care and the wife was working for Bigfish gaming.
<i8igmac> the house was impressive 4 story in the seattle area
<i8igmac> im currently in the electrical field which will bring a respectable income after i finish my apprentice ship... and i think i will get great attention with a coding background
za1b1tsu has joined #ruby
bkxd has joined #ruby
za1b1tsu has quit [Ping timeout: 252 seconds]
<i8igmac> i have done 99% of this rails app from my android phone ;-)
<i8igmac> i do all my projects from my android
<i8igmac> ssh@ via nano
beeman has quit []
beeman has joined #ruby
<i8igmac> anyways, you sir are inspiring ;-)
<i8igmac> and baweaver ;-)
tdy1 has joined #ruby
<i8igmac> some one is dir bruting my site... iposted the link here ;-)
<i8igmac> im going to pipe /dev/random at index.html
tdy has quit [Ping timeout: 252 seconds]
<i8igmac> see if i can suck your scanner into a never ending pipe lol
tdy1 is now known as tdy
MoritaShinobu has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
<i8igmac> who did it lol
segy has joined #ruby
braincrash has quit [Quit: bye bye]
<i8igmac> just a little distracted
<i8igmac> http://ian-tech.com/ is doing it...
akem has quit [Remote host closed the connection]
akem has joined #ruby
<i8igmac> who here owns ian-tech.com... quit trying to dir brute me
gix has quit [Disconnected by services]
braincrash has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
bkxd has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
bkxd has quit [Ping timeout: 268 seconds]
MoritaShinobu has quit [Quit: Leaving]
za1b1tsu has joined #ruby
bkxd has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
elphe has joined #ruby
apparition has joined #ruby
apparition has quit [Quit: Bye]
bkxd has quit [Ping timeout: 252 seconds]
bkxd has joined #ruby
<i8igmac> how do i sort_by "p_001.txt", "p_002.txt", "p_022.txt"
<i8igmac> ["p_001.txt","p_022.txt","p_002.txt"].sort_by!{|x| puts x}
cagomez has quit [Remote host closed the connection]
baweaver is now known as baweaver_away
icarus has joined #ruby
millerti has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
hahuang6- has joined #ruby
moei has joined #ruby
hahuang65 has quit [Ping timeout: 244 seconds]
hahuang65 has joined #ruby
hahuang6- has quit [Ping timeout: 240 seconds]
elphe has quit [Ping timeout: 272 seconds]
nowhere_man has quit [Ping timeout: 252 seconds]
soniya29 has joined #ruby
elphe has joined #ruby
soniya29 has left #ruby ["Leaving"]
<baweaver_away> i8igmac: puts returns nil
baweaver_away is now known as baweaver
<baweaver> I assume you want to sort by the number?
apparition has joined #ruby
<baweaver> String#split, and don't use bang methods when possible
konsolebox has joined #ruby
cd has quit [Quit: cd]
venmx has joined #ruby
<baweaver> !troll icarus
icarus was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
venmx has quit [Ping timeout: 268 seconds]
tiogrand has quit [Quit: Page closed]
Xiti` has joined #ruby
Xiti has quit [Ping timeout: 260 seconds]
reber has joined #ruby
reber has quit [Remote host closed the connection]
reber has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
akem__ has joined #ruby
akem has quit [Read error: Connection reset by peer]
dviola has quit [Quit: WeeChat 2.2]
dreamthese has quit [Remote host closed the connection]
dreamthese has joined #ruby
arup_r has joined #ruby
elphe has joined #ruby
jenenliu has joined #ruby
RougeR has joined #ruby
clemens3_ has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
dbugger_ has joined #ruby
konsolebox has quit [Ping timeout: 268 seconds]
hck_ has joined #ruby
<hck_> hi
<al2o3-cr> o/
jenenliu has quit [Ping timeout: 260 seconds]
arup_r has quit []
elphe has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
leeijaw has joined #ruby
leeijaw_mobile has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
baweaver is now known as baweaver_away
leeijaw_mobile has quit [Quit: Mutter: www.mutterirc.com]
leeijaw_mobile has joined #ruby
sagax has quit [Ping timeout: 252 seconds]
roshanavand has quit [Ping timeout: 268 seconds]
leeijaw has quit [Quit: Leaving.]
doubledup has joined #ruby
roshanavand has joined #ruby
apeiros_ has joined #ruby
leeijaw_mobile has quit [Quit: Mutter: www.mutterirc.com]
elphe has joined #ruby
roshanavand has quit [Ping timeout: 272 seconds]
roshanavand has joined #ruby
roshanavand has quit [Ping timeout: 252 seconds]
roshanavand has joined #ruby
mn3m has joined #ruby
wildermind has joined #ruby
dionysus70 has joined #ruby
FightingFalcon has joined #ruby
<FightingFalcon> Can you build a website with Ruby and do anything you can do with php?
<apeiros_> yes
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
BlueDragons has joined #ruby
savolla has joined #ruby
BlueDragons has quit [Client Quit]
nowhere_man has joined #ruby
dionysus70 has quit [Ping timeout: 260 seconds]
leeijaw has joined #ruby
galtgendo has left #ruby [#ruby]
sameerynho has joined #ruby
savolla has quit [Ping timeout: 268 seconds]
savolla has joined #ruby
leeijaw has quit [Remote host closed the connection]
leeijaw has joined #ruby
<al2o3-cr> anyone with a mac run this and tell me if it returns darwin please? `Gem::Platform.local.os`
User458764 has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
roshanavand has quit [Ping timeout: 252 seconds]
roshanavand has joined #ruby
<ogotai> irb(main):001:0> RUBY_VERSION => "2.5.1"
<ogotai> irb(main):002:0> RUBY_PLATFORM => "x86_64-darwin17"
<ogotai> irb(main):003:0> Gem::Platform.local.os => "darwin"
<al2o3-cr> ogotai: ok, thank you very much ;)
<ogotai> al2o3-cr: I usually just test with 'RUBY_PLATFORM =~ /darwin/'
<al2o3-cr> ogotai: aye, could use that too.
MoritaShinobu has joined #ruby
mn3m has quit [Ping timeout: 252 seconds]
savolla has quit [Ping timeout: 245 seconds]
bkxd has quit [Ping timeout: 268 seconds]
hck_ has quit [Quit: Leaving.]
bkxd has joined #ruby
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
Fusl has quit [Ping timeout: 256 seconds]
dbugger_ has quit [Ping timeout: 264 seconds]
xfbs has joined #ruby
Dbugger has joined #ruby
Fusl has joined #ruby
AJA4350 has joined #ruby
GodFather has joined #ruby
mikecmpbll has joined #ruby
cliluw has quit [Ping timeout: 244 seconds]
akem__ is now known as akem
<za1b1tsu> Hello, why would I create a tone load of Class SomeErrors < StandardError; end where I could just do raise message. What's the purpose?
<apeiros_> za1b1tsu: making it easier to rescue specific exceptions
bkxd has quit [Ping timeout: 244 seconds]
InfinityFye has joined #ruby
akem has quit [Ping timeout: 264 seconds]
<za1b1tsu> apeiros_: I see, thank you
GodFather has quit [Ping timeout: 268 seconds]
desperek has joined #ruby
mikecmpbll has quit [Quit: inabit.]
<za1b1tsu> raise Errors::TooManyBehaviourModifiers, Errors.message_builder([:too_many_behaviour_modifiers, options])
<za1b1tsu> Im getting this hella long line, it makes me depressed
conta has joined #ruby
gnufied has quit [Ping timeout: 268 seconds]
RougeR has quit [Ping timeout: 252 seconds]
beefjoe has joined #ruby
govg has joined #ruby
<apeiros_> then move that builder code stuff into Errors::TooManyBehaviourModifiers#initialize
<apeiros_> you can always `raise any_expression_which_returns_an_exception_instance`.
<apeiros_> e.g. `raise YourException.new("whatever", data: "you", need: "here")` is fine.
test1337 has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
venmx has joined #ruby
ua has quit [Remote host closed the connection]
nickjj has quit [Read error: Connection reset by peer]
nickjj has joined #ruby
ua has joined #ruby
arup_r has joined #ruby
venmx has quit [Ping timeout: 252 seconds]
gnufied has joined #ruby
beefjoe has quit [Quit: <3]
beefjoe has joined #ruby
akem has joined #ruby
arup_r has quit [Remote host closed the connection]
elphe has quit [Ping timeout: 272 seconds]
Xiti` has quit [Quit: Xiti`]
beefjoe has quit [Quit: <3]
apparition has quit [Quit: Bye]
Xiti has joined #ruby
venmx has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
bkxd has joined #ruby
DTZUZO has quit [Ping timeout: 272 seconds]
ogotai has left #ruby [#ruby]
bkxd has quit [Ping timeout: 252 seconds]
bkxd has joined #ruby
c0ncealed3 has quit [Remote host closed the connection]
c0ncealed3 has joined #ruby
ams__ has joined #ruby
FightingFalcon has left #ruby [#ruby]
bkxd has quit [Ping timeout: 252 seconds]
<za1b1tsu> How can I use gets, do get some input and like a default text already there, that the user cand edit/delete?
seggy has joined #ruby
conta has quit [Quit: conta]
kindaskingg has joined #ruby
govg has quit [Ping timeout: 252 seconds]
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doubledup has quit [Read error: Connection reset by peer]
doubledup has joined #ruby
doubledup has quit [Read error: Connection reset by peer]
doubledup has joined #ruby
test1337 has left #ruby ["Leaving"]
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has joined #ruby
bkxd has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
dellavg_ has joined #ruby
BTRE has left #ruby ["Leaving"]
savolla has joined #ruby
<havenwood> za1b1tsu: You can use Readline to do that sort of thing!
<havenwood> za1b1tsu: It's not easy to tell how to do it from the docs >.>, sec.
<za1b1tsu> found it in thea meantime
<za1b1tsu> looks hacky, no?
<havenwood> za1b1tsu: Thread.new { sleep 1; Readline.insert_text 'OMGWTFBBQ'; Readline.refresh_line }
<havenwood> za1b1tsu: Ah, looks like you found the answer. Readline
<havenwood> za1b1tsu: That ^ works in Pry or IRB at least when you're using Readline.
<za1b1tsu> thanks havenwood, at least I have an alternative to see
MoritaShinobu has quit [Quit: Leaving]
<havenwood> za1b1tsu: Or some fun >.>
<havenwood> Thread.new { loop { Readline.delete_text; Readline.refresh_line; sleep 1; Readline.insert_text 'za1b1tsu'; Readline.refresh_line; sleep 1 } }
<havenwood> I guess 1 second is plenty of time to type "exit" :P
<havenwood> Or there's always ctrl-d
<havenwood> ctrl-\
venmx has quit [Ping timeout: 245 seconds]
conta has joined #ruby
venmx has joined #ruby
RougeR has joined #ruby
za1b1tsu has quit [Ping timeout: 272 seconds]
xfbs has quit [Quit: afk]
cd has joined #ruby
ivanskie has joined #ruby
Tharbakim has joined #ruby
shorty6 has joined #ruby
InfinityFye has quit [Quit: Leaving]
Dbugger has quit [Remote host closed the connection]
ellcs has joined #ruby
beefjoe has joined #ruby
za1b1tsu has joined #ruby
Dbugger has joined #ruby
conta has quit [Quit: conta]
xfbs has joined #ruby
dreamthese has quit [Remote host closed the connection]
dreamthese has joined #ruby
graphene has quit [Remote host closed the connection]
weaksauce has quit [Ping timeout: 250 seconds]
roshanavand has quit [Ping timeout: 252 seconds]
graphene has joined #ruby
gnufied has quit [Ping timeout: 272 seconds]
za1b1tsu has quit [Ping timeout: 268 seconds]
ta_ has joined #ruby
ellcs has quit [Ping timeout: 244 seconds]
beefjoe has quit [Quit: <3]
ta_ has quit [Ping timeout: 252 seconds]
orbyt_ has joined #ruby
gnufied has joined #ruby
shorty6 has quit [Remote host closed the connection]
desperek has quit [Remote host closed the connection]
desperek has joined #ruby
za1b1tsu has joined #ruby
Lytol has joined #ruby
leeijaw has left #ruby [#ruby]
drale2k_ has joined #ruby
snickers has joined #ruby
weaksauce has joined #ruby
elphe has joined #ruby
ta_ has joined #ruby
jackrandom has quit [Quit: ZNC - https://znc.in]
jackrandom has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
armatechnicos has joined #ruby
shorty6 has joined #ruby
cd has quit [Quit: cd]
ams__ has quit [Quit: Connection closed for inactivity]
za1b1tsu has quit [Ping timeout: 252 seconds]
armatechnicos has quit [Quit: Leaving]
shorty6 has quit [Remote host closed the connection]
cd has joined #ruby
Lytol has quit [Quit: Lytol]
Lytol has joined #ruby
Lytol has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 268 seconds]
shorty6 has joined #ruby
ivanskie has quit [Ping timeout: 252 seconds]
tdy has quit [Ping timeout: 244 seconds]
LiftLeft3 is now known as LiftLeft
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
cagomez has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
crankharder has quit [Remote host closed the connection]
crankharder has joined #ruby
dar123 has joined #ruby
doubledup has quit [Quit: Leaving]
savolla has quit [Remote host closed the connection]
dar123 has quit [Client Quit]
xfbs has quit [Quit: afk]
dellavg_ has quit [Ping timeout: 252 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Lytol has joined #ruby
AJA4350 has quit [Remote host closed the connection]
cagomez has joined #ruby
AJA4350 has joined #ruby
cd has quit [Quit: cd]
reber has quit [Remote host closed the connection]
Dbugger has quit [Remote host closed the connection]
i8igmac has quit [Ping timeout: 272 seconds]
ua_ has joined #ruby
ua has quit [Ping timeout: 252 seconds]
za1b1tsu has joined #ruby
elphe has joined #ruby
<baweaver_away> GOOD AFTERNOON
baweaver_away is now known as baweaver
elphe has quit [Ping timeout: 252 seconds]
cagomez has quit [Remote host closed the connection]
za1b1tsu has quit [Ping timeout: 252 seconds]
mn3m has joined #ruby
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xfbs has joined #ruby
jasmith has joined #ruby
za1b1tsu has joined #ruby
za1b1tsu has quit [Ping timeout: 252 seconds]
DTZUZO has joined #ruby
sameerynho has quit [Ping timeout: 252 seconds]
desperek has quit [Quit: xoxo]
DTZUZO has quit [Ping timeout: 245 seconds]
druonysus has quit [Read error: Connection reset by peer]
z3uS has quit [Quit: /dev/null]
DTZUZO has joined #ruby
z3uS has joined #ruby
elphe has joined #ruby
wildermind has quit [Quit: Connection closed for inactivity]
hck_ has joined #ruby
<hck_> you programming with ruby rails for programming in internet
DTZUZO has quit [Ping timeout: 272 seconds]
Azure has joined #ruby
hck_ has quit [Quit: Leaving.]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
mn3m has quit [Remote host closed the connection]
shorty6 has quit [Ping timeout: 268 seconds]
clemens3_ has quit [Ping timeout: 268 seconds]
InfinityFye has joined #ruby
InfinityFye has left #ruby [#ruby]
ta_ has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
cschneid_ has joined #ruby
xfbs has quit [Quit: byebye]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros_ has quit []
<baweaver> hck_ ???
cschneid_ has quit [Ping timeout: 245 seconds]
orbyt_ has joined #ruby
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 252 seconds]
Puffball has joined #ruby
ta_ has joined #ruby
dar123 has joined #ruby
za1b1tsu has joined #ruby
TomyLobo has quit [Read error: Connection reset by peer]
sheepman has joined #ruby
<crankharder> I'm mucking around with Open3.popen and would like to send pressing enter/return to the running process. I gather popen2e provides stdin to the running process, but i'm not sure how to use that to send enter/return - is that possible?
cd has joined #ruby
DTZUZO has joined #ruby
ta_ has quit [Ping timeout: 245 seconds]
hck_1 has joined #ruby
<hck_1> hi
za1b1tsu has quit [Ping timeout: 272 seconds]
cschneid_ has joined #ruby
apparition has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
cagomez has joined #ruby
<hck_1> hi
<hck_1> hola
hck_1 has left #ruby [#ruby]