Live data from Hacker News

An Ode to Ruby

blog.yboulkaid.com

191–200 of 204 posts

Re: An Ode to Ruby

#191

Want something easy to host? Use PHP. Want something fast and simple? Use Go. Want something really fast and powerful? Use Rust. Want something ubiquitous, with lots of developers in the labor market? Use Java. Excuse my ignorance, but what is Ruby's strength?

These are all catch phrases - simple, powerful, easy to host. Whatever. Everyone thinks they are simple and powerful.

So Ruby's catchphrase is "developer happiness". There you go.

Re: An Ode to Ruby

#192
post #158

Earlier quoted context omitted.

Productivity. Also you can short circuit a lot of what you said with Crystal lang (for speed) or Ruby on Jets (for ease of deployment, serverless, etc). At Arist (YC S20), we were able to fully rebuild our app in Ruby on Jets, pass a pen test, get SOC 2 compliance, all in under 12 months. This frankly would have taken years if we couldn't lean on the Rails ecosystem, and our Appdex score is 0.999 typically, and we ar…

Yeah, Go's string-handling, coming from Ruby is like time travelling back to the Stone Age.

Can you give an example? Gonna have to pick up Go for work soon, just curious what's in store.

Re: An Ode to Ruby

#193

Started a new job in the past year and it's 50% rails, 50% react. Thought I would chafe after returning to ruby after ten years of nothing but JS and TS, but I quite like it. I only wish there was slightly less magic and a bit more declaration. It always weirds me out that Ruby just finds stuff without me having to 'import' or 'require' it. I have a love/hate relationship with much of the DSL stuff too (more 'magic')…

> Ruby just finds stuff without me having to 'import' or 'require' it. That's either bundler (which `require`s every dependency you specify unless you tell it not to) or the Rails autoloader[1] (which goes hunting for a file that might define the constant, which also allows hot-reloading to work). Ruby itself requires you to `require` everything. [1]: https://guides.rubyonrails.org/autoloading_and_reloading_con...

Ruby requires to `require` somewhere in the project, not in the the file where actual usage is.

Re: An Ode to Ruby

#194

Earlier quoted context omitted.

> they would see how far from "better ruby" is Crystal Are you accusing us both of lying? How strange.

would you mind to post your github/gitlab repositories with your Crystal projects? Looking here I couldn't find anyone https://github.com/yb66?tab=repositories&q=&type=source&lang...

So you are accusing me of lying, how lovely of you!

Let's see if your accusations can hold up to Socratic questioning:

- If I haven't open sourced any Crystal projects does that mean I haven't written any?

- I have published several Ruby gems[0], when was the last commit or version bump for any of them? You're more interested that I am, tell me. I really should archive them, thanks for reminding me.

- You missed off my Gitlab, what was the last public contribution I made there? (hint[1])

- What's the last gem I created? I reckon it's this one that I didn't publish[2] because the Rack team changed a public API in such a dumb way that I'd have to rewrite it and then mucked me around with a pull request to Rack that one of the core team copy and pasted in as their own commit while arguing against the pull. Weird, but lovely people, like yourself. Meanwhile, your cookies lack security. Yes, I want to continue working within this language and ecosystem… Does the sarcasm come through in my writing?

- Why did you not check the Crystal repo?[3][4] Github has a search facility. Put my username in, and pick `commits` on the left.

- How did you miss the forks of Docopt.cr[5] and Fancyline[6]? They're right there in my public activity log. Did you not see the merges into Fancyline of my code?[7] I have more to give, just trying to find the time.

- Did you not see forks with commits such as xattr.cr[8], xdg.cr[9], and Pope.cr[10]

- You didn't see I'd provided a project[11] for Mint so it can be run easier with Docker Compose?

- Aside from that I have a whole host of changes to migrate.cr[12] still to push up. You can't know that but you might've guessed that I was at least working with that - and all the other forks of Crystal projects I have.

That is all public and not the half of the Crystal code I look at.

Should I expect an apology? If you were too cowardly to be straightforward with your accusations then I find it stretches credulity far beyond breaking that you could be big enough to provide one. We'll see, like you, I've been very wrong about people in the past.

[0] https://rubygems.org/profiles/yb66

[1] https://gitlab.com/arctic-fox/spectator/-/merge_requests/34

[2] https://gitlab.com/yb66/aes-gcm

[3] https://github.com/crystal-lang/crystal/pull/11201

[4] https://github.com/crystal-lang/crystal/blob/1.1.0/CHANGELOG...

[5] https://github.com/yb66/docopt.cr

[6] https://github.com/yb66/fancyline

[7] https://github.com/Papierkorb/fancyline/pulls?q=is%3Apr+yb66

[8] https://github.com/ettomatic/xattr/pulls

[9] https://github.com/dscottboggs/xdg.cr/pull/1

[10] https://github.com/yb66/pope.cr/commits/master

[11] https://github.com/yb66/Mint-Docker-Compose

[12] https://github.com/yb66/migrate.cr

Re: An Ode to Ruby

#195
post #150
post #55

Earlier quoted context omitted.

> My initial impression is that the JS/Node world is miserable. Rails looks 1000 times more pleasant. God, yes. Especially with Hotwire [1], which advertises being able to do modern web apps with a minimum of JS. I've played around with it, and for me it completely eliminates the need for AngularJS/React/whatever. [1] https://hotwired.dev

Yes but Node's built-in async will scale a lot better especially if you're calling 3rd party services.

The Async gem and Ruby 3+ is an incredible piece of work. If you need to coordinate 3rd party services, it's the way to go in ruby and it just reads beautifully.

Re: An Ode to Ruby

#196

Earlier quoted context omitted.

would you mind to post your github/gitlab repositories with your Crystal projects? Looking here I couldn't find anyone https://github.com/yb66?tab=repositories&q=&type=source&lang...

So you are accusing me of lying, how lovely of you! Let's see if your accusations can hold up to Socratic questioning: - If I haven't open sourced any Crystal projects does that mean I haven't written any? - I have published several Ruby gems[0], when was the last commit or version bump for any of them? You're more interested that I am, tell me. I really should archive them, thanks for reminding me. - You missed off…

Sorry, looking through the forks, they are all in sync with master, and most your contributions are small. It is great, nothing against it. The only thing that I wanted to say is that as soon as you start to work in a real project with Crystal you realize that it is not just a better ruby and it comes with it's own set of problems, patterns and etc. So I don't see a point to cite Crystal as option to ruby in every thread about ruby. That's my point.

Re: An Ode to Ruby

#197

Earlier quoted context omitted.

would you mind to post your github/gitlab repositories with your Crystal projects? Looking here I couldn't find anyone https://github.com/yb66?tab=repositories&q=&type=source&lang...

So you are accusing me of lying, how lovely of you! Let's see if your accusations can hold up to Socratic questioning: - If I haven't open sourced any Crystal projects does that mean I haven't written any? - I have published several Ruby gems[0], when was the last commit or version bump for any of them? You're more interested that I am, tell me. I really should archive them, thanks for reminding me. - You missed off…

> they would see how far from "better ruby" is Crystal Are you accusing us both of lying? How strange.

now that I read "accusing us both of lying".. how could you interpret it like that? What I can see by your code, you are ruby developer trying to learn Crystal. See you in the next ruby thread ;)

Re: An Ode to Ruby

#198

Earlier quoted context omitted.

So you are accusing me of lying, how lovely of you! Let's see if your accusations can hold up to Socratic questioning: - If I haven't open sourced any Crystal projects does that mean I haven't written any? - I have published several Ruby gems[0], when was the last commit or version bump for any of them? You're more interested that I am, tell me. I really should archive them, thanks for reminding me. - You missed off…

Sorry, looking through the forks, they are all in sync with master, and most your contributions are small. It is great, nothing against it. The only thing that I wanted to say is that as soon as you start to work in a real project with Crystal you realize that it is not just a better ruby and it comes with it's own set of problems, patterns and etc. So I don't see a point to cite Crystal as option to ruby in every th…

> Sorry, looking through the forks, they are all in sync with master

I don't think you understand how Git works, which probably explains why you missed all the repos I needed to point out to you.

> , and most your contributions are small

What have you ever contributed? Show me.

> The only thing that I wanted to say is that as soon as you start to work in a real project with Crystal you realize that it is not just a better ruby and it comes with it's own set of problems, patterns and etc.

How would you know? Please share the repo in which you found this out. What is a "real" project?

> So I don't see a point to cite Crystal as option to ruby in every thread about ruby.

You've contributed nothing of worth, not even a specific criticism of Crystal, let alone anything worth knowing about Ruby.

> That's my point.

Great point.

Re: An Ode to Ruby

#199

Earlier quoted context omitted.

So you are accusing me of lying, how lovely of you! Let's see if your accusations can hold up to Socratic questioning: - If I haven't open sourced any Crystal projects does that mean I haven't written any? - I have published several Ruby gems[0], when was the last commit or version bump for any of them? You're more interested that I am, tell me. I really should archive them, thanks for reminding me. - You missed off…

> they would see how far from "better ruby" is Crystal Are you accusing us both of lying? How strange. now that I read "accusing us both of lying".. how could you interpret it like that? What I can see by your code, you are ruby developer trying to learn Crystal. See you in the next ruby thread ;)

> What I can see by your code, you are ruby developer trying to learn Crystal.

I don't value your opinion in this matter, you're simply trolling now.

> See you in the next ruby thread ;)

I doubt we'll interact again.

Re: An Ode to Ruby

#200

Earlier quoted context omitted.

Sorry, looking through the forks, they are all in sync with master, and most your contributions are small. It is great, nothing against it. The only thing that I wanted to say is that as soon as you start to work in a real project with Crystal you realize that it is not just a better ruby and it comes with it's own set of problems, patterns and etc. So I don't see a point to cite Crystal as option to ruby in every th…

> Sorry, looking through the forks, they are all in sync with master I don't think you understand how Git works, which probably explains why you missed all the repos I needed to point out to you. > , and most your contributions are small What have you ever contributed? Show me. > The only thing that I wanted to say is that as soon as you start to work in a real project with Crystal you realize that it is not just a b…

> I don't think you understand how Git works, which probably explains why you missed all the repos I needed to point out to you.

LOL, you forked many repositories and didn't push any code. You just proved my point. Just people without experience in Crystal comes to ruby related threads to say "Dude, use Crystal". Happy learning <3

Post reply on HN