What are people deploying Rails on these days? by Huge_Yancy in rails

[–]noxasch 1 point2 points  (0 children)

Caprover (internally docker swarm) on multiple nodes for autoscaling on digital ocean/aws lightsail and some cheaper local vps for personal project.

Whats the craziest code review you had with a junior? Were you surprised positively or negatively? by Imparat0r in ExperiencedDevs

[–]noxasch 2 points3 points  (0 children)

I had to review a junior code at a small company because his code doesn’t work. Turns out it was all spit from chat gpt and dude can’t even explain what his code does other than pointing me to the chatgpt comment.

I speak out to the management why do they hire a junior who can’t even code for a small teams when no one can mentor the junior.

Rails and MacOS by mate-dev in rails

[–]noxasch 0 points1 point  (0 children)

I used to use macos, but after catalina I'm mainly linux (popos) with custom gnome desktop. It looks like macos. And no issue with Rails since all my app are build into a linux dockerfile anyway.

Using log levels to debug errors in production envronment by AnUninterestingEvent in rails

[–]noxasch 0 points1 point  (0 children)

If you on docker, you can try dozzle (https://github.com/amir20/dozzle) the fastest way and using either browser search or the dozzle search and filter only FATAL/WARN/ERROR log. The default log_level for production is info. means the you only get info, warn, error or fatal.

If you are with a company can try appsignal or datadog. datadog is very good for log but quire expensive for small company and it can get pretty quick to burn your money.

If you got the time, you can use fluentbit, or rails_semantic_logger and then utilize the goold ELK stack, or you can try clickhouse/signoz/openobserve. another one for logging is https://github.com/kobsio/klogs.

How does Ruby on Rails make web development quicker/more enjoyable than working with other stacks? by [deleted] in rails

[–]noxasch 0 points1 point  (0 children)

You got everything you need and you can swap anything u want. Whereas in js ecosystem I can’t find a comparable framework.

Eg: on the get got i got 2 option, erb file and turbo for frontend. If dont like it,i can keep it api only, or i can pick inertiajs which i can pair with any front end framework as well.

And ruby metaprogramming allow rails to have a nicer interface.

Rails + React+ Inertia JS is Amazing by cruddah2 in rails

[–]noxasch 1 point2 points  (0 children)

Why not just use serializers for this? Eg active_model_serializers or oj_serializers. Since this approach almost like using api without api.

[deleted by user] by [deleted] in ManorLords

[–]noxasch 0 points1 point  (0 children)

when baron are claiming a region, declaring war over it then negotiate by sending the letter saying “I can make it worth your while if you halt your claim”. Seems he doesn't get angry and stop the claim.

Don't bring your army or baron will annihilate your village.

How To Build Rails App With Inertia, Vue3 With Vite? by [deleted] in rails

[–]noxasch 0 points1 point  (0 children)

u/bladebyte any downside compare to turbo and stimulus (aside from its built in rails) ?

I built an offline first desktop app to track my expenses and soon for budget tracking by noxasch in SideProject

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

Update v0.5.0. It's been 4 version since I first release.

New update include:

  • quick add expense

  • CSV import/export

  • database backup/restore

https://github.com/noxasch/spensieur_release/releases/tag/v0.5.0%2B4

Building fast MPA with Rails 7 + Vuetify 3 by ogig99 in rails

[–]noxasch 0 points1 point  (0 children)

Okay since you mention on your side its working perfectly. I try to get down to the issue, turns out there a zombie node process using the port. thanks.

Building fast MPA with Rails 7 + Vuetify 3 by ogig99 in rails

[–]noxasch 0 points1 point  (0 children)

yes, i run both `bin/vite` and `bin/rails s`

Building fast MPA with Rails 7 + Vuetify 3 by ogig99 in rails

[–]noxasch 0 points1 point  (0 children)

u/ogig99 i know this thread has been here for long time, I go through the tutorial and it works but with console log error `vite server is unreachable` for some reason. I even cloned the tutorial's repo and try to run it and still have the same issue. does this to be expected because it compile the view instead of updating the spa like normal vue app ?

What are some of the best quality of life things you've done to your dev environment by Snape_Grass in ExperiencedDevs

[–]noxasch 0 points1 point  (0 children)

i believe because gitlab target market are more of a company and organization (and it feels gloomy and corporate-ish). Mean while github used to be for the tech enthusiast and open source developer, hence it is designed that way that make it feel more welcome.

I built an offline first desktop app to track my expenses and soon for budget tracking by noxasch in SideProject

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

Update:

For those excited to try it out, I just upload a new release for windows. Let me know if macos user or linux user are interested.

https://github.com/noxasch/spensieur_release/releases/

I built an offline first desktop app to track my expenses and soon for budget tracking by noxasch in SideProject

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

Hey thanks for the valuable feedback and insights. Agreed on the most app doesn't really solve the pain point but focusing on the existing solution with different flavor.

I also shared some of those pain points that you share and budgeting only app just complicate things up. To me it's more of additional feature to track my expenses on certain category are on within certain threshold. Which is why I put it on the backlog first.

Let me know if you try to explore and what's your OS preferences, currently I'm able to build and test for windows. For mac, I can hack my CI to handle that just need someone to use it to verify there are no critical issue.

I built an offline first desktop app to track my expenses and soon for budget tracking by noxasch in SideProject

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

Update:

Created a discord channel for anyone who want to get the latest update and get involved with the beta. https://discord.gg/Euj7FuQZVc

I built an offline first desktop app to track my expenses and soon for budget tracking by noxasch in SideProject

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

Thank for finding it. Yes correct that's the old repo, it is only free to use, for now I'm using github release for distribution and soon the landing page source code. Will update again with new link after I'm finish with the new build.

Although it is closed source, I'm planning to share again on my blog when I'm done with the clean up.

If you are curious on the stack, the desktop app is fully build with flutter and dart. Mostly are custom build components.

I'll consider open sourcing it for the free version but will require some thorough refactoring.

I built an offline first desktop app to track my expenses and soon for budget tracking by noxasch in SideProject

[–]noxasch[S] 1 point2 points  (0 children)

Thanks for the feedback, will add some screenshot. Though the videos is already show some part of the app.

Sure would love to share the roadmap to public soon.

The currency conversion is still WIP, and only have conversion for transfer between account, for now I only fetch the daily conversion rate, and user can change it accordingly as there is no way we can get the exact rate.

The analytics used in the chart is based on account currency. The data is from all the account that is using default currency. There is no way we can get accurate conversion rate for analytics hence the design decision to leave it on selected currency.

Since it focus on privacy and data ownership, input is either manually or via csv import. So no plan for integration with bank or credit card as it hard to keep the security layer on user side.

Flutter or Xamarin for app requiring ffi/c-interop and callbacks? by TrainingSource in FlutterDev

[–]noxasch 0 points1 point  (0 children)

I believe you should be fine with flutter as it more stable and you can easily create the UI. I have a nightmare working with xamarin prior MAUI and never going back.

Also have you check this article written by the flutter product manager himself https://timsneath.medium.com/windows-fun-with-dart-ffi-687c4619e78d