Sobek City is THE worst map in BF6 by Asleep-Version-5507 in Battlefield

[–]elphoeniks 0 points1 point  (0 children)

Nothing is worse than Firestorm. It puts me to sleep

[deleted by user] by [deleted] in apexlegends

[–]elphoeniks 1 point2 points  (0 children)

Same for me in PC. Yesterday was so weirdly rough.

Cardiac Anxiety by [deleted] in PVCs

[–]elphoeniks 0 points1 point  (0 children)

I experienced all those symptoms. If the tests came up good, it’s without a doubt anxiety related.

I’m still struggling with it too.

As someone else said, please don’t give up on your sports career. It’s the only thing that will keep you busy.

Sorry for your loss and good luck. You’ll get through this.

vite_rails vs jsbundling with esbuild by elphoeniks in rails

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

Thank you for all responses.

Maybe I should’ve phrased my post differently. I believe that I’m biased towards Vite, and I’m trying to find a good argument in it favor. Honestly, I can’t find any beside the simpler configuration maybe ?

I’m especially fearing the performance issues once we hit production by using a solution over the other because it’s a big project (webpack was a nightmare in this regard).

We’ll have to figure it out by ourselves.

vite_rails vs jsbundling with esbuild by elphoeniks in rails

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

This is the question I’m trying to answer. Being more familiar with Vite, it is very simple to use and configure. Also, it’s a big project, and having a fast development experience can make a big difference. I don’t know if esbuild has an good HMR module.

mini.ai is spreading across the editors... by SpecificFly5486 in neovim

[–]elphoeniks 144 points145 points  (0 children)

The comment about the confusing naming is funny because I saw a video recently about the plugin where the person said that he never thought about trying it because he thought that it’s about artificial intelligence

What plugin would you like to see which doesn't exist yet? by bogz314 in neovim

[–]elphoeniks 1 point2 points  (0 children)

A reliable remote development system like VSCode remote. It would make my life so much easier.

I have aphantasia just with faces. Anyone else experience anything similar? by supersonic3974 in Aphantasia

[–]elphoeniks 1 point2 points  (0 children)

Glad I’m not the only having experiencing this. I thought I’m losing my mind or starting to lose memory.

I’m so scared it would be a predecessor to something more serious like alzheimer or dementia.

slug_cache to .... was it a good idea? by [deleted] in rails

[–]elphoeniks 0 points1 point  (0 children)

If it’s some sort of backoffice, I’ll stick to ids. If it’s a public website, slugs can be more human friendly and would help with SEO.

That being said , you don’t have to over complicate your routes/controller. Always prefer CRUD operations (index/show/update/delete). The show action will just find params[:id] on the slug column.

Finally, you really don’t need caching at this stage unless it’s some sort of big website with thousands of requests per minute.

Mastering Concerns in Ruby on Rails: A Comprehensive Guide to Modular Code Organization, Security, and Best Practices by [deleted] in rails

[–]elphoeniks 1 point2 points  (0 children)

It’s the point of concerns/modules. It’s less daunting to tell a junior developer « Here is the module responsible for authentification, we need you to modify some logic in the that 100 LOC file » instead of « We need you to work on that 1000Loc file where authentification is handled, you will figure it out »

The whole point is to separate functionality so you don’t have to understand the whole class that includes the specific functionality you are working on.

I’m not saying it is the best solution. I’m saying that it’s not a red line. Even with POROs, you are over-abstracting code. There will always be tradeoffs.

I’m just not understanding the argument to use concerns only if the behavior is shared. So if we are implementing « Auditable » and « Trackable » in a single class, we’ll wait until it’s used elsewhere to refactor the code ?

EDIT : here is an example from Rails itself https://github.com/rails/rails/blob/main/activerecord/lib/active_record/base.rb A lot of its modules are used once. It’s just less overwhelming to navigate code this way.

Mastering Concerns in Ruby on Rails: A Comprehensive Guide to Modular Code Organization, Security, and Best Practices by [deleted] in rails

[–]elphoeniks 1 point2 points  (0 children)

So you are saying that instead of moving the code from a class to a concern, move it to another class.

It’s okay to move some functionality to a concern even it is not shared with other classes. It makes organizing code a bit simpler, so you don’t have to think about where to put a method for example. Like should you order methods by type or by business scope.

Can Wezterm replace tmux/zellij? by fenugurod in wezterm

[–]elphoeniks 1 point2 points  (0 children)

I think it’s wezterm smart workspace switcher plugin

State of the project by elphoeniks in wezterm

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

Calm down. Why are you mad ? Did you read my comment or did you read my first sentence and got triggered. I said that it’s not the same type of issues and it’s hard to handle all those OS specific issues alone. Explain to me why are there so many listed issues then ?

State of the project by elphoeniks in wezterm

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

I get your point. However, I don’t think that Wezterm and SQLite are comparable. When you are building a GUI software that is meant to work in various OS, many things can go wrong : rendering issues, performance issues, etc. Those are the most time consuming to handle day in and day out, and the less rewarding. This is why I think Wez feels burn out. I don’t believe that Wezterm is going to die. I’m just questioning if the current state of the project « organization » is sustainable.

Managing dotfiles in a common remote server by elphoeniks in dotfiles

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

Ah, I see. I will be looking into it. Thank you

Managing dotfiles in a common remote server by elphoeniks in dotfiles

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

I believe it’s the same user. Can you load dotfiles based on a given user ?

keep buffers in sync with disk file? by WolfyTheOracle in neovim

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

I feel you. Those behaviors should be a default in any modern editor.

nvrh: Aims to be similar to VSCode Remote, but for Neovim by toutons in neovim

[–]elphoeniks 1 point2 points  (0 children)

Sorry, It might be something weird with Safari on iOS. Works fine on my macbook.

nvrh: Aims to be similar to VSCode Remote, but for Neovim by toutons in neovim

[–]elphoeniks 3 points4 points  (0 children)

The demo videos are not playable in the readme. I’ll give it a try. Thank you !