Skip to content

Commit 5192e96

Browse files
committed
Update site
1 parent 7c3eb07 commit 5192e96

File tree

6 files changed

+128
-49
lines changed

6 files changed

+128
-49
lines changed

content/pages/index.md

Lines changed: 2 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -4,53 +4,6 @@ draft: false
44
type: "index"
55
---
66

7-
I'm currently working on [my `behavior-state` library](https://github.com/colelawrence/behavior-state) which leverages the primitives of `rxjs` to create
8-
incredible development experiences by creating strict separations between business logic and presentation logic.
7+
Hi, my name is Cole Lawrence. I design, test, and guide the implementation of end-user programming tools.
98

10-
Although, little is written on `behavior-state` there is [a rough initial presentation](/storybook/?path=/story/writing-observable-state-presentations--react-nyc-oct-2019) demonstrating the concepts so far.
11-
12-
For other musings, please take a look at the [Storybook](/storybook) which is home to most of my recent front-end library experiments.
13-
14-
#### Todo App Sample
15-
[Storybook](/storybook/?path=/story/writing-observable-state-presentations--react-nyc-oct-2019-todo-app) [Source Code](https://github.com/RefactorOrDie/refactorordie.com/tree/master/storybook/stories/writing/presentations/ObservableStateOct2019/TodoApp/src/app)
16-
17-
<iframe
18-
style="width: 500px; height: 560px; border: none"
19-
src="/storybook/iframe.html?id=writing-observable-state-presentations--react-nyc-oct-2019-todo-app#/"
20-
></iframe>
21-
22-
```jsx
23-
function TodoApp() {
24-
const state = useContext(TodoState);
25-
26-
return (
27-
<div className="container">
28-
<h1>Todos <small style={{ fontSize: 16}}>APP</small></h1>
29-
<ul className="list-group">
30-
<state.$todos.react
31-
nextItem={todo => <TodoItem key={todo.id} todo={todo} />}
32-
/>
33-
</ul>
34-
<br />
35-
<form className="form-group" onSubmit={preventDefaultThen(state.addTodo)}>
36-
<label htmlFor="todo-title">New Todo Title</label>
37-
<div className="input-group">
38-
<state.$todoInput.react
39-
next={value => (
40-
<input
41-
id="todo-title"
42-
type="text"
43-
className="form-control"
44-
value={value}
45-
onChange={changeValue(state.updateNewTodoInput)}
46-
placeholder="What do you want to get done?"
47-
/>
48-
)}
49-
/>
50-
<button className="btn btn-primary">Add</button>
51-
</div>
52-
</form>
53-
</div>
54-
);
55-
}
56-
```
9+
[Portfolio Website](https://www.colelawrence.com)[Github](https://github.com/colelawrence)[Twitter](https://twitter.com/refactorordie)
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: "Introducing behavior-state: a BLoC pattern library for React"
3+
date: 2019-09-10T20:00:21-04:00
4+
type: "post"
5+
author: "Cole Lawrence"
6+
draft: false
7+
---
8+
9+
I'm currently working on [my `behavior-state` library](https://github.com/colelawrence/behavior-state) which leverages the primitives of `rxjs` to create
10+
incredible development experiences by creating strict separations between business logic and presentation logic.
11+
12+
Although, little is written on `behavior-state` there is [a rough initial presentation](/storybook/?path=/story/writing-observable-state-presentations--react-nyc-oct-2019) demonstrating the concepts so far.
13+
14+
For other musings, please take a look at the [Storybook](/storybook) which is home to most of my recent front-end library experiments.
15+
16+
#### Todo App Sample
17+
[Storybook](/storybook/?path=/story/writing-observable-state-presentations--react-nyc-oct-2019-todo-app) [Source Code](https://github.com/RefactorOrDie/refactorordie.com/tree/master/storybook/stories/writing/presentations/ObservableStateOct2019/TodoApp/src/app)
18+
19+
<iframe
20+
style="width: 500px; height: 560px; border: none"
21+
src="/storybook/iframe.html?id=writing-observable-state-presentations--react-nyc-oct-2019-todo-app#/"
22+
></iframe>
23+
24+
```jsx
25+
function TodoApp() {
26+
const state = useContext(TodoState);
27+
28+
return (
29+
<div className="container">
30+
<h1>Todos <small style={{ fontSize: 16}}>APP</small></h1>
31+
<ul className="list-group">
32+
<state.$todos.react
33+
nextItem={todo => <TodoItem key={todo.id} todo={todo} />}
34+
/>
35+
</ul>
36+
<br />
37+
<form className="form-group" onSubmit={preventDefaultThen(state.addTodo)}>
38+
<label htmlFor="todo-title">New Todo Title</label>
39+
<div className="input-group">
40+
<state.$todoInput.react
41+
next={value => (
42+
<input
43+
id="todo-title"
44+
type="text"
45+
className="form-control"
46+
value={value}
47+
onChange={changeValue(state.updateNewTodoInput)}
48+
placeholder="What do you want to get done?"
49+
/>
50+
)}
51+
/>
52+
<button className="btn btn-primary">Add</button>
53+
</div>
54+
</form>
55+
</div>
56+
);
57+
}
58+
```
31.3 KB
Loading
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: "Start writing using dictation"
3+
date: 2022-11-16T06:02:32-05:00
4+
type: "post"
5+
draft: false
6+
---
7+
8+
TLDR;
9+
* I think having a background programming makes me feel like I need to be super thoughtful of every word and punctuation I use, because that's what's required for the code to compile, and for the code to be understandable.
10+
* I'm trying out using dictation to get the ideas onto the page.
11+
12+
# I don't think of myself as a good writer.
13+
14+
Sitting down and writing an article to share ideas has been something I have struggled with for a long time.
15+
I usually don't know where to start.
16+
I don't know when to go deep on something or keep something else high-level without another person to read facial cues from.
17+
I have a wonderful time just talking to somebody. I mean, put me in that video or voice call and I will be running a mile a minute, sharing all sorts of ideas and often times at the end those conversations that I get to have with people in real time, I wish I had like a recording of something that could've captured what we discussed and that would've been a lot easier for me to distribute.
18+
So with the articles, I'm working on right now, I'm going to try mimicking that conversational aspect of communication, but doing so on my own. So, you might say what I'm trying to do is going to look like a ["rubber duck"](https://en.wikipedia.org/wiki/Rubber_duck_debugging) for just anything I try to write about.
19+
20+
So let's start with some of my friction points and break it down from there.
21+
22+
## Typing into a blank page
23+
24+
The first friction point I usually come up against is trying to type what my thoughts are. I think part of the challenge that comes from is that most of my typing is for code. And in code, it's important to me that every word and name of a variable and data structure is incredibly cursed and eloquent, and well thought through, because I am following the wisdom that code is read 10 times more than it's written. So at, you can imagine that if I apply the same rigor to my pros, I'm going to be in the stands still with the document and not ever feel super confident yet about what I'm about the quality of what I'm writing, because I will be constantly second-guessing whether I could've said something more eloquently that would be clearer for a reader. But honestly I'm not that practiced in writing out longform content. The longest form content that I write and I'm practiced in is in documentation comments where I'm explaining exactly how some very specific thing works in the code or some data structure, etc.
25+
26+
I am attempting to address this initial hurdle by using dictation tools. And I am here right now talking into a markdown file in order to get me over that initial discomfort of creating a longform dialogue. And I am in someways now rubber ducking to my computer, and I am reading it back and editing the words that I just said to make sure that I can keep some semblance of reason in case dictation fails. But, which working really well about this right now is I'm getting hired at onto the page. I am getting a starting point. And previously I didn't even have a starting point I didn't have anything because I was so overwhelmed with the amount of contact that I wanted to put into the document. So, this is good we are going to use Dictation to try to solve that initial problem.
27+
28+
I am just using the [macOS built in dictation tool](https://support.apple.com/guide/mac-help/use-dictation-mh40584/mac). And, it's pretty nice that I can just double tap <kbd>control</kbd> key and it will allow me to start speaking and dictating and getting some work on the page.
29+
30+
31+
## Fear of eloquence
32+
33+
I think another problem that comes around, when just considering how to write an article is that I am scared about not being that good of a longform writer by comparison to my other skills. I am a lot more confident in my skills as a engineer, and as a project manager, and designer. But when it comes to longform writing, I feel like I am going to be creating something that tarnishes my overall quality or perceived reputation or something like that. is that actually what's going to happen? Am I going to be locked down upon for having a wisp your language than you know the articles that I really admire from Lincoln switch. Or? Probably not. Logically probably not. At the very least, if it does put someone off that my longform writing was not very good, then that does not matter enough for me to not keep practicing and not keep sharing.
34+
35+
I, this is a fear that logically rationally doesn't make sense. I understand that practice will improve my eloquence. And I think here as well, using a Dictation tool is already going to help me feel more comfortable with sharing ideas with others. I feel pretty comfortable just sharing ideas in person, and I appreciate how I communicate verbally, so to get over this "" fear I am going to remind myself that at least when I am talking I do like that, but what I'm saying, and if the penalty is longer content because I didn't interrogate each and every word like I am used to in programming then it's OK.
36+
37+
One other small thing here is my main skill set that I sell my cell phone when I am talking to new people when I'm interviewing that skill set does not include tech, write ups and longform writing. So, it's very different for me to publish content while not trying to say, I'm really great at that thing, but just publishing the continent because the thing behind the medium, the actual thoughts are when I'm trying to put out there and I believe people will evaluate my writing based on the merits of what I'm saying and hopefully people will put up with more verbose language.
38+
39+
I grew up with different English teachers, appreciating my conversational style of writing. But at that time I was writing those things I wasn't dictating, I think I just write very similarly to how I would say things. With where I am right now and learning to write long form, I need to trust that I am a good enough speaker to start with to create longform contact in the same way that I would record my voice or tell someone in person. And, perhaps this process will help me learn to be more thoughtful in my speech as well, because I don't want to have to go through and do a ton of edits because I started with dictation.
40+
41+
## Grammar
42+
43+
I'll mention it shortly, editing is a lot of work for our longform. I have a hard time. Keeping a lot of context in my head. So I am usually resort to resorting to outliners on when creating more structured content. And that way, I don't have to worry about editing the flow of something. But you know if you have a bunch of words and they were dictated as I mentioned I'm doing, then I'm gonna use Grammarly to help me at least ensure all the punctuation and most of the words are correct. And I believe grammar is important in to me, because incorrect grammar is very distracting. I am not sure if that's because of the background and programming where any small mistake hast to like stick out like a sore thumbSo that you can fix the syntax or catch that type air, but for me, at least if somethings misspelled or wrong punctuation, or it can trip me up, and I can lose the train of thought from the author. It would be like if the author randomly inserted a word that doesn't follow at all. I'm going to trip over that word.
44+
45+
> I've added a simple parameter switch to enable Grammarly on the blog, which will change the entire blog page into a [`contenteditable`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable). When you do this, it will signal to the Grammarly web extension that it should check the grammar of the page. [Try it](?grammarly)
46+
```javascript
47+
if (location.search.includes("grammarly")) {
48+
document.body.contentEditable = "true"
49+
}
50+
```
2.41 MB
Loading
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: "Stop Lying to Yourself"
3+
date: 2022-11-16T04:37:00-05:00
4+
type: "post"
5+
draft: true
6+
---
7+
8+
# How to "fix it later" when later is 6 months from now or never.
9+
10+
**RE: [Stop lying to yourself – you will never "fix it later"](https://uselessdevblog.wordpress.com/2022/11/10/stop-lying-to-yourself-you-will-never-fix-it-later/)**
11+
![Cole's screen capture of Stop lying to yourself – you will never “fix it later” – The Useless Dev blog 2022-11-16 at [email protected]](./Stop-lying-to-yourself-–-you-will-never-fix-it-later–[email protected])
12+
13+
I've been on
14+
15+
Read the <a href="https://uselessdevblog.wordpress.com/2022/11/10/stop-lying-to-yourself-you-will-never-fix-it-later/">original article</a> ([web.archive.org](https://web.archive.org/web/20221116101813/https://uselessdevblog.wordpress.com/2022/11/10/stop-lying-to-yourself-you-will-never-fix-it-later/)) and [original Reddit thread](https://www.reddit.com/r/programming/comments/yv0zy5/stop_lying_to_yourself_you_will_never_fix_it_later/) for more thoughts.
16+
17+
18+

0 commit comments

Comments
 (0)