havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.4, 2.5.6, 2.7.0-preview1: 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!
<etupat> phaul: Thanks again for your assistance earlier. For closure, here's the solution https://pastebin.com/yaMmcSKD
<ruby[bot]> etupat: as I told you already, please use https://gist.github.com
<etupat> phaul: 4 frikkin lines -- 24-28
<etupat> er.. 5*
<etupat> so darn simple
<etupat> *smacks self in face with a brick*
poontangmessiah has joined #ruby
jenrzzz has joined #ruby
<etupat> Took 2 hours to solve 5 lines :) b/c thats how much I suck
<etupat> thank you Ruby @ IRC for encouragement and assitance
fphilipe_ has joined #ruby
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
ramfjord has quit [Read error: Connection reset by peer]
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
etupat has quit []
fphilipe_ has quit [Ping timeout: 265 seconds]
DaRock has joined #ruby
hutch1 has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
thexa4 has joined #ruby
davidw_ has quit [Ping timeout: 246 seconds]
hutch1 has joined #ruby
jenrzzz has joined #ruby
Swyper has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 258 seconds]
AJA4351 is now known as AJA4350
tdy has joined #ruby
alan_w has quit [Read error: Connection reset by peer]
cesario has joined #ruby
hutch1 has quit [Ping timeout: 245 seconds]
alan_w has joined #ruby
jackkall has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
kyrylo has joined #ruby
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
greengriminal has joined #ruby
i9zO5AP has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
Ai9zO5AP has quit [Ping timeout: 265 seconds]
murarisumit has joined #ruby
gix has quit [Ping timeout: 268 seconds]
murarisumit has quit [Ping timeout: 240 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Esa_ has quit []
cesario has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
cesario has joined #ruby
i9zO5AP has quit [Quit: WeeChat 2.5]
dasher00 has quit [Ping timeout: 276 seconds]
s2013 has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
tsujp has joined #ruby
poontangmessiah has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 240 seconds]
drincruz has joined #ruby
AJA4351 has joined #ruby
AJA4351 is now known as AJA4350
fphilipe_ has joined #ruby
Swyper has quit [Remote host closed the connection]
fphilipe_ has quit [Ping timeout: 240 seconds]
hutch1 has joined #ruby
skyikot has quit [Ping timeout: 260 seconds]
jacksoow_ has quit [Ping timeout: 250 seconds]
spacesuitdiver has joined #ruby
drincruz has quit [Ping timeout: 276 seconds]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
cesario has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mre- has joined #ruby
hutch1 has quit [Ping timeout: 276 seconds]
mre- has quit [Ping timeout: 240 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
jackkall has quit [Quit: Textual IRC Client: www.textualapp.com]
karstenk_ has joined #ruby
karstenk has quit [Ping timeout: 245 seconds]
bitwinery has quit [Ping timeout: 276 seconds]
ravenous_ has joined #ruby
cesario has joined #ruby
ravenous_ has quit [Ping timeout: 246 seconds]
bitwinery has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Quit: Lost terminal]
cd has quit [Quit: cd]
ravenous_ has joined #ruby
cesario has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
brool has quit [Ping timeout: 276 seconds]
ravenous_ has quit [Ping timeout: 276 seconds]
cesario has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skyikot has joined #ruby
cesario has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
murarisumit has joined #ruby
cesario has joined #ruby
cesario has quit [Client Quit]
murarisumit has quit [Ping timeout: 276 seconds]
AJA4350 has quit [Quit: AJA4350]
murarisumit has joined #ruby
fphilipe_ has joined #ruby
alfiemax has joined #ruby
murarisumit has quit [Ping timeout: 240 seconds]
fphilipe_ has quit [Ping timeout: 265 seconds]
ravenous_ has joined #ruby
ravenous_ has quit [Ping timeout: 246 seconds]
cthulchu_ has quit [Ping timeout: 240 seconds]
ravenous_ has joined #ruby
fphilipe_ has joined #ruby
ravenous_ has quit [Ping timeout: 276 seconds]
mre- has joined #ruby
murarisumit has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Ping timeout: 265 seconds]
tdy has quit [Ping timeout: 265 seconds]
sauvin has joined #ruby
sauvin has quit [Max SendQ exceeded]
sauvin has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
dellavg has joined #ruby
peirama has quit [Quit: exit]
peirama has joined #ruby
davor_ has joined #ruby
davor has quit [Ping timeout: 240 seconds]
davor_ is now known as davor
zacts has joined #ruby
blackmesa has joined #ruby
<karstenk_> Good morning all! What is best method, when tying to bundle deployment, but one gem in Gemfile and Gemfile.lock cant be found in repository. Its yanked by rubygems, but Ive allready a compiled correct version locally. Ok, I could set now parameter path in Gemfile for that missing gem, but that causes not to be able to install with deployment flag. There should be an outside option like bundle config, but all my tries
<karstenk_> stuck with not finding the required gem. Any idea?!
queip has quit [Ping timeout: 245 seconds]
kyrylo has joined #ruby
queip has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
skyikot has quit [Remote host closed the connection]
skyikot has joined #ruby
PeterWAWood has joined #ruby
PeterWAWood has left #ruby [#ruby]
Tempesta_ has joined #ruby
Tempesta has quit [Read error: Connection reset by peer]
alan_w has quit [Ping timeout: 240 seconds]
alan_w has joined #ruby
eclm has joined #ruby
alan_w has quit [Ping timeout: 276 seconds]
cesario has joined #ruby
Fischmiep has joined #ruby
cesario has quit [Read error: Connection reset by peer]
bitwinery has quit [Quit: Leaving]
zacts has quit [Quit: WeeChat 2.4]
kyrylo has quit [Read error: Connection reset by peer]
kyrylo_ has joined #ruby
eclm has quit [Read error: Connection reset by peer]
eclm has joined #ruby
lxsameer has joined #ruby
Fischmiep has quit [Ping timeout: 245 seconds]
mre- has joined #ruby
skyikot has quit [Ping timeout: 260 seconds]
mre- has quit [Ping timeout: 245 seconds]
skyikot has joined #ruby
ur5us has joined #ruby
TomyWork has joined #ruby
queip has quit [Ping timeout: 245 seconds]
ur5us has quit [Ping timeout: 268 seconds]
murarisumit has quit [Ping timeout: 265 seconds]
queip has joined #ruby
ravenous_ has joined #ruby
karstenk_ has left #ruby ["Konversation terminated!"]
alfiemax has quit [Remote host closed the connection]
karstenk_ has joined #ruby
<karstenk_> Pleas can somebody tell me, what iam doing wrong with my bundle config? https://paste.fedoraproject.org/paste/PSHPoPb7EKihRecrd~P-SA
<karstenk_> How to set a special repository path without manipulating the Gemfile which would result in unable to bundle with deployment flag
witlesswonder has quit [Remote host closed the connection]
witlesswonder has joined #ruby
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
murarisumit has joined #ruby
jinie has left #ruby ["Leaving"]
ravenous_ has joined #ruby
fphilipe_ has quit [Ping timeout: 246 seconds]
vondruch has joined #ruby
ellcs has joined #ruby
fphilipe_ has joined #ruby
nahra has quit [Quit: ERC (IRC client for Emacs 26.2)]
fphilipe has joined #ruby
Tempesta_ has left #ruby ["Closing Channel, bye."]
Tempesta has joined #ruby
fphilipe_ has quit [Ping timeout: 265 seconds]
ravenous_ has quit [Ping timeout: 276 seconds]
galaxie has quit [Remote host closed the connection]
galaxie has joined #ruby
skyikot has quit [Remote host closed the connection]
kotisky has joined #ruby
cnsvc has quit [Remote host closed the connection]
iNs has quit [Remote host closed the connection]
queip has quit [Ping timeout: 246 seconds]
queip has joined #ruby
kotisky has quit [Ping timeout: 260 seconds]
witlesswonder has quit [Ping timeout: 260 seconds]
galaxie has quit [Ping timeout: 260 seconds]
involans has joined #ruby
schne1der has joined #ruby
luminousnine has quit [Quit: Toodles]
queip has quit [Ping timeout: 265 seconds]
luminousnine has joined #ruby
luminousnine has quit [Changing host]
luminousnine has joined #ruby
iNs has joined #ruby
kotisky has joined #ruby
galaxie has joined #ruby
cnsvc has joined #ruby
fphilipe has quit [Read error: Connection reset by peer]
fphilipe has joined #ruby
queip has joined #ruby
mre- has joined #ruby
mre- has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby
Ai9zO5AP has joined #ruby
Ai9zO5AP has quit [Client Quit]
ur5us has quit [Ping timeout: 265 seconds]
dasher00 has joined #ruby
jottr has joined #ruby
murarisumit has quit [Ping timeout: 264 seconds]
chalkmonster has joined #ruby
jottr_ has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 265 seconds]
Tuor has joined #ruby
za1b1tsu has joined #ruby
queip has joined #ruby
murarisumit has joined #ruby
arahael4 is now known as Arahael
ellcs has quit [Remote host closed the connection]
queip has quit [Ping timeout: 268 seconds]
queip has joined #ruby
ellcs has joined #ruby
blackmesa1 has joined #ruby
Jonopoly has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
NL3limin4t0r_afk is now known as NL3limin4t0r
ellcs has quit [Ping timeout: 245 seconds]
DaRock has quit [Ping timeout: 276 seconds]
fphilipe has quit [Ping timeout: 245 seconds]
fphilipe has joined #ruby
kotisky has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
Intelo has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
DaRock has joined #ruby
jacksoow has joined #ruby
conta has joined #ruby
mniip has quit [Ping timeout: 610 seconds]
poontangmessiah has joined #ruby
Jonopoly has quit [Quit: WeeChat 2.5]
Jonopoly has joined #ruby
poontangmessiah has quit [Remote host closed the connection]
conta has quit [Ping timeout: 276 seconds]
jackkall has joined #ruby
blackmesa1 has quit [Ping timeout: 276 seconds]
Ai9zO5AP has joined #ruby
ur5us has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
mre- has joined #ruby
MrCrackPot has joined #ruby
mre- has quit [Ping timeout: 246 seconds]
blackmesa1 has joined #ruby
conta has joined #ruby
Jonopoly has quit [Ping timeout: 258 seconds]
Jonopoly has joined #ruby
fphilipe has quit [Ping timeout: 246 seconds]
Tuor has left #ruby ["https://quassel-irc.org - Chat comfortably. Anywhere."]
Jonopoly has quit [Client Quit]
Jonopoly has joined #ruby
jackkall has quit [Quit: Textual IRC Client: www.textualapp.com]
frojnd has quit [Ping timeout: 244 seconds]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
Fernando-Basso has joined #ruby
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
gigetoo has quit [Ping timeout: 265 seconds]
involans has quit [Quit: involans]
<Jonopoly> mysql or mysql2 for ruby?
AJA4350 has joined #ruby
blackmesa1 has quit [Ping timeout: 276 seconds]
gigetoo has joined #ruby
jord has quit [Quit: Connection closed for inactivity]
conta has quit [Quit: conta]
kotisky has joined #ruby
fphilipe has joined #ruby
blackmesa1 has joined #ruby
fphilipe has quit [Read error: Connection reset by peer]
jrafanie has joined #ruby
fphilipe has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jacksoow has quit [Read error: Connection reset by peer]
jacksoow has joined #ruby
bertocq[m] has joined #ruby
grilix has joined #ruby
Fernando-Basso has quit [Ping timeout: 240 seconds]
chalkmonster has quit [Read error: Connection reset by peer]
blackmesa1 has quit [Ping timeout: 276 seconds]
Fernando-Basso has joined #ruby
<havenwood> Jonopoly: the latter
lucasb has joined #ruby
alfiemax has joined #ruby
fritzroy15 has joined #ruby
fphilipe has quit [Read error: Connection reset by peer]
queip has quit [Ping timeout: 245 seconds]
<fritzroy15> hello, I need to convert a ruby hash object to json, but then convert that to a string ( for logging reasons ): I tried my_var.to_json.to_s but it doesn't seem to work; any ideas?
tsujp has joined #ruby
fphilipe has joined #ruby
<fritzroy15> i'm looking for something simiar with json.stringify from js
r3m_ has joined #ruby
r3m has quit [Read error: Connection reset by peer]
<havenwood> fritzroy15: Serializing to JSON produces a String.
queip has joined #ruby
<fritzroy15> havenwood do you mean when I use .to_json?
<havenwood> fritzroy15: {x: 5, y: 6}.to_json #=> "{\"x\":5,\"y\":6}"
<havenwood> fritzroy15: Yes, that's already producing a String return value.
<havenwood> fritzroy15: Then you can deserialize the string back to a Hash with:
<havenwood> JSON.parse({x: 5, y: 6}.to_json) #=> {"x"=>5, "y"=>6}
<havenwood> JSON.parse({x: 5, y: 6}.to_json, symbolize_names: true) #=> {:x=>5, :y=>6}
<NL3limin4t0r> fritzroy15: In JS: `JSON.stringify({x: 5, y: 6}) //=> "{\"x\":5,\"y\":6}"`
jcalla has joined #ruby
murarisumit has quit [Ping timeout: 245 seconds]
chalkmonster has joined #ruby
greengriminal has joined #ruby
Jonopoly has quit [Quit: WeeChat 2.5]
ramfjord has joined #ruby
Jonopoly has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
involans has joined #ruby
suukim has joined #ruby
involans_ has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
<fritzroy15> NL3limin4t0r havenwood thank you!
involans has quit [Ping timeout: 246 seconds]
involans_ is now known as involans
yann-kaelig has joined #ruby
Ai9zO5AP has quit [Read error: Connection reset by peer]
Ai9zO5AP has joined #ruby
drincruz has joined #ruby
crankharder has joined #ruby
nius has joined #ruby
mre- has joined #ruby
<nius> hi there
<havenwood> nius: hi
<nius> using open-uri's open(<my_url>) I get a "404 Not found UA" error. using the system's curl it works fine
<nius> this is just on some websites, others work
<nius> does curl set some spoofed user agent to make things work?
<nius> (Net::HTTP.get_response doesn't work either, same response)
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
chalkmonster has quit [Quit: WeeChat 2.6]
Swyper has joined #ruby
chalkmonster has joined #ruby
<havenwood> nius: Are you following redirects perhaps with curl? -L --location
<nius> nope nothing
<nius> bare-bones curl <my_url>
<ua> nius, what do you maen "404 Not found UA" 404 not found an user agents are separate things
<nius> wow, could've cut that search short
<nius> didn't know UA stands for user agent
<nius> i was just looking at a p'd open() which outputted what I wrote
<nius> I set the UA to curl and it works now
<ua> you're welcome :)
<ua> btw. what are you playing with, thats some kinda nazi http server if you get 404 just because of lack of UA
donofrio has joined #ruby
<nius> ua: uni server, but maybe it was just open-uri complaining that no required UA was supplied or something like that
<nius> anybody here comfortable with telegram-bot-ruby?
<ua> nah, i use open(url).read all the time and dont recall it complaining once about UA
<nius> guess it's my uni then
hutch1 has joined #ruby
<ua> yeah i guess, why doesnt it surprise me its uni lol
chalkmonster has quit [Quit: WeeChat 2.6]
mniip has joined #ruby
<NL3limin4t0r> ¯\_(ツ)_/¯ kappa
FernandoBasso has joined #ruby
<NL3limin4t0r> Social justice only accepts those who have been validated to agree. Unknown user-agents don't belong to that list apparently. =P
Fernando-Basso has quit [Ping timeout: 268 seconds]
Fernando-Basso has joined #ruby
FernandoBasso has quit [Ping timeout: 245 seconds]
r3m_ is now known as r3m
r3m is now known as r3m_
hutch1 has quit [Ping timeout: 245 seconds]
Intelo has quit [Remote host closed the connection]
NoctisShadowzel has joined #ruby
<NoctisShadowzel> Hello! Who will explain me, how can I re-write this code in C or C#? I never writed Ruby before... <https://gist.github.com/jamis/760739>
<NoctisShadowzel> what is; DX = { E => 1, W => -1, N => 0, S => 0 }
<NoctisShadowzel> And; row.each_with_index do |cell, x|
<NoctisShadowzel> Thank you for taking time?
FernandoBasso has joined #ruby
<havenwood> NoctisShadowzel: DX is a constant. It's a type of variable that will warn if reassigned. The {..} is a Hash literal. It's the Ruby dictionary of key/value pairs. In the first pair, `E` is the key and `1` is the value.
<havenwood> NoctisShadowzel: The `=>`s are called "Hash rockets."
rippa has joined #ruby
<NoctisShadowzel> C# Dictionaries, in const format?
ur5us has quit [Remote host closed the connection]
greengriminal has joined #ruby
<havenwood> NoctisShadowzel: Oh, I think I misread your question. You understand the Ruby but want to rewrite this in C?
<NoctisShadowzel> Yes C or C# (preferred)
ur5us has joined #ruby
<havenwood> NoctisShadowzel: What's the purpose of the excercise?
<NoctisShadowzel> I'm implementing Hunt and Kill Procedural Maze Generation Algorithm for my Unity3D game project.
<havenwood> Gotcha.
<NoctisShadowzel> I wanted to see a implementation, this was only one I could find.
Fernando-Basso has quit [Ping timeout: 276 seconds]
chalkmonster has joined #ruby
<NoctisShadowzel> I just need to understand main algorithm of this. I'm already going to heavily modify algorithm for my project.
queip has quit [Ping timeout: 276 seconds]
ur5us_ has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
Toledo has quit [Ping timeout: 276 seconds]
jmcgnh has quit [Ping timeout: 245 seconds]
<Jonopoly> any reason why can't use gem mysql or mysql2?
<havenwood> Jonopoly: Are you saying you can't use it? Asking if we can't?
Frobozz has quit [Read error: Connection reset by peer]
<NoctisShadowzel> I didn't understand your question. Jonopoly
<Jonopoly> Sorry let me re-word (just attempting again - to get better stacktrace)
Frobozz has joined #ruby
mre- has quit [Ping timeout: 265 seconds]
<NoctisShadowzel> havenwood, Thank you for link!
<havenwood> NoctisShadowzel: You're welcome!
<Jonopoly> checking for mysql_query() in -lmysqlclient... no
<Jonopoly> *** extconf.rb failed ***
<Jonopoly> Could not create Makefile due to some reason, probably lack of necessary
queip has joined #ruby
ur5us_ has quit [Ping timeout: 240 seconds]
<havenwood> Jonopoly: Is MySQL installed?
<Jonopoly> ...
<Jonopoly> :@
<Jonopoly> ugh don't think so
<havenwood> Jonopoly: It'll need to be!
<Jonopoly> didn't think i'd need it since i wanna connect to a remote db
NoctisShadowzel has quit [Remote host closed the connection]
<havenwood> Jonopoly: You need the bindings to mysql-dev.
FernandoBasso has quit [Remote host closed the connection]
<havenwood> Jonopoly: It needs to dynamically link.
jmcgnh has joined #ruby
<havenwood> Even if the DB isn't on the system.
TvL2386_ has joined #ruby
involans has quit [Quit: involans]
TvL2386 has quit [Ping timeout: 268 seconds]
MrCrackPot has quit [Quit: Something went wrong again oh the joys]
Toledo has joined #ruby
mre- has joined #ruby
queip has quit [Ping timeout: 258 seconds]
mre- has quit [Ping timeout: 276 seconds]
alfiemax has quit [Remote host closed the connection]
mre- has joined #ruby
queip has joined #ruby
MrCrackPot has joined #ruby
<Jonopoly> how can i install mysql on ruby
<Jonopoly> without the client?
<Jonopoly> "gem install mysql2 --without-mysqlclientlib"
AJA4351 has joined #ruby
Esa_ has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
<havenwood> Jonopoly: --without-mysql-rpath
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
<Jonopoly> i get this: invalid option: --without-mysql-rpath
<havenwood> Jonopoly: That ^ looks like the only "without" option.
jacksoow has quit [Read error: Connection reset by peer]
<havenwood> Jonopoly: Did you use them like the README says?
<havenwood> Jonopoly: gem install mysql2 -- --without-mysql-rpath
sputnik13 has joined #ruby
<havenwood> Jonopoly: "Use these options by gem install mysql2 -- [--optionA] [--optionB=argument]."
<Jonopoly> kill me
<Jonopoly> wasn't using it correctly, you're right h
<havenwood> Jonopoly: the -- is easy to miss - you're far from the first
<Jonopoly> ght
Jonopoly has quit [Quit: WeeChat 2.5]
jacksoow has joined #ruby
ebbflowgo has joined #ruby
poontangmessiah has joined #ruby
BH23 has joined #ruby
ropeney has quit [Quit: ZNC 1.7.4 - https://znc.in]
mre- has joined #ruby
ropeney has joined #ruby
alan_w has joined #ruby
Technodrome has joined #ruby
eclm has quit [Ping timeout: 258 seconds]
mre- has quit [Ping timeout: 258 seconds]
Jonopoly has joined #ruby
davidw_ has joined #ruby
mre- has joined #ruby
suukim has quit [Remote host closed the connection]
greengriminal has quit [Quit: Leaving]
mre- has quit [Ping timeout: 258 seconds]
za1b1tsu has quit [Remote host closed the connection]
spacesuitdiver has quit [Quit: Textual IRC Client: www.textualapp.com]
alan_w has quit [Read error: Connection reset by peer]
alan_w has joined #ruby
BH23 has quit [Ping timeout: 268 seconds]
john__ has joined #ruby
baojg_ has quit [Remote host closed the connection]
<john__> hi
john__ has quit [Remote host closed the connection]
baojg has joined #ruby
<havenwood> Did a little User-Agent selection script based on the percent popularity of current UAs based on the convo earlier: https://gist.github.com/havenwood/fac3469eac290f2a15b0fba15d3078dc
gnufied has quit [Quit: Leaving]
hutch1 has joined #ruby
Ai9zO5AP has quit [Ping timeout: 240 seconds]
Ai9zO5AP has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chalkmonster has joined #ruby
cjkinni has quit [Ping timeout: 258 seconds]
involans has joined #ruby
robotcars has joined #ruby
<robotcars> ["sql/ddl/canvas-create-tinytds-20190920080546.sql", "sql/ddl/canvas_schema.tinytds.sql"]
<robotcars> on another desktop, the array is reversed.
<robotcars> in both cases, the canvas_schema file is older
Jonopoly has quit [Quit: WeeChat 2.5]
dinfuehr has quit [Ping timeout: 240 seconds]
<phaul> by older you mean older in mtime. there is modification time and there is creation time
sputnik13 has joined #ruby
dinfuehr has joined #ruby
<phaul> sometimes filesystems don'tcorrectly disinguish between the two
Ai9zO5AP has quit [Ping timeout: 265 seconds]
<robotcars> ctime would be better
dretnx has joined #ruby
eclm has joined #ruby
<phaul> there is a stat on my system which lists 4! different times.. access, modify, change, birth.. just make sure you are checking the right one
<NL3limin4t0r> Now you leave me wondering what the difference between modify and change is. xD
mre- has joined #ruby
Ai9zO5AP has joined #ruby
Ai9zO5AP has quit [Client Quit]
alan_w has quit [Ping timeout: 276 seconds]
entel has quit [Quit: Connection closed for inactivity]
<phaul> NL3limin4t0r: my google gave this answer: Modify time gets updated when you whenever update content of a file or save a file. Change time gets updated when the file attributes are changed, like changing the owner, changing the permission or moving it to another filesystem, but will also be updated when you modify a file
mre- has quit [Ping timeout: 265 seconds]
kotisky has quit [Ping timeout: 260 seconds]
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
<NL3limin4t0r> I guess I expected something like that.
<NL3limin4t0r> But ty for the quick search.
fritzroy15 has quit [Remote host closed the connection]
hutch1 has quit [Ping timeout: 245 seconds]
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chalkmonster has quit [Quit: WeeChat 2.6]
gix has joined #ruby
ravenousmoose has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
greengriminal has joined #ruby
<greengriminal> Anyone here experienced with using avro_turf gem?
<greengriminal> Trying to decipher a validation error.
hutch1 has joined #ruby
TomyWork has quit [Remote host closed the connection]
fphilipe has quit [Quit: WeeChat 2.4]
<robotcars> ruby ctime and osx/finder 'date created' are not the same
fphilipe has joined #ruby
mre- has joined #ruby
ua has quit [Ping timeout: 246 seconds]
blackmesa1 has joined #ruby
murarisumit has joined #ruby
<havenwood> ooh, yay! I was hoping to see the tiny binary commit merged: https://github.com/ruby/ruby/commit/20baa08d652b844806fab424a2a590408ab613ef
paraxial93 has quit [Quit: The Lounge - https://thelounge.chat]
mre- has quit [Ping timeout: 268 seconds]
hutch1 has quit [Ping timeout: 246 seconds]
paraxial93 has joined #ruby
murarisumit has quit [Ping timeout: 268 seconds]
mre- has joined #ruby
crankharder has quit [Ping timeout: 245 seconds]
paraxial93 has quit [Ping timeout: 258 seconds]
<NL3limin4t0r> robotcars: ctime is not the creation time, it's change time
ua has joined #ruby
<NL3limin4t0r> robotcars: You should use #birthtime if you want to sort by creation time
mre- has quit [Ping timeout: 258 seconds]
kyrylo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
paraxial93 has joined #ruby
<NL3limin4t0r> greengriminal: I personally have no experience with that gem, but without info we can't help. What's the problem?
sputnik13 has joined #ruby
s2013 has joined #ruby
<robotcars> NL3limin4t0r: ty
poontangmessiah has quit [Remote host closed the connection]
dretnx has quit [Ping timeout: 258 seconds]
davor_ has joined #ruby
davor has quit [Ping timeout: 240 seconds]
davor_ is now known as davor
jottr_ has quit [Ping timeout: 246 seconds]
KeyJoo has joined #ruby
ellcs has joined #ruby
brool has joined #ruby
blackmesa1 has quit [Ping timeout: 276 seconds]
mre- has joined #ruby
ellcs has quit [Ping timeout: 264 seconds]
manakanapa has joined #ruby
jottr_ has joined #ruby
manakanapa has quit [Client Quit]
blackmesa1 has joined #ruby
manakanapa has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe has quit [Ping timeout: 265 seconds]
blackmesa1 has quit [Ping timeout: 250 seconds]
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
brool has quit [Ping timeout: 245 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
jrafanie has joined #ruby
NL3limin4t0r is now known as NL3limin4t0r_afk
dellavg has quit [Ping timeout: 265 seconds]
blackmesa1 has joined #ruby
jacksoow_ has joined #ruby
jacksoow has quit [Ping timeout: 246 seconds]
jottr_ has quit [Ping timeout: 245 seconds]
bitwinery has joined #ruby
blackmesa1 has quit [Ping timeout: 245 seconds]
sauvin has quit [Read error: Connection reset by peer]
bitwinery has quit [Remote host closed the connection]
cow[moo] has quit [Read error: Connection reset by peer]
bitwinery has joined #ruby
davidw_ has quit [Remote host closed the connection]
MrCrackPot has quit [Remote host closed the connection]
Azure has quit [Read error: Connection reset by peer]
MrCrackPot has joined #ruby
davidw_ has joined #ruby
mahlon has quit [Read error: Connection reset by peer]
daemonwrangler has quit [Ping timeout: 245 seconds]
Yuyu0 has quit [Quit: Ping timeout (120 seconds)]
Yuyu0 has joined #ruby
thebetrayer has quit [Quit: ZNC 1.7.3 - https://znc.in]
shansen has quit [Quit: ZNC 1.7.4+deb0+bionic0 - https://znc.in]
`Alison has quit [Remote host closed the connection]
arooni has quit [Quit: ZNC - http://znc.in]
dan64 has quit [Ping timeout: 245 seconds]
stan has quit [Quit: No Ping reply in 180 seconds.]
thebetrayer has joined #ruby
JasonO has quit [Excess Flood]
`Alison has joined #ruby
shansen has joined #ruby
stan has joined #ruby
Azure has joined #ruby
arooni has joined #ruby
marahin has quit [Ping timeout: 245 seconds]
zipkid has quit [Ping timeout: 245 seconds]
zipkid has joined #ruby
marahin has joined #ruby
marahin has joined #ruby
marahin has quit [Changing host]
daemonwrangler has joined #ruby
dan64 has joined #ruby
JasonO has joined #ruby
blackmesa1 has joined #ruby
Mrgoose84 has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
Mrgoose84 has joined #ruby
queip has quit [Ping timeout: 240 seconds]
lxsameer has quit [Ping timeout: 258 seconds]
queip has joined #ruby
hutch1 has joined #ruby
jottr_ has joined #ruby
crankharder has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
jacksoow has joined #ruby
jacksoow_ has quit [Ping timeout: 276 seconds]
Fusl has quit [Max SendQ exceeded]
Fusl has joined #ruby
ellcs has joined #ruby
hutch1 has quit [Ping timeout: 276 seconds]
mre- has quit [Ping timeout: 245 seconds]
mre- has joined #ruby
Inline has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
chalkmonster has joined #ruby
crankharder has quit [Ping timeout: 245 seconds]
bsdfd has joined #ruby
Inline has quit [Quit: Leaving]
bsdfd has quit [Remote host closed the connection]
claw has quit [Ping timeout: 246 seconds]
<adam12> Wow. The class_attribute method from activesupport is narly.
claw has joined #ruby
mre- has quit [Ping timeout: 246 seconds]
Inline has joined #ruby
budonyc has joined #ruby
mre- has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
hightower2 has joined #ruby
claw has quit [Ping timeout: 252 seconds]
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r3m_ has quit [Quit: WeeChat 2.7-dev]
r3m has joined #ruby
Ai9zO5AP has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
ellcs has quit [Ping timeout: 252 seconds]
stryek has joined #ruby
hiroaki has joined #ruby
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claw has joined #ruby
mre- has quit [Ping timeout: 268 seconds]
banisterfiend has joined #ruby
cd has joined #ruby
ellcs has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hiroaki has quit [Ping timeout: 258 seconds]
grilix has quit [Ping timeout: 245 seconds]
sameerynho has joined #ruby
crankharder has joined #ruby
Fernando-Basso has joined #ruby
crankharder has quit [Ping timeout: 268 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
yann-kaelig has quit [Quit: yann-kaelig]
fphilipe has joined #ruby
jottr_ has quit [Ping timeout: 276 seconds]
ellcs has quit [Ping timeout: 276 seconds]
hightower3 has joined #ruby
Esa_ has quit [Read error: Connection reset by peer]
Esa has joined #ruby
hightower2 has quit [Ping timeout: 240 seconds]
duckpupp- has quit [Quit: ZNC 1.7.4 - https://znc.in]
mre- has joined #ruby
tdy has joined #ruby
duckpuppy has joined #ruby
mre- has quit [Ping timeout: 245 seconds]
duckpuppy has quit [Client Quit]
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
hays_ has joined #ruby
tdy has joined #ruby
<hays_> is there a way to create a block where variables in the block get destroyed? speaking specifically of things like closing sockets
<hays_> or do I need to make a method that passes a block
duckpuppy has joined #ruby
robotcars has left #ruby [#ruby]
budonyc has quit [Ping timeout: 240 seconds]
kotisky has joined #ruby
brool has joined #ruby
KeyJoo has quit [Quit: KeyJoo]
budonyc has joined #ruby
mahlon has joined #ruby
mre- has joined #ruby
sputnik13 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drincruz has quit [Ping timeout: 265 seconds]
greengriminal has quit [Quit: Leaving]
kotisky has quit [Ping timeout: 260 seconds]
cnsvc has quit [Ping timeout: 260 seconds]
iNs has quit [Ping timeout: 260 seconds]
galaxie has quit [Ping timeout: 260 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Fernando-Basso has quit [Remote host closed the connection]
davidw_ has quit [Ping timeout: 240 seconds]
<baweaver> hays Unless you wrap the block not really
jottr_ has joined #ruby
<baweaver> I'd make a method that takes a block and yields the socket to it
<baweaver> def m(&fn) socket = v; yield socket; socket.close end
sagax has quit [Ping timeout: 268 seconds]
<baweaver> Something like that, just wrap the function with the connection logic
tdy has quit [Ping timeout: 245 seconds]
fphilipe has quit [Ping timeout: 246 seconds]
jottr_ has quit [Ping timeout: 258 seconds]
iNs has joined #ruby
cnsvc has joined #ruby
kotisky has joined #ruby
galaxie has joined #ruby
davidw_ has joined #ruby
nowhereman has joined #ruby
ramfjord has quit [Read error: Connection reset by peer]
mre- has quit [Ping timeout: 265 seconds]
ramfjord has joined #ruby
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sputnik13 has joined #ruby
sameerynho has quit [Ping timeout: 240 seconds]
schne1der has quit [Ping timeout: 265 seconds]
s2013 has joined #ruby
hays_ has quit [Ping timeout: 260 seconds]
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sputnik13 has joined #ruby
mahlon has quit [Quit: WeeChat 2.5]
mahlon has joined #ruby
brool has quit [Ping timeout: 246 seconds]
ramfjord has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
witlesswonder has joined #ruby
blackmesa1 has quit [Ping timeout: 246 seconds]
budonyc has quit [Quit: Leaving]
murarisumit has joined #ruby
crankharder has joined #ruby
queip has quit [Ping timeout: 245 seconds]
banisterfiend has joined #ruby
queip has joined #ruby
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sputnik13 has joined #ruby
dviola has joined #ruby
robscomputer has joined #ruby
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has quit [Quit: WeeChat 2.6]