Commit graph

116 commits

Author SHA1 Message Date
Paul Gauthier
80d299cb28 favicon 2024-04-28 14:30:05 -07:00
Paul Gauthier
0b29ffaa65 copy 2024-04-20 17:06:56 -07:00
Paul Gauthier
27adaa7f6f copy 2024-04-20 17:04:15 -07:00
Paul Gauthier
7875418183 fix column order 2024-04-09 18:11:08 -07:00
Paul Gauthier
00f1cdb561 Added gpt-4-turbo vision blog post 2024-04-09 16:55:35 -07:00
Paul Gauthier
ac39791fee fixed mislabelled gpt-4 column 2024-03-09 08:20:27 -08:00
Paul Gauthier
66d3852fa0 copy 2024-03-08 08:23:10 -08:00
Paul Gauthier
7fbd9e2be4 Added claude post 2024-03-08 08:00:41 -08:00
Paul Gauthier
57fe7b2c81 layout 2024-02-19 17:53:04 -08:00
Paul Gauthier
fd2a545803 layout 2024-02-19 14:58:50 -08:00
Paul Gauthier
799ab3d63e aider: Increase highlight image size on mobile using em units for better responsiveness.
# Aider chat conversation:

USER: can the highlight image be bigger on mobile? does it make sense to use em not pixels to size it?

ASSISTANT: Using `em` units for the highlight image size can be beneficial for responsiveness, as `em` units are relative to the font-size of the element (or the body if not set), which can scale better across different screen sizes and maintain the design's typographic harmony.

To make the highlight image bigger on mobile, we can use a media query that targets smaller screen sizes and increases the `max-width` of the `.post-highlight` class in `em` units. Here's the diff for the changes:

```diff
--- assets/css/style.scss
+++ assets/css/style.scss
@@ ... @@
 .post-highlight {
-  max-width: 200px;
+  max-width: 12.5em; /* Assuming the base font-size is 16px, 12.5em is equivalent to 200px */
   margin-right: 1em;
 }

+@media (max-width: 768px) {
+  .post-highlight {
+    max-width: 18em; /* Larger size on mobile */
+  }
+}
+
 .post-content {
   display: flex;
   align-items: flex-start;
```

This change assumes that the base font size is 16px, which is a common default for browsers. If the base font size is different, you may need to adjust the `em` values accordingly. The media query targets screens with a maximum width of 768px, which is a common breakpoint for tablets and mobile devices.
2024-02-19 14:56:29 -08:00
Paul Gauthier
08048b4972 layout 2024-02-19 14:49:23 -08:00
Paul Gauthier
9982a5b4e2 aider: Make the highlight image max 200px wide and position it to the left of the excerpt in blog post entries.
# Aider chat conversation:

USER: make the highlight image be max 200px wide and make it be to the left of the excerpt

ASSISTANT: Here are the diffs for the requested changes:

```diff
--- blog/index.html
+++ blog/index.html
@@ ... @@
   {% for post in site.posts %}
     <article class="post">
       <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
-      {% if post.highlight_image %}
-      <div class="post-highlight">
-        <img src="{{ site.baseurl }}{{ post.highlight_image }}" alt="Highlight Image">
-      </div>
-      {% endif %}
       <div class="entry">
+        <div class="post-content">
+          {% if post.highlight_image %}
+          <div class="post-highlight">
+            <img src="{{ site.baseurl }}{{ post.highlight_image }}" alt="Highlight Image">
+          </div>
+          {% endif %}
           {% if post.excerpt %}
           {{ post.excerpt }}
           {% else %}
           {{ post.content | strip_html | truncatewords: 100 }}...
           {% endif %}
+        </div>
       </div>

       <p class="post-date">
```

```diff
--- assets/css/style.scss
+++ assets/css/style.scss
@@ ... @@
 .post {
   background: #fff;
   box-shadow: 0 2px 5px rgba(0,0,0,0.1);
   margin-bottom: 2em;
   padding: 1em;
   border-radius: 4px;
+  display: flex;
+  align-items: flex-start;
 }
 .post-date {
   color: #777;
   font-size: 0.85em;
   margin-bottom: 1em;
   display: block;
 }
+
+.post-highlight {
+  max-width: 200px;
+  margin-right: 1em;
+}
+
+.post-content {
+  flex: 1;
+}
```

These changes will make the highlight image have a maximum width of 200px and float to the left of the excerpt or content in the blog post entries. The CSS changes also include adjustments to ensure proper alignment and spacing.
2024-02-19 14:47:00 -08:00
Paul Gauthier
23f99c2691 Added font size to post date and rearranged post title in blog index. 2024-02-19 14:46:59 -08:00
Paul Gauthier
cd599a1553 uppercase 2024-02-19 14:41:06 -08:00
Paul Gauthier
92b2df4edc uppercase 2024-02-19 14:39:59 -08:00
Paul Gauthier
5bc3970319 copy 2024-02-19 14:38:51 -08:00
Paul Gauthier
d2c5244c31 copy 2024-02-19 14:36:44 -08:00
Paul Gauthier
27fedbe4fa aider: Added new font family, increased spacing between posts, added box-shadow for card effect, adjusted padding and margins, and enhanced post-date color and style.
# Aider chat conversation:

USER: improve the styling of the blog index page

ASSISTANT: To improve the styling of the blog index page, I will make the following changes:

1. Add a new font family for better readability.
2. Increase the spacing between posts for a cleaner look.
3. Add a subtle box-shadow to each post for a card-like effect.
4. Adjust the padding and margins for better spacing and alignment.
5. Enhance the color and style of the post-date to make it stand out more.

Here are the diffs for those changes:

```diff
--- assets/css/style.scss
+++ assets/css/style.scss
@@ ... @@
 .btn {
   display: inline-block;
   width: auto;
 }
 .btn + .btn {
   margin-top: 0;
   margin-left: 0.75rem;
 }
+.post {
+  background: #fff;
+  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
+  margin-bottom: 2em;
+  padding: 1em;
+  border-radius: 4px;
+}
 .post-date {
-  color: #777;
+  color: #333;
   font-size: 0.85em;
-  margin-bottom: 0.5em;
+  margin-bottom: 1em;
   padding-top: 1em;
+  font-weight: bold;
+  display: block;
+  text-transform: uppercase;
+  letter-spacing: 0.05em;
 }

 .chat-transcript {
     font-family: 'Courier New', Courier, monospace;
     background-color: #000;
     color: #0f0;
     padding: 1em 1em 1em 1em;
     border-radius: 5px;
 }
```

Please note that the exact values for margins, padding, and other styles may need to be adjusted based on the overall design and layout of your site. The changes above are a starting point for improving the styling of the blog index page.
2024-02-19 14:31:20 -08:00
Paul Gauthier
662b70ed1f copy 2024-02-19 13:30:54 -08:00
Paul Gauthier
e08a4f82c1 aider: Style the date appropriately.
# Aider chat conversation:

USER: style the date appropriately

ASSISTANT: ```diff
--- assets/css/style.scss
+++ assets/css/style.scss
@@ ... @@
 .btn + .btn {
   margin-top: 0;
   margin-left: 0.75rem;
 }
+.post-date {
+  color: #777;
+  font-size: 0.85em;
+  margin-bottom: 0.5em;
+}

 .chat-transcript {
     font-family: 'Courier New', Courier, monospace;
```
2024-02-11 08:03:13 -08:00
Paul Gauthier
edcf9b146b updated graph 2024-01-25 15:33:52 -08:00
Paul Gauthier
bae834cc2f updated graph 2024-01-25 15:12:03 -08:00
Paul Gauthier
0fbd702bfa updated graph 2024-01-25 14:06:14 -08:00
Paul Gauthier
09bd4d7caf updated graph 2024-01-25 13:31:43 -08:00
Paul Gauthier
9033be74bf Initial benchmark results for 0125 2024-01-25 13:00:16 -08:00
Paul Gauthier
f0531b8b75 speed up animation 2024-01-20 11:54:14 -08:00
Paul Gauthier
755b3858eb copy 2023-12-19 11:11:58 -08:00
Paul Gauthier
2f2b60f4f5 copy 2023-12-18 10:29:34 -08:00
Paul Gauthier
e3c8fac604 copy 2023-12-18 10:20:40 -08:00
Paul Gauthier
b0c03820e9 copy 2023-12-18 10:19:38 -08:00
Paul Gauthier
088454db2e copy 2023-12-18 10:15:07 -08:00
Paul Gauthier
16534e914b better graph 2023-12-18 10:02:52 -08:00
Paul Gauthier
6ab2db192c Added udiff graph 2023-12-18 09:53:28 -08:00
Paul Gauthier
c46024e76a art 2023-12-17 13:05:22 -08:00
Paul Gauthier
1d0bc3dcb6 Updated benchmark reports 2023-11-14 16:03:50 -08:00
Paul Gauthier
e394ac7c71 copy 2023-11-08 11:51:07 -08:00
Paul Gauthier
ed0dc95a10 copy 2023-11-08 11:16:56 -08:00
Paul Gauthier
be0296318f speed results 2023-11-08 10:53:03 -08:00
Paul Gauthier
3969aa98a3 copy 2023-11-08 10:28:54 -08:00
Paul Gauthier
59fed25cd1 copy 2023-11-08 08:36:48 -08:00
Paul Gauthier
c86a957cf5 copy 2023-11-07 18:18:02 -08:00
Paul Gauthier
d81cef956e copy 2023-11-07 13:58:16 -08:00
Paul Gauthier
e5dc3b66c3 copy 2023-11-07 11:52:11 -08:00
Paul Gauthier
426819e703 copy 2023-11-07 10:53:27 -08:00
Paul Gauthier
ca3ef646ce copy 2023-11-07 10:21:36 -08:00
Paul Gauthier
5da64a6abc copy 2023-11-07 07:22:26 -08:00
Paul Gauthier
6d86fd9161 copy 2023-11-07 06:37:37 -08:00
Paul Gauthier
433dca5b80 copy 2023-11-07 05:24:07 -08:00
Paul Gauthier
a6027721c1 copy 2023-11-06 19:15:01 -08:00