made with esnextbin
// WoofJS | |
// set optional parameters explicitly by name | |
var r1 = new Rectangle({x: 100, y: 200, width: 30, height: 40}); | |
// set properties by name | |
r1.color = "blue"; |
setBackdropColor('black') | |
var rocket = new Image({ | |
url: "./docs/images/rocket.png", | |
width: 120, | |
height: 60, | |
y: minY + 100, | |
angle: UP | |
}) |
import {run} from '@cycle/run'; | |
import {makeCanvasDriver, rect, text} from 'cycle-canvas'; | |
import { makeKeyboardDriver } from 'cycle-keyboard' | |
import onionify from 'cycle-onionify'; | |
import {makeCollection} from 'cycle-onionify'; | |
import isolate from '@cycle/isolate' | |
import xs from 'xstream' | |
import fromEvent from 'xstream/extra/fromEvent' |
I've been having some fun engagement! Spoke with AndreaS from Twitter. Tweeted with Chris Granger, emailed with Alan Kay and Nick Johnstone and Christopher Anand.
I'm also getting cold emails from listeners which has been unreal! Please keep it coming and apologies if I'm not able to review your tech right away. I will try to respond within a day or two but it might be just to tell you that I'm busy and will add you to my list. I am human so the more you follow up with me, the faster I will get to your stuff.
const githubProjectData = (repo, path) => fetch( | |
'https://exec.clay.run/steve/github-project-data', { | |
method: "POST", | |
body: JSON.stringify({ | |
repo: repoPath, | |
path: path | |
}) | |
}) | |
.then(response => response.json()) | |
.then(json => json /* do something here */) |
So you have a Github Pages website. It's pretty great, so you share links to your site. But then you delete pages and those links you shared break!
Unbreakable-links to the rescue.
By associating your content with its git commit hash, we make sure that your links never break.
Just finally am at the end of a two-week cold. I hope my voice holds out for this whole episode...
Yes I know that this is a downgrade in the short term, but I hope it will help me better organize my thoughts in the long-term. Also in the medium-term I will make the /log page better-looking.
What I thought was going to be a simple cold, was diagnosed a month later as strep throat. While I am feeling much better, I am still not feeling 100% so I'm trying to take it easy still.
While I'm bummed that I missed a few weeks on this project, as well as releasing podcast episodes, I am excited about how quickly I was able to get back on the horse. If you may recall, as recently as 4 months ago, I was going to bed when I felt like it and waking up when I felt like it, getting as much or as little work done as I happen to feel like it on that day. Constrast that with my current schedule of 11pm bedtime and 7am wakeup every single weekday.
One of my least favorite words is "overthinking." I firmly believe that whatever someone's problem is, thinking too much can never be the problem.
We all know people, maybe even ourselves, who have thought themselves into circles about relatively simple decisions. Clearly this person has a thinking problem, but the problem isn't that they are thinking too much: it's that they aren't thinking well.
Let me prove it to you by contradiction. Say you are worried that you are overthinking an issue in your life. How in the world are you supposed to be able to evaluate this claim? The only way is meta-cognition: thinking about your thinking process. Through meta-cognition you may come to the conclusion that you have been doing too much unproductive thinking. But it would be impossible to say that you were doing too much thinking because the only way you were able to determine that you were thinking too much was more thinking!