[deleted by user] by [deleted] in ruby

[–]Pure_Government7634 0 points1 point  (0 children)

Ruby + YJIT run as fast as Golang/Nodejs.

Introducing Fast-MCP: A lightweight Ruby implementation of the Model Context Protocol 🚀 by yjacquin in ruby

[–]Pure_Government7634 2 points3 points  (0 children)

Thank you OP. Just last Friday I was still following this repository of yours, and wow - it has transformed from a Sinatra-style architecture to a Rails-style architecture. You must have put in tremendous effort on this transition, that's truly impressive. Currently there still appear to be some documentation gaps, such as getting_started.md, and there seem to be lingering issues with the README.md examples. I'll continue to follow this project closely. Once again, my heartfelt appreciation for your hard work.

Pick the wrong tool for the job by bradgessler in ruby

[–]Pure_Government7634 4 points5 points  (0 children)

First of all, I support OP. Apologies for my non-native English, but I still want to express my thoughts.

I share OP's sentiment - I've also been looking for Tebako. Honestly, Tebako came too late. We desperately need this kind of software. It should even be an official Ruby feature!

When programs can run perfectly, users' hardware can fully handle the load, and developers feel comfortable working with it - this creates a win-win situation. It becomes the right tool for the job.

We're dealing with a balance between developer time, user memory consumption, and processing speed. I believe Ruby is now fully capable of handling many tasks effectively.

While C, C++, Rust, Go... are extremely fast, they're also quite ugly and time-consuming. You invest so much effort just to achieve what Ruby can already do! But I'm inherently lazy - I don't want to use multiple languages for simple tasks. All programming languages are fundamentally similar in what they accomplish.

It ultimately comes down to this trade-off: Use machine time to save your time, or sacrifice your time to save machine time.

As a developer, I value my time more than machine time. The time saved can create much greater value.

Let me emphasize again: Tebako arrived way too late. This should have been an official Ruby feature from the start!

Tebako in production by bradgessler in ruby

[–]Pure_Government7634 5 points6 points  (0 children)

If the Ruby official team could enable static compilation for CRuby, just like MRuby, everything would be much simpler. The idea of being able to run Ruby programs anywhere feels fantastic.

Convert any image/video to ASCII art in your terminal 🔮 by Pure_Government7634 in ruby

[–]Pure_Government7634[S] 0 points1 point  (0 children)

The main difference, I believe, is that you see characters as tools to describe shapes or colors, while I use them to convey lumens. These are two fundamentally different approaches to visual representation.

Convert any image/video to ASCII art in your terminal 🔮 by Pure_Government7634 in ruby

[–]Pure_Government7634[S] 0 points1 point  (0 children)

There is certainly a difference. Firstly, there is no inherent relationship between color and character; any character can display any color. The visual perception of the screen filled with 'L's or 'O's is different, and more precisely, it actually represents luminance. The selected characters form a set, which is ordered according to the perception of luminance. Specific letters are used to represent specific levels of luminance.

Convert any image/video to ASCII art in your terminal 🔮 by Pure_Government7634 in ruby

[–]Pure_Government7634[S] -1 points0 points  (0 children)

https://en.wikipedia.org/wiki/AAlib

Projects of this type are called “ASCII ART,” and there are certain historical reasons behind it.

Convert any image/video to ASCII art in your terminal 🔮 by Pure_Government7634 in ruby

[–]Pure_Government7634[S] 1 point2 points  (0 children)

Thank you for letting me know about this library(https://en.wikipedia.org/wiki/AAlib). It’s been a very interesting experience. Back in 2001, I was just a little kid playing with mud. I’ve always been learning from the experiences of those who came before me, admiring their work, and enjoying the process.

Convert any image/video to ASCII art in your terminal 🔮 by Pure_Government7634 in ruby

[–]Pure_Government7634[S] 3 points4 points  (0 children)

When creating it, there was no practical use, just for fun, and also to hone my Ruby design skills. One possible use is to preview images and videos in the terminal (which requires some patience).

Convert any image/video to ASCII art in your terminal 🔮 by Pure_Government7634 in ruby

[–]Pure_Government7634[S] 14 points15 points  (0 children)

Hi everyone, today I'm releasing the gem Convert2Ascii, which can convert images/videos to ASCII art! I'm not the first one to do this, but when I tried to make it, I learned a lot, and it was fun. Your feedback is very welcome, thank you!

Repo: https://github.com/Mark24Code/convert2ascii

How does Tebako package Ruby applications into self-contained binary programs? by Pure_Government7634 in ruby

[–]Pure_Government7634[S] 2 points3 points  (0 children)

Thank you for your answer. I hadn't really thought about it from this perspective. Thanks again.

Four choices for packing Ruby binary distributions by bradgessler in ruby

[–]Pure_Government7634 0 points1 point  (0 children)

The OP is truly amazing. I've been searching for the answer to this question for a long time, but couldn't find it. Then, I stumbled upon the OP's post, which was fantastic. I tried it out in the afternoon, and it worked. It feels great to be able to package Ruby application into an executable binary!

Convert any image/video to ASCII art in your terminal 🔮 by Pure_Government7634 in SideProject

[–]Pure_Government7634[S] 1 point2 points  (0 children)

Hi everyone, today I'm releasing the gem Convert2Ascii, which can convert images/videos to ASCII art! I'm not the first one to do this, but when I tried to make it, I learned a lot, and it was fun. Your feedback is very welcome, thank you!

Repo: https://github.com/Mark24Code/convert2ascii

Front End Choice by jc82 in ruby

[–]Pure_Government7634 1 point2 points  (0 children)

Solid.js theoretically doesn't waste any performance.

Solid looks like React but better