News for hackers. Stuff that matters.
Re:Ruby 2.1.2 is released by wbond on Monday May 19, 2014 @09:26AM (#7767264)
While I imagine that most Windows Ruby users already know this, I found it surprising that there still has not been an installer for Ruby 2.1 released for Windows. It appears there is at least one test failing on Windows that no one has had the time to fix.

Considering that we are almost half way to the 2.2 release date (Dec 2014), it seems like Windows support may end up becoming a second-class citizen.

Re:Ruby 2.1.2 is released by petercooper on Monday May 19, 2014 @10:43AM (#7767609)
> it seems like Windows support may end up becoming a second-class citizen.

It won't end up being a second-class citizen, it already is. I wrote about this 6 years ago(!) http://www.rubyinside.com/is-windows-a-first-class-platform-... .. shortly after that I ran a panel at Euruko where I asked both the audience and Matz their opinions for Windows support and no-one really cared. It's only through the efforts of a relatively small and dedicated group of people that we have Ruby running on Windows whatsoever.

Re:Ruby 2.1.2 is released by dragonwriter on Monday May 19, 2014 @12:31PM (#7768293)
> It appears there is at least one test failing on Windows that no one has had the time to fix.

The failing test for test_float wasn't Windows-specific (it looks from the tracker [1] that other packagers were hitting it even though it passing on the CI system used by core, its just that Windows users are more likely to be dependent on the packager rather than building from source without running the test suite, so RubyInstaller treating it as a blocker meant more on windows than other packagers treating it that way would mean on other platforms.)

Also, there've been a number of apparent fixes (the issue was closed 5 months ago, and then again 4 months ago), before it was (hopefully, finally) resolved four days ago. Its not -- well, for the last half or so of the bugs life -- an issue of no one taking time to fix it

> Considering that we are almost half way to the 2.2 release date (Dec 2014), it seems like Windows support may end up becoming a second-class citizen.

Irritating as it is for RubyInstaller users, this doesn't really seem to be a result of less attention being paid to Windows.

[1] https://bugs.ruby-lang.org/issues/8358

Re:Ruby 2.1.2 is released by venus on Monday May 19, 2014 @10:06AM (#7767456)
I'd say Windows has been a second class citizen for a long time for any of the unix-centric open source languages. Ruby, Python, even node - you're fighting an uphill battle trying to do anything on Windows.

I'm sort of amazed they've made it run at all, the systems are so different. I'd advise anyone trying to run any of these systems on Windows to use a linux VM.

Re:Ruby 2.1.2 is released by toyg on Monday May 19, 2014 @10:15AM (#7767494)
>Ruby, Python, even node

Nope: Windows support in Python is good and well-maintained, afaik. It boils down to attention for neophytes, really, and applications in education... a field where Python has much more mindshare than Ruby or node (IMHO).

Re:Ruby 2.1.2 is released by venus on Monday May 19, 2014 @10:33AM (#7767574)
Well, fair enough then, I take that back. Nonetheless, I know a few python web programmers, and zero of them use windows. I imagine that libraries would be a big issue too, not to mention the native lack of simple things like a proper command line, ssh, all the normal tools. Sure, you might be able to make it all kind-of work, but it's harder than it should be and decidedly outside of the mainstream.

Couldn't really comment on academic computing. I suppose, though, they are not really relying on the larger ecosystem as much as (say) web applications, so would not be affected so badly by the libraries issue.

Re:Ruby 2.1.2 is released by dagw on Monday May 19, 2014 @10:52AM (#7767654)
Python is also used as a scripting and plugin language in several large commercial Windows applications.
Re:Ruby 2.1.2 is released by wbond on Monday May 19, 2014 @10:33AM (#7767572)
I concur. I've found Windows support in the Python community to be pretty good. The Ruby community seems to have more of a focus on posix platforms.
Re:Ruby 2.1.2 is released by venus on Monday May 19, 2014 @10:39AM (#7767594)
Point taken. However, like I said above, I know a few startups who use python, and the only Windows boxes there are for IE testing. Certainly no-one deploys on it. Academic computing seems to be a different world, though.
Re:Ruby 2.1.2 is released by wbond on Monday May 19, 2014 @11:44AM (#7767985)
While I do lots of web work, the majority of my work with Python is as a scripting language embedded in a cross-platform app (Sublime Text). There are easily hundreds of thousands of developers who use that work on a daily basis.

The Windows support in Python is extensive enough I was able to write a web-client using ctypes and the native Windows network API to better support users with funky proxies and so forth.

Re:Ruby 2.1.2 is released by Jweb_Guru on Monday May 19, 2014 @10:16AM (#7767504)
While this is true, Microsoft is making a big push to get Ruby working more equitably on its platform (for example, they had a heavy presence at Chef Conf), so I wouldn't expect this to continue indefinitely.
Re:Ruby 2.1.2 is released by dragonwriter on Monday May 19, 2014 @01:06PM (#7768499)
> While this is true, Microsoft is making a big push to get Ruby working more equitably on its platform (for example, they had a heavy presence at Chef Conf)

Having heavy presence at a conference is clearly evidence of trying to get mindshare from users of the thing the conference focuses on, but its less clear that it is evidence of actual concrete work to get the related software working on any platform that you control. Is there really any concrete signs of Microsoft working to get Ruby working better on Windows?

Re:Ruby 2.1.2 is released by venus on Monday May 19, 2014 @10:35AM (#7767581)
Yeah, they say that every couple of years (eg IronRuby) - it never seems to amount to anything. As with anything MS says, I'll believe it when I see it.
Re:Ruby 2.1.2 is released by methehack on Monday May 19, 2014 @12:38PM (#7768327)
Frankly, it should be a second class citizen. Look, MS started it by using the its lack of standards compliance as a business weapon. So, they made their choices. I'd rather see the precious resources be spent on other things.
Re:Ruby 2.1.2 is released by adrianlmm on Monday May 19, 2014 @10:28AM (#7767551)
That's why I'm switching to Owin + Nancy, It is really sad to see the lack of love Ruby on Windows gets.
Re:Ruby 2.1.2 is released by threedaymonk on Monday May 19, 2014 @12:42PM (#7768367)
The other side of the fence isn't much better.

Nancy's own wiki gives instructions for hosting Nancy on Ubuntu that start with downloading and compiling the latest version of Mono. They continue, "Open VS2012 and start a new console app NancyDemo.sln". Indeed, if anyone can successfully develop a Nancy application on Ubuntu, I'd love to know how. I spent two days yak-shaving NuGet (I even submitted a pull request to fix one bug) before concluding that it just doesn't work on Ubuntu.

Re:Ruby 2.1.2 is released by adrianlmm on Monday May 19, 2014 @01:30PM (#7768628)
It is good, but Im not interested in using Nancy on Linux, the reason I'm using Ruby/Sinatra on Windows is to not to depend of the IIS envyroment, now with Owin and Nancy I can acomplish the same.
Re:Ruby 2.1.2 is released by jrnkntl on Monday May 19, 2014 @06:56AM (#7766806)
FYI this was released 10 days ago - https://news.ycombinator.com/item?id=7718581
Re:Ruby 2.1.2 is released by stanislavb on Monday May 19, 2014 @07:30AM (#7766910)
Good point! I though I've checked ruby-lang last 10 days...
Re:Ruby 2.1.2 is released by stanislavb on Monday May 19, 2014 @06:50AM (#7766792)
That's really good news. I hope the different GC issues that required tuning and patching of 2.1.1 have been fixed.
Re:Ruby 2.1.2 is released by excid3 on Monday May 19, 2014 @08:25AM (#7767049)
Readline definitely got fixed so you no longer have to apply patches to get it to compile.
Re:Ruby 2.1.2 is released by Pacabel on Monday May 19, 2014 @08:12AM (#7767012)
Is there anything particularly notable about this release? The release notes make it sound quite minor, with a small handful of bug fixes.
Re:Ruby 2.1.2 is released by chrisseaton on Monday May 19, 2014 @09:14AM (#7767215)
These point releases are what the patch (-pNNN) versions used to be, so they are minor.
Re:Ruby 2.1.2 is released by e79 on Monday May 19, 2014 @09:52AM (#7767385)
There are some GC bug fixes that address some edge cases.
Re:Ruby 2.1.2 is released by timr on Monday May 19, 2014 @12:06PM (#7768135)
It's more than just an edge case -- you're very likely to encounter the bugs that were fixed if you allocate large objects in a rails request handler. You should upgrade.
[deleted]
Re:Ruby 2.1.2 is released by VeejayRampay on Monday May 19, 2014 @09:24AM (#7767257)
Just so that I understand, what is so funny about that website? If I read those graphs correctly, it seems that each new release is indeed faster than the previous one, as one would expect... Am I missing something?
Re:Ruby 2.1.2 is released by ant_sz on Monday May 19, 2014 @09:54AM (#7767395)
I don't understand you too. I was not making fun of the speed of ruby at all! Indeed just because it's becoming faster and faster I was quite happy.

I just can't wait to see how faster the new version....

Re:Ruby 2.1.2 is released by VeejayRampay on Monday May 19, 2014 @11:41AM (#7767973)
Sorry if I misunderstood, the "LOL" made it sound like you were poking at the lack of speed. My bad then.
Re:Ruby 2.1.2 is released by ant_sz on Monday May 19, 2014 @11:46AM (#7767997)
not your fault.

it seems I did not use the word right...

:p