Our logo Kybercode
Home
Archive
Articles
Shared
Bits
About
Contact
Home
Archive Articles Shared Bits

About
Contact
RSS
Search
Serverless VPS
Why I'm Close to Abandoning Cloud Computing
Author
Cooper Gidge
Date
May 28, 2025
The one thing I hate more than spending money is spending an unknown amount of money. I want my monthly bills to be consistent. But cloud computing bills are inconsistent and depend entirely on usage.
Read Article
The AI Bubble Burst, Just Not In The Way I Was Expecting

By Cooper Gidge on Jan 28, 2025.

Why I Don't Use JavaScript Frameworks

By Cooper Gidge on Jan 19, 2025.

Featured
Kybercode's RSS Feeds
Everything Articles Shared Bits
Serverless VPS
Why I'm Close to Abandoning Cloud Computing
Author
Cooper Gidge
Date
May 28, 2025
The one thing I hate more than spending money is spending an unknown amount of money. I want my monthly bills to be consistent. But cloud computing bills are inconsistent and depend entirely on usage.
Read Article
CSS Web Dev
Cooper Gidge on May 28, 2025.

So overflow-wrap: break-word and CSS Grid don't work well together. But using minmax(0, 1fr) instead of just 1fr fixes it.

This defaults the min-width of the column to 0 instead of auto. For whatever reason, min-width: auto causes problems.

<div class="grid">
    <div><p>Without <code>minmax(0, 1fr)</code></p></div>
    <div><p>This div contains a very long word: someveryveryveryveryveryverylongword</p></div>
</div>
<div class="grid grid-2">
    <div><p>With <code>minmax(0, 1fr)</code></p></div>
    <div><p>This div contains a very long word: someveryveryveryveryveryverylongword</p></div>
</div>
.grid {
    display: grid;
    /* this doesn't work... */
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 400px;
    margin-bottom: 8px;
}
.grid div {
    /* overflow-wrap: break-word isn't working... */
    overflow-wrap: break-word;
    border: 3px dashed #FF0000;
}
.grid-2 {
    /* this DOES work... */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}
false
Result
HTML Web Dev
Cooper Gidge on May 4, 2025.

What's the difference between readonly and disabled in form controls? I found myself asking this question when implementing a very specific feature.

I'm making a form to send data, but I also want to include some generic information that the user doesn't need to enter. So I added another <input> element and gave it a visually-hidden class. But then I was faced with a question...do I set it to disabled or readonly?

After consulting this thread, I settled on readonly because it appears that the value of disabled inputs won't be sent when the form is submitted.

Browsers CSS Web Dev
Safari is a Difficult Browser to Work With
Author
Cooper Gidge
Date
Mar 31, 2025
Using margin on a CSS Grid child doesn't work well with aspect-ratio on iOS 18.3.2. My latest of many discoveries that contribute to my complicated relationship with Safari and mobile web development.
Read Article
CSS Web Dev
Cooper Gidge on Mar 22, 2025.

Links with a different color underline are cool. I couldn't tell you why I like them. I just do.

Here is how I normally style my links for projects:

<p class="style-1">
    Here is a paragraph with <a>some great hanging underlines</a>. Here is <a>another link</a> for your linking pleasure.
</p>
<p class="style-2">
    Here is yet another paragraph with <a>some great links without hanging underlines</a>. Here is <a>another link</a> for your linking pleasure.
</p>
/* The link styles */
.style-1 a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #FF0000;
    text-underline-position: under;
}
.style-2 a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #FF0000;
}
/* Extra styles for the demo */
p {
    font-family: sans-serif;
    font-size: 1.1rem;
    line-height: 1.5;
}
a {
    cursor: pointer;
}
a:hover {
    color: #FF0000;
}
false
Result

Though whether to use text-underline-position: under; is always up for debate.

Communication
Cooper Gidge on Mar 14, 2025.

I'm trying to avoid the word "just." Ever since reading this article, I've been making a conscious effort to avoid using the word. I think I've done a good job, but I'll admit there are times where it's just hard to avoid it. See what I did there?

If I believe the use of the word doesn't belittle the reader, I'll usually still use it. But pretty much any other time I'll avoid it.

Just trying to make the developer world a little more accessible through my small role. Was that an appropriate use of the word?

Domains
ICANN is Retiring .su Domains. What About .io Domains?
Shared by
Cooper Gidge
Shared on
Mar 13, 2025
The Soviet Union collapsed in 1991. The .su domain is going to collapse in 2030. That's a whole 39 years later. So what's going on with .io domains?
Read Our Notes Read Article
Legislation Privacy
Privacy Is Now Illegal
Shared by
Cooper Gidge
Shared on
Mar 5, 2025
Encryption is good for almost everyone. It's good for the user, who gets their messages kept private. It's good for the platform, who doesn't need to moderate their users' messages (because they can't). But it's not good for governments.
Read Our Notes Read Article
AI Legislation
AI Generated Art Can't Be Copyrighted - A Win If You Like Having A Job
Shared by
Cooper Gidge
Shared on
Feb 6, 2025
Purely AI generated art can't be copyrighted and is therefore in the public domain. I call that a win if you're a writer, actor, filmmaker, or anyone who works in the creative space.
Read Our Notes Read Article
AI Efficiency
The AI Bubble Burst, Just Not In The Way I Was Expecting
Author
Cooper Gidge
Date
Jan 28, 2025
I thought AI requiring millions of Nvidia GPUs was never going to be sustainable long-term. I might've been wrong. DeepSeek might be the future and OpenAI might've just gotten a run for its money.
Read Article
Browse More
How To Automate Open Graph Images With Eleventy

By Cooper Gidge on Dec 5, 2024.

Not Sure How I Feel About "Was This Helpful?" Widgets

By Cooper Gidge on Nov 29, 2024.

To Scroll, To Stick, Or To Stay: Sidebars

By Cooper Gidge on Nov 23, 2024.

Featured
Logo Kybercode

All things about software and website development.

RSS
Resources
Home Archive Articles Shared Bits Topics
About
About Contact
Copyright © 2025 Kybercode
Privacy Policy
Home
Archive
Articles
Shared
Bits