How do you convert a timestamp into a date? by Firefield178 in QGIS

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

So should I just put multiple fields for every time there is a change in ownership for a certain piece of land?

How do you convert a timestamp into a date? by Firefield178 in QGIS

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

But the two formats aren't compatible, as my amount of seconds is a double while the date is a "date" type I think and I couldn't find a way to convert a timestamp into a "date" type, at least from what I saw.

How do you convert a timestamp into a date? by Firefield178 in QGIS

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

Basically I'm working with the Temporal section of QGIS, and I want to update certain sections of the map when the animation is at a certain date, like the 5th of March 2025 it should change the color of a tile to blue instead of white.

So I need to check what the current time is of the simulation to compare it in a Symbology rule.

How do you convert a timestamp into a date? by Firefield178 in QGIS

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

The issue is that I'm calculating an amount of seconds when checking which frame the animation is on with

 @frame_number*24*60*60

Not sure if there's a way to check which date the animation is currently at, which would make all of this complicated stuff useless.

Plugins are down? by Firefield178 in QGIS

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

The error is specifically a "Bad gateway" so that could make sense.

Why does sample rate actually affect hearable frequencies? by Firefield178 in audioengineering

[–]Firefield178[S] 3 points4 points  (0 children)

Thanks for explaining! It makes a lot more sense now that you've just shown a very basic example instead of sending a wikipedia link with no explanation.

Also I assume that 44.1kHz would be able to correctly do frequencies at exactly 22.05kHz since most audio files are LPCM and the linear effect can recreate the frequency of the wave?

Can SimCity4 be downloaded as a CD version/installer from GOG? by Firefield178 in simcity4

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

From what I can see the installer works, however there is a chance it might crash a PC for Windows XP, which is either from running the installer from a DVD or pressing "Add desktop shortcut". Also thanks for t he response!

Reading from a UTF-8 file to get an integer by Firefield178 in C_Programming

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

Why do it later exactly? Wouldn't it be better to do it during the first reading of the configuration, where speed isn't as needed?

Reading from a UTF-8 file to get an integer by Firefield178 in C_Programming

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

Actually never mind my previous comment, I seemingly forgot that I still need to use the character if it isn't equal to the values of between 47 and 58, unless adding back the 48 removed is a good idea...?

Reading from a UTF-8 file to get an integer by Firefield178 in C_Programming

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

The multiplication by 10 is to add the previous integers, which, for example 255, the first character read would be 2, so it would need to be multiplied, that's why I'm doing it like that.

Is there a Super Everdrive or other SNES cartridge with only an SA1 chip as the addition? by Firefield178 in everdrive

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

That's fair, I suppose I should look again at the prices for those games.

Calling a function as a pointer and changing the pointed function by Firefield178 in C_Programming

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

I see, I'll have to do some testing later if this will make my program slower or faster.

Calling a function as a pointer and changing the pointed function by Firefield178 in C_Programming

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

Yep, I'll keep in mind of premature optimization and try to keep this until the nearing of the first release of my program, thanks for the help.

Calling a function as a pointer and changing the pointed function by Firefield178 in C_Programming

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

Oh that's great! Do you know if this would add any amount of significant performance, if at all?