This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Agents, | |
On Thursday (March 7th), we will be hosting a special event featuring Ronald Arkin. The meeting will be in Klaus 2447 at 6:30 and there will be food and drink. The talk will be about the ethics of creating intelligent systems and should be a good talk for anyone looking to one day work in the industry. | |
Dr. Arkin has a lot of exposure with some of the technologies we're looking to implement for the car so this will be a very interesting meeting. He is director of the Mobile Robot Laboratory and part of the School of Interactive Computing at Tech. Dr. Arkin was a professor at the Centre for Autonomous Systems at the Royal Institute of Technology in Stockholm and was a member of the Robotics and Artificial Intelligence Group in France. | |
His research interests include behavior-based reactive control and action-oriented perception for mobile robots and unmanned aerial vehicles, hybrid deliberative/reactive software architectures, robot survivability, multiagent robotic systems, biorobotics, human-robot i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
<style type="text/css"> | |
html { height: 100% } | |
body { height: 100%; margin: 0; padding: 0 } | |
#map_canvas { height: 100% } | |
</style> | |
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=API_KEY_HERE&sensor=false"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Simple Blog</title> | |
<link href="http://cdn.jsdelivr.net/bootstrap/2.3.0/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"> | |
<style> | |
body { | |
margin: 0 auto; | |
width: 600px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Simple Blog</title> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
</head> | |
<body> | |
<% for (i = posts.length-1; i>=0;i--){ %> | |
<div class='post'> | |
<a href='/posts/<%= i %>'><h2 style='display:inline'><%= posts[i].title %></h2></a> | |
<form method="POST" action='/posts/<%= i %>' style='display:inline'> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4974214|master⚡ ⇒ ruby asdf.rb --run --local data.json output.txt | |
/Users/telmalem/.rvm/gems/ruby-1.9.3-p362/gems/wukong-2.0.2/lib/wukong/script.rb:268: Use RbConfig instead of obsolete and deprecated Config. | |
I, [2013-02-17T19:19:41.211925 #31942] INFO -- : Launching hadoop! | |
I, [2013-02-17T19:19:41.212019 #31942] INFO -- : Running | |
/usr/lib/hadoop/bin/hadoop \ | |
jar /usr/lib/hadoop/contrib/streaming/hadoop-*streaming*.jar \ | |
-D mapred.job.name='asdf.rb---data.json---output.txt' \ | |
-mapper '/Users/telmalem/.rvm/rubies/ruby-1.9.3-p362/bin/ruby asdf.rb --map --log_interval=10000 --log_seconds=30 --local=true' \ | |
-reducer '/Users/telmalem/.rvm/rubies/ruby-1.9.3-p362/bin/ruby asdf.rb --reduce --log_interval=10000 --log_seconds=30 --local=true' \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla pulvinar mattis neque sit amet venenatis. Pellentesque ut mauris eget nulla suscipit aliquet et eu lectus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla vulputate vehicula justo, in posuere felis adipiscing in. Duis bibendum erat sed arcu dapibus at tincidunt erat feugiat. Donec ut purus laoreet felis facilisis pharetra et vitae sem. Morbi semper pellentesque ligula in tincidunt. Nunc ut nisi eget quam accumsan tristique. Vestibulum tincidunt, metus eu malesuada vehicula, augue nunc varius risus, ac malesuada felis eros quis lectus. Nam ac turpis vitae est dictum ultrices. Pellentesque viverra, urna sed rutrum bibendum, turpis nibh viverra erat, et mattis nunc arcu nec massa. Phasellus non diam vel sem vehicula pulvinar a porta dolor. Cras ut leo massa. Sed vel vestibulum nibh."} | |
{"text": "Ut vel libero fringilla elit placerat adipiscing ullamcorper ac lacus. Nulla tortor tortor, cursus in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Point | |
attr_accessor :x, :y | |
end | |
class SimplePolygon | |
def initialize(points) | |
@points = points | |
@lines = [] | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// %s/ctof_factor\|ctof_offset/~&/g | |
#include <stdio.h> | |
#define CTOF_FACTORCTOF_FACTOR 1.8 | |
#define CTOF_OFFSETCTOF_OFFSET 32 | |
int CtoF(int C) | |
{ | |
int F; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(1..31).each_with_object({}) { |day,hash| hash[day] = nil } | |
=> {1=>nil, | |
2=>nil, | |
3=>nil, | |
4=>nil, | |
5=>nil, | |
6=>nil, | |
7=>nil, | |
8=>nil, | |
9=>nil, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class MapClass extends MapReduceBase | |
implements Mapper<Text, Text, Text, Text> { | |
public void map(Text key, Text value, OutputCollector<Text, Text> ouput, Reporter reporter) | |
throws IOException { | |
output.collect(value, key); | |
} | |
} |