For generic skin emulator with default apis (without google apis):
-
List All System Images Available for Download:
sdkmanager --list | grep system-images
-
Download Image:
sdkmanager --install "system-images;android-29;default;x86"
import { createMiddleware } from 'hono/factory' | |
export function metaValidateWebhookSignature() { | |
return createMiddleware(async (c, next) => { | |
const requestBody = await c.req.arrayBuffer() | |
const payloadSignature = c.req.header('X-Hub-Signature-256') | |
const validRequest = await verifySignature(c.env.META_API_SECRET, requestBody, payloadSignature) | |
console.log('Meta Valid Request?', validRequest) |
# to run: | |
# > elixir --no-halt udp_server.exs | |
# to test: | |
# > echo "hello world" | nc -u -w0 localhost:2052 | |
# > echo "quit" | nc -u -w0 localhost:2052 | |
# Let's call our module "UDPServer" | |
defmodule UDPServer do | |
# Our module is going to use the DSL (Domain Specific Language) for Gen(eric) Servers | |
use GenServer |
Keith Adams worked on kernels at VM Ware. Then virtual machines. Then search performance at Facebook. Then the HHVM implementation of PHP. Then machine learning. Now he’s Chief Architect at Slack. In between he worked on hundreds of little projects that lasted hours or days or weeks. Keith is a Paint Drip Person.
I was a big fan of the T model of skills, introduced by David Guest in 1991: know about a lot of things, be really good at one. The more I taught it, the more unhappy I got with the metaphor:
## {{{ http://code.activestate.com/recipes/474088/ (r1) | |
#!/usr/bin/env python2.4 | |
# This program shows off a python decorator( | |
# which implements tail call optimization. It | |
# does this by throwing an exception if it is | |
# it's own grandparent, and catching such | |
# exceptions to recall the stack. | |
import sys |
Então, vamos lá... Como material inicial para orientação temos o guia datascience.pizza... Se você prefere Podcast pode olhar o Pizza de Dados e o Data Hackers. Querendo um curso presencial, os únicos que indico são do Data Bootcamp que dou aula: https://databootcamp.com.br ... Para curso online existem vários no Coursera, Udemy, etc... Tem em português na Alura. Sobre o DataScienceAcademy eu não gosto muito e nem indico por várias questões.
Você já tem Telegram? Se não, é muito bom entrar e olhar nos seguintes grupos que eu confio para saber das novidades e trocar uma ideia:
I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.
I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real
s/Serviço TCP de 15 anos/Serviço HTTP em Elixir/g - Backend de anúncios da OLX
Nessa apresentação, você vai conhecer os desafios que tivemos na OLX para substituir um serviço TCP de mais de 15 anos, cheio de memory leaks com um database legado, gigante e de modelagem complexa por um serviço Elixir com Banco de dados novo e sem nenhuma interrupção do serviço ou um Big Bang.
É uma apresentação de uma arquitetura e detalhes de codificação/implementação muito interessantes. O famoso trocar o pneu do carro com o carro andando, sem perder velocidade, sem tremer o volante e sem freadas bruscas :) Problemas de encoding do banco velho, endpoint antigo confuso, cheio de parâmetros que não se sabia pra que servia, functions do postgres confusas, dentre outros desafios como usar 2 ECTOS, Querys usando Schema e Queries diretas chamando functions, etc. Além de uma arquitetura de CQRS. Em fim, imperdível :p
I hereby claim:
To claim this, I am signing this object: