- Famous & fancy: Patagonia Sur
- Pizzeria Guerrin excellent pizza, maybe the best in the city
- Some cute cafes, all equally good, nice for breakfast or lunch: Malvon, Oui Oui
- Historic cafe: Las Violetas
- STEAK: some good places I've been are:
- Social la Lechuza - ok, probably not the best steak in town, but for ambiance this place is neat, it's a social club with an owl (la lechuza) theme, walls are covered in customer drawings of, yes, owls. I like the joint.
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
/* | |
Example Facebook Messenger app that pulls the user's public profile and echoes back any messages sent | |
with the user's first and last name. | |
So if I sent the bot "Good morning!" it will reply to me with "Echoing message from Jeff Israel: Good morning!" | |
*/ | |
const bodyParser = require('body-parser'); | |
const crypto = require('crypto'); | |
const express = require('express'); |
Just a quickie test in Python 3 (using Requests) to see if Google Cloud Vision can be used to effectively OCR a scanned data table and preserve its structure, in the way that products such as ABBYY FineReader can OCR an image and provide Excel-ready output.
The short answer: No. While Cloud Vision provides bounding polygon coordinates in its output, it doesn't provide it at the word or region level, which would be needed to then calculate the data delimiters.
On the other hand, the OCR quality is pretty good, if you just need to identify text anywhere in an image, without regards to its physical coordinates. I've included two examples:
####### 1. A low-resolution photo of road signs
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
# coding=UTF-8 | |
from __future__ import division | |
import nltk | |
import re | |
import requests | |
# Add your freebase key here | |
# If you don't have one, register at https://code.google.com/apis/console | |
FREEBASE_KEY = "" |
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
require 'find' | |
BLACKLIST = %w[ | |
.git | |
.gitignore | |
Rakefile | |
] | |
task :default do | |
Find.find('.') do |path| |
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
# In development mode, optionally perform a RubyProf profile of any request. | |
# Simply pass perform_profile=true in your params. | |
def perform_profile | |
return yield unless params[:perform_profile] | |
require 'ruby-prof' | |
RubyProf.start | |
yield | |
result = RubyProf.stop | |
printer = RubyProf::FlatPrinter.new(result) | |
File.open("#{Rails.root}/tmp/profile.txt", 'w+') do |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
require "redis" | |
local WMAX = 100000 | |
local rc = Redis.connect("unix:///tmp/redis.sock") | |
local rs_mhset = [[ | |
local keys,argv,rcall = KEYS,ARGV,redis.call | |
local n,f = 0,argv[#keys+1] | |
for i,k in ipairs(keys) do n = n + rcall("hset",k,f,argv[i]) end | |
return n |
NewerOlder