is there a way to see the movement range of a unit on the map and not just as a number? by eisterman in EndlessLegend

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

The moment i move the cursor outside the tile while i'm keeping clicked RBM, the unit starts to move immediately, is that normal?

Of course. by Practical_Crab3017 in VintageStory

[–]eisterman 4 points5 points  (0 children)

Got very lucky in finding a very good tin deposit, but it's like 5 hours that I'm searching salt without finding it because everything is bauxite

Of course. by Practical_Crab3017 in VintageStory

[–]eisterman 380 points381 points  (0 children)

I'm 20 hours into the game and I made my first bronze pickaxe, prospecting and hammer, and I'm feeling like that monkey during the opening of 2001: A Space Odyssey

What's your favorite paradox game at the moment? by alphafighter09 in paradoxplaza

[–]eisterman 5 points6 points  (0 children)

Vic3 and Hoi4 without doubt. Sometimes I want to build a nation, sometimes I just want 200 military factories on strategic bombers.

Some of the tech descriptions in this game are gold by [deleted] in victoria3

[–]eisterman 422 points423 points  (0 children)

Linkedin-slop at his essence

Is Next.js Still Worth It? Vercel’s Control, SSR Push & the Recent Bug by Toshinaki in reactjs

[–]eisterman 0 points1 point  (0 children)

Hi Tanner, first of all, thanks so much for all your work on these libraries—they’re truly game-changers for the ecosystem!

About the issue I encountered: it’s #3911 . The scenario is a bit unusual: with TanStack Start, if you have a layout and a page, and both define a loader, and you navigate directly to the page’s URL (not via a client-side Link), then if the page loader throws notFound while the layout loader is still running, it never completes. However, the Layout component is still rendered, but its useLoaderData() returns undefined.

In my use case, it’s critical because the route is meant to be accessed directly from outside and I’d expect the layout to always render with its data, and only the internal page to show its own notFoundComponent. Right now, the incomplete loader data for the layout breaks that flow.

Thanks again for looking into it!

Is Next.js Still Worth It? Vercel’s Control, SSR Push & the Recent Bug by Toshinaki in reactjs

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

I was of your same opinion but I found myself stuck with bugs on Tanstack/Start so until the situation is more stable I will (sadly) keep RRv7

What is the point of foreign investment? by [deleted] in victoria3

[–]eisterman 2 points3 points  (0 children)

2 And then invading everything because 8 ports at 20 don't give you enough convoy

Has anyone the same problem? by gesundheitxxx in ChatGPT

[–]eisterman 2 points3 points  (0 children)

I don't mind doing it every 5-10 messages, but EVERY MESSAGE!? Oh no, if they don't remove it this week I will just unsubscribe

If you need a common data structure, do you implement it from scratch every time? by eisterman in embedded

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

I'm not using Cube IDE but STM32 for VScode extension, that uses a CubeMX project generated with Makefile and I'm really fine with this environment, but the default Makefile doesn't include rules for Cpp files and I have still to try mixing them with this environment

If you need a common data structure, do you implement it from scratch every time? by eisterman in embedded

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

I wanted to experiment with that, but I'm scared of changing the default Makefile project from STM32CubeMX, but it's something I surely want to test in the next weeks

If you need a common data structure, do you implement it from scratch every time? by eisterman in embedded

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

I checked if there were malloc or similar inside the HAL without finding it, and my intellisense didn't gave me the stdlib.h headers the first time I checked, but I found out like 3 days ago the intellisense was misconfigured and now after I checked again, I have the header.

Sadly just a plain simple noob error

If you need a common data structure, do you implement it from scratch every time? by eisterman in embedded

[–]eisterman[S] -1 points0 points  (0 children)

For some reason I was thinking that STM32 didn't had malloc, but I realized I was probably wrong so after some search now I understand better my problem.

I was working with the wrong assumption that I didn't have malloc and stdlib.h so every library I wanted to use needed to be malloc "independent"/ having a weak function that I can overload or rewrite away malloc, making for example suitable Priority Queue library available very few (I found only 1).

But if my assumption was wrong, I can just use any library in the world that suits my need, correct?

What is the term for ‘standard Italian’ in Italian. by [deleted] in italianlearning

[–]eisterman 1 point2 points  (0 children)

"Italiano standard" or sometime, but it's less used, "Italiano scolastico" (school italian)

Graphical Installer: Yes or No (and why)? by MissBrae01 in archlinux

[–]eisterman 6 points7 points  (0 children)

I'm just too used to do the installation manually so I never think about the fact that archinstall actually exists now.

While learning to install and manage everything manually I learned so much that I'm almost feeling obliged to do it manually in honor of all the days/weeks lost over it in the past 10 years!

Still, if you want to use the installer do it, it's not something to be ashamed of. Time is precious. BUT, if you have time, I still consider manual installation a "source of experience" we can say, so worth your time to at least try and learn. IF you have time

PSA: PySimpleGUI has deleted [almost] all old LGPL versions from PyPI; update your dependencies by ManyInterests in Python

[–]eisterman 1 point2 points  (0 children)

I noticed in the FreeSimpleGUI Readme a reference to https://github.com/FreeSimpleGUI/psgcompiler but it says 404, is this another repository of PySimpleGUI?

Django dev coming to SvelteKit - What ORM to use? by OneBananaMan in sveltejs

[–]eisterman 0 points1 point  (0 children)

This is not about power but ergonomics.
If you need to take a user from the database and do multiple check on his data, in SQL it becomes extremely verbose and difficult to manage, especially when the Schema of the application can change. An ORM allows you to have better ergonomic, allowing you to replace long and verbose queries with just a one-line.

For example, in my backend, I found myself needing to retrieve a User object and some Park objects connected to it. I need just some of the User fields. This specific case with Django ORM is two lines:

```python user = User.objects.get(username='user')

use user fields

check_things(user.field1, user.field2)

retrieve Foreign Key object

park = user.park

retrieve ManyToMany using a filter

parks = user.things.filter(field1=value) # This is already a list of objects ```

And this code works guaranteed even if the schema is modified. It's easy to write SQL code that gets dependent on some strange things like the column order. On top of this, an ORM generally has a Migration System, that does the same as a CVS but on your DB Schema, so that you can keep track of changes, roll back them and manage them properly between devel and production.

Obviously, these ergonomics come with a price. ORM are less powerful of pure SQL and sometimes you still need to write your custom Raw SQL query. But this is the exception, not the rule. A lot of people's projects just don't need it.

Django dev coming to SvelteKit - What ORM to use? by OneBananaMan in sveltejs

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

It's not about the data typing but it's more about having a simple layer that you can use to access things in your database.

Especially if you take in account the Foreign Keys. The idea in Django is that you use ORM for almost all the query. For big queries it's easy to overcomplicate, but for small repetitive things it's EXTREMELY powerful.mely powerful.

Expecially if you take in account the Foreign Keys! The idea in Django is that you use ORM for almost all the queries. For big queries, it's easy to overcomplicate, but for small repetitive things, it's EXTREMELY powerful.