Blog Directory
Directory Blog

Just Some Code

I spent five years in college learning to code. A stupid dissertation delayed my graduation. But...

canro91.github.io

Just Some Code is an independent blog covering programming. It publishes multiple times per week, with 585 posts in its archive and 1 reader following along on Blogs Are Back.

About This Blog
Activity

Very Active

Publishes multiple times per week

Followers

1

Category

Independent Blog

Languages

English

Feed Accessibility

How this blog's content is accessed through Blogs Are Back.

Full Content

RSS feed includes complete post content for reading in-app

Direct Access

Feed can be fetched directly from your browser

Direct Post Links

Post pages can be loaded directly in the reader

Embeddable

Posts can be displayed inline in the reader view

Latest Posts

Recent posts from Just Some Code's RSS feed.

We're Helping AI and Robots Replace Us

Take public transportation at rush hour. You’ll notice a clear pattern. More than half the people are heads down, headphones on, scrolling. If we don’t take care of our health, we’ll be depressed, sleep-deprived, deaf, people with the attention span of a fish. Taking care of our health is the first step towards reinvention. After commuting, scrolling, junk food, and poor sleep, we lack the energy and drive to be creative and have new ideas. That’s when AI will eat us alive, when we’re too dra...

Friday Links: AI engineers, prompt injection, and job market

Hey there. Here are 5 links I thought were worth sharing this week: #1. We all might become AI engineers (6min), but we still need to know what to build and how it should work. AI needs hands on the wheel. #2. AI speeds up coding, but there are plenty of coding activities that aren’t typing (2min). There’s still work for humans. #3. Last week, another npm package was infected. The interesting part? Someone stole the npm token by injecting a prompt into a GitHub issue (10min). SQL injection i...

The #1 Health Tip From the Guy Obsessed With Living Forever

If you could only do one thing for your health, it should be sleep. Brian Johnson, the guy trying to live forever, teaches in his videos and interviews to be a professional sleeper. He’s right when he says nobody teaches us to sleep. For better sleep, build your life around sleep: Have dinner earlier Remove screens before bed Adjust your room temperature Turn off lights in your room Beyond the basics, Brian’s recent videos taught me to aim for a lower heart rate before sleep. Try j...

TIL: How to Set Up a Unilateral One-to-One Relationship with Entity Framework Core

In another episode of Adventures with Entity Framework while migrating a legacy app… Entity Framework Core only populated a child entity on one item in a result. To honor the 20-minute rule, and for my future self, here’s what I found: TL;DR: You don’t need the WithOne() and HasForeignKey() when configuring the relationship. #1. Let’s create an optional one-to-one relationship. Let’s create a Movie and an Award table. USE Movies; GO CREATE TABLE Awards ( Id INT PRIMARY KEY IDENTITY(1,1)...

Building a Reusable Blazor Component for Summernote

In another adventure with Blazor… While migrating a legacy app, I had to “componentize” an HTML editor. It used Summernote, “a super simple WYSIWYG editor on Bootstrap”. The fun part was learning JavaScript interop: calling JavaScript from .NET and viceversa. After some Googling and sneaking into abandoned GitHub repos, here’s what I came up with: The component In Summernote.razor: @using Microsoft.AspNetCore.Components.Sections <HeadContent> <link rel="stylesheet" href="css/...

Follow Just Some Code

Add this blog to your reading list on Blogs Are Back, or visit the blog directly.

https://canro91.github.io/atom.xml