background preloader

Ruby

Ruby

Getting Started with Rails 1 Guide Assumptions This guide is designed for beginners who want to get started with a Rails application from scratch. It does not assume that you have any prior experience with Rails. Rails is a web application framework running on the Ruby programming language. If you have no prior experience with Ruby, you will find a very steep learning curve diving straight into Rails. Be aware that some resources, while still excellent, cover versions of Ruby as old as 1.6, and commonly 1.8, and will not include some syntax that you will see in day-to-day development with Rails. 2 What is Rails? Rails is a web application development framework written in the Ruby programming language. Rails is opinionated software. The Rails philosophy includes two major guiding principles: Don't Repeat Yourself: DRY is a principle of software development which states that "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system." 3 Creating a New Rails Project 9 Security

2600: The Hacker Quarterly How to Get Startup Ideas November 2012 The way to get startup ideas is not to try to think of startup ideas. It's to look for problems, preferably problems you have yourself. The very best startup ideas tend to have three things in common: they're something the founders themselves want, that they themselves can build, and that few others realize are worth doing. Problems Why is it so important to work on a problem you have? I made it myself. Why do so many founders build things no one wants? At YC we call these "made-up" or "sitcom" startup ideas. For example, a social network for pet owners. The danger of an idea like this is that when you run it by your friends with pets, they don't say "I would never use this." Well When a startup launches, there have to be at least some users who really need what they're making—not just people who could see themselves using it one day, but who want it urgently. Made-up startup ideas are usually of the first type. Nearly all good startup ideas are of the second type. Self School

When NoSQL Databases Are — Yes — Good For You And Your Company The proliferation of non-relational databases in the tech sector these days could lead you to think that these data management tools (also known as NoSQL databases) are eventually going to make traditional relational databases extinct. Not so. Each of these database types is best suited for very different types of workloads, and that's going to prevent either one from tromping the other into the dust. In this two-part series, I'll examine the capabilities of both NoSQL and relational databases to help you make the right decisions for your organization. "NoSQL"? Right off the bat, NoSQL databases are unique because they are usually independent from Structured Query Language (SQL) found in relational databases. See also: Relational Databases Aren't Dead—Heck, They're Not Even Sleeping NoSQL databases are designed to excel in speed and volume. Go Big Or Go Home Easier scalability is the first aspect highlighted by Wiederhold. There's No Need To Fear Objects Of Desire Downtime?

Cain & Abel Cain & Abel is a password recovery tool for Microsoft Operating Systems. It allows easy recovery of various kind of passwords by sniffing the network, cracking encrypted passwords using Dictionary, Brute-Force and Cryptanalysis attacks, recording VoIP conversations, decoding scrambled passwords, recovering wireless network keys, revealing password boxes, uncovering cached passwords and analyzing routing protocols. The program does not exploit any software vulnerabilities or bugs that could not be fixed with little effort. It covers some security aspects/weakness present in protocol's standards, authentication methods and caching mechanisms; its main purpose is the simplified recovery of passwords and credentials from various sources, however it also ships some "non standard" utilities for Microsoft Windows users. The latest version is faster and contains a lot of new features like APR (Arp Poison Routing) which enables sniffing on switched LANs and Man-in-the-Middle attacks.

My MOOCs - snarkychaser The Scientific American article sat there every time we used the bathroom. I really didn’t have a chance to read it but it involved MOOCs (massive online courses) bringing first rate education to Rwanda. That same summer as we drove all over California to visit colleges for my teenaged daughter, she struggled to find internet access to take her tests from the University of Melbourne MOOC on Epigenetics. My husband and I were fascinated by her dedication to learn and I became sold on the idea of MOOCs. This winter, when my twitter feed posted an article in the Atlantic Monthly about the edX, collaboration with Harvardx and MITx and their MOOC platform, I jumped right in to sign up. · BerkeleyX: ColWri2.2x Principles of Written English (a basic college essay writing class) taught by Dr. · BerkleeX: BCM-MB110x Introduction to the Music Business taught by John P. Each of the course descriptions estimate the amount of time that the student will need to allocate for the course. Will See Music

Home Mongoid (pronounced mann-goyd) is an Object-Document-Mapper (ODM) for MongoDB written in Ruby. It was conceived in August, 2009 during a whiskey-induced evening at the infamous Oasis in Florida, USA by Durran Jordan. The philosophy of Mongoid is to provide a familiar API to Ruby developers who have been using Active Record or Data Mapper, while leveraging the power of MongoDB's schemaless and performant document-based design, dynamic queries, and atomic modifier operations. This is the site for Mongoid 3 documentation, along with Origin and Moped. If you want the Mongoid 2 docs, please go here. class Artist include Mongoid::Document field :name, type: String embeds_many :instrumentsend class Instrument include Mongoid::Document field :name, type: String embedded_in :artistend syd = Artist.where(name: "Syd Vicious").between(age: 18..25).first syd.instruments.create(name: "Bass") syd.with(database: "bands", session: "backup").save!

Why Piazza Works Sign Up Company? Click here. Companies Get Started Log in About Product Support Legal Why Piazza Works Piazza is free, easy to use, and takes minutes to set up. It starts with students contributing. Anyone can ask and answer questions on Piazza. Piazza gives students anonymity options to encourage everyone—even shy students—to ask and answer questions. Wiki-style Q&A makes finding the (single) answer easy. Questions and answers on Piazza are community-edited. With wiki-style Q&A, when a student has a question, she doesn't need to sift through long threads in a forum to find what she's looking for; she can read just the single, high-quality question and answer. A site that actually keeps up with class activity—in real time. Students and instructors respond to questions fast because things happen fast on Piazza. Mobile apps keep you connected. Our iOS and Android mobile apps let you stay connected with your class on the go. Keep up with class alerts by following along with email notifications. ↓ Start

and Harvard release working papers on open online courses MIT and Harvard University today announced the release of a series of working papers based on 17 online courses offered on the edX platform. Run in 2012 and 2013, the courses analyzed drew upon diverse topics — from ancient Greek poetry to electromagnetism — and an array of disciplines, from public health to engineering to law. The working paper series features detailed reports about individual courses; these reports reveal differences and commonalities among massive open online courses (MOOCs). In the coming weeks, data sets and interactive visualization tools will also be made available. The papers analyze an average of 20 gigabytes of data per course and draw on interviews with faculty and course teams as well as student metrics. Key takeaways Takeaway 1: Course completion rates, often seen as a bellwether for MOOCs, can be misleading and may at times be counterproductive indicators of the impact and potential of open online courses. Future directions

Access to MOOCs could be revolutionary, but US foreign policy is preventing that | Aasis Vinayak Recently, Coursera, the online university course provider, began blocking students from Iran, Cuba and Sudan from using its services. Coursera, which boasts more than 21.5 million student enrolments from 190 countries, is one of the most popular MOOC (Massive Open Online Course) platforms out there. But unlike other MOOCs (like MIT OpenCourseWare or edX), Coursera is a for-profit business, which means it can't serve students in countries against which the US government has imposed economic sanctions. According to the US treasury, trade in "information and informational materials" is permitted between the US and countries like Iran, which is why online newspapers and some search engines can provide content to people living in those countries. In reality, almost all the courses offered by Coursera are free. The export control regulations governing MOOCs are unclear. Another difficulty is with the acronym itself. MOOCs allow users to enrol in a variety of courses with ease.

Related: