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?
What is a closure? What is lexical scoping? What are the rules that Ruby uses to let you refer to variables that were not defined in the current scope. What are the implications to this? For example, why can't I serialize Ruby code.
The latest version of Ruby (now in preview) introduces features like decimal literals. Learn about the new features in this talk.
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
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?
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:
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.
Here's a great tutorial on building a simple gem
Gutentag: Simple Rails Tagging
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.
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.
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?
A talk on caching in rails and mainly focused on Rails 4's Russian-doll caching.
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.
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
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
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.
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.
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:
A beginners overview of SOLID: https://en.wikipedia.org/wiki/Solid_(object-oriented_design)
And how it relates to creating ruby applications. :)
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 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.
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.
When writing an if statement or setting up a boolean field, I believe that you should systematically try to make the default, normal, typical case be FALSE, while the exceptional or alternate case should be TRUE. I will make the argument in this presentation.
Docker is an open-source project to easily create lightweight, portable, self-sufficient containers from any application. The same container that a developer builds and tests on a laptop can run at scale, in production, on VMs, bare metal, OpenStack clusters, public clouds and more.
How can this be used locally and pushed out to production?
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
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
Interactive Git Commit
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!
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.
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?
Setting up a Rails application to not only be an API provider, but also a nice container for an AngularJS application.
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.
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 ...