_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #ruby
zphinx has joined #ruby
evan has joined #ruby
<evan>
Hello
<evan>
Here are anybody?
evan has quit [Ping timeout: 265 seconds]
kludger has joined #ruby
kludger_ has joined #ruby
kludger has quit [Ping timeout: 244 seconds]
kludger_ has quit [Ping timeout: 255 seconds]
kludger has joined #ruby
grenierm has joined #ruby
szkl has joined #ruby
kludger_ has joined #ruby
kludger has quit [Ping timeout: 252 seconds]
kludger_ has quit [Ping timeout: 244 seconds]
kludger has joined #ruby
kludger_ has joined #ruby
kludger has quit [Ping timeout: 260 seconds]
entropie has quit [Ping timeout: 264 seconds]
entropie has joined #ruby
nmollerup has quit [Remote host closed the connection]
nmollerup has joined #ruby
Linux_Kerio has joined #ruby
kludger has joined #ruby
kludger_ has quit [Ping timeout: 244 seconds]
gvg has quit [Ping timeout: 260 seconds]
kludger has quit [Ping timeout: 252 seconds]
gvg has joined #ruby
c10l has quit [Ping timeout: 276 seconds]
kludger has joined #ruby
grenierm has quit [Ping timeout: 256 seconds]
kludger has quit [Ping timeout: 244 seconds]
kludger has joined #ruby
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #ruby
<isene>
It seems gnome-terminal is orders of magnitude slower than urxvt with rcurses. Other performance comparisons between the two?
donofrio has joined #ruby
<Rounin>
isene: Does urxvt have full Unicode and OpenType / TrueType rendering and all that stuff? That's probably going to increase complexity a lot
<Rounin>
If one is like variable-width with full support for Tibetan and the other's monospace only...
<isene>
Right, but simple printing of ANSI escape sequences is excruciatingly slow in gnome-terminal. Like, silly-slow...
<Rounin>
It probably throws the full rendering engine at even the simplest problems :D Not to mention kids today and their bloated software and all that
<Rounin>
I work with JavaScript development every day... Ask me how I know X(
ua_ has quit [Read error: Connection reset by peer]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #ruby
kludger has quit [Quit: kludger]
ua_ has joined #ruby
kludger has joined #ruby
<isene>
LOL
reset has quit [Quit: reset]
Exa has quit [Quit: see ya!]
Exa has joined #ruby
Vonter has quit [Quit: WeeChat 4.4.3]
_whitelogger_ has quit [Remote host closed the connection]
<kjetilho>
Rounin: yes, urxvt has full Unicode support and Freetype rendering. probably doesn't support "proportional" fonts, but they don't make much sense anyway.
<kjetilho>
(the U is for Unicode)
kludger_ has joined #ruby
kludger has quit [Ping timeout: 248 seconds]
<Rounin>
kjetilho: Ah... So it might just be a lot more efficient and/or simple than gnome-terminal
kludger_ has quit [Ping timeout: 255 seconds]
kludger has joined #ruby
kludger has quit [Ping timeout: 248 seconds]
kludger has joined #ruby
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
Guest64 has joined #ruby
Guest64 has quit [Quit: Client closed]
hightower2 has joined #ruby
c10l has joined #ruby
<havenwood>
isene: Congrats!
<havenwood>
Lemme look.
<havenwood>
evan: If you check back in we're here but don't always respond immediately. You can use the logs to keep context if you don't use an IRC bouncer. :)
<isene>
havenwood: I'm curious about your feedback on this one
<havenwood>
isene: The readme looks quite nice on first impression. I'd focus on the "gem install rcurses" installation path since the other is system dependent and less appealing. Maybe remove it or relegate to a development installation section.
<havenwood>
I think ```ruby for the code blocks would look nice.
<havenwood>
isene: First meaningful feedback, an `rcurses` gem should minimal or no footprint outside the `RCurses` (or `Rcurses`) namespace.
<havenwood>
If you like top level `Pane`, and so on, probably do a `module RCurses` and have folk explicitly `include RCurses`.
<havenwood>
(Otherwise two gems could have a `Pane` and we're toast.)
<havenwood>
With the explicit parent namespace per gem we can not `include` when there's be a conflict and use the uglier, full namespace.
<havenwood>
I think it's an important convention to follow as long as Ruby has no other way to designate namespace at the moment.
<havenwood>
Move `Pane` code to `lib/rcurses/pane.rb` so `RCurses::Pane` namespace mirrors its file location.
<havenwood>
Or rename your gem `pane` works too. 😈
<havenwood>
(Since the name is available.)
<havenwood>
isene: You seem to be missing a gemspec. I'd go ahead and cut a gem.
<havenwood>
I'd lean towards making the `String` monkeypatch optional with an explicit require. Or a refinement.
gvg has quit [Read error: Connection reset by peer]
donofrio has quit [Ping timeout: 246 seconds]
gvg has joined #ruby
<havenwood>
isene: I wonder about using tty-cursor as a dep and mixing in your additional behavior. If you decide to use it inline, double check their MIT license requirements for republication.
<havenwood>
(Just add their little LICENSE contents above where you use the code.)
___nick___ has joined #ruby
<havenwood>
Or no need if you use the gem through the gemspec.
<havenwood>
s/use/reproduce/
<havenwood>
Uhg, for parenthetical.
<havenwood>
To be clear, add the LICENSE above where you use exact code or no need if you use the gem as a dependency rather than reproducing the code inline.
<havenwood>
isene: My main feedback would be to cut a gem and in the process shape it a bit into gem conventions. 💎
mahlon has quit [Quit: PotatoTech]
mahlon has joined #ruby
<havenwood>
You technically cannot choose to public domain someone else's MIT code, so I'd adopt MIT or use the gem as a dependency rather than reproducing its code.You technically cannot choose to public domain someone else's MIT code, so I'd adopt MIT or use the gem as a dependency rather than reproducing its code.
<isene>
Gem is already cut and published to RubyGems (hence the gem install rcurses) - but I have the gemspec thingy in a different local directory. But yes, it's better to include it in the Github repo. I'll do that with all my gems (now 14 in total). It's not actually using tty-cursor directly - rather that I found the ANSI codes there - and nobody has license to those... I use the Unlicense for most I
<isene>
publish on Github.
<isene>
And thanks for the namespace suggestion. I will certainly fix that :)
hwpplayer1 has quit [Quit: I'll be back later thanks all !]
kludger has quit [Ping timeout: 244 seconds]
kludger has joined #ruby
<johnjaye>
Rounin: if you work with javascript everyday can you give me a tldr list of tools to use
<johnjaye>
so when i'm done learning ruby i can just dive in
<Rounin>
johnjaye: Hmm... I'm not really at the forefront of what's fashionable there, but I just use whatever editor is at hand where I work + React to make single-page apps (isn't Angular the other popular one?) + TypeScript to get some sanity occasionally, + Yarn or NPM to get dependencies ... For packaging the app (minifying etc.) I tend to use create-react-app, which apparently one shouldn't do, because it's past EOL... Some people are saying it's Vite now?
<johnjaye>
right but i haven't even heard of half of those.
* johnjaye
wonders if you could generate javascript with ruby
<Rounin>
Hmmm, presumably
<havenwood>
Rounin: Or Svelte
<Rounin>
havenwood: Ah... It rings a bell! Guess I should figure one of those out one of these days
<havenwood>
I've been liking HTMX and adam12 has pointed me to Unpoly.
<havenwood>
They both pair fantastically with Ruby backends.
<havenwood>
Then you can sprinkle just a tad of JavaScript on top where needed.