baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
eckhardt has joined #ruby
akaiiro has quit [Ping timeout: 256 seconds]
akaiiro has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
apeiros has quit [Remote host closed the connection]
arescorpio has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.2]
Guest23176 has quit [Ping timeout: 260 seconds]
Guest23176 has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eckhardt has quit [Read error: Connection reset by peer]
eckhardt has joined #ruby
s2013 has joined #ruby
akaiiro has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
RedNifre has quit [Quit: kwit]
apeiros has quit [Ping timeout: 268 seconds]
Guest23176 has quit [Ping timeout: 240 seconds]
Blaguvest has quit [Quit: Leaving]
Guest23176 has joined #ruby
rivalomega has quit []
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akaiiro has joined #ruby
Guest23176 has quit [Ping timeout: 276 seconds]
venmx has quit [Ping timeout: 272 seconds]
orbyt_ has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gizmore has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
apeiros has joined #ruby
nowhereman_ has quit [Ping timeout: 256 seconds]
nowhere_man has joined #ruby
r29v has quit [Quit: r29v]
nowhere_man has quit [Ping timeout: 244 seconds]
AJA4350 has quit [Quit: AJA4350]
SeepingN has quit [Ping timeout: 240 seconds]
akaiiro has quit [Ping timeout: 256 seconds]
Puffball has quit [Remote host closed the connection]
Guest23176 has joined #ruby
cadillac_ has quit [Ping timeout: 268 seconds]
cadillac_ has joined #ruby
akaiiro has joined #ruby
Guest23176 has quit [Ping timeout: 244 seconds]
apeiros has quit [Ping timeout: 256 seconds]
_whitelogger has joined #ruby
apeiros has joined #ruby
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
apeiros has quit [Ping timeout: 256 seconds]
tty has quit [Quit: tty]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
Guest23176 has joined #ruby
Freshnuts has quit [Quit: Leaving]
Guest23176 has quit [Ping timeout: 240 seconds]
Guest23176 has joined #ruby
t0xik has quit [Quit: Connection closed for inactivity]
apeiros has joined #ruby
apeiros has quit [Ping timeout: 256 seconds]
g- has quit [Quit: WeeChat 1.6]
akaiiro has quit [Ping timeout: 244 seconds]
s2013 has joined #ruby
faitswulff has joined #ruby
apeiros has joined #ruby
Guest23176 has quit [Ping timeout: 272 seconds]
Guest23176 has joined #ruby
s2013 has quit [Ping timeout: 268 seconds]
torbo has joined #ruby
apeiros has quit [Ping timeout: 268 seconds]
Guest23176 has quit [Ping timeout: 244 seconds]
Guest23176 has joined #ruby
faitswulff has quit [Remote host closed the connection]
Guest23176 has quit [Ping timeout: 276 seconds]
Creatornator has joined #ruby
t0xik has joined #ruby
\void has joined #ruby
darkhanb has joined #ruby
za1b1tsu has joined #ruby
torbo has left #ruby ["ERC (IRC client for Emacs 26.1)"]
apeiros has joined #ruby
apeiros has quit [Ping timeout: 260 seconds]
apeiros has joined #ruby
Guest23176 has joined #ruby
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
knight33 has quit [Ping timeout: 260 seconds]
apeiros has quit [Ping timeout: 244 seconds]
sspreitz has quit [Ping timeout: 240 seconds]
sspreitz has joined #ruby
braincrash has quit [Quit: bye bye]
thy0 has quit [Quit: TTFN]
Guest23176 has quit [Ping timeout: 272 seconds]
braincrash has joined #ruby
mroutis has joined #ruby
arescorpio has quit [Quit: Leaving.]
akaiiro has joined #ruby
apeiros has joined #ruby
apeiros has quit [Ping timeout: 256 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest23176 has joined #ruby
apeiros has joined #ruby
DarthGandalf has quit [Quit: Bye]
DarthGandalf has joined #ruby
apeiros has quit [Ping timeout: 276 seconds]
Guest23176 has quit [Ping timeout: 272 seconds]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sparch__ has joined #ruby
apeiros has joined #ruby
sparch has quit [Ping timeout: 240 seconds]
apeiros has quit [Ping timeout: 272 seconds]
_whitelogger has joined #ruby
donofrio has quit [Remote host closed the connection]
mroutis has quit [Ping timeout: 260 seconds]
apeiros has joined #ruby
Guest23176 has joined #ruby
cadillac_ has quit [Ping timeout: 244 seconds]
apeiros has quit [Ping timeout: 256 seconds]
cadillac_ has joined #ruby
Creatornator has joined #ruby
apeiros has joined #ruby
Guest23176 has quit [Ping timeout: 244 seconds]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jidar> [0-9\.]+
<jidar> ... hours old!
apeiros has quit [Ping timeout: 272 seconds]
cadillac_ has quit [Ping timeout: 256 seconds]
connor_goodwolf has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
connor_goodwolf has joined #ruby
pabs has joined #ruby
Guest23176 has joined #ruby
dbz has joined #ruby
apeiros has joined #ruby
Tempesta has quit [Read error: Connection reset by peer]
Tempesta has joined #ruby
dbz has quit [Ping timeout: 256 seconds]
\void has quit [Quit: So long, and thanks for all the fish.]
Guest23176 has quit [Ping timeout: 256 seconds]
apeiros has quit [Ping timeout: 276 seconds]
Guest23176 has joined #ruby
dellavg has joined #ruby
SeepingN has joined #ruby
apeiros has joined #ruby
Guest23176 has quit [Ping timeout: 256 seconds]
apeiros has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
apeiros has joined #ruby
dbz has joined #ruby
sauvin has joined #ruby
Inline has quit [Quit: Leaving]
gigetoo has quit [Ping timeout: 272 seconds]
funnel has quit [Ping timeout: 256 seconds]
dviola has quit [Quit: WeeChat 2.2]
funnel has joined #ruby
apeiros has quit [Remote host closed the connection]
eblip has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
dionysus69 has joined #ruby
Guest23176 has joined #ruby
eb0t has quit [Ping timeout: 272 seconds]
reber has joined #ruby
eb0t has joined #ruby
eblip has joined #ruby
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
aupadhye_ has joined #ruby
cjkinni has quit [Ping timeout: 244 seconds]
Guest23176 has quit [Ping timeout: 276 seconds]
Freshnuts has joined #ruby
dbz has quit [Remote host closed the connection]
redlegion has quit [Remote host closed the connection]
redlegion has joined #ruby
Guest23176 has joined #ruby
<kke> klass1 = Class.new { FOO = :bar }; klass2 = Class.new { FOO = :bar } <-- this gives "warning: already initialized constant FOO". can't anonymous classes have private constants?
<kke> and by "private" i mean "their own"
yohji has joined #ruby
ikbenhet has joined #ruby
ikbenhet has quit [Client Quit]
clemens3 has joined #ruby
Guest23176 has quit [Ping timeout: 268 seconds]
dbz has joined #ruby
<Radar> kke: that code defines a top level constant called FOO twice.
<Radar> you might think that klass1::FOO would work, but it does not.
<Radar> can I ask: why are you defining classes like this?
kerunaru has joined #ruby
TomyWork has joined #ruby
dbz has quit [Ping timeout: 276 seconds]
dbz has joined #ruby
Burgestrand has joined #ruby
dbz has quit [Remote host closed the connection]
Bish has joined #ruby
<Bish> what would i use if i use ruby only to invoke a script?
<Bish> system("") ?
<Bish> i want to run unicorn from ruby.. (because i can calculate the paths only in ruby)
<Burgestrand> Bish exec, I'd say
<Burgestrand> Bish it replaces the currently running process with the one invoked
<Bish> that sounds good
<Bish> who in the heck came up with that config.ru shit it sucks balls
<Bish> anyone else hates it?
postmodern has quit [Quit: Leaving]
ferhaty has joined #ruby
mikecmpbll has joined #ruby
Guest23176 has joined #ruby
ferhaty has quit [Max SendQ exceeded]
DTZUZO has quit [Ping timeout: 272 seconds]
hahuang65_ has joined #ruby
hahuang65 has quit [Ping timeout: 265 seconds]
<kke> radar: dynamic loading of stuff with a light DSL, something like `Addon.describe "addon_name" { def execute { } }`. I think i need to do something fancier than `Class.new(AddonBase, &block)` to allow them to have their own constants :(
ikbenhet has joined #ruby
Caius has quit [Ping timeout: 240 seconds]
Dbugger has joined #ruby
Caius has joined #ruby
Guest23176 has quit [Ping timeout: 276 seconds]
Guest23176 has joined #ruby
<kke> maybe: `klass = Class.new(AddonBase); Addons.const_set(klassify(name), klass); klass.class_exec(&block)`
Dbugger has quit [Remote host closed the connection]
<kke> hey i think it worked
nikivi has joined #ruby
Zaab1t has joined #ruby
Burgestrand has quit [Quit: Closing time!]
<kke> no it did not.
venmx has joined #ruby
Burgestrand has joined #ruby
tty has joined #ruby
<kke> maybe i can trick the block binding
teclator has joined #ruby
KidSk8 has quit [Ping timeout: 268 seconds]
discopatrick has joined #ruby
Burgestrand has quit [Quit: Closing time!]
drale2k_ has joined #ruby
rindolf has joined #ruby
<rindolf> Hi all! Please help with http://paste.debian.net/1038710/
Zaab1t has quit [Quit: Zaab1t]
<rindolf> i cannot find bigdecimal even tho it is installed
Burgestrand has joined #ruby
Beams has joined #ruby
nowhere_man has joined #ruby
<kke> rindolf: when using bundle, you can't use any gems that are not listed in the gemfile. so if you `gem install bigdecimal` and then do `bundle exec bin/validate`, it doesn't see the bigdecimal because it's not listed in the gemfile.
<rindolf> kke: ok
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
<rindolf> kke: thanks
<kke> Bish: yes, config.ru and ball sucking are things that constantly appear together. "rackup" joins in occasionally.
t0xik has quit [Quit: Connection closed for inactivity]
Dbugger has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
tristanp has joined #ruby
tristanp has quit [Ping timeout: 272 seconds]
tty has quit [Quit: tty]
t0xik has joined #ruby
tty has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
t0xik is now known as t0x
Freshnuts has quit [Quit: Leaving]
yohji has quit [Ping timeout: 244 seconds]
rindolf has quit [Quit: http://www.shlomifish.org/ ; Yay! I'm a llama again.]
drale2k_ has joined #ruby
Bish has quit [Read error: No route to host]
venmx has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
Sina has joined #ruby
yohji has joined #ruby
rindolf has joined #ruby
<rindolf> hi all
<livcd> hey
yohji has quit [Remote host closed the connection]
yohji has joined #ruby
<kke> hmm do i have to use some sort of ruby2ruby thing then. or somehow try to snatch the source using block.source_location and class_eval that as a string
<kke> no, can't use the block at all
Burgestrand has quit [Quit: Closing time!]
apeiros has joined #ruby
tristanp has joined #ruby
tristanp has quit [Ping timeout: 256 seconds]
_whitelogger has joined #ruby
venmx has quit [Ping timeout: 265 seconds]
jhass has quit [Quit: Bye]
jhass has joined #ruby
donofrio has joined #ruby
Technaton has quit [Quit: ZNC 1.7.0 - https://znc.in]
kapil___ has joined #ruby
ikbenhet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SuperTux88 has quit [Ping timeout: 245 seconds]
Zarthus has quit [Ping timeout: 256 seconds]
Zarthus has joined #ruby
SuperTux88 has joined #ruby
GodFather has joined #ruby
ikbenhet has joined #ruby
venmx has joined #ruby
alex`` has joined #ruby
alex`` has quit [Client Quit]
alex`` has joined #ruby
Burgestrand has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has quit [Ping timeout: 240 seconds]
apparition has joined #ruby
drale2k_ has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
AJA4350 has joined #ruby
GodFather has joined #ruby
ujjain has quit [Ping timeout: 268 seconds]
shadeslayer has quit [Ping timeout: 260 seconds]
kloeri has quit [Ping timeout: 610 seconds]
alex`` has quit [Quit: WeeChat 2.2]
shadeslayer has joined #ruby
DTZUZO has joined #ruby
masterasia has quit [Read error: Connection reset by peer]
ujjain has joined #ruby
peacetreaty has joined #ruby
<peacetreaty> hi
faitswulff has joined #ruby
nowhere_man has joined #ruby
<apeiros> hi peacetreaty
<livcd> i apeiros
<peacetreaty> I wrote a gem that offers bindings for the linux statx() systemcall. I used and modified a lot of code of the File::Stat-Class(ruby-core/file.c). can anybody help me out with some questions about the licensing?
onizu has joined #ruby
<apeiros> :-/
<onizu> hello
<apeiros> IANAL
<onizu> Does anyone work with sketchup ruby?
<livcd> Anyone tried imba ?
<livcd> I never got into coffeescript but imba looks nice
t0x has quit [Quit: Connection closed for inactivity]
thy0 has joined #ruby
Zaab1t has joined #ruby
kloeri has joined #ruby
jottr has joined #ruby
faitswulff has quit [Remote host closed the connection]
beefjoe has joined #ruby
<rindolf> peacetreaty: hi
<peacetreaty> hi
<rindolf> peacetreaty: https://github.com/ruby/ruby/blob/trunk/file.c - no licence here
<peacetreaty> i saw that. that's why i am asking
beefjoe has quit [Remote host closed the connection]
<peacetreaty> do you think that i am good if i just mention in my copyright-disclaimer that parts of my code are from file.c?
Zaab1t has quit [Quit: Zaab1t]
<peacetreaty> in the file COPYING, i found out that ruby is copyrighted BSDL. so i guess that file.c might also be under BSDL
ens has quit [Ping timeout: 256 seconds]
Creatornator has joined #ruby
onizu has quit [Quit: leaving]
cadillac_ has quit [Ping timeout: 240 seconds]
thy0_ has joined #ruby
thy0 has quit [Ping timeout: 256 seconds]
cadillac_ has joined #ruby
Burgestrand has quit [Quit: Closing time!]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kapil___ has quit [Quit: Connection closed for inactivity]
clemens3 has quit [Remote host closed the connection]
<ineb> peacetreaty: i think you are right
venmx has quit [Ping timeout: 244 seconds]
maasha has joined #ruby
drale2k_ has joined #ruby
<maasha> Howdy, how do you freeze a docstring? MYDOCST = <<FOO; blabla; FOO ?
g- has joined #ruby
dellavg has quit [Ping timeout: 276 seconds]
<apeiros> maasha: the string literal ends after the <<FOO
<apeiros> so: foo = <<FOO.freeze\nyourtext\nFOO
<maasha> apeiros: gotit
venmx has joined #ruby
kevinsjoberg has joined #ruby
kerunaru has quit [Quit: leaving]
krawchyk has joined #ruby
ikbenhet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dellavg has joined #ruby
krawchyk has quit [Client Quit]
GodFather has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
krawchyk has joined #ruby
ikbenhet has joined #ruby
bmurt has joined #ruby
orbyt_ has quit [Ping timeout: 244 seconds]
Alina-malina has quit [Ping timeout: 276 seconds]
bswinnerton has joined #ruby
cadillac_ has quit [Ping timeout: 256 seconds]
krawchyk has quit [Quit: krawchyk]
faitswulff has joined #ruby
krawchyk has joined #ruby
clemens3 has joined #ruby
Burgestrand has joined #ruby
faitswulff has quit [Remote host closed the connection]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
faitswulff has joined #ruby
Rapture has joined #ruby
Creatornator has joined #ruby
ikbenhet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ikbenhet has joined #ruby
Inline has joined #ruby
faitswulff has quit [Remote host closed the connection]
[Butch] has joined #ruby
mynameisdebian has joined #ruby
IanMalcolm has joined #ruby
faitswulff has joined #ruby
apparition has quit [Quit: Bye]
mynameisdebian has quit [Remote host closed the connection]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
rippa has joined #ruby
krawchyk has quit [Quit: krawchyk]
alex`` has joined #ruby
alex`` has quit [Client Quit]
aupadhye_ has quit [Ping timeout: 272 seconds]
alex`` has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
krawchyk has joined #ruby
krawchyk has quit [Client Quit]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has quit [Quit: Closing time!]
IanMalcolm has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
polishdub has joined #ruby
mroutis has joined #ruby
drale2k_ has joined #ruby
arekushi has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
dionysus69 has joined #ruby
TheBloke- has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
Tempesta has quit [Read error: Connection reset by peer]
irick has quit [Ping timeout: 256 seconds]
pavelz has quit [Ping timeout: 256 seconds]
TheBloke has quit [Ping timeout: 256 seconds]
mitescugd has quit [Ping timeout: 256 seconds]
irick has joined #ruby
ikbenhet has quit [Quit: Textual IRC Client: www.textualapp.com]
clemens3 has quit [Ping timeout: 268 seconds]
Scient has quit [Ping timeout: 260 seconds]
Guest2908 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Scient has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
sonOfRa has quit [Remote host closed the connection]
sonOfRa has joined #ruby
mroutis has quit [Remote host closed the connection]
yohji has quit [Remote host closed the connection]
faitswulff has quit [Remote host closed the connection]
kapil___ has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta1 has joined #ruby
jcarl43 has joined #ruby
jcarl43 has quit [Client Quit]
jcarl43 has joined #ruby
darkhanb has joined #ruby
bmurt has joined #ruby
conta1 has quit [Quit: conta1]
conta1 has joined #ruby
teej has joined #ruby
Mike11 has joined #ruby
Beams has quit [Quit: .]
gigetoo has quit [Ping timeout: 268 seconds]
drale2k_ has quit [Read error: Connection reset by peer]
dviola has joined #ruby
freedrull has quit [Ping timeout: 256 seconds]
Fr4n has joined #ruby
maasha has quit [Ping timeout: 252 seconds]
Ober has quit [Quit: Emacs must have died]
alex`` has quit [Quit: WeeChat 2.2]
mikecmpbll has quit [Ping timeout: 256 seconds]
r29v has joined #ruby
druonysus has joined #ruby
orbyt_ has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
IanMalcolm has joined #ruby
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
[Butch] has joined #ruby
Guest2908 is now known as nikivi
Guest23176 has quit [Ping timeout: 276 seconds]
apeiros has joined #ruby
Guest23176 has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
dionysus70 is now known as dionysus69
mroutis has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
Creatornator has joined #ruby
nikivi has quit [Quit: ZNC is awesome]
nikivi has joined #ruby
conta1 has quit [Quit: conta1]
Guest23176 has quit [Ping timeout: 276 seconds]
Guest23176 has joined #ruby
eckhardt has joined #ruby
wild_buffalo has joined #ruby
TomyWork has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wild_buffalo has quit [Ping timeout: 265 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
guest5645616 has joined #ruby
guest5645616 has quit [Client Quit]
Guest23176 has quit [Ping timeout: 260 seconds]
Guest23176 has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
nowhere_man has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mynameisdebian has joined #ruby
Guest23176 has quit [Ping timeout: 240 seconds]
Guest23176 has joined #ruby
alex`` has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
oz has quit [Quit: EOF]
oz has joined #ruby
Yxhuvud has joined #ruby
lazyatom has joined #ruby
gothicsouth has joined #ruby
Alina-malina has joined #ruby
APK is now known as AKPWD
lomex has joined #ruby
Guest23176 has quit [Ping timeout: 276 seconds]
dellavg has quit [Ping timeout: 272 seconds]
Sina has quit [Quit: Connection closed for inactivity]
dellavg has joined #ruby
sauvin has quit [Remote host closed the connection]
bmurt has joined #ruby
cthulchu_ has quit [Read error: Connection reset by peer]
eckhardt has joined #ruby
sparch__ is now known as sparch
ged has quit [*.net *.split]
rjungemann has quit [*.net *.split]
ghormoon has quit [*.net *.split]
David_H_Smith has quit [*.net *.split]
s3krit has quit [*.net *.split]
vdl has quit [*.net *.split]
sparr has quit [*.net *.split]
agrecascino has quit [*.net *.split]
scott4000 has quit [*.net *.split]
vqrs has quit [*.net *.split]
discopatrick has quit [Quit: Connection closed for inactivity]
agrecascino has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
ghormoon has joined #ruby
brodul has quit [*.net *.split]
d1rewolf has quit [*.net *.split]
shenghi has quit [*.net *.split]
bathtub_shark has quit [*.net *.split]
S007 has quit [*.net *.split]
Flonk has quit [*.net *.split]
shoogz has quit [*.net *.split]
DarkUnicorn has quit [*.net *.split]
rann has quit [*.net *.split]
mkroman has quit [*.net *.split]
JoL1hAHN has quit [*.net *.split]
aarongodin has quit [*.net *.split]
Lloyd has quit [*.net *.split]
Seich has quit [*.net *.split]
jokester has quit [*.net *.split]
leonthemisfit has quit [*.net *.split]
gremax has quit [*.net *.split]
bheesham has quit [*.net *.split]
quuxman has quit [*.net *.split]
brodul has joined #ruby
Seich has joined #ruby
justinmrkva has quit [Ping timeout: 240 seconds]
Scient has quit [Ping timeout: 260 seconds]
Lloyd has joined #ruby
leonthemisfit has joined #ruby
S007 has joined #ruby
shoogz has joined #ruby
vqrs has joined #ruby
jokester has joined #ruby
Flonk has joined #ruby
justinmrkva has joined #ruby
jokester is now known as Guest32721
Scient has joined #ruby
gremax has joined #ruby
Guest23176 has joined #ruby
za1b1tsu has quit [Read error: Connection reset by peer]
za1b1tsu has joined #ruby
Guest23176 has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
Guest23176 has joined #ruby
apeiros has joined #ruby
Dark_Arc has quit [Ping timeout: 260 seconds]
cthulchu has joined #ruby
apeiros has quit [Ping timeout: 264 seconds]
Dark_Arc has joined #ruby
ivanskie has joined #ruby
gigetoo has joined #ruby
IanMalcolm has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Guest23176 has quit [Ping timeout: 255 seconds]
venmx has joined #ruby
mkroman has joined #ruby
orbyt_ has quit [Ping timeout: 276 seconds]
SeepingN has joined #ruby
Creatornator has joined #ruby
mikecmpbll has joined #ruby
Dbugger has quit [Ping timeout: 255 seconds]
ArahaelPi has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
apeiros has quit [Remote host closed the connection]
sameerynho has joined #ruby
apeiros has joined #ruby
spiette has quit [Quit: ZNC 1.7.1 - https://znc.in]
Nicmavr has quit [Read error: Connection reset by peer]
krasnus has quit [*.net *.split]
heyimwill has quit [*.net *.split]
mahlon has quit [*.net *.split]
creat has quit [*.net *.split]
quarters has quit [*.net *.split]
hsiktas has quit [*.net *.split]
cstrahan_ has quit [*.net *.split]
surminus has quit [*.net *.split]
bcavileer has quit [*.net *.split]
Brak____________ has quit [*.net *.split]
EvilJStoker has quit [*.net *.split]
baweaver has quit [*.net *.split]
Muz has quit [*.net *.split]
chihhsin has quit [*.net *.split]
EvilJStoker has joined #ruby
creat has joined #ruby
spiette has joined #ruby
Nicmavr has joined #ruby
yokel has joined #ruby
krasnus has joined #ruby
jp has quit [*.net *.split]
xMopx has quit [*.net *.split]
z3uS has quit [*.net *.split]
vircung has quit [*.net *.split]
Liothen has quit [*.net *.split]
mniip has quit [*.net *.split]
Tharbakim has quit [*.net *.split]
Neptu has quit [*.net *.split]
tw1sted has quit [*.net *.split]
linduxed has quit [*.net *.split]
ljarvis has quit [*.net *.split]
z4phod has quit [*.net *.split]
genta0 has quit [*.net *.split]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mike11> Hello all
mniip has joined #ruby
z3uS has joined #ruby
<Mike11> What is the best way to check if a Pathname is child of another one?
dionysus69 has quit [Ping timeout: 272 seconds]
Neptu has joined #ruby
Tharbakim has joined #ruby
arooni has quit [Excess Flood]
jottr has quit [Ping timeout: 260 seconds]
jp has joined #ruby
dbz has joined #ruby
xMopx has joined #ruby
vircung has joined #ruby
wnd has quit [Ping timeout: 256 seconds]
zipkid has quit [Ping timeout: 256 seconds]
Apocalypse has quit [Ping timeout: 256 seconds]
bauruine has quit [Ping timeout: 256 seconds]
bove has quit [Ping timeout: 256 seconds]
wnd has joined #ruby
strmpnk has quit [Ping timeout: 256 seconds]
lypsis has quit [Ping timeout: 256 seconds]
arekushi has quit [Ping timeout: 256 seconds]
jtperreault has quit [Ping timeout: 256 seconds]
SolarAquarion has quit [Ping timeout: 256 seconds]
arooni has joined #ruby
dbz has quit [Remote host closed the connection]
chihhsin has joined #ruby
Liothen has joined #ruby
dbz has joined #ruby
zipkid has joined #ruby
bove has joined #ruby
strmpnk has joined #ruby
bmurt has joined #ruby
<peacetreaty> Mike11 maybe File.fnmatch
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
SolarAquarion has joined #ruby
lypsis has joined #ruby
Guest23176 has joined #ruby
<darix> peacetreaty: uhm
<darix> why not full_path.start_with? dirname
<darix> maybe run File.expand_path on both before
Apocalypse has joined #ruby
<darix> Mike11: or do you only care about direct parent relationship?
<Mike11> darix: no, I consider my pathname to be a child even if it is in a sub-directory
<darix> '/etc/sysconfig/kernel'.start_with? '/etc'
<darix> >>> '/etc/sysconfig/kernel'.start_with? '/etc'
<darix> so the bot napping again?
RedNifre has joined #ruby
<RedNifre> Good evening.
<darix> >>>> '/etc/sysconfig/kernel'.start_with? '/etc'
<darix> hm
bauruine has joined #ruby
<darix> apeiros: ?
<RedNifre> What's the simplest way to send a tweet from a script?
<darix> RedNifre: a ruby twitter library
dbz has quit [Remote host closed the connection]
<RedNifre> darix I looked at those, they look pretty heavy weight... I just want to send tweets, nothing more... so there is no simpler way than to get one of those huge libraries?
dbz has joined #ruby
<Mike11> darix: I think that an expand_path followed by start_with? is good enough for me
<Mike11> thanks darix peacetreaty :)
<RedNifre> oh well, heavy twitter gem it is then.
<darix> RedNifre: well you need to handle oauth and all the jazz :)
<RedNifre> hm, I guess once you handled oauth and all that, just doing a "you can send tweets" library with that feels like wasted work :)
mynameisdebian has joined #ruby
mniip has quit [Ping timeout: 608 seconds]
heyimwill has joined #ruby
jtperreault has joined #ruby
Guest23176 has quit [Ping timeout: 272 seconds]
mynameisdebian has quit [Remote host closed the connection]
Mike11 has quit [Quit: Leaving.]
dbz has quit [Remote host closed the connection]
<lazyatom> Hey folks -- if you've been meaning to check out Mastodon, I've just set up an instance especially for us: https://ruby.social
dbz has joined #ruby
r29v has quit [Quit: r29v]
elomatreb_ has joined #ruby
MuffinPimp_ has joined #ruby
ghoti_ has joined #ruby
tfitts_ has joined #ruby
argoneus_ has joined #ruby
funnel_ has joined #ruby
mynameisdebian has joined #ruby
irick has quit [*.net *.split]
peacetreaty has quit [*.net *.split]
funnel has quit [*.net *.split]
priodev has quit [*.net *.split]
elomatreb has quit [*.net *.split]
MuffinPimp has quit [*.net *.split]
jackrandom has quit [*.net *.split]
tfitts has quit [*.net *.split]
argoneus has quit [*.net *.split]
go|dfish has quit [*.net *.split]
syndikate has quit [*.net *.split]
Junaos has quit [*.net *.split]
ghoti has quit [*.net *.split]
livcd has quit [*.net *.split]
woodruffw has quit [*.net *.split]
MuffinPimp_ is now known as MuffinPimp
tfitts_ is now known as tfitts
kevinsjoberg has quit [Ping timeout: 272 seconds]
funnel_ is now known as funnel
woodruffw has joined #ruby
rindolf has quit [Ping timeout: 265 seconds]
syndikate has joined #ruby
reber has quit [Remote host closed the connection]
mensvaga has quit [Quit: Leaving.]
<apeiros> hi darix. what's up?
mynameisdebian has quit [Ping timeout: 244 seconds]
<apeiros> >> "test"
<ruby[bot]> apeiros: # => "test" (https://eval.in/1049625)
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
tty has quit [Read error: Connection reset by peer]
go|dfish has joined #ruby
tty has joined #ruby
elomatreb_ is now known as elomatreb
RedNifre has quit [Ping timeout: 252 seconds]
Guest23176 has joined #ruby
hsiktas has joined #ruby
t0x has joined #ruby
RedNifre has joined #ruby
mynameisdebian has joined #ruby
r29v has joined #ruby
mniip has joined #ruby
Junaos has joined #ruby
Guest23176 has quit [Ping timeout: 252 seconds]
Guest23176 has joined #ruby
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
teej has quit [Quit: Connection closed for inactivity]
ivanskie has quit [Quit: Textual IRC Client: www.textualapp.com]
code_zombie has joined #ruby
mynameisdebian has quit [Quit: Leaving]
dellavg has quit [Ping timeout: 268 seconds]
druonysus has quit [Read error: Connection reset by peer]
kerunaru has joined #ruby
Guest23176 has quit [Ping timeout: 268 seconds]
snickers has joined #ruby
kerunaru has quit [Ping timeout: 260 seconds]
dbz has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has joined #ruby
dbz has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
scott4000 has joined #ruby
alex`` has quit [Quit: WeeChat 2.2]
dbz has quit [Remote host closed the connection]
jcarl43 has quit [Quit: WeeChat 2.2]
Guest23176 has joined #ruby
dbz has joined #ruby
dbz has quit [Remote host closed the connection]
jcarl43 has joined #ruby
dbz has joined #ruby
nikivi has quit [Quit: ZNC is awesome]
dbz has quit [Remote host closed the connection]
moei has quit [Quit: Leaving...]
<mjacob> is there a way to set a breakpoint in the debugger for every time a object of a specific class was allocated?
sameerynho has quit [Ping timeout: 240 seconds]
jcarl43 has quit [Ping timeout: 268 seconds]
Guest23176 has quit [Ping timeout: 252 seconds]
Guest23176 has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
dbz has joined #ruby
Creatornator has joined #ruby
sameerynho has joined #ruby
Guest23176 has quit [Ping timeout: 252 seconds]
Guest23176 has joined #ruby
polishdub has quit [Remote host closed the connection]
sameerynho has quit [Ping timeout: 252 seconds]
dbz has quit [Read error: Connection reset by peer]
dbz has joined #ruby
dbz has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: inabit. zz.]
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yokel has quit [Ping timeout: 252 seconds]
Guest23176 has quit [Ping timeout: 252 seconds]
code_zombie has quit [Quit: Leaving]
Guest23176 has joined #ruby
<havenwood> mjacob: what debugger?
za1b1tsu has quit [Ping timeout: 255 seconds]
<havenwood> mjacob: You can use TracePoint to do that sort of thing.
moei has joined #ruby
<havenwood> mjacob: Here's an example that warns whenever a new Mushroom is instantiated: https://gist.github.com/havenwood/3775688dd3368824ddcd50ca9d88b446
<mjacob> havenwood: i'm usually using pry, but would be fine using another tool
<havenwood> mjacob: Replace `warn 'OMGWTFBBQ'` in my ^ example with `binding.pry`.
<havenwood> mjacob: And Mushroom with your class name. :-)
<mjacob> havenwood: would it work with "trace.method_id == :instantiate"?
<havenwood> mjacob: Yes, one of those will follow each :new.
<havenwood> mjacob: #<TracePoint:c_call `new'...> followed by #<TracePoint:c_call `initialize'...>
TheBloke- has quit [Ping timeout: 240 seconds]
<havenwood> mjacob: But :initialize, not :instantiate.
<havenwood> mjacob: And then it's an instance of Mushroom, not the Class Mushroom. But you can do it for whatever receiver and method you'd like.
<mjacob> havenwood: sorry, i'm a bit confused about all the different ways of instantiating an object. ;) my problem is that activerecord creates objects in a way that 'initialize' is not called
IanMalcolm has joined #ruby
<mjacob> ah, i think it's the 'allocate' method
<havenwood> mjacob: Ahh.
<havenwood> mjacob: Is allocate an instance or class method?
<havenwood> I think it's a class method, but I can't recall.
<havenwood> mjacob: if it was an instance method: binding.pry if trace.self.instance_of?(Mushroom) && trace.method_id == :allocate
<havenwood> mjacob: or i think it's a class method: binding.pry if trace.self == Mushroom && trace.method_id == :allocate
Guest23176 has quit [Ping timeout: 240 seconds]
<mjacob> yes, activerecord calls klass.allocate, so it should be a class method
Guest23176 has joined #ruby
<havenwood> mjacob: Or maybe just alias :allocate to :old_allocate and define and :allocate method with a binding.pry.
<havenwood> mjacob: Or subclass and use super. Or the observer pattern.
<mjacob> i'll try it tomorrow, in any case thank you for pointing me to TracePoint
<havenwood> mjacob: If it's just debugging, I'd personally probably alias and redefine allocate with a binding.pry.
<havenwood> mjacob: No prob!
<havenwood> super; binding.pry
FernandoBasso has joined #ruby
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TheBloke has joined #ruby
lazyatom has quit [Quit: Connection closed for inactivity]
druonysus has joined #ruby
r29v has quit [Quit: r29v]
TheBloke has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
IanMalcolm has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Guest23176 has quit [Ping timeout: 260 seconds]
ziggylazer has joined #ruby
r29v has joined #ruby
r29v has quit [Client Quit]
nofxx_ has joined #ruby
arooni has quit [Excess Flood]
nofxx has quit [Read error: Connection reset by peer]
za1b1tsu has joined #ruby
arooni has joined #ruby
za1b1tsu has quit [Ping timeout: 268 seconds]
herbmillerjr has joined #ruby
s2013 has joined #ruby
TheBloke has joined #ruby
dbz has joined #ruby
t0x has quit [Quit: Connection closed for inactivity]
Guest23176 has joined #ruby
apeiros has quit []
r29v has joined #ruby
hahuang65_ has quit [Read error: Connection reset by peer]
Guest23176 has quit [Ping timeout: 240 seconds]
Guest23176 has joined #ruby
eblip is now known as eb0t_
JoshS has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
weaksauce has quit [Read error: Connection reset by peer]
mrush has joined #ruby
nofxx_ has quit [Remote host closed the connection]
nofxx_ has joined #ruby
NightMonkey has quit [Ping timeout: 276 seconds]
Guest23176 has quit [Ping timeout: 272 seconds]
NightMonkey has joined #ruby
Guest23176 has joined #ruby
Creatornator has joined #ruby
vondruch has joined #ruby
dbz has quit [Remote host closed the connection]
dbz has joined #ruby