havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.5.0, 2.4.3, 2.3.6: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
jenrzzz has quit [Ping timeout: 248 seconds]
milardovich has quit [Ping timeout: 240 seconds]
matcouto has quit [Quit: Textual IRC Client: www.textualapp.com]
rrutkowski has quit [Quit: rrutkowski]
Guest90 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Quit: WeeChat 2.0.1]
bronson has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
bronson has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
shinnya has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
TomyLobo has quit [Ping timeout: 256 seconds]
veduardo has quit [Ping timeout: 265 seconds]
alfiemax has quit [Ping timeout: 248 seconds]
dogweather has joined #ruby
leitz has quit [Quit: Nappy time]
rrutkowski has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
milardovich has joined #ruby
ferr1 has joined #ruby
jtdoncas_ has joined #ruby
milardov_ has quit [Ping timeout: 248 seconds]
randomstrangerb has quit [Ping timeout: 256 seconds]
ferr1 has left #ruby [#ruby]
workmad3 has joined #ruby
randomstrangerb has joined #ruby
dogweather has quit [Remote host closed the connection]
dogweather has joined #ruby
ResidentBiscuit has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
dogweather has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 248 seconds]
arescorpio has joined #ruby
jenrzzz has joined #ruby
quobo has quit []
pastorinni has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
ogres has joined #ruby
mtkd has joined #ruby
k0mpa has quit [Remote host closed the connection]
jnyw has joined #ruby
bronson has joined #ruby
ResidentBiscuit has quit [Ping timeout: 260 seconds]
ResidentBiscuit has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
milardov_ has joined #ruby
pastorinni has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 252 seconds]
ResidentBiscuit has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 256 seconds]
ResidentBiscuit has joined #ruby
jenrzzz has joined #ruby
marr has quit [Ping timeout: 276 seconds]
venmx has quit [Ping timeout: 240 seconds]
mluts has joined #ruby
mluts has quit [Client Quit]
mluts has joined #ruby
mluts has quit [Remote host closed the connection]
ptr4ce has joined #ruby
Ishido has quit [Ping timeout: 248 seconds]
ResidentBiscuit has quit [Read error: Connection reset by peer]
Ishido has joined #ruby
vichib has quit [Ping timeout: 264 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ResidentBiscuit has joined #ruby
milardovich has joined #ruby
nowhere_man has joined #ruby
milardov_ has quit [Ping timeout: 246 seconds]
nowhereman_ has quit [Ping timeout: 256 seconds]
dogweather has joined #ruby
bmurt has joined #ruby
bmurt has quit [Client Quit]
bmurt has joined #ruby
ResidentBiscuit has quit [Read error: Connection reset by peer]
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Read error: Connection reset by peer]
bronson has joined #ruby
dogweather has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 268 seconds]
John_Ivan has quit [Read error: Connection reset by peer]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
jtdoncas_ has quit [Ping timeout: 256 seconds]
cdg has joined #ruby
gizmore has joined #ruby
dogweather has joined #ruby
coderphive has quit [Ping timeout: 248 seconds]
mluts has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
gizmore|2 has quit [Ping timeout: 268 seconds]
bronson has joined #ruby
bronson has quit [Remote host closed the connection]
bronson has joined #ruby
coderphive has joined #ruby
milardov_ has joined #ruby
workmad3 has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
dogweather has quit [Ping timeout: 256 seconds]
mluts has quit [Quit: mluts]
mluts has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
bmurt has joined #ruby
millerti has quit [Ping timeout: 248 seconds]
BTRE has quit [Read error: Connection timed out]
BTRE has joined #ruby
cadillac_ has joined #ruby
Psybur_ has quit [Ping timeout: 246 seconds]
jtdoncas_ has joined #ruby
jtdoncas_ has quit [Ping timeout: 240 seconds]
arescorpio has quit [Excess Flood]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has quit [Remote host closed the connection]
jtdoncas_ has joined #ruby
dogweather has joined #ruby
mtkd has quit [Ping timeout: 268 seconds]
bmurt has joined #ruby
ptr4ce has quit [Remote host closed the connection]
mtkd has joined #ruby
jtdoncas_ has quit [Ping timeout: 260 seconds]
dogweather has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
roshanavand has quit [Client Quit]
roshanavand has joined #ruby
roshanavand has quit [Client Quit]
ogres has quit [Quit: Connection closed for inactivity]
roshanavand has joined #ruby
<nchambers> if I have a class Foo, with a class variable @@bar, how can I expose bar so that I can use it like Foo.bar[:some_key] = 'some value'
milardovich has joined #ruby
roshanavand has quit [Quit: Leaving.]
roshanavand has joined #ruby
milardov_ has quit [Ping timeout: 264 seconds]
AJA4350 has quit [Quit: AJA4350]
<mattwc> nchambers: set a cattr_accessor / attr_accessor?
<nchambers> mattwc: Is there a document that describes that? I haven't really ever used ruby extensively enough so im not familiar with a lot of its class concepts
<eam> that's rails no? I think you've got to do it by hand in ruby
<eam> nchambers: an accessor is just a method that returns the value
<eam> class Foo; def self.bar; bar; end; end
<nchambers> right, i've already added that, but it doesn't let me do Foo.bar['whatever'] = :whatever
<eam> it ought to - what are you observing when you try it?
<eam> oh sorry, it'd be @@bar, not bar at the end there
<nchambers> right I knew that much
<nchambers> let me throw something together in irb real quick
<eam> if you want to assign to Foo.bar there's one other method to define, but Foo.bar[:thing] should work ok
cagomez has joined #ruby
cagomez has quit [Client Quit]
<nchambers> whats the other method to define?
cagomez has joined #ruby
<mattwc> if you want to do Foo.bar = {} you'd need to def self.bar=
<eam> bar=
<nchambers> mattwc: thats not what I want to do
<mattwc> then you shouldn't need to define any other methods
<mattwc> I just tested it (only the def self.bar @@bar end) and it worked
alfiemax has joined #ruby
jtdoncas_ has joined #ruby
_aeris_ has quit [Remote host closed the connection]
<nchambers> http://ix.io/ERa
<mattwc> self.bar not bar
<mattwc> bar is an instance method self.bar is the class method
<nchambers> oops
<eam> self.bar is another way of writing Foo.bar, without hardcoding the class
<nchambers> right
<nchambers> mattwc: eam: I must be going insane, you're right it does work
<nchambers> thanks for setting me straight
milardovich has quit [Remote host closed the connection]
Guest90 has joined #ruby
jtdoncas_ has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
r3kz has joined #ruby
ferr1 has joined #ruby
randomstrangerb has quit [Ping timeout: 260 seconds]
_aeris_ has joined #ruby
govg has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
randomstrangerb has joined #ruby
rrutkowski has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg_ has joined #ruby
cdg__ has joined #ruby
bmurt has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
cdg_ has quit [Ping timeout: 252 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
reaVer has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
reaVer has joined #ruby
aguestuser has quit [Ping timeout: 255 seconds]
alfiemax has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
darkhanb has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
milardovich has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
randomstrangerb has quit [Ping timeout: 256 seconds]
randomstrangerb has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
howdoi has joined #ruby
aguestuser has joined #ruby
dogweather has joined #ruby
milardovich has joined #ruby
bmurt has joined #ruby
trautwein has quit [Quit: ZNC 1.6.5 - http://znc.in]
trautwein has joined #ruby
<baweaver> Got a potentially fun one
<baweaver> If you wanted to run Ruby code client side in a browser, how would you do it?
<baweaver> Noted that Opal is my current idea for it, curious if anyone knows of a better one
dogweather has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
milardovich has quit [Ping timeout: 252 seconds]
gix- has joined #ruby
gix has quit [Disconnected by services]
ogres has joined #ruby
dogweather has joined #ruby
CrazyEddy has joined #ruby
dogweather has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby
Guest90 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
apeiros has joined #ruby
elphe has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jtdoncas_ has joined #ruby
apeiros has quit [Ping timeout: 248 seconds]
jtdoncas_ has quit [Ping timeout: 240 seconds]
cagomez has quit [Remote host closed the connection]
aguestuser has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aguestuser has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
jordanm has joined #ruby
elphe has joined #ruby
jordanm has quit [Remote host closed the connection]
justinfaler2 has quit [Ping timeout: 248 seconds]
jordanm has joined #ruby
milardovich has joined #ruby
darkhanb has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
cdg__ has quit [Remote host closed the connection]
sleetdrop has joined #ruby
xuyuheng has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
sashabelle has quit [Quit: Leaving]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
baweaver is now known as baweaver_away
baweaver_away is now known as baweaver
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
xberg has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
darkhanb has joined #ruby
jtdoncas_ has joined #ruby
apeiros has joined #ruby
oleo has joined #ruby
xberg has quit []
jenrzzz has quit [Ping timeout: 264 seconds]
jtdoncas_ has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
milardovich has joined #ruby
bronson has joined #ruby
xuyuheng_ has joined #ruby
milardovich has quit [Ping timeout: 252 seconds]
xuyuheng has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
ivanskie has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
oleo has quit [Ping timeout: 246 seconds]
live__ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
milardovich has joined #ruby
dviola has quit [Quit: WeeChat 2.0.1]
ferr1 has left #ruby ["WeeChat 2.0.1"]
milardovich has quit [Ping timeout: 256 seconds]
zigzig has quit [Ping timeout: 255 seconds]
zigzig has joined #ruby
ta_ has joined #ruby
ta__ has quit [Read error: Connection reset by peer]
ta_ has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
ta_ has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
live__ has quit [Quit: Leaving]
dionysus69 has joined #ruby
jtdoncas_ has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
elphe has quit [Ping timeout: 256 seconds]
armyriad has quit [Quit: Leaving]
jtdoncas_ has quit [Ping timeout: 256 seconds]
milardovich has joined #ruby
sleetdrop has quit [Quit: Textual IRC Client: www.textualapp.com]
milardovich has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
rabajaj has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
aufi has joined #ruby
bronson has joined #ruby
milardovich has joined #ruby
Dimik has joined #ruby
apeiros has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 256 seconds]
elphe has joined #ruby
kryptoz has joined #ruby
rabajaj has quit [Quit: Leaving]
stoffus has joined #ruby
conta has joined #ruby
RougeR has joined #ruby
RougeR is now known as Guest66052
Guest66052 has quit [Client Quit]
RougeT430 has joined #ruby
milardovich has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
ivanskie has quit [Quit: Textual IRC Client: www.textualapp.com]
xuyuheng_ has quit [Ping timeout: 268 seconds]
andikr has joined #ruby
RougeT430 has quit [Ping timeout: 260 seconds]
jtdoncas_ has joined #ruby
jenrzzz has joined #ruby
xuyuheng_ has joined #ruby
Guest90 has joined #ruby
milardovich has joined #ruby
jtdoncas_ has quit [Ping timeout: 264 seconds]
xuyuheng_ has quit [Ping timeout: 240 seconds]
Burgestrand has joined #ruby
alfiemax has joined #ruby
venmx has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
RougeT430 has joined #ruby
RougeT430 has quit [Max SendQ exceeded]
RougeT430 has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
mtkd has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
mtkd has joined #ruby
careta has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
xuyuheng_ has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
mark_66 has joined #ruby
cdg has joined #ruby
za1b1tsu has joined #ruby
elphe has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ta_ has joined #ruby
yohji has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
milardovich has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
aupadhye has joined #ruby
jenrzzz has joined #ruby
desperek has joined #ruby
workmad3 has joined #ruby
yohji has quit [Ping timeout: 264 seconds]
jtdoncas_ has joined #ruby
milardovich has joined #ruby
Guest90 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r3kz has quit [Quit: Connection closed for inactivity]
darkhanb has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
sundhell_away is now known as sundhell
RougeT430 has quit [Ping timeout: 256 seconds]
milardovich has quit [Ping timeout: 268 seconds]
jtdoncas_ has quit [Ping timeout: 248 seconds]
elphe has joined #ruby
Dimik has quit [Ping timeout: 276 seconds]
dogweather has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.0.1]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yohji has joined #ruby
dogweather has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
claudiuinberlin has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
amatas has joined #ruby
bronson has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
guille-moe has joined #ruby
ams__ has joined #ruby
elphe has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jamesaxl has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
rabajaj has joined #ruby
elphe has joined #ruby
darkhanb has joined #ruby
milardovich has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
marr has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
Asher has quit [Ping timeout: 240 seconds]
venmx has quit [Ping timeout: 240 seconds]
kryptoz has quit [Remote host closed the connection]
kryptoz has joined #ruby
TomyWork has joined #ruby
kryptoz has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 268 seconds]
elphe has quit [Ping timeout: 256 seconds]
Beams has joined #ruby
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
jenrzzz has joined #ruby
tomphp has joined #ruby
gr33n7007h has joined #ruby
tomphp has quit [Client Quit]
jenrzzz has quit [Ping timeout: 248 seconds]
xfbs has joined #ruby
venmx has joined #ruby
gr33n7007h has quit [Quit: WeeChat 2.0.1]
milardovich has joined #ruby
gr33n7007h has joined #ruby
xfbs has quit [Client Quit]
gr33n7007h is now known as al2o3-cr
nicesignal has quit [Remote host closed the connection]
vutral|kali has quit [Ping timeout: 256 seconds]
nicesignal has joined #ruby
shahe has joined #ruby
jtdoncas_ has joined #ruby
vondruch has joined #ruby
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
emilkarl has joined #ruby
<shahe> Does anyone know how to use rutui?
jtdoncas_ has quit [Ping timeout: 256 seconds]
shahe has quit [Quit: WeeChat 2.0.1]
jenrzzz has quit [Ping timeout: 252 seconds]
elphe has quit [Ping timeout: 268 seconds]
elphe has joined #ruby
tomphp has joined #ruby
Ltem has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
bauruine has quit [Quit: ZNC - http://znc.in]
emilkarl is now known as emilkarl_away
rahul_bajaj has joined #ruby
bauruine has joined #ruby
xuyuheng_ has quit [Ping timeout: 264 seconds]
raynold has quit [Quit: Connection closed for inactivity]
bronson has joined #ruby
rabajaj has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
elphe has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
rahul_bajaj has quit [Ping timeout: 248 seconds]
tomphp has quit [Client Quit]
mtkd has quit [Ping timeout: 256 seconds]
milardov_ has joined #ruby
mtkd has joined #ruby
yohji has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
xuyuheng_ has joined #ruby
za1b1tsu has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
ldnunes has joined #ruby
alfiemax has quit [Remote host closed the connection]
yohji has joined #ruby
xuyuheng_ has quit [Quit: Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
jnyw has quit [Quit: WeeChat 2.0.1]
venmx has quit [Remote host closed the connection]
venmx has joined #ruby
stoffus has quit [Read error: Connection reset by peer]
stoffus has joined #ruby
Neptu_ has joined #ruby
Ishido has quit [Ping timeout: 240 seconds]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
Ishido has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
workmad3 has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
alfiemax_ has joined #ruby
jenrzzz has joined #ruby
AJA4350 has joined #ruby
jtdoncas_ has joined #ruby
c0ncealed has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
c0ncealed has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jtdoncas_ has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
apeiros has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<ClearsTheScreen> hello rubies :) i'm running into a problem trying to use a library that, in turn, uses sassc. i get this error: https://pastebin.com/9Bvtp0Yr . i'm doing this on windows (which likely is a factor) googling around yields a few search results ( https://github.com/sass/libsass/issues/1790 ), but they all appear to be either fixed a long time ago or not actually applicable (cf. the error message; unicodey garble in my instance). ...
<ruby[bot]> ClearsTheScreen: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<ClearsTheScreen> ... the library/tool i am trying to use is the "zendesk application tools" ( https://rubygems.org/gems/zendesk_apps_tools which pulls in sassc via the `zendesk_apps_support` dependency). I have inspected the libsass.so file in a hex editor and it presents as windows DLL ("MZ") and not as linux one ("ELF"). Any help how to figure out what this error means / how i can fix it would be appreciated.
alfiemax has quit [Ping timeout: 260 seconds]
careta has quit [Ping timeout: 246 seconds]
milardovich has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
RougeT430 has joined #ruby
milardov_ has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
<Burgestrand> ClearsTheScreen a shot in the dark here, is it possible libsass is compiled for e.g. 32bit (x86) but your ruby is 64bit (x64), or vice versa?
jenrzzz has quit [Ping timeout: 256 seconds]
tomphp has joined #ruby
Ishido has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
bronson has joined #ruby
<ClearsTheScreen> ! that is a good shout. thanks, i'll have a look.
Ishido has joined #ruby
<xhoy> ClearsTheScreen: and it runs under windows it could be that this is not compatible
bronson has quit [Ping timeout: 246 seconds]
<xhoy> ClearsTheScreen: you could try windows 10 linux subsystem
<xhoy> *maybe* that could help/work
jenrzzz has quit [Ping timeout: 264 seconds]
<ClearsTheScreen> xhoy: well it is a windows dell ("MZ") not a linux shared library ("ELF")
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ClearsTheScreen> s/dell/dll/
<xhoy> 'C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sassc-1.11.4/ext/libsass/lib/libsass.so is that file present?
emilkarl_away is now known as emilkarl
<xhoy> since it says cannot open, sounds like a permission error OR file missing corrupt thing
<ClearsTheScreen> yes; i could read and inspect it.
<ClearsTheScreen> hence me saying I have checked it is a windows library
<xhoy> yeah but it is there? and does the process have permissions to open it?
<ClearsTheScreen> if it's not there, how can i inspect it? :x i also said "yes" re: is it present.
<ClearsTheScreen> and, uh, i hope so; i'll check the file perms
<ClearsTheScreen> i'd have epxected something more telling than "bit garbage" as error message :x
<xhoy> i mean why wouldn't it say it isn't there when it is? :P
<ClearsTheScreen> because it doesn't say it isn't there.
<ClearsTheScreen> the file appears to have read permissions fro all users on the machine; should be fine
<xhoy> rename the file see if you get an other rror
jenrzzz has joined #ruby
<xhoy> IT could be that it just isn't windows compatible and is including something else (dunno?)
Silthias has joined #ruby
Silthias has quit [Read error: Connection reset by peer]
tvw has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
stormpack has joined #ruby
<ClearsTheScreen> hump me sideways, it compiled a 32 bit dll.
<ClearsTheScreen> thanks, Burgestrand!
<ClearsTheScreen> and xhoy as well :)
<lupine> µnf
<desperek> nani's wrong?
<ClearsTheScreen> lupine: :D
<Burgestrand> ClearsTheScreen :)
John_Ivan has joined #ruby
<Burgestrand> ClearsTheScreen had a similar issue in the past for raspberry pi with one of my own gems and libffi, with a very similar error
<ClearsTheScreen> Burgestrand: oh, curious. are there obvious solutions? :x i'm quite new to ruby, let's say.
cdg has joined #ruby
<desperek> btw
<Burgestrand> ClearsTheScreen well, windows is a different build system so I can't really say, but compiling something for the wrong architecture and then attempting to load it with ffi (which is what libsass does afaik, looking at your error trace) and will only say "can't load" as its error message
<desperek> what's the current state of rubygems, ruby 2.4 on win10?
jenrzzz has joined #ruby
<desperek> cause i know some of gems didnt compile the right way/didnt work on 2.4 on win10
<ClearsTheScreen> Burgestrand: i mean, i very much understand it'll fall flat, but it's like a 3rd order dependency where it fails; so i was wondering if there are obvious command line options or so to give to gem
<desperek> mysql2 for example
<ClearsTheScreen> i seem to currently run 2.3.1; is that affected too?
<desperek> ClearsTheScreen, if you refer to mysql2 on win10, then 4.10 works on 2.3, but not on 2.4
<desperek> i've heard that win10 ruby 2.4 support will be introduced if mysql2 5 will be released
<desperek> :/
<desperek> meanwhile there is ruby 2.5
<desperek> i guess i'll be best using vagrant?
cdg has quit [Ping timeout: 252 seconds]
<desperek> also note that rvm doesnt work on windows
<ClearsTheScreen> desperek: more along the lines of: you mention this being about ruby 2.4; i was wondering if those compilation issues where specific to .4, or if i might be affected by that too
<desperek> ClearsTheScreen, specific to 2.4 and up or just 2.4
<desperek> 2.3 works fine
byte512_ has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
za1b1tsu has joined #ruby
milardov_ has joined #ruby
<desperek> though https://github.com/brianmario/mysql2/issues/923 says that it is only lack of binaries
<ClearsTheScreen> thank you :)
milardovich has quit [Ping timeout: 256 seconds]
tcopeland has quit [Quit: tcopeland]
stormpack has quit [Quit: Leaving]
jtdoncas_ has joined #ruby
alex`` has joined #ruby
jenrzzz has joined #ruby
Ishido has quit [Ping timeout: 240 seconds]
Ishido has joined #ruby
plexigras has quit [Quit: WeeChat 2.0.1]
jtdoncas_ has quit [Ping timeout: 268 seconds]
plexigras has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
apparition has joined #ruby
xfbs has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
bronson has joined #ruby
plexigras has quit [Quit: WeeChat 2.0.1]
chmurifree is now known as chmuri
plexigras has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
alex`` has quit [Ping timeout: 240 seconds]
byte512 has joined #ruby
milardov_ has quit [Ping timeout: 256 seconds]
_aeris_ has quit [Quit: ZNC - http://znc.sourceforge.net]
InfinityFye has joined #ruby
_aeris_ has joined #ruby
nowhereman_ has joined #ruby
nowhere_man has quit [Ping timeout: 260 seconds]
emilkarl has quit [Quit: emilkarl]
emilkarl has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
jaruga has joined #ruby
govg has quit [Ping timeout: 252 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
veduardo_ has joined #ruby
jtdoncas_ has joined #ruby
jeffreylevesque has quit [Ping timeout: 256 seconds]
tcopeland has joined #ruby
schneide_ has joined #ruby
jtdoncas_ has quit [Ping timeout: 256 seconds]
<schneide_> Hi. I'm trying to use libsass with rails, using this gem https://github.com/sass/sassc-rails. Currently I'm using rails 3.2.22 and bundle install fails because sassc-rails depends on rails version over 4.0.0
<schneide_> Is there an alternative or a work around? sorry I'm new to ruby
apeiros has joined #ruby
chmuri has quit [Excess Flood]
shinnya has joined #ruby
<adaedra> You could try to use a previous version of the gem
Psybur_ has joined #ruby
chmurifree has joined #ruby
DoubleMalt has joined #ruby
DoubleMalt has quit [Read error: Connection reset by peer]
apeiros has quit [Read error: Connection reset by peer]
milardov_ has joined #ruby
apeiros has joined #ruby
goatish has joined #ruby
synthroid has joined #ruby
milardovich has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
stormpack has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
bronson has joined #ruby
Ellusionist has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 240 seconds]
rwb has quit [Ping timeout: 252 seconds]
RougeT430 has quit [Ping timeout: 256 seconds]
plexigras has quit [Quit: WeeChat 2.0.1]
aupadhye has quit [Ping timeout: 255 seconds]
plexigras has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
ptr4ce has joined #ruby
bmurt has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
CrazyEddy has quit [Remote host closed the connection]
RougeT430 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
tomphp has joined #ruby
aScottishBoat has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
aupadhye has joined #ruby
RougeT430 has quit [Ping timeout: 256 seconds]
nadir has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
mikkelsen has joined #ruby
milardov_ has quit [Ping timeout: 248 seconds]
mikkelsen has quit [Client Quit]
aScottishBoat has quit [Ping timeout: 256 seconds]
aScottishBoat has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
aScottishBoat has quit [Client Quit]
jtdoncas_ has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
aScottishBoat has joined #ruby
quobo has joined #ruby
RougeT430 has joined #ruby
Azure has quit [Ping timeout: 248 seconds]
mtkd has joined #ruby
mikkelsen has joined #ruby
jtdoncas_ has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
sieve has joined #ruby
aScottishBoat has quit [Ping timeout: 240 seconds]
<sieve> Hi, I'm trying to come up with a ruby regex that matches a string that is less than n characters
<adaedra> It has to be a regex?
Asher has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
<ClearsTheScreen> sounds like checking on string length is easier and faster
cdg has joined #ruby
dionysus69 has joined #ruby
tomphp has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
elphe has quit [Ping timeout: 246 seconds]
jeffreylevesque has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
bronson has joined #ruby
mark_66 has quit [Quit: Leaving.]
veduardo_ has quit [Ping timeout: 255 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 268 seconds]
jrp93 has joined #ruby
bmurt has joined #ruby
stormpack has quit [Quit: Leaving]
<ClearsTheScreen> update just in case: my error was typical ID-10T error: looks like i installed 32 bit devkit. pebkac.
jrp93_2 has joined #ruby
krawchyk has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
cadillac_ has joined #ruby
<Burgestrand> ClearsTheScreen glad you found the issue :)
jrp93 has quit [Ping timeout: 252 seconds]
cadillac_ has quit [Read error: Connection reset by peer]
sergio_101 has joined #ruby
stormpack has joined #ruby
tomphp has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
synthroid has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 276 seconds]
kryptoz has joined #ruby
cadillac_ has joined #ruby
synthroid has joined #ruby
oleo has joined #ruby
mikkelsen has quit [Quit: mikkelsen]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DLSteve_ has joined #ruby
RougeT430 has quit [Ping timeout: 240 seconds]
jrp93_2 has quit [Quit: Leaving]
gnufied has joined #ruby
Snowy has joined #ruby
Psybur_ has quit [Ping timeout: 276 seconds]
jtdoncas_ has joined #ruby
jrp93 has joined #ruby
workmad3 has joined #ruby
Ellusionist has quit [Quit: Leaving]
apparition has quit [Quit: Bye]
RougeT430 has joined #ruby
pastorinni has joined #ruby
pastorinni has quit [Remote host closed the connection]
sergio_101 has quit [Remote host closed the connection]
pastorinni has joined #ruby
<ClearsTheScreen> yes! :) cheers!
sergio_101 has joined #ruby
jtdoncas_ has quit [Ping timeout: 256 seconds]
alfiemax has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
emilkarl is now known as emilkarl_away
workmad3 has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
k0mpa has joined #ruby
emilkarl_away is now known as emilkarl
randomstrangerb has quit [Ping timeout: 264 seconds]
randomstrangerb has joined #ruby
griffindy has joined #ruby
griffindy has quit [Client Quit]
sundhell is now known as sundhell_away
rippa has joined #ruby
schneide_ has quit [Remote host closed the connection]
bronson has joined #ruby
Ltem has quit [Quit: bye]
ta_ has quit [Remote host closed the connection]
alex`` has joined #ruby
rwb has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
goatish has quit [Quit: Hibernating]
alfiemax has quit [Remote host closed the connection]
schneide_ has joined #ruby
kapil___ has joined #ruby
cmoel has joined #ruby
bauruine has quit [Quit: ZNC - http://znc.in]
cmoel has quit [Client Quit]
marr has quit [Ping timeout: 264 seconds]
bauruine has joined #ruby
rawburtz has joined #ruby
dinfuehr has quit [Ping timeout: 248 seconds]
dinfuehr has joined #ruby
TinkerTyper has quit [Read error: Connection reset by peer]
TinkerTyper has joined #ruby
rawburtz has quit [Remote host closed the connection]
jtdoncas_ has joined #ruby
stoffus has quit [Ping timeout: 268 seconds]
Ishido has quit [Ping timeout: 252 seconds]
Psybur_ has joined #ruby
alfiemax has joined #ruby
nowhereman_ has quit [Ping timeout: 252 seconds]
jtdoncas_ has quit [Ping timeout: 256 seconds]
Ishido has joined #ruby
foxxx0 has quit [Quit: foxxx0]
<cout> def foo(&p); p.call { }; end; foo { |&ok| ok.call } foo { |&not_ok| yield }
alfiemax has quit [Ping timeout: 248 seconds]
sepp2k has joined #ruby
<cout> why does the first call succeed but the second result in LocalJumpError?
nowhereman_ has joined #ruby
<Burgestrand> dminuoso here's one of your favourites
<Burgestrand> dminuoso :D
<cout> we couldn't pass blocks into blocks when I first started using ruby
nowhere_man has joined #ruby
apeiros has quit [Ping timeout: 260 seconds]
foxxx0 has joined #ruby
<Burgestrand> cout the `yield` is assumed to yield to a block passed to the scope of the calling site, e.g. if you wrap it in a method and call that method with a block, the yield would yield to that block
<Burgestrand> cout https://eval.in/944302
sieve has quit [Quit: Leaving.]
nowhereman_ has quit [Ping timeout: 248 seconds]
troys has joined #ruby
<cout> interesting
<cout> so in that case, the block parameter is different from the block that gets yielded to
<Burgestrand> Yes
<Burgestrand> cout here's something interesting too: https://eval.in/944313
<Burgestrand> cout (pretty much the same rules, but for completions sake)
Guest96 has joined #ruby
<cout> yeah it's the same thing
alex`` has quit [Quit: WeeChat 1.9]
cschneid has joined #ruby
oleo has quit [Quit: Leaving]
kryptoz has quit [Remote host closed the connection]
alex`` has joined #ruby
oleo has joined #ruby
kryptoz has joined #ruby
r3kz has joined #ruby
kryptoz has quit [Read error: Connection reset by peer]
kryptoz has joined #ruby
xfbs has quit []
schneide_ has quit [Remote host closed the connection]
bronson has joined #ruby
jtdoncas_ has joined #ruby
yrstrly has joined #ruby
<yrstrly> If you are using the method map on an array, is there a way to stop a specific element being passed to the block?
<havenwood> yrstrly: What would happen on that iteration?
schneide_ has joined #ruby
<havenwood> On that step, I mean.
<yrstrly> text.split(' ').map{|word| word[1..-1]<<word[0]<<'ay'}.join(' ')
<yrstrly> 'Quis custodiet ipsos custodes ?'
<yrstrly> i have that code and this text
<yrstrly> but want to stop the punctuation mark from being passed to the block
sylario has joined #ruby
<yrstrly> so it only maps on the words and then joins them together with a space
bronson has quit [Ping timeout: 276 seconds]
aupadhye has quit [Ping timeout: 246 seconds]
bauruine has quit [Quit: ZNC - http://znc.in]
bauruine has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
synthroid has quit [Remote host closed the connection]
<havenwood> yrstrly: you could just return `word` from the block when the word isn't one you want to change
<yrstrly> how would I write the code that does that?
<yrstrly> I tried writing unless word == '?' inside the block but that didn't do anything
tomphp has joined #ruby
apeiros has joined #ruby
RougeT430 has quit [Ping timeout: 264 seconds]
milardovich has quit []
tomphp has quit [Client Quit]
<havenwood> yrstrly: word.match?(/\A\w+\z/) ? "#{word[1..-1]}{word[0]}ay" : word
<yrstrly> that needs to go into my block?
<havenwood> yrstrly: A nicer way to write it might be: next(word) unless word.match?(/\A\w+\z/)
<havenwood> yrstrly: Then on the next line: "#{word[1..-1]}{word[0]}ay"
<havenwood> yrstrly: Something like that ^
CrazyEddy has joined #ruby
milardovich has joined #ruby
roshanavand has quit [Ping timeout: 256 seconds]
<havenwood> yrstrly: Or an if-statement.
synthroid has joined #ruby
schneide_ has quit [Remote host closed the connection]
conta has quit [Ping timeout: 256 seconds]
<havenwood> yrstrly: Different ways of writing the same thing: https://gist.github.com/havenwood/a63fca51b153ab944df79292f2d23d11
<yrstrly> you can write an if statement inside a block?
<yrstrly> thanks
Rapture has joined #ruby
<havenwood> yes, you can have an if statement inside a block, no prob
alex`` has quit [Quit: WeeChat 1.9]
alex`` has joined #ruby
alex`` is now known as alexherbo2
alexherbo2 is now known as alex``
alex`` has quit [Client Quit]
emilkarl has quit [Quit: emilkarl]
rgiscard has joined #ruby
RougeT430 has joined #ruby
rgiscard has quit [Client Quit]
rgiscard has joined #ruby
xfbs has joined #ruby
rgiscard has quit [Client Quit]
roshanavand has joined #ruby
aupadhye has joined #ruby
workmad3 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
InfinityFye has quit [Quit: Leaving]
Guest90 has joined #ruby
blackmesa has joined #ruby
kryptoz has quit [Remote host closed the connection]
kryptoz has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
AJA4350 has joined #ruby
Guest90 has quit [Quit: Textual IRC Client: www.textualapp.com]
kryptoz has quit [Ping timeout: 240 seconds]
andikr has quit [Remote host closed the connection]
Guest96 has quit [Quit: Guest96]
Guest96 has joined #ruby
Guest96 has quit [Client Quit]
rgiscard has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
Ishido has quit [Ping timeout: 256 seconds]
nowhereman_ has joined #ruby
alex`` has joined #ruby
Ishido has joined #ruby
alex`` is now known as alexherbo2
schneide_ has joined #ruby
yohji has quit [Ping timeout: 256 seconds]
alexherbo2 is now known as alex``
nowhere_man has quit [Ping timeout: 248 seconds]
kies has quit [Ping timeout: 256 seconds]
cagomez has joined #ruby
k0mpa has quit [Ping timeout: 255 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
jeffreylevesque_ has joined #ruby
bronson has joined #ruby
alfiemax has joined #ruby
jeffreylevesque has quit [Ping timeout: 256 seconds]
schneide_ has quit [Remote host closed the connection]
cagomez has quit [Ping timeout: 256 seconds]
yohji has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
alfiemax has quit [Ping timeout: 256 seconds]
marr has joined #ruby
raynold has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
milardovich has quit [Remote host closed the connection]
blackmesa1 has joined #ruby
Beams has quit [Quit: .]
blackmesa has quit [Ping timeout: 265 seconds]
darkhanb has joined #ruby
Mike11 has joined #ruby
goatish has joined #ruby
Mike11 has quit [Max SendQ exceeded]
Ishido has quit [Ping timeout: 268 seconds]
goatish has quit [Client Quit]
alexts443 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexts443 has left #ruby [#ruby]
Ishido has joined #ruby
yrstrly has quit [Ping timeout: 260 seconds]
yohji has quit [Remote host closed the connection]
conta has joined #ruby
milardovich has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
<dminuoso> Burgestrand: ?
<dminuoso> Oh.
bmurt has joined #ruby
Mike11 has joined #ruby
quobo has joined #ruby
milardovich has quit [Ping timeout: 246 seconds]
<dminuoso> Burgestrand: In the end it's easier to stop using blocks/yield
<dminuoso> It has weird syntax and semantics.
<dminuoso> lambda is the way to go.
<Burgestrand> dminuoso :d
alfiemax has joined #ruby
_aeris_ has quit [Remote host closed the connection]
AJA4350 has quit [Quit: AJA4350]
lytol has joined #ruby
_aeris_ has joined #ruby
AJA4350 has joined #ruby
justinfaler2 has joined #ruby
tomphp has joined #ruby
[Butch] has joined #ruby
<dminuoso> Burgestrand: By the way the &not_okay was a bit misleading.
jtdoncas_ has quit [Ping timeout: 268 seconds]
blackmesa1 has quit [Ping timeout: 276 seconds]
Snowy has quit [Remote host closed the connection]
za1b1tsu has quit [Quit: Leaving]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Remote host closed the connection]
bmurt has joined #ruby
<al2o3-cr> >> def foo; bar { yield } end; def bar; yield end; foo { :wtf }
<ruby[bot]> al2o3-cr: # => :wtf (https://eval.in/944347)
schneide_ has joined #ruby
schneide_ has quit [Remote host closed the connection]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
nowhereman_ has quit [Remote host closed the connection]
shahe has joined #ruby
nowhereman_ has joined #ruby
shahe has quit [Read error: Connection reset by peer]
<al2o3-cr> >> def foo(&block) block.yield end; def bar(&block) foo(&block) end; foo { 42 }
<ruby[bot]> al2o3-cr: # => 42 (https://eval.in/944356)
<al2o3-cr> i like the first =P
ldepandis has joined #ruby
<al2o3-cr> and a shitton faster
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bawNg> yeah no reason to allocate a proc if you don't need it
schneide_ has joined #ruby
aufi has quit [Quit: Leaving]
<al2o3-cr> indeed.
<bawNg> passing yields through a few methods costs less than a single proc allocation under MRI
<al2o3-cr> of course
<bawNg> and that's excluding the GC cost that will be incurred later
<al2o3-cr> yet i hardly see it in the real world.
<bawNg> not sure why people get so confused about working with blocks and yield, I must just be far too used to using ruby blocks at this point
<al2o3-cr> anything is easy when you come to terms with it.
<al2o3-cr> it just takes time.
kapil___ has quit [Quit: Connection closed for inactivity]
schneide_ has quit [Ping timeout: 268 seconds]
<bawNg> blocks are one of the most awesome parts of the ruby which I really miss in other languages, but doing pretty much anything in ruby is way more enjoyable than all the other languages that I use
<al2o3-cr> i totally agree.
cdg has joined #ruby
<havenwood> bawNg: The lazy proc allocation used in 2.5 really helps mitigate that proc allocation penatly
venmx has quit [Ping timeout: 268 seconds]
<bawNg> you mean it finally avoids allocation when just passing through a block?
<havenwood> Here's a bench showing the 3x improvement: https://github.com/JuanitoFatas/fast-ruby/pull/141/files
<havenwood> bawNg: yup!
<bawNg> that's great, it'll help a serious amount of gems out
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c_nick has joined #ruby
<havenwood> bawNg: Yeah, I was glad to see it in 2.5!
<bawNg> I prefer the second bench
<havenwood> Here's the issue: https://bugs.ruby-lang.org/issues/14045
schneide_ has joined #ruby
bronson has joined #ruby
ptr4ce has quit [Remote host closed the connection]
<al2o3-cr> well fuck me. someone on my level.
alfiemax has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 248 seconds]
<al2o3-cr> this is good.
tomphp has joined #ruby
ta_ has joined #ruby
Barrt has joined #ruby
schneide_ has quit [Ping timeout: 260 seconds]
FrostCandy has joined #ruby
<FrostCandy> So what do you guys use in ruby when you want to send a PUT ? insetaed of a POST?
ta_ has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
TomyWork has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
kapil___ has joined #ruby
blackmesa1 has joined #ruby
eckhardt has joined #ruby
<al2o3-cr> FrostCandy: Net::HTTP::Post no?
<al2o3-cr> s/Post/Put/
schneide_ has joined #ruby
conta has quit [Quit: conta]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has joined #ruby
conta has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
<al2o3-cr> FrostCandy: stdlib ruby.
rgiscard has quit [Quit: Gone fishing]
<al2o3-cr> or the many gems which are available.
Mike11 has quit [Ping timeout: 256 seconds]
dinfuehr has quit [Ping timeout: 256 seconds]
hahuang61 has joined #ruby
alex`` has quit [Quit: WeeChat 1.9]
schneide_ has quit [Ping timeout: 240 seconds]
Ishido has quit [Ping timeout: 248 seconds]
dinfuehr has joined #ruby
<al2o3-cr> me personally, i like typhoeus.
vichib has joined #ruby
guille-moe has quit [Ping timeout: 240 seconds]
schneide_ has joined #ruby
c_nick has left #ruby ["Ex-Chat"]
TomyLobo has joined #ruby
alfiemax has joined #ruby
emilkarl has joined #ruby
schneide_ has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
tomphp has joined #ruby
Ishido has joined #ruby
<FrostCandy> al2o3-cr: ok thanks :) I've been use POST to PUT resources and of course it wasnt working heh
schneide_ has joined #ruby
cek has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
naftilos76 has joined #ruby
venmx has joined #ruby
jtdoncas_ has joined #ruby
kies has joined #ruby
schneide_ has quit [Ping timeout: 248 seconds]
jtdoncas_ has quit [Ping timeout: 248 seconds]
emilkarl has quit [Quit: emilkarl]
BTRE has quit [Read error: Connection reset by peer]
Antiarc has quit [Ping timeout: 276 seconds]
schneide_ has joined #ruby
dogweather has joined #ruby
synthroid has quit [Remote host closed the connection]
Ishido has quit [Ping timeout: 248 seconds]
vutral|kali has quit [Ping timeout: 240 seconds]
jaruga has quit [Quit: jaruga]
schneide_ has quit [Ping timeout: 248 seconds]
dogweather has quit [Ping timeout: 240 seconds]
emilkarl has joined #ruby
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
Antiarc has joined #ruby
schneide_ has joined #ruby
dogweather has joined #ruby
blackmesa1 has quit [Ping timeout: 240 seconds]
haylon_ has joined #ruby
DTZUZU has quit [Quit: WeeChat 1.9]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dinfuehr has quit [Ping timeout: 240 seconds]
jtdoncas_ has joined #ruby
schneide_ has quit [Ping timeout: 240 seconds]
guacamole has joined #ruby
cdg has quit [Remote host closed the connection]
stormpack has quit [Quit: Leaving]
guacamole has quit [Client Quit]
dinfuehr has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
sundhell_away is now known as sundhell
bronson has joined #ruby
dogweather has quit [Read error: Connection reset by peer]
jtdoncas_ has quit [Ping timeout: 248 seconds]
dogweather has joined #ruby
dogweather has quit [Client Quit]
dogweather has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
haylon_ has quit [Ping timeout: 248 seconds]
drakko has joined #ruby
DTZUZU has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
claudiuinberlin has joined #ruby
desperek has quit [Ping timeout: 248 seconds]
shinnya has joined #ruby
emilkarl has quit [Quit: emilkarl]
eckhardt has joined #ruby
Sauvin has quit [Ping timeout: 256 seconds]
Dimik has joined #ruby
milardovich has joined #ruby
tvw has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 248 seconds]
BTRE has joined #ruby
[Butch] has quit [Read error: Connection reset by peer]
jtdoncas_ has joined #ruby
banisterfiend has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has joined #ruby
[Butch] has joined #ruby
jrafanie has joined #ruby
cagomez has quit [Remote host closed the connection]
pastorinni has quit [Ping timeout: 256 seconds]
cagomez has joined #ruby
BTRE has quit [Ping timeout: 240 seconds]
synthroid has joined #ruby
AJA4350 has quit [Ping timeout: 248 seconds]
venmx has quit [Ping timeout: 248 seconds]
conta has quit [Ping timeout: 240 seconds]
schneide_ has joined #ruby
jottr has joined #ruby
AJA4350 has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RougeT430 has quit [Ping timeout: 256 seconds]
schneide_ has quit [Ping timeout: 240 seconds]
jtdoncas_ has quit [Ping timeout: 268 seconds]
ur5us has joined #ruby
Sans has quit [Quit: Goodbye from Snoonet BNC!]
gothicsouth has quit [Quit: Textual IRC Client: www.textualapp.com]
NyanCat has joined #ruby
elphe has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneide_ has joined #ruby
hahuang61 has quit [Quit: WeeChat 2.0.1]
blackmesa1 has joined #ruby
ldnunes has quit [Quit: Leaving]
hahuang61 has joined #ruby
elphe has quit [Ping timeout: 276 seconds]
schneide_ has quit [Ping timeout: 240 seconds]
drakoz has joined #ruby
RougeT430 has joined #ruby
sameerynho has joined #ruby
schneide_ has joined #ruby
drakko has quit [Ping timeout: 264 seconds]
biberu has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
schneide_ has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
Psybur_ has quit [Ping timeout: 260 seconds]
zapata has quit [Read error: Connection reset by peer]
dionysus69 has quit [Remote host closed the connection]
zapata has joined #ruby
schneide_ has joined #ruby
dionysus69 has joined #ruby
Mia has joined #ruby
<cout> dminuoso: I know; I wrote it that way because ruby doesn't have begin/end comment markers
<cout> not for one-liners anyway
schneide_ has quit [Ping timeout: 248 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
jamesaxl has quit [Quit: WeeChat 2.0.1]
rgiscard has joined #ruby
schneide_ has joined #ruby
xfbs has quit []
garyserj has joined #ruby
biberu has quit []
cagomez has quit [Ping timeout: 248 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<garyserj> what is the advantage in doing attr_accessor :myvar I can see an advantage in defining a getter method that does more than just return @myvar or defining a setter method that does more than just @myvar=value But what's the advantage in just having plain accessors and getters that just do reading and assigning as is done by doing attr_accessor :myvar?
schneide_ has quit [Ping timeout: 240 seconds]
BTRE has joined #ruby
Mia has quit [Quit: Leaving]
hahuang61 has quit [Ping timeout: 256 seconds]
ams__ has quit [Quit: Connection closed for inactivity]
workmad3 has joined #ruby
haylon_ has joined #ruby
drakoz has quit [Quit: xoxo]
<hanmac> garyserj: in ruby normally you can't access instance variables from the outside of an object without meta stuff like instance_variable_get
jtdoncas_ has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
haylon_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
cagomez has joined #ruby
k0mpa has joined #ruby
jtdoncas_ has quit [Ping timeout: 240 seconds]
alfiemax has quit [Remote host closed the connection]
cagomez has quit [Ping timeout: 256 seconds]
jinie has quit [Ping timeout: 240 seconds]
jinie has joined #ruby
nowhereman_ has quit [Quit: Konversation terminated!]
nowhereman_ has joined #ruby
schneide_ has joined #ruby
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
nowhere_man has joined #ruby
nowhereman_ has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
elphe has joined #ruby
RougeT430 has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
cagomez has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Ping timeout: 248 seconds]
dviola has joined #ruby
gothicsouth has joined #ruby
naftilos76 has quit [Ping timeout: 252 seconds]
banisterfiend has joined #ruby
cdg has joined #ruby
BTRE has quit [Quit: Leaving]
shadeslayer has quit [Read error: Connection reset by peer]
bronson has joined #ruby
banisterfiend has quit [Client Quit]
rwb has quit [Ping timeout: 240 seconds]
jinie_ has joined #ruby
banisterfiend has joined #ruby
shadeslayer has joined #ruby
RougeT430 has joined #ruby
sundhell is now known as sundhell_away
RougeT430 has quit [Max SendQ exceeded]
<garyserj> are class variables also valled static variables?
<garyserj> valled=called
RougeT430 has joined #ruby
jinie has quit [Ping timeout: 256 seconds]
RougeT430 has quit [Max SendQ exceeded]
bronson has quit [Ping timeout: 248 seconds]
cagomez has joined #ruby
dionysus69 has quit [Ping timeout: 264 seconds]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
Flashynuff has joined #ruby
<tobiasvl> garyserj: not by rubyists ;)
jnollette has joined #ruby
<tobiasvl> class variables are roughly analogous to "static" variables in other languages (but they're shared by a class and all its subclasses!). however, they're not used much. class instance variables are more common
<garyserj> so are there three kinds then. class variables, instance variables, and class instance variables?
schneide_ has quit [Remote host closed the connection]
randomstrangerb has quit [Ping timeout: 252 seconds]
randomstrangerb has joined #ruby
schneide_ has joined #ruby
wolfshappen has quit [Ping timeout: 248 seconds]
jtdoncas_ has joined #ruby
RougeT430 has joined #ruby
jottr_ has joined #ruby
<havenwood> What should Threadlets be called in Ruby? Threadlet, Routine, Task, ThreadTask, LightThread, Lane, Spark, or what?: https://bugs.ruby-lang.org/issues/13618
pastorinni has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
tomphp has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
<havenwood> garyserj: There are local variables, class instance variables (most often called just instance variables), class variables, global variables, private constants and public constants.
<havenwood> garyserj: Good general advice is avoid creating your own class variables or global variables.
<havenwood> garyserj: You'll almost exclusively use local and instance variables or constants.
wolfshappen has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<havenwood> Help pick a good name so we can get Threadlets already! ;-)
<havenwood> I think "Threadlet" is fine actually.
<havenwood> Better than Fred or Thriber, at least...
BTRE has joined #ruby
Psybur_ has joined #ruby
<tobiasvl> garyserj: instance variables and class instance variables are the same thing, but the former belong to any instance and the latter to an instance that is a class
Psybur__ has joined #ruby
shadeslayer has quit [Remote host closed the connection]
shadeslayer has joined #ruby
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
synthroid has quit []
Psybur_ has quit [Ping timeout: 240 seconds]
pwnd_nsfw` has quit [Remote host closed the connection]
UncleCid__ has joined #ruby
ledestin has joined #ruby
kies has quit [Remote host closed the connection]
r3kz has quit [Quit: Connection closed for inactivity]
sergio_101 has quit [Remote host closed the connection]
nick3 has joined #ruby
<nick3> hi
nick3 has left #ruby [#ruby]
Ellusionist has joined #ruby
elphe has quit [Ping timeout: 248 seconds]
elphe has joined #ruby
raynold has joined #ruby
pecpec has joined #ruby
Mahoon has joined #ruby
rwb has joined #ruby
blackmesa1 has quit [Ping timeout: 240 seconds]
x77686d has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
guacamole has quit [Client Quit]
blackmesa1 has joined #ruby
bronson has joined #ruby
jtdoncas_ has quit [Ping timeout: 256 seconds]
orbyt_ has joined #ruby
schneide_ has quit [Remote host closed the connection]
randomstrangerb has quit [Ping timeout: 256 seconds]
bronson has quit [Ping timeout: 240 seconds]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
randomstrangerb has joined #ruby
jrp93 has quit [Quit: Leaving]
jeffreylevesque has joined #ruby
schneide_ has joined #ruby
spiette has joined #ruby
inukshuk has quit [Ping timeout: 264 seconds]
RougeT430 has quit [Ping timeout: 248 seconds]
jeffreylevesque_ has quit [Ping timeout: 260 seconds]
inukshuk has joined #ruby
jeffreylevesque has quit [Ping timeout: 248 seconds]
schneide_ has quit [Ping timeout: 248 seconds]
Ellusionist has quit [Remote host closed the connection]
Ellusionist has joined #ruby
RougeT430 has joined #ruby
catphish has joined #ruby
<catphish> is one of these string literals more correct than the other? '\"' vs '\\"'
<catphish> the first seems wrong, but it equals the second
<adaedra> ah, interesting
<adaedra> I'd have guessed (wrongly, apparently) that the first one would just be `"`
<catphish> i guess in single quotes, a \ is literal unless it's followed by a single quote
<adaedra> well no, since `'\\'` gives you just `\`
<catphish> also true
<adaedra> I guess if the escape sequence is valid, it is interpreted, otherwise the \ stays
<catphish> i think i'll go with '\\"' anyway, it avoids confusion
<adaedra> yeah
quobo has quit [Quit: Connection closed for inactivity]
jrafanie has quit [Ping timeout: 256 seconds]
Ellusionist has quit [Quit: Leaving]
dviola has quit [Quit: WeeChat 2.0.1]
r3kz has joined #ruby
jtdoncas_ has joined #ruby
workmad3 has joined #ruby
cagmz_ has joined #ruby
amatas has quit [Ping timeout: 256 seconds]
krawchyk has quit [Quit: krawchyk]
cagmz has quit [Ping timeout: 246 seconds]
jottr has joined #ruby
jottr_ has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
dviola has joined #ruby
jenrzzz has joined #ruby
jnyw has joined #ruby
moei has quit [Quit: Leaving...]
Azure has joined #ruby
tcopeland has quit [Quit: tcopeland]
catphish has quit [Quit: Leaving]
jeffreylevesque has joined #ruby
RougeT430 has quit [Ping timeout: 256 seconds]
DLSteve_ has quit [Quit: All rise, the honorable DLSteve has left the channel.]
shorberg has quit [Quit: shorberg]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
shorberg has joined #ruby
cdg_ has joined #ruby
schneide_ has joined #ruby
bronson has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
quobo has joined #ruby
cdg_ has quit [Ping timeout: 256 seconds]
schneide_ has quit [Ping timeout: 240 seconds]
TomyLobo has quit [Ping timeout: 246 seconds]
shorberg has quit [Remote host closed the connection]
shorberg has joined #ruby
alfiemax_ has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 248 seconds]
schneide_ has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgiscard has quit [Quit: Cheers]
eckhardt has joined #ruby
klaas has quit [Ping timeout: 240 seconds]
Psybur__ has quit [Ping timeout: 240 seconds]
schneide_ has quit [Ping timeout: 256 seconds]
eckhardt has quit [Client Quit]
mtkd has quit [Ping timeout: 252 seconds]
schneide_ has joined #ruby
mtkd has joined #ruby
Xeago_ has joined #ruby
ericmath1son has joined #ruby
schneide_ has quit [Ping timeout: 240 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
Xeago has quit [*.net *.split]
argoneus has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
Olipro has quit [*.net *.split]
ericmathison has quit [*.net *.split]
Liothen has quit [*.net *.split]
pinkfloyd1911 has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
krasnus has quit [*.net *.split]
Jamo has quit [*.net *.split]
jtperreault has quit [*.net *.split]
SuperTux88 has quit [*.net *.split]
jwheare has quit [*.net *.split]
mitchellvanw has quit [*.net *.split]
Eiam has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
aloy has quit [*.net *.split]
shtirlic has quit [*.net *.split]
nchambers has quit [*.net *.split]
ghormoon has quit [*.net *.split]
olspookishmagus has quit [*.net *.split]
spectra has quit [*.net *.split]
Xeago_ is now known as Xeago
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jwheare has joined #ruby
sirecote has quit [Ping timeout: 240 seconds]
Mahoon has quit [Quit: Leaving]
orbyt_ has joined #ruby
selim has quit [Ping timeout: 240 seconds]
schneide_ has joined #ruby
x0f has quit [Ping timeout: 260 seconds]
selim has joined #ruby
sirecote has joined #ruby
x0f has joined #ruby
FrostCandy has quit []
DarthGandalf has joined #ruby
Olipro has joined #ruby
pinkfloyd1911 has joined #ruby
argoneus has joined #ruby
aloy has joined #ruby
Jamo has joined #ruby
Liothen has joined #ruby
Jello_Raptor has joined #ruby
SuperTux88 has joined #ruby
Fire-Dragon-DoL has joined #ruby
mitchellvanw has joined #ruby
krasnus has joined #ruby
olspookishmagus has joined #ruby
nchambers has joined #ruby
jtperreault has joined #ruby
shtirlic has joined #ruby
ghormoon has joined #ruby
spectra has joined #ruby
Olipro has quit [Max SendQ exceeded]
ghormoon has quit [Max SendQ exceeded]
olspookishmagus has quit [Max SendQ exceeded]
ghormoon has joined #ruby
olspookishmagus has joined #ruby
Olipro has joined #ruby
olspookishmagus is now known as Guest6318
x77686d has quit [Ping timeout: 240 seconds]
schneide_ has quit [Ping timeout: 256 seconds]
cek has quit [Quit: Connection closed for inactivity]
pastorinni has quit [Remote host closed the connection]
schneide_ has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has quit [Ping timeout: 248 seconds]