Microsoft translator API - notranslate option not working with Neural Network MT - microsoft-translator

Does anyone experience notranslate option is ignored when sending to Microsoft Neural Network MT? The same string works with SMT. I am sending this with "text/html".
My example string:
<p>For example, it is important to install the latest <span class=\"notranslate\">Intel® Chipset Software Installation Utility</span> immediately after installing most Microsoft operating systems to ensure proper drivers for the chipset are installed prior to installation of other drivers. System integrators should confirm boxed Intel Core 2 Duo processor-based systems are optimally configured and integrated.</p>
Furthermore, if I have href wrapped around a string with "notranslate" option, the whole link will be disappeared after NMT.
"target_content": "<p>Beispielsweise ist es wichtig, die neueste Intel® Chipset Software Installation Utility unmittelbar nach der Installation der meisten Microsoft-Betriebssysteme zu installieren, um sicherzustellen, dass die richtigen Treiber für den Chipsatz vor der Installation anderer Treiber installiert werden. System Integratoren sollten bestätigen, dass Boxed Intel Core 2 Duo Prozessor-basierte Systeme optimal konfiguriert und integriert sind.</p>",
"source_content": "<p>For example, it is important to install the latest <span class=\"notranslate\">Intel® Chipset Software Installation Utility</span> immediately after installing most Microsoft operating systems to ensure proper drivers for the chipset are installed prior to installation of other drivers. System integrators should confirm boxed Intel Core 2 Duo processor-based systems are optimally configured and integrated.</p>"

Related

WebGl 2 is not defined in Google Chrome despite hardware acceleration enabled

I'm trying to use WebGL 2 on a website but I can seem to get it to work on my PC. Says it's not available. I can't figure out if it's the graphics driver or OpenGL's version, but here's some info. Any help will be highly appreciated.
Here is my hardware.
Chrome version: Version 108.0.5359.98 (Official Build) (64-bit)
lsb_release -a outputs:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Linux Lite 5.6
Release: 20.04
Codename: focal
lspci | grep VGA outputs:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
glxinfo | grep 'version' outputs:
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
Max core profile version: 0.0
Max compat profile version: 2.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 2.0
OpenGL version string: 2.1 Mesa 21.0.3
OpenGL shading language version string: 1.20
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 21.0.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
And here are the settings for chrome.
chrome://gpu/:
chrome://flags/:
chrome://settings/system:
Report from WebGL Report
The answer can be found in your printout fragment Max GLES[23] profile version: 2.0, which is confirmed by this tech sheet. So your maximum supported Open GLES version is 2.0 which equals to WebGL (version 1). You would need a graphics controller which supports Open GLES 3.0 as that corresponds to WebGL2.
So, in short -- everything's fine with Chrome, but your hardware resp. its driver doesn't support Open GLES 3 and therefore not WebGL2.

OsiSoft AF SDK 2018 SP2 with .NET 5 Application

I have an application that was upgraded to .NET 5. However, the OsiSoft AF SDK is still compiled in .NET. I'm getting errors as such:
Method not found: 'System.Security.AccessControl.DirectorySecurity System.IO.DirectoryInfo.GetAccessControl()'.
Is there a way to run AF SDK .NET in .NET Core/.NET 5 applications ? My understanding is AF SDK does not support .NET Core/.NET 5 as of yet.

Why won't DraftSight run on Fedora 26 with Intel graphics?

DraftSight 2017SP1 Linux (beta) worked on Fedora 24. It fails after upgrading to Fedora 26. Running it from the command line so you can see the low-level errors,
/opt/dassault-systemes/DraftSight/Linux/DraftSight
Qt: Session management error: None of the authentication protocols specified are supported
Could not parse stylesheet of object 0x238a050
Could not parse stylesheet of object 0x238a050
In the graphics environment you see the usual start screens, then error pop-ups which offer to report the error and then close the application when clicked. One says that error-reporting is not available.
Similarly with 2017SP3 and 2018SP0. Fedora updates are current as of today.
This system is an Intel core i3. lspci reports "Intel Corp Xeon E3-1200 v3/4th Gen core processor Integrated Graphics Controller (rev 06)"
2018SP0 does work once an Nvidia GT710 card and the nvidia driver module are installed. It does not work with the nouveau driver module and the same card.
Does anybody have any insight as to the cause? A regression in Fedora, or a latent bug in DraftSight, or anything else?
Knowing whether it works with Fedora 26 and AMD graphics might be very helpful.
Edit March 2018
Doesn't work but differently on a system with AMD R5 230. No "Could not parse" errors, not anything else on the terminal window, but Draftsight starts up with the display all wrong and then locks up. Clicking the "X" gets to "the program is not responding".
Also worth noting that this isn't a Wayland issue. Systems are running Cinnamon and lightdm, so it's good old X.
Also a work-around, if performance is unimportant. (And it probably isn't, with Gen 4 Intel Graphics). Run it as a "remote" application on localhost, on a system with Intel graphics.
$ ssh -X 127.0.0.1
password:
Last login: Wed Mar ...
-bash-4.4$ /opt/dassault-systemes/DraftSight/Linux/DraftSight
(success)
Further update Fedora 29, DraftSight 2018SP3
New wrinkles for Nvidia, Cinnamon as above
Needs invocation
LD_PRELOAD=/usr/lib64/libfreetype.so.6 /opt/dassault-systemes/DraftSight/Linux/DraftSight
otherwise fails with /lib64/libfontconfig.so.1 lookup error FT_DOne_MM_Var
Also kernel 4.20 plus NVidia 390.87 fails to build. There's a patched NVidia installer that does work at if_not_false_then_true site.
Also does not install a .desktop file into /usr/share/applications
I had similar problems when I updated Fedora 24 to 25. The parse stylesheet messages still show up but I can run draftsight from an Xorg session, (not Wayland), using the nouveau drivers but only under root privileges using sudo .
You might try the following script:
sudo DISPLAY=$DISPLAY vblank_mode=1 /opt/dassault-systemes/DraftSight/Linux/DraftSight
I can only get DraftSight to run as root under Fedora 27, 4.18.16-100.fc27.x86_64. I have installed a VM with Ubuntu, and it runs fine, without elevated privileges.

GlassFish 5.0 exception and port 4848 not responding

Yesterday i downloaded GlassFish 5.0 and JDK9. When I'm trying to run server with asadmin start-domain GlassFish send to me exception
When I try to use "asadmin start-domainAfter" I got respond: "Remote server does not listen request on [localhost 4848]. Is the serwer up?"
Any can help me with this? I looked for solution at google, I tried kill process using port 4848, change port 4848 in domain.xml on another one, nothing helps.
It's my firts time with glassfish I don't know what to do. Anyone can help me?
I'm working at windows 7, InteliJ Ultimate 2017.2.4, JRE 1.8 and JDK 9.
GlassFish 5.0 not starting on JDK 9 is a known issue.
GlassFish 5.0 is certified only on JDK 8 (u144) as stated in the release notes:
https://javaee.github.io/glassfish/doc/5.0/release-notes.pdf
I use Windows 10 and I have installed JDK and JRE for version 9 and 8u141, 8u151, 8u144 (installed for test about this problem)
For exception I had had the same problem : the command "asadmin start-version" throw an exception.
Just check the version from CMD console :
C:\Users\xxxxx>**java -version**
java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
Problem JAVA_HOME and PATH environment viariables are JDK8u151 ???
To solve the problem, the documentation advice that :
Alternatively, you can specifically set the Java path with the AS_JAVA property in the in the as-install/config/asenv.conf file.
C:\DEVENV\glassfish5\glassfish\config>dir
Le volume dans le lecteur C s’appelle OS
Le numéro de série du volume est 10BF-2BBE
Répertoire de C:\DEVENV\glassfish5\glassfish\config
08/09/2017 07:27 <DIR> .
08/09/2017 07:27 <DIR> ..
12/01/2018 17:44 3 516 asenv.bat
...
Consequently, I add the last line below :
set AS_IMQ_LIB=..\..\mq\lib
set AS_IMQ_BIN=..\..\mq\bin
set AS_CONFIG=..\config
set AS_INSTALL=..
set AS_DEF_DOMAINS_PATH=..\domains
set AS_DEF_NODES_PATH=..\nodes
set AS_DERBY_INSTALL=..\..\javadb
**set AS_JAVA=C:\Program Files\Java\jdk1.8.0_151**
Relaunch CMD console and start server with asadmin start-domain : it works properly....enjoy.
As mentioned above GlassFish 5.0 leverages new features in Java SE 8,
and is certified today on Java SE 8. Even though we have a lot of work
in front of us with the transition to the Eclipse Foundation, our
current intent is to certify Java SE 9 in an upcoming GlassFish 5
release.
JDK 9 should be supported in the next update, i.e. GlassFish 5.0.1
See end of https://blogs.oracle.com/theaquarium/java-ee-8-is-final-and-glassfish-50-is-released
If you are on a mac or linux machine, add the following to config/asenv.conf in your glassfish installation directory.
set AS_JAVA="path to your jdk 8"
For example, in Mac OS it will be
AS_JAVA="/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home"
Anyone having problems with NullPointerException, look out for your system PATH Variables. Be sure that they point to an acceptable JDK (As it was said before: GlassFish 5.0 is certified only to work on JDK 8u144). This NullPointerException is caused by using an incompartible JDK as mentioned here: https://docs.oracle.com/cd/E19226-01/820-7688/gipqi/index.html
In my case the PATH variable was correctly pointing to java8u144 bin, but my PATH also contained a pointer to C:\ProgramData\Oracle\Java\javapath. And someway an old version of java SDK was stored on \ProgramData\Oracle so GlassFish was using this old version of java as SDK.

debian linux upgrade mysql - continue after looking up differences

I had to upgrade a mysql server under debian linux because of a database change (with default timestamps, which are not supported by the old version).
Having downloaded the repository package from mysql.com and installed it via
dpkg -i mysql-apt-config_0.7.3-1_all.deb
i started
apt-get install mysql-server
which got to the point of letting me view differences in /etc/mysql/my.cnf.
I decided to take a look and found myself in some command line editor, confirming the differences to be added by the new version would be marginal and could easily be added by hand later. OK so far.
Quitting this editor seamed rather complicated. I played around with the keyboard until i hit Ctrl-Z.
Thereafter i found myself back on the command line and the install script obviously canceled.
When i try to repeat the installation, i get the message
E: Konnte Sperre /var/lib/dpkg/lock nicht bekommen - open (11: Die Ressource ist zur Zeit nicht verfügbar)
E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, wird es von einem anderen Prozess verwendet?
What am i expected to do after quitting this view-diff-editor?
Obviously not to restart the installation from the beginning.
But what then? There is no message on the console hinting to anywhere, and a search by the tokens in the title of this question yields no useful results.
P.S.: The last line after quitting the view-diff-editor possibly was:
[1]+ Angehalten apt-get install mysql-server GUI "tinyca".
Not sure about that, but this line doesn't belong to my.cnf and comes below the line...
*** my.cnf (Y/I/N/O/D/Z) [Vorgabe=N] ? D
dselect => 4. Kon[f]ig. Alle unkonfigurierten Pakete konfigurieren.
Und nachdem das Ding endlich wieder läuft:
dpkg --pending --configure
...wäre auch gegangen (dasselbe in grün).
Und ich wette, dass es unter dem apt-Zeug auch noch ein Fortsetzungs-Dingens gibt...