I hereby claim:
- I am calebdre on github.
- I am calebdre (https://keybase.io/calebdre) on keybase.
- I have a public key ASCuuw9-7KA-CgARuTOVXnPIE10Lk0m_IuRf7wYsGGHqBQo
To claim this, I am signing this object:
[1.00-7.00] | |
Hello, good morning. I'm sorry I didn't get to do this last night and send it to you already. | |
[8.00-14.00] | |
When I got to my friend's he had just recently found out his mom got diagnosed with lung cancer | |
[14.00-19.00] | |
so I just kind of stayed there longer than I intended, like holding space and stuff. | |
[19.00-26.00] | |
But I feel like this kind of leads into one of the questions we were talking about, who would you recommend me to? | |
[26.00-31.00] | |
I actually talked about you, just in general, being like yeah my friend Jacqueline. |
[0.00-7.66] | |
So essentially, the world that we are in really divides sensation, feeling into good and bad. | |
[7.66-16.16] | |
So we say things like happiness, joy, bliss, turn on, all good, and or you know, depending, | |
[16.16-17.16] | |
but all good. | |
[17.16-23.64] | |
And then we say things like pain, sadness, heartbreak, anger, bad. | |
[23.64-29.64] | |
And then we overemphasize with the parts of our experience that bring about what our consciousness |
import torch.nn as nn | |
class PokeAgent(nn.Module): | |
def __init__(self, vocab_size, num_choices): | |
super(PokeAgent, self).__init__() | |
self.embedding = nn.Embedding(vocab_size, 32) | |
self.linear = nn.Linear(32, 32) | |
self.activation = nn.ReLU() | |
self.out = nn.Linear(32, num_choices) |
I hereby claim:
To claim this, I am signing this object:
import java.io.*; | |
import java.util.*; | |
public class CSVWriter { | |
private final String fullPath; | |
private HashMap<String, TreeSet<String>> fieldsMap; | |
private boolean hasHeader = false; | |
public CSVWriter(String filename, String path) { | |
fullPath = path + File.separator + filename; |
require 'json' | |
require "net/http" | |
require "uri" | |
class HarFetcher | |
def get url | |
response = Net::HTTP.get_response(URI.parse(url)) | |
return JSON.parse(response.body) | |
end | |
end |
require 'json' | |
require "net/http" | |
require "uri" | |
response = Net::HTTP.get_response(URI.parse(ARGV[0])) | |
data_hash = JSON.parse(response.body) | |
request_times = {"fastest" => {}, "slowest" => {}} | |
entries = data_hash['log']['entries'] |
public class ExampleActivity{ | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
SongSearch search = new SongSearch(); | |
HarmanController hc = new HarmanController(); | |
List<Song> songs = search.searchSongs(this, "your term"); | |
if(hc.initialize()){ | |
hc.addDeviceToSession(hc.getConnectedDevices().get(0)); | |
hc.playSong(songs.get(0).uri); |
import android.content.Context; | |
import android.graphics.Rect; | |
import android.support.v4.view.ViewCompat; | |
import android.support.v7.recyclerview.BuildConfig; | |
import android.support.v7.widget.RecyclerView; | |
import android.util.Log; | |
import android.view.View; | |
import java.lang.reflect.Field; |
def serialize(query): | |
# we wantto transform a sqlalchemy query set into something that can be turned into json | |
serialized = [] | |
for result in query: | |
# Strategy: get all the columns on the model and put them in a dictionary. | |
# Then get the relation models and do the same thing, adding them to the master dictionary | |
s = {} | |
relations = result.__mapper__.relationships._data.keys() | |
columns = result.__table__.columns._data.keys() | |
table = result.__table__.name |