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