<apotheon>
I meant someone actually paying attention to this channel. I was pretty sure *someone* was using it that way.
<apotheon>
. . . but I hadn't noticed the related projects thing, so that's cool to see.
al2o3-cr has joined #ruby
<al2o3-cr>
apotheon: you're a fucking blow job, seriously.
al2o3-cr was banned on #ruby by jhass [*!*@unaffiliated/gr33n7007h]
al2o3-cr was kicked from #ruby by jhass [al2o3-cr]
greypack has joined #ruby
ChmEarl has quit [Quit: Leaving]
greypack has quit [Ping timeout: 264 seconds]
skape has quit [Quit: Connection closed for inactivity]
greypack has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roadie has joined #ruby
bsdband56 has quit [Read error: Connection reset by peer]
<FrankyCyborg>
interesting.. after installing so many software packages (thousands) for so many languages etc. on so many machines, according to my statistics file, perl and ruby are the ones, which simply work (in terms of being installable without being a pain in the ass) as it's supposed to be; while python software for example is quite often completely borked. And yet, this channel is quiet like a grave in contrast to the python channel.. as if
<FrankyCyborg>
"evolution" and/or "discussion" is not required, because... it works.
bsdbandit-01 has joined #ruby
<adam12>
FrankyCyborg: Conversation in here definitely ebbs and flows. In can be quiet for a few days straight and then a fury of discussion.
<FrankyCyborg>
hmm, ok.. otherwise, I may have thought, that the ecosystem of ruby is not so much flooded by amateurs!?
roadie has quit [Ping timeout: 272 seconds]
<FrankyCyborg>
don't get me wrong, just because someone is asking a question, doesn't qualify for me, being an amateur - of course not. But I just hit an error while trying to install a python module, which utterly failed and after some research found one of the related discussions https://github.com/pypa/setuptools/issues/1916 and, well... I think the python ecosystem is broken beyond repair for many reasons and one of them are people making unsoun
<FrankyCyborg>
decisions in software, which is a dependency for most other software.. *sigh*
roadie has joined #ruby
mrbignum has joined #ruby
greypack has quit [Quit: All your IRC are belong to ZNC]
<jhass>
IME IRC/Freenode is generally much quieter these days than even a couple of years ago. For to me unfathomable reasons people are moving to Slack/Gitter/Discord, maybe even more so in the Ruby community.
<jhass>
I don't think you're entirely wrong with the "newcomer" bit, but would frame it as people having a different background, much more often a sciency and/or nerdy one in Python, vs a more buisness oriented one in Ruby
BSaboia has joined #ruby
<jhass>
but let's be real, in absolute numbers of users and projects, Python is just bigger
roadie has quit [Ping timeout: 272 seconds]
ur5us has quit [Ping timeout: 260 seconds]
<FrankyCyborg>
true
gix has quit [Ping timeout: 256 seconds]
CyberNekroRezus has quit [Ping timeout: 256 seconds]
adu has joined #ruby
<apotheon>
jhass: I see a lot of people with businessy attitude in Python, and many in Ruby who are there just for the sheer joy of it.
<apotheon>
jhass: In fact, in northern Colorado, the most biz-bro programmers all seem to be more Python-oriented, and the more gonzo speed-metal-coding types are inclined toward Ruby.
<jhass>
Of course, I never claimed exclusivity of one group to one of the languages, that'd be stupid. I was rather speaking of my perception of tendencies
<apotheon>
(ignoring the Go gonzo blockchain-bro coders)
mangoicedtea has quit [Remote host closed the connection]
<apotheon>
Yeah, I'm speaking of my perceptions along those lines.
<jhass>
the django community is quite comparable to the rails one
<jhass>
but I think pysci and rubysci are just not comparable
<apotheon>
sadly true
<apotheon>
I think that's because people whose main thing in school was science are probably more imperative-leaning than turtles-all-the-way-down OOP-leaning.
<apotheon>
There may also have been some influence from the early days of the millennium when Python people incessantly talked shit about 1.x MRI implementation execution speeds.
<apotheon>
(ignoring the switch to YARV in 1.9.x . . .)
<apotheon>
jhass: About the move away from IRC, I think that got accelerated somewhat by the recent-ish griefer apocalypse.
<apotheon>
(not my stuff, just something I saw a decade or so ago)
<jhass>
I would think it's social reasons. For whyever there were some critical mass among sciency folks that picked up python (probably at a time where Ruby was largely unknown)
<jhass>
and then you'd pick it because your collegue can help you
<jhass>
or you have to learn it for your profs project etc
<apotheon>
At the time I got into Ruby, Python seemed much less visible, and I think that might have been before Python became popular for science stuff.
<a1per>
I grew up my share of speed metal waaaaaay back in the day but not sure if ruby reference has anything to do with it, that's why i though it was hilarious
<jhass>
Idk, I'm only 29 so I have no first-hand perspective of the relevant time
<a1per>
can't type... but sure you figured it out
<apotheon>
Rails was a thing before Django, too.
<jhass>
I certainly discovered python way before ruby
<apotheon>
I discovered Ruby in 2004, I think.
<a1per>
there was a time there were no ruby or python but the conversation for existing languages were still similar so seriously... history repeats
<jhass>
mmh, another aspect actually is GUI programming, lots of Linux GUI applications, especially in the Gnome side of things are actually python
<jhass>
vs virtually none ruby
a1per has quit [Quit: stupid are cocksure, intelligent are full of doubt]
BSaboia has quit [Quit: This computer has gone to sleep]
meinside has joined #ruby
<apotheon>
Yeah, Ruby was kind of a victim of its own success as a web development language.
<apotheon>
. . . kinda like how Logo was a victim of its own success as an educational language.
<apotheon>
Both of them got socially pigeonholed to some degree, and lost some interest they may have garnered in other areas as a result.
<apotheon>
Both of them are highly capable in other areas, but largely ignored there in the general public consciousness.
ur5us has joined #ruby
<apotheon>
. . . and because "educational languages" started getting replaced with "Fisher-Price toy languages", Logo ended up withering away to a significant degree altogether.
roadie has joined #ruby
<apotheon>
These days, anything webdev-y is facing tremendous pressure from ECMAScript, even when ES isn't a very good choice.
mrbignum has quit [Read error: Connection reset by peer]
<jhass>
mabe WASM will be able to do something about that after all
mrbignum has joined #ruby
a1per has joined #ruby
<apotheon>
Huh. RubyConf is older than PyCon.
<apotheon>
. . . by about a year.
<apotheon>
That's slightly amusing, given that Rails' initial release is about a year older than Django's.
cuerbot has joined #ruby
elcuervo has quit [Ping timeout: 256 seconds]
<apotheon>
Actually, it goes 2002: RubyConf; 2003: PyCon and Rails; 2004: Django.
<apotheon>
It's as if Ruby doing something inspired Python to do it, and/or having a first major conference that would become annual and survive for decades created enough interest for people to build and release big web frameworks.
mrbignum has quit [Read error: Connection reset by peer]
mrbignum has joined #ruby
roadie has quit [Ping timeout: 260 seconds]
greypack has joined #ruby
mrbignum has quit [Quit: HydraIRC -> http://www.hydrairc.com <- The professional IRC Client :D]
a1per has left #ruby [#ruby]
jetchisel has joined #ruby
<FrankyCyborg>
i'm in this field since 1976 now and have seen many major shifts (one of the last notables is, that compilers are now more strict and do NOT follow anymore the dogma "the user is always right", but instead "the user must be educated to do it right, because too many out there don't know shit" (with all its advantages and disadvanteges)) and on a "global" scale, right now it seems to be a overall degradation of quality what I can see so
<FrankyCyborg>
far (-> meaning: too many false decisions everywhere)
<FrankyCyborg>
with something like a peak point of "quality" around roughly 2005 ("quality" of course always in the context, what is/was possible around that time)
<FrankyCyborg>
maybe a little bit difficult to explain
greypack has quit [Quit: All your IRC are belong to ZNC]
<apotheon>
I think I get what you're saying.
<FrankyCyborg>
it's like: for every thing done right, right now, almost 2 things are not done right
<FrankyCyborg>
and this can become a cascade, leading to an overall degeneration
<FrankyCyborg>
(of almost everything, including loosing our freedom (of choice))
<Caerus>
I too would like to know why people are moving away from irc to slack/discord etc. I first thought it was the ip thing, but that's easy to overcome. I guess it could be pinned to a generational thing? embedded memes and whatnot.
<FrankyCyborg>
for example, I don't like it, if the authors (or worse, someone) make changes to a working software, just for the cause of change - I mean, why not leave a working tool alone? this kind of "it's done" culture seems be found today mostly in perl (5) and ruby, for example
<FrankyCyborg>
-someone +someone else
<apotheon>
People like sharing images and clicking buttons in their UIs these days, and businesses got to those things in a more polished way before open source development of IRC clients supported them.
<apotheon>
That's probably part of it.
<FrankyCyborg>
must be a generational thing.. I prefer in IRC, NOT to be distracted by cat videos or emoticons
<apotheon>
yep
<FrankyCyborg>
doesn't matter, if i'm using it for work or not
<apotheon>
There's some of that, too.
<apotheon>
There are many reasons.
drincruz has joined #ruby
<jhass>
I think it's also that more and more workplaces make use of it, so people are more used to it
<jhass>
"it" = Slack, mostly
<apotheon>
People also like having full access to all logs from within the client at all times, so that the centralized server architecture acts like a bouncer in a way.
<jhass>
never underestimate the mere exposure effect
<FrankyCyborg>
it seems, after all, ADS / ADHS is really a thing for the younger ones.. the grand-children of my siblings are on cold turkey, when they don't have their phones/tables for more than an hour and can NOT make any decisions in the real world.. it really worries them (my siblings, not the parents)
jetchisel has quit [Ping timeout: 256 seconds]
<apotheon>
Businesses are also more inclined to pay someone else to host things than to host those things themselves, if they aren't core to the business model, and when a corporation wants to make money off communications it wants the communications platform to have some lock-in features, so using an open standard like IRC isn't their first choice -- which means the first serious, successful attempts to
<apotheon>
market this kind of thing to businesses probably came from corporations peddling IRC-like things with lock-in features.
<jhass>
still, these OSS projects/communities running "we invite anybody" slacks is just beyond me
<apotheon>
Yeah, that seems pretty contrary to the whole open source ethos.
<apotheon>
. . . but these are people who basically "grew up" in their careers on Slack and Teams and whatnot, so they have an investment of familiarity, which turns into an investment of ego-identification with their decisions made when they weren't exposed to more open options.
<apotheon>
basic human psychology
<apotheon>
ex-post-facto rationalization about IRC being "old" and "outdated"
<Caerus>
how so? if it's a support channel then by all means an 'invite anybody' channel is basically a sub for irc channel. Is it not?
<apotheon>
I don't know what you're asking.
<jhass>
point is the fact that you have to invite should give you pause on whether you got the right tool for the job
<Caerus>
"Yeah, that seems pretty contrary to the whole open source ethos."
<Caerus>
nvm, I guess I misunderstood.
bambanx has quit [Quit: Leaving]
<apotheon>
Caerus: Using a closed-source, proprietary, centralized communication tool that all runs through one organization, subject to its rules that may change at a whim in ways that have nothing at all to do with open source development ethos, seems contrary to the open source ethos.
<jhass>
I mean even just pratically, not even ethically
<apotheon>
jhass: agreed
<Caerus>
gotcha, You're right
bruce_lee has quit [Ping timeout: 265 seconds]
bruce_lee has joined #ruby
<Caerus>
To the point of usability. The memes are kinda cluttering. I can say that I learned about A LOT of things that I didn't even know I needed to know, just by looking at this channel's logs hah.
<FrankyCyborg>
I dread the day, when c is abandoned for rust
cthu| has quit [Ping timeout: 240 seconds]
<FrankyCyborg>
this.. behemoth is just.. wrong
<FrankyCyborg>
I can understand the principal ideas behind it, but...
<apotheon>
Rust isn't a suitable replacement, for at least some use cases.
BSaboia has joined #ruby
<Caerus>
went to do that with log hunting with slack, paywall. "To view and search all the messages in your workspace’s history, rather than just the 10,000 most recent, upgrade to one of our paid plans."
<apotheon>
It's closer, in some respects at least, than C++, though.
<FrankyCyborg>
I mean, I have to download 4 gb first and then have a high chance, it simply won't work (from my experience) - what the..? i have the original K&R C book here in my book shelf, and.. while not perfect and the gcc people had to get a kick in their ass by llvm/clang, it's not hard to learn, the tools have matured (especially now in 2020) and most important of all, it works
<FrankyCyborg>
almost the same with haskell, if you try to use ghc (glasgow haskell compiler) - the language is fine and all, but it's self-compiling... you can NOT download the source of it on a clean machine and compile it - no, you have a black box on your machine you have to trust somehow (no way I'll do that) - the solution they told me: fetch an ancient version, that wasn't yet self-compiling and then bootstrap through all versions, until you
<FrankyCyborg>
have the most recent one... !??"=!?=&/(§&$
<FrankyCyborg>
that's not how you do things, if you want your customers/users trust you
<FrankyCyborg>
yea I know - rants from an old geezer
<FrankyCyborg>
*feeling like Perona has hit me with one of her Ghosts*
DaRock has joined #ruby
ttoocs has joined #ruby
braincrash has quit [Quit: bye bye]
greypack has joined #ruby
<jhass>
I mean, what do you compile your initial gcc with?
<FrankyCyborg>
gcc or ghc?
braincrash has joined #ruby
Technodrome has joined #ruby
drincruz has quit [Ping timeout: 256 seconds]
Technodrome has quit [Read error: Connection reset by peer]
<FrankyCyborg>
if you mean ghc, it was compiled with gcc
<jhass>
no, I mean gcc
<FrankyCyborg>
ah, you are taling about the work, when someone wants to bootstrap a new machine today?
<jhass>
your complain is that you need an initial "black box" ghc for initially installing/compiling it. Isn't the same true for gcc or clang?
greypack has quit [Ping timeout: 256 seconds]
<jhass>
(or pretty much any C compiler/self hosted language, fwiw)
<FrankyCyborg>
no - i can use my own C compiler and linker etc. to build gcc and then use that as an initial, minimal host compiler to bootstrap the system
<FrankyCyborg>
ghc should also be shipped as source code that needs to be compiled.. even if a second self-compilation afterwards would be required (I wouldn't have no problem with that)
<FrankyCyborg>
the same goes for rust, which is simply not trust-worthy because of that
<jhass>
you seriously maintain your own C compiler?
DarthGandalf has quit [Remote host closed the connection]
<FrankyCyborg>
don't need to maintain it, as it stayed the same that last 25 years
DarthGandalf has joined #ruby
<FrankyCyborg>
C is not complicated.. I mean, a bootstrapping compiler and linker don't have to be over-optimized - only need to work correctly
<jhass>
where's somebody just starting with computers getting theirs?
batisi[m] has quit [Ping timeout: 246 seconds]
<FrankyCyborg>
either they trust the folks at gcc or llvm/clang or write their own - or use one of the other small footprint c compilers (like TinyCC)
hsiktas[m] has quit [Read error: Connection reset by peer]
finn[m] has quit [Read error: Connection reset by peer]
turt2live has quit [Read error: Connection reset by peer]
danielk43[m] has quit [Remote host closed the connection]
nod0n[m] has quit [Remote host closed the connection]
execat[m] has quit [Remote host closed the connection]
<jhass>
let's face it, what you propose is not realistic for most people
<FrankyCyborg>
what else can I say? I can write in powerpc and x86 assembly my own stuff, if necessary
<FrankyCyborg>
hell, I wrote my own bootloader
<FrankyCyborg>
no, of course not, most will take the route to trust at least GCC or llvm/clang
<jhass>
wanting to do it like you do is very niche. I think it's fair of the GHC people to not spend the effort of maintaining two implementations for that niche
<FrankyCyborg>
and so far, I have never caught them doing anything suspicious
howdoi has quit [Quit: Connection closed for inactivity]
<jhass>
(or any other self-hosted toolchain for that matter)
duderonomy has quit [Ping timeout: 264 seconds]
lightstalker has quit [Ping timeout: 264 seconds]
bsdbandit-01 has quit [Ping timeout: 264 seconds]
vqrs has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Ping timeout: 246 seconds]
<jhass>
a more worthwhile effort may be providing those seed binaries from a auditable reproducible builds lineage going back to the first not self hosted compiler
<FrankyCyborg>
I might be able to live with that approach - but afaik they don't do it
<jhass>
it's still quite some effort. Reproducible builds are hard to get right
vqrs has joined #ruby
duderonomy has joined #ruby
mikecmpbll has joined #ruby
<FrankyCyborg>
which is one of my other main reasons, why the world of computer science is degenerating.. we should have been at that point already in 2010 at least - instead, if I look at https://isdebianreproducibleyet.com/ ... it's a joke
<FrankyCyborg>
maybe i'm too much of an engineer and scientist, seeing what could / should be possible and what's acutally the case
batisi[m] has joined #ruby
lightstalker has joined #ruby
<FrankyCyborg>
in the end, the hardware and software is all math and yet...
<FrankyCyborg>
-is +it's
greypack has joined #ruby
roadie has joined #ruby
bsdbandit-01 has joined #ruby
roadt_ has quit [Ping timeout: 240 seconds]
roadt_ has joined #ruby
impermanence has quit [Ping timeout: 256 seconds]
donofrio has quit [Remote host closed the connection]
adu has quit [Quit: adu]
BSaboia has quit [Quit: This computer has gone to sleep]
rose_nd_ash has joined #ruby
finn[m] has joined #ruby
danielk43[m] has joined #ruby
hsiktas[m] has joined #ruby
execat[m] has joined #ruby
nod0n[m] has joined #ruby
turt2live has joined #ruby
roadt_ has quit [Ping timeout: 260 seconds]
rose_nd_ash has quit [Remote host closed the connection]
roadt_ has joined #ruby
cnsvc has quit [Write error: Connection reset by peer]
_aeris_ has quit [Write error: Connection reset by peer]
iNs_ has quit [Write error: Broken pipe]
Dara has quit [Write error: Connection reset by peer]
iNs has joined #ruby
_aeris_ has joined #ruby
Dara has joined #ruby
cnsvc has joined #ruby
roadie has quit [Ping timeout: 246 seconds]
FrankyCyborg has quit [Quit: The Sleep Monster got me!]
mozzarella has quit [Read error: Connection reset by peer]
Technodrome has joined #ruby
Dara has quit [Quit: WeeChat 2.9]
Dara has joined #ruby
DaRock has quit [Ping timeout: 264 seconds]
gigetoo has quit [Ping timeout: 256 seconds]
gigetoo has joined #ruby
mozzarella has joined #ruby
rose_nd_ash has joined #ruby
DaRock has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has quit [Ping timeout: 260 seconds]
bocaneri has joined #ruby
bocaneri is now known as Sauvin
xco has joined #ruby
roadt_ has quit [Ping timeout: 260 seconds]
roadt_ has joined #ruby
Dara has quit [Read error: Connection reset by peer]
iNs has quit [Remote host closed the connection]
_aeris_ has quit [Remote host closed the connection]
cnsvc has quit [Write error: Connection reset by peer]
schne1der has joined #ruby
roadie has joined #ruby
Dara has joined #ruby
_aeris_ has joined #ruby
iNs has joined #ruby
CyberNekroRezus has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
alexherbo2 has joined #ruby
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo21 has joined #ruby
dfucci has joined #ruby
Technodrome has quit [Ping timeout: 260 seconds]
cnsvc has joined #ruby
alexherbo2 has joined #ruby
alexherbo21 has quit [Read error: Connection reset by peer]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ruby
rose_nd_ash has quit [Ping timeout: 246 seconds]
alexherbo20 has joined #ruby
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo20 is now known as alexherbo2
rose_nd_ash has joined #ruby
roadt_ has quit [Ping timeout: 256 seconds]
roadt_ has joined #ruby
ur5us has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
roadt__ has joined #ruby
roadt_ has quit [Ping timeout: 256 seconds]
rose_nd_ash has quit [Remote host closed the connection]
roadie has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 244 seconds]
alexherbo2 has quit [Ping timeout: 256 seconds]
ur5us has joined #ruby
claudiuinberlin has joined #ruby
alexherbo2 has joined #ruby
fercell has joined #ruby
imode has quit [Ping timeout: 265 seconds]
hsiktas[m] has quit [Quit: killed]
execat[m] has quit [Quit: killed]
finn[m] has quit [Quit: killed]
batisi[m] has quit [Quit: killed]
turt2live has quit [Quit: killed]
nod0n[m] has quit [Quit: killed]
danielk43[m] has quit [Quit: killed]
xco has quit [Ping timeout: 264 seconds]
execat[m] has joined #ruby
rose_nd_ash has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
dfucci has quit [Ping timeout: 265 seconds]
dfucci has joined #ruby
ur5us has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hsiktas[m] has joined #ruby
finn[m] has joined #ruby
turt2live has joined #ruby
nod0n[m] has joined #ruby
jenrzzz has joined #ruby
batisi[m] has joined #ruby
danielk43[m] has joined #ruby
duderonomy has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
chalkmonster has quit [Quit: WeeChat 2.9]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
inkvar has joined #ruby
inkvar has joined #ruby
CyberNekroRezus has quit [Quit: Leaving]
inkvar has quit [Client Quit]
roadie has joined #ruby
rose_nd_ash has quit [Ping timeout: 244 seconds]
rose_nd_ash has joined #ruby
Emmanuel_ChanelW has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
roadie has quit [Ping timeout: 246 seconds]
<rapha>
hi all
<rapha>
so there's ruby-git
<rapha>
but it doesn't add "--all" to "git log"
<rapha>
is there a way to make that work? or am i stuck with the last 30 out of 2000 for this repo?
roadie has joined #ruby
MrCrackPotBob has joined #ruby
MrCrackPot has quit [Ping timeout: 260 seconds]
devops has joined #ruby
mniip has quit [Ping timeout: 604 seconds]
<rapha>
and it seems to be the only git library :(
ur5us has quit [Ping timeout: 240 seconds]
MrCrackPotBob has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
<rapha>
okay, 28 open PRs, 16 open Issues, last commit 4 months ago ... not looking too godod
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
<Rounin>
rapha: Do you need a git library, though? If you have to automate Git from another program, you can use the shell
roadie has quit [Ping timeout: 272 seconds]
darkstardevx has quit [Ping timeout: 260 seconds]
<rapha>
nm
<rapha>
it's inconsistent af
<rapha>
but:
<rapha>
g.log('a')
<rapha>
Rounin: yes, but then i'll have to parse the output myself. and that library already does that for me.
darkstardevx has joined #ruby
<Rounin>
rapha: Ah, OK, that makes sense
roadt__ has quit [Read error: Connection reset by peer]
roadie has joined #ruby
<rapha>
:)
roadt has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
TomyWork has joined #ruby
CyberNekroRezus has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
CyberNekroRezus is now known as CyberNekroMaoMet
jenrzzz has joined #ruby
mniip has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
rose_nd_ash has quit [Remote host closed the connection]
sarna has joined #ruby
rose_nd_ash has joined #ruby
Emmanuel_ChanelW has quit [Quit: Leaving]
CyberNekroMaoMet has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
TCZ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
CyberNekroRezus has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
drincruz has joined #ruby
banisterfiend has joined #ruby
vondruch has joined #ruby
rose_nd_ash has joined #ruby
donofrio has joined #ruby
rose_nd_ash has quit [Ping timeout: 260 seconds]
Ediz has joined #ruby
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
<Ediz>
Hello Ruby community, starting to fiddle about with Ruby today :)
<apotheon>
Congratulations.
<Ediz>
Thanks
<Ediz>
Any good guides - things to know - must reads - appreciated.
<apotheon>
erm
<apotheon>
hmm
<apotheon>
Do you have a goal for Ruby?
<apotheon>
Are you planning to do webdev, or more sysadmin scripting, or what?
<apotheon>
If you're looking for books, Eloquent Ruby is probably the best general-purpose first Ruby book for people who have some programming skills, in my experience.
<CommunistWolf>
POODR being a close second
<apotheon>
Practical Object Oriented Design in Ruby is good for getting a little deeper into writing good object-oriented code.
<apotheon>
CommunistWolf: I'd call that a good second book to read.
<Ediz>
thank you :]
<apotheon>
Eloquent Ruby will familiarize you with some info on the practical stuff like testing practices, lightweight gem packaging, and so on, as well as familiarizing you with the language.
<apotheon>
POODR is what it says on the cover.
roadie has quit [Ping timeout: 244 seconds]
<Ediz>
sounds great! can't wait!
<Ediz>
I already have a project in mind. I will probably camp here for the next few months - thanks again
<apotheon>
Sinatra: Up and Running is a great practical introduction to using Sinatra for webdev, if you want something more simple than Rails. If you want Rails, though, there are the online Ruby on Rails Guides for first steps.
<apotheon>
"more simple" isn't a bad thing, by the way
stryek has joined #ruby
<Ediz>
I prefer to start learning simplest things, then explore other things depending on requirements
<apotheon>
Depending on your environment, I'd probably recommend looking into either rbenv or chruby for Ruby version management, at some point.
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apotheon>
I hear Roda is great, as a Sinatra alternative, but haven't actually tried it myself and can't vouch for any of its learning materials.
bmurt has joined #ruby
<apotheon>
An interesting way to get into writing more Ruby and improving your understanding of programming in general is to go through the book Understanding Computation.
banisterfiend has joined #ruby
<Ediz>
Making a list
<apotheon>
Ediz: I can offer advice for other books as you get in deeper, but I should probably stop for now.
angelds has quit [Ping timeout: 256 seconds]
<Ediz>
Thank you very much - for now this should keep me going for a while
<apotheon>
yep
<apotheon>
glad to help
<Ediz>
\o/
TCZ has quit [Quit: Leaving]
TvL2386 has quit [Ping timeout: 240 seconds]
TvL2386 has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
banisterfiend_ has joined #ruby
dfucci has joined #ruby
bmurt has quit [Ping timeout: 256 seconds]
cuerbot has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Ping timeout: 246 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend_ is now known as banisterfiend
justache has quit [Remote host closed the connection]
justache has joined #ruby
jenrzzz has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
banister_ has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
dualfade has quit [Ping timeout: 264 seconds]
CyberNekroRezus has quit [Ping timeout: 240 seconds]
dualfade has joined #ruby
ChmEarl has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
dfucci has joined #ruby
<rapha>
can somebody help me with numo-gnuplot?
CyberNekroRezus has joined #ruby
banister_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dualfade has quit [Read error: Connection reset by peer]
<rapha>
i have two arrays; x.size->280 (strings) and y.size->280 (integers), but when i say `plot x,y` it says "Warning: empty x range [2020:2020], adjusting to [1999.8:2040.2]". what does that mean and what am I doing wrong?
<rapha>
the strings are dates in the form of YY-mm-dd, fwiw
dualfade has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
<rapha>
okay, i've progressed to "Need full using spec for x time data" :-/
ttoocs has quit [Ping timeout: 264 seconds]
sarna has quit [Quit: Connection closed]
<rapha>
why is it so easy to plot arcane mathmatical functions, but so goddamn difficult to just plot two arrays full of data
BrianWGray has quit [Quit: Give a man a phish, you might get his credentials. Teach a man to phish, he'll get someone elses.]
imadper has quit [Remote host closed the connection]
imadper has joined #ruby
rose_nd_ash has joined #ruby
xco has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
<banisterfiend>
doesn't seem to be growing, at least, disappointing
<baweaver>
Eh, I get paid pretty well to write Ruby all day so *shrug*
DaRock has quit [Ping timeout: 256 seconds]
dionysus69 has quit [Remote host closed the connection]
dfucci has quit [Ping timeout: 260 seconds]
<banisterfiend>
anyone know a better channel than #docker for docker questions? i am trying to manage the routing of packets that come from a docker container. All docker packets seem to currently go out one of my interfaces, but i'd like them to go out an alternative one
<adam12>
I doubt many languages will see hockey stick growth as they used to. The attention available across developers is now spread _super thin_. Think of all the new languages built on LLVM; all of them are going to be jockying for marketshare. Are they dying?
<adam12>
Ruby's always suffered from the "dying" trend. I remember people talking about it in 06. PHP has been "dying" for even longer.
greypack has joined #ruby
<adam12>
banisterfiend: Is that a Docker question or a Linux question?
adu has joined #ruby
ellcs has joined #ruby
banister_ has joined #ruby
<banisterfiend>
both :) i guess it's a questoin more general than docker, but i'm only interetesd in docker rn
dfucci has joined #ruby
<adam12>
Without going too OT, presumably the packets hit the Docker bridge on the host, the kernel looks at the routing table, and then forwards them. Maybe you need a nftables rule to change the outgoing interface.
<adam12>
But I'd presume it to be easier to handle it via a route and not changing the interface.
<banisterfiend>
adam12: the routing table has interface B as the default route, yet the packets are going out interface A
<banisterfiend>
so it's a little confusing why docker packets are being routed that way, i just have the standard docker iptables rules wihch just appear to add ACCEPT rules to -i docker0 on the forward chain
<adam12>
banisterfiend: No idea. If you're using the host network mode it just bridges directly to the host interface I think, which might change things.
banisterfiend_ has joined #ruby
banisterfiend has quit [Ping timeout: 240 seconds]
banisterfiend_ is now known as banisterfiend
vondruch has quit [Ping timeout: 260 seconds]
<Ediz>
why would ruby be dead
roadie has joined #ruby
alexherbo29 has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo29 is now known as alexherbo2
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo2 has joined #ruby
Ediz has quit [Ping timeout: 256 seconds]
fercell has quit [Quit: WeeChat 2.8]
rose_nd_ash has quit [Remote host closed the connection]
Ediz has joined #ruby
cthu| has joined #ruby
jenrzzz has joined #ruby
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Ping timeout: 256 seconds]
SeepingN has joined #ruby
<banister_>
Ediz i didn't say dead i said dying :) And i don't really mean dying, i more mean not florishing :) the language isn't really improving IMO and the recent features are questionable at best.... .rbs files for example are the worst part of C/C++, headers, that they're adopting into ruby. The new 'in' syntax is backwards for destructuring, iirc the pipe syntax being introduced is just silly, some of the shortform block syntax just
<banister_>
looks like linenoise, etc, etc. Compare that to a language like C++ has is seeing real and dramatic improvements every 3 years in huge ways that radically improve the language each time. In contrast ruby just seems to get sillier.....also it really has retreated into just web dev and rake; i don't believe it's used outside of that anymore (whereas it did have a life outside that for a while, until python/go ate its lunch). The
<banister_>
only place we use Ruby in our new project is just in Rake as a build system, where it does actually shine quite nicely :)
houhoulis has joined #ruby
<adam12>
Interesting you mention that bit about C++. General concensus around people I know for C++ is they hate nearly all of it, except for a tiny bit each individual developer carves out to use. And each developer carves out their own little bit. I guess the same could be said for Ruby (hash rocket vs JSON style hashes) but sprawling changes isn't a good thing either.
<adam12>
The .rbs strategy definitely seems controversial but I see the immediate advantage; Ruby has/had already used many of the typical language constructs for adding types. Doing .rbs is an immediate solution but it doesn't necessary need to be the end-all.
<banister_>
adam12 modern c++ is actually pretty nice, i've been doing it for ~2 years now fulltime, and it's been great :) Could be because i'm working on a fresh code base where we didn't have to worry about backwards compat to an inherited crusty c++ code base :) so we're using all the modern features
nyuszika7h has joined #ruby
<banister_>
adam12 having to constantly update the .rbs along with the implementatino will get old *fast* :) it's already a total pita in C/C++
<adam12>
banister_: Maybe, but then why would you use Ruby anyways. Just adding typing along the boundaries of your app will already be a huge improvement.
<adam12>
Or use something like dry-types with dry-struct.
gix has joined #ruby
<adam12>
IMHO, most people using Ruby really want only a few things from types; better intellisense, less chance of nil.
nyuszika7h has quit [Client Quit]
<banister_>
never heard of dry-types but i assume it's just a run-time check ? wehreas i assume .rbs is parse time somehow?
<adam12>
There's other projects ongoing for different solutions to this. havenwood will be able to link the one for implicit typing.
<adam12>
banister_: It's run-time, and can support coercion ("1" => 1)
nyuszika7h has joined #ruby
<noctux>
well, having checked my variable names for typos would be a nice start... but i guess that can be filed under "less chance of nil"
<adam12>
With .rbs being separate, I can see people generating them from YARD tags. So they still live with their code.
<adam12>
noctux: You can get that in some ways with static analysis too; ie Rubocop.
gix has quit [Ping timeout: 240 seconds]
gix has joined #ruby
<noctux>
adam12: well, yes and no :) ruby as such is too dynamic for fully static analysis
dfucci_ has joined #ruby
* noctux
looks as a codebase with an "optimized" IndexedList mixin using module_eval
<noctux>
*at
greypack has quit [Ping timeout: 264 seconds]
dfucci has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
<banister_>
adam12 how is runtime useful?
<banister_>
the whole point of type systems is to avoid runtime errors :) and push those errors into parse-time/compile time, i assumed
<banister_>
but then again i'm not familiar with the goals of ruby type checking
<adam12>
banister_: I guess? The only unknown types I normally end up with are user input.
<banister_>
or bugs of course
<adam12>
banister_: So if I apply typing there (forms, JSON, CLI, whatever), then everywhere else I'd be covered with tests. No?
<adam12>
And I'm by no means an expert so this is just what works for me.
<banister_>
well it wont' catch bugs :) mistakenly passing the wrong type in your code
<banister_>
you won't get an error until runtime, where it'll blow up in production which is already too alte
<banister_>
late*
<adam12>
banister_: Maybe. But then I'd have .rbs for those critical pieces, if I absolutely needed.
<adam12>
bbiaf.
skape has joined #ruby
rose_nd_ash has joined #ruby
schne1der has quit [Ping timeout: 256 seconds]
Ediz has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Quit: banisterfiend]
howdoi has joined #ruby
banister_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sarmiena_>
I'm running the following code `ps aux | grep -E "[W]ORKER"` within a rails process. it's returning all the processes just fine... for like a random amount of time? Then all of a sudden it starts returning nothing
<sarmiena_>
the processes are clearly still running. if i restart the console it returns stuff again for a little bit
<sarmiena_>
any idea?
rose_nd_ash has quit [Remote host closed the connection]
<kaleido>
erm
<kaleido>
ps doesn't run infinitely?
<sarmiena_>
no i mean if i run the code over and over again it just stops showing the results
Ediz has quit [Remote host closed the connection]
<adam12>
sarmiena_: Probably not easy for us to figure out. My suggestion is to just do the `ps aux` through shell, log the result somewhere, then perform your grep on it using Ruby.
<adam12>
sarmiena_: Also, might need to check exit status. Any chance `ps` is failing? or your running out of file descriptors?
houhoulis has quit [Remote host closed the connection]
<sarmiena_>
adam12 $ lsof | wc -l52253
<sarmiena_>
looks like 52k open files
<sarmiena_>
wait how would running out of file descriptors make it so the ps shows one thing in ruby console and another via command line?
<adam12>
sarmiena_: Same user? I believe ulimit can enforce certain restrictions. Or there could be something else.
<adam12>
sarmiena_: Again; kinda guessing here.
<sarmiena_>
yeah same user. weird
<adam12>
sarmiena_: My suggestion would be either to check $? or switch to Open3.capture2e which is a bit more robust.
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
jenrzzz has joined #ruby
sarmiena_ has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
skape has quit [Quit: Connection closed for inactivity]
uhrenmacher has joined #ruby
<uhrenmacher>
asdasasd
<uhrenmacher>
sorry
<uhrenmacher>
Hello, anyone here?
schne1der has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duckpuppy has quit [Ping timeout: 256 seconds]
dualfade has quit [Ping timeout: 240 seconds]
roadie has quit [Ping timeout: 260 seconds]
dualfade has joined #ruby
uhrenmacher has quit [Quit: Leaving]
ur5us has joined #ruby
imode has joined #ruby
skape has joined #ruby
duckpuppy has joined #ruby
orbyt_ has joined #ruby
nakilon2020 has joined #ruby
ruurd has quit [Quit: bye folks]
nakilon2020 has quit [Client Quit]
greypack has quit [Ping timeout: 246 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nakilon2020 has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.9]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood>
We're always here.
<havenwood>
Just ask!
<havenwood>
I mean, don't ask to ask, just ask. :P
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apotheon>
Too bad uhrenmacher isn't here to see that.
nakilon2020 has left #ruby [#ruby]
<apotheon>
left thirteen minutes after asking to ask
greypack has joined #ruby
<havenwood>
Or ask to ask then leave. That works too!
<apotheon>
I somehow got suckered into reading the XDG-BDS again, and now my afternoon has been ruined.
nakilon2020 has joined #ruby
<apotheon>
I don't recommend it.
<nakilon2020>
hello, how do I post to Ruby Talk mailing list? I've sent an email but it didn't appear in archive; then I asked ruby-talk-owner why it's not but also no answer
<nakilon2020>
my native extension gem does not work under Alpine Ruby >=2.4, compiles but throws "symbol not found" on require
<havenwood>
nakilon2020: Folk here may be able to help if you share more, alternatively.
<nakilon2020>
I have a docker image to reproduce, give me a minute, it's starting slow on macos
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
twb has quit [Ping timeout: 244 seconds]
<nakilon2020>
here is the branch with Dockerfile: git clone https://github.com/Nakilon/dhash-vips.git --branch alpine-compilation-issues alpine-compilation-issues && cd alpine-compilation-issues
<nakilon2020>
here it compiles and passes tests successfully on ruby2.3.8: docker build - -t temp-ruby2.3.8 --build-arg RUBY_VERSION=2.3.8 --build-arg ALPINE_VERSION=3.8 <Dockerfile
<nakilon2020>
now change Ruby (in two places) and Alpine versions to 2.4.10 and 3.11 — you get: rb_deprecate_constant: symbol not found
<nakilon2020>
change to 2.5.8 and 3.12 and you get: rb_int_modulo: symbol not found
<nakilon2020>
on macOS it does not happen on any Ruby version — seems like compilation is different here and I'm not an expert in this stuff and this error tells me nothing
banisterfiend has joined #ruby
ur5us has quit [Quit: Leaving]
dfucci has joined #ruby
ur5us has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
cahoots has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
<cahoots>
hi, do you guys think ruby 3 will be incompatible a lot of existing ruby code today without changes? could there be a long version 2/3 split like there is with python?
<cahoots>
*incompatible with
dfucci has quit [Ping timeout: 246 seconds]
<CommunistWolf>
1.8 / 1.9 had incompatibilities that were annoying, so sure, why not?