Episode 523
523: UI.md - Opinionated design rules for coding agents
July 13th, 2026
46 mins 1 sec
About this Episode
Frank releases UI.md, a practical markdown guide distilled from 25 years of software development that captures essential UI/UX principles to help AI (and developers) build better interfaces. The hosts dive deep into why users expect consistency, how small details create polish, and why understanding your users' mental models beats flashy design every time—with real-world examples from their own apps.
Follow Us
- Frank: Twitter, Blog, GitHub
- James: Twitter, Blog, GitHub
- Merge Conflict: Twitter, Facebook, Website, Chat on Discord
- Music : Amethyst Seer - Citrine by Adventureface
⭐⭐ Review Us ⭐⭐
Machine transcription available on http://mergeconflict.fm
Support Merge ConflictTranscript
James 00:00
Welcome back everyone to Merge Conflict, your weekly developer podcast talking about all things, the world of software development. I'm one of your hosts. I guess I was going to think of something ah for myself, for a name of myself, but maybe Frank can't, but I'm one of your hosts James Watson Magno and always the most elegant, elegant co-host.
Frank 00:23
Person. Thank you, Jay.
James 00:25
I wouldn't say person, but co-host at least. Elegant person. Mr. Frank Kruger, how's it going, buddy?
Frank 00:32
Oh, very good. ah So I was going to go with narrator for you, but with that opening, we'll just go with ringleader. You are the ringleader tonight.
Read Full Transcript Hide Full Transcript
James 00:39
oh
Frank 00:41
Or what do you call the guy at the box boxing match? one One or the other.
James 00:44
No, you know, the ah Hugh Jackman, that Hugh Jackman movie.
Frank 00:45
You're either in a circuits or a boxing match. Showman.
James 00:50
Showman, the showman. Ooh, ooh, ooh, ooh. We just watched Frank Krueger. We watched a Hugh Jackman movie. It's called The Sheep Detective. It's an Amazon movie. It is absolutely spectacular. Look it up. Sheep Detective, Hugh Jackman. Also, by the way, in this movie specifically, he extremely reminds me of our good friend, Craig Dunn.
Frank 01:13
Oh, that's funny.
James 01:14
yeah Because he always has.
Frank 01:14
Who's always looked like Hugh Jackman. But yes.
James 01:18
Always has.
Frank 01:18
ah There's like a whole genre of animal detective movies lately.
James 01:18
Yeah.
Frank 01:22
ah the Yeah.
James 01:22
What?
Frank 01:24
i but maybe i'm Maybe I'm hallucinating. But like I thought there was another like sheep detective movie. But maybe he's just into sheep. like Did the sheep talk? Or is he a sheep?
James 01:32
They do.
Frank 01:33
Okay.
James 01:34
Okay, so no, no, no, no. So something happens to you, but the humans can't hear the sheeps talking, right?
Frank 01:38
ah Spoilers. Hmm. Classic.
James 01:43
It's like bay pig in the city.
Frank 01:44
He needs a princess to kiss him. Yeah, gotcha.
James 01:46
Accurate. That is correct. Yeah. So it's very, very good. I'd recommend it if you can find it. It's on the Amazon Prime and or anywhere else you can stream without an Amazon Prime.
Frank 01:57
I'm too busy watching Clarkson's farm and real sheep doing sheepy things, so you know, that's what I do on my Amazon.
James 02:05
Dude, one time we were driving through Northern Ireland and Northern Ireland, where I think Martin, my boss, Woodward lives, is exactly how you would picture it. It is just absolutely stunning, beautiful, rolling hills with sheep. They're just all there just doing sheep things. Have you been to Northern Ireland? Have like up to the
Frank 02:29
Yeah, yeah, we we kind of did a rampage rampage. we We went through the country pretty quickly. I mean, as fast as you can on half wide streets, but um it's i thought it's all a little bit of a blur.
James 02:36
Yeah.
Frank 02:41
I can't remember what was the north, the south, the middle. But um yeah, technically um gorgeous country, obviously.
James 02:48
We were in Dublin and were like, okay, we're in Dublin. We've been here and I've been there before for work. We should do something else. And we saw this big green bus go through the city and it was called the paddy wagon. And i said, we should We should do that. And we looked at the paddy wagon and it was like 50 bucks a person.
Frank 03:09
Oh boy.
James 03:10
it was an it was a eight hour, you went up, no, you went up all the way up through um Northern Ireland and you went all the way to the Giant's Causeway, which is like way up on the Northern coast.
Frank 03:10
Tourist.
James 03:22
And then you also stopped in Velfast and you also stopped at ah where Game of Thrones, like there's an intro part where Game of Thrones, I don't know, never seen Game of Thrones, but some iconic thing
Frank 03:30
Sure. Oh, okay.
James 03:33
thing. It was it was spectacular.
Frank 03:35
Okay.
James 03:35
and our and The thing that makes those tours, makes or break it, Frank Kruger, is your guide.
Frank 03:42
The ringleader. Yeah, the the showman.
James 03:43
It's the ringleader. The showman, either that driver is going to be on it or not. and Our driver legitimately was amazing. and That made the day.
Frank 03:56
think those jobs are pretty cutthroat. So if you are not a witty, funny Irish person, um I don't think you're going to make it in that job. So I believe you and I believe most Irish people are witty and funny. So sure.
James 04:09
Well, let's get into our topic tonight. um A few weekends ago or weeks ago or yeah last week, whatever day, we talked about polish of... you know the things that we're building, which I think is really important.
Frank 04:23
wow
James 04:23
i think that the the user flow, the the tiny details, the craft, if you will, the craft, the showmanship of our our boutique software, if you will, we really pull it back to Hugh, is really important.
Frank 04:32
yes yes
James 04:38
And Frank, you've released something into, i believe you might have, I don't know if this website is available, but I believe that you may have released into the the world the next iteration of polish when it comes to working with these agents.
Frank 04:55
I'm not even sure I would go with this with polish. These are more like the rough cuts, sir, which is kind of funny, but I have to continue your analogy. I shall, but, um, to be honest, I was, um, so a little background story. I get frustrated with AI, especially around user interface work. I think I complain about it.
James 05:11
Wait, wait, wait, wait, wait. You get frustrated with artificial intelligence? let me Let me just remember the first word, artificial, the second word, intelligence. Put those two things together, artificial intelligence. It's not real intelligence, it's artificial.
Frank 05:24
And I believe, yeah, in real artificial taste, let me tell you. um That's what it's AT. I think if you go back to episode 100, when James first let me talk about AI, I was using like GPT-2 to generate XAML. And I'm like, I went straight to UI because that's like all I really care about. Like anyone can write an algorithm to do anything. a monkey can do it, but it takes a real developer to write a user interface, in my opinion.
um Anyway, um I was getting a little frustrated with the AIs and someone a little flippantly on Twitter once said, why don't you just write a markdown file with all the rules you've learned over, you know, 25 years of writing software professionally into a simple little markdown file that you can just throw into it an AI.
James 06:05
Duh.
Frank 06:08
And I'm like, well, that's impossible. ah But I decided to finally take up the challenge because I was getting super annoyed. And so ah with the help of an AI, I wrote out a little markdown file. It is ingeniously called UI.MD. In other words, it's some markdown. You should throw it in an AI. anytime you're you doing any kind of UI work. And it's it's the most basic rules, in my opinion, for how UI should function, basically guardrails around how to build UIs, what's important, what's not important. And it all comes from a frustration. You had mentioned design.md from Google earlier. But the more I looked into DesignMD, it was all about like colors, like spacing, like the stuff that matters. That's the polish. That's the lipstick. But I'm talking about the pig. I want to work on the pig. i want the whole hog here. I want to say like, should it have four legs? Should i have one tail or two tails? I'm a one tail person.
um So it's it's those basic guardrails. And i just found AIs making tons of what I considered common sense mistakes. Like, if you're building an interface for humans, these are the things you should consider. And it's a set of those rules.
James 07:24
My opinions are this, is that I think that AI likes to take shortcuts. It's like a contractor.
Frank 07:29
Yeah.
James 07:29
It's like, oh, I hired an electrician or like a HVAC. Electricians are okay. h I hired an HVAC person. And they're like, you know what we're gonna do?
Frank 07:36
Mm-hmm.
James 07:36
Oh, we have to run this pipe, but you know, we just have to drop your ceiling by four inches. like But like, that's going to have like this weird notch for the rest of my life in this thing. Yeah, but like, that's where it needs to go.
Frank 07:46
Yeah.
James 07:47
But like, yeah, but maybe have you considered maybe not doing that?
Frank 07:47
Yeah.
James 07:51
And then they're like oh, I never considered not doing that. well Let's talk through some others. and So interestingly enough, Frank Kruger. My favorite part about working with AI is the stuff that maybe you've solved because I have fun working with the AI to finesse the user interface to exactly my specs but my specifications because I still feel like there's a craft A lot of people think, you know, AI, AI just does a code, right? You give it a thing, it does a thing. It can, but the thing is this polish that we've been talking about. And the thing that I believe to my core, obviously still being a developer is not only prompting and the the systems around it, but also like reviewing the code and understanding what's going in the architecture and like giving it the guardrails. But also like those small details are so important for me that I personally,
like to it's like I'm coaching my coworker and or myself on how I want to improve the the user interface.
Frank 08:45
Yeah.
James 08:49
Now, that being said, i do get frustrated when I've already created a user interface in a beautiful way that I want.
Frank 08:54
Yes.
James 08:55
And then I'm like, oh, can you also create this page? And it messes it up. So what is this thing? is this goingnna Is this from the jump? Is this something that I iterate on? And I tell it my thing. You got 17 stars and in in three hours. so that seems important impressive. So like how am I going to integrate this? And like how are you integrating it into your workflow today?
Frank 09:15
I am literally just dumping it into my agents MD because like that is the most surefire way to like make sure that AI is actually pay attention to this stuff.
James 09:18
Not like a scale, like a scale.
Frank 09:22
I mean, no, no skill, not, not a skill because a skill is a function.
James 09:24
No.
Frank 09:27
A skill is an action that you invoke when you want to invoke it.
James 09:29
Hmm.
Frank 09:31
This, I, this is like, I'm making up for a poorly trained model in my opinion, because no one trains. They, if you look at all like the coding benchmarks, none of them are user interface. Like they're just not.
James 09:42
Hmm.
Frank 09:43
A lot of them are um style. You know, they'll they'll create a gradient background and a cute font with a nice pastel color and a vaguely modern looking thing from two years ago. But they don't know anything about human flow, like basic rules of clickable things should look clickable.
James 09:55
Yeah. Yeah. Yeah.
Frank 10:02
Non-clickable things should not look clickable. Yeah. Hit targets should be large. You should prefer native controls and native layout over custom layout and that kind of stuff. The user interface model should be pretty close to the data model so that there's not this like constant battling between the UI and the actual object model that you're like writing in code. Those should actually kind of be in sync. And here, here this is a crazy thought. If they're not in sync, change the data model. to make sure the data model actually follows the UI model, because that's the easiest way to create bug-free software and good UIs around stuff.
James 10:34
Yeah.
Frank 10:42
So it's a lot of those. I hope people will just go to it. It's at github.com slash preclarum slash UI.md and read through them Like, you might have your own opinions, but they're very strictly, I think the kids would now call it UX, not UI, but I'm old, so I call it UI. It's not design. There's almost no design stuff in it. it's It's all the common sense things of like...
James 11:05
No, I mean, i no, no, you say it in the first sentence, prime directive.
Frank 11:05
It said...
James 11:09
A UI is good when the program behaves the way the user expects it to behave.
Frank 11:09
Hmm. Hmm.
James 11:14
i don't know I don't know if you wrote that or the AI wrote it, but I don't know if it could be said better because when you expect a button to click in a certain way and a UI to react in a certain way and a picker to perform in a certain way,
Frank 11:20
Hmm.
James 11:30
it is natural. You don't, your your mind doesn't have to think about it because it is just as I expected when I clicked on that button, it is doing the exact thing that I expected it to do. And I agree. i often see a lot of these UIs and we'll talk about canvases later. so've been building a lot of canvases, which are web UIs where links and hyperlink things are doing things that I don't expect. So for example,
Often ah in these scenarios, the AI might say, well, here's ah a link to do a thing. but it's like a more of a hyperlink looking thing in the web instead of a button, which is an action. I expect ah a link to navigate somewhere, whereas a button to do a thing, right?
Frank 12:10
Right. Yeah.
James 12:14
So I'll say, oh, click on, I want to create something that when I click on it, it opens a flyout navigation. Well, that should clearly be a button, not a hyperlink, which would be navigation, but it doesn't know the difference because it's just like, I'm going to do the thing.
Frank 12:22
from Yeah. o This one's not a rule in there, but you're making me think I should add it, but like a button mutate state. Like that's why actually it's not just taking action. It's mutate a piece of data out there. That's what a button does.
James 12:39
Ah, a hundred percent, because even in the flow where it is, it is, it is navigating, it is doing something, the state of the application is fundamentally shifting in so many ways.
Frank 12:50
Mm-hmm.
James 12:50
You're adding, you're deleting, you're done, you did the whole thing. And also, Like words and colors and placement matter. And this is like, I don't know if you if you figure this out in your UI.md, but you know when I'm thinking about save, save as, delete, done, like, All of these, all of the word selection, i don't think you I don't think I've thought about it as much as I have in like the last year, but they all really matter. Like, you know, like in and every programming language and every UI framework and every operating system, there's basically a yeah primary button, secondary button, primary button.
Frank 13:34
Yeah, sure.
James 13:35
Like there's a...
Frank 13:36
Well, primaries hit enter. There should be a button mapped to escape. You know, you can think of it as simple as that. It's keyboard mappings, yeah. The primary button, you just whack the
James 13:43
Exactly. and And that's really an important thing. The AI is not going to know what's the, problem unless you tell it what the thing is, it's going to guess. And it's always probably going be wrong. And what I've noticed is when I'm crafting these dialogues, it's almost always not how I want it to be.
Frank 14:00
Yeah. Well, and it's's it's tricky too, because like, if you're a web developer, you're in a really sticky spot. um Because like, and I'm probably going to say this backwards, so I apologize. But um like, Macintosh would have the primary button on the right hand side, and Windows would have the primary button on the left hand side, right? So just basic fundamental layout differences between the two operating systems.
James 14:18
Yeah. Hmm.
Frank 14:23
So if you're a web developer, you kind of got to choose which side you're going to go with. And that's why the web is all over the place, because honestly, the operating systems are all over the place. So no one ever knows what to do with that stuff. The other thing I'll, this is more design than UI, but I would argue color is not important. What's important is contrast. um So design your UI as if it was always in black and white and make things distinctive in a black and white world.
um You want to use contrast. Color is good to distinguish things. Color should never be used to identify things. Sorry, I keep coming up with more rules. I got to add to this stupid thing.
James 15:03
No, it's good.
Frank 15:04
But yeah, this is this is the problem with trying to summarize you know years and years of UI experience into a markdown file. But I decided like ah enough complaining about it. I just got to write it all down.
James 15:15
Yeah.
Frank 15:15
like there's There's nothing to do but just start writing it down.
James 15:18
i like I like your principles. You got match the user's mentor model. That makes sense to me, right? Prefer behaviors from existing apps, platforms, controls. Design around activities, not feature lists. I like that, right? I'm managing a to-do list.
Frank 15:30
Mm-hmm.
James 15:31
i'm not just check I'm not just marking it as done. Think about the end-to-end scenario. Reduce decisions. That's really nice, right? Like you got a thousand button clicks.
Frank 15:42
Yeah, we used to have funny saying in UI design, like, assume the user is drunk and in a rush. Both.
James 15:47
Yeah.
Frank 15:49
No one, everyone designs their UIs, like the the user is completely concentrating on their app.
James 15:50
Yeah.
Frank 15:54
No one's concentrating on your app. They're in a hurry trying to get something done and they're browsing through it as quickly as possible. assume Assume the worst case.
James 16:04
ah Be consistent. This is probably the most important thing is like, you know, be consistent in the app. Make actions visually obvious is what we were just talking about.
Frank 16:09
Yeah.
James 16:12
Actions should be, it should be clear. You should, your eye should navigate to the, and then the primary action too, not just even all the actions.
Frank 16:20
Yeah.
James 16:21
um Respect limited attention. What does that mean?
Frank 16:23
that's it Well, that's what I was just saying about drunkenness, basically.
James 16:25
Ah, yeah.
Frank 16:27
like the yeah don't Don't put a giant delete the entire database button next to the okay, I'm done button. like Just assume that like someone's only half paying attention to your UI.
James 16:35
Yeah. Yeah.
Frank 16:39
we used that In the old days, we used to say they're drunk, but now the nice way of saying it is they don't have a lot of attention.
James 16:42
Yeah. ah They have respect imperfect motor control. This is the use large click targets allow clicking the whole control, not just tiny arrows.
Frank 16:52
Yeah.
James 16:53
It does. I've had this situation. especially in tiny clips where I'm like, okay, like I want to have like the, this, the screenshot editor where it has like an arrow and a line and squares and rectangles, and it will inherently make the click target just the icon, but not the entire box.
Frank 17:09
Oh, yeah.
James 17:10
And I'm just like, dude, what do?
Frank 17:11
Oh, it drives me nuts.
James 17:11
you do What are you doing?
Frank 17:12
It drives me absolutely batty. I mean, the the old joke with that one was um checkboxes or radio buttons where clicking on the label didn't do the checkbox. But the same thing applies for buttons or rows in a list.
James 17:21
Yeah.
Frank 17:26
You know, don't force people to click on a 20 pixel tall strip if visually the row is 44 pixels.
James 17:31
Yeah.
Frank 17:33
Let them click anywhere on that row.
James 17:35
Yep.
Frank 17:36
That's the hit target. Make those as big as possible.
James 17:38
Last one, do not make users remember what the computer can show.
Frank 17:44
this one this one's tricky because there's a balance to be struck of um the ui should be self-educating like if there's a piece of information someone needs to know critically at this moment like um like the easiest example is when you press the delete key and you say are you sure you want to delete this you're like well what is this what what was selected say like are you sure you want to delete the person james like oh no no cancel cancel escape i wasn't paying attention so it's it's just it's that even short-term memory like it's part of it is preventing mistakes but other parts are like don't assume because they selected something two steps ago that they remember that they selected something two steps ago just tell them just its it doesn't cost you anything just reiterate it
James 18:12
Yeah, yeah, yeah. Yeah. That's true. And a lot of these are really good. I've been working on the Copilot app, like I've actually been contributing code and it's usually a lot of like tiny fixes ah to the the things that kind of bother me. And I was really thinking about this polish. So I had one fix that was the app icon that it didn't look really good in dark mode compared to light mode. in Windows because it just doesn't change the icon automatically, it kind of like Mac does. So I like just fixed it. And I fixed it in two ways. First, I fixed it where would change from light to dark. And then I realized that actually looping into that event wasn't very good. So I just made it a
a normal icon that was good in both contrasts and it wasn't a big deal. But then I also realized that when there's like a question, a little dot, you know how like, you know, there's dots like on on Mac, like right now there's like like a thing that might come up.
Frank 19:17
Yeah.
James 19:18
And usually we've complained about color on Mac, like oh it shouldn't be green, it be black or white. So it's black and and on Mac it obviously changes the contrast automatically. But on Windows it would be this like black dot on a black background on a black icon. And i was like, i can't see this. So I like changed the contrast to yellow on windows. Like these small fixes, right?
Frank 19:36
Right.
James 19:37
Really, you know, really, really neat. I've, I've, I've contributed some bigger things, not as big as like what the team does, but, um, these little tiny fixes, cause it's the polish.
Frank 19:43
Mm-hmm.
James 19:45
I was thinking about our podcast and was like, what if I had the ability, which I do to contribute to one of the most kind of glorious apps that I've like used in a long time, and make some of these little quality life UX UI tweaks. And it makes me so happy because it seems silly. Like to change that dot from black to this yellow, which is a yellow, the same yellow in the app, which is the question yellow,
It was two lines of code changes. It was if on Windows change to this color and that color was a constant so you could easily change it. It wasn't like, you know, just in a bunch of places.
Frank 20:18
Yeah.
James 20:19
And it made me so happy that that got merged.
Frank 20:22
yeah
James 20:23
And then like when I see the yellow dot, I'm like, oh, I did that. Because it feels, it feels good. It's got a good mouthfeel. It's got good, you know, taste.
Frank 20:30
Yeah.
James 20:31
It's a tastemaker.
Frank 20:33
And honestly, when when you have a lot of developers working on something, those those little things can get missed. I have this funny story. I think it's funny from um when I was working on Windows at Microsoft. I was, I forgot where I read it It might have been an old new thing. It might have been something else. But they were talking about how the close button on a window, but it's more like the Windows 95 kind of UI, visually, that button does not go up to the full corner of the window.
There's a little bit of a border padding on it.
James 21:04
i'nna There is.
Frank 21:06
and There's a margin or a padding, whatever you want to say. There's there's a gap between that button and the corner of the window. But what do a lot of people do when the window's full screen? You just kind of throw your mouse to the, i forgot, the upper left or upper right at the time. That button keeps moving, sadly, on Windows. um You would just throw your mouse up to the corner of the screen and click because,
a very thoughtful UI person made sure that the close button hit target went all the way to the corner of the window, even though visually the button doesn't go anywhere near those pixels.
James 21:36
Yep.
Frank 21:39
And it was funny, I was working on Vista at the time, it was called Longhorn at the moment, but um on on some version of it that came out, I tested that because I'm anal retentive and I care about these things. And I noticed they had just changed a bunch of the Chrome on the Windows. And I noticed that it no longer did that. it You had to throw the mouse to the upper right and then backtrack it a little to get on top of the X button. So i filed a bug against Windows and I got the weirdest reactions from people. Some people are like, you are insane. And then like out of...
the ether came all these old school people like, oh, we can't believe we messed that up. That's one of the most important features of the windowing system.
James 22:19
Wow.
Frank 22:21
And it was so cool. Like it became like a big to do about how did this there were like incident reports and investigations, like how did we lose this ability? This is a critical feature of the OS. And I thought it was so interesting that like even in a large org like Windows, that knowledge is there.
James 22:33
Yeah.
Frank 22:39
But sometimes a new person's working on it. They never received that institutional knowledge. And then it takes just a weirdo who's obsessing about that stuff to come back and be like, hey, go fix this again.
James 22:52
I love it.
Frank 22:52
So that's really my favorite Windows story.
James 22:52
Well, on that note, let's take a quick commercial break. Let's talk to our sponsor this week, Sabrent. Sabrent? Sabrent. You know them. They make storage, charging, docks, hubs, adapters. You've probably seen them on Amazon. They sent me this Voltaic 252-watt 8-port USB PD 3.0 charger. Frank, this is absolutely as astonishing. It's like $60, $70, whatever it is. It can do everything. 252 watts total charge across four USB-C and four USB-A. And we're talking 100 watt per port max output.
Frank 23:28
I don't
James 23:29
It gives you a little display. It tells you your current, voltage, wattage, everything on the display. You can rotate it. You can mount it. You can do all the things. Check it out. Sabrent.com. and or amazon i'll put a link in the show notes thanks to sabran for sending me 60 dollars worth good and i have it i have it plugged in i'm plugging all of my laptops in and it is absolutely fantastic you can mount it it's got a little lock kit on it all the things it is it's not plugged in right now if you're watching on youtube but it's glorious you've probably seen it because they send it to all the influencers on the internet and thanks to sabran for sponsoring this week's pod frank
Frank 23:44
know. I hope someday I'm an influencer so I can try awesome 100 watt ports.
James 24:09
I'm sure I could email George and then have George send you one too. So hey. Yeah. um Anyways, I figured I'd, I told him I'd do a shout out on the podcast. So there it is.
Frank 24:17
That's great.
James 24:18
It's pretty, it's actually really cool. Like what the nice thing is too, they thought about this.
Frank 24:19
Yeah.
James 24:21
So, you know, the charging ports on the bottom down you plug into the wall, but you might want to mount it or you might want it to be this way. If you triple click this, it'll rotate the screen 180 degrees. The little display. Smart.
Frank 24:33
Yes.
James 24:34
Yep. Anyways, it's pretty nice. um This is really super fascinating because I agree with you because, you know, actually on Mac, you actually do have to get onto that red little block there. But I think all this stuff is really, to me, really, really important. We're talking about impeccable and we're talking about like the UI designs, all these little things. This is cool. I'm going to drop this into my my apps as you continue to build it up. Maybe I'll give you a week to kind of flesh it out.
Frank 25:00
keep refining it. I do want to give one past closing shout out to it.
James 25:01
Oh,
Frank 25:04
It was funny when I was reviewing it, I forgot how much Joel Spolsky had influenced all my thoughts on user interface. And I went back to a very famous article. I think it's called um user interface design for programmers. I believe it was written in like 2001. one um i i highly recommend everyone go reread it it's like 10 000 words but you can do it i have faith um i think a book was even published at some point that's how good of a blog entry it was but it was so funny when i'm trying to remember all the rules of user interface that i follow i forgot how many i basically just stole from joel spolsky so shout out to joel yeah
James 25:46
Nice. Yeah, I think that that's kind of the interesting part about these designs. and know there's like skills, there's all these other design and impeccable, blah, blah, blah. But I think always when you you respect someone and like the things that they've created, you get a lot of inspiration.
Frank 25:55
Mm-hmm.
James 26:02
So, you know, I think what's kind of cool about this is like, as I was reading through those bucket list items, I'm like, yeah, those are things that ah that actually resonate with me. The things that I do want to instill in my applications that I'm going through. And ah you know, as good as the AI is, I'm testing some like crazy new AI models. ah As good as they are, they're still, you know, they're not me and they don't have my design taste.
Frank 26:27
Yeah.
James 26:29
And, you know i worked at Xamarin. i always loved working with the designers. I always like to say I had an eye for design, but I'm not a designer. So I always loved to being in the reviews and giving my input onto it, even if it wasn't like, you know, implemented or taken, um maybe was always taken as always well received and well taken, but I went into it, understand like, Hey, listen, I'm not a designer. I'm not you. i'm not a designer that has like, you are a designer, but I have an eye for design, which I think are things that resonate for me from a, um a user interface, user experience flow. So I'd always give feedback. And I always loved when the designers like took me serious and I could jam with them.
Um, Antonio was always my favorite.
Frank 27:10
Yeah.
James 27:11
And, uh, I always have loved i've loved design. I've just loved it to my core. And I don't say I'm i'm not a good designer, but I know when things are wrong. And that's almost as important of knowing when things are right.
Frank 27:27
Yeah, and it's it's harder because, you know, in algorithm design, algorithms are very close to math. You know, you can prove whether an algorithm is correct or not. That's why we have a good a lot of good benchmarks. We have a lot of so-so benchmarks for AIs. But um human factors are much harder to codify, and they're culture-inspired, they're background-inspired. So, I don't want to say it's it's easy to criticize because it is easy to criticize because you know your taste. You know what makes you happy. You know what frustrates you. You have your own set of pet peeves.
um So good designers are able to take criticism because they know that... human stuff is hard. it's really It's really hard because everyone has slightly different opinions. We don't have powerful axioms of good UI or anything like that. I'm trying to write out a bunch of these little, at least lemmas, if not axioms. um of these good UI things. But in the end, it's it's human preference inspired by a shared culture, inspired by differences in culture, inspired by shared experience and differences in the experience, all of that.
James 28:42
Well, and you know we're what I've always said in my career personally when it comes to design, especially like mobile app development, which is like what I do to this day, you know, to my core, that's what I really enjoy doing the most, I would say, is there are a lot of smarter people that did a lot more user research and spent a lot more money on like actual designers to figure out the correct flow. So who am I to be like, you know what, your tabs are wrong. You know, my tabs are better than yours. And think could they could be,
but
Frank 29:15
yeah
James 29:15
I'm not going to have this unlimited Apple or Google resources or Microsoft resources that put into this user design. And additionally, to one of your points, which is like, do what the user expects. There's nothing worse than going into an application or a website where the the UI isn't as expected and is fundamentally different because our minds... can only comprehend like so many different flows and user interactions. And when 90% of them are the same of a button does this thing and then your button does something different, it actually throws you off.
Frank 29:48
and
James 29:51
have to think about it, like, is that right? Am I doing something wrong?
Frank 29:53
Yeah.
James 29:54
You don't want to stop the user's flow. So I've always put myself in that mindset of adapting to the naturalness of the platform, which is when Google brings a lot of their applications from Android to iOS, their applications look more like Android applications.
Frank 30:04
Right.
James 30:13
And I actually think that's fundamentally wrong. I wish that they would maybe a adopt iOS isms even better because if you're not an Android user and I've never been an Android user, even though i have been, coming over, it's jarring.
Frank 30:17
Yeah.
James 30:28
Like it's jarring for you going from this.
Frank 30:29
Yeah. Yeah.
James 30:31
And I would say even this being an Android user to being an iOS user, it is actually jarring to go from one idiom to another. And that's kind of important.
Frank 30:44
And it's hard. I was responding to an app review comment today. So in iCircuit, there's like an element library and there's a lot of elements in the app. So it has to be a scrollable library, but it's also a drag and drop library as in you can drag an element out of it onto the circuit.
James 30:56
Yeah. yeah
Frank 31:03
These two operations, scrolling with your meat fingers and dragging an object with your meat fingers, they look a lot the same to code. And there are conventions on Apple like you know give it a half second pause before you start dragging. And that's the difference between a drag operation and a scroll. If you just flick, it's a scroll. If you stop on it for just a half second, just a half second, sir, and then move, it'll drag just fine.
But i there was an a review comment like, I can't drag any elements onto the circuit. The thing just scrolls all the time. And that is purely me not meeting user expectations.
James 31:37
Yeah.
Frank 31:41
They have an expectation that they should be able to scroll and they should be able to flick things onto the circuit, no problem. I can give them a million technical reasons why that's not possible or why they're not exactly following the Apple way of how to get these controls to behave. But I completely sympathize with them because I am breaking my own rule. This this is an obvious action to them. i want it to be an obvious action, but there is a fundamental contradiction between what your finger flicking there does. And so I i can't but...
apologize basically in the app review. like, just just a half second. Just rest your finger there for a half second before you move and it'll be fine. But you know what? Half second is a long time because every user is drunk and in a hurry.
James 32:28
Yep. No, that's a good point. Yeah, it's super fascinating. That's why i love UI design and I love user experience design so much because i think it's so fascinating. Especially when you use your own product. It's the little tiny details. Like I've been working MyCadence recently. MyCadence, you know, it's this little app that shows a number on a screen, but it connects to a sensor and it like disconnects from a sensor.
And I'm struggling with this paradigm, which is auto connect, auto disconnect, start, stop. Like what's the flow? Like if you stop or you have auto reconnect on, does it do this thing? But should you stop? Like, do you want to stay connected to the Bluetooth? What are you pausing? Are you stopping? It only says stop.
Frank 33:10
Right.
James 33:10
Like, should you disconnect? I've been battling, I've been using.
Frank 33:12
Right.
James 33:13
So as a user of my own app, I've been doing these tiny micro, I mean, they are fundamentally microscopic tweaks to the wording, to the phrasing, to the action, to the thing, right?
Frank 33:23
right
James 33:25
A good example is I told the AI, I said, listen, I think we should get rid of auto reconnect because fundamentally it's a bad design.
Frank 33:31
Oh.
James 33:32
I don't think you should open the app and you should start reconnecting automatically.
Frank 33:32
Hmm.
James 33:36
This causes problems when you stop, when you pause and just the series. I think actually auto disconnecting is better because um one of the issues with Bluetooth, these little sensors, is that often if you background the app, the Bluetooth doesn't automatically disconnect. So you can like drain battery and you actually have to swipe out.
Frank 33:52
Hmm.
James 33:54
So I'm I really want to encourage the people to disconnect from the sensor. But I was thinking to myself, well, I said, how many users are actually pausing a ride and then restarting a ride? And what's that experience? So I was talking to the AI and I said, here's what we need to do. So the AI inherently says, okay, when I stop a ride, I'm going to disconnect, which means I'm not connected, which means the start button is disabled.
Frank 34:18
oh Oh, right.
James 34:19
And I go, well, that's a weird, that's a that's a weird, I can understand if I launched the app for the first time, I'm not connected ever.
Frank 34:20
If, no, yeah.
James 34:26
So the button's disabled until I connect. So that makes sense. But I go, but I was just connected and I'm stopped.
Frank 34:32
Yeah.
James 34:33
But like, how do I resume? Oh, I got to click another button to reconnect and then I got to do a thing.
Frank 34:37
Right.
James 34:38
That feels incorrect. So I had to work with it. I said, okay, no, no, no, no. Like if you had already started a ride and you're in between a ride, leave it connected. But then if they click it, tell them they got to reconnect and then say auto reconnect and then reconnect and then start the ride.
Frank 34:50
Yeah.
James 34:54
So it's like these little, ah the flows, I think in your first thing is like, it's the flow.
Frank 34:55
Yeah. It's important though. Yeah.
James 35:00
And if you don't use your own app and you don't tweak it so much, I think that's where you can run through these little itty bitty things. And heaven forbid you're writing cross platform application, then you have to worry about it in every single operating system. And that's, That's the real, I mean, we know, right? But that's the real grind, man. I'm doing tiny clips on, on, on windows and on Mac. And I'm fighting because I really like, like this one design that they really like did on, on windows.
And then I'm like, i don't know if it's better on Mac. and like the, I know I'm, I'm using the native Mac paradigm, but like, and don't know if I love it.
Frank 35:32
Yeah. Mm-hmm.
James 35:36
I'm doing this. I don't know. And so I'm fighting with myself. back and forth. um But Frank, I'll tell you this much. One thing I did find out talking about UI is if you have a great UI and you're doing something, ah you know you can register your app as like a ah open with provider, you know open with like open with this app. So tiny clips, my favorite part of tiny clips that I have is not that I can like create a screen, like get a screenshot or do a video.
Frank 36:04
Okay, yeah.
James 36:05
My favorite part is that I've really created a fantastic um editor.
Frank 36:06
Yeah.
James 36:11
So when you take a screenshot, it opens like the editor and you can do like cropping and so it's like super fast circles and fills and strokes and numbers and and blah, blah, blah, all this stuff.
Frank 36:12
Yeah.
James 36:22
And I was like, dude, what if I could just take any PNG, right-click open with tiny clips?
Frank 36:28
Yeah.
James 36:29
You can just register your app to like open a file format.
Frank 36:32
Sure.
James 36:33
And I did that.
Frank 36:33
I mean, that's the 90s.
James 36:33
like Now I can open any PNG. g it as like so and it takes You know what it does? It takes like four lines of code.
Frank 36:40
Yeah.
James 36:40
It's crazy. And i was like, whoa, that's so good. Anyways, so if you haven't, it's cross-former.
Frank 36:44
Is that cross-platform? Did you do it on both?
James 36:46
Yeah, yeah, yeah.
Frank 36:46
Okay.
James 36:47
it's even easy It's even easier on Windows.
Frank 36:47
but
James 36:49
It's like you just have a a schema or whatever. It's like super super simple.
Frank 36:51
Yeah. Okay.
James 36:53
And it just takes in data and it just like displays. it So now I can just right click anywhere. I'm like, give it to me. But yeah, so user interfaces are so interesting.
Frank 36:59
Yeah.
James 37:03
You should use Tiny Clips and really critique it. Really tell me how much you hate it or love it.
Frank 37:07
yeah. I think we did an episode where you tore apart one of my UIs. So I think that ah we we could do at least an hour of me critiquing every screen and tiny clips.
James 37:12
Oh, God.
Frank 37:18
But I do have to compliment you. I am happy that you put in, i always call them annotation editors, but yeah, where you can just add arrows and stuff to the thing. Because like it's funny, um Apple's own preview app does annotations, but somehow i they made them really hard to use. really
James 37:37
Yeah, it's the same on Windows. It's the same on Snipping Tool. I use Snipping Tool all the time. Annotation's so complicated.
Frank 37:43
Yeah, I don't know why.
James 37:44
And like, i don't know just like give me the options, always available, do a thing, let me make a rectangle, let me move the rectangle, easy peasy, and go from there.
Frank 37:50
Yeah. Yeah.
James 37:55
So yeah, I'm not saying my annotations are perfect, but it did a pretty decent job.
Frank 38:00
For the kind of stuff we do and for the kind of stuff the internet does where basically you just need arrows most of the time and a few text things like.
James 38:07
Red arrows, red arrows.
Frank 38:08
Yeah.
James 38:09
I did recently add arrows with curves, which I'm really proud of.
Frank 38:13
Yeah.
James 38:13
So you can you can curve an arrow. um And an upcoming update, you'll be able to not only just move any item, but then also afterwards resize any of them in real time.
Frank 38:16
yeah
James 38:23
That was a good one ah that I'm doing.
Frank 38:24
excuse
James 38:25
Yeah, I would say, I mean, TinyGlips is fine. It's like a free app, right? But ah that's what I love about the internet. And I love about development today is if you can dream it, you can ship it. I, Frank, I kid you not. I've been battling, we're just off tangent now. I've been battling with caption files, like SRT files, VTT files.
Frank 38:50
Oh, m
James 38:53
Oh,
Frank 38:54
I'm a little bit with you. These have been a constant. I finally learned how YouTube chapter marks work. They're so primitive.
James 39:01
nice.
Frank 39:02
But it's roughly the same idea of putting some text in certain time codes. And yeah, it's it's funny to like finally deep dive in. I was like, this must be so complicated. Like I'm i'm looking at how to embed it in the MP4 format, like which metadata isn't supported. No, in the description, you put a bunch of words, hyphen, and then a time code. I'm like, oh, that's actually simple.
James 39:24
Well, if you were to download the podcast metadata generator, which does all it does it for any transcription, it would go ahead and give you all the YouTube things in the correct format.
Frank 39:35
yeah
James 39:36
I created something today um called caption stack CaptionStack, It's actually a really nice looking website. You can critique it.
Frank 39:44
you own every domain under the sun no wonder i can never get a domain you already own it it's like nope james got this one
James 39:50
Yeah, so this is like the origin. So I went today before I went on a walk at lunch, I said, here's what I need. I need a beautiful website that allows me to like give you any caption file and I need you to convert it to any other caption file format. Give it to me. It's actually like a really good website. I'm pretty impressed. It has even samples, has previews, it's got bunch things I'm going to do all in the browser static website, doesn't leave anything.
Frank 40:06
Love it.
James 40:12
because i was having these VTT files and I needed to convert them to SRT files, which is subrip. And i had to go to sketchy websites. And you know, when I got to go to sketchy websites, I don't want to do that. So I built this and this was a 10 minute prompt to deployment ah app. and it's great And this is the beginning.
Frank 40:31
of it
James 40:31
I'm gonna add a crap ton of cap. It's a stack. So it's not just a caption app, it's a caption stack.
Frank 40:35
Which model? got Which harness?
James 40:38
This is an...
Frank 40:38
Which model?
James 40:39
this is This is in the Copilot app. the copillot app This is an unreleased model that I can't talk about.
Frank 40:44
GUI? oh fast Oh, look at you, because I've been burning all my credits on Fable. just I almost went through a whole month in a couple of days.
James 40:52
um it's it's It's not Fable, but it's it's up it's up there.
Frank 40:58
I'm not pressuring you. I'm just making the joke.
James 41:00
This app ah was 600 credits, so $6.
Frank 41:00
It's so fun.
James 41:03
six six hundred credits so six dollars
Frank 41:06
Okay. Yeah.
James 41:07
yeah Not bad. I mean, $6 in 10 minutes.
Frank 41:10
Cup of coffee. Yeah.
James 41:12
This website is going to save me tons of time. Anyways, and I was like really impressed. It did some formatting. I love the colors. The little pink, it's my favorite color. It's like so good. um But I love the world that we live in, in which... I have this idea, I have this problem, i could just build it, right? ah We'll talk about canvases next week. We don't have time this week. But I have really been... thinking about you i on demand. And this is why I think your application and your UI.md is so important because I am generating more UIs than ever, but none of them look the same.
Frank 41:42
Yeah. Yeah.
James 41:50
None of them are consistent and none of them are probably how I want them to be out of the jump.
Frank 41:52
It
James 41:54
So I'm really intrigued by the UI.md. So I'm going to put this into my apps. going to give it a go, but I've been,
Frank 42:00
sounds like you need the design MD also though, because if you want consistent styling, you probably want the design MD also, but mine mine's going to give you that UX experience.
James 42:11
Well, i don't want consistent colors and design on every single website to be the same.
Frank 42:13
Okay.
James 42:15
i do want them to be unique.
Frank 42:16
Right.
James 42:16
So I'd almost need to design the design.md from the jump.
Frank 42:17
Okay. That's going new website. I can see it coming.
James 42:24
Probably. Yeah. Yeah. I like this idea. So anyways, so this is why that all these things have me really thinking about, um, the world we live in. And i was just telling our neighbor, i was just like, yeah i was just like vibed. I vibed out this website. And like like I didn't look at the code. But in this instance, I don't care. I'm not like shipping. I'm shipping to production, but I'm not like running a billion dollar business off of this or a thousand dollar business.
Frank 42:44
Mm-hmm.
James 42:48
I'm running a zero dollar business off of this in which I need to convert one file format
Frank 42:50
Mm-hmm.
James 42:54
to another file format, which I've done this with local morph, which is another website that I own, which I might take down.
Frank 42:54
Yeah. Yeah. All right.
James 43:00
because that i Actually, I might, and maybe not. That one I need to integrate with FFM pay because it'd be way better. But ah in general, have this idea, I can just like build it. And then the fun part, which is now is I have it and it's now finessing. It is now the little, the tweaking, the tuning. Cause I've honestly, Frank, always had fun with that. I've always, when I developed my own applications, artisanal code by hand,
Frank 43:22
Yeah.
James 43:28
The most fun I have is not generating the code. It's making a wonderful, delightful user experience from the UI, which I'm so happy that you've dug deeper into this because it is the thing that makes me the most happy is making my users happy.
Frank 43:46
And it's the hardest part, but it's the most rewarding part. Because, I mean, in the end, why do you build a user interface? We could all just develop our own programming language and make the users type in a programming language. Or we could throw them on the command line and be like, here, just memorize these 50 different command line arguments and get them right and format it and, you know, pipe it through a few different commands.
James 44:03
Obviously, yeah.
Frank 44:07
You probably need to do some piping. No, we build UIs because we know people just want to get the job done. And so the more efficiently you can allow them to get that job done, the happier it makes us. I mean, in the end, that's why we build UIs so that people's lives are better. So when you improve someone's life, you become happier. Go figure.
James 44:26
Yeah. Exactly. Yeah. Wild. All right. I'll put a link to everything in the show notes. And thanks to our sponsor, Sabrent, Sabrent, Sabrent, for sponsoring this week's pod. And then actually sponsor. I'm just saying that they're sponsored it because they sent me this thing. You can buy my sponsorship with a $60 device. ah There you go.
Frank 44:46
comes cheap, people.
James 44:48
I'm at bottom of the barrel over here. i will you know I get so many emails, Frank, because I have my add my email address on my YouTube. I get so many emails.
Frank 44:56
Yeah.
James 44:59
I archive and delete so many emails. It's like so much stuff.
Frank 45:01
Aw.
James 45:02
But when I got Sabra, i'm like, I've purchased your, I've purchased, I have, I have their dongle right in front of me.
Frank 45:05
Yeah.
James 45:07
And I was like, kind of want that.
Frank 45:10
Yeah.
James 45:11
And that doesn't happen often. So when I said that, I reached out to George i said, George, I kind of want that. Well, actually I actually asked George, ah Hey, do you got a Thunderbolt five? Like doc? Cause that's what I'm, I'm really, that's what I'm,
Frank 45:20
i'll Stop it. Yeah. Do you have a $500 device in addition to that?
James 45:23
That's what I, that's, and and they're like, no, we don't, we don't, we don't make that. But maybe one day i was like, okay, I'll tell, I'll take, I'll take this, you know, and do this.
Frank 45:30
Yeah.
James 45:30
anyway Anyways, uh, give it a look in the show notes.
Frank 45:31
Go figure.
James 45:32
If you're looking for, uh, uh, uh, charging dock port thingy, it's got, it's got data on it.
Frank 45:38
Yeah.
James 45:39
And then, you know, you could just have a, you could just have a dock, but this stock's got a screen on it. And it gives you data.
Frank 45:45
I
James 45:45
It tells you the wattage, the voltage, the amperage, all the shenanigans.
Frank 45:48
do like that.
James 45:49
It's got the data. It's got the data. And as electrical engineer, Frank approves it. what we're going to do for this week's Merge Conflict. So until next time, James with the Magno.
Frank 45:56
And I'm Brian Krueger. Thanks for watching and listening.
James 46:00
Peace.