Slightly Different Take on Being a Ruby Newbie [closed] - ruby

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I've been banging around with Peter Cooper's excellent book, as well as a few other resources in order to get a foothold in Ruby; now I'd like to go a step further. I'm wondering if I could reinforce what I've learnt by looking at code snippets/basic programs that are simple to follow but also educational for the pre-intermediate.
So, if anyone can recommend some examples that will help someone with a general grasp of syntax, but shows how to create or implement an idea, I would be very grateful. What I'm looking for is something that I can take apart and put back together again in order to get to grips with a concept.
I apologize if this all sounds a bit wooly, but I learn through repetition so the more examples the better. I've been using free online courses, to supplement my learning, but I'm looking for something I can play about with on Ruby when I don't have internet access.
Thanks for taking the time to read this, and I look forward to hearing from you.

I suggest to take a look at RubyMonk site. It's interactive ruby tutorials to learn Ruby intended for the beginners. It's free, so if you want to learn to code in Ruby it's a great place to start. Although it's a online course reminiscent of famous 'try ruby' I believe that would be helpful for you, because it contains a bunch of interesting and sometimes twisted examples and exercises for beginners. And yet another helpful resource - this git repository that contains various tasks and their solutions.

For improving knowledge what you got from courses or books, I've would recommend you these sites with set of interesting challenges: rubyquiz, puzzlenode

You need to go through rubykoans

Related

Why do Puppet and Chef use Ruby? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
We all know that Puppet and Chef are the superstars of the IT automation area, and they are developed in Ruby (though Chef 11 server was rewritten in Erlang).
In my working environment, a very large group of the operations team uses Python as the primary language to develop operation tools or basic system applications.
I want to find why both Puppet and Chef were written in Ruby? What are the advantages? Ruby supports DSLs well. Can Python do such thing?
From Luke Kanies, Puppet’s author:
I was a sysadmin by trade and had mostly developed in perl, but when I
tried to write the prototype I had in mind, I couldn’t get the class
relationships I wanted in perl. I tried Python, because this was
around 2003 and Python was the next new thing and everyone was saying
how great it is, but I just can’t seem to write in Python at all. A
friend had said he’d heard Ruby was cool, so I gave it a try, and in
four hours I went from never having seen a line of it to having a
working prototype. I haven’t looked back since then, and haven’t
regretted the choice.

Should I ignore SCSS? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I consider myself and excellent CSS writer. Lately, I have had some requests to code in SCSS. However, I don't run Ruby in my environment and am weighing whether I should deal with that overhead. And yes, I know there are some work arounds to compile the SCSS.
So, should I go out of my way to learn and support SCSS, or should I consider it strictly a Ruby gem that has nothing to do with what I do?
Further, since most of my work runs goes on LAMP environments, what is the utility unless I have a client running Rails?
The syntax is not that different, and there are online converters that can do the work for you. I would say that you should go for it.
I think scss is a lot better then css. You can write your css file very easy.
Take a look at the website of Sass, there are a lot of examples which are making you writing css much more easier. When you take a look at these, you will see that too.
Here is the link: Sass to the website.
My opinion: go for it!
I also consider myself a fairly proficient CSS (writer? coder?). I've thrown SCSS out the window because I don't see the benefit. Honestly I just don't really understand what problem it solves.
I group it with the similar "coffee". My response to both of those (not necessarily directed towards you) is:
Listen, we don't need more abstraction. Learn Javascript, Learn CSS. You can take those skills with you. Pretty soon we'll just have a one-click button to build our yet-another-blog-system, pat ourselves on the back and call ourselves programmers.
Anyway, I like your thinking. I say flex your CSS muscles and stay in shape :)

What non-trivial Ruby applications exist? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
What publicly available open source Ruby applications (not frameworks) exist apart from web applications?
This question is similar to Ruby off the rails , except that's about anecdotes of what Ruby applications they've created, which aren't necessarily publicly available.
These applications should be non-trivial: ideally multiple committers, with well-designed code to handle the complexity of their task.
One example would be the Metasploit Project.
Background: Asking in response to Framework for non-web Ruby project, where I realised that I haven't seen any examples of Ruby applications that aren't one-person projects.
Take a look at Chef. This Ruby project is becoming the de-facto tool for managing cloud architectures.
Have you seen hackety hack? Non-trivial, but you will find plenty of interesting ideas in the source code if you're adventurous. Being written by _why, it's pretty fanciful.
There are a number of Mac OS X applications written in Ruby-Cocoa (LimeChat is an example; I think Colloquy used to be, though its website implies that that may have changed).
As far as not seeing Ruby projects by more than one person...huh? True, most open-source Ruby development these days seems to be in the Rails world, but within that community there are lots of huge projects with many developers.
You might ask this question on the Ruby mailing list; you'll almost certainly get more good answers.

Best Online Video Tutorial Source to Learn Web Development similar to Lynda.com [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Please suggest premium or free online video sources that address web development.
I'm looking for the satisfy the following areas in particular.
Web architecture and planning
Web Usability and Design
Specific programming languages/frameworks namely (PHP, RoR, javascript, CSS)
Database Design
AJAX, jQuery
Any other areas needed to be a top notch developer (Note I didn't mean 'web designer', or 'web programmer')
So far the only great premium sites I'm aware of are lynda.com (for everything) and Peepcode.com (RoR). I know there's more out there like them. Please share.
The best foundational programming information that I've found is Stanford Open Campus, specifically:
CS106A
Here are some other resources to compete with Lynda.com
UDEMY
Learnable
Video2Brain
Creative Live
Kelby
VTC
TUTSPLUS
Digital Tutors
Team Treehouse
Code Academy
Code School
Peepcode
TotalTraining
I just found a good resource:
Harvard CS-75 - Building Dynamic Websites
http://academicearth.org/courses/building-dynamic-websites
A previous version is also on iTunes.
How about lynda.com's main competitor (but number two, I think), http://www.vtc.com.

Any decent weblogic tutorial? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
We are migrating an application from Tomcat to WebLogic. There are many things we just don't know about. Is there any decent tutorial out there?
We know about this but I'd like to read about experiencies, and/or processed information.
Thanks in advance.
Ok, I'm late, but I'm going to share the two tutorials I'm following, since I would have found helpful to have those right away.
http://www.scribd.com/doc/6339325/Weblogic-Tutorial
http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
WebLogic is a complex, enterprise-level product. I believe Oracle is making a pretty good attempt at explaining it in the intro doc: http://download.oracle.com/docs/cd/E12839%5F01/web.1111/e13752/toc.htm. You can follow the links to get to the detailed documentation of the features that interest you.
If that's not to your liking, Amazon has books like e.g.
http://www.amazon.com/Professional-Oracle-WebLogic-Server-Programmer/dp/0470484306
It depends a lot on your app, but if you can deploy it in tomcat, I'd be surprised if you couldn't deploy it in WebLogic.
Having said that, I certainly hope you have a good reason for using WebLogic (and I hope that reason isn't "The sales guy said it's awesome"). In my admittedly limited experience with WebLogic, I've found it to be a huge pain to use and impossible to troubleshoot if something goes wrong (and it will go wrong).
On the other hand, I have lots of experience with Tomcat, which is dirt-simple to use and easy to troubleshoot (not that you need to troubleshoot, since it pretty much just works).

Resources