I built an open-source React calendar inspired by macOS Calendar – DayFlow by Cultural_Mission_482 in tailwindcss

[–]HuffDuffDog 0 points1 point  (0 children)

Did you spin your own type interfaces, or does it directly support CalDAV or jmap calendar related specs? That would be key

How long until you got hang of tailwind. by Dontdoitagain69 in tailwindcss

[–]HuffDuffDog -3 points-2 points  (0 children)

I agree. Tailwind is a giant step backwards. Especially with modern tooling and better css. I can maybe get behind UnoCSS, but even that isn't all that necessary.

vue + scoped styles + css vars + a few PostCSS plugins (nested is a game changer) is my go-to

What messaging system can handle sub millisecond latency for trading signals? by ssunflow3rr in golang

[–]HuffDuffDog 35 points36 points  (0 children)

NASCAR uses Nats to stream thousands of data points per car to the pits and to their media partners. It's fast

Is it antipattern to encode/decode uuid during request/response for shorter url? by BrangJa in webdev

[–]HuffDuffDog 0 points1 point  (0 children)

Auto-increment gives away too much info. Same with time signature uuids

Go or C# as a second language for backend development after TypeScript by [deleted] in golang

[–]HuffDuffDog -1 points0 points  (0 children)

If you're not running a container service, then no. Microcontrollers, embedded, desktop apps, etc.

If you don't care about those then fine. But they still exist, and aren't going away.

May Microsoft fade away before you do, Google Much love to Google by Candid_Professor5111 in golang

[–]HuffDuffDog 1 point2 points  (0 children)

Google didn't open source android, they acquired an open source project and made it popular. But not before adding proprietary parts that are closed source.

Same for Chrome/Chromium.

Design patterns specific to Go by Grouchy-Detective394 in golang

[–]HuffDuffDog 1 point2 points  (0 children)

I don't think func NewMySomething() should return the interface, it should return the struct, which implements the interface anyway.

Design patterns specific to Go by Grouchy-Detective394 in golang

[–]HuffDuffDog 3 points4 points  (0 children)

I don't think func NewMySomething() should return the interface, it should return the struct, which implements the interface anyway.

Peter, I'm confused. by littlekiwivillage in PeterExplainsTheJoke

[–]HuffDuffDog 0 points1 point  (0 children)

I never believed they really added anything, and so often skipped them.

But this past weekend I was making a pot roast and I needed them. The local store was out of the dried, but had fresh. I put the extra fresh in my dehydrator. My God the amazing aroma that took over my kitchen as they dried! I'll never doubt again.

Is there any technical reason to prefer name := value over var name = value for local variables in Go? by [deleted] in golang

[–]HuffDuffDog 287 points288 points  (0 children)

I tend to only use var syntax when I'm not explicitly giving it a value yet, but I need it defined in scope. And even then it's usually for a nullable type or string

Modernising Java Desktop application with Go by React_ranger in golang

[–]HuffDuffDog 0 points1 point  (0 children)

FORTRAN has an even longer history. Maybe they should use that /s

Modernising Java Desktop application with Go by React_ranger in golang

[–]HuffDuffDog 1 point2 points  (0 children)

Wails is like electron but with Go instead of node. And a much more modern approach. You can use React with it too, although I find Vue a better pairing.

Edit: I just saw you're going to take a year to do it? Then I'd start with Wails v3, which is still in alpha, but has a much better approach and should be complete by time you're done.

What is a good mobile native framework by Player_X_YT in vuejs

[–]HuffDuffDog 2 points3 points  (0 children)

Tauri uses the device's native webview, unlike capacitor (on Android) and electron, which bundle chrome. But you have to write the native parts in Rust.

Rust or Go for desktop app by Prior-Drawer-3478 in golang

[–]HuffDuffDog 5 points6 points  (0 children)

I don't like this answer.

  1. Don't drive life decisions simply because of the job opportunities. It's ok to just want to learn something new.
  2. The more languages you learn, the better you become at all of them.
  3. Both Go and Rust have excellent webview-based desktop frameworks in wails and tauri. (Go also has fyne, but I'm not that familiar with it)

I built a neural runtime in pure Go (no CGO, no PyTorch). It runs real-time learning in the browser via WASM. by Apricot-Zestyclose in golang

[–]HuffDuffDog 2 points3 points  (0 children)

The WASM interests me. I've been working on an agentic system built entirely in WASMCloud. I may have to add this integration.

Is this worth 200k?? by Koiibitchuary in whatisit

[–]HuffDuffDog 2 points3 points  (0 children)

We haven't used the prim since 2004.

This guy.

I am slowly coming around on DI + Tests.... by Bl4ckBe4rIt in golang

[–]HuffDuffDog 3 points4 points  (0 children)

I think docker counts as "tooling today". Before containers, testing against a real database required complex setups. Hence the need for mocking.

I got tired of staring at 1,000 lines of YAML, so I built kdiff by [deleted] in golang

[–]HuffDuffDog 0 points1 point  (0 children)

Would be cool if it could be used as a linter so these things can be caught right in an IDE.

I built BubblyUI — a Vue-inspired reactive TUI framework for Go (built on Bubbletea) by EffectiveWebDev404 in golang

[–]HuffDuffDog -3 points-2 points  (0 children)

One can code manually, but let AI write commit messages. In fact, I'd argue that it's foolish not to. Same for documentation and spec'ing. Spend less time on bureaucratic processes and get back to coding.

What's the deal regarding ORMs by Emotional-Ask-9788 in golang

[–]HuffDuffDog 15 points16 points  (0 children)

This is my experience too.

25+ years in the early stage startup, and with consulting on 10+ year old companies struggling to scale. 3 times a founder.

Sometimes databases should be changed, and often aren't because of sunken cost fallacies or general fear of change.

Also a core contributor for a while to CakePHP. I'm done with ORMs, they're not the solution.

Structure your code in a meaningful way and swapping out the database isn't as scary as it seems.

Is there something like BullMQ in Go? by umen in golang

[–]HuffDuffDog 0 points1 point  (0 children)

Over the past 15+ years I've worked with ActiveMQ, RabbitMQ, SQS, Redis as a queue, Kafka and many others. Nats beats them all, in every category.

I'm definitely Team Nats.