HYPERV_VIRTUAL_SWITCH deprecated, to replace by what? - redhat-containers

following the tutorial for windows https://developers.redhat.com/products/cdk/hello-world/#fndtn-windows it is mentioned to use HYPERV_VIRTUAL_SWITCH
when launching "minishift start", it is mentioned that using this environment variable is deprecated.
-- Check if deprecated options are used ...
Use of HYPERV_VIRTUAL_SWITCH has been deprecated
Please use: minishift config set hyperv-virtual-switch ExternalVirtualSwitch
FAIL
Where to report to improve the "hello world"?
regards,

in case you would like to report an issue with "Hello world" at developers.redhat.com you should open a jira for JBoss Developer issue tracking system under project "Docs for Red Hat Developers" that can be found under shortcut RHDEVDOCS or if you would prefer to raise an issue under Container Development Kit itself report here CDK.
P.S. You probably need to be registered.

Related

Trouble with POD installation: "`ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES"

I have issues with POD installation.
In "ProjectName"[Demo] and "ProjectName"[Release] I get the error:
"...target overrides the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build setting defined in `Pods/Target Support Files/Pods-ProjectName-Demo/Pods-ProjectName-Demo.debug.xcconfig'. This can lead to problems with the CocoaPods installation"
I have set "Always Embed Swift Standard Library" to NO
Edit: I have done the suggested steps in the suggested duplicate post thread, but still got error
I was able to fix this problem by doing the following:
1.Go into Build Settings
2.At the top select All and Combined
3.Under Build Options you should see Always Embed Swift Standard Libraries and it is bold.
4.Click on it and click delete. It should now be unbolded.
5.Pod install and the error/errors should go away!
For more details please refer this link.https://github.com/CocoaPods/CocoaPods/issues/5981

typo3 8.7.9 - download language package and update extension list failed

I already installed TYPO3 8.7.9, changed the language to german but can't download the language pack. It says:
Error
The request has failed.
Also if I change the dropdown in Extensions to Get Extensions it says:
Update Extension List
Could not access remote resource https://repositories.typo3.org/mirrors.xml.gz
I'm using MAMP on Windows 7. Also in the System environment check there are four orange issues which - I thought - already fixed in the php.ini:
Low PHP script execution time
PHP max_input_vars very low
Windows apache thread stack size
PHP extension fileinfo not loaded
Do you think it had something to do with "curl"? It often appears during my Google research.
I would be pleased if someone could help me :)
I can access this file via browser, so it's available. A missing curl could be the problem, you're right.

Issue with the proxy settings when installing Eclipse

I have the same issue with Eclipse (Neon 4.6 eclipse installer by Oomph 32 bit) as in this question and as explained there I have downloaded the automatic configuration script (the script is set up through the Group Policy so I can’t change my LAN settings) that my browser is using. I used the host and port in the return statement and did as explained below
Select the "HTTP" line and click the edit button
Add the IP address and port number above to the http line:
Does anyone know what else I can try because I am still getting a network problem message?
Your help will be appreciated
Proxy Network problem message:
I have changed the active provider to Manual and retried again, then it worked.
I installed an old version and it's worked well.
this is the link for the old version:
https://www.eclipse.org/downloads/packages/release/oxygen/2
You can download a zip file of the Eclipse package you want and explode it in your filesystem where you want it,
Here is link for Eclipse package for windows:
https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2021-06/R/eclipse-java-2021-06-R-win32-x86_64.zip&mirror_id=17
Or select another package here:
https://www.eclipse.org/downloads/packages/
For me, I had similar issues to this that related to my office network and their use of a security tool called Netskope which needed its root-certificate into the jvm that would be used by the Eclipse installer. I elaborated on my workaround steps in this other thread:
https://stackoverflow.com/a/69171147/1302220

Can I use Eclipse XQDT to debug Marklogic modules/xquery?

Hi Markloggers out there,
I am working now a coupe of months with Marklogic, developping xquery, modules, applications on the ML app server etc etc. I use eclipse a lot, I have XQDT up and running for several marklogic servers. We use the console also.
What I miss is a debug functionality... in Eclispe with XQDT I cannot get the debug function working?
What I need is a nice and clean way to quickly test and develop modelules and functions...
This is my basic lib from the ML example documentation:
xquery version "1.0-ml";
module namespace lib = 'http://www.example.com/lib';
declare function lib:user()
{
xdmp:get-current-user()
};
I have this is my XQDT project in eclipse, I have setup a marklogic XDBC server locally and it works ok.
Now I want to use the above module from a file again in the XQDT project in eclipse. But without going to steps of uploading the module to the db etc etc...:
(: XQuery main module :)
import module namespace lib = 'http://www.example.com/lib' at 'lib.xq';
lib:user()
Gives:
XDMP-MODNOTFOUND: (err:XQST0059) Module /lib.xq not found
Question 1: Is there a way to find the module without putting it in a module root? In the docs it says from a XQDT project I could source a module but I cannot get it to work...
Question 2: I can execute arbitrary xquery to the local Marklogic server but if I set a debug flag anywhere in a xgy file in the XQDT project and press the debug button I get a popup saying "The Debug Engine is not properly configured". Can anyone explain to me if it is possible to use the debug option in eclipse XQDT with Marklogic 7 ?
Regards,
hugo
It's best to limit yourself to one question per SO post. After all you can only accept one answer.
Now I want to use the above module from a file again in the XQDT
project in eclipse. But without going to steps of uploading the module
to the db etc
That's a problem. You can evaluate an ad-hoc query directly. But if it references a library module, that library module needs to be available to the server. You're going to have to copy it to the server sooner or later anyhow, so do it sooner. I don't use an IDE myself, but can't you set it up to do that for you?
Question 1: Is there a way to find the module without putting it in a module root?
Not in the broadest sense of "module root", no. The docs at https://docs.marklogic.com/guide/app-dev/import_modules talk about how this works. Somehow or other, you need to make the library module available to MarkLogic.
I can't address your last question. I don't use an IDE, and even if I did I probably wouldn't use a debugger. Instead I xdmp:log messages to ErrorLog.txt, and occasionally I'll plant an breakpoint-like error() call in my code.

BaseX RESTXQ "hello world" example

I'm strugging to get started with the BaseX RESTXQ API.
I've downloaded and installed the latest version of BaseX for Windows. I have started the BaseX Server by clicking the "BaseX Server (Start)" icon that the BaseX installation adds to the Windows Start menu.
It appears that I need to create a file with an .xqm extension (eg. hello.xqm) and put it somewhere.
Do you have a minimal "hello world" type example file eg. hello.xqm to get me started?
Where should I put the hello.xqm file so it runs on my default installation of BaseX?
Where do I need to point my browser to and what should I see if it works?
Thanks.
We noticed that the web files in Version 7.3 of the Windows version of BaseX were accidentally moved to the bin directory. You'll find a pre-packaged RESTXQ module in the latest (stable) snapshot of BaseX:
http://files.basex.org/releases/latest/
You may also have a look into the BaseX RESTXQ documentation:
http://docs.basex.org/wiki/RESTXQ
I found really nice slide for creating web application with restxq in BaseX. please see on this paper:
http://files.basex.org/publications/xmlprague2013/slides/Andy-Bunce-BaseX-User-Group-Talk.pdf
also here is very good example
https://github.com/siserle/blog-example (thanks to siserle)