Is NiTE2 really not supported by qt5? - qt

I try to initialize nite2 in qt5.2 project(64bit,msvc2012), but it just never succeeded to do that; openni starts just fine everytime. And I looked through the internet, all I found is one post in stackoverflow, saying that NiTE2 is not supported by qt5.2.
Is that true? Someone please comfirms me with that. Thx...

Related

is there any complete minecraft forge documentation anywhere?

While it doesn't appear that this is a duplicate based on my searches, I'm sure other people have complained about this in many places.
I play minecraft and know java pretty well, so I thought it would be interesting to make mods with the minecraft forge. However, most tutorials are outdated or incomplete and I can't find a complete documentation. Now, if someone says, for instance, that existing blocks can be accessed through the Blocks class, I don't know what package that class is in. My more specific question was about modifying the properties of TNT(I wanted to do this as a test mod). Based on what I've been able to scrounge from various forums, using reflection on existing blocks in the game is possible, and what I found surrounding food would suggest there is a class for TNT somewhere that can be modified to boost its power. Just so someone can explain the not-well-explained principles of forge mod making, where would I find this TNT-related class that I could use reflection on, and how would I go about doing that(I've never done stuff with reflection before)?
To be clear, I've gotten forge minecraft all set up, I don't need an explanation of that. Just how to modify the properties of TNT(and hopefully this explanation will help me understand some broader principles)
I've been using https://nekoyue.github.io/ForgeJavaDocs-NG/ for a while. It has 1.12.2, 1.13.2, 1.14.4, 1.15.2, 1.16.5 and 1.17.1
I've been looking for a complete documentation/tutorial too, and I haven't fount a lot of stuff to be clear, but I found a wiki that might be useful. Here it is if you want to check it out:
Mcjty's wiki: https://wiki.mcjty.eu/modding/index.php?title=Main_Page
Forge's official documentation can be found here, versions:
1.15.x
1.16.x
1.17.x

Which is the best way to have a jupyter server running for long time?

First question to gain some privileges...
I hope someone can answer it, maybe some links where I could find the info would be great, or the reason why is not a good idea hehe!.
I've tried running it as a service and worked like a charm for around 2 weeks, but then I encountered an issue whose responsible I haven't found.
Nevertheless, this one is a nice guide:
https://naysan.ca/2019/09/07/jupyter-notebook-as-a-service-on-ubuntu-18-04-with-python-3/

QSerialPortInfo isValid() and isBusy()

QSerialPortInfo class has const methods isValid() (deprecated since 5.2) and isBusy() (deprecated since 5.6). They both seem to work but QT documentation does not provide with info whether they should be replaced with isNull() or state of QSerialPortInfo object should be checked some other way.
Can anyone please tell me actual way to check serial port availability?
I am using the same function call and it appears to work, so I was wondering why the function is obsolete. Turns out, the function opens the port in question, see bug report here. This side effect seems to be the reason why it was marked obsolete and deprecated.
If that side effect is okay with you (and the reported "other issues" by the maintainer in the bug report), then that appears to be an okay way to get done what you're asking for.
With reference to the documentation, both isValid() and isBusy() are obsolete and not recommended to be used in new code.
Quote from documentation (emphasis mine):
They are provided to keep old source code working. We strongly advise against using them in new code.
The See also section points to isNull() method so it should be used.
See commit.

Solve deprecation about $this- get('twig')-> getextension('form')

I'm getting message like this in an application:
Referencing the "form" extension by its name (defined by getName()) is deprecated since 1.26 and will be removed in Twig 2.0. Use the Fully Qualified Extension Class Name instead
The code causing this is:
$this->get('twig')->getExtension('form');
There seem to be some related threads, but I've been unable to find a solution for this. I've also taken a deep look at deprecation notes, but I've been unable to find anything that, with my knowledge, helps me to solve the problem. I'd ask for a clear solution for what I have to do to get rid of this message, that doesn't allow me to even try to upgrade.
Thanks in advance.
Well, I think I've found the solution. I just needed to find out the FQCN for the specific call, and it's
Symfony\Bridge\Twig\Extension\FormExtension
So, adding
use Symfony\Bridge\Twig\Extension\FormExtension;
and replacing
$this->get('twig')->getextension('form')
with
$this->get('twig')->getextension(FormExtension::class)
solved the problem.
I think there should be a more specific guide about what to replace and the replacement for each case.
Regards.
PD: I'm trying to find out how to mark this as solved, but maybe I'm not allowed to do this kind of things yet.

yahoo messenger status checker code?

I saw a lot of web sites out there that are capable of checking the status of a person on yahoo messenger, namely if that person is available, invisible or offline.
I have something in mind, but I need to know the method they used to achieve this.
made my homework and searched all over google, but found nothing.
Does anyone know anything about this? maybe a tutorial or a source code?
Thanks in advance!
Something like this could help: http://www.phpclasses.org/package/5457-PHP-Check-the-online-status-of-an-Yahoo-messenger-user.html

Resources