havenwood changed the topic of #ruby to: Ruby 3.4.3, 3.3.8 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
pgib has joined #ruby
oznek has quit [Remote host closed the connection]
The_Camel has quit [Read error: Connection reset by peer]
The_Camel has joined #ruby
Pixi has quit [Read error: Connection reset by peer]
Pixi has joined #ruby
TomyWork has quit [Ping timeout: 276 seconds]
pgib has quit [Quit: 00 PC LOAD LETTER]
fercell has quit [Quit: ZNC - https://znc.in]
fercell has joined #ruby
Guest28 has joined #ruby
Guest28 has quit [Quit: Client closed]
jmcantrell has quit [Quit: WeeChat 4.6.3]
constxqt has quit [Quit: kiwi irc - hadmade client]
jmcantrell has joined #ruby
teardown has joined #ruby
mweckbecker has joined #ruby
<Psy-Q> after a brief 12 year absence from ruby i'm looking forward to getting back into it again. i saw a bunch of features from other languages were absorbed :D
<Psy-Q> i tried to write my stuff in python when ruby/rails lost mindshare but it's just not the same, eh. there's no spark there. drab and joyless.
leftylink has quit [*.net *.split]
jmcantrell has quit [Ping timeout: 248 seconds]
leftylink has joined #ruby
svm has joined #ruby
msv has quit [Read error: Connection reset by peer]
ih8u has quit [Ping timeout: 260 seconds]
ih8u has joined #ruby
infinityfye has joined #ruby
svm is now known as msv
infinityfye has quit [Killed (NickServ (GHOST command used by infinityfye__))]
infinityfye__ has joined #ruby
ih8u2 has joined #ruby
ih8u has quit [Read error: Connection reset by peer]
ih8u2 is now known as ih8u
teardown has quit [Remote host closed the connection]
teardown has joined #ruby
dionysus69 has joined #ruby
TomyWork has joined #ruby
<kmad> Heh. I've been toying with Python recently because it's what most people at work are vaguely familiar with (if you can even call it that) and I'm constantly thinking how Ruby is better in every way. It's still a mystery to me how on earth Ruby did not come out on top in every conceivable way 20-something years ago.
infinityfye__ is now known as infinityfye
<testone> there are 2 fields where ruby isn't better: 1) variety and maintainance of libraries and 2) speed of some libs
<kmad> That's true now, but 20-odd years ago neither language had a crazy huge selection of libraries. (Perl did though.)
user71 has joined #ruby
<Psy-Q> i think python benefitted a lot from being the de-facto language taught in many places. even just secondary schools
<Psy-Q> if it wasn't a CS program or the like (where they just did Java here), it would always be python
<Psy-Q> maybe van rossum had contacts in higher education, i dunno. but yeah, ruby is more pleasant in every way for me. i would rewrite the python crap i wrote for work but most of the servers don't have ruby :(
schne1der has joined #ruby
infinityfye has quit [Killed (NickServ (GHOST command used by infinityfye__!~infinityf@154.180.41.100))]
infinityfye__ has joined #ruby
infinityfye__ is now known as infinityfye
thelunarkitty is now known as pyra
wbooze has quit [Quit: Leaving]
GreenResponse has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
schne1der has quit [Ping timeout: 260 seconds]
graywolf has joined #ruby
cappy has joined #ruby
teardown has quit [Remote host closed the connection]
teardown has joined #ruby
inline has quit [Quit: Leaving]
graywolf has quit [Quit: WeeChat 4.6.3]
wbooze has joined #ruby
<The_Camel> biggest bitch move I ever saw in excel (or even libre-calc) is the lack of "insert x" amount of rows above/below row.
cappy has quit [Quit: Leaving]
<The_Camel> >_>
<The_Camel> <_<
<o0x1eef> I'm learning Python and I don't feel that way. The framing is all wrong for me. A language doesn't have to lose so the other one can "win". Both are great languages. Everyone has different preferences, and your preferences don't make one language better than the other.
<The_Camel> I don't know what the argument is about but I definitely like ruby more than python and can come up with very strong arguments to say why python has severe problems.
<The_Camel> especially from an engineering point of view.
<o0x1eef> Well, I don't want to misrepresent what was said, but to paraphrase the argument was along the lines that Ruby lost market share to Python, that shouldn't be the case, Ruby is the better language
<The_Camel> oh, well, the reason ruby lost market is, in my opinion, due to american push and ownership
<The_Camel> they don't want their stack run by a language made by a japanese person :P
<o0x1eef> Probably some truth in that. At least, people have complained that there was a language barrier for core contributions. I don't know the reason. But I don't think Python is terrible or doesn't deserve its place.
<The_Camel> o0x1eef, I don't think it's terrible either.
<The_Camel> but ruby IS better. I'll say just that :)
<o0x1eef> Ruby is not perfect though
oznek has joined #ruby
<The_Camel> I...... don't like to admit it... but yeah, it's not perfect.
<o0x1eef> What stands out to me between the two is that Ruby firmly planted itself as a web language, and Python is more general. A lot of different applications for Python. With Ruby, it's generally the web.
<o0x1eef> I also think Ruby lacks diversity. Generally Rails rules the nest. There are alternatives, but they don't really see much traction. It's a Rails world.
<The_Camel> o0x1eef, if I was a company, I'd try to change that.
<The_Camel> o0x1eef, I would build somethin akin to the QT framework.
<The_Camel> and make ruby specialize in tasks that Erlang was made for.
<havenwood> The_Camel: tk used to ship with Ruby. Python has far more comprehensive, up-to-date graphics bindings.
<The_Camel> o0x1eef, interprocess communication.
<havenwood> The_Camel: Erlang did a per-actor GC 25 years ago, in 2000.
<havenwood> It took them 15 years to really hone it and make it work well.
<havenwood> We're starting to talk about per-Ractor GC in 2025.
<havenwood> And Ractors barely work yet, so we're about half a century behind.
<havenwood> Nice a Rubyist went on to create Elixir. We at least get some Ruby-inspired distributed computing.
<o0x1eef> True!
<The_Camel> havenwood, I like elixir.
<The_Camel> havenwood, and I also like erlang. really do. but it's like
<The_Camel> let's just say anything I want or need that's external (e.g an external library or package) is untouched for years and is broken
<The_Camel> last I recall, after writing some erlang code, I want to do some web requests. there was only like 1 github repo written by some guy ages ago. i pulled it with rebar3. didn't work.
<The_Camel> which is just fucking sad
<The_Camel> to think erlang itself, didn't come with internal HTTP capabilities.
<The_Camel> it had json though.
<The_Camel> no xml.
Pixi` has joined #ruby
<The_Camel> how. just how does a language specialized in interprocess communication... not come with HTTP capabilities.
<The_Camel> I thought that shit was supposed to be used on servers. servers are the epitome of web access
<The_Camel> unless
<The_Camel> they designed it to be inhouse for local stuff and only act as a front end to something else
<The_Camel> then i'd understand.
Pixi has quit [Ping timeout: 252 seconds]
<havenwood> The_Camel: OTP has inets and httpc.
<havenwood> Though Cowboy is what I mostly see used as an HTTP server. It's quite nice: https://github.com/ninenines/cowboy
<The_Camel> havenwood, if that is true, then I didn't read enough about OTP.
<The_Camel> havenwood, hmm. it says http 1.1 - shouldn't have issues with a web 2.0 right?
<The_Camel> it'd just be single-socketed.
<havenwood> The_Camel: Use Cowboy (or Gun, from Erlang) for solid HTTP/2 support. But yeah, no issues with reverse proxying HTTP/2 traffic to httpc.
<havenwood> Ruby doesn't ship with an HTTP/2 server or client either.
<The_Camel> alright
dionysus69 has quit [Ping timeout: 272 seconds]
krez has joined #ruby
krez has left #ruby [#ruby]
andy-turner has joined #ruby
andy-turner has quit [Remote host closed the connection]
elmetah has joined #ruby
<elmetah> Teh' legend ah Chinese hacker lui/Lui Sween/Juan, Lui Sween,
<elmetah> How do you run system() on Ruby language?
The_Camel has quit [Remote host closed the connection]
The_Camel has joined #ruby
The_Camel has quit [Remote host closed the connection]
The_Camel has joined #ruby
<havenwood> elmetah: system('ls', '-la')
The_Camel has quit [Remote host closed the connection]
The_Camel has joined #ruby
<elmetah> aladesh niibott seekhrosse, gararawseeious *wood
<elmetah> Good bye
The_Camel has quit [Remote host closed the connection]
The_Camel has joined #ruby
<elmetah> Wait, I want a Rider BB gun Christmas
elmetah has quit [Quit: ;;;]
<adam12> ...
teardown has quit [Ping timeout: 244 seconds]
<Psy-Q> The_Camel: if you select n amount of rows below the row where you right-click, the "insert rows" will insert that n amount of rows
<Psy-Q> it's not nice that you can't specify a number but at least there's that
pgib has joined #ruby
jmcantrell has joined #ruby
fantazo has joined #ruby
havenwood changed the topic of #ruby to: Ruby 3.4.4, 3.3.8 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
havenwood changed the topic of #ruby to: Ruby 3.4.4, 3.3.8, 3.5.0-preview1 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
Sheilong has joined #ruby
cappy has joined #ruby
<The_Camel> Psy-Q, I know.
<The_Camel> but I cannot always do that when there's data in between
<The_Camel> so I must at least do 10 clicks
<The_Camel> to insert a row once. insert another one. select 2 rows. insert again to put in "2". then insert some more before I finally have 10 empty rows
<The_Camel> Psy-Q, and do what you said :P
<The_Camel> it's still retarded. terrible UX
<The_Camel> "Insert X rows" could've solved it so easily.
andy-turner has joined #ruby
andy-turner has quit [Read error: Connection reset by peer]
<kmad> The_Camel: Erlang was built back in the mid-'80s by/at Ericsson for telecom stuff (hence OTP, Open Telecom Platform). If you want all the good stuff from BEAM and OTP but with a more Ruby-like syntax, Elixir is the way to go --- and it has plenty of HTTP stuff.
<The_Camel> kmad, that's neat. but that was just a secondary requirement for what I insinuated primarily.
<The_Camel> that being - that if I was a company, I'd try to revive ruby by creating a framework similar to QT for it.
<The_Camel> among a bunch of other things. that "OTP"-like interprocess communication being some aspect of it.
<The_Camel> the first thing that really bugs me is ruby not having a dedicated opensource IDE for it. akin to KDevelop.
<The_Camel> I'd need an army of people to fix things
<kmad> The_Camel: Does it need one? (Honest question. I use Vim/Neovim for everything, so I haven't touched a real IDE for years.)
<kmad> I mean, don't people already have their favorite IDE that they'd want to use?
<kmad> Btw, re the Erlang thing, I was mainly replying to your gripe about it not having HTTP stuff. I just meant to say that I don't think HTTP was really in scope when they developed it.
<Psy-Q> The_Camel: hmm, i'm not sure i understad the need for the first insert row, can't you insert right into the middle of the data like this? https://imgur.com/a/xZBG0qW
pgib has quit [Quit: 00 PC LOAD LETTER]
infinityfye has quit [Read error: Connection reset by peer]
<The_Camel> Psy-Q, unsure. did not try that. is this on libre-calc?
<The_Camel> kmad, it needs an IDE.
<The_Camel> there are paid solutions. jetbrains' rubymine
<The_Camel> it's just not free.
<Psy-Q> The_Camel: yeah. not sure what it might be in excel or somewhere else
<kmad> The_Camel: But why? Aren't there plenty IDEs out there that does Ruby already? I personally prefer to stick to one editor for all languages, but that's just my personal preference, hence why I'm curious. Do people really switch IDE when they switch language?
The_Camel has quit [Quit: Leaving]
blacknova has joined #ruby
pgib has joined #ruby
<fantazo> kmad: sounds silly to switch IDEs or editors. The only reason would be something an actual lisp machine or an actual Smalltalk system. that would be a totally different meaning of "IDE" there.
cappy has left #ruby [Leaving]
victori has quit [Ping timeout: 252 seconds]
victori has joined #ruby
user71 has quit [Quit: Leaving]
The_Camel has joined #ruby
pgib has quit [Remote host closed the connection]
TomyWork has quit [Ping timeout: 276 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
wbooze has quit [Remote host closed the connection]
GreenResponse has quit [Quit: Leaving]
wbooze has joined #ruby
mahlon has quit [Quit: PotatoTech]
wbooze has quit [Quit: Leaving]
wbooze has joined #ruby
blacknova has quit [Quit: Connection closed for inactivity]
mahlon has joined #ruby
blacknova has joined #ruby
wbooze has quit [Ping timeout: 276 seconds]
oznek has quit [Quit: Leaving]
wbooze has joined #ruby
wbooze has quit [Ping timeout: 272 seconds]
wbooze has joined #ruby