Profile avatar
kamranicus.com
Solopreneur. Gamer dad. Dork. Corporate quitter bringing back summers off 🌞 πŸŽ™οΈ Host @typescript.fm πŸ‘‰ Building: KeepTrackOfMyGames.com πŸ‘‰ Courses: bit.ly/KamranOnPluralsight πŸ‘‰ typeof $: kamranicus.com/money
697 posts 224 followers 414 following
Regular Contributor
Active Commenter
comment in response to post
Plus, that automatically gets me test coverage of the features I need to build (and catches regressions as I develop). It's TDD sort of but not as strict.
comment in response to post
Fun fact: It's actually still a Date object but when logged it'll be the to string representation "Invalid Date". Detecting an "invalid date" Date instance in JavaScript - Stack Overflow share.google/UPHKP6NXEzhM...
comment in response to post
Episode is off to a good start
comment in response to post
For sure. I haven't had any issues so far but I don't necessarily do production development in Deno yet. I'm sure they prioritize the major use cases first. In fact I recently ran a Qwik City app in Deno without any issues. 🀘
comment in response to post
Marketing would not approve of my copy 😜
comment in response to post
Mostly*. *Ok, like 75%**. **Ok, like 50% fully and 25% partially.*** ***And like 6 that definitely aren't yet. docs.deno.com/runtime/refe...
comment in response to post
Or deno fmt Depends on what you like/don't like about it I suppose.
comment in response to post
a blog post on this would be great βž•
comment in response to post
Can I get this on Windows too?
comment in response to post
Oh hey look at that! 😍
comment in response to post
Users keep asking me for an app! But as a solo dev, I need to keep it simple and not create a massive maintenance nightmare. Sticking to the web and responsive UI has gone a long way for 12 years. But I don't think I'd be happy with the UX of a simple web view wrapper on native. πŸ€”
comment in response to post
Circular dependencies can definitely be annoying. But it's not a TS thing, it's an ES module thing (or any kind of module system). The same warning would happen with JS ESM. blog.viktomas.com/graph/circul...
comment in response to post
There's something to be said about dev containers. I try to be a good citizen and have it automatically update during the night, but this is what I get. It almost restores things but only like 70%. I can't switch all my dev to my Mac yet either.
comment in response to post
this is huge! cc @joshuakgoldberg.com
comment in response to post
@erikonarheim.com have you seen this?!
comment in response to post
more on this: kevin.lexblog.com/2020/11/03/h... "I’m doing my best to learn, to pay attention and to get better for next time. Perfect is just a place to hide."
comment in response to post
They can't all be. One of my favorite quotes by Seth Godin is: "Half of my blog posts are below average, but I don’t know which half." πŸ˜€ But we do try to make every one of them fun, because we have fun 🀘
comment in response to post
I use Foundation for Email but still uses Gulp + Handlebars templates, so it's not that integrated with your backend. I use Sendgrid which supports the dynamic template Foundation compiles to, and that's how I send transactional email.
comment in response to post
Therefore, whatever's the cheapest + easiest thing to maintain will be what I might go for. Headless Ghost Pro instance + Eleventy or Astro with Obsidian or something. I'm not sure.
comment in response to post
Yeah exactly, the last thing I want at this point is a DIY solution. I'm happy to pay for a managed service because every hour spent fiddling with something not core to my business is kind of a waste. But it seems that may be the only solution at the moment for this kind of setup.
comment in response to post
You'll need to be a @pluralsight.bsky.social subscriber but you can watch it here: www.pluralsight.com/courses/dot-...
comment in response to post
The killer is the requirement for strong link integrity, which Obsidian can handle and maybe this kind of Wiki software. But even Ghost doesn't maintain internal link references which boggles my mind. Even WordPress has a plugin for that. WP is another solution but I don't really like that idea.
comment in response to post
I fed my requirements to ChatGPT Deep Research and it didn't find anything, except maybe for something called Tiki Wiki but it may be a bit much. tiki.org/HomePage
comment in response to post
I'll give it a mention on the next @typescript.fm episode! Happy to have you on to chat more about it too if that sounds interesting, but no pressure.
comment in response to post
Gotcha. In my own app I rely on something called Typewriter that is a text templater that has access to my C# code at dev time and then generates TS during compile. Super handy, I use it to template all the types for view models, enums, or generate fully typed HTTP clients with static routes, etc.
comment in response to post
Right, it's similar to .NET MAUI which renders native views on the target platform. And sort of hilarious that they didn't use their own framework for an OS component. On Windows, MAUI uses WinUI so maybe that just didn't cut it. πŸ€·β€β™‚οΈ
comment in response to post
Awesome!!
comment in response to post
I feel you gotta run this by me 3x slower haha, but definitely interested in learning more
comment in response to post
Minecraft gameplay: 60fps Minecraft main menu:
comment in response to post
Generative AI companies have stolen from everybody with the implict belief that nobody would actually have the balls to sue them for doing so, and as a result have acted with a blatant disregard for copyright law. They thought big corpos would want to pay them. They were wrong.
comment in response to post
But basically the gist is to use either Nx or export custom conditions to make the packages "alive" in the editor.
comment in response to post
You might find this section at 22:32 helpful, you can just look at the links section for the article + talk by Colin and Mike. typescript.fm/21#t=22m32s Article: colinhacks.com/essays/live-...
comment in response to post
Psst, you don't need to use Python if you don't want to. Mastra.ai is pretty swell.
comment in response to post
This might help: react-typescript-cheatsheet.netlify.app
comment in response to post
Depends on what you're building, like anything. You can't build a local-first app architecture where the frontend can stay ignorant of business logic and types. Any kind of dynamic code on the frontend can benefit from types. If it's a full server-rendered app, then sure, you may not need it.
comment in response to post
Good, glad to see this coming πŸ’―
comment in response to post
Also normies have been building programs in Excel for the past 30 years or whatever and SaaS didn't die from that. In fact, it's the best way to make a SaaS, product-ionalizing complicated Excel workbooks. 😁