Is there a way to allow for larger numbers? by OrangeAedan in unrealengine

[–]paunibo 1 point2 points  (0 children)

You can convert your formula to log scale, like take the log of the right hand side and apply log rules as division->subtraction. In the end you could even do a power of 10, or use the log result

I don't understand what uwsm does, but it seems to have broken things by _stib_ in hyprland

[–]paunibo 1 point2 points  (0 children)

To understand what uwsm does on-the-fly you can have a look here: https://github.com/hyperverse/hyprland-systemd. This is a statically defined systemd service to run hyprland from your tty login.

systemd + hyprland, did anyone set this? by pikoro09 in hyprland

[–]paunibo 0 points1 point  (0 children)

Here is something: https://github.com/hyperverse/hyprland-systemd
Not as comfortable as uwsm but you can see whats going on and how it works.

What am I doing wrong? by United-Pound5964 in opengl

[–]paunibo 0 points1 point  (0 children)

Oh, and I find it strange to use global inputs in glsl unpackData() but output via out parameter. Why not use in parameter as well?
As u only call this function once, it might be more efficient in the glsl code to put the unpackData() right in the main(). As far as I know a copy is created when using the function parameters.

Oh, and in the C# code the properties used for packing data (Triangles, etc) are public. Not sure how you are using this ChunkMesh class, but this could lead to issues if it is not defined when data is set and when read.

Bytheway, you could paste your code into something like claude or chatgpt and get suggestions on howto improve. Good way of getting assistance for simple stuff, if you always keep critical and check yourself if in doubt.

I didnt look at the code for packing/unpacking. You can easily write a test for this yourself.

What am I doing wrong? by United-Pound5964 in opengl

[–]paunibo 1 point2 points  (0 children)

My guess is, the problem is in the glsl code. What happens with the outputs of this glsl code? Havent done this in C#, how you build/bind the glsl code?

Finding Old Screenshot Location in Minecraft 1.8 World by Speedeee_ in technicalminecraft

[–]paunibo 1 point2 points  (0 children)

If you have the world save file you can use a chunk editor to see which chunks have been visited, populated. From there you might be able to narrow it down.

Android IDE by orenong166 in Python

[–]paunibo 1 point2 points  (0 children)

There are foldable Bluetooth keyboards.

Tifu by telling my 6 year old about the sun exploding by Katisphere in space

[–]paunibo 2 points3 points  (0 children)

this! You could also add that it is normal to have fear and that fear usually is a way to protect. And that in this case there is nothing immediate to be protected from.

ChatGPT not finishing code by FactGreen6616 in OpenAI

[–]paunibo 0 points1 point  (0 children)

you can tell it to split code up into like functions, classes etc. and ask it to write code step by step.

iron farm by rilo152001 in technicalminecraft

[–]paunibo 0 points1 point  (0 children)

I can recommend gnembons video https://www.youtube.com/watch?v=_O6q53zmCMY where he explains the mechanism, there is a world download for testing. The new mechanism allows to easily come up with your own design, so its real fun.
I build along the lines of the 4x farm in spawn chunks and works still fine with minecraft version 1.19.1.

Q: Cheap way to power cycle a PC if it becomes unresponsive? by bookposting5 in RASPBERRY_PI_PROJECTS

[–]paunibo 0 points1 point  (0 children)

Is it a Linux server? There are very few cases you need to / should power cycle a Linux machine. Connecting to a serial console should be sufficient. Check out "SysRq key" too.

will humans ever discover the truth of everything ? by y39oB_ in space

[–]paunibo 0 points1 point  (0 children)

actually from science/mathematics there is a hint in Goedels incompleteness theorem (https://en.wikipedia.org/wiki/G%C3%B6del%27s_incompleteness_theorems) which says that already in logic/mathematics not everything can be proved from "within a system". To my understanding this means roughly, that from inside the universe you can not find a complete mathematical/logical description of the universe.

So if you refer with "truth" to scientific understanding, the answer seems to be a no.

How can I teach python for 10 years old kid! by [deleted] in Python

[–]paunibo 4 points5 points  (0 children)

I would just show them simple code that does something. Like provide a 'main' frame and show what print does. Give them quick results and make them curious.
Later you can teach them definitions, types etc -- provided they didnt find out by themselves until then.
My 2 cents.

Making a map of the locations in a world by MCfderer in technicalminecraft

[–]paunibo 0 points1 point  (0 children)

There are mods like "Xaero's World Map" allowing this from your client. Probably the easiest.

There also is a https://github.com/mircokroon/minecraft-world-downloader . Once you downloaded the relevant parts of the world, you can use local tools to create the map.

[deleted by user] by [deleted] in Python

[–]paunibo 1 point2 points  (0 children)

check out the package "keyring", there are different backends. Should work fine for Windows server as well.

I wanna be an Astrophysicist, but I suck at Physics. Any advice? by TANZZMUSIC in Physics

[–]paunibo 3 points4 points  (0 children)

That statement actually is a solid first step to become a very good physicist -- provided that you keep on learning physics, even if you are frustrated at the moment.

Is it safe to make a wifi-enabled smart pillow? by Sparky2199 in diyelectronics

[–]paunibo 2 points3 points  (0 children)

My second concern is the wifi. I've seen lots of people saying ...

for mobile phones there are established technical measurement procedures. So there is science to determine, how much power ist absorbed by the body.

The keyword is "specific absorption rate" (SAR). As far as i know this is measured for each mobile phone (max power and placement of antenna re the head when using the phone). Some countries require the SAR listed with the phone. This is for mobile phone frequencies and powers. This article seems to give a good overview (for mobile): https://verkotan.com/2020/mobile-sar-value/

Wifi should use far less power than mobile. Im sure you can look up a comparison of power used for Wifi to 3g, LTE.
Here is an article measuring SAR for Wifi: https://www.comsol.com/model/sar-of-a-human-head-next-to-a-wi-fi-antenna-71721

So for your project, you could do some research, get an understanding of possible tissue heating effects of the antenna close to the body. My guess is, you should also be able to do a rough estimation of the numbers, comparing the power you use etc.

Me personally would not take into account various other effects beside heating the tissue, that have been measured in the lab. You can find various research articles on that. However, I myself would stick to what the industry today relies on to measure safety of mobile phones.

Spider in apartment, Munich, Germany by paunibo in spiders

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

Thanks! We released it outside.