adam12 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 | Logs: https://libera.irclog.whitequark.org/ruby/
markong has quit [Ping timeout: 240 seconds]
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
cartdrige has joined #ruby
wand has quit [Remote host closed the connection]
rndChars has joined #ruby
Rounin has quit [Ping timeout: 252 seconds]
aeris has quit [Ping timeout: 258 seconds]
aeris has joined #ruby
cartdrige has quit [Quit: Leaving]
wand has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
cartdrige has joined #ruby
aeris has quit [Ping timeout: 258 seconds]
aeris has joined #ruby
sickdyd has joined #ruby
cahoots has quit [Ping timeout: 272 seconds]
<sickdyd> I'm losing my mind with a rake task. If I try to access a constant declared in config/initializers/constants.rb I get NameError: uninitialized constant. If I require the constants file, I get a bunch of warning: already initialized constant
<sickdyd> make up your mind boy
<sickdyd> BTW, the uninitialized constant error happens only if I use the constant value at a top level, but it works if it's inside a method
<sickdyd> so many questions
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
cahoots has joined #ruby
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 260 seconds]
cahoots has quit [Ping timeout: 272 seconds]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 252 seconds]
hellstabber has quit [Quit: Connection closed for inactivity]
eddof13 has joined #ruby
crax23 has joined #ruby
Y05hito__ has quit [Ping timeout: 250 seconds]
crax23 has quit [Ping timeout: 272 seconds]
cahoots has joined #ruby
cahoots has quit [Ping timeout: 250 seconds]
cahoots has joined #ruby
cahoots has quit [Ping timeout: 250 seconds]
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jpn has joined #ruby
cahoots has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
cahoots has quit [Ping timeout: 272 seconds]
John_Ivan has quit [Ping timeout: 250 seconds]
grokify has joined #ruby
D_A_N has quit [Ping timeout: 272 seconds]
grokify has quit [Ping timeout: 255 seconds]
D_A_N has joined #ruby
cahoots has joined #ruby
cahoots has quit [Ping timeout: 240 seconds]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
cahoots has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
grokify has joined #ruby
rndChars has quit [Ping timeout: 244 seconds]
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
cartdrige has joined #ruby
arahael has quit [Ping timeout: 260 seconds]
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 252 seconds]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 272 seconds]
crax23 has joined #ruby
jpn has joined #ruby
arahael has joined #ruby
Y05hito__ has quit [Ping timeout: 250 seconds]
jpn has quit [Ping timeout: 246 seconds]
grokify has quit [Remote host closed the connection]
crax23 has quit [Quit: Leaving]
grokify has joined #ruby
reset has quit [Quit: reset]
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
cartdrige has joined #ruby
crax23 has joined #ruby
grokify has quit [Remote host closed the connection]
cartdrige has quit [Ping timeout: 260 seconds]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 260 seconds]
D_A_N has quit [Quit: leaving]
jpn has joined #ruby
_ht has joined #ruby
otisolsen70 has joined #ruby
jpn has quit [Ping timeout: 252 seconds]
cxl has quit [Quit: bye]
walez has joined #ruby
wand has quit [Ping timeout: 258 seconds]
_ht has quit [Remote host closed the connection]
sickdyd has left #ruby [#ruby]
cxl has joined #ruby
Pixi__ has joined #ruby
joast has quit [Ping timeout: 264 seconds]
Pixi` has quit [Ping timeout: 272 seconds]
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
kerunaru has joined #ruby
Furai has quit [Quit: WeeChat 3.7.1]
wand has joined #ruby
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
dviola has left #ruby [WeeChat 3.7]
dviola has joined #ruby
walez has quit [Read error: Connection reset by peer]
walez has joined #ruby
Starfoxxes has quit [Ping timeout: 240 seconds]
TomyWork has joined #ruby
Furai has joined #ruby
dionysus69 has joined #ruby
Starfoxxes has joined #ruby
jpn has joined #ruby
otisolsen70 has quit [Quit: Leaving]
kerunaru has quit [Ping timeout: 250 seconds]
kerunaru has joined #ruby
gr33n7007h has quit [Ping timeout: 268 seconds]
hightower2 has joined #ruby
kerunaru has quit [Ping timeout: 271 seconds]
kerunaru has joined #ruby
hightower2 has quit [Ping timeout: 246 seconds]
otisolsen70 has joined #ruby
hightower2 has joined #ruby
hightower2 has quit [Read error: Connection reset by peer]
dviola has quit [Ping timeout: 272 seconds]
otisolsen70 has quit [Ping timeout: 240 seconds]
perrierjouet has quit [Ping timeout: 252 seconds]
Guest55 has joined #ruby
<Guest55> hello everyone
Guest55 has left #ruby [#ruby]
Guest55 has joined #ruby
Guest55 has quit [Client Quit]
walez has quit [Quit: Leaving]
otisolsen70 has joined #ruby
Y05hito__ has quit [Quit: Leaving]
kerunaru has quit [Remote host closed the connection]
dviola has joined #ruby
markong has joined #ruby
John_Ivan has joined #ruby
Aminda has quit [Remote host closed the connection]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
Aminda has joined #ruby
legit has quit [Quit: WeeChat 3.5]
gr33n7007h has joined #ruby
gr33n7007h has quit [Client Quit]
legit has joined #ruby
rndChars has joined #ruby
gr33n7007h has joined #ruby
some14u has joined #ruby
some14u has quit [Client Quit]
D_A_N has joined #ruby
Sankalp has quit [Ping timeout: 272 seconds]
Sankalp has joined #ruby
Guest97 has joined #ruby
<Guest97> Hi, so is there any built in function or method in ruby to maybe dynamically extend on a two dimensional matrix from the top, left, right and bottom ends?
<Guest97> Thanks
cartdrige has joined #ruby
D_A_N has quit [Quit: Lost terminal]
D_A_N has joined #ruby
cartdrige has quit [Client Quit]
reset has joined #ruby
rvalue has quit [Ping timeout: 272 seconds]
rvalue has joined #ruby
grokify has joined #ruby
cocalero has joined #ruby
grokify has quit [Remote host closed the connection]
jpn has quit [Ping timeout: 250 seconds]
hightower2 has joined #ruby
grokify has joined #ruby
jpn has joined #ruby
hightower2 has quit [Remote host closed the connection]
cocalero has quit [Quit: Going offline, see ya! (www.adiirc.com)]
nmollerup has joined #ruby
eron has joined #ruby
VG9t has joined #ruby
VG9t has quit [Remote host closed the connection]
grokify has quit [Remote host closed the connection]
VG9t has joined #ruby
<havenwood> Guest97: Do you have an example of the input Matrix and desired output?
<havenwood> Matrix[[1, 2], [3, 4]].transpose #=> Matrix[[1, 3], [2, 4]]
<havenwood> Matrix[[1, 2, 3], [3, 4, 5], [6, 7, 8]].transpose #=> Matrix[[1, 3, 6], [2, 4, 7], [3, 5, 8]]
<havenwood> Guest97: Show the result you'd like?
<havenwood> Ah, by "extend" do you mean it grows along all dimensions? What are the new values? I think example input and output will clarify!
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
VG9t has quit [Ping timeout: 258 seconds]
<Guest97> havenwood: Hey, so I meant like let's say
<Guest97> [[5,6],[3,4]] =>[[1,1,1,1],[1,5,6,1],[1,3,4,1],[1,1,1,1]]
<Guest97> Sorry for the late reply and also tia
dionysus69 has quit [Ping timeout: 260 seconds]
cartdrige has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
crax23 has joined #ruby
Y05hito__ has joined #ruby
cartdrige has quit [Ping timeout: 255 seconds]
crax23 has quit [Ping timeout: 250 seconds]
gigamo has quit [Ping timeout: 260 seconds]
gigamo has joined #ruby
Y05hito__ has quit [Ping timeout: 276 seconds]
grokify has joined #ruby
jpn has quit [Ping timeout: 272 seconds]
jpn has joined #ruby
grokify has quit [Remote host closed the connection]
idkwtf has joined #ruby
<idkwtf> Hey gang!
<idkwtf> When he says: Perhaps you can print out the values being passed around in https://github.com/glebm/i18n-tasks/blob/main/lib/i18n/tasks/translators/base_translator.rb to debug this?
<idkwtf> He essentially means putting a bunch of puts "#{ this }: #{ <value> }" or whatever inside each method? Or is there a tool that can do this for me?
Fusl has quit [Ping timeout: 252 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<idkwtf> I've only done debugging with Pry before in Rake tasks (cheers to adam12), I assume that's not what he's after here.
<idkwtf> havenwood: Regarding minification of ones HTML output, guess what I found stashed in one of my old unused apps:
<idkwtf> I think one of you guys must have written it or something :shrug:
grokify has joined #ruby
grokify has quit [Ping timeout: 240 seconds]
Guest97 has quit [Quit: Client closed]
hellstabber has joined #ruby
<adam12> idkwtf: If you can make a small reproduction, you could use the new debug.gem
Fusl has joined #ruby
<adam12> idkwtf: There's a command that allows you to watch variables, and also a way to print an outline of all variables. So you could: setup repro, tell debug to print all local variables, then step through the code. Maybe it will let you see when the piece changes.
<adam12> I didn't read the github issue but I'm assuming that's what you're trying to figure out?
<idkwtf> Yes! Sounds exactly like it
<idkwtf> It's basically I18n-tasks failing to translate the entirety of my .yml locales :/
<idkwtf> Small reproduction of the gem or the app that uses it?
Guest97 has joined #ruby
<adam12> idkwtf: Ideally you can simulate teh calls in a small script that are causing your issues... but if that's not true, you could use your app.
<adam12> But you'd need to know where to setup your first breakpoint.
<idkwtf> Sounds hard since so many things are involved
<idkwtf> A quick and easy demo app shouldn't be a problem though
joast has joined #ruby
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
eron has quit [Quit: Client closed]
markong has quit [Ping timeout: 252 seconds]
grokify has joined #ruby
gschanuel has joined #ruby
grokify has quit [Ping timeout: 246 seconds]
_ht has joined #ruby
Vonter has quit [Quit: WeeChat 3.7]
cocalero has joined #ruby
cocalero_ has joined #ruby
a7tism has joined #ruby
<adam12> 2022-10-28T18:58:41.549276307Z app[worker.1]: Work job Gemdocs::Jobs::Build with ["fhakfjds", "0.0.3"]
<adam12> wat
Guest96 has joined #ruby
Guest96 has left #ruby [#ruby]
wand has quit [Ping timeout: 258 seconds]
cocalero has quit [Quit: Going offline, see ya! (www.adiirc.com)]
cocalero_ is now known as cocalero
Guest97 has quit [Quit: Client closed]
polishdub has quit [Remote host closed the connection]
wand has joined #ruby
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
<idkwtf> Job well done lol
<adam12> idkwtf: Check out that gem name :P
cahoots has quit [Quit: leaving]
walez has joined #ruby
cocalero has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<idkwtf> Sounds good :)
_73 has left #ruby [ERC (IRC client for Emacs 27.2)]
hellstabber has quit [Quit: Connection closed for inactivity]
TomyWork has quit [Remote host closed the connection]
NightMonkey_ has joined #ruby
NightMonkey has quit [Ping timeout: 272 seconds]
NightMonkey_ is now known as NightMonkey
desnudopenguino has quit [Quit: desnudopenguino]
_ht has quit [Remote host closed the connection]
desnudopenguino has joined #ruby
Exa has quit [Quit: see ya!]
D_A_N has quit [Quit: leaving]
Exa has joined #ruby
D_A_N has joined #ruby
polishdub has joined #ruby
some14u has joined #ruby
some14u has quit [Client Quit]
hightower2 has joined #ruby
Guest97 has joined #ruby
<Guest97> Hey, whenever I try to include another ruby class in require it gives me an error: `.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'`
idkwtf has quit [Quit: Lost terminal]
wand has quit [Ping timeout: 258 seconds]
wand has joined #ruby
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
otisolsen70 has quit [Quit: Leaving]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
<sam113101> Guest97: show code
Sankalp has quit [Ping timeout: 272 seconds]
<Guest97> sam113101: Hey fixed the issue
acosta has quit [Quit: The Lounge - https://thelounge.chat]
acosta has joined #ruby
acosta has quit [Client Quit]
walez has quit [Ping timeout: 240 seconds]
Sankalp has joined #ruby
acosta has joined #ruby
pyrex has joined #ruby
markong has joined #ruby
matoro has quit [Quit: ZNC 1.8.2 - https://znc.in]
cartdrige has joined #ruby
crax23 has joined #ruby
crax23 has quit [Remote host closed the connection]
cartdrige has quit [Ping timeout: 272 seconds]
perrierjouet has joined #ruby
ur5us has joined #ruby