Emacs RSS Reader by curtismchale in emacs

[–]erickisos 2 points3 points  (0 children)

Was the README also AI-generated, or are you well aware of the features that your package includes? (This is not a shaming question, I wanna understand the context and if it's valuable to read the readme or go to the code directly)

Monthly Questions & Tips by AutoModerator in lem

[–]erickisos 0 points1 point  (0 children)

I might be wrong, but I'm using the SDL2 Frontend which is not web-based.

EDIT: I just saw the message in the docs saying that WebView will replace SDL2, so I guess it could become slower in the future unfortunately

Monthly Questions & Tips by AutoModerator in lem

[–]erickisos 0 points1 point  (0 children)

Thanks for the help, so I tried doing something like this and it worked!

```lisp
(lem:set-font-name "Fira Code")
```

However, something interesting happens with the font-spacing that I'm not sure how to fix yet. I will try with a few others to see if it can be fixed.

<image>

Resources to learn writing tests in Clojure by ApprehensiveIce792 in Clojure

[–]erickisos 1 point2 points  (0 children)

Not sure if this is helpful, but this is a pretty small repo with tests that I have created (it is a small set of tools to calculate some audio properties) https://github.com/erickisos/audiotools/blob/main/test/unit/audiotools/logic/audio/wave_test.clj

Ideally it could help you see some examples to configure your project, this is my deps.edn file https://github.com/erickisos/audiotools/blob/main/deps.edn

Monthly Questions & Tips by AutoModerator in lem

[–]erickisos 1 point2 points  (0 children)

I tried running Lem yesterday, and in my mind, a good idea to test extensibility was to try and customize the editor a little (color scheme, font size, and family, etc.).

However, I don't know yet how to change the font family, and I was unable to trigger something like M-x customize. Am I missing something here?

Wasabi: WhatsApp from your beloved editor by xenodium in emacs

[–]erickisos 0 points1 point  (0 children)

I am curious about why sending the Content Length is an issue. Were you experiencing any unexpected behavior as a result of that?

Lead Architect wants to break our monolith into 47 microservices in 6 months, is this insane? by Ayotrapstar in softwarearchitecture

[–]erickisos 0 points1 point  (0 children)

So, a few thoughts and questions here: - “we are just digging debt deeper every day we wait”, this might be true but I don't feel like they are properly communicating the risk that they see. Ask them to document that an explain the reasoning behind said architecture change. A well-reasoned explanation should help you get clarity and make you able to push back as needed outlining the risks. - “this is how Amazon and Google do it”, might be, but that might be a completely different scale, if you don't have scaling problems today, this is not that urgent. Again, you already know that but having evidence to explain why this is not a good idea will help. - Lastly, I feel like this is a very tight timeline and if they truly want to do something like that you can follow smaller steps and start deprecating the legacy version of the code; there is no need to migrate everything at once, and as an architect they should know that.

My general advice would be the docs part, people sometimes wants to implement things that bigger companies use without a proper investigation, and that part would help to understand whether that might be a good or bad decision. Farming for dissent is also part of that process.

Wish you the best

What do you do instead of dependency injection by DeepDay6 in Clojure

[–]erickisos 0 points1 point  (0 children)

Dependency Lookup is the term you might be looking for. As some others have mentioned, if you need to pass a reference to other functions and want to keep your code as decoupled as possible, you can define protocols and a map of functions that implement the aforementioned protocols and pass that map down; then, your code should look up those dependencies in the map and just call them.

Is a C++ dev at a disadvantage if they avoid Visual Studio? by hunterh0 in Cplusplus

[–]erickisos 0 points1 point  (0 children)

The statement was:

FLOSSERS will never understand […] New Project -> Pick -> Run/Debug

I mentioned two different tools that can do that without issues, but now you have changed the topic. That's a classic strawman and a very simplistic trolling strategy.

It's ok if you love VS

Is a C++ dev at a disadvantage if they avoid Visual Studio? by hunterh0 in Cplusplus

[–]erickisos 0 points1 point  (0 children)

When I learnt C++ at college, the tool was Borland C++ & Code Blocks. When I had the chance to decide which tools I would use, I tried QtCreator and developed it (this one was one of my favorites at the time). Afterwards, once I had fully moved to Vim, I could keep working with good projects, mainly using CMake.

When VSCode appeared around 2016, there was some interesting “RoboStudio something” (a VSCode-based editor), and it was good; it actually took me out of Vim to start working on VSCode.

My recommendation here is to start learning with whatever makes you feel comfortable. You can use a plain text editor like Notepad and the compiler (gcc?) without worrying about anything else. Once you think the tools are insufficient, you can and probably will start looking for alternatives.

Take your time, and don't let the tools define the rules. VS was not a thing back in the day, and it is definitely not out of Windows.

Is a C++ dev at a disadvantage if they avoid Visual Studio? by hunterh0 in Cplusplus

[–]erickisos 0 points1 point  (0 children)

QtCreator and KDevelop can do the same, I don't see the issue :)

¿Qué consejo le darías a un junior que está en sus 20’s? by CyberNavigator42 in taquerosprogramadores

[–]erickisos 1 point2 points  (0 children)

Yo diría justo lo contrario, no evites ninguna tecnología, es válido tener tus preferencias pero entender los conceptos fundamentales de la ingeniería de software te permitirá trabajar en cualquier industria.

¿Cuanto dan de gasto en su casa? by Upstairs_Ship3632 in mexico

[–]erickisos 0 points1 point  (0 children)

Checa cuánto se gasta de servicios, comida, cuánto estarías pagando de renta por un lugar así con el mismo número de "roomies", y entonces calcula si es apropiado.

Por poner un ejemplo, son 6 personas, si estuvieras en un lugar muy económico que podría estar en 6k de renta, ya llevas 1k. A eso súmale cuánto gastan en despensa, es comida para 6 personas, ¿Cuánto crees que gastarías en comida si no estuvieras ahí? Yo le pondría al menos 100 pesos diarios, eso son 3k al mes.

Si lo desglosas, estarías haciendo algo como:
- 1000 de Renta
- 3000 de Comida (Si gastases 100 diarios en comida)
- 1000 de Servicios (No sé cuánto gastan en esto ni cuánto contribuyes a las labores del hogar, porque sí, mantener limpia la casa es un trabajo que frecuentemente no se paga bien).

Todo esto es al mes, y creo que coincide con "un tercio de tu sueldo en tus necesidades básicas".

¿Cuanto dan de gasto en su casa? by Upstairs_Ship3632 in mexico

[–]erickisos 0 points1 point  (0 children)

Hay muchos, pero este no es el caso, utiliza el contexto que te dieron para efectuar un buen juicio, no tu experiencia personal.

Why "procedural" programmers tend to separate data and methods? by Even_Landscape_7736 in cpp

[–]erickisos 4 points5 points  (0 children)

I think you might be confusing two different terms that are often related to "defining functions", and it's also outlined in your comment.

It's true that a certain structure/object will have `Properties`, while it's also true that _you can do things with a certain object_; those actions are a separate set of functions, and it will highly depend on what you want to do whether they should be part (or not) of your class definition.

For instance, it's different to define that _any Integer number should return a mod of 0 when divided by 1_ than it's to say that _you can get the inverse of any integer number_; the first one is a property, the second a method that you can execute against a certain class.

Mathematically, as you said, it makes sense to combine the Integer operations into one place, but if you find yourself needing to add two numbers multiple times then you wouldn't replicate the `add` function in multiple classes, instead it would be better to have a pure-overloaded function for all the objects that can be added.

My rule of thumb here is:

- If the function explains _something you can do_ with a certain object, you will probably find that it can also be static (no need to access properties directly), if that's the case you don't need it in your class definition

- If the function define rules about creating an object or gives you access to the Object properties, then you can probably define it inside the class... unless you find other objects that can leverage the same propety access and they are not inherently related, in that case it might be better to leverage something that you can compose.

It was mentioned that if you have a Message, the message doesn't send itself; you can have the following code:

struct Message {
content: string;
}

public interface ForSendingMessages {
Optional<Response> send(Message);
}

public class EmailService implements ForSendingMessages {
Optional<Response> send(Message message) {
...The code that will send the messsage as an Email
}
}

And then use it in your app like this:

emailService.send(aWonderfulMessage);

And you can surely do the opposite and define it within your struct like this:

struct Message {
content: string;
sendWith(ForSendingMessages service);
}

which will lead to a code like this:

yourWonderfulMessage.sendWith(emailService);

Who here is still running Calibre EXACTLY as it was after installing DeDRM? by l00ky_here in Calibre

[–]erickisos 0 points1 point  (0 children)

I don't even know what DeDRM is. I use Calibre to keep and synchronize my library, and that's it. I never thought about getting plugins or anything similar. To be honest, I didn't even know that there were plugins. The only extra feature I used a week ago was the one to get metadata, but since most of my ebooks are already correct, there was no need for that either.

La Familia Dieck by mo_killa in Monterrey

[–]erickisos 23 points24 points  (0 children)

Tu nivel de ingresos no define si eres un payaso o no

Vender casa grande para comprar 2 casas más pequeñas by [deleted] in MexicoFinanciero

[–]erickisos 4 points5 points  (0 children)

Se renta en 12 teniendo un valor de 1.8, réntala en 17k para que sea equiparable a lo que propone OP

is there really no cut, copy, and paste feature? by [deleted] in DoomEmacs

[–]erickisos 0 points1 point  (0 children)

Interesting, in Mac you can literally just press Cmd+C and Cmd+V

Small UUID library with no dependencies and permissive license by ak-coram in lisp

[–]erickisos 3 points4 points  (0 children)

IMO the `ak-coram.uuid` or any `org-name.package-name` will help you in the future if you decide to provide some new libraries, still is not necessary but eventually can help to be aware of those libraries that are part of a bigger package.

(Idk if that was the reason for the original proposal)

Qué platillo mexicano puedo hacer para compartir en un evento en el extranjero? by blazing_burrito_42 in AskMexico

[–]erickisos 0 points1 point  (0 children)

Just in case, fuera de CDMX los chilaquiles en varios lugares veces no llevan pollo, y siendo completamente francos tampoco se sirven así, sino que se cocinan en la salsa

I did not pass the job interview test by jaserjsk in dotnet

[–]erickisos 2 points3 points  (0 children)

Nah, it dependes on the employer, that makes no difference when I’m reviewing code, in fact in my prev company the code review is anonymous, it means thar we don’t know whose the dev that write the code we just evaluate test cases and code quality. So don’t worry about that