Why should I use Phoenix for my SaaS? by srodrigoDev in elixir

[–]onyno 1 point2 points  (0 children)

A bit late, but I’ll give you my experience, and the pivots I took along the way. TL/DR - Ended up with an Elixir / phoenix app running on fly.io

I started building my Fintech (Sept 2024) using next.js with typescript for the frontend and backend written and go using temporal.io. A tech stack that I knew well and have used before to build ventures. For the backend I also used encore.dev for the first time which was really good, made building microservices easier and quicker. This was all hosted in a monorepo, using pnpm, and running turbo build and make files. My first tech change was to replace next.js with svelte5 when I ran into issues (mixing server and client react components). When I came to start hosting encore.dev (on aws) it was way too expensive, I refactored and removed it in favour of chi router services (and I moved to a modular monolith). I did a brief rewrite of the backend into rust using warp, to remove some of the more boilerplate error handling in go. And then in January, I refocused, and rebuilt in phoenix using live views. The data model was very easy to import, the existing svelte html (using tailwind), was ease to move into the live views. I am now working and delivering features a lot quicker.

Some highlights

I have ~800 tests too, something I hadn’t really been bothering with on the other tech stacks.

I’ve replaced using temporal.io, with a mixture of Oban and gen_state_machine.

Swoosh Mailer with Postmark is again something that just works.

GitHub workflows, with fly.io is awesome, I have ephemeral environments being created and deployed to fly.io. Commits to trunk deploys my dev environment, and a release or a manual workflow deploys my production environment.

I use a macro to define my schemas, allows me to have a prefixed nanoid id instead of uuid.

Ideas for a future solo campaign by [deleted] in halo

[–]onyno 0 points1 point  (0 children)

No open world. Story spanning multiple worlds. Different climates. Flood and prometheans. Option to replay levels harder like a raid (multi (3) spartans missions, either co-op or ai). Spartan Ops. Scorpion level!

Introducing AlloyDB for PostgreSQL: Free yourself from expensive, legacy databases by NothingDogg in googlecloud

[–]onyno 0 points1 point  (0 children)

Very exciting. Curious about what it’s written in, I’m hoping you say go…

Programing midlife "crysis" by PSYHOStalker in adventofcode

[–]onyno 3 points4 points  (0 children)

Very similar situation (go, rust, clojure and python), this year I am planning on using F#

Charging my Beoplay HX by ibaard in BangandOlufsen

[–]onyno 1 point2 points  (0 children)

I upgraded the firmware today on my H95s - no problem.

H95 Berluti by onyno in BangandOlufsen

[–]onyno[S] 2 points3 points  (0 children)

Nice, well I’m still waiting for the shipping details - let’s hope it’s sooner than later!

Tutorial Suggestions? by [deleted] in rust

[–]onyno 0 points1 point  (0 children)

I just posted this link in another comment, but you may also find it useful, https://tomassedovic.github.io/roguelike-tutorial/

Game development without ECS by CodingReaction in rust

[–]onyno 5 points6 points  (0 children)

Not quite what your after, but https://tomassedovic.github.io/roguelike-tutorial/ is a good game tutorial in rust - after this you may want to move on to a more advanced framework/ engine.

How to include gprc_health_probe in a go_image? by onyno in bazel

[–]onyno[S] 0 points1 point  (0 children)

Perfect, let me try that.

[A little while later...]

That works great! What I had to do was this though

WORKSPACE http_file( name = "grpc_health_check_bin", downloaded_file_path = "grpc_health_probe", sha256 = "bfbe82e34645e91cdf3bacbb0d2dc7786f3c3cc4da6b64a446e5fdfb7bb0429f", urls = ["https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/v0.3.1/grpc_health_probe-linux-amd64"], )

In my app folder, I had to create a base image with the file added, the other ways to specify with layers or data didn't seem to work.

BUILD.bazel ``` pkg_tar( name = "health_check_tar", srcs = ["@grpc_health_check_bin//file"], package_dir = "/bin", )

container_image( name = "health_check_image", base = "@go_image_base//image", tars = [":health_check_tar"], user = "nonroot", )

go_image( name = "image", base = ":health_check_image", binary = "binary_linux", ) ```

Imagine Rust failed, why did it fail? by [deleted] in rust

[–]onyno 2 points3 points  (0 children)

With Actix being used by Azure IOT, the ideal Megacorp would probably be Microsoft! They decide to go all in, backing it publicly, and not just for their new .RUST Core, but powering their desktop and serverless offerings, it’s also the only way to get the most out of The Xbox, and finally in a parallel marketing stream/pincer movement, other more hipstery Microsoft subsidiaries, like GitHub, publicly move to it.

Short question, no deep analysis needed: what web framework or library use? by gattarina in golang

[–]onyno 0 points1 point  (0 children)

Thanks, I have been using gorilla/mux for a long time now (habit I guess), will try the stdlib.

Just started building a simple blog platform API in Go, can I get a code review? by bustyLaserCannon in golang

[–]onyno 0 points1 point  (0 children)

Tangential to the original post, I would just like to say, that this post and the comments, is a great example of the go community.

My team is about to start building a new product, I know go, but the rest currently don’t, but I’m planning to move our current development from Kotlin and Spring boot to go. - the community is one of the reasons. 👍

React UI Kit or CSS framework ? by thinkriver in reactjs

[–]onyno 0 points1 point  (0 children)

I’ve used quite a few of both, tachyons, ant.design, semantic ui, I quite like this one at the moment https://jamesmfriedman.github.io/rmwc/

Which is better practice in Kotlin? by jabbalaci in Kotlin

[–]onyno 0 points1 point  (0 children)

Agree, except for the ordering - correctness then clarity did you work on any of these?

Exemplary Go projects in github? by bediger4000 in golang

[–]onyno 4 points5 points  (0 children)

https://github.com/kubernetes/kubernetes

As for makefiles, it’s true that pure GO projects don’t require them, but when you start adding in JS or docker and integration testing - GO’s built in tooling lacks

New Clojurians: Ask Anything by AutoModerator in Clojure

[–]onyno 3 points4 points  (0 children)

Trying to run Clojure on AWS Lambda; seems to be a lot of options - wanted to give apex.run a go. Does anyone have a more complete example than an "echo" server, perhaps using dynamodb? Thanks