havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.2.1, 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/
<ox1eef_> Speaking of rake, TIL that the namespace method can accept a string that describes multiple namespaces (eg namespace("foo:bar") { task(:baz) { } }).
<adam12> rapha: cheers.
<rapha> point in case, ox1eef_. that's a nice TIL :o)
<rapha> adam12: when did you start out with Ruby?
<adam12> rapha: 2005?
sickdyd has joined #ruby
<rapha> oh, woulda thought earlier. that was, what, 1.8?
crankharder has joined #ruby
<rapha> ashamed to admit it was because of rails 0.9 for me...
<adam12> It was 1.8.
<adam12> Tho ruby versioning back then was funny
Jonopoly has quit [Quit: WeeChat 3.0]
sickdyd has quit [Ping timeout: 255 seconds]
sickdyd has joined #ruby
crankharder has quit [Ping timeout: 276 seconds]
<rapha> can still remember when i found out there's a trinary operator and was really happy about that :)
sickdyd has quit [Ping timeout: 268 seconds]
sickdyd has joined #ruby
razetime has joined #ruby
nirvdrum has joined #ruby
moldorcoder7 has quit [Ping timeout: 246 seconds]
grenierm has joined #ruby
jmcgnh has quit [Ping timeout: 255 seconds]
crankharder has joined #ruby
jmcgnh has joined #ruby
crankharder has quit [Ping timeout: 250 seconds]
roshanavand_ has quit [Ping timeout: 246 seconds]
nirvdrum has quit [Quit: nirvdrum]
wk has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
wk has quit [Ping timeout: 276 seconds]
helge has quit [Ping timeout: 255 seconds]
helge has joined #ruby
victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
victori has joined #ruby
wk has joined #ruby
caedmon has joined #ruby
caedmon has quit [Client Quit]
victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
razetime has quit [Quit: See You Space Cowboy]
victori has joined #ruby
nirvdrum has joined #ruby
wk__ has joined #ruby
wk has quit [Ping timeout: 276 seconds]
helge has quit [Ping timeout: 276 seconds]
helge has joined #ruby
wk__ has quit [Ping timeout: 255 seconds]
nirvdrum has quit [Quit: nirvdrum]
nirvdrum has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 250 seconds]
goldfish has quit [Ping timeout: 276 seconds]
ur5us_ has quit [Ping timeout: 250 seconds]
jhass has quit [Ping timeout: 246 seconds]
jhass has joined #ruby
dmn has joined #ruby
awfulhacker has joined #ruby
<awfulhacker> eval
<awfulhacker> .eval
<awfulhacker> .print 2 + 2
<awfulhacker> >> 2 + 2
<ruby[bot]> awfulhacker: # => 4 (https://carc.in/#/r/epy3)
nirvdrum has quit [Quit: nirvdrum]
<awfulhacker> >>a = ""; [78, 73, 71, 71, 69, 82].each {|x| a += x.chr};print a;
<ruby[bot]> awfulhacker: # => NIGGERnil (https://carc.in/#/r/epy4)
<awfulhacker> a = ""; [78, 73, 71, 71, 69, 82].each {|x| a += x.chr};puts a;
<awfulhacker> >> a = ""; [78, 73, 71, 71, 69, 82].each {|x| a += x.chr};puts a;
<ruby[bot]> awfulhacker: # => NIGGER ...check link for more (https://carc.in/#/r/epy5)
<awfulhacker> >> a = ""; [78, 73, 71, 71, 69, 82].each {|x| a += x.chr};puts a;
<ruby[bot]> awfulhacker: # => NIGGER ...check link for more (https://carc.in/#/r/epy6)
<awfulhacker> the bot is saying bad words
<awfulhacker> naughty bot
Al2O3 has quit [Ping timeout: 250 seconds]
Al2O3 has joined #ruby
razetime has joined #ruby
annive1 has joined #ruby
Mikaela has quit [Remote host closed the connection]
Mikaela has joined #ruby
crespire has quit [Killed (NickServ (GHOST command used by crespire1))]
crespire1 has joined #ruby
crespire has joined #ruby
annive1 has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
crespire1 has quit [Ping timeout: 256 seconds]
awfulhacker has quit [Quit: Client closed]
Myrtales_ has joined #ruby
Myrtales has quit [Ping timeout: 248 seconds]
crankharder has joined #ruby
teclator has joined #ruby
crankharder has quit [Ping timeout: 248 seconds]
_ht has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 248 seconds]
desnudopenguino1 is now known as desnudopenguino
konsolebox has joined #ruby
konsolebox has quit [Remote host closed the connection]
razetime has quit [Ping timeout: 255 seconds]
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
Al2O3 has quit [Ping timeout: 246 seconds]
konsolebox has joined #ruby
ur5us_ has joined #ruby
razetime has joined #ruby
roshanavand_ has joined #ruby
ccapndave has joined #ruby
grenierm has quit [Ping timeout: 260 seconds]
razetime has quit [Quit: See You Space Cowboy]
ccapndave has quit [Quit: Textual IRC Client: www.textualapp.com]
infinityfye has joined #ruby
<jhass[m]> !troll awfulhacker
ur5us_ has quit [Ping timeout: 248 seconds]
roshanavand_ has quit [Ping timeout: 246 seconds]
lovewo29 has joined #ruby
lovewo29 has quit [Client Quit]
Linux_Kerio has joined #ruby
tomtmym has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
konsolebox has quit [Quit: Leaving]
crankharder has joined #ruby
moldorcoder7 has joined #ruby
crankharder has quit [Ping timeout: 250 seconds]
<ox1eef_> rapha: 'task("foo:bar:baz") { }' works, too.
crankharder has joined #ruby
crankharder has quit [Ping timeout: 268 seconds]
roshanavand_ has joined #ruby
<ox1eef_> Tbh rake feels like a work of art that I never appreciated properly.
roshanavand_ has quit [Ping timeout: 248 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 246 seconds]
c10l has quit [Ping timeout: 265 seconds]
stirl has joined #ruby
sickdyd has quit [Ping timeout: 255 seconds]
shokohsc has joined #ruby
otisolsen70 has joined #ruby
xuochi has joined #ruby
sickdyd has joined #ruby
shokohsc5 has joined #ruby
sickdyd has quit [Ping timeout: 246 seconds]
shokohsc has quit [Ping timeout: 252 seconds]
shokohsc5 is now known as shokohsc
sickdyd has joined #ruby
razetime has joined #ruby
xuochi has quit [Quit: leaving]
xuochi has joined #ruby
dviola has quit [Ping timeout: 276 seconds]
dviola has joined #ruby
sickdyd has quit [Ping timeout: 268 seconds]
dviola has left #ruby [WeeChat 3.7.1]
dviola has joined #ruby
sickdyd has joined #ruby
stirl has quit [Quit: stirl]
stirl has joined #ruby
sickdyd has quit [Ping timeout: 276 seconds]
cek has joined #ruby
Sankalp has quit [Ping timeout: 255 seconds]
razetime has quit [Quit: See You Space Cowboy]
Sankalp has joined #ruby
stirl has quit [Ping timeout: 256 seconds]
sickdyd has joined #ruby
c10l has joined #ruby
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
dmn has quit [Quit: Client closed]
hrberg has joined #ruby
donofrio__ has joined #ruby
donofrio_ has quit [Ping timeout: 256 seconds]
BDFOC has quit [Ping timeout: 260 seconds]
BDFOC has joined #ruby
hansolo has quit [Ping timeout: 276 seconds]
xuochi has quit [Remote host closed the connection]
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 255 seconds]
desnudopenguino1 is now known as desnudopenguino
overti38 has joined #ruby
goldfish has joined #ruby
overti38 has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
<caleb> wrt Rake, Rest in Peace Jim
<weaksauc_> anyone have a low github userid?
<weaksauc_> mine is < 100k
<weaksauc_> https://api.github.com/users/<enterusername>
<caleb> sadly I deleted the one I made in 2009 and made my current one in 2011
<caleb> I had already burnt my one name change and wanted a new username
<weaksauc_> yeah the one i use now mainly is like 20million
<weaksauc_> kinda interesting to see though none the less
<caleb> current one 925716
stirl has joined #ruby
<caleb> wonder what my sourcehut one is
<adam12> 17083
<adam12> "created_at": "2008-07-15T03:55:05Z", Seems right.
<caleb> beautiful
<caleb> I was a year behind registering caleb
<caleb> but I did manage to get it here, sourcehut, and ruby.social
<weaksauc_> nice
<weaksauc_> yeah i created mine in mid 2009
infinityfye has quit [Quit: Leaving]
<adam12> We were just talking about ICQ #s on an engineering call today
<adam12> And how everyone knew their ICQ numbers by heart. I still know mine, ~ 25 years later.
<adam12> Low Slashdot.org uid's used to be a flex, back when Slashdot was a thing. I ran into many a nerds flexing on their id. lol.
<weaksauc_> hah
<caleb> I didn't get internet until I was 16, but I know my home phone number from 1992 by heart
<adam12> caleb: I ran a BBS for a while, and still remember that phone # as if it was yesterday.
<adam12> Tho I forgot the Fidonet node #
<adam12> Numbers are funny. I feel that's some of the complains about IPv6 adoption. People can't just remember 4.2.2.2 as their DNS server.
<caleb> I think the average point people start losing precision in their head is around 7
<caleb> so maybe we should've originally made IPs space 6, 3 digit sections
<caleb> just big enough to have more space, just small enough that if you tried hard enough or had good sequences it'd still be easy to remember
<ox1eef_> I kinda miss the days when GitHub when it wasn't a corporate product. It seemed more human back then.
<ox1eef_> I guess we still have GitLab, though.
<caleb> Chris Wanstrath did the eng dream
<ox1eef_> For sure.
<caleb> built a tech business, then fucked off with fuck you money
<adam12> LOL.
<caleb> never to commit again
<adam12> Back with GitHub was a social coding website.
<johnjaye> Gitlab is literally a corporation. GitLab Inc.
<adam12> With DMs.
<johnjaye> they employ 1300 people
<caleb> oh man, github did used to have messaging that's right
<caleb> and it's own rubygem host
<adam12> The gem hosting feature was great.
<adam12> The new "feed" on Github seems to have pushed a lot of the social aspects away, at least for my feed. The new feed is quite boring, where as the old feed shows all my followers liking projects I might find interesting.
<adam12> s/followers/followees/
<caleb> I'm not sure I've ever actually used the follower and feed features
splud is now known as chatgpt
victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
<caleb> I did start listening to The Changelog podcast in 2010 when it was on the explore page or whatever it was at the time
<adam12> The Changelog has been running _forever_ it seems.
<ox1eef_> GitHub was a corp when run by Chris & Co too. But it was a human effort. There's nothing more faceless than Microsoft. At least to me.
chatgpt is now known as splid
splid is now known as splud
<caleb> I'd love to read a book on the history of GitHub's flat managerless setup through the years
<caleb> and how it ended up moving to what it was right before the acquisition
<ox1eef_> IIRC it was abandoned, even before the sale.
<ox1eef_> I think when Microsoft acquired them everything changed, because almost nobody stayed behind.
victori has joined #ruby
sickdyd has quit [Ping timeout: 246 seconds]
<adam12> Be neat to see even some of the OG Githubbers current status. I'm sure Chris is on an island somewhere, but what about Ryan Tomayko? Wasn't he like employee 4 or something? Maybe he has an island too.
<caleb> I think Tom Preson Warner started a venture firm and redwoodjs
<adam12> That sounds right.
<caleb> dunno about anyone else
victori has quit [Client Quit]
<ox1eef_> Even if I became a billionaire I'd still write code. I think Chris was just sick of being in the public eye all the time. Total guess, though.
<caleb> I wouldn't be surprised if he contributes to or own a couple rubygems under a pseudonym
<adam12> And _why.... how's _why I wonder..
<johnjaye> ox1eef_: well then you just appoint a successor and control the company from prison, like the head of the Genovise mafia family
victori has joined #ruby
<adam12> ox1eef_: I'd still code too, but I can see how a ton of bureaucracy can kill the passion for coding.
<ox1eef_> Indeed. It wasn't without its drama.
<weaksauc_> tom started up https://chatterbug.com/en/
<weaksauc_> how does one get a last name like Clinkenbeard
<caleb> probably got it from their parents ba dum tss 🥁
<weaksauc_> heh
<ox1eef_> Could be a case of lost in translation.
<ox1eef_> Ancestors of Donald Trump came to America as Trumpf.
<weaksauc_> maybe her ancestors were singing barbers
<ox1eef_> xD
sickdyd has joined #ruby
desnudopenguino has quit [Read error: Connection reset by peer]
desnudopenguino has joined #ruby
dannyAAM has quit [Ping timeout: 248 seconds]
gr33n7007h has quit [Ping timeout: 276 seconds]
dannyAAM has joined #ruby
___nick___ has joined #ruby
appriz27 has joined #ruby
ua__ has joined #ruby
ur5us_ has joined #ruby
appriz27 has quit [Client Quit]
desnudopenguino1 has joined #ruby
ua_ has quit [Ping timeout: 255 seconds]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
desnudopenguino has quit [Ping timeout: 256 seconds]
desnudopenguino1 is now known as desnudopenguino
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
donofrio has joined #ruby
otisolsen70_ has joined #ruby
finsternis has joined #ruby
otisolsen70_ has quit [Remote host closed the connection]
otisolsen70 has quit [Ping timeout: 250 seconds]
ua__ has quit [Ping timeout: 252 seconds]
ua__ has joined #ruby
ox1eef_ has quit [Ping timeout: 248 seconds]
___nick___ has quit [Ping timeout: 256 seconds]
_ht has quit [Quit: _ht]
ox1eef_ has joined #ruby
<ox1eef_> Thank God vultr has an emergency console not dependent on the network settings -_-
hightower2 has joined #ruby
sickdyd has quit [Ping timeout: 265 seconds]
albesp41 has joined #ruby
victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
victori has joined #ruby
victori has quit [Remote host closed the connection]
<leftylink> pandabot rb r = Random.new(858623); 4.times.map { r.rand(65..122).chr }.join
<pandabot> "Ruby" - https://carc.in/#/r/eq4e
<leftylink> 858623 is prime as well
<leftylink> very auspicious
victori has joined #ruby
<myappie> ox1eef_: lol
<myappie> almost lost it all, eh?
<ox1eef_> Yep. Almost locked out. Trying out pf over ipfw and the rules weren't quite right.
<ox1eef_> Definitely prefer pf.
<adam12> ox1eef_: Still amazes me that some providers don't have console access. I am not sure I could do without.
<ox1eef_> Can be the difference between saving a system or having to tear it down and start all over.
albesp41 has quit [Ping timeout: 252 seconds]
sickdyd has joined #ruby
splud is now known as chatgpt
chatgpt is now known as splud
sickdyd has quit [Ping timeout: 250 seconds]
hansolo has joined #ruby
Linux_Kerio has quit [Ping timeout: 250 seconds]
<rapha> ox1eef_: played around with that string-with-colons syntax a bit now. do agree on rake being under-appreciated. for years i used to require fileutils needlessly inside of rakefiles. there's so many little niceties built into it.
<ox1eef_> Yep. I agree. I find it a bit hard to handle complexity though. There's not really a supporting mechanism to extract functionality into.
<ox1eef_> I wish I could pipe the result of one task into another. Like, one task reads a file and returns an object representation of it, then forwards that to the next task.
<rapha> i like to start with a task, then another
<rapha> use namespaces if needed
<rapha> then move things into functions
<rapha> and if it still keeps growing, move the functions into .rb files
<rapha> and if the worst comes to the worst, split up into separate .rake files
<ox1eef_> I solved it (so far) by using lambdas.
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
moldorcoder7 has quit [Quit: %bye mirc%]
moldorcoder7 has joined #ruby
<rapha> oh i see ... got an example of where you wanted to work like that? i'm guessing some sort of data mangling from one format to another to another?
tomtmym has quit [Quit: Gone.]
sickdyd has joined #ruby
<ox1eef_> One sec.
<ox1eef_> It is for generating /etc/rc.conf, /etc/pf.conf, etc - from local ERB files that I can then deploy to my VPS.
stirl has quit [Ping timeout: 246 seconds]
moldorcoder7 has quit [Quit: %bye mirc%]
moldorcoder7 has joined #ruby
teclator has quit [Ping timeout: 248 seconds]
<weaksauc_> kinda reminded me of runbook
<weaksauc_> they have a "capture" thing that is similar
c10l3 has joined #ruby
c10l has quit [Ping timeout: 248 seconds]
c10l3 is now known as c10l
gr33n7007h has joined #ruby
<adam12> ox1eef_: Neat. I've been using rset a lot. http://scriptedconfiguration.org
defectiverobot has joined #ruby