Why should your business exist
"Why should your business exist? That is the core question to answer for any firm. The presentation shows how you find great answers to this question."
- http://www.slideshare.net/pstaehler/why-should-your-business-exist-11651414
Startups and Books
After Startupcamp Switzerland 2012, these are some book that are in my "To Read" list.
The Lean Startup: How Constant Innovation Creates Radically Successful Businesses
Most new businesses fail. But most of those failures are preventable. This title offers a fresh approach to business that's being adopted around the world. It describes learning what your customers really want, testing your vision continuously, and adapting and adjusting before it's too late.
Technology Ventures: From Idea to Enterprise
- Textbook for the Technology Entrepreneurship course, 2012, from Stanford University.
For business, engineering, and science students and professionals who demand a comprehensive guide to high-growth entrepreneurship, Technology Ventures is the leading resource for analyzing opportunities and building new enterprises.
Extreme Toyota
Extreme Toyota offers the first real, comprehensive inside look at what makes one of the world?s best companies run. What they uncovered will surprise you and change the way you think about business. Simultaneously rigidly traditional and seriously innovative, it is precisely those internal contradictions that make the company so successful and admired.
Do you have any other suggestions on what to read?
Rails – Nested forms and has_one relationship
I was trying to build a nested form with Rails 3.1, using models that had a "has_one" relationship. The form would show the parents fields but not the nested models field.
So I started by defining the has_one relationship in the models and adding "accepts_nested_attributes_for to the Parent :
class Parent < ActiveRecord::Base
has_one :child, :dependent => :destroy
accepts_nested_attributes_for :child
end
class Child < ActiveRecord::Base
belongs_to :parent
end
Just this wasn't enough. The solution involves initializing the Child by the Parent. This can be done in the Controller or the Model.
In the Model:
class Parent < ActiveRecord::Base
has_one :child, :dependent => :destroy
accepts_nested_attributes_for :child
after_initialize do
self.child ||= self.build_child()
end
end
Or in the Controller:
class ParentsController < ApplicationController
def new
@parent = Parents.new
@parent.build_child
end
end
So, a question, where is the best place to initialize the Child? In the Parents Controller or Model?
Wireless LAN Security and Penetration Testing Megaprimer
Securitytube.net is a project were people can see and share videos related to security topics, e.g., Wireless security, Metasploit, Exploit research. The project already has some years, and it has new videos every day.
Some months ago Vivek did a compilation of his Wireless Security and create a DVD with all videos. It's about 12 hours of material covering every topic in Wireless Security.
Wireless LAN Security and Penetration Testing Megaprimer
This video series will take you through a journey in wireless LAN (in)security and penetration testing. We will start from the very basics of how WLANs work, graduate to packet sniffing and injection attacks, move on to audit infrastructure vulnerabilities, learn to break into WLAN clients and finally look at advanced hybrid attacks involving wireless and applications.
Example of some topics:
- Part 9: Hotspot Attacks
- Part 10: Hacking Isolated Clients
- Part 11: Alfa Card Kung-Fu
- Part 12: Man-In-The-Middle Attack
- Part 13 : SSL Man-In-The-Middle Attacks
- Part 14: Wep In-Depth
- Part 15: Wep Cracking
To download this DVD go to http://www.securitytube.net/downloads where you can find HTTP links and Torrents. To make it easyer, here is the torrent file:
Enjoy it,
The Science of Secrecy Going Public
An Episode Of Simon Singh's Series On The History of Keeping Secrets follows the development of the Idea of Non Secret Encryption To Finding the Mathematical Padlock And Key To It's everyday use of Encrypting E-mail and Credit Card Transactions. Broadcasted at 29/10/2000.
Books, OReilly and Codebits 2011
For those that cannot attend Codebits 2011 and purchase O'Reilly books with discount at the event, I recommend you check out book depository, you can get some with great discount.
For example:
- Building Android Apps with HTML, CSS, and Javascript : (+/-) 26% off ;
- Learning Android : (+/-) 40% off ;
- MongoDB: The Definitive Guide : (+/-) 35% off ;
- Agile Web Development with Rails, 4th Edition : (+/-) 40% off ;
- CouchDB: The Definitive Guide : (+/-) 20% off ; and
- Social Engineering: The Art of Human Hacking : (+/-) 35% off.
- Building Android Apps with HTML, CSS, and Javascript
- Agile Web Development with Rails, 4th Edition
- Social Engineering: The Art of Human Hacking
Drush = Drupal + Modules made easy
Drupal is one of the most famous Open Source CMS (Content management system) in the market. Powerful, easy to deploy and with lots of great modules to help you deploy any type of web platform.
So, where does Drush come in?
drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.
To put it simple, its a tool to help you maintain your Drupal installation, allowing you to easily update the core and manager your Modules.
The following info will show how you can install the latest Drush on a Ubuntu/Debian system.
Requisites:
To use Drush you need to install php5 command-line interpreter.
sudo apt-get install php5-cli
After that, Drush is ready to be installed.
Installing:
sudo wget http://ftp.drupal.org/files/projects/drush-7.x-4.4.tar.gz
sudo tar xvfz drush-7.x-4.4.tar.gz -C /opt
sudo ln -s /opt/drush/drush /usr/local/bin/
Running:
Just type drush in the Terminal and you can see all available options
sudo drush
Example : Installing Drupal Commerce
So, you have Drupal running, how does one install Drupal Commerce and dependencies?
On the Drupal installation folder (e.g. /var/www/drupal/) run the following commands:
sudo drush dl commerce
sudo drush dl addressfield ctools entity rules views
This will download and install the modules on your drupal installation. Now, to enable the modules:
sudo drush ennable addressfield ctools entity rules views
Next, you would only need to follow the Drupal Commerce instructions : http://drupal.org/node/1007434.
Basically, a time-saver!
Mikko Hypponen: Fighting viruses, defending the net
@ http://www.ted.com/talks/mikko_hypponen_fighting_viruses_defending_the_net.html
Time of Arrival
One of the best descriptions about the "time of arrival".
The second non-absolute number is the given time of arrival, which is now known to be one of those most bizarre of mathematical concepts, a recipriversexcuson, a number whose existence can only be defined as being anything other that itself. In other words, the given time of arrival is the one moment of time at which it is impossible that any member of the party will arrive.


