diff --git a/fresh.gen.ts b/fresh.gen.ts index c1205e2..eefedab 100644 --- a/fresh.gen.ts +++ b/fresh.gen.ts @@ -10,7 +10,6 @@ import * as $index from "./routes/index.tsx"; import * as $post_slug_ from "./routes/post/[slug].tsx"; import * as $posts from "./routes/posts.tsx"; import * as $projects from "./routes/projects.tsx"; -import * as $Example from "./islands/Example.tsx"; import * as $NavigationBar from "./islands/NavigationBar.tsx"; import * as $ScrollUpButton from "./islands/ScrollUpButton.tsx"; import type { Manifest } from "$fresh/server.ts"; @@ -27,7 +26,6 @@ const manifest = { "./routes/projects.tsx": $projects, }, islands: { - "./islands/Example.tsx": $Example, "./islands/NavigationBar.tsx": $NavigationBar, "./islands/ScrollUpButton.tsx": $ScrollUpButton, }, diff --git a/islands/Example.tsx b/islands/Example.tsx deleted file mode 100644 index e0b5cf3..0000000 --- a/islands/Example.tsx +++ /dev/null @@ -1,7 +0,0 @@ -export default function Example() { - return ( -
- Example -
- ); -} diff --git a/posts/rewrite_it_in_deno.md b/posts/rewrite_it_in_deno.md new file mode 100644 index 0000000..67a982d --- /dev/null +++ b/posts/rewrite_it_in_deno.md @@ -0,0 +1,58 @@ +--- +title: Re-write it in Deno! +published_at: 2025-04-25T15:00:00.000Z +--- + +So... all new site! I use this site as something of an experiment for whatever +technology interests me. One recently got my attention: + +_Deno!_ + +Yes... Deno the friendly re-imagining of Node.js by Ryan Dahl, the the creator +of Node.js! Now given my recent dive into Golang and HTMX, this might seem odd. +Let me explain: + +## Built in TSX and Typescript support! + +Deno has built in Typescript support, which has been huge for me. Lets table the +whole "Bun and new Node can do that too" discussion for now. Its simply magical +to have a Typescript codebase without a single tsconfig in sight! + +## Security! + +Look, the secrity model of Deno is incredible. The idea that the runtime will +default-deny permissions unless you as the developer enables them is an awesome +move. + +## Imports + +Being able to seamlessly pull from JSR and NPM is amazing! Having those two +ecosystems work without the frustrating package.json dance is refreshing. I +mean, just being able to import directly from URLs? Game changer! + +## Built-in tooling + +The tooling that ships with Deno is first-class! Formatter, linter, test runner, +doc generator... all built right in! No more spending half a day configuring +eslint, prettier, and jest just to get started on a project. Just use +`deno fmt`, `deno lint`, `deno test` and you're good to go. + +## Web standards first + +Fetch, web streams, event listeners and so on all work just like they do in the +browser. Coming from Node where you have to remember different APIs between +back-end and front-end JS, this is absolutely a breath of fresh air. + +## What about Golang? GOTH Stack? + +I still love Go as a language and will continue to use it for certain things. +Its incredibly fast and the concurrency model is awesome, but sometimes you just +want to put together a quick web application and JS frameworks are just much +easier to reach for. + +## Whats next? + +I'm rebuilding this entire site with Deno Fresh, which is their web framework. +It has their island architecture which means minimal JS sent to the client. Will +I stick with it? Who knows! All I know is this has definitely been a blast of a +re-write. diff --git a/routes/index.tsx b/routes/index.tsx index e38bba6..fca08d1 100644 --- a/routes/index.tsx +++ b/routes/index.tsx @@ -16,11 +16,15 @@ export default function Home() { Atridad Lahiji -

Places I Exist:

+

+ Researcher, Full-Stack Developer, and IT Professional. +

+ +

Places I Exist:

-

Stuff I Use:

+

Stuff I Use: