Any standard guide for Ruby WIN32OLE API? [closed] - ruby

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I searched a lot on this but haven't yet got any standard or rather systematic guide for Win32Ole in Ruby. Ruby on windows by David is very good but I need a complete, systematic standard tutorial for WIN32OLE ruby APIs.
Please suggest!
Thanks
Pradyumna

I fear you may not find one. David Mullet is working on a book but that rather implies that it's still some considerable time away from publication.
I need a complete, systematic standard
tutorial for WIN32OLE ruby APIs.
How "complete", "systematic" and "standard" do you really need it to be? You have to consider that someone needs to have the motivation to produce such a tutorial, which would be a substantial piece of work to undertake for no reward; that's why a book is in preparation - then we can pay David for his expertise!
So we may need to modify your need to be more satisfiable by current reality: are there particular problem(s) you are trying to solve? Could you put some more specific questions here?

I was thinking about posting the same question when I came across your post. I'm not sure what exactly you are trying to do, but I have had some success with Ruby and Excel. I find that if you can create an Excel macro that does something similar to what you would like Ruby to do, you can more or less 'rubyfy' the macro code and access all the same methods and attributes in your Ruby code. I was able to figure out how to get Ruby to create Excel graphs, and cell color coding this way. If the software you want to interact with has a similar macroing tool, you may be able to work out how to use ruby to interact with that software. I do look forward to the book that Mike mentioned.

Assuming that the problems are with win32OLE rather than with ruby, I'd be half tempted to look for guides in other scripting languages, such as perl.

Related

Cannot find a way to execute a ruby script from within swift [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have searched the web and the Swift documentation,
but so far have not found a way to execute a ruby script.
Is there a way to do this? I am assuming the script
exists as a file on the system.
Using system worked for me. The following calculates 5 factorial in Ruby under Swift:
import Cocoa
let value = 5
system("ruby -e \"p (1..\(value)).inject{|a,b| a*b}\"")
This use to be possible in Objective-C through MacRuby, but It didn't offer much benefit over the other options unless you need to interact very heavily between the two environments. MacRuby is more for interacting with the Objective-C world from Ruby than vice-versa, but it does allow you to freely mix the two languages in your project.
Sadly, MacRuby has effectively been dead in the water for a couple of years now. It had a lot of promise, but it didn't have the necessary internal support at Apple for it to succeed.

Practical guide on machine learning for developers? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Machine learning seems to be a buzzword on startups, but as a traditional developer dealing mainly on MySQL, Python/PHP, Javascript, etc, I cannot find any really helpful tutorial online that can get me started on using machine learning techniques to enhance existing web projects.
So what I have in mind is like
- categorizing/tagging user submitted post automatically
- provide personalized recommendation
At the risk of being close as non constructive, might I ask here: would there be a "Hello World" kind of projects, or basic use-cases that help introducing machine learning techniques to practical programmers? Or at least some guides as to how to get started on this track?
Although many would recommend Elements of Statistical Learning, by Hastie, Tibshirani and Friedman, I feel the following resources more suited for people with a programming background rather than a mathematical background:
Machine Learning for Hackers, Drew Conway and John Myles White, O'Reilly, 2012
Algorithms for the Intelligent Web Haralambos Marmanis and Dmitry Babenko, Manning, 2009
To really get hands on, choose a language and find a machine learning library in that language, along with an accompanying tutorial. For instance Apache Mahout, or Weka for Java, Scikit-learn for Python, etc.
Also, PyGotham2011 features a video tutorial on developing machine learning-based features for web development.
There's quiet a nice, practical hands-on book which might give you some basic insights on what is going on:
Collective Intelligence - Building smart Web2.0 applications
ISBN-10: 0596529325
ISBN-13: 978-0596529321
It is using Python as example language, but I think it should give you some ideas.
Regarding Recommendations, there is also a good Introduction to Mahout Recommenders:
https://cwiki.apache.org/confluence/display/MAHOUT/Recommender+Documentation
Mahout also has the capabilities of doing clustering / categorizing texts, so it's worth to have a look into this machine learning library.

Best tutorial for Ruboto (ruby for Android)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm almost done with Ruby but now want to try my hands on Ruboto, ruby on android.
Google failed to give me sufficient (almost no results).So can anyone please share some tutorials on Ruboto.
From the looks of it, Ruboto's own documentation is still under development! Ruboto's GitHub Wiki provides some tutorials and examples, but they're not totally complete. However, this may be enough to get you started. Be sure to read the README (which is also available on their GitHub Wiki):
https://github.com/ruboto/ruboto/blob/master/README.md
That should get you set up to go through their own tutorials:
https://github.com/ruboto/ruboto/wiki/Tutorials-and-examples
As Ivaylo Strandjev has already said, what you'll really need to learn to make apps with Ruboto is a sufficient knowledge of Ruby. From there, Ruboto is simply extending Ruby's capabilities to communicate with Android. Understanding how it does so is all you need!
You're right, though! There aren't a lot of tutorials, yet, because Ruboto is still a very early effort. Provided you have a good knowledge of Ruby, however, these tutorials and a thorough reading of Ruboto's documentation on GitHub should be more than enough to get your feet wet.
Happy Rubying!
Ruboto now supports a lot of ruby's functionality and also there are some examples included on how to do "more fancy stuff". Still so far all the programs I have written in ruby work on ruboto too. So my suggestion is - find a ruby tutorial instead.

Is there a good free (prefrerably PDF) bash tutorial online? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am finding myself doing a lot more messing around with scripts than I used to and my lack of knowledge in this area (and linux sysadmin/security in general), is becoming a hindrance.
Can anyone recommend a good online resource for bash scripting/linux admin. Preferably, it will be in pdf format, so I can copy it (single file) onto my PDA.
I've learnt much from the Advanced Bash-Scripting Guide
This guide is targeted more at programming beginners, but it can prove useful too:
Bash Guide for Beginners.
I usually use the HTML version as a reference when hacking Bash, but there is a PDF version of both guides if you want to read them all through. You can find all formats of the guides at http://www.tldp.org/guides.html
The available PDF manuals are very limited. I download some of these HTML guides using something like wget --page-requisites --mirror --convert-links so I can read them on the train on my laptop.
The Advanced Bash Scripting Guide. Covers a range of topics, from basic to advanced.
The Bash Reference Manual is okay, but it's just a reference manual. I read it, but I am sometimes left with unanswered questions. This is a pretty official document, and other guides often refer to this document.
Bash Guide for Beginners. Despite the name, this is a great reference for experienced users also.
BASH Frequently Asked Questions is a great resource
The Bash-Hackers Wiki is an excellent resource and is filled with all sorts of useful topics. The Syntax Guide is great and often better syntax reference then the Bash Reference Manual.
Vivek Gite has some great articles at cyberciti.biz. See bash.cyberciti.biz and www.cyberciti.biz/faq/category/bash-shell/
Do not miss to look at
http://mywiki.wooledge.org/BashGuide.
There is the Advanced Bash Scripting Guide - for PDF versions do a bit a of Googling.

Recommended face detection tools/SDK/etc [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for a quick way to detect faces in pictures (stored as JPG or any other popular image format). Code in any popular programming language will do (Python, C#, Java, Matlab, etc.). I'm also willing to implement an algorithm by myself, as long as it is proven to be a good working one.
Alternatively, if there are known freeware (preferably open, but not necessary) tools or SDKs for the problem, I'll try them too.
Finally, Commercial products would be considered as well, if all else fails, so recommend those too.
OpenCV is a open source library that has support for face recognition.
Emgu.CV is a C# wrapper for OpenCV. There is a sample project that performs face recognition with adjsutable parameters just like in OpenCV.
Take a look at these guys, I've used this once partially for a project.
http://ayonix.com/en/products/software/ayofa.html
I wrote about resources and example code for face classification in this post.
If you want a quick way to do face recognition look at the example code for face recognition in OpenCV for Python or C++ here.
There is also a Matlab code that I found very useful and is ready to run with a single click right here

Resources