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-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://gist.github.com | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby
<c_my_nick> hm, looks like he is trying to claim active admin is just like it
<c_my_nick> do you think thats accurate?
<audy> never used it
<c_my_nick> because i mean, i am looking at the webpage for it, and it doesnt look like its the same thing at all
<audy> it has this dashboard feature http://demo.activeadmin.info/admin/dashboard
jenrzzz_ has quit [Ping timeout: 256 seconds]
<c_my_nick> thanks
jenrzzz has joined #ruby
dogweather has joined #ruby
karapetyan has joined #ruby
sameerynho has quit [Ping timeout: 248 seconds]
dogweather has quit [Ping timeout: 265 seconds]
karapetyan has quit [Ping timeout: 265 seconds]
dogweather has joined #ruby
duderonomy has quit [Ping timeout: 276 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
dogweather has quit [Ping timeout: 250 seconds]
LenPayne has quit [Quit: ZNC 1.6.6 - http://znc.in]
LenPayne has joined #ruby
LenPayne has quit [Client Quit]
cagomez has quit [Ping timeout: 240 seconds]
LenPayne has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
alfiemax has joined #ruby
herbmillerjr has joined #ruby
GodFather has joined #ruby
chaos95 has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.1]
amar has joined #ruby
variable has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
amar has quit [Ping timeout: 256 seconds]
ta_ has joined #ruby
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
ramfjord has quit [Ping timeout: 260 seconds]
houhoulis has joined #ruby
cthulchu_ has quit [Ping timeout: 268 seconds]
vee_ has quit [Read error: Connection reset by peer]
roamingdog has quit [Remote host closed the connection]
marr has quit [Ping timeout: 260 seconds]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 256 seconds]
roamingdog has joined #ruby
rideh- has quit [Remote host closed the connection]
eckhardt has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
houhouli_ has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
mahmutov has joined #ruby
mahmutov has left #ruby ["Leaving"]
houhoulis has quit [Ping timeout: 256 seconds]
dcunit3d has joined #ruby
kurko_ has joined #ruby
rrichardsr3 has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
c_my_nick has quit [Quit: Leaving]
vee_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
c0ncealed1 has quit [Remote host closed the connection]
nertzy has quit [Ping timeout: 260 seconds]
c0ncealed1 has joined #ruby
hinbody_ has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
RougeR has quit [Ping timeout: 240 seconds]
hinbody__ has joined #ruby
hinbody__ is now known as hinbody
hinbody has left #ruby [#ruby]
hinbody_ has quit [Ping timeout: 260 seconds]
mroutis has joined #ruby
rideh has joined #ruby
dogweather has joined #ruby
AJA4350 has quit [Quit: AJA4350]
emilford has joined #ruby
dcunit3d has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
ciscam has quit [Ping timeout: 268 seconds]
dogweather has quit [Ping timeout: 260 seconds]
cyberg has quit [Quit: Leaving]
ramfjord has joined #ruby
ciscam has joined #ruby
Axy has joined #ruby
Mia has quit [Ping timeout: 256 seconds]
dinfuehr- has quit [Ping timeout: 264 seconds]
ryzokuken has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 264 seconds]
nolanv has joined #ruby
gizmore has joined #ruby
emilford has quit [Ping timeout: 246 seconds]
rrichardsr3 has quit [Quit: He who dares .... wins.]
gizmore|2 has quit [Ping timeout: 264 seconds]
dcunit3d has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
dcunit3d has quit [Ping timeout: 255 seconds]
alfiemax has joined #ruby
kapil___ has joined #ruby
ramfjord has joined #ruby
pilne has quit [Quit: Leaving]
n0m4d1c has quit [Ping timeout: 256 seconds]
Haradani has joined #ruby
alfiemax has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
<kapil___> How to do string introspection like we do in sql using '?'
alfiemax has joined #ruby
mniip has quit [Ping timeout: 240 seconds]
xuanrui has joined #ruby
mniip has joined #ruby
<jordanm> kapil___: can you elaborate on your goal?
<kapil___> jordanm: I want to make a function that replace part of the sring
n0m4d1c has joined #ruby
MyMind has quit [Ping timeout: 256 seconds]
Pisuke has joined #ruby
<kapil___> `fun(inputstring, arguments)`
<jordanm> kapil___: inputstring.sub("substring", "replacement")
<kapil___> inputstring will have ? or similar in it. i will fill it with arguments
<jordanm> kapil___: sprintf("foo%s", "bar")
<kapil___> yes
<kapil___> jordanm: can you give more example with multiple argument to sprintf
graft has joined #ruby
<jordanm> sprintf("%s%s", "foo", "bar")
<kapil___> thanks that is i required. thanks
<jordanm> no problem
orbyt_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
xuanrui has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
sagax has quit [Ping timeout: 255 seconds]
houhouli_ has quit []
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cadillac_ has joined #ruby
roamingdog has joined #ruby
variable has quit [Quit: /dev/null is full]
tdy has joined #ruby
regedit has quit [Quit: Connection closed for inactivity]
<baweaver> kapil___: Don't use that with SQL
<baweaver> Also, you should be using interpolation in Ruby.
dogweather has joined #ruby
dogweather has quit [Ping timeout: 264 seconds]
ta_ has joined #ruby
GodFather has quit [Ping timeout: 246 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
mroutis has quit [Read error: Connection reset by peer]
mroutis has joined #ruby
pb122 has quit [Quit: Leaving]
GodFather has joined #ruby
vee_ has quit [Ping timeout: 268 seconds]
govg has joined #ruby
robertothais has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
robertothais has quit [Quit: WeeChat 2.1]
karapetyan has joined #ruby
BTRE has quit [Ping timeout: 260 seconds]
vee_ has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has quit [Ping timeout: 250 seconds]
orbyt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
twe4ked has quit [Ping timeout: 246 seconds]
twe4ked has joined #ruby
ciscam has quit [Ping timeout: 256 seconds]
russt has quit [Quit: That's all, folks!]
ciscam has joined #ruby
donofrio_ has quit [Remote host closed the connection]
dogweather has joined #ruby
alfiemax has quit [Remote host closed the connection]
dogweather has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
lytol has quit [Remote host closed the connection]
russt has joined #ruby
dogweather has joined #ruby
roamingdog has joined #ruby
dogweather has quit [Ping timeout: 246 seconds]
za1b1tsu_ has joined #ruby
roamingdog has quit [Ping timeout: 256 seconds]
dogweather has joined #ruby
vee_ has quit [Ping timeout: 260 seconds]
dcunit3d has joined #ruby
anisha has joined #ruby
amar has joined #ruby
amar has quit [Ping timeout: 248 seconds]
dogweather has quit [Read error: Connection timed out]
vee_ has joined #ruby
anisha has quit [Read error: Connection reset by peer]
anisha has joined #ruby
rkazak has joined #ruby
roamingdog has joined #ruby
alfiemax has quit [Remote host closed the connection]
dogweather has joined #ruby
tomphp has joined #ruby
redlegion has quit [Remote host closed the connection]
redlegion has joined #ruby
aufi has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
dcunit3d has quit [Ping timeout: 246 seconds]
ur5us has quit [Ping timeout: 256 seconds]
dogweather has quit [Ping timeout: 240 seconds]
fullstack_ has quit [Ping timeout: 246 seconds]
eckhardt has joined #ruby
fullstack_ has joined #ruby
sagax has joined #ruby
dogweather has joined #ruby
eckhardt has quit [Client Quit]
roamingdog has quit [Remote host closed the connection]
sauvin has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 260 seconds]
dogweather has quit [Ping timeout: 240 seconds]
Haradani has quit []
dogweather has joined #ruby
mroutis has quit [Ping timeout: 256 seconds]
alex`` has joined #ruby
n0m4d1c_ has joined #ruby
Tempesta_ is now known as Tempesta
Tempesta has quit [Changing host]
Tempesta has joined #ruby
conta has joined #ruby
n0m4d1c has quit [Ping timeout: 250 seconds]
oleo has quit [Quit: Leaving]
dogweather has quit [Ping timeout: 265 seconds]
dogweather has joined #ruby
biberu has joined #ruby
biberu has quit [Ping timeout: 256 seconds]
dionysus69 has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
ta_ has joined #ruby
cschneid_ has joined #ruby
DoubleMalt has joined #ruby
cschneid_ has quit [Ping timeout: 248 seconds]
DoubleMalt has quit [Remote host closed the connection]
andikr has joined #ruby
aupadhye has joined #ruby
dogweather has quit [Ping timeout: 276 seconds]
eam has quit [Quit: Lost terminal]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dogweather has joined #ruby
schleppel has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
raynold has quit [Quit: Connection closed for inactivity]
dionysus69 has quit [Ping timeout: 256 seconds]
sanscoeur has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
conta has quit [Ping timeout: 240 seconds]
shakahl has joined #ruby
shakahl has quit [Remote host closed the connection]
josealobato has joined #ruby
biberu has joined #ruby
dogweather has quit [Ping timeout: 268 seconds]
ciscam has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
dogweather has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
fyrril2 has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
mohsen_1 has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fyrril has quit [Ping timeout: 276 seconds]
dogweather has quit [Ping timeout: 255 seconds]
dogweather has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
alfiemax has joined #ruby
memo1 has joined #ruby
<memo1> hi, working with Threads. Once the thread is dead, is possible to back to life?, something like tr.startagain?
alfiemax has quit [Remote host closed the connection]
flips has quit [Quit: bbl ...]
<dminuoso> memo1: What does "dead" mean
<dminuoso> memo1: As in software terminology dead?
Sonar1 has quit [Ping timeout: 240 seconds]
<dminuoso> memo1: If so, you're shit out of luck.
<dminuoso> This is ruthlessly stolen from Java, but things are not so different really
<memo1> dminuoso: when i run the t1=Thread.new {something..} and i inspect t1, it say sleep. Whenn the thrad finish it say dead.
<dminuoso> memo1: Threads are like people.
<dminuoso> If they are asleep you can wake them
<dminuoso> If the are dead you cant undead them.
<memo1> dminuoso: i want to install automatically the command im runing on the thread, if it fails
<dminuoso> But you can make threads just like you can make babies.
<memo1> dminuoso: ok, thank you.
dogweather has quit [Ping timeout: 240 seconds]
nima_m has joined #ruby
conta has joined #ruby
nima_m_ has joined #ruby
biberu has quit []
dogweather has joined #ruby
vondruch has joined #ruby
biberu has joined #ruby
amar has joined #ruby
nima_m has quit [Quit: nima_m]
nima_m_ is now known as nima_m
nima_m_ has joined #ruby
donofrio has joined #ruby
dogweather has quit [Read error: Connection timed out]
nima_m_ has quit [Quit: nima_m_]
suukim has joined #ruby
nima_m_ has joined #ruby
blackmesa has joined #ruby
clemens3 has joined #ruby
nima_m_ has quit [Client Quit]
dogweather has joined #ruby
nima_m_ has joined #ruby
sanscoeur has quit [Remote host closed the connection]
yohji has joined #ruby
raynold has joined #ruby
dionysus69 has joined #ruby
nima_m_ has quit [Quit: nima_m_]
chmurifree is now known as chmuri
alfiemax has joined #ruby
reber has joined #ruby
sysvalve has joined #ruby
dogweather has quit [Ping timeout: 256 seconds]
amar has quit [Remote host closed the connection]
dogweather has joined #ruby
sysvalve has quit [Quit: Leaving]
mikecmpbll has joined #ruby
minimalism has quit [Quit: minimalism]
dogweather has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
Revan007 has joined #ruby
alfiemax has quit [Remote host closed the connection]
tvw has joined #ruby
josealobato has quit [Quit: Textual IRC Client: www.textualapp.com]
dionysus69 has quit [Quit: dionysus69]
alfiemax has joined #ruby
dionysus69 has joined #ruby
marr has joined #ruby
Burgestrand has joined #ruby
sysvalve has joined #ruby
c0ncealed1 has quit [Remote host closed the connection]
c0ncealed1 has joined #ruby
<nima_m> hi ,which IDE/editor is best to use for ruby?
<dminuoso> nima_m: The one you are most comfortable with.
<dminuoso> nima_m: emacs or vim are great choices. But any editor you like that has syntax highlighting and tags support will work
suukim has quit [Quit: Konversation terminated!]
<mohsen_1> dminuoso: Are there any IDEs too?
Burgestrand has quit [Quit: Closing time!]
<dminuoso> mohsen_1: RubyMine and emacs probably give you the most integrated experience
<Zarthus> i find ruby to work poorly on any IDE, i much prefer text editors
<mohsen_1> dminuoso: Hm, what would you personally recommend(I don't have experience with vim/emacs)
guille-moe has joined #ruby
<dminuoso> mohsen_1: Editors are like religions. Try them out and pick one you like.
<dminuoso> But dont talk about it.
<dminuoso> mohsen_1: Lack of experience is something you can change. ;)
<dminuoso> mohsen_1: Personally I use spacemacs with evil mode.
rmerry has joined #ruby
<dminuoso> The complexity of the editor is not that much of an issue, because you can be productive with very little knowledge. They don't require much experience, but they just offer much power once you learn it.
<rmerry> hey guys; in Rails 5 is there an easy way to make the json serializer (when serializing a model to json) to not output fields with a nil (null) value?
<dminuoso> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<mohsen_1> dminuoso: You're right
<rmerry> cheers
jenrzzz has joined #ruby
ellcs has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
amar has joined #ruby
Quentinius has joined #ruby
Burgestrand has joined #ruby
Quentinius has quit [Client Quit]
<Zarthus> rmerry: fyi APIs that have hidden fields are a pain in the ass to work with :P
<Zarthus> especially if not documented
amar has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
amar has joined #ruby
<rmerry> I was under the impression that it's standard practice not to return null fields in json
<Zarthus> it only really works if your documentation reflects everything :P
<Zarthus> my day job kind of involves reading poorly documented/written apis and implementing them.
<rmerry> thank you for the advice Zarthus
_antares_ has joined #ruby
<Zarthus> especially when it's something like "if this value is set, do this instead of that" -- it'd be so much better if they just used a boolean :P
jenrzzz has quit [Ping timeout: 256 seconds]
ta_ has quit [Remote host closed the connection]
<rmerry> indeed, I can see it being more convenient for front end devs
<rmerry> though I guess the downside is you might be returning more data than necessary over the wire
<rmerry> though in my case that's probably not an issue
<Zarthus> i'm actually a backend dev
<Zarthus> i interface with third party apis
<Zarthus> if it's an internal tool, go wild because they can bug you with questions and you can describe the ticket implementation
tomphp has joined #ruby
saTchymoto has joined #ruby
<dminuoso> 10:35 rmerry | I was under the impression that it's standard practice not to return null fields in json
tomphp has quit [Read error: Connection reset by peer]
<dminuoso> `null` generally has the same conncation as `NaN`
<dminuoso> *connotation even
dogweather has joined #ruby
Beams has joined #ruby
ta_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jottr has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
physicist__ has joined #ruby
simmaniac has joined #ruby
yohji has quit [Remote host closed the connection]
roamingdog has joined #ruby
yohji has joined #ruby
sysvalve has quit [Ping timeout: 255 seconds]
dogweather has quit [Read error: Connection timed out]
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
simmaniac is now known as sysvalve
roamingdog has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
ellcs has quit [Ping timeout: 276 seconds]
dogweather has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
tvw has quit [Ping timeout: 250 seconds]
tomphp has quit [Read error: Connection reset by peer]
jottr has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
robertothais has joined #ruby
tvw has joined #ruby
postmodern has quit [Quit: Leaving]
<apeiros> dminuoso: IME sql is the only language treating it as such, though. or are there other languages?
kapil___ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<apeiros> (and I hate sql for treating null similar to NaN)
<dminuoso> apeiros: Actually yeah you are right.
Burgestrand has quit [Quit: Closing time!]
Burgestrand has joined #ruby
dogweather has quit [Read error: Connection timed out]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
dogweather has joined #ruby
ellcs has joined #ruby
camonz has joined #ruby
jenrzzz has joined #ruby
Mike11 has joined #ruby
conta has quit [Read error: Connection reset by peer]
conta has joined #ruby
karapetyan has joined #ruby
amatas has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
amatas has quit [Client Quit]
dogweather has quit [Ping timeout: 260 seconds]
suukim has joined #ruby
ur5us has quit [Remote host closed the connection]
plexigras has joined #ruby
ur5us has joined #ruby
dogweather has joined #ruby
alfiemax has quit [Remote host closed the connection]
camonz has quit [Quit: Linkinus - http://linkinus.com]
ciscam has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
conta has quit [Ping timeout: 260 seconds]
KeyJoo has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
yohji has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
yohji has joined #ruby
p0p0pr37 has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
Beams has quit [Quit: .]
tvw has quit [Remote host closed the connection]
roamingdog has joined #ruby
worldsayshi has joined #ruby
dogweather has quit [Ping timeout: 256 seconds]
GodFather has quit [Ping timeout: 256 seconds]
p0p0pr37 has joined #ruby
p0p0pr37 has quit [Changing host]
p0p0pr37 has joined #ruby
dogweather has joined #ruby
robertothais has quit [Ping timeout: 246 seconds]
p0p0pr37 has quit [Ping timeout: 264 seconds]
conta has joined #ruby
AJA4350 has joined #ruby
alfiemax has joined #ruby
conta has quit [Ping timeout: 240 seconds]
p0p0pr37 has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
dogweather has quit [Ping timeout: 260 seconds]
alfiemax has quit [Remote host closed the connection]
_antares_ has quit [Quit: Connection closed for inactivity]
p0p0pr37 has quit [Read error: Connection reset by peer]
p0p0pr37 has joined #ruby
p0p0pr37 has joined #ruby
p0p0pr37 has quit [Changing host]
twe4ked has quit [Ping timeout: 276 seconds]
Mike11 has quit [Ping timeout: 260 seconds]
dogweather has joined #ruby
twe4ked has joined #ruby
Beams has joined #ruby
RedNifre has joined #ruby
tomphp has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
tomphp has quit [Client Quit]
amar has quit [Ping timeout: 265 seconds]
houhoulis has joined #ruby
worldsayshi has quit [Quit: leaving]
RedNifre has quit [Ping timeout: 264 seconds]
dogweather has quit [Ping timeout: 276 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
robertothais has joined #ruby
roamingdog has joined #ruby
nima_m has quit [Quit: Connection closed for inactivity]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
p0p0pr37 has quit [Ping timeout: 246 seconds]
dogweather has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure|dc has joined #ruby
ellcs has quit [Ping timeout: 240 seconds]
conta has joined #ruby
p0p0pr37 has joined #ruby
ldnunes has joined #ruby
memo1 has quit [Ping timeout: 265 seconds]
dogweather has quit [Ping timeout: 248 seconds]
KeyJoo has quit [Ping timeout: 268 seconds]
dogweather has joined #ruby
_antares_ has joined #ruby
wolfshappen has quit [Quit: Waffs have technical problems too]
RougeR has joined #ruby
Cavallari has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
dogweather has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
dogweather has joined #ruby
plexigras has quit [Ping timeout: 260 seconds]
za1b1tsu_ has quit [Ping timeout: 250 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
plexigras has joined #ruby
VladGh has quit [Quit: Lost terminal]
synthroid has joined #ruby
VladGh has joined #ruby
dogweather has quit [Ping timeout: 240 seconds]
tomphp has quit [Client Quit]
jcalla has joined #ruby
quobo has joined #ruby
Junaos_ has quit [Quit: ZNC - http://znc.in]
blackmesa has quit [Quit: WeeChat 2.1]
dogweather has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
dionysus69 has quit [Quit: dionysus69]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dr3w_ has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
dr3w_ has joined #ruby
dogweather has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby
suukim has quit [Ping timeout: 240 seconds]
dogweather has joined #ruby
RedNifre has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
ellcs has joined #ruby
n0m4d1c_ has quit [Remote host closed the connection]
amar_ has joined #ruby
KeyJoo has joined #ruby
tomphp has joined #ruby
kurko_ has joined #ruby
Junaos has joined #ruby
n0m4d1c has joined #ruby
dogweather has quit [Ping timeout: 268 seconds]
tomphp has quit [Client Quit]
dogweather has joined #ruby
drale2k_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Beams_ has joined #ruby
Beams has quit [Ping timeout: 260 seconds]
anisha has quit [Quit: This computer has gone to sleep]
jenrzzz has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
oleo has joined #ruby
dogweather has quit [Remote host closed the connection]
dogweather has joined #ruby
TinkerT has quit [Read error: Connection reset by peer]
TinkerT has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RedNifre has quit [Ping timeout: 248 seconds]
fyrril2 has quit [Quit: Leaving]
jenrzzz has joined #ruby
suukim has joined #ruby
Mike11 has joined #ruby
zipace has joined #ruby
vee_ has quit [Ping timeout: 260 seconds]
oleo has left #ruby ["Leaving"]
cyberg has joined #ruby
nowhere_man has joined #ruby
Asher has quit [Ping timeout: 264 seconds]
k0mpa has joined #ruby
<Mike11> Hello all, I am new to ruby, I created my gem using gem bundle xxx. and now that it is functioning mostly the way I want, I tried to setup travis to build, but I am getting an error:
<Mike11> 0.40s$ bundle exec rake
<Mike11> Tasks: TOP => default(See full trace by running task with --trace)
<Mike11> ...
<Mike11> Don't know how to build task 'spec' (see --tasks)
<Mike11> rake aborted!
sylario has joined #ruby
<Mike11> I think that the error is related to my Rakefile: https://github.com/micjabbour/pronto-clang_format/blob/master/Rakefile
<Mike11> but it is the one auto-generated by bundle, and I am not feeling alright to change it, should I? and what should I add exactly?
<Zarthus> Mike11: what happens when you run `bundle exec rake` locally?
<Mike11> Zarthus: bundler: failed to load command: rake (/usr/local/bin/rake)
vee_ has joined #ruby
<Mike11> although I have rake installed!
<Zarthus> so it's not failing on travis; it's failing in general
<Zarthus> did you run `bundle install`( i think the command is ) at any recent point in your project dir?
<Mike11> Zarthus: when I use: gem build mygemspecfile.gemspec, then sudo gem install mygemspecfile-0.1.0.gem . Everything works as expected
<Mike11> bundle install says that it insalled all dependencies (and rake shows among them). and after that bundle exec rake fails with the same error
<Mike11> but note that it is a different error from travis
<Mike11> travis isn't complaining about not finding the rake executable
<Zarthus> yeah, travis is saying the command being ran (`rake exec spec`) doesn't exist.
<Zarthus> which means your rakefile doesn't describe this job
<Zarthus> but if you locally cannot get it to run, you cannot assert it will work when travis is doing things.
<Mike11> Zarthus: well, rake --version runs locally
<Mike11> whereis rake show
<Mike11> sorry
<Mike11> whereis rake
<Mike11> shows
<Mike11> rake: /usr/bin/rake /usr/local/bin/rake /usr/share/man/man1/rake.1.gz
<Zarthus> try `bundle whereis rake`
<Zarthus> it runs it in context of bundler
<Mike11> did you mean "bundle exec whereis rake"?
bmurt has joined #ruby
<Zarthus> yes, sorry
<Zarthus> getting " bundler: failed to load command: rake (/usr/local/bin/rake)" with bundle exec rake is quite.. interesting.
_antares_ has quit []
<Mike11> Zarthus: np, well not for me :p
alfiemax has joined #ruby
rippa has joined #ruby
<Mike11> Zarthus: sorry, got a phone call. "bundle exec rake --version" shows the same error (failed to load command)
<Zarthus> anyway, i would first work towards getting my local environment to say exactly what travis is saying
<Zarthus> then you can fix the problem locally, push your changes, travis will pas.s
karunagrewal has joined #ruby
<Mike11> but "bundle exec whereis rake" shows the same paths as running "whereis rake"
Azure|dc has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
<Zarthus> i'm fairly certain the solution is to define a spec task for rake, but there's no point in not fixing local first.
<Zarthus> are you on windows 10 perchance?
<Mike11> Zarthus: no, I am running ruby in a debian 9 VM
Azure has joined #ruby
<Mike11> Zarthus: so I should eventually edit the auto-generate Rakefile, right?
karunagrewal has quit [Client Quit]
<Zarthus> hard to say, i don't know what you have at the moment :P
<Mike11> I am thinking of re-installing ruby
<Zarthus> that might make sese, or at least the gem
<Mike11> what gem?
<Zarthus> rake
_antares_ has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
karapetyan has quit [Ping timeout: 240 seconds]
<Mike11> how can I re-install all gems that I have here?
<Zarthus> uh.. good question
<Mike11> I mean, is there any command that removes gem along with all its installed gems?
<Mike11> (I can install what I need later)
<Zarthus> there probably is, but i don't know it off the topic of my head
<Zarthus> `man gem` can probably help here
synthroid has quit []
krawchyk has joined #ruby
houhoulis has quit [Remote host closed the connection]
houhoulis has joined #ruby
tomphp has joined #ruby
dionysus69 has joined #ruby
tomphp has quit [Client Quit]
houhoulis has quit [Ping timeout: 256 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aupadhye has quit [Ping timeout: 260 seconds]
_antares__ has joined #ruby
dogweather has quit [Remote host closed the connection]
roamingdog has joined #ruby
Revan007 has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 256 seconds]
TomyWork has joined #ruby
twe4ked has quit [Ping timeout: 260 seconds]
pb122 has joined #ruby
ferr has quit [Quit: WeeChat 2.1]
twe4ked has joined #ruby
roamingdog has quit [Ping timeout: 240 seconds]
RedNifre has joined #ruby
ferr has joined #ruby
<kapil___> https://ruby-doc.org/core-2.5.0/Dir.html Dir provides find function. but its documentation is not available on website
<dminuoso> NoMethodError: undefined method `find' for Dir:Class
<apeiros> kapil___: it's an instance method from Enumerable
<kapil___> apeiros: thanks
<apeiros> always check included modules, or use ri
<apeiros> &ri Dir#find kapil___
<apeiros> oh dang, is derpy still off?
<kapil___> apeiros: i tried to use ri but not successful how to use it? thanks
<apeiros> anyway, `ri Dir#find` in your console will give you the result
<apeiros> what do you get when you run the above command?
<kapil___> `Nothing known about Dir`
<apeiros> you didn't install ruby docs along with ruby. how did you install ruby?
<kapil___> `rvm reinstall 2.5.0 --disable-binary`
<apeiros> run `rvm docs generate`
<kapil___> apeiros: thanks
<dminuoso> I refuse to build docs.
<dminuoso> Stupid thing takes way too long
Asher has joined #ruby
<apeiros> y u computa so slo, dminuoso?
<apeiros> *komputah
<dminuoso> Ask Apple.
<kapil___> apeiros: how to use ri in irb?
<apeiros> hm, my 🍎 is fast. just the keyboard is shit.
<dminuoso> Heh
<apeiros> kapil___: use pry + pry-doc
<dminuoso> apeiros: I just ordered myself a new ducky keyboard for the office =)
<apeiros> and then as simple as `? Dir#find`
<apeiros> and `$ Dir#find` to see the source code
<apeiros> dminuoso: lÿnk?
<dminuoso> apeiros: The best mechanical keyboards on the market right now. :)
<apeiros> I'm actually pretty happy with the titanium apple keyboards. still use that one. I think it came with my imac.
<apeiros> got a decent travel distance and feels solid
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<Mike11> after re-installing ruby, I can get the same output from travis
<dminuoso> apeiros: I grew up with an IBM Model M, so Im pretty hooked on mechanical keyboards. :)
<dminuoso> The Ducky One is the first keyboard that actually feels like an upgrade from an IBM Model M.
<apeiros> I just wish they had enough power in their built-in hub for those silly mice I have
<dminuoso> Haha! You use a mouse?
<apeiros> all of them complain about too little power when I connect them through the keyboard
wolfshappen has joined #ruby
<dminuoso> Serves you right!
<dminuoso> Mouse user!
<apeiros> yeah. I got magic trackpad. I used it for like a week and couldn't get used to it
<Mike11> when I use "bundle exec rake" in my gem, I get:
<Mike11> Don't know how to build task 'spec' (see --tasks)
<Mike11> rake aborted!
<dminuoso> apeiros: Honestly I really wish I could run xmonad on macOS
<dminuoso> If I had a decent tiling window manager I could throw the mouse out of the window
<apeiros> Mike11: so the default task is specified to be 'spec' and your Rakefile doesn't load/define that task
<Mike11> This error is preventing my CI to run successfully: https://travis-ci.org/micjabbour/pronto-clang_format/builds/377479711\
Asher has quit [Ping timeout: 268 seconds]
<dminuoso> For me the mouse is mostly for dragging windows around..
<apeiros> dminuoso: nah, I like mousing even for stuff like text editing. it's rare, but there's situations where it's definitively faster than any keyboard combo possibly could be.
<Mike11> apeiros: so should I edit my Rakefile even for a hello-world kind of gem?
<apeiros> Mike11: I have no idea what you *should* do, since that depends entirely on what you want to happen.
<apeiros> (and additionally of course on your context, which I know next to nothing about)
<dminuoso> apeiros: Oh yeah, the mouse is not complete useless. Though the times when I actually touch it are rare on a good day.
_antares_ has quit [Remote host closed the connection]
<dminuoso> I dont actually recall this, but Im sure there may even have been days that I didn't touch the mouse for hours at a time.
<dminuoso> (While working on the computer of course!)
jottr has joined #ruby
<apeiros> dminuoso: yeah, I think I'm ~95% keyboard and 5% mouse.
<apeiros> maybe 90/10
<apeiros> and re tiling manager: yes! that'd lower my mouse usage even further. a lot of it is "arranging windows".
<dminuoso> Yup
jenrzzz has quit [Ping timeout: 268 seconds]
<apeiros> and with 30" screens there's really little point in overlapping windows.
blackmesa has quit [Ping timeout: 250 seconds]
<apeiros> spaces + tiling
<Mike11> apeiros: ok, I get your point. I am writing a gem that should (when installed) be picked up by another gem (which invokes some functions/instantiates objects from classes in my gem)
<dminuoso> apeiros: During coding I'd say it's maybe 99/1 unless Im doing webdev.
<apeiros> Mike11: and you need rake for what?
<Mike11> currently it is working fine for me, when I use sudo gem install xxx
<dminuoso> I mean the mouse mostly is just used during clicking on things in the browser.
<Mike11> but I would like to setup CI for my repo above
<apeiros> dminuoso: yeah, a lot of mousing is for all the distractions, like IRC, twitch, youtube, twitter, imessage, whatsapp
<dminuoso> apeiros: And even the tiling can largely be avoided if you set up your desktops once
<Mike11> and travis seems to display an error about rake
<Mike11> apeiros: sorry for my inaccurate terms, I am just new to ruby :)
<dminuoso> apeiros: I mean I try to avoid terminal madness and just use a single terminal window with fullscreen and tmux inside.
<dminuoso> "terminal space tiling"
tomphp has joined #ruby
<dminuoso> So it's one screen tmux (tiled), one screen emacs (tiled), and one screen with a browser window
<apeiros> hm, I have one terminal window per project with multiple tabs. usually tab 1 = rails s, tab 2 = rails c, tab 3 = git stuff, tab 4 = open for whatever.
<apeiros> Mike11: ok, what should your CI do?
<Mike11> apeiros: I am not sure what it should do yet, I am not planning to write tests for this (so maybe just "build" the gem?)
dogweather has joined #ruby
tomphp has quit [Client Quit]
<apeiros> then configure your CI task to do that. right now it runs `bundle exec rake` which in turn is set to be `bundle exec rake spec`. and that's not about building your gem.
<apeiros> and I'd say "Could not find .travis.yml, using standard configuration." is related to that.
tomphp has joined #ruby
<Mike11> apeiros: using rake seems to be the default way for checking gems on travis
<Mike11> and I thought that I should stick to that since I don't have experience to choose something else
RougeT430 has joined #ruby
<apeiros> you'll have to make up your mind
<apeiros> you just said you don't plan to write tests. what travis by default runs *are* tests.
<apeiros> so either write tests or configure travis to do what you said before (build the gem)
<Mike11> mm, I get your point, thank you very much and sorry for the noise
samosaphile has joined #ruby
<apeiros> wasn't noise, you're welcome.
kmurphy4 has joined #ruby
<Mike11> apeiros: thanks :)
dogweather has quit [Ping timeout: 240 seconds]
tomphp has quit [Client Quit]
RougeR has quit [Ping timeout: 240 seconds]
samosaphile has quit [Client Quit]
KeyJoo has quit [Read error: Connection reset by peer]
spiette has quit [Quit: ZNC 1.6.6 - http://znc.in]
RedNifre has quit [Ping timeout: 255 seconds]
TomyWork has quit [Remote host closed the connection]
spiette has joined #ruby
tomphp has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
tomphp has quit [Client Quit]
chouhoulis has joined #ruby
rouget430__ has joined #ruby
rouget430__ has quit [Read error: Connection reset by peer]
RougeR has joined #ruby
RougeR has quit [Changing host]
RougeR has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
amar__ has joined #ruby
mr_rich101 has quit [Quit: ZNC - http://znc.in]
coderphive has joined #ruby
ellcs has quit [Ping timeout: 248 seconds]
BTRE has joined #ruby
drale2k_ has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
RougeT430 has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
amar_ has quit [Ping timeout: 256 seconds]
CrazyEddy has quit [Remote host closed the connection]
RougeT430 has joined #ruby
amar__ has quit [Ping timeout: 276 seconds]
tdy has quit [Ping timeout: 248 seconds]
sonOfRa has quit [Remote host closed the connection]
sonOfRa has joined #ruby
\void has joined #ruby
RougeR has quit [Ping timeout: 246 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
samwheel has joined #ruby
samwheel has quit [Client Quit]
dogweather has joined #ruby
CrazyEddy has joined #ruby
cadillac_ has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
cadillac_ has joined #ruby
TomyLobo has joined #ruby
cschneid_ has joined #ruby
dogweather has quit [Ping timeout: 256 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dcunit3d has joined #ruby
RougeT430 is now known as RougeR
RougeR has quit [Changing host]
RougeR has joined #ruby
schneider has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
aufi has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
saTchymoto has quit []
chouhoulis has joined #ruby
sriehl has quit [Quit: ZNC 1.6.6 - http://znc.in]
tdy has joined #ruby
sriehl has joined #ruby
sriehl has joined #ruby
sriehl has quit [Changing host]
apparition has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
Cavallari has quit [Quit: Cavallari]
simmaniac has joined #ruby
memo1 has joined #ruby
ryzokuken has joined #ruby
sysvalve has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
tomphp has quit [Client Quit]
bmurt has joined #ruby
za1b1tsu_ has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
RougeT430 has joined #ruby
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
dcunit3d has quit [Ping timeout: 248 seconds]
dcunit3d has joined #ruby
RougeR has quit [Ping timeout: 246 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quobo has quit [Quit: Connection closed for inactivity]
Burgestrand has quit [Quit: Closing time!]
conta has quit [Ping timeout: 256 seconds]
nadir has joined #ruby
Mondongo has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
dcunit3d has quit [Ping timeout: 256 seconds]
cthulchu has joined #ruby
dogweather has joined #ruby
Mondongo has quit [Quit: Textual IRC Client: www.textualapp.com]
dcunit3d has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
dogweather has quit [Ping timeout: 248 seconds]
tomphp has joined #ruby
cgfbee has quit [Ping timeout: 248 seconds]
bmurt has joined #ruby
mensvaga has joined #ruby
<mensvaga> Anybody have experience with the Syslog module in here?
ramfjord has quit [Ping timeout: 240 seconds]
jcarl43 has joined #ruby
<mensvaga> For instance, why this: error() - Logs a message at the error (syslog warning) log level
<mensvaga> fatal() - Logs a message at the fatal (syslog err) log level
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
caleBOT has joined #ruby
caleBOT_ has joined #ruby
<mensvaga> warn() - Logs a message at the warn (syslog notice) log level,
<mensvaga> ?!
dcunit3d has quit [Ping timeout: 255 seconds]
<mensvaga> Is there a 'syslog/logger/actualsyslog' ?
cgfbee has joined #ruby
caleBO___ has joined #ruby
caleBOT__ has joined #ruby
tomphp has joined #ruby
caleBOT_ has quit [Ping timeout: 260 seconds]
caleBOT has quit [Ping timeout: 260 seconds]
bmurt has quit [Ping timeout: 264 seconds]
cagomez has joined #ruby
dogweather has joined #ruby
<Zarthus> you could always alias the methods
<mensvaga> ... I did. But, that felt kind of yucky.
<mensvaga> I see it has a "add" thing, so I might be able to add "real_syslog_info", etc, and then just wrap those
_antares__ has quit [Quit: Connection closed for inactivity]
<mensvaga> But, I was wondering if somebody had already done that.
<Zarthus> it kind of makes sense to me though, there's no way a fatal() should become LOG_EMERG or LOG_CRIT
<Zarthus> it's a ruby program, not a system-dependent critical software
<mensvaga> I suppose that's not the correct approach to have when thinking about software. Somewhere, somebody assumes that Ruby is a quality programming language to be relied upon.
<mensvaga> "Critical", if you will.
<Zarthus> i mean, from a syslog perspective, the man page describes LOG_CRIT as a critical system issue
<Zarthus> and LOG_EMERG literally is an emergency, your system is "no longer usable"
dogweather has quit [Ping timeout: 265 seconds]
<mensvaga> wow, so, no. You're taking the definition of "system" to be to restrictive in this case.
<Zarthus> maybe, I've only read part of the manpage :)
<mensvaga> It's not necessarily the "computing system" you're on, it's the "environment / system you're interacting with"
<mensvaga> Let's just say you're running a door lock system with Ruby
<mensvaga> and them dinosaurs escape
<mensvaga> and you're all like "emergency! Dinosaurs escaping"
<mensvaga> Ruby programmer comes to you and says, "LOL. Ruby not critial. No way for emergency."
mroutis has joined #ruby
<mensvaga> You'd be all like, "But... but the door lock system is unusable! And it's an emergency!"
<mensvaga> "LOL. USe fatal. Logs to err."
<Zarthus> i'll admit it's not very intuitive :)
dogweather has joined #ruby
<mensvaga> You misspelled "wrong"...
<mensvaga> anyway
<Zarthus> https://www.rubydoc.info/gems/syslog-logger/1.6.8/Logger/Syslog (albeit from 2012) seems to be closer to what you want
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Zarthus> there's no emergency in that one either, though
<mensvaga> Closer. But they still unknown => alert
<mensvaga> Perl doesn't have an emergency one either, but it's easy to add.
tomphp has joined #ruby
<Zarthus> you could extend and modify LO:GGER_MAP
_antares_ has joined #ruby
<mensvaga> Yeah. I'd have to remap everything except for debug and info.
<Zarthus> less hacky than aliasing methods
<mensvaga> OK. Got the answer I was expecting, but not what I hoped for. I'll remap everything.
<mensvaga> thanks :)
tomphp has quit [Client Quit]
mikecmpbll has quit [Quit: inabit. zz.]
dogweather has quit [Ping timeout: 264 seconds]
ellcs has joined #ruby
kurko_ has joined #ruby
mroutis has quit [Ping timeout: 246 seconds]
drale2k_ has joined #ruby
RougeT430 has quit [Ping timeout: 250 seconds]
<havenwood> exit
dogweather has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
_antares_ has quit [Remote host closed the connection]
apparition has quit [Quit: Bye]
dogweather has quit [Ping timeout: 240 seconds]
Asher has joined #ruby
govg has quit [Ping timeout: 246 seconds]
clemens3 has quit [Ping timeout: 256 seconds]
dogweather has joined #ruby
_antares_ has joined #ruby
<mensvaga> wait, so, somebody took a more accurate syslog module, and then made a less accurate one because "ruby can't be used for system critical stuff" ?
chocoelho has quit [Quit: Konversation terminated!]
dcunit3d has joined #ruby
dogweather has quit [Ping timeout: 256 seconds]
RedNifre has joined #ruby
_antares_ has quit [Remote host closed the connection]
GodFather has joined #ruby
<nolanv> Much of Ruby was developed by raptors. They have a personal stake in this.
GodFather_ has joined #ruby
jamesaxl has joined #ruby
dogweather has joined #ruby
regedit has joined #ruby
gheegh has joined #ruby
dogweather has quit [Ping timeout: 256 seconds]
RougeT430 has joined #ruby
yohji has quit [Remote host closed the connection]
dogweather has joined #ruby
<nolanv> LOL
<al2o3-cr> mensvaga: syslog does have critical and emergency
dcunit3d has quit [Read error: Connection reset by peer]
dcunit3d has joined #ruby
<mensvaga> welcome to the party.
<nolanv> gracias, amigo
sanscoeur has joined #ruby
cthulchu_ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
cthulchu has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #ruby
NingaLeaf has joined #ruby
chouhou__ has joined #ruby
chouho___ has joined #ruby
pilne has joined #ruby
chouh____ has joined #ruby
chouhoulis has quit [Ping timeout: 255 seconds]
dcunit3d has quit [Ping timeout: 255 seconds]
Cyrus has quit [Quit: WeeChat 2.1]
chouhoulis has joined #ruby
chouhoul_ has quit [Ping timeout: 255 seconds]
chouhoul_ has joined #ruby
chouhou__ has quit [Ping timeout: 256 seconds]
chouhou__ has joined #ruby
chouho___ has quit [Ping timeout: 264 seconds]
bmurt has joined #ruby
chouho___ has joined #ruby
chouh____ has quit [Ping timeout: 256 seconds]
ellcs has quit [Ping timeout: 246 seconds]
chouh____ has joined #ruby
chouhoulis has quit [Ping timeout: 255 seconds]
chouhoulis has joined #ruby
amar has joined #ruby
chouhoul_ has quit [Ping timeout: 268 seconds]
chouhou__ has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #ruby
guille-moe has quit [Ping timeout: 240 seconds]
chouhou__ has joined #ruby
chouho___ has quit [Ping timeout: 256 seconds]
chouh____ has quit [Ping timeout: 240 seconds]
chouho___ has joined #ruby
mroutis has joined #ruby
chouh____ has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoul_ has quit [Ping timeout: 240 seconds]
memo1 has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby
chouhoul_ has joined #ruby
chouhou__ has quit [Ping timeout: 250 seconds]
chouhou__ has joined #ruby
chouho___ has quit [Ping timeout: 240 seconds]
chouh____ has quit [Ping timeout: 240 seconds]
chouho___ has joined #ruby
Beams_ has quit [Quit: .]
chouh____ has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
chouhoul_ has quit [Ping timeout: 240 seconds]
mustmodify_ has joined #ruby
chouhoul_ has joined #ruby
<mustmodify_> What's the fastest (runtime) way to test for an invalid byte sequence? just =~ /[^\x00..\x7F]/ ?
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhou__ has quit [Ping timeout: 268 seconds]
<mustmodify_> sorry... non-ASCII characters
gheegh has joined #ruby
chouhou__ has joined #ruby
chouho___ has quit [Ping timeout: 240 seconds]
chouh____ has quit [Ping timeout: 250 seconds]
chouho___ has joined #ruby
n0m4d1c has joined #ruby
Beams has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
chouh____ has joined #ruby
<Zarthus> maybe .ord > 255
<mustmodify_> hunh...
chouhoul_ has quit [Ping timeout: 248 seconds]
chouhoulis has joined #ruby
<mustmodify_> I'll have to test that.
<Zarthus> a regex might be faster against entire strings, i'm not sure.
<mustmodify_> I'll benchmark. Good idea, thanks.
d^sh has quit [Ping timeout: 264 seconds]
chouhoul_ has joined #ruby
<Zarthus> your regex should have a dash rather than two dots anyways (unless ruby does something specific)
ohcibi has quit [Quit: No Ping reply in 180 seconds.]
<mustmodify_> that's true.
<mustmodify_> I typed that separately and wrong. Actual code I'm using is /[^\x00-\x7F]/
chouhou__ has quit [Ping timeout: 276 seconds]
RedNifre has quit [Ping timeout: 240 seconds]
<apeiros> !fixcon chouh____
chouh____ was kicked from #ruby by ruby[bot] [repeated join/part detected]
chouho___ was kicked from #ruby by ruby[bot] [repeated join/part detected]
chouhoulis was kicked from #ruby by ruby[bot] [repeated join/part detected]
chouhoul_ was kicked from #ruby by ruby[bot] [repeated join/part detected]
gregf_ has joined #ruby
<Zarthus> i'd wonder if testing against truthiness would be faster than falsiness.
<Zarthus> a-la /^[\x00..\x7F]*$/
<mustmodify_> shoot... if the encoding is set to UTF8, the regex still blows up with "invalid byte sequence"
chouho___ has quit [Ping timeout: 276 seconds]
ohcibi has joined #ruby
<Zarthus> does adding the /u flag help?
<apeiros> Zarthus: wrong anchors
chouh____ has quit [Ping timeout: 248 seconds]
d^sh has joined #ruby
<Zarthus> apeiros: you want the \A\z ones?
<apeiros> also wrong range "operator". character classes use "-"
<apeiros> Zarthus: it's not me who wants that ;-)
shaman42 has quit [Remote host closed the connection]
shaman42 has joined #ruby
<apeiros> but yes, \A\z would be the correct ones
<Zarthus> hah, i fell for mustmodify_'s pitfall.
<Zarthus> what makes them more correct?
<apeiros> and /u is no longer necessary since 1.9
Beams has quit [Quit: .]
chouhoulis has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> >> if "I cheat\n\xff" =~ /^[\x00-\x7f]$/ then "broken regex" else "huh? it works correctly?" end
<ruby[bot]> apeiros: # => invalid byte sequence in UTF-8 (ArgumentError) ...check link for more (https://eval.in/1002951)
<apeiros> >> if "I cheat\n\xff" =~ /^[\x00-\x7f]$/n then "broken regex" else "huh? it works correctly?" end
<ruby[bot]> apeiros: # => invalid byte sequence in UTF-8 (ArgumentError) ...check link for more (https://eval.in/1002952)
<apeiros> watt
<Zarthus> rip
<apeiros> >> if "I cheat\nö" =~ /^[\x00-\x7f]$/n then "broken regex" else "huh? it works correctly?" end
<ruby[bot]> apeiros: # => /tmp/execpad-7411697b833b/source-7411697b833b:2: warning: regexp match /.../n against to UTF-8 strin ...check link for more (https://eval.in/1002953)
<mustmodify_> looks like there's no way around it.
<apeiros> ruby, go away, yer drunk
<apeiros> >> if "I cheat\nö" =~ /^[\x00-\x7f]$/ then "broken regex" else "huh? it works correctly?" end
chouhoul_ has quit [Ping timeout: 240 seconds]
<ruby[bot]> apeiros: # => "huh? it works correctly?" (https://eval.in/1002954)
<apeiros> eh, yeah, I should copy the regex correctly
<apeiros> LAST TRY! :D
<apeiros> >> if "I cheat\nö" =~ /^[\x00-\x7f]*$/ then "broken regex" else "huh? it works correctly?" end
<ruby[bot]> apeiros: # => "broken regex" (https://eval.in/1002955)
<apeiros> >> if "I cheat\nö" =~ /\A[\x00-\x7f]*\z/ then "broken regex" else "huh? it works correctly?" end
<ruby[bot]> apeiros: # => "huh? it works correctly?" (https://eval.in/1002956)
<Zarthus> huh? it works correctly?!
<apeiros> (I forgot the * before "LAST TRY"
<apeiros> and the huh, works correctly is with \A \z ;-)
<mustmodify_> oh... hunh.
<Zarthus> interesting.
<apeiros> ^$ doesn't work because only *any* line in the string must match
<apeiros> since ^$ is start/end of *line*, not *string*. \A\z is start/end of string.
<Zarthus> right
<apeiros> sorry for the spamming until I got it right :D
<Zarthus> less noise than our friend chouhoulis
<Zarthus> you're excused
<apeiros> mustmodify_: as for the warnings, force_encoding('binary') the string and //n
<mustmodify_> if "I cheat\nö".force_encoding('UTF-8') =~ /\A[\x00-\x7f]*\z/ then "broken regex" else "huh? it works correctly?" end
<apeiros> well, the chouhoulisses have been shown the door :D
<mustmodify_> >> if "I cheat\nö".force_encoding('UTF-8') =~ /\A[\x00-\x7f]*\z/ then "broken regex" else "huh? it works correctly?" end
Zarthus has left #ruby [#ruby]
<apeiros> mustmodify_: you're not registered?
<mustmodify_> ok I'll try binary
Zarthus has joined #ruby
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Zarthus> wrong button
mustmodify_ is now known as mustmodify
<mustmodify> >> if "I cheat\nö".force_encoding('UTF-8') =~ /\A[\x00-\x7f]*\z/ then "broken regex" else "huh? it works correctly?" end
<ruby[bot]> mustmodify: # => "huh? it works correctly?" (https://eval.in/1002957)
<mustmodify> My chat client sometimes gets mixed up and adds an underscore.
<apeiros> mustmodify: you want true if it contains non-ascii or false?
<apeiros> mustmodify: just group the underscored nick. /ns help group
<mustmodify> so that's weird... I'm using 2.1.6 and I get something different.
<apeiros> you forgot the //n flag.
<Zarthus> 2.1 is no longer supported, though
<apeiros> also you force encoded to utf-8, that's wrong. force encode to binary.
<mustmodify> what is //n?
<apeiros> //n tells ruby that the regex is binary
<Zarthus> a regex flag (/ is the delimiter)
nitric has joined #ruby
bmurt has quit [Ping timeout: 240 seconds]
<apeiros> so you compare a binary string with a binary regex. no issues with invalid byte sequences (binary doesn't have such a thing)
<Zarthus> TIL the ruby catchphrase is "a programmer's best friend"
<apeiros> but again, you want true if it's ascii-only, or you want true if it contains non-ascii?
quobo has joined #ruby
RedNifre has joined #ruby
<mustmodify> method is called `valid_encoding?` so I want true if it's all ascii
Puffball has joined #ruby
<apeiros> that's not what that method does.
<apeiros> or well, you can get it to. but then you have to force_encoding("ASCII")
<al2o3-cr> mustmodify: String#ascii_only?
<apeiros> isn't that after 2.1?
<al2o3-cr> shouldn't be
<Zarthus> v1_9
<apeiros> you're right. that's actually the nicest way then :)
gheegh has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
caleBO___ has quit [Remote host closed the connection]
caleBOT__ has quit [Remote host closed the connection]
<apeiros> but reading the backlog, I think we're actually solving the wrong problem
caleBOT has joined #ruby
caleBOT_ has joined #ruby
<apeiros> you have input which you tell ruby is utf-8, but which isn't
<apeiros> the first question is now whether you have a way to know which encoding your input has - do you?
<mustmodify> Right. We have an interface. Per the RFC, it should be UTF-8. Sometimes people are dumb, and they tell me it's UTF-8, and then send ISO-8944 or whatever. So I'd like the server to test files. If it finds one that isn't encoded right, to then isolate the file and alert me.
gheegh has quit [Client Quit]
<mustmodify> Actually I'm not sure it's an RFC, but there's a media type called HL7, which should be ASCII.
<apeiros> ok. in that case, read the data as binary. input.force_encoding('utf-8').valid_encoding?
<apeiros> utf-8 has non-ascii bytes.
<mustmodify> I'd take UTF-8.
<mustmodify> I mean, it's maybe not preferable, but I just don't want to throw bad encodings into my db.
caleBOT_ has quit [Ping timeout: 240 seconds]
caleBOT has quit [Ping timeout: 240 seconds]
gheegh has joined #ruby
AgentVenom has joined #ruby
<apeiros> (you may be able to get away with reading it directly as utf-8, but any operation you perform on the input might break if it's not valid utf-8)
<mustmodify> that's correct.
banisterfiend has joined #ruby
<mustmodify> that's what happens.
<apeiros> that's why I'd read it as binary and only tell ruby the encoding is utf-8 in order to test it using valid_encoding?, and that will return false if it's not utf-8.
<apeiros> I mean, if it's not valid utf-8
amar has quit [Remote host closed the connection]
<mustmodify> ok, let me run this though rspec and see what happens. :)
jenrzzz has joined #ruby
<apeiros> if you want to do something with the data after your test told you it's not utf-8, either turn it back to binary via force_encoding('binary'), or do the utf-8+valid_encoding? on a duplicate.
<apeiros> (note: String#dup is cheap if you don't actually modify the string's data - which you don't, you only change the encoding flag)
amar_ has joined #ruby
alfiemax has quit [Remote host closed the connection]
<mustmodify> ta da! That works. Thanks all.
alfiemax has joined #ruby
ldepandis has joined #ruby
sanscoeu_ has joined #ruby
amar_ has quit [Read error: No route to host]
caleBOT__ has joined #ruby
caleBOT_ has joined #ruby
suukim has quit [Quit: Konversation terminated!]
RougeT430 has quit [Ping timeout: 264 seconds]
kmurphy4 has quit [Quit: kmurphy4]
sanscoeur has quit [Ping timeout: 264 seconds]
konsolebox has quit [Ping timeout: 256 seconds]
chocoelho has joined #ruby
nowhere_man has quit [Remote host closed the connection]
RougeT430 has joined #ruby
nowhere_man has joined #ruby
alfiemax has quit [Remote host closed the connection]
konsolebox has joined #ruby
darkhanb has joined #ruby
orbyt_ has joined #ruby
alfiemax has joined #ruby
RedNifre has quit [Ping timeout: 264 seconds]
_antares_ has joined #ruby
nowhere_man has quit [Ping timeout: 250 seconds]
RedNifre has joined #ruby
sanscoeu_ has quit [Remote host closed the connection]
NingaLeaf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sanscoeur has joined #ruby
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #ruby
schneider has joined #ruby
caleBOT_ has quit [Remote host closed the connection]
caleBOT__ has quit [Remote host closed the connection]
robertothais has quit [Ping timeout: 255 seconds]
mroutis has quit [Ping timeout: 256 seconds]
alfiemax has quit [Remote host closed the connection]
vee_ has quit [Ping timeout: 248 seconds]
dcunit3d has joined #ruby
Mike11 has quit [Quit: Leaving.]
tfitts has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lytol has joined #ruby
krawchyk has quit [Read error: Connection reset by peer]
za1b1tsu_ has quit [Ping timeout: 256 seconds]
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
nolanv has quit [Quit: WeeChat 2.0.1]
sauvin has quit [Remote host closed the connection]
dcunit3d has quit [Ping timeout: 256 seconds]
_antares_ has quit []
cthu| has joined #ruby
vee_ has joined #ruby
cthulchu_ has quit [Ping timeout: 240 seconds]
chocoelho_ has joined #ruby
k0mpa has quit [Ping timeout: 255 seconds]
chocoelho has quit [Ping timeout: 250 seconds]
GodFather has quit [Ping timeout: 256 seconds]
GodFather_ has quit [Ping timeout: 256 seconds]
minimalism has joined #ruby
kurko_ has quit [Remote host closed the connection]
kurko_ has joined #ruby
clemens3_ has joined #ruby
cthulchu_ has joined #ruby
clemens3 has joined #ruby
cthu| has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
agimenez has joined #ruby
caleBOT_ has joined #ruby
caleBOT__ has joined #ruby
RougeT430 has quit [Ping timeout: 240 seconds]
agimenez is now known as sysvalve
anisha has joined #ruby
anisha has quit [Client Quit]
GodFather_ has joined #ruby
GodFather has joined #ruby
simmaniac has quit [Ping timeout: 256 seconds]
ta_ has joined #ruby
cagomez has quit [Remote host closed the connection]
sysvalve has quit [Quit: Leaving]
sameerynho has joined #ruby
ipe has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clemens3 has quit [Ping timeout: 240 seconds]
dinfuehr has quit [Ping timeout: 240 seconds]
caleBOT__ has quit [Remote host closed the connection]
caleBOT_ has quit [Remote host closed the connection]
dinfuehr has joined #ruby
caleBOT_ has joined #ruby
caleBOT has joined #ruby
nowhere_man has joined #ruby
n0m4d1c_ has joined #ruby
chocoelho_ has quit [Ping timeout: 250 seconds]
ldnunes has quit [Ping timeout: 240 seconds]
n0m4d1c has quit [Ping timeout: 246 seconds]
ldnunes has joined #ruby
eam has joined #ruby
dviola has joined #ruby
blackmesa has joined #ruby
banisterfiend has joined #ruby
Sonar1 has joined #ruby
RougeT430 has joined #ruby
regedit has quit [Quit: Connection closed for inactivity]
bdnelson has quit [Quit: WeeChat 1.9.1]
RougeT430 has quit [Client Quit]
RougeR has joined #ruby
alfiemax has joined #ruby
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
jrich523 has joined #ruby
ta_ has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
mroutis has joined #ruby
<jrich523> rubocop gives me a "useless assignment to variable" which is sort of expected, cuz i dont need it, but is there a way to ignore/dump/discard the output?
schneider has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mustmodify has left #ruby [#ruby]
roamingdog has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
caleBOT_ has quit [Remote host closed the connection]
caleBOT has joined #ruby
caleBOT_ has joined #ruby
banisterfiend has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dcunit3d has joined #ruby
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
bdnelson has joined #ruby
caleBO___ has joined #ruby
caleBOT__ has joined #ruby
mroutis has quit [Ping timeout: 246 seconds]
caleB____ has joined #ruby
cale_____ has joined #ruby
caleBOT_ has quit [Ping timeout: 260 seconds]
caleBOT has quit [Ping timeout: 260 seconds]
NingaLeaf has joined #ruby
cagomez has joined #ruby
NingaLeaf has quit [Client Quit]
postmodern has joined #ruby
caleBO___ has quit [Ping timeout: 260 seconds]
caleBOT__ has quit [Ping timeout: 260 seconds]
dogweather has joined #ruby
claudiuinberlin has joined #ruby
orbyt_ has quit [Read error: Connection reset by peer]
cschnei__ has joined #ruby
xuanrui has joined #ruby
jamiejackson has joined #ruby
cschnei__ has quit [Remote host closed the connection]
robertothais has joined #ruby
cschneid_ has quit [Ping timeout: 256 seconds]
dviola has quit [Quit: WeeChat 2.1]
sanscoeu_ has joined #ruby
dogweather has quit [Ping timeout: 246 seconds]
alfiemax has quit [Ping timeout: 276 seconds]
dogweather has joined #ruby
sanscoeur has quit [Ping timeout: 264 seconds]
xuanrui has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dogweather has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
dogweather has joined #ruby
<apeiros> jrich523: yes, there are special comments with instructions to rubocop. but I'd have to read the docs too.
weaksauce has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
cschneid_ has quit [Ping timeout: 256 seconds]
jcalla has quit [Quit: Leaving]
rippa has quit [Read error: Connection reset by peer]
dogweather has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
dogweather has joined #ruby
karapetyan has quit [Ping timeout: 264 seconds]
xuanrui has joined #ruby
schleppel has quit [Quit: Konversation terminated!]
cschneid_ has joined #ruby
biberu has quit []
ta_ has joined #ruby
qnaal has joined #ruby
dogweather has quit [Ping timeout: 264 seconds]
agent_white has joined #ruby
sanscoeu_ has quit [Remote host closed the connection]
sanscoeur has joined #ruby
<jrich523> apeiros you mean use a special comment to ignore the issue?
<jrich523> i was more so curious if something like this worked
<jrich523> nil = myMethod(a)
qnaal has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
pb122 has quit [Quit: Leaving]
dogweather has joined #ruby
tomphp has joined #ruby
<apeiros> jrich523: no
<jrich523> k, thanks
<apeiros> left hand side of an assignment must be a variable or a method ending in =
<apeiros> and nil is not a valid variable name. no keyword is.
weaksauce has joined #ruby
<apeiros> and re methods ending in =, only with an explicit receiver it's considered as such
n0m4d1c_ has quit [Remote host closed the connection]
<jrich523> yeah, use to powershell, you'd do either null=whatever, or whatever | null.. but either way, there is a way to dump/ignore the output
<jrich523> i'll find and toss in the comment to hide the warnings
ipee has joined #ruby
<apeiros> most tools will ignore unused variables if you prefix them with _
<jrich523> the guy who wrote this used that for globals, kinda feel like that would send mixed msgs in this case
<apeiros> glo… bals…?
andikr has quit [Remote host closed the connection]
<apeiros> that code most likely deserves to be screamed at in that case.
<jrich523> perhaps lol
<jrich523> it was tossed at me to "Fix"
<jrich523> my ruby sucks, figured i'd start with lint...
<apeiros> delete the code. no code has no errors.
<apeiros> :-p
<jrich523> that alone has given me a huge list of updates lol
<apeiros> I'm being sassy again. ignore me unhelpful comments.
<apeiros> *my
<apeiros> rubocop is more than just linting, though
plexigras has quit [Ping timeout: 256 seconds]
ipe has quit [Ping timeout: 265 seconds]
<apeiros> it also complains about "style violations", and it's not like rubocop's defaults were undisputed
dogweather has quit [Ping timeout: 240 seconds]
<jrich523> yeah most of what i've google has been disagreement on the rules lol
<apeiros> a plain lint you can get with just `ruby -c codefile.rb`
<jrich523> oh cool
<jrich523> im using vscode, the rabbit hole of extensions sent me to rubocop
<apeiros> but if you had issues with invalid syntax, you'd get almost certainly immediately a crash.
<apeiros> oh, I would definitively not use an IDE when starting with ruby.
dogweather has joined #ruby
<jrich523> yeah this for the most part works well.. most of the problems with it are more so around error handling
<jrich523> no ide?!
<jrich523> notepad does support nix line endings now... i can use that! lol
<apeiros> ok, I did not say I'd use a *crappy* text editor instead.
<jrich523> lol
<jrich523> sublime is my other goto
<apeiros> yeah, sublime is a good choice
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> note: it may work just fine to edit a project in an IDE if you started writing it in that IDE. if not, chances are good your IDE will struggle with your setup not being perfectly aligned to the IDEs expectations or some other assumptions it makes.
alfiemax has joined #ruby
dviola has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
yokel has joined #ruby
<jrich523> actually that was a MAJOR problem before
<jrich523> and ruby is apparently super cool about it, because it will convert my horrible line endings to happy line endings
<apeiros> ruby don't care.
<apeiros> but be a good person and use linux line endings :-p
<jrich523> windows is getting a lot better about that
<jrich523> part of me would love to go to nix or even dual boot.. but god thats such a pain... and i need to play my pc games lol
* apeiros got a dedicated box for that
<apeiros> and god I hate the few seconds to minutes I have to spend in windows between booting and starting a game :D
<jrich523> i have a buddy that does that too.. whole different offices
<jrich523> lol exactly, thats why im on windows... i dont have an extra 2 min in my life to waste!
<jrich523> instead i waste hours at work dealing with compatability issues... lol.... ugh...
<apeiros> computers… the bane of humanity, no matter the OS ;-)
<jrich523> yup... keeps us employeed tho :D
<apeiros> yes. always will, because it only becomes worse, lol
<jrich523> lol completely agree
n0m4d1c has joined #ruby
dogweather has quit [Ping timeout: 268 seconds]
ta_ has quit [Ping timeout: 240 seconds]
dcunit3d has quit [Ping timeout: 246 seconds]
ldnunes has quit [Quit: Leaving]
<Eiam> 2.3.3 2.3.6 was not a binary compatibility breaking release was it?
<Eiam> It doesn't look it
<Eiam> err, im missing an arrow. 2.3.3 --> 2.3.6
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
n0m4d1c has quit [Remote host closed the connection]
dogweather has joined #ruby
sagax has quit [Ping timeout: 260 seconds]
yokel has quit [Quit: leaving]
dcunit3d has joined #ruby
RedNifre has quit [Ping timeout: 250 seconds]
yokel has joined #ruby
ciscam has quit [Ping timeout: 255 seconds]
<apeiros> Eiam: should not. that should have been bugfixes only.
ciscam has joined #ruby
yokel has quit [Read error: Connection reset by peer]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dcunit3d has quit [Ping timeout: 246 seconds]
yokel has joined #ruby
<Eiam> yeah was just thinking back around 1.9 the bug fix that broke json
<apeiros> well, if stuff relies on buggy behavior
<Eiam> (for me, i don't recall how it manifested across the rest of the world"
ellcs has joined #ruby
<apeiros> that said, 1.9.0 -> 1.9.3 were not really minor releases
<Eiam> apeiros: compatibility is a big pile of unexpected behavior being made the foundation of expected behavior
<apeiros> for a long time 1.9 was not supposed to be a production version
<Eiam> thats fair
<apeiros> and I think version numbering started to become more consistent with 2.1 or 2.2
tomphp has joined #ruby
robertothais has quit [Ping timeout: 255 seconds]
alfiemax has quit [Ping timeout: 256 seconds]
banisterfiend has joined #ruby
tomphp has quit [Client Quit]
mroutis has joined #ruby
chocoelho_ has joined #ruby
jamiejackson has quit [Ping timeout: 264 seconds]
vee_ has quit [Quit: WeeChat 2.1]
robertothais has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
GodFather_ has quit [Ping timeout: 264 seconds]
robertot1 has joined #ruby
dcunit3d has joined #ruby
robertothais has quit [Ping timeout: 260 seconds]
kmurphy4 has joined #ruby
cschneid_ has quit [Read error: Connection reset by peer]
mroutis has quit [Ping timeout: 260 seconds]
emilford has joined #ruby
cale_____ has quit [Remote host closed the connection]
caleB____ has quit [Remote host closed the connection]
caleBOT_ has joined #ruby
caleBOT has joined #ruby
mroutis has joined #ruby
ellcs has quit [Ping timeout: 246 seconds]
caleBOT_ has quit [Ping timeout: 240 seconds]
caleBOT has quit [Ping timeout: 240 seconds]
samosaphile has joined #ruby
reber has quit [Remote host closed the connection]
Mike11 has joined #ruby
SuperL4g is now known as SuperLag
ruby[bot] has joined #ruby
samosaphile has quit [Client Quit]
n0m4d1c has joined #ruby
eckhardt has joined #ruby
coderphive has quit [Quit: coderphive]
jamesaxl has quit [Ping timeout: 276 seconds]
paraxial has quit [Quit: The Lounge - https://thelounge.github.io]
GodFather has joined #ruby
paraxial has joined #ruby
cschneid_ has joined #ruby
gheegh has joined #ruby
TomyLobo has quit [Ping timeout: 256 seconds]
cschneid_ has quit [Ping timeout: 256 seconds]
amar has joined #ruby
alex`` has quit [Quit: WeeChat 2.1]
ryzokuken has quit [Remote host closed the connection]
alfiemax has joined #ruby
ta_ has joined #ruby
GodFather_ has joined #ruby
ciscam has quit [Ping timeout: 256 seconds]
will_ has joined #ruby
ciscam has joined #ruby
emilford has quit [Ping timeout: 240 seconds]
<will_> from a semi interactive ruby program (just using #gets), I want to foreground another interactive program (postgres's psql). I think exec would work for that, but I'd like for when I quit psql it'd go back to the the ruby program. It seems like something should be possible, like when other pograms use less for a pager, but I'm not sure how to do this. Anyone have pointers on what to look for?
alfiemax has quit [Ping timeout: 260 seconds]
jamesaxl has joined #ruby
orbyt_ has joined #ruby
xuanrui has quit [Read error: Connection reset by peer]
will_ has quit [Remote host closed the connection]
dogweather has quit [Ping timeout: 264 seconds]
caleBOT_ has joined #ruby
caleBOT has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has joined #ruby
will_ has joined #ruby
caleBOT_ has quit [Ping timeout: 255 seconds]
caleBOT has quit [Ping timeout: 255 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
weaksauce has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
will_ has quit [Quit: Lost terminal]
banisterfiend has joined #ruby
dogweather has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
Mike11 has quit [Quit: Leaving.]
caleBOT__ has joined #ruby
caleBOT_ has joined #ruby
amar has quit [Remote host closed the connection]
alfiemax has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
dogweather has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
kurko_ has quit [Quit: Textual IRC Client: www.textualapp.com]
sanscoeur has quit [Ping timeout: 246 seconds]
ciscam has quit [Ping timeout: 264 seconds]
ciscam has joined #ruby
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
envex has joined #ruby
envex has quit [Client Quit]
envex has joined #ruby
robertot1 has quit [Read error: Connection reset by peer]
Azure has quit [Quit: Oops.]
blackmesa has quit [Ping timeout: 256 seconds]
sepp2k1 has joined #ruby
nowhere_man has quit [Remote host closed the connection]
sameerynho has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
mohsen_1 has quit [Quit: Connection closed for inactivity]
sepp2k has quit [Ping timeout: 268 seconds]
G has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
caleBOT has joined #ruby
caleBO___ has joined #ruby
Azure has joined #ruby
arescorpio has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
caleBOT__ has quit [Ping timeout: 248 seconds]
caleBOT_ has quit [Ping timeout: 248 seconds]
nowhere_man has quit [Remote host closed the connection]
dr3w_ has joined #ruby
nowhere_man has joined #ruby
weaksauce has joined #ruby
dogweather has quit [Remote host closed the connection]
dogweather has joined #ruby
orbyt_ has quit [Ping timeout: 260 seconds]
dr3w_ has joined #ruby
emilford has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
zipace has quit [Quit: Leaving]
chocoelho_ has quit [Ping timeout: 240 seconds]
n0m4d1c has quit [Remote host closed the connection]
jamesaxl has quit [Quit: WeeChat 2.1]
emilford has quit [Ping timeout: 240 seconds]