havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.2.0, 3.1.3, 3.0.5, 2.7.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://t.ly/9ua4 | Logs: https://libera.irclog.whitequark.org/ruby/
Sankalp has quit [Ping timeout: 256 seconds]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
lucartc has quit [Remote host closed the connection]
Sankalp has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 272 seconds]
Sankalp- is now known as Sankalp
crankharder has joined #ruby
Sankalp has quit [Ping timeout: 272 seconds]
Sankalp has joined #ruby
markong has quit [Ping timeout: 272 seconds]
crankharder has quit [Ping timeout: 268 seconds]
crax23 has quit [Ping timeout: 246 seconds]
cartdrige has joined #ruby
razetime has joined #ruby
NightMonkey has quit [Ping timeout: 268 seconds]
Linux_Kerio has quit [Ping timeout: 272 seconds]
crax23 has joined #ruby
Y05hito__ has joined #ruby
cartdrige has quit [Ping timeout: 260 seconds]
John_Ivan_ has quit [Read error: Connection reset by peer]
crax23 has quit [Ping timeout: 264 seconds]
razetime1 has joined #ruby
razetime has quit [Read error: Connection reset by peer]
razetime1 is now known as razetime
mooff has quit [Remote host closed the connection]
John_Ivan has joined #ruby
mooff has joined #ruby
caedmon has joined #ruby
razetime1 has joined #ruby
razetime has quit [Ping timeout: 268 seconds]
razetime1 is now known as razetime
moldorcoder7 has quit [Ping timeout: 272 seconds]
dviola has quit [Quit: WeeChat 3.8]
Vonter has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
caedmon has quit [Ping timeout: 268 seconds]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 260 seconds]
caedmon has joined #ruby
crankharder has joined #ruby
mooff has quit [Remote host closed the connection]
crankharder has quit [Ping timeout: 272 seconds]
mooff has joined #ruby
razetime has quit [Ping timeout: 272 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 268 seconds]
caedmon has quit [Quit: caedmon]
plantman2 has joined #ruby
jhass has quit [Ping timeout: 264 seconds]
jhass has joined #ruby
plantman2 has quit [Ping timeout: 246 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
leonthemisfit has quit [Quit: WeeChat 3.6]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 268 seconds]
ollysmith has quit [Ping timeout: 248 seconds]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
ollysmith has joined #ruby
_ht has joined #ruby
tomtmym has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
Michaela has quit [Remote host closed the connection]
Michaela has joined #ruby
razetime has joined #ruby
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Ping timeout: 268 seconds]
razetime1 has joined #ruby
razetime has quit [Ping timeout: 272 seconds]
razetime1 is now known as razetime
razetime1 has joined #ruby
razetime has quit [Ping timeout: 272 seconds]
razetime1 is now known as razetime
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Y05hito__ has quit [Ping timeout: 268 seconds]
jvalleroy has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
reset has quit [Quit: reset]
crankharder has joined #ruby
Michaela has quit [Remote host closed the connection]
Michaela has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
Linux_Kerio has joined #ruby
avemestr has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
aeris has quit [Ping timeout: 255 seconds]
aeris has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
dionysus69 has joined #ruby
<ox1eef_> Anyone have a favorite programming font they can recommend?
<leah2> 6x13
<ox1eef_> I'll take a look - thanks!
<leah2> of you want something scalable, iosevka
<ox1eef_> Looking for pretty, I guess.
razetime has quit [Remote host closed the connection]
<ox1eef_> I saw terminus as a popular option but I think that's not really taking how it looks into consideration. More for combating eye strain I think.
<zaben[m]1> ox1eef_: https://www.codingfont.com
<ox1eef_> Nice! A lot of nice options there.
markong has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
Sankalp has quit [Ping timeout: 272 seconds]
Sankalp has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
Sankalp has quit [Ping timeout: 260 seconds]
Sankalp has joined #ruby
joast has quit [Ping timeout: 268 seconds]
plantman2 has joined #ruby
plantman2 has quit [Ping timeout: 260 seconds]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
Sankalp has quit [Ping timeout: 260 seconds]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
Sankalp has joined #ruby
Sankalp has quit [Ping timeout: 246 seconds]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
Sankalp has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
crankharder has joined #ruby
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 268 seconds]
Sankalp- is now known as Sankalp
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
razetime has joined #ruby
Sankalp has quit [Ping timeout: 265 seconds]
Sankalp has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
cartdrige has joined #ruby
Sankalp has quit [Ping timeout: 252 seconds]
moldorcoder7 has joined #ruby
Sankalp has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
Tempesta has quit [Quit: See ya!]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
Tempesta has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
Sankalp has quit [Ping timeout: 255 seconds]
Sankalp has joined #ruby
Sankalp has quit [Ping timeout: 272 seconds]
Sankalp has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
crankharder has quit [Ping timeout: 265 seconds]
Sankalp has quit [Ping timeout: 260 seconds]
crankharder has joined #ruby
mooff has quit [Remote host closed the connection]
crax23 has joined #ruby
mooff has joined #ruby
cartdrige has quit [Ping timeout: 260 seconds]
Sankalp has joined #ruby
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 264 seconds]
Sankalp- is now known as Sankalp
crankharder has quit [Ping timeout: 264 seconds]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
FullMetalStacker has joined #ruby
crankharder has joined #ruby
Sankalp has quit [Ping timeout: 272 seconds]
Sankalp has joined #ruby
leonthemisfit has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
caedmon has joined #ruby
FullMetalStacker has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
caedmon has quit [Ping timeout: 252 seconds]
mooff has quit [Remote host closed the connection]
c10l has quit [Quit: See ya! o/]
mooff has joined #ruby
c10l has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
<havenwood> ox1eef_: Menlo :P
mdemo has quit [Quit: The Lounge - https://thelounge.github.io]
caedmon has joined #ruby
mdemo has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
caedmon has quit [Ping timeout: 272 seconds]
razetime has quit [Remote host closed the connection]
reset has joined #ruby
mooff has quit [Remote host closed the connection]
<ox1eef_> Does indeed look nice. No shortage of options, that's for sure.
mooff has joined #ruby
mooff has quit [Remote host closed the connection]
ultralan has joined #ruby
mooff has joined #ruby
<crax23> anyone using ruby-opengl?
<crax23> with 2d texturing, to know how you glgentextures(), to pass in the reference after that. Cause there is not much examples online, and the C code cannot be adapted since it's ruby bindings, the one i found don't work it seems.
John_Ivan has quit [Read error: Connection reset by peer]
<crax23> where is the documentation for gem modules on linux?
mooff has quit [Remote host closed the connection]
John_Ivan has joined #ruby
mooff has joined #ruby
aeris has quit [Quit: ZNC - http://znc.sourceforge.net]
aeris has joined #ruby
caedmon has joined #ruby
caedmon has quit [Client Quit]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
crankharder has quit [Ping timeout: 272 seconds]
ultralan has quit [Remote host closed the connection]
crankharder has joined #ruby
_whitelogger has joined #ruby
<FullMetalStacker> Does anyone know if select & reject have a shorthand? I have tried out over 5 alternatives that i could come up with or chatgpt suggested but none would work. i am searching for something like .reject(&:5) to reject all 5 integers.
<FullMetalStacker> intead of .reject { |n| n == 5 }
<FullMetalStacker> *instead
<FullMetalStacker> is it my impression only or has the traffic on this channel dropped a lot since the advent of chatgpt 46 days ago?
markong has quit [Ping timeout: 272 seconds]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
<ox1eef_> I think it is a quiet channel since quite a few years. It was very busy when Rails was hot and happening.
cartdrige has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
<avemestr> It was/is both good and bad that Ruby got so associated with Rails mindshare.
<avemestr> Are people using Sinatra nowadays or do they roll their own when doing web sites in Ruby?
<petru> FullMetalStacker: I think the next step is adding 20-30 chatgpt bots here to keep the conversation alive
mooff has quit [Remote host closed the connection]
cartdrige has quit [Ping timeout: 264 seconds]
mooff has joined #ruby
<adam12> avemestr: I was using Roda but now I have my own "framework" that uses a few external components (like hanami-router).
<adam12> I still use Roda on a lot of projects, and I have one appliance I built for a company that uses Sinatra.
<adam12> FullMetalStacker: Seems to ebb and flow in here. I find weekends generally quiet (but maybe because I am normally not online during weekends either).
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
<ox1eef_> Speaking from personal experience. As far as professional work goes, by and large, everything is Rails.
<ox1eef_> In a personal capacity I would never choose Rails. I think there's far more interesting architectures to piece together from the Ruby ecosystem at large.
aeris has quit [Remote host closed the connection]
<leah2> rails is great if noone else ever touches your codebase :p
aeris has joined #ruby
<ox1eef_> Well. It is not all the fault of rails. It is still a good fit for some feet, not just every foot, and I think it is just trying to be the for every foot. Not even sure what I'm talking about anymore.
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
<ox1eef_> I guess, I am trying to say, it is more complicated than it sounds. The shortcomings of Rails aren't entirely on Rails alone.
<adam12> I was doing a security audit of a fairly new Rails app not too long ago, and was surprised that the story for custom SQL is still fairly horrible.
<adam12> It's the reason I left so long ago; I want Sequel. And I can bring Sequel into Rails but everything is optimized around the blessed stack.
<ox1eef_> I don't think there's a valid excuse to drop down to SQL strings. At the very least there's Arel. To be honest I think sometimes there's a lack of professionalism involved.
<adam12> Unfortunately some joins require it. And IMHO I consider use of Arel a borderline hack.
<ox1eef_> I haven't found a join I couldn't do in Arel so far, and there was one recently that was a bit complicated. I drop down to Arel for complex queries that can't be represented in the standard AR API, and I think there's been progress in turning Arel back into ActiveRecord (Model.from, etc).
<ox1eef_> Not saying Sequel isn't great, it is, but I also think some of the bad patterns you can see in Rails app are being done by inexperienced programmers.
<adam12> I'll agree there too.
<adam12> I'm happy for what Rails did to the industry, but new frameworks like Eventide, Hanami, Ronin, etc. hopefully bring fresh perspective.
<adam12> (that it's not just a 1-trick bootcamp pony)
<ox1eef_> Hopefully but if time has told me anything, it is that they just don't see traction in the professional space.
mooff has quit [Remote host closed the connection]
<adam12> It makes sense. A lot of companies want someone to yell at. Can't yell at Matz.
<ox1eef_> It is not like the tools are not there, and at the ready. Even Rails itself can be modular, and mount other Rack apps, but when do you see it ? For me basically never.
mooff has joined #ruby
<adam12> In some ways I wish Merb was still around. At least it was pushing things forward. Competition and all that.
<leah2> mhm
<ox1eef_> Indeed, and I think it was blended into Rails in the anticipation that it would bring modularlity but I don't think that happened. Monoliths reign supreme.
<adam12> Hanami is super promising. I'm not a _huge_ fan of DI with the service locator but I'm using hanami-router and it's been a treat.
<ox1eef_> I honestly think that modularity requires careful design, and architecting. It carries risks, and you also want experienced developers to being doing it. Monoliths are less risky, everything seems easy at first, and eventually they fall over under their own weight. At that point, they blame Rails.
c10l0 has joined #ruby
c10l has quit [Ping timeout: 256 seconds]
c10l0 is now known as c10l
<adam12> Lately I've been using a bunch of principles from the Doctrine of Usable Objects, and it's made work a lot more enjoyable.
<ox1eef_> Cool +1
<adam12> Some people don't see the benefits but it's made composing and testing objects a lot easier. No dependency locator needed.
<adam12> If you're familiar with James Shore's testing without mocks there's some overlap.
<adam12> leah2: You've seen it all too, haven't you.
<leah2> seen what?
<adam12> leah2: Ruby web
<leah2> old rails codebases :p
<adam12> That too
<leah2> enough to branch into different fields :D
<adam12> :O
<ox1eef_> I don't think there's an absolute truth when it comes to software desugb. These are useful guidelines, but when you start
<adam12> leah2: What field are you in now?
<leah2> mostly clojure :p
<adam12> leah2: Oh noes. :P
<ox1eef_> * When you start judging every piece of code against a checklist, it becomes inflexible and annoying.
<leah2> and more backend than direct web stuff
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
<adam12> ox1eef_: I think it just helps people think of how to architect a collection of collaborative objects.
<ox1eef_> Sure. It is a good guideline, and worth learning, but it shouldn't be a rock you can't move. You have to consider the context, and all the other variables involved.
<adam12> I need to add some sort of chunking or bucketing to gemdocs.org because moving a ton of small files is becoming burdensome. 4264197 files moved so far, and I'm assuming I'm only half or less through.
<adam12> leah2: Do you like Clojure?
<leah2> yeah
<leah2> i'd prefer other lisps but even harder to find a job :p
<ox1eef_> Clojure is a beautiful language on paper but I'm not sure I could love working with the JVM.
mooff has quit [Remote host closed the connection]
<leah2> no i hate the jvm :D
mooff has joined #ruby
<ox1eef_> gemgems.org looks very nice. Do you plan to work on the default yardoc template as well ?
<ox1eef_> gemdocs.org :D
<leah2> docdocs
<ox1eef_> xD
<ox1eef_> I extended the default yardoc template a little for the docs I host myself. The API is a bit weird.
<adam12> ox1eef_: TBH, I think I'm going to try to improve the rdoc theme and switch to generating with rdoc.
cartdrige has joined #ruby
<adam12> ox1eef_: I feel like I'm only fragmenting the community more.
<adam12> I'd like to add support for YARD tags and RBS to rdoc maybe, to make it close to feature parity.
<ox1eef_> The main reason I use YARD is for the @tag feature and its ability to describe code. RBS might change that, indeed.
<adam12> I think the rdoc stuff is a bit weird too. Feels like a lot of it was written in 2004 and then forgotten about.
<ox1eef_> My experience of the YARD template, and API was the same. Maybe not 2004, but a while.
<adam12> Loren still maintains YARD, and I have no idea of competing with rubydoc.info, just that at the time, I was using gems on teams, and the gems would produce 1+ GB of HTML, so on rubydoc.info which generates on-demand, the docs would never build correctly.
<ox1eef_> I host my docs on GitHub pages, inside a nanoc website.
<adam12> So it was scratching my own itch. I have racks and servers, so figured I'd dedicate one to the cause.
<adam12> It's been a fun passion project, but only because I've really done the YAGNI/lazy approach and it's been fun seeing how far I can take it.
<adam12> I didn't have a proper database until Dir.entries became too slow.
<adam12> I'm still moving off btrfs, which has been problematic because rsync takes a week, but now I'm using rclone which is very parallel.
<ox1eef_> I think the template edits I made can be summed up as: set a max-width (i think 768px), and sort the method listing based on where it appears in the source code rather than alphabetically. It gives a little control over what will appear where. I like YARD's @group tag as well, for grouping related methods under a kind of category.
<ox1eef_> You can still bring a lot to the table, rubydoc.info or not. It is the template that needs improved. For example, I don't believe it is responsiveness and it has a few quirks.
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
dviola has joined #ruby
<ox1eef_> I use YARD because while it is not perfect, it provides both the developer and documentation reader with the best experience that's available right now. I would personally be more focused on providing the best documentation rather than being worried about fragmentation - that could lead to stagnation.
<adam12> ox1eef_: Possible, but if my improvements could be made to rdoc or as rdoc plugins, it might help push more people back rdoc and reduce fragmentation.
<adam12> But really, it's just a passion project. Time is scarce as it is.
<adam12> leah2: hrmph is kinda neat. I wonder if it could replace Finnix for me.
Shortstop has joined #ruby
<Shortstop> Can anyone please help me figure out why my project won't deploy on Render.com yet is building just fine locally?
<Shortstop> Its a React with a Ruby on Rails backend with Postgresql database
<Shortstop> Here is the output I'm getting: https://bpa.st/APEMO
<Shortstop> My build script in '/bin/render-build.sh' is this: https://bpa.st/3TRF6
<leah2> adam12: probably, it's a fair bunch bigger. another option is grml
<adam12> leah2: I just notice the ISO size. It would still be OK. I'm going to try it out. I like the built-in ZFS support.
<adam12> Shortstop: On render.com, do you provide a Dockerfile?
<adam12> Shortstop: Share your Gemfile.lock as well.
<Shortstop> adam12 One sec I'll share the repo
<Shortstop> No, it doesn't have a dockerfile for that project
<Shortstop> oh do you think I should destroy the gemfile.lock file and redo bundle install?
<adam12> Shortstop: I just wanted to see if activejob was listed.
<adam12> Shortstop: Do you have a render.yaml?
mooff has quit [Remote host closed the connection]
<Shortstop> No, I don't have a render.yaml
<Shortstop> For now, I destroyed the gemfile.lock file, and used the 'bundle install' command, and pushed my latest changes
<Shortstop> redeploying now to see if that helps with a new instance
<adam12> Try uncommenting that line and see.
mooff has joined #ruby
<adam12> But my guess is, Render.com is pre-loading everything (which makes sense in prod) and you have a file that's getting loaded that you never use in development. So you never see the error locally.
<adam12> I thought there was a Rake task you could call to verify it in development but I am not sure of it off the top of my head.
<adam12> bin/rails zeitwerk:check
<adam12> Bbl.
<Shortstop> Damn
<Shortstop> just checked the build, that didn't fix it either
<Shortstop> what the heck is going on with this project
mooff has quit [Remote host closed the connection]
<Shortstop> my previous idea to just remove the gemfile.lock and bundle install didn't work, is what I mean*
mooff has joined #ruby
<ox1eef_> adam12: I feel that. Many things I'd like to do, and little spare time to do them. Gotta pick, and choose.
_ht has quit [Remote host closed the connection]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
ruby_newbie has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
ruby_newbie has quit [Ping timeout: 260 seconds]
Shortstop has quit [Quit: Connection closed]
crankharder has quit [Ping timeout: 255 seconds]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
crankharder has joined #ruby
markong has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
dviola has quit [Quit: WeeChat 3.7.1]
dviola has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
<adam12> ox1eef_: Totally. To be young with infinite time again.
Linux_Kerio has quit [Quit: Konversation terminated!]
Linux_Kerio has joined #ruby
<ox1eef_> =]
Linux_Kerio has quit [Ping timeout: 252 seconds]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
tomtmym has quit [Quit: Gone.]
white_magic has joined #ruby
reset has quit [Quit: reset]
mooff has quit [Remote host closed the connection]
mooff has joined #ruby