jhass[m] changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.2, 3.0.4, 2.7.6: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
markong has quit [Ping timeout: 276 seconds]
ur5us has quit [Ping timeout: 255 seconds]
<RickHull> oh noes, mruby doesn't have Vector nor a mgem for it
jpn has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 256 seconds]
Rounin has quit [Ping timeout: 256 seconds]
novapy has joined #ruby
emcb541 has joined #ruby
emcb54 has quit [Ping timeout: 248 seconds]
emcb541 is now known as emcb54
dionysus69 has quit [Ping timeout: 246 seconds]
ur5us has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 256 seconds]
sympt0 has joined #ruby
sympt has quit [Ping timeout: 276 seconds]
sympt0 is now known as sympt
mahlon has quit [Ping timeout: 248 seconds]
RickHull has quit [Ping timeout: 276 seconds]
typeof[panda] has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 246 seconds]
novapy has quit [Ping timeout: 256 seconds]
meimeix is now known as meimei
meimei is now known as meimeix
meimeix is now known as meimei
meimei has quit [Remote host closed the connection]
meimeix has joined #ruby
meimeix is now known as meimei
meimei is now known as meimeix
meimeix has quit [Remote host closed the connection]
meimei has joined #ruby
John_Ivan has quit [Ping timeout: 256 seconds]
rvalue has quit [Remote host closed the connection]
rvalue has joined #ruby
Ziyan has joined #ruby
s-liao-2000 has quit [Quit: Client closed]
dynab has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
_whitelogger has joined #ruby
Thanzex has quit [*.net *.split]
polishdub has quit [*.net *.split]
r0bby has quit [*.net *.split]
rubin55 has quit [*.net *.split]
frodl has quit [*.net *.split]
Caius has quit [*.net *.split]
phryk has quit [*.net *.split]
Milos has quit [*.net *.split]
rubin55 has joined #ruby
frodl has joined #ruby
polishdub has joined #ruby
Caius has joined #ruby
Thanzex has joined #ruby
Milos has joined #ruby
phryk has joined #ruby
r0bby has joined #ruby
foxxx0 has quit [*.net *.split]
havenwood has quit [*.net *.split]
M13k[m] has quit [*.net *.split]
fcser has quit [*.net *.split]
M1ll173r47[m] has quit [*.net *.split]
andrea[m]1234 has quit [*.net *.split]
sixecho has quit [*.net *.split]
integral has quit [*.net *.split]
joenoon has quit [*.net *.split]
alexisg has quit [*.net *.split]
llua has quit [*.net *.split]
fcser has joined #ruby
alexisg_ has joined #ruby
joenoon has joined #ruby
integral has joined #ruby
havenwood has joined #ruby
llua has joined #ruby
alexisg_ is now known as alexisg
foxxx0 has joined #ruby
thewaves has joined #ruby
jpn has joined #ruby
Sankalp has quit [Ping timeout: 248 seconds]
jpn has quit [Ping timeout: 246 seconds]
jpn has joined #ruby
M13k[m] has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
jpn has joined #ruby
Sankalp has joined #ruby
andrea[m]1234 has joined #ruby
mahlon has joined #ruby
ralu17 has joined #ruby
legahc- has joined #ruby
bougyman_ has joined #ruby
Spitfire_ has joined #ruby
M1ll173r47[m] has joined #ruby
Sankalp has quit [Ping timeout: 256 seconds]
sixecho has joined #ruby
perrierjouet has quit [Ping timeout: 272 seconds]
legahc has quit [Ping timeout: 272 seconds]
legahc- is now known as legahc
Spitfire has quit [Ping timeout: 272 seconds]
jimeh has quit [Ping timeout: 272 seconds]
IsoLinCHiP has quit [Ping timeout: 272 seconds]
ralu1 has quit [Ping timeout: 272 seconds]
bougyman has quit [Ping timeout: 272 seconds]
ralu17 is now known as ralu1
jimeh_ has joined #ruby
jimeh_ is now known as jimeh
Sankalp has joined #ruby
davidw has quit [Ping timeout: 240 seconds]
IsoLinCHiP has joined #ruby
perrierjouet has joined #ruby
jpn has quit [Ping timeout: 256 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 276 seconds]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
seabre_ has quit [Ping timeout: 244 seconds]
s-liao-2000 has joined #ruby
ur5us has quit [Ping timeout: 255 seconds]
sudiptamondal has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 264 seconds]
typeof[panda] has quit [Ping timeout: 252 seconds]
Macintosh0 has joined #ruby
TomyWork has joined #ruby
Ziyan has quit [Ping timeout: 248 seconds]
Ziyan has joined #ruby
wand has quit [Remote host closed the connection]
seabre has joined #ruby
Macintosh0 has quit [Ping timeout: 264 seconds]
sudiptamondal has quit [Ping timeout: 264 seconds]
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sudiptamondal has joined #ruby
A_Dragon has quit [Quit: ZNC - https://znc.in]
Aminda has quit [*.net *.split]
aeris has quit [*.net *.split]
sudiptamondal has quit [Ping timeout: 264 seconds]
Aminda has joined #ruby
A_Dragon has joined #ruby
sudiptamondal has joined #ruby
cl33d has joined #ruby
sudiptamondal has quit [Ping timeout: 264 seconds]
cl33d has quit [Remote host closed the connection]
Ziyan has joined #ruby
aeris has joined #ruby
Rounin has joined #ruby
jpn has joined #ruby
mahlon has quit [Ping timeout: 240 seconds]
jpn has quit [Ping timeout: 248 seconds]
scottgy has quit [Ping timeout: 260 seconds]
cxl has joined #ruby
<cxl> Hi, if I yank a particular version of a gem, is this version number burned for ever or can I re-use it to publish the gem again (with the changes I had forgotten to do the first time around)?
<cxl> on rubygems that is.
onyx_ has joined #ruby
_onyx_ has joined #ruby
seabre has quit [Ping timeout: 268 seconds]
jpn has joined #ruby
onyx_ has quit [Quit: Leaving]
reset has quit [Quit: reset]
ur5us has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
jpn has joined #ruby
dionysus69 has joined #ruby
dynab has joined #ruby
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
Ziyan has joined #ruby
Ziyan_ has joined #ruby
Ziyan has quit [Ping timeout: 248 seconds]
<hnj> I’m trying to find more info on how to use "ruby -i". can anyone point me to docs or examples? what I’m trying to achieve is to add "---" as the first line of all given files if it’s not already there. ATM I have this oneliner: »ruby -e 'foo_lines = File.readlines(ARGV[0]); if (foo_lines[0] != "---\n") then foo_lines.unshift("---\n") end; foo = File.open(ARGV[0], "w"); foo.write foo_lines.join'
<hnj> file.yaml« which works fine for one file and I think with -i could be a lot better.
<hnj> but I don’t understand yet how to work with the file when giving -i
<hnj> »ruby -e 'ARGV.each do |foo| p foo; foo_lines = File.readlines(foo); if (foo_lines[0] != "---\n") then foo_lines.unshift("---\n") end; foo_file = File.open(foo, "w"); foo_file.write foo_lines.join; foo_file.close end' **/*.yaml« seems to work fine but I guess can still be improved. any advice?
typeof[panda] has joined #ruby
markong has joined #ruby
seabre has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
Guest75 has joined #ruby
Guest75 has quit [Quit: Client closed]
Guest75 has joined #ruby
Guest756 has joined #ruby
Guest756 has quit [Client Quit]
Guest75 has quit [Client Quit]
seabre has quit [Ping timeout: 240 seconds]
<ox1eef_> cxl: afaik it still exists for gems which depend on it. you can't truly delete a gem from rubygems once you push it, and that itself is probably going against the grain when it comes to recent law like the GDPR for example.
<ox1eef_> given that, probably easiest to bump the version.
s-liao-2000 has quit [Quit: Client closed]
typeof[panda] has quit [Quit: Client closed]
seabre has joined #ruby
jpn has quit [Ping timeout: 264 seconds]
jpn has joined #ruby
szkl has joined #ruby
jpn has quit [Ping timeout: 246 seconds]
seabre has quit [Ping timeout: 240 seconds]
markong has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
markong has joined #ruby
protektwar has quit [Ping timeout: 268 seconds]
Guest26nakilon has joined #ruby
shiru has joined #ruby
<Guest26nakilon> I took the gem https://github.com/MishaConway/geo3d to rotate vectors; I create a (1,0,0) vector like this: v = Geo3d::Matrix.new ; v[0,0] = 1; then I do v * Geo3d::Matrix.rotation_y(0.1), but it returns  @_11=0.9950041652780257,  @_12=0, @_13=-0.09983341664682815
<Guest26nakilon> i.e. the Z become negative, but why so? if Z axis is looking down and the rotation is supposed to be clock-wise
jpn has joined #ruby
Guest26nakilon has quit [Quit: Client closed]
Guest26nakilon has joined #ruby
jpn has quit [Ping timeout: 246 seconds]
ruby-eval has quit [Ping timeout: 244 seconds]
Guest26nakilon has quit [Quit: Client closed]
jpn has joined #ruby
RickHull has joined #ruby
Guest26nakilon has joined #ruby
<Guest26nakilon> web chat disconnects too much
shiru has quit [Ping timeout: 248 seconds]
<Guest26nakilon> oh wait I'm dumb, that's correct that z is negative
Guest26nakilon has quit [Client Quit]
shiru has joined #ruby
jpn has quit [Ping timeout: 246 seconds]
John_Ivan has joined #ruby
shiru has quit [Quit: Lost terminal]
jpn has joined #ruby
Ziyan_ has quit [Ping timeout: 248 seconds]
Ziyan has joined #ruby
protektwar has joined #ruby
protektwar has joined #ruby
s-liao-2000 has joined #ruby
davidw has joined #ruby
RickHull has quit [Ping timeout: 264 seconds]
teclator has joined #ruby
seabre has joined #ruby
yxhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
seabre has quit [Ping timeout: 246 seconds]
s-liao-2000 has quit [Quit: Client closed]
seabre has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
Aminda has quit [Ping timeout: 268 seconds]
dynab has quit [Remote host closed the connection]
Aminda has joined #ruby
RickHull has joined #ruby
gproto23 has joined #ruby
mahlon has joined #ruby
dionysus69 has joined #ruby
jpn has quit [Ping timeout: 268 seconds]
seabre has quit [Ping timeout: 268 seconds]
moldorcoder7 has quit [Ping timeout: 240 seconds]
moldorcoder7 has joined #ruby
gproto23 has quit [Read error: Connection reset by peer]
sympt0 has joined #ruby
sympt has quit [Ping timeout: 240 seconds]
sympt0 is now known as sympt
jpn has joined #ruby
protektwar has quit [Ping timeout: 268 seconds]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
_ht has joined #ruby
jpn has quit [Ping timeout: 248 seconds]
TomyWork has quit [Quit: Leaving]
jpn has joined #ruby
reset has joined #ruby
jpn has quit [Ping timeout: 248 seconds]
markong has quit [Ping timeout: 240 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 268 seconds]
jpn has joined #ruby
<RickHull> so, uh, no ** operator in mruby
seabre has joined #ruby
<RickHull> oh, hm. maybe not for Rational
jpn has quit [Ping timeout: 268 seconds]
protektwar has quit [Ping timeout: 268 seconds]
seabre has quit [Ping timeout: 240 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 264 seconds]
duds- has joined #ruby
jpn has joined #ruby
Guest4321 has joined #ruby
sympt9 has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
jpn has joined #ruby
sympt has quit [Ping timeout: 240 seconds]
_ht has quit [Ping timeout: 240 seconds]
sympt9 is now known as sympt
davidw_ has joined #ruby
duds- has quit [Ping timeout: 240 seconds]
reset has quit [Ping timeout: 264 seconds]
RickHull has quit [Ping timeout: 268 seconds]
davidw has quit [Ping timeout: 268 seconds]
_ht has joined #ruby
onyx_ has joined #ruby
duds- has joined #ruby
duds- has quit [Remote host closed the connection]
_onyx_ has quit [Ping timeout: 240 seconds]
reset has joined #ruby
_ht has quit [Remote host closed the connection]
wand has joined #ruby
jpn has quit [Ping timeout: 256 seconds]
seabre has joined #ruby
dynab has joined #ruby
Ziyan has quit [Quit: Textual IRC Client: www.textualapp.com]
danjo007 has quit [Quit: danjo007]
danjo007 has joined #ruby
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
ur5us has joined #ruby
foxxx0 has quit [Quit: foxxx0]
foxxx0 has joined #ruby
weaksauce has joined #ruby
Guest602 has joined #ruby
Guest602 has quit [Client Quit]
markong has joined #ruby
jpn has joined #ruby
RickHull has joined #ruby
jpn has quit [Ping timeout: 276 seconds]
Guest4321 has quit [Quit: Leaving]
dionysus69 has quit [Ping timeout: 276 seconds]
michigan has joined #ruby
<michigan> Hey y'all! Anybody know why I'm getting `Validation failed: Category must exist (ActiveRecord::RecordInvalid)` when trying to make a post? Category should exist. It's all namespaced though: https://gist.github.com/basicfeatures/38e33785fef9d9530794f90f5b8d2f0f - Testapp: https://github.com/basicfeatures/HELP_category_must_exist
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
onyx_ has quit [Read error: Connection reset by peer]
dynab has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.0.91)]
scottg489 has joined #ruby
seabre has quit [Ping timeout: 256 seconds]
seabre has joined #ruby