Advertisement · 728 × 90

Posts by DerpyCoder

Ah, got it.

1 year ago 3 0 0 0
Post image

Here's how I am doing the routing.

I am using Echo framework, not the stdlib router.

1 year ago 2 0 1 0

I might have to.

I get why golang devs prefer the stdlib over anything else.

Currently echo framework is not giving me any issues, but if does.

I’m going full stdlib, no external libs for the core server.

1 year ago 2 0 1 0

I just migrated away from JS land to Elixir land to Goland.

I don’t want to move to PHP or JavaScript.

I hope Templ doesn’t keep giving me issues.

1 year ago 2 0 1 0
Post image Post image

Also, seeing internal server errors.

1 year ago 0 0 0 0

@psionicalch.com ,

Is Golang Templ unstable?

I’m running into lots of weird issues.

LSP is pointing out wrong places for errors.

JavaScript and CSS formatting and highlighting is not working in the style and script tags.

For loop is acting weird.

1 year ago 4 0 3 0

I’m using fastmail, but what’s the news?

1 year ago 1 0 1 0

Raw dog code like the rest of us.

1 year ago 1 0 1 0

I give up trying to search for this online.

Please tell me the site name.

1 year ago 0 0 1 0
Advertisement
Preview
You Don't Need a Library for File Walking in Go Go file walk implementations have radically different performance characteristics. In 2021 the native implementation has improved so much, you don't need anything else.

You don’t need a library for File Walking in Go!!

#golang, thanks for the fast defaults.

engineering.kablamo.com.au/posts/2021/q...

1 year ago 1 0 0 0

What’s the binary size?

Are you able to compile the project with tinygo without issue?

1 year ago 0 0 0 0

What’s RapidAPI alternative to sell APIs?

This stops me from using them:

“RapidAPI currently only pays out API providers via PayPal”

PayPal, is a no-no for me.

#buildinpublic, #golang, #indiehackers

1 year ago 4 0 1 0

SSH is a thing of the past.

1 year ago 1 0 0 0

Haha, I didn’t touch the code, but my mind kept racing.

1 year ago 1 0 0 0
Preview
Bunny Optimizer | Dynamic Image resizer powered by a CDN Improve your website performance with next-generation image optimizer, dynamic image optimization, and CSS & JS minification powered by a CDN.

bunny.net/optimizer/

1 year ago 1 0 0 0

For CDN based approach, Bunny CDN comes to mind.

They also have image optimisation service for 10$ a month.

1 year ago 1 0 1 0

Haha, same here.

The todo list is overflowing and so is my brain.

1 year ago 1 0 1 0
Preview
GitHub - imgproxy/imgproxy: Fast and secure standalone server for resizing and converting remote images Fast and secure standalone server for resizing and converting remote images - imgproxy/imgproxy

Haha.

As for images, if they are sized dynamically and differently at different places then you can use imgproxy.

Else just cli for webp or imageoptim is great.

github.com/imgproxy/img...

1 year ago 1 0 1 0
Advertisement
Preview
Unlighthouse Like Google Lighthouse, but it scans every single page.

Try unlighthouse.dev, it will run on every page, so you can get that score on every page.

1 year ago 1 0 2 0

Whoa, you are killing it.

I'm procrastinating, blank canvas is scary.

1 year ago 1 0 1 0

Haha, I was going to post the same thing now.

1 year ago 1 0 1 0
CSRF Token with HTMX

CSRF Token with HTMX

This is what I tried as well. Which added to my confusion as well.

This vs Form vs JS vs Cookies.

1 year ago 1 0 1 0

I did the same, but on each form submission instead.

So this clever.

However I am confused between 3 approaches that Echo framework has.

TokenLookup: cookie, form, header.

Like which is more secure. At work I use form based.

Maybe all 3 are secure.

1 year ago 1 0 1 0

Yes, give it a try after your release, as this will be a time sink.

There’s one or two 6 - 10 hours video on YouTube, which is the most comprehensive vdo on this.

Also, courage is not needed at all, seriously.

Even casual users are self hosting so many web apps, engineers have nothing to fear.

1 year ago 1 0 0 0

They even have Omni, I think I reposted a post from @siderolabs.com, that allows users to manage their servers from a GUI.

Like a self hosted, managed Kubernetes nodes.

Kubernetes as the OS, instead of Kubernetes running on top another OS.

I very much like the declarative nature of this approach!

1 year ago 2 0 1 0
Advertisement

Using the talosctl to change or access machine config.

And kubectl to talk with kubernetes.

1 year ago 1 0 1 0

I will give it a try if it’s stable.

1 year ago 1 0 0 0

That’s so cool!

At the same time, I think that modern servers can be much more lightweight and not even have this port scanning issue.

For example, TalosLinux has no ssh binary, so what’s the hacker going to do?

No unnecessary process in the background, just a server that serves HTTP.

1 year ago 1 0 1 0

Thanks for this gem.

I want to show some middle-fingers to haquers.

1 year ago 1 0 1 0

AI goes brrr…

1 year ago 1 0 0 0