News for hackers. Stuff that matters.

todotask

Re:Show HN: I built website for sharing Drum Patterns on Sunday March 23, 2025 @11:43PM (#43457653)
Change your favicon, at least make that a dot.
Re:Goravel: A Go framework inspired by Laravel on Sunday March 09, 2025 @09:59AM (#43309105)
At first, my goal was to go pure with vanilla JavaScript and CSS, hand-coding Echo routing, authentication, secure cookies, etc., using Go libraries—and I did just that. But as a solo developer managing both backend (Go + SQLC) and frontend (vanilla JS + CSS), it became overwhelming. My co-founders had no concrete feature roadmap, throwing in whatever they thought was good, and our UI/UX designer was stuck with a buggy Marvelous app. Managing both sides while constantly adapting to shifting requirements became exhausting.

To ease the burden, I introduced Alpine.js, which helped, but the real challenge was juggling Go and TypeScript for different parts of the stack. When the team decided to revamp the site with a new Figma design, I switched to Astro after the release of Astro 2.0—it simplified frontend development and allowed me to gradually move away from Go. This wasn’t just about adopting a new language with old patterns; it was about making my workload sustainable while improving maintainability.

A month later (after three years), bad news—they ran out of funding and had no time for marketing. On top of that, I have vision problems (genetic and post-cataract surgery), making job options limited. But one thing I’ve gained from this experience is a strong grasp of frontend performance optimisation—JavaScript, Tailwind CSS, HTML, and responsive images. There are millions of poorly optimised websites that Astro could improve. At least in Singapore, where we have great internet connectivity, I can keep refining my skills.

Astro solved:

- Same codebase: Both frontend and backend with TypeScript, meaning I no longer have to write routers whenever we add a new category.

- Optimisations: Reducing JavaScript and loading JavaScript as a module for better security.

- Maintainability: Go HTML templating was harder to maintain; I prefer Astro’s JSX-like syntax.

- Performance: If I need performance, Bun can be as performant as Go, which is a bonus.

- Reusability: Lots of UI and Astro components can be reuse.

- Productive (Future): I’m waiting for Vite (Rolldown) to speed up my build times. Evan You has lots of ideas for Rolldown plugins.

- Community: Of course, an active community that is improving Astro so we don’t have to reinvent the wheel, with lots of sensible features by default, including Starlight for docs. I proposed to the Echo maintainer to adopt it over Docusaurus, but I was turned down.

Re:Goravel: A Go framework inspired by Laravel on Sunday March 09, 2025 @06:20AM (#43307808)
JavaScript (Too many to list)

TypeScript has NestJS (among others)

Elixir has Phoenix

Re:Goravel: A Go framework inspired by Laravel on Sunday March 09, 2025 @06:09AM (#43307766)
In my experience building the site with Go (Echo) with Postgres and a vanilla frontend from scratch, I realised that maintaining my codebase as a solo developer for a medium-sized platform was challenging. At one point, it became unmaintainable, and I had to rewrite it three times. The third time? I switched to the Astro web framework, and it solved all my problems.

Go is indeed easy to get started with, but it's different when dealing with server-side rendering and not a single-page application where Go is a backend.

Re:If it is worth keeping, save it in Markdown on Wednesday February 26, 2025 @12:41AM (#43180983)
My thought on custom Astro components is that they provide a flexible format that can be converted into MD, HTML, JSON and other formats.
Re:Purelymail: Cheap, no-nonsense email on Monday January 27, 2025 @01:50AM (#42838137)
Zoho have a free plan we have been using for years for business, 5 emails, each 5 GB.
Re:A couple CSS tricks for HTML Dialog elements on Tuesday January 14, 2025 @11:25AM (#42699378)
I still can see my scrollbar and scroll with inert?
I have a look at SonarSource website, their homepage looks awful.
Re:Orbit. Mozilla's AI Assistant for Firefox on Monday December 30, 2024 @09:04PM (#42555659)
Bad marketing header "AI you can trust".
Re:WordPress Alternatives on Friday October 11, 2024 @12:52AM (#41806287)
You're going to encounter various limitations with the CMS that it was designed for. I'll say this once: if we need a complete rebuild in 2025 and beyond, the Astro web framework could be the core engine due to its unopinionated nature and support for many UI components, including the latest addition, VanJS. It's seem like a well designed to keep things as simple as possible and still open to community feedback.

Of course, you could host it on Netlify, Cloudflare, and Vercel using adapters from Astro. Although it's not a traditional CMS, it's capable of serving as the core engine that should serve well for 99% of use cases out there.

Re:Hetzner Object Storage on Monday October 07, 2024 @09:24AM (#41765759)
That's a problem but still cheaper than UpCloud. I do find Cloudflare pricing is more attractive for read heavy website and startup plan is useful for us.
Re:Hetzner Object Storage on Monday October 07, 2024 @09:10AM (#41765643)
Wow, I just saw "Hetzner goes Singapore", have been waiting for a decade.
Re:From Gatsby gridlock to Astro bliss: my personal site redesign on Thursday September 26, 2024 @03:57PM (#41662574)
I spent the entire time building a business network platform with Astro instead of WordPress or other web frameworks because it is exactly what I need to easily manage UI components and provide a safer JSX-like environment.

In comparison to Ruby on Rails, Django, and Laravel, Astro stands on the same level but much less learning curve.

Re:How I Built My Blog on Wednesday September 25, 2024 @08:36AM (#41646705)
I wanted to say, the OP home page hang my Firefox browser, probably due to issues with JavaScript regexp or React code.
Those shared on Twitter when they deployed React app and assuming I came across one of the popular site that always prompt a notification (https://www.carousell.sg) to reload the page whenever there is a new update.
Re:FDA Authorizes First Over-the-Counter Hearing Aid Software on Friday September 13, 2024 @07:27AM (#41530154)
How do I deal with itchiness? Having trying to wear for a few seconds, can be annoying after been wearing hearing aid for decade.
still think that your users will encounter broken links when you re-deploy a new build to production, which is common in SPAs. Have YNS solved this issue?
It's fast because your demo prefetches the listings when the mouse cursor hovers or taps, which is possible with traditional e-commerce, I dislike that kind of UX that are wasting user data usage. Is there an option to disable prefetching?
Qustar sounds nice, I would think "Exact" is what it is.
Re:Vue 3.5 – The Vue Point on Wednesday September 04, 2024 @03:12AM (#41442731)
Except I could hardly find job requirements for Vue in Singapore despite You is residing here.
Re:Simplifying programming with AI-tutors on Wednesday September 04, 2024 @02:35AM (#41442526)
NextJS undefined error in the console log.
I gave up when the rounds to solve increased to 20, iirc.
When I tried to sign up for Hotmail account, the challenging step I have to solve isn't friendly for my impaired eyesight.
One of this reason, I can think of having Passkey can be a better advantage over relying on centralised account management?
Re:VanillaJSX.com on Saturday August 17, 2024 @12:27AM (#41272184)
Large WASM payload on your site could be optimized.
Re:Go is my hammer, and everything is a nail on Tuesday August 13, 2024 @06:11AM (#41233987)
JavaScript and TypeScript are the hammer. Go as an oil lubricant. C# as a Swiss Army knife. Java as a toolbox.
Re:Will Figma become an awkward middle ground? on Thursday July 25, 2024 @01:09AM (#41064913)
Virtualization tool may help.

https://modern-fluid-typography.vercel.app/

$10 may not be a big sum, but do donate to those who need it more than you do.

Older »