How is Quarkus Reactive supposed to work with Panache for Kotlin? - kotlin

I'm trying out Quarkus Reactive + Kotlin, and I seem to have som issues figuring out how the data access part is supposed to work in this case.
Quarkus offers:
quarkus-hibernate-orm-panache-kotlin
OR
quarkus-hibernate-reactive-panache
There is no quarkus-hibernate-reactive-panache-kotlin. It seems I have to choose between Kotlin or reactive functionality. Am I misreading this? And if not, how do people usually solve this problem? Do they select the Panache-Kotlin variant and wrap all repository calls in withContext(Dispatchers.Default) + async? This doesn't feel like an ideal solution. Is there better ways?
Or do people chose the reactive non-kotlin variant, and somehow make that work? Although I have no idea what that would look like.
Any suggestions would be appreciated.
Thanks in advance!

Quarkus will provide the quarkus-hibernate-reactive-panache-kotlin module starting with Quarkus 2.14.
See this for more details

Related

What is the equivalent of karate.get() in Java?

I have created a Java object in karate scripts using Java interop and have used it as required.
Now, I want to retrieve that same instance in another Java class. Is there a way to do that?
In karate, we have an equivalent method like karate.get('objectName'). Is there any equivalent API available in Karate lib?
Please assume that the answer is no. I'd like to mention that the whole point of creating Karate was to avoid using Java for API test automation. I say this because I suspect based on your questions that you have made the same mistake I've seen a few other teams make - which is attempting to make Karate work like the Seleniums and Rest Assureds of the world. That always ends badly. And what's worse is that these teams blame Karate for that and go around telling everyone. I'd rather have that not happen - so if this is a "blocker" please consider using some other tool.
If you are already calling Java, you have plenty of ways to pass objects around right? Just use that and don't over-complicate your tests. Or you can use the "singleton" pattern, nothing to do with Karate, you can look it up.

Is it possible to implement your own markup extension in WinRT?

I'm trying to implement my own markup extension, it would be something that could be used to pass two values to a property like:
{Foo Value1={x:Null} Value2={x:Null}}
I've looked into some websites and there is always someone saying something about extending the MarkupExtension class. I've tried to do the same within a Windows Phone 8.1 project and this class doesn't seen to be available. Can someone point me to the right direction? What should I do to implement something like that? There is a better alternative to extending the MarkupExtension class?
Thanks in advance.
It is not possible, no. Very sorry to be the bearer of bad news.

xmlpackages needed for extension of aspdotnetstorefront application?

I am currently getting my head around aspdotnetstorefront.
My initial thought is to build usercontrols or something else instead of xmlpackages for extending the functionality of aspdotnetstorefront. Is there a reason why I have to use the xmlpackages instead of something else?
There are a few reasons I would choose to use the XMLPackages. First, it is what the products use for layout, so it is easier to replace existing packages. ASPDNSF has built a bunch of functions for the XMLPackages to give you access to their core functionality. You can use the XMLPackages in topics and the templates, so no need to roll your own code. Finally, if you have simple html and javascript to return, it is nice to just use XSLT to do it. Yes, the learning curve is a bit steep, but depending on what you are doing, it makes life easier.
HTH
Wade

How do I access/read the Phonegap API?

I know there is this: http://docs.phonegap.com/en/2.1.0/index.html but it doesn't really help.
I am trying to learn about the appView variable (I think it's a variable). I would've said it was a class but it starts with a lower case letter :/
The reason I am trying to learn that is because I am trying to understand the appView.addJavascriptInterface(Object, String) method.
My main goal is to send a variable from a java file to a javascript file. Tutorials online seem to be using the method stated above. Because the method takes in an object, the tutorials seem to be creating another class. I want to simplify my code as much as possible so I was seeing if there are any other options.
You will want to write a Plugin. We've already gone through the pain of the JS to Java and back to JS communication. If you purely use addJavaScriptInterface you will run into some edge cases where it doesn't work and we already guard against.
In appView.addJavascriptInterface(Object, String) method Object refers to Java object from which you want to transfer data from Java to java script.
You can't achieve functionality without creating new class.
Apart from Plugin usage above mentioned way only we can achieve communication between java and javascript in phonegap apps.

Objective-C and designing a plugin mechanism

I need to design a simple plugin system in Objective C. I would like some advice about how to go about this. Thanks!
Cocoa is your girlfriend: http://www.cimgf.com/2008/09/17/cocoa-tutorial-adding-plugins-to-a-cocoa-application/
Awesome tutorial.
There is always going to the Source. Here is the ADC reference to Plug-ins
There are dozens of ways you could do this, so you might need to elaborate a little on what exactly you're trying to achieve. As a starting point, I'd recommend you look into Cocoa delegates which are usually a great way to integrate new code into an existing framework.