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!
chichou_ has joined #ruby
chichou_ has quit [Ping timeout: 244 seconds]
<marz_d`ghostman> I'm creating a ruby script with domain models. Do i have to place the domain models under the module though?
<marz_d`ghostman> like I have a gem rise-mirror_manager. So there would be modules Rise::MirrorManager
<marz_d`ghostman> Should I place the domain model under Rise::MirrorManager::?
Dirak has quit [Ping timeout: 245 seconds]
<havenwood> marz_d`ghostman: My guess from what you've said would be yes.
sanscoeu_ has joined #ruby
<havenwood> marz_d`ghostman: It's right for rise-mirror_manager to be Rise::MirrorManager, and if you need additional classes or modules they should be namespaced under Rise::MirrorManager::.
weaksauce has joined #ruby
<marz_d`ghostman> havenwood: okay thanks. When testing though, how do I make it so I wont have to define Rise::MirrorManager::Model.new? just Model.new?
sanscoeur has quit [Ping timeout: 260 seconds]
sanscoeu_ has quit [Ping timeout: 252 seconds]
chichou_ has joined #ruby
<havenwood> marz_d`ghostman: I'd tend toward using the explicit, full namespace. That said, you can: include Rise::MirrorManager
<marz_d`ghostman> havenwood: I see
<havenwood> marz_d`ghostman: include Rise::MirrorManager; Model.new
jottr has joined #ruby
<havenwood> marz_d`ghostman: If it's particularly repetitive, an include might make a lot of sense.
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chichou_ has quit [Ping timeout: 244 seconds]
faitswulff has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 260 seconds]
LiftLeft2 has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
Dirak has joined #ruby
faitswulff has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
bmurt has joined #ruby
chichou_ has joined #ruby
LiftLeft2 has joined #ruby
CPngN has quit [Quit: The system is going down for reboot NOW!]
druonysus has quit [Ping timeout: 245 seconds]
chichou_ has quit [Ping timeout: 252 seconds]
<hays_> is it totally nuts to listen to 127.0.0.101 as another 'localhost'
<hays_> its a /8 subnet after all
<hays_> pinging it certainly doesn't work
VladGh has quit [Ping timeout: 240 seconds]
za1b1tsu has joined #ruby
Dirak is now known as anoonnn
elphe has quit [Quit: leaving]
Radar has joined #ruby
mynameisdebian has joined #ruby
za1b1tsu has quit [Ping timeout: 260 seconds]
venmx has quit [Ping timeout: 245 seconds]
paraxial has quit [Ping timeout: 252 seconds]
SanguineAnomaly has quit [Ping timeout: 252 seconds]
chichou_ has joined #ruby
Freeaqingme has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
leah2 has quit [*.net *.split]
go|dfish has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
kenichi has quit [*.net *.split]
quintasan has quit [*.net *.split]
Kuukunen has quit [*.net *.split]
aloy has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
olspookishmagus has quit [*.net *.split]
connor_goodwolf has joined #ruby
kenichi has joined #ruby
paraxial has joined #ruby
chichou_ has quit [Ping timeout: 246 seconds]
NightMonkey has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fluxAeon has quit [Ping timeout: 272 seconds]
mynameisdebian has quit [Remote host closed the connection]
SanguineAnomaly has joined #ruby
venmx has joined #ruby
<marz_d`ghostman> I added pg as a dependency on my gemspec via spec.add_dependency 'pg' but I"m getting an error when I run bundle exec rake --tasks https://gist.github.com/marzdgzmn/c5758adeb8a80cdaab669e5170629be6
<marz_d`ghostman> Did a bundle install --path .bundle
faitswulff has quit [Remote host closed the connection]
<havenwood> marz_d`ghostman: What do you get for?: gem sources
<havenwood> hays_: 127.0.0.101 is a loopback address.
<hays_> yeah. can't ping it like localost tho
<marz_d`ghostman> havenwood: Guess I needed the libpq-dev package installed on my system
<havenwood> marz_d`ghostman: Yup, that you would!
<havenwood> marz_d`ghostman: pesky build deps
sylario has quit [Quit: Connection closed for inactivity]
chichou_ has joined #ruby
RougeR has quit [Ping timeout: 252 seconds]
faitswulff has joined #ruby
chichou_ has quit [Ping timeout: 260 seconds]
<havenwood> hays_: why does pinging 127.0.0.101 not work? do you have icmpv4 disabled?
<havenwood> hays_: It'd explain your scenario if icmpv4 is disabled but icmpv6 is not and and localhost is pinging ::1 instead of 127.0.0.1.
im0nde has quit [Ping timeout: 240 seconds]
darkhanb_ has joined #ruby
gregf_ has quit [*.net *.split]
marz_d`ghostman has quit [*.net *.split]
<hays_> havenwood: hmm I think I have to actually bind 127.0.0.101 to the lo interface
<hays_> that's what i was missing
<havenwood> hays_: ahh
meinside has joined #ruby
chichou_ has joined #ruby
white_lilies has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
im0nde has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
pskosinski has quit [Ping timeout: 245 seconds]
pskosinski has joined #ruby
chichou_ has quit [Ping timeout: 260 seconds]
paraxial has quit [Ping timeout: 252 seconds]
SanguineAnomaly has quit [Ping timeout: 252 seconds]
SanguineAnomaly has joined #ruby
camilasan has joined #ruby
paraxial has joined #ruby
jp has joined #ruby
anoonnn has quit [Ping timeout: 246 seconds]
anoonnn has joined #ruby
tristanp has joined #ruby
chichou_ has joined #ruby
chichou_ has quit [Ping timeout: 252 seconds]
hays_ has quit [Remote host closed the connection]
chichou_ has joined #ruby
fluxAeon has joined #ruby
tristanp has quit [Remote host closed the connection]
chichou_ has quit [Ping timeout: 260 seconds]
anoonnn has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Quit: AJA4350]
jottr has joined #ruby
chichou_ has joined #ruby
code_zombie has quit [Quit: Leaving]
jottr has quit [Ping timeout: 252 seconds]
za1b1tsu has joined #ruby
chichou_ has quit [Ping timeout: 260 seconds]
za1b1tsu has quit [Ping timeout: 245 seconds]
marz_d`ghostman has joined #ruby
<marz_d`ghostman> I'm using standalone_migrations, and when running bundle exec rake db:new_migration[create_tablename], it seems that the command is nto found
<marz_d`ghostman> Okay, got it working with db:new_migration name=tableName
TheBloke has joined #ruby
DoctorMonocular has joined #ruby
<DoctorMonocular> I'm annoyed. I have a method that takes either single things or an array of things and starts by doing thing = Array(thing_or_things)
<DoctorMonocular> which works and is idiomatic
chichou_ has joined #ruby
<DoctorMonocular> but when thing is a hash it fucks up by converting {a: :b} into [[:a, :b]]
<DoctorMonocular> I want [{a: :b}]
<DoctorMonocular> like it work with any other variable
<DoctorMonocular> is there some way to do that without uglying up my code?
chichou_ has quit [Ping timeout: 252 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincrash has quit [Quit: bye bye]
nowhere_man has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
thy0 has quit [Quit: TTFN]
chichou_ has joined #ruby
chichou_ has quit [Ping timeout: 246 seconds]
rrichardsr3 has joined #ruby
<Radar> no
gix has joined #ruby
DoctorMonocular has quit [Remote host closed the connection]
lxsameer has joined #ruby
marz_d`ghostman has quit [Ping timeout: 256 seconds]
venmx has quit [Ping timeout: 245 seconds]
marz_d`ghostman has joined #ruby
<marz_d`ghostman> How does this snippet work? https://gist.github.com/marzdgzmn/cbf3ec76550efe140dd17550071363c5
<marz_d`ghostman> what's with the <<*?
<baweaver> YML inheritance
venmx has joined #ruby
<baweaver> default plus this other stuff
Nicmavr has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
chichou_ has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
prometheus_falli has quit [Ping timeout: 256 seconds]
chichou_ has quit [Ping timeout: 252 seconds]
venmx has quit [Ping timeout: 244 seconds]
<marz_d`ghostman> baweaver: thanks
<marz_d`ghostman> baweaver: though migration only created the table under development and not test
<marz_d`ghostman> Does rspec automatically use the test environment?
<marz_d`ghostman> or do I have to set that up?
scrptktty has quit [Quit: Connection closed for inactivity]
<marz_d`ghostman> How do I db:migrate for test environment?
dbugger_ has joined #ruby
chichou_ has joined #ruby
Dbugger has quit [Ping timeout: 240 seconds]
faitswulff has quit [Remote host closed the connection]
chichou_ has quit [Ping timeout: 260 seconds]
Koshian has joined #ruby
rrichardsr3 has quit [Quit: He who dares .... wins.]
chichou_ has joined #ruby
chichou_ has quit [Ping timeout: 252 seconds]
<havenwood> marz_d`ghostman: Assuming you mean rails: RAILS_ENV=test rails db:migrate
<havenwood> ?rails marz_d`ghostman
<ruby[bot]> marz_d`ghostman: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<marz_d`ghostman> havenwood: I'm not using rails though, just plain ruby however, RAILS_ENV=test works :)
tristanp has joined #ruby
anoonnn has joined #ruby
tristanp has quit [Remote host closed the connection]
za1b1tsu has joined #ruby
DTZUZO_ has quit [Ping timeout: 252 seconds]
Eiam has quit [Ping timeout: 260 seconds]
VladGh has joined #ruby
za1b1tsu has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
chichou_ has joined #ruby
anoonnn has quit [Ping timeout: 260 seconds]
chichou_ has quit [Ping timeout: 252 seconds]
jottr has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Quit: WeeChat 2.2]
white_lilies has quit [Ping timeout: 252 seconds]
chichou_ has joined #ruby
anoonnn has joined #ruby
duderonomy has joined #ruby
reber has joined #ruby
reber__ has joined #ruby
reber__ has quit [Remote host closed the connection]
reber has quit [Remote host closed the connection]
reber has joined #ruby
chichou_ has quit [Ping timeout: 260 seconds]
DTZUZO_ has joined #ruby
nickjj_ has joined #ruby
jp has quit [Ping timeout: 252 seconds]
nickjj has quit [Ping timeout: 240 seconds]
havenwood has quit [Quit: ZNC 1.7.1 - https://znc.in]
chichou_ has joined #ruby
havenwood has joined #ruby
mike11 has joined #ruby
chichou_ has quit [Ping timeout: 245 seconds]
chichou_ has joined #ruby
chichou_ has quit [Ping timeout: 272 seconds]
aupadhye has joined #ruby
aufi has joined #ruby
FermiDirak has joined #ruby
anoonnn has quit [Ping timeout: 260 seconds]
mike11 has quit [Ping timeout: 246 seconds]
chichou_ has joined #ruby
dellavg_ has joined #ruby
chichou_ has quit [Ping timeout: 260 seconds]
peirama has joined #ruby
Inline has quit [Quit: Leaving]
donofrio_ has joined #ruby
donofrio has quit [Ping timeout: 250 seconds]
peirama has quit [Ping timeout: 252 seconds]
donofrio__ has joined #ruby
chichou_ has joined #ruby
snickers has joined #ruby
donofrio_ has quit [Ping timeout: 246 seconds]
tdy has joined #ruby
chichou_ has quit [Ping timeout: 260 seconds]
dbugger_ has quit [Ping timeout: 260 seconds]
tristanp has joined #ruby
gix has quit [Disconnected by services]
chichou_ has joined #ruby
tdy has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
chichou_ has quit [Ping timeout: 264 seconds]
cd has quit [Quit: cd]
jottr has quit [Ping timeout: 264 seconds]
tdy has joined #ruby
dellavg_ has quit [Remote host closed the connection]
cd has joined #ruby
dellavg_ has joined #ruby
MoritaShinobu has joined #ruby
aupadhye has quit [Quit: Leaving]
chichou_ has joined #ruby
za1b1tsu has joined #ruby
chichou_ has quit [Ping timeout: 252 seconds]
olspookishmagus has joined #ruby
alem0lars has joined #ruby
AndreYuhai has joined #ruby
clemens3 has joined #ruby
LiftLeft2 has quit [Ping timeout: 240 seconds]
chichou_ has joined #ruby
LiftLeft has joined #ruby
yohji has joined #ruby
LiftLeft has quit [Remote host closed the connection]
LiftLeft has joined #ruby
lunarfyre7 has quit [Ping timeout: 240 seconds]
chichou_ has quit [Ping timeout: 260 seconds]
lunarfyre7 has joined #ruby
FermiDirak has quit [Ping timeout: 240 seconds]
tdy has quit [Ping timeout: 252 seconds]
aloy has joined #ruby
c0ncealed2 has quit [Remote host closed the connection]
c0ncealed2 has joined #ruby
ua has quit [Ping timeout: 252 seconds]
ua has joined #ruby
chichou_ has joined #ruby
olspookishmagus has left #ruby [#ruby]
DoubleMalt has joined #ruby
olspookishmagus has joined #ruby
DoubleMalt has quit [Client Quit]
chichou_ has quit [Ping timeout: 260 seconds]
jp has joined #ruby
<Bish> hellooooooooo
<apeiros_> moin Bish
apeiros_ is now known as apeiros
alem0lars has quit [Ping timeout: 252 seconds]
snickers has quit [Read error: Connection reset by peer]
jottr has joined #ruby
<Bish> moin moin!
yohji has quit [Excess Flood]
yohji has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
chichou_ has joined #ruby
konsolebox has joined #ruby
za1b1tsu has quit [Read error: Connection reset by peer]
chichou_ has quit [Ping timeout: 252 seconds]
venmx has joined #ruby
za1b1tsu has joined #ruby
<Bish> nokogiri does convert <img alt=""... to <img alt>
<Bish> :o when i do it in a little test, it doesn't
<Bish> Nokogiri::HTML('<!doctype html><html><body><img alt=""></body></html>').to_htm
<Bish> like so
<Bish> i are confuse
<mnemon> Bish: why?
<mnemon> just turns it into more simpligied form if you don't have data in it.
konsolebox has quit [Ping timeout: 252 seconds]
Freshnuts has joined #ruby
Freshnuts has quit [Max SendQ exceeded]
chichou_ has joined #ruby
Freshnuts has joined #ruby
AndreYuhai has quit [Quit: Page closed]
chichou_ has quit [Ping timeout: 272 seconds]
<Bish> mnemon: well the programs i send it to have a problem with it
<Bish> :/
<Bish> so i would rather have the explicit version
<Bish> i mean, they're both correct
_za1b1tsu_ has joined #ruby
<Bish> and because i was testing this i especially wonder why this doesnt happen to me
<Bish> it shouldn't be as unpredictable
za1b1tsu has quit [Ping timeout: 246 seconds]
<Bish> i've never seen this, yet i have written 2 programs doing both these things
<Bish> super odd
lxsameer has joined #ruby
lxsameer has quit [Client Quit]
chichou_ has joined #ruby
aupadhye has joined #ruby
jottr has joined #ruby
lxsameer has joined #ruby
chichou_ has quit [Ping timeout: 252 seconds]
clemens3 has quit [Ping timeout: 260 seconds]
anoonnn has joined #ruby
venmx has quit [Ping timeout: 252 seconds]
venmx has joined #ruby
quiqua has joined #ruby
quiqua has quit [Client Quit]
idiocrash has joined #ruby
baweaver is now known as baweaver_away
dbugger_ has joined #ruby
tdy has joined #ruby
al2o3-cr has joined #ruby
<ineb> Bish: Nokogiri::XML vs Nokogiri::HTML
tdy has quit [Ping timeout: 246 seconds]
<Bish> i am using HTML, which the cod eis
<ineb> Bish: can you reproduce that in any way? or is it just like that in your main program?
<Bish> it's odd, even if i use it on the "broken" system
<Bish> it doesn't do it
clemens3 has joined #ruby
<Bish> it doesn't remove the alt="" thingie..
<Bish> but i have some code that walks over it.. i expect the error to be there
<ineb> but it looks like that in the html code?
<Bish> attribute.value,ph_info = URI.unescape(attribute.value).extract_with_regex(PlaceholderRex)
<ineb> maybe there is just <img alt />
<Bish> no.. there is alt="" and after i walk over it.. it's alt
<Bish> im guessing if nokogiri itself sets it.. it will do just "alt"
<Bish> but if it parses it like "alt="""
<Bish> it will not omit it
<mnemon> Bish: it just turns empty attributes to boolean attributes(no '=""', just the name)
<mnemon> or does it break it in some other way?
<Bish> but it doesn't seem to do that
<Bish> if it parsed it otherwise
<Bish> yeah, definetely
<Bish> the code i posted is the cause
idiocrash has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Bish> even attribute.value = attribute.value seems to "break" it
<Bish> >> require 'nokogiri'
<ruby[bot]> Bish: # => cannot load such file -- nokogiri (LoadError) ...check link for more (https://eval.in/1058919)
Radar has quit [Ping timeout: 246 seconds]
ShekharReddy has joined #ruby
helpa has quit [Ping timeout: 246 seconds]
<Bish> (doc=Nokogiri::HTML('<!doctype html><html><body><img alt=""></body></html>'));doc.xpath('//*/@*').each{|a| a.value = a.value};doc.to_html
helpa has joined #ruby
<Bish> interesting
<ineb> this is fixing it??
<Bish> nono.. if you leave out the scond command, the output is different
<Bish> even though i say x = x
<Bish> wouldn't expect this
chichou_ has joined #ruby
<Bish> the c-code seems to do that
anoonnn is now known as Dirak
<ineb> whats troubling me is that you cant reproduce it
<ineb> therefore i think you are missing something
<ineb> and its not nokogiris fault
<ineb> but iam not sure ofc
<ineb> maybe carefully compare the questionable node on your broken system to a healthy one
<ineb> there may be some subtle difference whats causing nokogiri to parse it that way
<ineb> *render it thay way
<Bish> just copy my code
<Bish> attribute.value = new_value unless attribute.value == new_value
<Bish> this basicially fixes it for me
<Bish> kinda pointless code, but it does the trick
chichou_ has quit [Quit: WeeChat 2.2]
Radar has joined #ruby
chichou has joined #ruby
stan has joined #ruby
<ineb> Bish: if you use #to_xhtml, you always get alt="" style
<Bish> what other differences are there for xhtml?
<Bish> i never knew
<ineb> Bish: thats just what iam observing here
<ineb> it does look like a bug to me now
<Bish> i just feel weird that
<Bish> value = value
<Bish> changes something in the result
<Bish> and you can't really see it in the object-state
<ineb> the new content gets encoded and i dont think thats the reason why value = value changes something
<ineb> ermm
<ineb> i think THAT IS the reason
<ineb> but it does not look like you can seen this difference in ruby code
<Bish> yeah i figured
<Bish> that's what i said
<Bish> 11:11 < Bish> the c-code seems to do that
<ineb> so we make the same conclusion
<ineb> go file it as bug. its ambiguous behaviour.
<Bish> i don't know.. both are correct htmls, but it really strikes me odd
<ineb> its correct html and not fatal but ambiguous behaviour and not intended that way
<ineb> plus to_xhtml and to_html render it differently which points to another issue
<ineb> nokogiri authors are glad if you open an issue about that.
<Bish> okay, will do
esrse has quit [Ping timeout: 272 seconds]
Tuor has joined #ruby
chichou has quit [Ping timeout: 272 seconds]
rupam123456 has quit [Remote host closed the connection]
chichou has joined #ruby
Dirak has quit [Ping timeout: 252 seconds]
rupam123456 has joined #ruby
xfbs has joined #ruby
rupam123456 has quit [Ping timeout: 240 seconds]
ndr0s has quit [Quit: WeeChat 1.6]
venmx has quit [Ping timeout: 272 seconds]
FernandoBasso has joined #ruby
g- has quit [Quit: WeeChat 1.6]
apparition has joined #ruby
g- has joined #ruby
venmx has joined #ruby
Freshnuts has quit [Ping timeout: 260 seconds]
nickjj_ is now known as nickjj
helpa has quit [Ping timeout: 246 seconds]
justinmcp has quit [Quit: No Ping reply in 180 seconds.]
justinmcp has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
xfbs has quit [Quit: afk]
gnufied has joined #ruby
kapil___ has joined #ruby
Tuor has quit [Ping timeout: 260 seconds]
jottr has joined #ruby
Dbugger has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
trif has joined #ruby
gnufied has quit [Ping timeout: 244 seconds]
leah2 has joined #ruby
bmurt has joined #ruby
wojnar has joined #ruby
bmurt has quit [Ping timeout: 272 seconds]
bmurt has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
xfbs has joined #ruby
gnufied has joined #ruby
go|dfish has joined #ruby
chichou has quit [Ping timeout: 272 seconds]
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
gnufied has quit [Ping timeout: 244 seconds]
AJA4350 has joined #ruby
cd has quit [Quit: cd]
jottr has joined #ruby
Dbugger has quit [Quit: Leaving]
dbugger_ is now known as Dbugger
alnewkir1 has quit [Quit: leaving]
VladGh has quit [Ping timeout: 245 seconds]
cagomez has joined #ruby
alnewkirk has joined #ruby
yohji has quit [Ping timeout: 252 seconds]
aupadhye has quit [Remote host closed the connection]
alnewkirk has quit [Client Quit]
cagomez has quit [Ping timeout: 260 seconds]
Puffball has quit [Remote host closed the connection]
alnewkirk has joined #ruby
alnewkirk has quit [Client Quit]
alnewkirk has joined #ruby
Puffball has joined #ruby
gnufied has joined #ruby
faitswulff has joined #ruby
nowhere_man has joined #ruby
tristanp has joined #ruby
discopatrick has joined #ruby
faitswulff has quit [Remote host closed the connection]
tristanp has quit [Ping timeout: 240 seconds]
InfinityFye has joined #ruby
vondruch has quit [Ping timeout: 252 seconds]
faitswulff has joined #ruby
faitswulff has quit [Remote host closed the connection]
alnewkirk has quit [Quit: leaving]
apparition has quit [Quit: Bye]
alnewkirk has joined #ruby
chichou has joined #ruby
chichou_ has joined #ruby
chichou has quit [Ping timeout: 246 seconds]
cek has joined #ruby
thy0 has joined #ruby
IanMalcolm has joined #ruby
IanMalcolm has quit [Read error: Connection reset by peer]
bak1an has joined #ruby
faitswulff has joined #ruby
akem has quit [Quit: Leaving]
reber__ has joined #ruby
reber has quit [Ping timeout: 272 seconds]
regedit has joined #ruby
_za1b1tsu_ has quit [Ping timeout: 260 seconds]
xfbs has quit [Quit: afk]
xfbs has joined #ruby
Rapture has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aupadhye has joined #ruby
InfinityFye has quit [Ping timeout: 272 seconds]
ikbenhet has joined #ruby
lomex has joined #ruby
yohji has joined #ruby
<cek> damnit ruby 2.4 breaking my fancy dsl with no more bracket after literal change
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
ikbenhet has quit [Ping timeout: 252 seconds]
<apeiros> ?
<apeiros> $ ruby -ve 'p "works fine"[-4,4]'
<apeiros> "fine"
<apeiros> ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-darwin17]
SeepingN has joined #ruby
Freeaqingme has joined #ruby
aufi has quit [Ping timeout: 240 seconds]
yokel has quit [Ping timeout: 244 seconds]
DoctorMonocular has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
yokel has joined #ruby
tdy has joined #ruby
jottr has joined #ruby
_za1b1tsu_ has joined #ruby
apparition has joined #ruby
ivanskie has joined #ruby
idiocrash has joined #ruby
darkhanb_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
salasrod has quit [Quit: /quit]
cagomez has joined #ruby
cagomez has quit [Write error: Connection reset by peer]
jackrandom has quit [Quit: ZNC - https://znc.in]
cagomez has joined #ruby
cagomez has quit [Write error: Connection reset by peer]
salasrod has joined #ruby
cagomez has joined #ruby
cagomez has quit [Write error: Connection reset by peer]
cagomez has joined #ruby
cagomez has quit [Write error: Connection reset by peer]
jackrandom has joined #ruby
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
faitswulff has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
faitswulff has joined #ruby
Inline has joined #ruby
Sembei has quit [Ping timeout: 240 seconds]
MyMind has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
apparition has quit [Quit: Bye]
clemens3 has quit [Ping timeout: 250 seconds]
jp has quit [Ping timeout: 252 seconds]
Eiam has joined #ruby
sanscoeur has joined #ruby
akem has joined #ruby
darkhanb has joined #ruby
darkhanb has quit [Client Quit]
alem0lars has joined #ruby
faitswulff has quit [Remote host closed the connection]
yohji has quit [Remote host closed the connection]
MoritaShinobu has quit [Quit: Leaving]
idiocras_ has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
idiocrash has quit [Ping timeout: 260 seconds]
mynameisdebian has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
jp has joined #ruby
tag has joined #ruby
nfk has joined #ruby
aldodelgado has joined #ruby
aldodelgado has quit [Client Quit]
idiocras_ has quit [Quit: Textual IRC Client: www.textualapp.com]
DTZUZO_ has quit [Ping timeout: 244 seconds]
alem0lars has quit [Ping timeout: 272 seconds]
KeyJoo has joined #ruby
aupadhye has quit [Ping timeout: 245 seconds]
knight33 has joined #ruby
cek has quit [Quit: Connection closed for inactivity]
duderonomy has joined #ruby
daed has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
tdy has quit [Ping timeout: 252 seconds]
Pisuke has joined #ruby
MyMind has quit [Ping timeout: 252 seconds]
eckhardt has joined #ruby
al2o3-cr has quit [Ping timeout: 246 seconds]
jottr has quit [Ping timeout: 252 seconds]
ramfjord has joined #ruby
DoctorMonocular has quit [Remote host closed the connection]
xfbs has quit [Quit: afk]
bougyman has quit [Ping timeout: 244 seconds]
venmx has quit [Ping timeout: 240 seconds]
dysfigured has joined #ruby
bougyman has joined #ruby
chouhoulis has joined #ruby
xfbs has joined #ruby
safetypin has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 252 seconds]
masterasia has quit [Quit: Leaving]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
tdy has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
xfbs has quit [Quit: afk]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
wojnar has quit [Read error: Connection reset by peer]
wojnar has joined #ruby
duderonomy has joined #ruby
al2o3-cr has joined #ruby
xfbs has joined #ruby
bmurt has joined #ruby
bmurt has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Quit: WeeChat 2.2]
faitswulff has joined #ruby
al2o3-cr has joined #ruby
pwnd_nsfw has quit [Read error: Connection reset by peer]
safetypin has quit [Quit: Textual IRC Client: www.textualapp.com]
P1RATEZ has joined #ruby
Dirak has joined #ruby
venmx has joined #ruby
stan has quit [Ping timeout: 245 seconds]
moei has joined #ruby
scrptktty has joined #ruby
lxsameer has quit [Ping timeout: 244 seconds]
<Inside> hmm?
<Inside> why so funny?
<Inside> oh god
<Inside> I am replying to yesterday's log
mzo has joined #ruby
<Zarthus> well, what was funny?
lxsameer has joined #ruby
<Inside> Nothing
<Inside> nothing was funny
faitswulff has quit [Remote host closed the connection]
faitswulff has joined #ruby
_za1b1tsu_ has quit [Ping timeout: 252 seconds]
lxsameer has quit [Ping timeout: 252 seconds]
faitswulff has quit [Ping timeout: 240 seconds]
discopatrick has quit [Quit: Connection closed for inactivity]
lxsameer has joined #ruby
darkhanb has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
akem has quit [Remote host closed the connection]
akem has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
thy0 has quit [Quit: TTFN]
lxsameer has quit [Ping timeout: 252 seconds]
thy0 has joined #ruby
Puffball has quit [Remote host closed the connection]
wojnar has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 252 seconds]
Puffball has joined #ruby
tdy has joined #ruby
lxsameer has joined #ruby
cd has joined #ruby
faitswulff has joined #ruby
bmurt has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
wojnar has joined #ruby
wojnar has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
faitswulff has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 260 seconds]
lomex has joined #ruby
wojnar has joined #ruby
reber__ has quit [Remote host closed the connection]
Sembei has joined #ruby
lxsameer has joined #ruby
Pisuke has quit [Ping timeout: 252 seconds]
MyMind has joined #ruby
MyMind has quit [Client Quit]
Dbugger has quit [Ping timeout: 240 seconds]
MyMind has joined #ruby
MyMind has quit [Client Quit]
lxsameer has quit [Ping timeout: 252 seconds]
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sembei has quit [Ping timeout: 252 seconds]
akem has quit [Remote host closed the connection]
akem has joined #ruby
lomex has joined #ruby
lomex has quit [Client Quit]
Sembei has joined #ruby
jottr has joined #ruby
chichou has joined #ruby
apeiros has quit [Ping timeout: 260 seconds]
apeiros has joined #ruby
lxsameer has joined #ruby
Puffball has quit [Remote host closed the connection]
mzo has quit [Remote host closed the connection]
dellavg_ has quit [Ping timeout: 272 seconds]
chichou_ has quit [Ping timeout: 260 seconds]
chichou has quit [Client Quit]
jottr has quit [Ping timeout: 260 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 260 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
DTZUZO_ has joined #ruby
lxsameer has joined #ruby
faitswulff has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
akem has quit [Remote host closed the connection]
akem has joined #ruby
lxsameer has joined #ruby
RougeR has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
Dirak has quit [Ping timeout: 240 seconds]
lxsameer has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
jcalla has quit [Quit: Leaving]
druonysus has joined #ruby
lxsameer has joined #ruby
bmurt has quit [Client Quit]
druonysus has quit [Client Quit]
Dirak has joined #ruby
marz_d`ghostman has quit [Quit: Page closed]
lxsameer has quit [Ping timeout: 245 seconds]
thy0 has quit [Quit: TTFN]
thy0 has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Ping timeout: 245 seconds]
ogres has joined #ruby
lxsameer has joined #ruby
faitswulff has quit [Remote host closed the connection]
faitswulff has joined #ruby
RiPuk has quit [Quit: ZNC 1.7.1 - https://znc.in]
wojnar has quit [Ping timeout: 252 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
sanscoeu_ has joined #ruby
wojnar has joined #ruby
lxsameer has joined #ruby
wojnar has quit [Read error: Connection reset by peer]
sanscoeur has quit [Ping timeout: 246 seconds]
lxsameer has quit [Ping timeout: 246 seconds]
sanscoeu_ has quit [Ping timeout: 252 seconds]
lxsameer has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
P1RATEZ has quit [Ping timeout: 244 seconds]
nowhere_man has quit [Remote host closed the connection]
white_lilies has joined #ruby
nowhere_man has joined #ruby
venmx has quit [Ping timeout: 260 seconds]
RedNifre has joined #ruby
bak1an has quit [Ping timeout: 245 seconds]
beefjoe has joined #ruby
sameerynho has joined #ruby
bak1an has joined #ruby
P1RATEZ has joined #ruby
<RedNifre> Hello everybody.
<RedNifre> I have this script that has some simple data in some hashes and arrays and I also have this tiny sinatra server on the raspberry pi next door and I want to display that data in the browser. What's the easiest way to get the data from my pc to the sinatra server? Post it as json to sinatra?
venmx has joined #ruby
<havenwood> RedNifre: A POST to Sinatra with a JSON body makes sense to me from what you've said.
<RedNifre> Alright, then I'll try that. Thanks.
sameerynho has quit [Ping timeout: 260 seconds]
faitswulff has quit [Remote host closed the connection]
beefjoe has quit [Remote host closed the connection]
xfbs has quit [Quit: afk]
wojnar has joined #ruby
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sanscoeur has joined #ruby
bak1an has joined #ruby
white_lilies has quit [Ping timeout: 244 seconds]
RiPuk has joined #ruby
sanscoeur has quit [Remote host closed the connection]
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
RedNifre_ has joined #ruby
eckhardt has quit [Client Quit]
RedNifre has quit [Ping timeout: 260 seconds]
venmx has quit [Ping timeout: 244 seconds]
xfbs has joined #ruby
RedNifre_ has quit [Ping timeout: 260 seconds]
DTZUZO_ has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Quit: WeeChat 2.2]
faitswulff has joined #ruby
al2o3-cr has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
paraxial has quit [Ping timeout: 252 seconds]
SanguineAnomaly has quit [Ping timeout: 252 seconds]
SanguineAnomaly has joined #ruby
paraxial has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
faitswulff has quit [Remote host closed the connection]