My daughter and I love playing problem-solving games together. Here's a record of them.
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
0. Install Package Control https://packagecontrol.io/installation | |
1. Install https://github.com/SublimeText/AAAPackageDev | |
2. Open command palette (apple-shift-P on OSX), and search for 'Plugin' -> AAAPackageDev: New Plugin | |
3. paste contents of prev_next_view_in_group.py and save as prev_next_view_in_group.py. | |
AAAPackageDev will automatically select the correct folder | |
(which is approximately ~/.../Sublime Text 3/Pacakges/User/) | |
4. add key bindings to User Key Bindings | |
ctrl+tab and ctrl+shift+tab will now cycle through your open tabs, | |
in order as expected, and won't leave the current layout group. |
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
# OSX+bash notifications for "grails test-app" | |
# --- | |
# Pops up an OSX notification with "PASS/FAIL" whenever a "grails test-app" command finishes. | |
# Limitations | |
# --- | |
# Only shows notification if "grails test-app" created a new /target/test-reports/html/all.html | |
# Uses bash history, so it might not work if you have a shell alias for "grails test-app" | |
# Only works for one grails repository at a time. | |
# If you have two repositories simultaneously running "grails test-app", it won't work. |
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
Issue https://github.com/ethereum/go-ethereum/issues/1572 | |
I0801 18:50:56.966438 6114 database.go:74] Alloted 16MB cache to /home/ryan/.ethereum/blockchain | |
I0801 18:50:56.973862 6114 database.go:74] Alloted 16MB cache to /home/ryan/.ethereum/state | |
I0801 18:50:56.980452 6114 database.go:74] Alloted 16MB cache to /home/ryan/.ethereum/extra | |
I0801 18:50:56.985460 6114 backend.go:290] Protocol Versions: [61 60], Network Id: 1 | |
I0801 18:50:56.985755 6114 backend.go:319] Blockchain DB Version: 3 | |
I0801 18:50:56.986026 6114 chain_manager.go:232] Last block (#18839) 52744422a10887088eab7d73ab09c54620e40cb930bf85f83bb9f5de858d874e TD=9454137162789868 | |
I0801 18:50:57.015981 6114 cmd.go:122] Starting Geth/v1.0.0/linux/go1.4.2 | |
I0801 18:50:57.016245 6114 server.go:311] Starting Server |
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
apiVersion: apps/v1beta2 | |
kind: Deployment | |
metadata: | |
name: geth | |
labels: | |
app: geth | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
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
// Augur's oracle can be used to bring information on-chain, | |
// allowing money to move automatically based on real-world facts. | |
// Augur's oracle is secure so long as money that depends on Augur | |
// is properly tracked in the Augur system. | |
// Money that depends on Augur's oracle, but isn't tracked in Augur, | |
// is said to be "parasitic" and is at risk of attack and a threat | |
// to Augur itself. |
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
// Monte Carlo simulation to estimate American deaths from COVID-19. | |
// The probability distribution of estimated deaths is taken from the | |
// Good Judgment Superforecaster project. | |
// "How many deaths attributed to COVID-19 in the U.S. will be reported/estimated as of 31 March 2021?" | |
// https://goodjudgment.io/covid/dashboard/ | |
type Deaths = Int | |
def simulateEstimatedDeaths: Deaths = { | |
import scala.util.Random |
Week in Ethereum News features crypto job ads and allows readers to buy these ads. Buying a job ad is a manual process that requires correspondence between the customer and Evan. Below, we show an ethereum-based ecommerce solution for an Amazon-like UX and hopefully less work processing these orders for Evan.
Week in Ethereum News gains a new "Place a Job Ad" link to https://place-job-listing.evan.ethereum.eth.link/
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
# Here's a bash 1-liner to calculate how much flashbots MEV revenue was earned by miners yesterday. | |
# It uses the flashbots API, coingecko API, and requires curl, awk, jq, and ruby. | |
# Data is only available for the last 24 hours or most recent 10,000 blocks, per flashbots API limits. | |
# See blocks.flashbots.net. | |
# | |
# Example output: | |
# | |
# Yesterday's total miner MEV revenue | |
# ----------------------------------- | |
# 486.25 ETH |
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 terms of getting a good co-op job or highly paid internship, here is what I recommend | |
1. change co-op employers every co-op term. Do not go back to the same employer. The first reason is you learn most in your first term, the second term is better for them and not for you. The second reason is that job-hunting and interviewing is 100% a crucial and learnable skill, and you need to practice it each co-op term instead of taking the easy way out and returning to the same employer. | |
2. every co-op term, always try as hard as you can to get a job at a top-tier employer. Like Google, Apple, Amazon, Netflix, Microsoft, or Facebook/Meta. Top-tier employers act as a very big signal on your resume for future employers. More importantly, top-tier employers have extremely good internal tooling and training programs, so they will help you become a great engineer. The way to get a job at a top-tier employer is quite simple but hard. First, you need an interview... get an interview by distinguishing yourself on paper. T |
OlderNewer