Below is a list of topics suggested by members of the Las Vegas Ruby User Group (@LVRUG). During our next meetup, we'll pick three to be presented. If you have a topic you'd like to see covered, suggested one!
Gems like Ransack, MetaSearch, and Searchlogic, let you create complex search forms and sort links with ease. Why write all this code to query your models from scratch when you can just include search parameters in the view layer? Very cool. But of course, there are some gotchas. You don't want users able to query every field in your database, do you? How do you handle these security risks?
Here's a great tutorial on building a simple gem
Gutentag: Simple Rails Tagging
nil is Ruby's null reference. Tony Hoare invented the null reference in 1965, and later apologized for it in 2009, calling it his "billion dollar mistake." We can't get rid of nil in Ruby, but we can get rid of nil in our Ruby code. What patterns can we use to banish nil from our code forever?
The latest version of Ruby (now in preview) introduces features like decimal literals. Learn about the new features in this talk.
This is a topic that goes back to the basics of deploying Ruby on Rails. Not using any advanced gems, just the very basics. This is for those that are just learning how to develop in Rails and really want the simple information.
One of the selling points of JRuby (aside from true threading) is access to the enormous Java ecosystem.
This is about all the things a Ruby programmer needs to know to use the Java libraries from JRuby, including:
* Setting up the Java CLASSPATH
* Calling Java from JRuby
* Calling JRuby from Java
A presentation on A/B testing and other methods like the multi-arm bandit Perhaps, this could start off simple and then move into implementing the bandit gem in a rails app. (https://github.com/bmuller/bandit)
Ideas to cover:
Some other links:
One of the most common and difficult requests is to track changes to user-editable data in your app. This is a nightmare for a typical Rails app with lots of tables and many different data types. But why write your own versioning system when Git already exists? In this talk I will present my attempt at a general solution to database change tracking. The basic idea is to periodically export your data to YAML files and store them in a Git repository, but there are lots of issues to address to make a usable system. For example, export a typical has-and-belongs-to-many linking table and you will just get a big unreadable list of numbers. I am interested in sharing my approach and getting feedback from the group.
Helpful for those new to building web apps. Inspired of this post: http://blog.goodsense.io/2012/12/07/dont-be-lazy-use-html-labels-correctly/
Things to cover:
What is valid HTML?
Why is it important?
How can you check it?
Does rails help create valid html? Any areas to be aware when building a rails app?
Where to learn more.
Stuff like that would make for a great beginner session.
A talk on caching in rails and mainly focused on Rails 4's Russian-doll caching.
Includes which best-practices tools to use for screen scraping like:
Ways to get the HTML (Watir, PhantomJS, HTTParty, etc.). Headless vs. NonHeadless
Ways to parse the HTML (Nokogiri)
Ways to find the CSS/XPath selectors to use (Selector Gadget, Chrome Dev Tools, etc.)
When to retry for which exceptions (retryable gem, exceptions: Timeout::Error, Errno::ECONNREFUSED, etc.)
What to do when the web site you're scraping has rate-limiting.
I think Fred originally suggested this but it disappeared.
With AWS Elastic Beanstalk, you can quickly deploy and manage applications in the AWS cloud without worrying about the infrastructure that runs those applications. AWS Elastic Beanstalk reduces management complexity without restricting choice or control. You simply upload your application, and AWS Elastic Beanstalk automatically handles the details of capacity provisioning, load balancing, scaling, and application health monitoring.
It seems that sooner or later most developers need to persist their objects in a convenient format so that they can reconstitute them sometime in the future for further processing. The process for achieving this is called object serialization.
This will be a beginner presentation about what object serialization is, why a developer might want to use it, and a few serialization techniques in Ruby.
We already heard from David about the basics of how Capistrano works, but this talk about be about the practical side of deploying Rails apps with Capistrano. Probably it should cover Capistrano + Rails 3 + Bundler + RVM, but if the presenter doesn't use RVM on the servers then it could be different.
How does Capistrano integrate with each of these technologies? What are the different capistrano tasks available for deploying Rails apps? What directory structure does Capistrano set up for you?
3 is 3, but 3 feet is very different from 3 miles. We use numbers all the time in programming, but rarely assign explicit units of measure to the numbers programmatically.
* Advantages of explicit units of measure
* Ways to add units of measure in Ruby
* Examples of libraries that use units of measure
A session covering what's in html and how it realtes to rails developers. Would be cool to see compatibility covered and any best practices. Perhaps discuss the benefits and limitations of mobile apps maximizing html5 vs native apps. Just some thoughts.
Some links for ideas:
Presentation of Rails App that I developed for the 52 Peak Club. Used by a growing and active community of 600+ LV area hikers, to track their progress toward climbing 52 local peaks. The url is http://my.52peakclub.com. The site just went live at Heroku.
Quick tour of the app, brief overview of how I've implemented/integrated the major components, and discussion of selected issues encountered and solved. Ready to present in July.
A beginners overview of SOLID: https://en.wikipedia.org/wiki/Solid_(object-oriented_design)
And how it relates to creating ruby applications. :)
A presentation on Martin Fowler's Active Record Pattern
and how it's implemented in the rails framework.
This would be one of several "CS Basics" topics where we cover relevant Computer Science principles and then tie it back into Ruby/Rails to get give people a better understanding of the framework.
So your app is starting to beef up and it's time to get your database off of that single server. You're now facing challenges such as
* backing up data
* disaster recovery if the database goes down
* automatic failover if the master database goes down
* too many connections from your app to the database
* database is getting too big to just keep it on one disk
* master/slave configuration
* creating a database follower https://devcenter.heroku.com/articles/heroku-postgres-follower-databases
* sharding using a gem like Octopus https://github.com/tchandy/octopus
This client library, for which the modest claim "One HTTP Client to Rule Them All" has been made, is used under the covers by the OAuth2 gem among others.
Describe the philosophy and architecture of this gem, as well as some examples of how to use it.
A talk covering the notion of saving time when prototyping without writing code. I.e. using flash cards and pretend it's an interactive UI.
Cover the benefits and limitation of such method for developing applications and any tools which make it easier.
Alex and Jason saw a presentation on this topic and I'd love to know more.
It seems that after some trial and error. There are certain db's that would be preferable depending on the application type and hosting choices.
Could I suggest there be a topic and discussion on how to install Postgres and get it working on local machine?
Seems like Postgres is the db of choice for Heroku
Setting up a Rails application to not only be an API provider, but also a nice container for an AngularJS application.
RDoc, SDoc, Yard... Who was the best system? What's the difference between them? How do I use them? And oh, yeah, why you should document your code and documentation smells.
How to be a better programmer aside from actually programming. I would like to see tips and tricks on ergonomics, nutrition, sleep habits, productivity (both in terms of mental focus like pomodoro and ideologies like agile), what books to read, what GUIs I should use for programming, what other apps should I use, etc.
I really enjoyed a talk on agile and Scot's talk on productivity, but different opinions help!
A walk through of ActionController::Live and how/why one would use it. Here is a great blog post by Aron Patterson: http://tenderlovemaking.com/2012/07/30/is-it-live.html
Interactive Git Commit
What's all the hype about these 3 platforms? Hello?! They are all built on top of Amazon EC2 so how can they be so different? When should you use one vs another?
Some key talking points
* How can I get ~free~ hosting on Heroku and what's the catch?
* What if I need to SSH into my server box?
* What if I need to install custom software on my server? (i.e. Redis, PhantomJS, some whacky Linux binary for which you don't have the source code, etc)
* What if my project has special requirements (SSL certs, static IP addresses, etc.)
* How easily can I scale out app servers or increase database capacity?
* Differences in cost?
Opal is a very ambitious project to let us Ruby programmers program in Ruby for both back end and front end.
This IMO is going to completely revolutionize the was we do front end development, all of it in Ruby, even CSS and HTML. Amazing browser tools for debugging and development. Then write Ruby on the front end (runs in browser) and on the back end (run on MRI, Rubinious, or even Node [say what??])
Too much to type type on phone I have two fucked up sites AND COMPUTER thtsd crashing and holding our dsta in microspft access. In 2011 I joined vegas tech lib just to read books to link and hold on until i had the whole story cuz Obama has been disruptive shown us new ways on how were gonna spend United States Federal Government funds and IRS 501 3c nonprofits Required plan of action items needed to end HIV/AIDS and applied to the business canvas model and then the Delivering Happiness Model with all the perks and our endless step ups to WIN WIN WIN using the cloud to street "scaled" UNIVERSALLY. The structure is also based off of a Technology Rules tbe United States has direct requirements in a 158 page doc of what is and is not of to protect major stakeholders investments Vegas Tech Fund and #vegastech resources wow in #dtlv wtf right... I attended a 4 hr workshop last winter and knew I had enough knowledge of code to from the leaders passionate and SMART in away to really blow some shit up. I asked questions that were answered in true transparent logic I remember twittering something and the Ruby team in Nyc gave me a favorite and that's the values I like smart and confident yet cool and humble. My friends and I gave cracked the code...let's gomojo and count our money and bitcoins setting records on the local motors dtlv soultrain ...
Provide examples of how to create well-written Ruby scripts which accelerate large workloads using multiple CPU cores. Also provide coding examples of gotcha's and what-not-to-do's.
Example ideas: Processing large log files, CSV files, database entries, hash calculations, media analysis, or other processor-intensive activities.
A multithreaded program has more than one thread of execution. Within each thread, statements are executed sequentially, but the threads themselves may be executed in parallel on a multicore CPU, for example. Often on a single CPU machine, multiple threads are not actually executed in parallel, but parallelism is simulated by interleaving the execution of the threads.
This resource may help:
Join us for the AT&T Developer Program’s biggest hackathon of the year! The AT&T Developer
Summit Hackathon will be taking place January 4 -5 at the 2014 AT&T Developer Summit in Las Vegas.
This year will be focused on wearable technologies, and participants will be able to choose between a Wearables Track and an AT&T API Track.
Finalists from each track will be featured in live fast pitches on stage with executives during the keynote of the AT&T Developer Summit on January 6. There will be over $200K in cash and prizes awarded to the best apps.
In addition, competitors will also have the ability to complete in the accelerator challenge, which will offer prizes of up to $10,000 for eligible teams.
Registration for the hackathon is FREE: http://soc.att.com/1hiuck6
Competitive intelligence data sort. I have spent the past 2years collecting info and we have a moral responsibility to share this info with our Las Vegas community. I wanted to make sure no one misses the opportunities we have ...its driving me crazy
A broad definition of competitive intelligence is the action of defining, gathering, analyzing, and distributing intelligence about products, customers, competitors and any aspect of the environment needed to support executives and managers in making strategic decisions for an organization.
Key points of this definition:
Competitive intelligence is an ethical and legal business practice, as opposed to industrial espionage, which is illegal
The focus is on the external business environment
There is a process involved in gathering information, converting it into intelligence and then utilizing this in business decision making. Some CI professionals erroneously emphasize that if the intelligence gathered is not usable (or actionable) then it is not intelligence.
A more focused definition of CI regards it as the organizational function responsible for the early identification of risks and opportunities in the market before they become obvious. Experts also call this process the early signal analysis. This definition focuses attention on the difference between dissemination of widely available factual information (such as market statistics, financial reports, newspaper clippings) performed by functions such as libraries and information centers, and competitive intelligence which is a perspective on developments and events aimed at yielding a competitive edge.
The term CI is often viewed as synonymous with competitor analysis, but competitive intelligence is more than analyzing competitors—it is about making the organization more competitive relative to its entire environment and stakeholders: customers, competitors, distributors, technologies, and macroeconomic data.
Distinguishing from similar fields
ReferencesRead in another language
Last modified 6 days ago
Wikipedia ® MobileDesktop
Content is available under CC BY-SA 3.0 unless otherwise noted.
Talk about and demonstrate how to access data from existing databases (pre-existing table structures).
Example: Read-Only access to a large, external MySQL DB
Speaker may wish to compare direct client access, vs ActiveRecord, and how to deal with migrations, table/column translations, etc.
Can one code in a functional manner using Ruby? Is Ruby a LISP? Does Ruby Support FP?
In this talk I will attempt to bring over several functional concepts into Ruby programming, and along the way disclose some pitfalls you may encounter. We will also explore why functional programming is making a comeback.