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]
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?
<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]
<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