havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.5, 2.5.7, 2.7.0-preview3: 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!
wildtrees has joined #ruby
Nahra has quit [Quit: leaving]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
TomyLobo has quit [Read error: Connection reset by peer]
RiPuk has quit [Remote host closed the connection]
RiPuk has joined #ruby
Mia has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 245 seconds]
thebetra1 has quit [Ping timeout: 250 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
drincruz has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
harai has joined #ruby
spacesuitdiver has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
drincruz has quit [Ping timeout: 252 seconds]
ur5us has quit [Read error: Connection reset by peer]
jottr has joined #ruby
ur5us has joined #ruby
davidw has joined #ruby
poontangmessiah has quit [Quit: Leaving]
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4350 has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
rainmanjam has quit []
jottr has joined #ruby
brool has quit [Ping timeout: 276 seconds]
thebetra1 has joined #ruby
jottr has quit [Ping timeout: 268 seconds]
thebetra1 has quit [Ping timeout: 276 seconds]
spacesuitdiver has joined #ruby
cxl has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
mgraf has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 246 seconds]
Retr0Punk has quit [Quit: ZNC 1.7.3 - https://znc.in]
drincruz has joined #ruby
cxl has joined #ruby
jottr has joined #ruby
AJA4351 has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
jenrzzz has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
drincruz has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
drincruz has joined #ruby
akemhp_ has joined #ruby
akemhp has quit [Ping timeout: 265 seconds]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has joined #ruby
orbyt_ has joined #ruby
mgraf has quit [Ping timeout: 245 seconds]
krawchyk has quit [Quit: krawchyk]
Swyper has joined #ruby
NODE has quit [Quit: changing servers]
davidw has quit [Ping timeout: 276 seconds]
cthulchu has quit [Ping timeout: 276 seconds]
NODE has joined #ruby
Emmanuel_Chanel has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
grilix has quit [Ping timeout: 276 seconds]
Swyper has quit []
greengriminal has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
zlogan has quit [Read error: Connection reset by peer]
zlogan has joined #ruby
AJA4350 has joined #ruby
serene2 has joined #ruby
drincruz has quit [Ping timeout: 268 seconds]
drincruz has joined #ruby
serene2 has quit [Quit: Leaving]
jottr has joined #ruby
misterwhatever has quit [Quit: misterwhatever]
whathappens has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 240 seconds]
kapil_ has joined #ruby
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4350 has joined #ruby
AJA4351 has joined #ruby
akemhp has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
whathappens has joined #ruby
jottr has joined #ruby
akemhp_ has quit [Ping timeout: 268 seconds]
akemhp_ has joined #ruby
AJA4351 has joined #ruby
akemhp has quit [Ping timeout: 265 seconds]
AJA4350 has quit [Ping timeout: 265 seconds]
whathappens has quit [Ping timeout: 265 seconds]
jottr has quit [Ping timeout: 240 seconds]
akemhp has joined #ruby
AJA4350 has joined #ruby
AJA4351 has quit [Ping timeout: 246 seconds]
akemhp_ has quit [Ping timeout: 265 seconds]
akemhp_ has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 has joined #ruby
akemhp has quit [Ping timeout: 240 seconds]
greengriminal has quit [Quit: Leaving]
greengriminal has joined #ruby
AJA4351 is now known as AJA4350
howdoi has quit [Quit: Connection closed for inactivity]
jottr has joined #ruby
AJA4351 has joined #ruby
AJA4351 is now known as AJA4350
AJA4350 has quit [Ping timeout: 240 seconds]
renich has joined #ruby
AJA4351 has joined #ruby
wildtrees has quit [Quit: Leaving]
mynameisdebian has quit [Ping timeout: 265 seconds]
AJA4351 has quit [Ping timeout: 276 seconds]
jottr has quit [Ping timeout: 265 seconds]
RiPuk has quit [Ping timeout: 250 seconds]
jottr has joined #ruby
jenrzzz has joined #ruby
thebetra1 has joined #ruby
jottr has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thebetra1 has quit [Ping timeout: 276 seconds]
jottr has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
jottr has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
whathappens has joined #ruby
paprika has joined #ruby
paprika has quit [Remote host closed the connection]
whathappens has quit [Ping timeout: 276 seconds]
alfiemax has joined #ruby
AJA4350 has quit [Quit: AJA4350]
jottr has quit [Ping timeout: 276 seconds]
cd has quit [Quit: cd]
dev-rfc83 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
greengriminal has joined #ruby
zlogan has quit [Ping timeout: 276 seconds]
jottr has joined #ruby
greengriminal has quit [Client Quit]
greengriminal has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
paprika has joined #ruby
paprika has quit [Client Quit]
paprika has joined #ruby
paprika has quit [Client Quit]
Retr0Punk has joined #ruby
brool has joined #ruby
jottr has joined #ruby
renich_ has joined #ruby
renich has quit [Ping timeout: 265 seconds]
gix- has joined #ruby
gix has quit [Disconnected by services]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spacesuitdiver has joined #ruby
jottr has quit [Ping timeout: 268 seconds]
skx86 has joined #ruby
jottr has joined #ruby
spacesuitdiver has quit [Quit: Textual IRC Client: www.textualapp.com]
jottr has quit [Ping timeout: 268 seconds]
ur5us has quit [Ping timeout: 250 seconds]
donofrio has quit [Remote host closed the connection]
whathappens has joined #ruby
whathappens has quit [Ping timeout: 245 seconds]
brool has quit [Ping timeout: 245 seconds]
gix- has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
whathappens has joined #ruby
whathappens has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
bitwinery has joined #ruby
bitwinery has quit [Max SendQ exceeded]
bitwinery has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
ur5us has joined #ruby
sagax has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
conta has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
lineus has quit [Ping timeout: 260 seconds]
lineus has joined #ruby
freedom has joined #ruby
dionysus69 has joined #ruby
conta has quit [Remote host closed the connection]
conta has joined #ruby
Inline has quit [Quit: Leaving]
dev-rfc83 has quit [Quit: Bye bye!]
greengriminal has quit [Quit: This computer has gone to sleep]
fromplanetruby has joined #ruby
fromplanetruby has left #ruby [#ruby]
fromplanetruby has joined #ruby
fromplanetruby has quit [Quit: WeeChat 2.6]
jenrzzz has quit [Ping timeout: 276 seconds]
conta has quit [Ping timeout: 265 seconds]
NODE has quit [Quit: changing servers]
conta has joined #ruby
NODE has joined #ruby
fromplanetruby has joined #ruby
conta has quit [Ping timeout: 252 seconds]
fromplanetruby has left #ruby ["WeeChat 2.6"]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
conta has joined #ruby
iNs has quit [Ping timeout: 260 seconds]
iNs has joined #ruby
alfiemax has quit [Remote host closed the connection]
code_zombie has quit [Quit: Leaving]
skx86 has quit [Quit: Connection closed for inactivity]
twb has joined #ruby
<twb> I'm trying to tweak some ruby that was dumped in my lap. I only speak other languages.
<twb> They're doing "current_date = Date.today.at_beginning_of_week" and then later "current_date += 1.day"
NODE has quit [Quit: changing servers]
<twb> So OK, in irb, I can do "require 'date'; Date.today"
<twb> But I can't do "Date.today + 1.day".
<twb> What obvious stupid thing am I doing wrong?
<twb> The error is: NoMethodError (undefined method `day' for 1:Integer)
NODE has joined #ruby
jenrzzz has joined #ruby
NODE has quit [Client Quit]
phaul has quit [Ping timeout: 268 seconds]
<evert> Try using rails c
<twb> Oh ugh, even such a low-level thing is different in rails?
NODE has joined #ruby
<evert> irb is only ruby
dellavg has joined #ruby
<evert> Alot of the date/time magic is rails
<twb> yeah I just didn't expect rails to redefine integers
<twb> I guess I'll put all of rails on my scratch box...
andikr has joined #ruby
NODE has quit [Client Quit]
phaul has joined #ruby
<twb> Argh, I guess "rails console" only works inside an actual rails app working tree
jenrzzz has quit [Ping timeout: 265 seconds]
NODE has joined #ruby
renich has joined #ruby
<twb> Yep OK, "Date.today + 1.day" is working OK inside a sacrificial "rails console"
<twb> thanks
lalitmee has joined #ruby
renich_ has quit [Ping timeout: 252 seconds]
infinityfye has joined #ruby
phaul has quit [Ping timeout: 252 seconds]
alfiemax has joined #ruby
<twb> Does irb / rails console have something like python's help(foo), to just dump whatever info it can introspect about that object?
<twb> Can't see it mentioned in the irb manpage or in irb's initial output when it starts up
<evert> 1.methods
<evert> 1.inspect
DTZUZO has quit [Ping timeout: 240 seconds]
<twb> Righto, those work. Are there docstrings?
phaul has joined #ruby
<twb> It looks like in ruby there's rdoc(1) so it works more like perl and less like lisp
<twb> Oh, no. "perldoc criticism" gives you a manual for the criticism library, but "rdoc Date" seems to read every file in the working tree and try to generate HTML or something
* twb gives up and resorts to a stupid web browser
xall has joined #ruby
phaul has quit [Ping timeout: 268 seconds]
hiroaki has quit [Ping timeout: 276 seconds]
teclator has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
phaul has joined #ruby
phaul has quit [Ping timeout: 268 seconds]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
phaul has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
conta has quit [Read error: Connection reset by peer]
conta has joined #ruby
NODE has quit [Client Quit]
phaul has quit [Ping timeout: 240 seconds]
NODE has joined #ruby
phaul has joined #ruby
fphilipe has quit [Ping timeout: 250 seconds]
ur5us has quit [Ping timeout: 250 seconds]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
NODE has quit [Client Quit]
infinityfye_ has joined #ruby
renich has quit [Ping timeout: 268 seconds]
infinityfye_ has left #ruby [#ruby]
NODE has joined #ruby
infinityfye_ has joined #ruby
infinityfye_ has quit [Remote host closed the connection]
bitwinery has quit [Quit: Leaving]
infinityfye has quit [Ping timeout: 268 seconds]
dithmer has joined #ruby
<dithmer> Hello everybody. I am experiencing a segmentation fault while "require 'mysql2'"-gem on Ubuntu 18.04 with libmysqlclient20 5.7.28 and Ruby 2.3, anybody else?
NODE has quit [Quit: changing servers]
infinityfye has joined #ruby
NODE has joined #ruby
infinityfye has quit [Remote host closed the connection]
Azure has quit [Ping timeout: 276 seconds]
infinityfye has joined #ruby
jottr has joined #ruby
infinityfye has quit [Remote host closed the connection]
schne1der has joined #ruby
infinityfye has joined #ruby
renich has joined #ruby
Intelo has joined #ruby
ur5us has joined #ruby
infinityfye has quit [Quit: Leaving]
infinityfye has joined #ruby
BH23 has joined #ruby
xall has quit [Quit: xall]
infinityfye has quit [Remote host closed the connection]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
fphilipe has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
conta has quit [Ping timeout: 246 seconds]
Mia has joined #ruby
twb has quit [Remote host closed the connection]
conta has joined #ruby
infinityfye has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
chalkmonster has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
lalitmee has quit [Remote host closed the connection]
lalitmee has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
dionysus70 is now known as dionysus69
NODE has quit [Quit: changing servers]
NODE has joined #ruby
lalitmee has quit [Quit: Leaving]
zlogan has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
lxsameer has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
ellcs has joined #ruby
jottr has joined #ruby
Intelo has quit [Ping timeout: 265 seconds]
ur5us has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 252 seconds]
Emmanuel_Chanel has quit [Ping timeout: 265 seconds]
jottr has joined #ruby
lineus has quit [Ping timeout: 260 seconds]
prestorium has joined #ruby
Intelo has joined #ruby
Emmanuel_Chanel has joined #ruby
thebetra1 has joined #ruby
<Bish> if i am writing a software with rubey which has a client/daemon architecture kinda like docker
<Bish> how would you handle the communication between the two?
<Bish> ruby drb via unixsocket?
thebetra1 has quit [Ping timeout: 245 seconds]
<depesz> how to get all classes of an object - including the inherited ones?
<Bish> .class.ancestors
<depesz> thanks
<Bish> thanks for pgtune!
<depesz> pgtune is not mine.
<Bish> i thought i remember your name, bummer
<depesz> explain.depesz.com is mine :)
<Bish> ah, that one
Guest48 has joined #ruby
<Bish> i could've googled that i guess
phaul has quit [Ping timeout: 240 seconds]
phaul has joined #ruby
Guest48 has quit [Ping timeout: 240 seconds]
phaul has quit [Ping timeout: 268 seconds]
phaul has joined #ruby
lineus has joined #ruby
phaul has quit [Ping timeout: 245 seconds]
Intelo has quit [Ping timeout: 265 seconds]
phaul has joined #ruby
jenrzzz has joined #ruby
phaul has quit [Ping timeout: 245 seconds]
Intelo has joined #ruby
phaul has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
cd has joined #ruby
phaul has quit [Ping timeout: 268 seconds]
Technodrome has joined #ruby
phaul has joined #ruby
AJA4350 has joined #ruby
sagax has quit [Ping timeout: 240 seconds]
phaul has quit [Ping timeout: 268 seconds]
zelears has joined #ruby
<zelears> hey
phaul has joined #ruby
infinityfye has quit [Ping timeout: 245 seconds]
infinityfye has joined #ruby
Intelo has quit [Ping timeout: 240 seconds]
phaul has quit [Ping timeout: 265 seconds]
phaul has joined #ruby
zlogan2003 has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
zelears has quit []
alfiemax has quit [Remote host closed the connection]
zlogan has quit [Ping timeout: 276 seconds]
phaul has joined #ruby
alfiemax has joined #ruby
Intelo has joined #ruby
Jonopoly has joined #ruby
phaul has quit [Ping timeout: 268 seconds]
phaul has joined #ruby
suukim has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 252 seconds]
AJA4351 is now known as AJA4350
bvdw has quit [Read error: Connection reset by peer]
phaul has quit [Ping timeout: 265 seconds]
bvdw has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
phaul has joined #ruby
alfiemax has quit [Remote host closed the connection]
phaul has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Ping timeout: 268 seconds]
phaul has joined #ruby
NODE has quit []
Benett has quit [Quit:  ]
Benett has joined #ruby
phaul has quit [Ping timeout: 245 seconds]
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
phaul has joined #ruby
NODE has joined #ruby
AJA4350 has joined #ruby
zlogan2003 has quit [Ping timeout: 276 seconds]
phaul has quit [Ping timeout: 276 seconds]
phaul has joined #ruby
akemhp_ is now known as akem
phaul has quit [Ping timeout: 240 seconds]
grilix has joined #ruby
drincruz has quit [Ping timeout: 268 seconds]
sagax has joined #ruby
phaul has joined #ruby
phaul has quit [Ping timeout: 252 seconds]
phaul has joined #ruby
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4350 has joined #ruby
drincruz has joined #ruby
phaul has quit [Ping timeout: 268 seconds]
phaul has joined #ruby
Mrbuck has joined #ruby
phaul has quit [Ping timeout: 268 seconds]
AJA4351 has joined #ruby
poontangmessiah has joined #ruby
AJA4351 is now known as AJA4350
AJA4350 has quit [Ping timeout: 276 seconds]
phaul has joined #ruby
donofrio has joined #ruby
alfiemax has quit [Remote host closed the connection]
phaul has quit [Ping timeout: 268 seconds]
phaul has joined #ruby
zlogan has joined #ruby
Mrbuck has quit [Remote host closed the connection]
jenrzzz has joined #ruby
alfiemax has joined #ruby
Intelo_ has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
Intelo has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
phaul has joined #ruby
rwb has quit [Ping timeout: 252 seconds]
alfiemax has quit [Remote host closed the connection]
<Bish> does the official array documentation really say
<Bish> size is an alias for length
<Bish> and length is an alias for size
<Bish> ah.. aliased as
phaul has quit [Ping timeout: 245 seconds]
whathappens has joined #ruby
<dionysus69> how do I generate decodable UUID based on string argument?
<dionysus69> so I input lets say 1 and I get "92cfceb3-9d57-5914-ad8b-14d0e37643de" and then I want to get 1 back from this uuid
phaul has joined #ruby
whathappens has quit [Ping timeout: 245 seconds]
GodFather has joined #ruby
<havenwood> dionysus69: You typically don't. You can of course store the uuid to remember it's 1, if that's what you want.
phaul has quit [Ping timeout: 276 seconds]
<Bish> well, butg you COULD design a function that does that
<Bish> NSAs speck comes to my mind
<Bish> no clue how expensive that would be, but you could certainly have a bijective projection of the numbers to a uuid
whathappens has joined #ruby
DTZUZO has joined #ruby
<Bish> no clue if that works with 128bit numbers
phaul has joined #ruby
<Bish> looks like it
<Bish> dionysus69: but WHY?
<Bish> well, i reread your description, speck is what you want, but kinda defeats the purpose of UUID
<dionysus69> Bish yea I don't know we have ids in db, and we wanted to convert them to UUID for export
<dionysus69> but then we wanted also to reverse it so we know which id it corresponds to
<havenwood> dionysus69: It's easy to make a rainbow table from one-way checksums.
<dionysus69> but it's ok we will just use ids I guess xD I don't want to spend too much time on this
<havenwood> &>> require 'digest/sha1'; Digest::SHA1.hexdigest('1')[0..35].tap { |s| s[8] = '-'; s[13] = '-'; s[18] = '-' }
<rubydoc> # => "356a192b-913b-4c54-74d18c28d46e63954" (https://carc.in/#/r/82ow)
<Bish> dionysus69: speck is fine..
<Bish> if you use postgresql that's easy to do
<dionysus69> hmm ok let me check it out
<dionysus69> havenwood: no we dont want to keep extra mapping table
Intelo_ has quit [Quit: Leaving]
Intelo has joined #ruby
<dionysus69> but thanks looks cool xD
<Bish> i used this for an export where the ids should not be predictable for the user, but also are not super imporant
<Bish> oh, but it doesn't support 128bit, as it seems
<havenwood> dionysus69: You can always recreate one at any later point. Also, there are off the shelf mappign tables (rainbow tables).
<Bish> so no uui
whathappens has quit [Ping timeout: 245 seconds]
<dionysus69> yea I think I will just go with some simpler method
<Bish> but you could leave 32bit static
<dionysus69> thanks for help anyway :)
<Bish> dionysus69: https://hashids.org/
<Bish> this is the super easy way
<Bish> not uuid either, but same principal
<havenwood> dionysus69: "00000000-0000-0000-00000000000000001"
<havenwood> :P
Intelo_ has joined #ruby
NODE has quit [Quit: changing servers]
phaul has quit [Ping timeout: 240 seconds]
Intelo has quit [Disconnected by services]
Intelo has joined #ruby
Intelo_ has quit [Client Quit]
NODE has joined #ruby
infinityfye_ has joined #ruby
ammar has joined #ruby
NODE has quit [Client Quit]
AJA4351 has joined #ruby
mikecmpbll has joined #ruby
NODE has joined #ruby
poontangmessiah has quit [Remote host closed the connection]
andikr has quit [Ping timeout: 245 seconds]
mikecmpbll has quit [Remote host closed the connection]
infinityfye has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
andikr has joined #ruby
mikecmpbll has joined #ruby
akemhp_ has joined #ruby
NODE has quit [Quit: changing servers]
akem has quit [Ping timeout: 246 seconds]
NODE has joined #ruby
NODE has quit [Client Quit]
phet has joined #ruby
<phet> Hi, can anyone help me with jekyll? I am trying to change the skin of the minima theme but I dont know how
NODE has joined #ruby
schne1der has quit [Ping timeout: 268 seconds]
NODE has quit [Client Quit]
mossplix has joined #ruby
NODE has joined #ruby
NODE has quit [Client Quit]
<havenwood> phet: Have you followed the Jekyll docs for customizing a theme? If you got stuck, what seems to be the problem?
phaul has joined #ruby
NODE has joined #ruby
<phet> havenwood I am following this https://github.com/jekyll/minima (skins section) but I do that and nothing happens
DTZUZO has quit [Ping timeout: 265 seconds]
phaul has quit [Ping timeout: 240 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
DTZUZO has joined #ruby
Nicmavr has joined #ruby
phaul has joined #ruby
dviola has quit [Quit: WeeChat 2.6]
phaul has quit [Ping timeout: 276 seconds]
howaboutyes has joined #ruby
im0nde_ has joined #ruby
mossplix has quit [Remote host closed the connection]
im0nde has quit [Ping timeout: 245 seconds]
mossplix has joined #ruby
zlogan has quit [Read error: Connection reset by peer]
zlogan has joined #ruby
phaul has joined #ruby
infinityfye_ has quit [Quit: Leaving]
renich_ has joined #ruby
mossplix has quit [Ping timeout: 240 seconds]
phaul has quit [Ping timeout: 240 seconds]
renich has quit [Ping timeout: 250 seconds]
howaboutyes has quit [Quit: Leaving]
phaul has joined #ruby
Intelo has quit [Ping timeout: 276 seconds]
<Bish> if i want to write a gem that is extensible by other gems.. is there some clever way to "discover" those?
phaul has quit [Ping timeout: 265 seconds]
<Bish> a.e. if they exist require them
andikr has quit [Quit: No Ping reply in 180 seconds.]
NODE has quit [Quit: changing servers]
andikr has joined #ruby
NODE has joined #ruby
phaul has joined #ruby
dviola has joined #ruby
alfiemax has joined #ruby
<havenwood> Bish: Pry iterates through Gem.source_index.find_name('') and checks the prefix.
NODE has quit [Quit: changing servers]
schne1der has joined #ruby
conta has quit [Ping timeout: 240 seconds]
NODE has joined #ruby
<Bish> cool
NODE has quit [Quit: changing servers]
altious2 has joined #ruby
NODE has joined #ruby
altious has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
schne1der has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
whathappens has joined #ruby
alfiemax has quit [Remote host closed the connection]
NODE has quit [Quit: changing servers]
Intelo has joined #ruby
NODE has joined #ruby
poontangmessiah has joined #ruby
alfiemax has joined #ruby
renich_ has quit [Ping timeout: 250 seconds]
dellavg has quit [Ping timeout: 252 seconds]
georgie has joined #ruby
whathapp_ has joined #ruby
whathappens has quit [Ping timeout: 245 seconds]
whathapp_ has quit [Client Quit]
phet has quit [Remote host closed the connection]
hallendorfer has joined #ruby
hallendorfer has quit [Client Quit]
andikr has quit [Quit: No Ping reply in 180 seconds.]
andikr has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
leitz has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 268 seconds]
drincruz has quit [Ping timeout: 276 seconds]
NODE has quit [Quit: changing servers]
poontangmessiah_ has joined #ruby
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
poontangmessiah has quit [Ping timeout: 276 seconds]
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
poontangmessiah_ has quit [Remote host closed the connection]
alfiemax_ has joined #ruby
happyhans has joined #ruby
SeepingN has joined #ruby
dviola has quit [Quit: WeeChat 2.6]
orbyt_ has joined #ruby
alfiemax has quit [Ping timeout: 250 seconds]
grilix has quit [Ping timeout: 252 seconds]
alfiemax has joined #ruby
greengriminal has joined #ruby
Intelo has quit [Ping timeout: 240 seconds]
alfiemax_ has quit [Ping timeout: 265 seconds]
ffl^ has quit []
schne1der has joined #ruby
<depesz> hi. anyone could help me diagnose why Threading code is losing variables: https://share.riseup.net/#GO06BqQJkrlyErkh3IM0sg
<depesz> In two threads I try to run separate set of arguments, but it looks that they get the same - from second iteration. Any idea why?
<depesz> this is what it outputs for me, I would expect the line 5 (or 6) to be: In thread: 1 ; 2 ; 3
dev-rfc83 has joined #ruby
donofrio has quit [Remote host closed the connection]
brool has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
Inline has joined #ruby
ellcs1 has joined #ruby
davidw has joined #ruby
aesthe has joined #ruby
akem__ has joined #ruby
yann-kaelig has joined #ruby
mossplix has joined #ruby
andikr has quit [Remote host closed the connection]
akemhp_ has quit [Ping timeout: 252 seconds]
akemhp has joined #ruby
Jonopoly has quit [Quit: WeeChat 2.5]
AJA4351 has joined #ruby
akem__ has quit [Ping timeout: 276 seconds]
thebetra1 has joined #ruby
Inline has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
Inline has joined #ruby
drincruz has joined #ruby
georgie has quit []
alfiemax has quit [Remote host closed the connection]
BH23 has quit [Ping timeout: 240 seconds]
abdellah has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
<abdellah> Hi all, I'm new. Can someone please tell me what I can build with ruby?
KeyJoo has joined #ruby
thebetra3 has joined #ruby
<ule> abdellah: You can build the new Tesla Truck
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
thebetra1 has quit [Ping timeout: 245 seconds]
chalkmonster has joined #ruby
im0nde_ is now known as im0nde
chalkmonster has quit [Client Quit]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
<aesthe> I am testing a valid pathname using rspec. If I ran the method with wrong args, the program tests against Pathname, sees that it is wrong and marks the error. When I run the unit test for this method the method always passes the args as true. Its not the outcome I'm expecting. any tips?
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Intelo has joined #ruby
mgraf has joined #ruby
abdellah has quit [Ping timeout: 245 seconds]
abdellah_ has joined #ruby
sagax has quit [Ping timeout: 240 seconds]
drincruz has joined #ruby
thebetra3 has quit [Ping timeout: 276 seconds]
teardown has quit [Ping timeout: 276 seconds]
cthulchu has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
drincruz has quit [Ping timeout: 240 seconds]
drincruz has joined #ruby
prestorium has quit [Ping timeout: 276 seconds]
<dostoyevsky> I've installed ruby via `rvm install 2.6.3 --disable-binary' but stil, or some reason I can't run `ruby extconf.rb' . It just tells me: mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
<dostoyevsky> I can find a ruby.h here though: /usr/share/rvm/src/ruby-2.6.3/include/ruby.h
<dostoyevsky> It seems to be incredibly hard to get a decent ruby on linux these days, without just compiling it yourself... Using any of the other ways just seems like a waste of time
<aesthe> never mind. changing my approach
iNs has quit [Ping timeout: 260 seconds]
iNs has joined #ruby
KeyJoo has quit [Remote host closed the connection]
spacesuitdiver has joined #ruby
grilix has joined #ruby
frem has joined #ruby
jtdowney has quit [Quit: Bye]
alfiemax has joined #ruby
jtdowney has joined #ruby
jtdowney has quit [Remote host closed the connection]
jtdowney has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
altious2 has quit [Quit: Leaving]
alfiemax has quit [Ping timeout: 240 seconds]
altious has joined #ruby
harai has quit [Ping timeout: 260 seconds]
fphilipe has quit [Ping timeout: 250 seconds]
harai has joined #ruby
alfiemax has joined #ruby
wildtrees has joined #ruby
<havenwood> abdellah_: Ruby is a general purpose programming language, so you can create whatever you'd like!
<havenwood> abdellah_: It's popular to use Ruby to model hardware and software for things like automobiles or planes. It's also popular in web apps. Folk also use Ruby in things you might not expect, like running on a supercomputer, telephony, etc.
jottr has quit [Ping timeout: 268 seconds]
<havenwood> dostoyevsky: It sounds like you're using a system Ruby, not the one you installed with RVM. To get mkmf with your system Ruby: sudo apt-get install ruby-full
Emmanuel_Chanel has joined #ruby
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 268 seconds]
ohmyfromage has quit [Read error: Connection reset by peer]
aesthe has quit [Quit: Leaving]
galaxie has quit [Ping timeout: 260 seconds]
teardown has joined #ruby
NODE has quit [Quit: changing servers]
galaxie has joined #ruby
NODE has joined #ruby
sh7d has quit [Ping timeout: 252 seconds]
mossplix has quit [Remote host closed the connection]
dviola has joined #ruby
rippa has joined #ruby
mgraf has quit [Quit: Lost terminal]
NODE has quit [Quit: changing servers]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
NODE has joined #ruby
sh7d has joined #ruby
sh7d has quit [Client Quit]
sh7d has joined #ruby
aavvcc has joined #ruby
nowhereman has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
dionysus70 is now known as dionysus69
cxl has quit [Quit: bye]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
mynameisdebian has joined #ruby
happyhans has quit [Remote host closed the connection]
alfiemax_ has quit [Remote host closed the connection]
alfiemax has joined #ruby
sauvin has quit [Ping timeout: 276 seconds]
suukim has quit [Quit: Konversation terminated!]
happyhans has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mynameisdebian has quit [Quit: Leaving]
gremax has joined #ruby
mossplix has joined #ruby
brool has quit [Ping timeout: 246 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
orbyt_ has joined #ruby
im0nde has quit [Ping timeout: 265 seconds]
im0nde has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
orbyt_ has quit [Client Quit]
dionysus69 has quit [Ping timeout: 246 seconds]
AJA4351 has joined #ruby
ellcs1 has quit [Ping timeout: 250 seconds]
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
lxsameer has quit [Ping timeout: 245 seconds]
ellcs1 has joined #ruby
ur5us has joined #ruby
dionysus69 has joined #ruby
mossplix has quit [Remote host closed the connection]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
AJA4351 has joined #ruby
mossplix has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
yann-kaelig has quit [Quit: yann-kaelig]
jottr has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
jottr has quit [Ping timeout: 276 seconds]
AJA4351 has quit [Ping timeout: 268 seconds]
cthu| has joined #ruby
zapata has quit [Ping timeout: 276 seconds]
Ven`` has joined #ruby
brool has joined #ruby
abdellah_ has quit [Ping timeout: 240 seconds]
abdellah_ has joined #ruby
harai has quit [Ping timeout: 260 seconds]
cthulchu has quit [Ping timeout: 245 seconds]
Jonopoly has joined #ruby
<xpitr> hm {}.filter is something new?
<havenwood> xpitr: Yes. It's an alias to Hash#map.
<havenwood> err, I mean Hash#select
<havenwood> xpitr: #filter_map is new too
Azure has joined #ruby
<xpitr> ahh i see now, thanks
<xpitr> i just used filter intuitively and then it failed on other host hehe
Mia has quit [Ping timeout: 265 seconds]
phaul has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
zlogan has quit [Read error: Connection reset by peer]
zlogan has joined #ruby
phaul has joined #ruby
phaul has quit [Ping timeout: 252 seconds]
alfiemax has quit [Ping timeout: 265 seconds]
alfiemax has joined #ruby
AJA4350 has joined #ruby
phaul has joined #ruby
jottr has joined #ruby
Mia has joined #ruby
AJA4351 has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
phaul has quit [Ping timeout: 250 seconds]
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
jottr has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
phaul has joined #ruby
fphilipe has joined #ruby
gix has joined #ruby
poontangmessiah has joined #ruby
phaul has quit [Ping timeout: 250 seconds]
AJA4351 has joined #ruby
mossplix has quit [Ping timeout: 268 seconds]
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
phaul has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
jottr has quit [Ping timeout: 268 seconds]
mossplix has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
AJA4351 has joined #ruby
thebetra3 has joined #ruby
nowhereman has quit [Ping timeout: 265 seconds]
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
dev-rfc83 has quit [Ping timeout: 252 seconds]
phaul has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
NODE has quit [Client Quit]
phaul has quit [Ping timeout: 276 seconds]
jaequery has joined #ruby
NODE has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Client Quit]
alfiemax has joined #ruby
cthu| has quit [Read error: Connection reset by peer]
phaul has joined #ruby
cthu| has joined #ruby
alfiemax has quit [Ping timeout: 245 seconds]
al2o3-cr has quit [Quit: WeeChat 2.6]
phaul has quit [Ping timeout: 245 seconds]
frem has quit [Quit: Connection closed for inactivity]
al2o3-cr has joined #ruby
phaul has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
phaul has quit [Ping timeout: 252 seconds]
Intelo has quit [Ping timeout: 246 seconds]
phaul has joined #ruby
im0nde has quit [Ping timeout: 250 seconds]
im0nde has joined #ruby
jottr has joined #ruby
phaul has quit [Ping timeout: 276 seconds]
im0nde has quit [Ping timeout: 276 seconds]
phaul has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
phaul has quit [Ping timeout: 250 seconds]
im0nde has joined #ruby
phaul has joined #ruby
fphilipe has quit [Ping timeout: 245 seconds]
phaul has quit [Ping timeout: 265 seconds]
grilix has quit [Ping timeout: 240 seconds]
jidar has quit [Quit: rebooting]
ur5us has quit [Ping timeout: 250 seconds]
sammi`_ has joined #ruby
jidar has joined #ruby
phaul has joined #ruby
rwb has joined #ruby
kapil_ has quit [Quit: Connection closed for inactivity]
jottr has joined #ruby
AJA4350 has quit [Ping timeout: 276 seconds]
sammi` has quit [Ping timeout: 276 seconds]
jidar has quit [Client Quit]
phaul has quit [Ping timeout: 265 seconds]
<dostoyevsky> havenwood: the system ruby on ubuntu 18 is an ancient 2.3 or so... I want to use 2.6 because that's what I've been using to develop the current code with... but all together: `RUN mkdir t && cd t && wget https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.5.tar.gz && tar xvf ruby-2.6.5.tar.gz && cd ruby-2.6.5 && ./configure && make install' in my Dockerfile is the shortest and better than anything I have
<dostoyevsky> tried with custom apt-repos + rvm install and later trying to setup all the proper directories by hand
Intelo has joined #ruby
phaul has joined #ruby
ur5us has joined #ruby
AJA4350 has joined #ruby
phaul has quit [Ping timeout: 276 seconds]
jottr has quit [Ping timeout: 276 seconds]
ellcs1 has quit [Ping timeout: 250 seconds]
phaul has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
phaul has quit [Ping timeout: 245 seconds]
jidar has joined #ruby
phaul has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
NODE has quit [Quit: changing servers]
ellcs1 has joined #ruby
NODE has joined #ruby
orbyt_ has joined #ruby
NODE has quit [Client Quit]
phaul has joined #ruby
thebetra3 has quit [Ping timeout: 276 seconds]
NODE has joined #ruby
davidw has quit [Ping timeout: 265 seconds]
NODE has quit [Client Quit]
thebetra3 has joined #ruby
NODE has joined #ruby
phaul has quit [Ping timeout: 276 seconds]
phaul has joined #ruby
jottr has joined #ruby
nowhereman has joined #ruby
akemhp has quit [Quit: Leaving]
phaul has quit [Ping timeout: 268 seconds]
aavvcc has quit [Remote host closed the connection]
akemhp has joined #ruby
NODE has quit [Quit: changing servers]
bitwinery has joined #ruby
phaul has joined #ruby
AJA4351 has joined #ruby
NODE has joined #ruby
bitwinery has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
bitwinery has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
phaul has quit [Ping timeout: 252 seconds]
phaul has joined #ruby
poontangmessiah has quit [Remote host closed the connection]
davidw has joined #ruby
davidw has joined #ruby
davidw has quit [Changing host]
cthu| has quit [Read error: Connection reset by peer]
ruby[bot] has quit [Remote host closed the connection]
akemhp_ has joined #ruby
ruby[bot] has joined #ruby
cthu| has joined #ruby
AJA4350 has quit [Ping timeout: 252 seconds]
phaul has quit [Ping timeout: 246 seconds]
NODE has quit [Quit: changing servers]
akemhp has quit [Ping timeout: 276 seconds]
AJA4350 has joined #ruby
NODE has joined #ruby
mossplix has quit [Remote host closed the connection]
NODE has quit [Client Quit]
phaul has joined #ruby
NODE has joined #ruby
happyhans has quit [Quit: Leaving...]
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
<havenwood> dostoyevsky: I'd rename `t` to `src`, use the .bz2, run make in parallel jobs with `make -j` and jemalloc - but I agree.
phaul has quit [Ping timeout: 265 seconds]
ogres has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
phaul has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
NODE has quit [Quit: changing servers]
AJA4351 has joined #ruby
NODE has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
NODE has quit [Client Quit]
phaul has joined #ruby
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
phaul has quit [Ping timeout: 268 seconds]
NODE has quit [Client Quit]
NODE has joined #ruby
howdoi has joined #ruby
phaul has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
NODE has quit [Client Quit]
phaul has quit [Ping timeout: 240 seconds]
NODE has joined #ruby
NODE has quit [Client Quit]
phaul has joined #ruby
NODE has joined #ruby
akem__ has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
akemhp_ has quit [Ping timeout: 268 seconds]
akemhp has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jinie_ has joined #ruby
akem__ has quit [Ping timeout: 265 seconds]
jottr has quit [Ping timeout: 268 seconds]
fphilipe has joined #ruby
fphilipe has quit [Ping timeout: 276 seconds]