libsolv: 0.7.21 -> 0.7.22

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libsolv/versions.
meta.description for libsolv is: "A free package dependency solver"
meta.homepage for libsolv is: "https://github.com/openSUSE/libsolv"
meta.changelog for libsolv is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22/bin/deltainfoxml2solv had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22/bin/installcheck had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22/bin/repomdxml2solv had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22/bin/rpms2solv had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22/bin/updateinfoxml2solv had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22/bin/rpmdb2solv had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22/bin/dumpsolv had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22/bin/repo2solv had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22/bin/testsolv had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22/bin/rpmmd2solv had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22/bin/mergesolv had a zero exit code or showed the expected version
0 of 11 passed binary check by having a zero exit code.
0 of 11 passed binary check by having the new version present in output.
found 0.7.22 with grep in /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22
found 0.7.22 in filename of file in /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)

5 package rebuild(s)

5 x86_64-linux rebuild(s)
3 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
libdnf
libsolv
microdnf
micromamba
rpm-ostree

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libsolv https://github.com/r-ryantm/nixpkgs/archive/c14456e41eb4395989095bd5060e4bcda57e9c1c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22
ls -la /nix/store/m1n2qrpvib8cpnrwzkyqps8q6wg6bwd4-libsolv-0.7.22/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

5 packages built:

libdnf
libsolv
microdnf
micromamba
rpm-ostree

Maintainer pings
cc @copumpkin for testing.

Result of nixpkgs-review pr 166899 run on x86_64-linux 1

5 packages built:

libdnf
libsolv
microdnf
micromamba
rpm-ostree

Change looks okay:

reworked choice rule generation to cover more usecases
support SOLVABLE_PREREQ_IGNOREINST in the ordering code
[bsc#1196514]
support parsing of Debian's Multi-Arch indicator
bump version to 0.7.22


Some rewritings diverge instead of stopping on a recursion limit

See:
scala> ir"val x = 42; println(x.toDouble)" fix_rewrite { case ir"($n:Int).toDouble" => ir"$n.toDouble+1" }
java.lang.StackOverflowError

on  the other hand, this one does not exhibit the problem:
scala> ir"val x = 42; println(x.toDouble)" fix_rewrite { case ir"($n:Int).toDouble" => ir"$n.toDouble" }
Rewrite rules did not converge after 8 iterations.
ir"""{
  val x_0 = 42;
  scala.Predef.println(x_0.toDouble)
}"""

Note: the problem also appears when rewrite is used instead of fix_rewrite.
This is because the term grows in size and thus the top-down transformation never finishes.

A good fix would be to make rewrite use a bottom-up traversal by default, which does not have this problem. Top-down transformations are either more dangerous (if they are allowed to recurse into freshly-rewritten terms) or less powerful in term of expressivity (if they are not).


BOM Sensor only works once

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
homeassistant/home-assistant:0.61.1 (Docker version on a NAS)
Python release (python3 --version):
Python 3.6.4
Component/platform:
BOM Sensor
Description of problem:
BOM Sensor only updates on first start then fails afterwards logging the error
2018-01-26 07:40:04 INFO (SyncWorker_3) [homeassistant.components.sensor.bom] BOM was updated -1 day, 18:10:04.853549 minutes ago, skipping update as < 35 minutes
Looking at https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/sensor/bom.py#L193 it appears the issue is caused by the 35 minute throttle check is comparing the time zone of the machine vs the time zone at the bom sensor.
Expected:
Updates regularly
Problem-relevant configuration.yaml entries and steps to reproduce:
weather:
  - platform: bom
    station: IDW60901.94608

Run home assistant in the time zone UTC

The following change should do the trick:
--- a/homeassistant/components/sensor/bom.py
+++ b/homeassistant/components/sensor/bom.py
@@ -193,7 +193,7 @@ class BOMCurrentData(object):
     def update(self):
         """Get the latest data from BOM."""
         if self._lastupdate != 0 and \
-            ((datetime.datetime.now() - self._lastupdate) <
+            ((datetime.datetime.utcnow() - self._lastupdate) <
              datetime.timedelta(minutes=35)):
             _LOGGER.info(
                 "BOM was updated %s minutes ago, skipping update as"
@@ -204,7 +204,7 @@ class BOMCurrentData(object):
             result = requests.get(self._build_url(), timeout=10).json()
             self.data = result['observations']['data'][0]
             self._lastupdate = datetime.datetime.strptime(
-                str(self.data['local_date_time_full']), '%Y%m%d%H%M%S')
+                str(self.data['utc_date_time_full']), '%Y%m%d%H%M%S')
             return self._lastupdate
         except ValueError as err:
             _LOGGER.error("Check BOM %s", err.args)

I haven't tested it, but if it fixes it for you, I'll happily push a PR.


Add responsive restaurant website (Zaika Palace

issue #414
Implement a responsive design for the restaurant website, ensuring it adapts seamlessly across various devices including mobile, tablet, and desktop. The design should prioritize user experience and easy navigation, with menus, booking options, and other essential features accessible on all screen sizes.

[x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

https://github.com/user-attachments/assets/de658790-0fc8-4432-9728-6a9eff2d3c53

@beRajeevKumar sir pls check pr and merge it

Nice Work @amanver45

This is fine


.Net OpenAI - Add Usage information for Streaming

Recently OpenAI added a stream_options.include_usage = true parameter that when set provide one last chunk with the Usage information, this can be set on by default in our connector for text streaming APIs.
https://platform.openai.com/docs/api-reference/chat/create#chat-create-stream_options
Last chunk info example
{
    "id": "chatcmpl-9bs3D3THDTOtsjYcokah40Ub",
    "object": "chat.completion.chunk",
    "created":<PHONE_NUMBER>,
    "model": "gpt-4o-2024-05-13",
    "system_fingerprint": "fp_f4e629d0a5",
    "choices": [],
    "usage": {
        "prompt_tokens": 13,
        "completion_tokens": 7,
        "total_tokens": 20
    }
}

Ah I was going crazy, wondering why this was not available
var response = chat_completion.GetStreamingChatMessageContentsAsync(history, cancellationToken: cancellationToken);
        await foreach (var chunk in response)
        {

            if (chunk.Metadata != null)
            {
                var as_json = JsonSerializer.Serialize(chunk.Metadata, new JsonSerializerOptions { WriteIndented = true });
                Console.WriteLine(as_json);
            }
            if (chunk.Content == null)
            {
                continue;
            }

            if (chunk.Content.Length > 0)
            {
                yield return new ServerSideEvent("message", chunk.Content, Guid.NewGuid().ToString(), "1000");
            }
        }

Expected the usage metadata to be there, but this is not implemented yet, in the meantime is there any way we can get this in a streaming mode? It is quite important to track usage on a per-user model in our app.

@arynaq Don't believe there is - I ended up created a temporary wrapper connector around the official OpenAI connector, that then calculates the token usage manually using Tiktoken.


Create Truck model

Create Sequilize model for Truck:
With keys:

[ ] name VARCHAR NN
[ ] image VARCHAR NN
[ ] width FLOAT NN
[ ] height FLOAT NN
[ ] length FLOAT NN
[ ] costPerMile DECIMAL NN
[ ] costPerHour DECIMAL NN
[ ] milesPerGallon FLOAT NN
[ ] odometer INT NN
[ ] fuelCapacity FLOAT NN
[ ] features TEXT

Completed.


[sbt-1.3.0-RC3] custom resolver not used for resolving plugin dependencies

steps
sbt version: 1.3.0-RC3
When a plugin is added to the global configuration that needs a custom resolver, plugin dependencies are not resolved.
For example, given such global configuration:
~/.sbt/1.0/plugins/build.sbt
---------------------------------
addSbtPlugin("lt.dvim.authors" % "sbt-authors" % "1.0.2")
resolvers += Resolver.bintrayRepo("jypma", "maven") // for ts-reaktive

Any project fails to load with the following error:
[error]   Not found
[error]   not found: /home/martynas/.ivy2/local/com.tradeshift/ts-reaktive-marshal-akka_2.12/0.11.0/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/com/tradeshift/ts-reaktive-marshal-akka_2.12/0.11.0/ts-reaktive-marshal-akka_2.12-0.11.0.pom
[error]   not found: https://repo.scala-sbt.org/scalasbt/maven-releases/com/tradeshift/ts-reaktive-marshal-akka_2.12/0.11.0/ts-reaktive-marshal-akka_2.12-0.11.0.pom
[error]   not found: https://repo.scala-sbt.org/scalasbt/maven-snapshots/com/tradeshift/ts-reaktive-marshal-akka_2.12/0.11.0/ts-reaktive-marshal-akka_2.12-0.11.0.pom
[error]   not found: https://repo.typesafe.com/typesafe/ivy-releases/com.tradeshift/ts-reaktive-marshal-akka_2.12/0.11.0/ivys/ivy.xml
[error]   not found: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/com.tradeshift/ts-reaktive-marshal-akka_2.12/0.11.0/ivys/ivy.xml
[error]   not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.tradeshift/ts-reaktive-marshal-akka_2.12/0.11.0/ivys/ivy.xml

problem
Custom resolver is not considered when resolving global plugin dependencies.
expectation
Plugin dependencies should be resolved using the custom resolver.
notes
If such plugin and resolver are added to the local project build (./project/plugins.sbt) then project loads successfully.
Somewhat relevant discussion: https://github.com/sbt/sbt/issues/4802#issuecomment-517703103

@2m Thanks for the report!

I wonder if this is still reproducible on modern sbt.


Wide binary check

removes all comments
adds caveat about wide initial binaries
adds information about data availability

Looks good!


SecurityError: The operation is insecure.

hi!
When i do this:
html2canvas(document.querySelector('#picture'), {
allowTaint: true,
logging: false,
taintTest: false,
}).then((canvas) => {
try {
this.canvasPictureImg.src = canvas.toDataURL('image/png');
this.print();
} catch (e) {
console.log(e);
}
});
I get an error in safari
SecurityError: The operation is insecure.
how to solve it? Converting the canvas that was already in the page - there are no such errors, but the converted html into the canvas by the library - causes an error

@niklasvh How did you solve this?

Hi, i have the same problem, how to resolve this problem？

We are facing the same problem, please suggest a workaround

I have the same issue, Chrome and Edge (Chrome clone) are fine. Only Safari complained with this.
I have also tried to use only : useCORS:false, but facing the same problem.
window.getImage = function() {
html2canvas(document.body,{allowTaint:true,useCORS:true}).then(function(canvas) {
var convertedImage = canvas.toDataURL(); // !!! SecurityError !!!
});
}

I have the same issue, Chrome and Edge (Chrome clone) are fine. Only Safari complained with this.
I have also tried to use only : useCORS:false, but facing the same problem.
window.getImage = function() {
html2canvas(document.body,{allowTaint:true,useCORS:true}).then(function(canvas) {
var convertedImage = canvas.toDataURL(); // !!! SecurityError !!!
});
}

brother,how to slove this issue. thank you

did someone solved the problem, I have the same problem on safari and the mobile chrome app

I also having same issue. I have a solution but i dont know it is best way. You can use different width and height than icons has original width and height. When you use same width and height, html2canvas use it as image and it gives security error in safari.
They tried solve this problem with crossOrigin attribute but it doesnt work anymore. you can understand what i mean when you check below code. When you use same width and height html2canvas return image and it gives error in safari
        CanvasRenderer.prototype.resizeImage = function (image, width, height) {
            var _a;
            if (image.width === width && image.height === height) {
                return image;
            }
            var ownerDocument = (_a = this.canvas.ownerDocument) !== null && _a !== void 0 ? _a : document;
            var canvas = ownerDocument.createElement('canvas');
            canvas.width = Math.max(1, width);
            canvas.height = Math.max(1, height);
            var ctx = canvas.getContext('2d');
            ctx.drawImage(image, 0, 0, image.width, image.height, 0, 0, width, height);
            return canvas;
        };

I have solved this issue finally with a help of @abdurrahmanyildirim code above. and what I did is I added image.crossOrigin = 'Anonymous'; inside the if condition in CanvasRenderer.prototype.resizeImage function.
Also, just in case you are facing an issue with the same element in Firefox then go to CanvasRenderer.prototype.renderBackgroundImage function and change this condition if(image) to if (image && image.width > 0 && image.height > 0).
Hope this helped...

In my case the problem is still there even with @montheryounis suggested code fix.
window.getImage = function() {
html2canvas(document.body,{allowTaint:true,useCORS:true}).then(function(canvas) {
var convertedImage = canvas.toDataURL(); // !!! SecurityError !!!
});
}

Version 17.4.1 (196<IP_ADDRESS>.14)
Execute canvas.toDataURL('image/jpeg', 0.8)
It still reports the error the operation is insecure.

Hi,
Please add your issue to my new Issue on GitHub.
And give some more details.
This would help us.
Cordialement,
http://www.fisciences.com/
Martin Pineault
iConsultant (analyste/programmeur)
Développement f.i.SCIENCES inc.
m:<PHONE_NUMBER>
w:	www.fisciences.com http://www.fisciences.com/
https://ca.linkedin.com/in/martinpineault https://www.claris.com/partners/profile/company.10000007774/?lang=fr

Le 15 juill. 2024 à 03:08, shangwenhe @.***> a écrit :
Version 17.4.1 (196<IP_ADDRESS>.14)
Execute canvas.toDataURL('image/jpeg', 0.8)
It still reports the error the operation is insecure.
—
Reply to this email directly, view it on GitHub https://github.com/niklasvh/html2canvas/issues/1784#issuecomment-2227829328, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHJMKJVAO23P4PW2WRHKMDLZMNYO5AVCNFSM6AAAAABKVSOU2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXHAZDSMZSHA.
You are receiving this because you commented.


TF 2.0 beta0: Can't use tf.keras.layers.LSTM on GPU.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Google Colab (Linux d8cb89680c63 4.14.79)
TensorFlow installed from (source or binary): binary (using pip)
TensorFlow version (use command below): tensorflow-gpu-2.0.0b0
Python version: 3.6.7
CUDA/cuDNN version: V10.0.130
GPU model and memory: Tesla T4  15079MiB

Describe the current behavior
After !pip install tensorflow-gpu==2.0.0-beta0, and restart Google colab runtime. Try to fit the model, got the following log, then it just stay there 5 minutes plus, then start logging the train steps. Besides the training is very slow, so I suspect it is trained on CPU.
But it can train on GPU when I !pip install tensorflow-gpu==2.0.0-alpha0
2019-06-10 03:10:39.688276: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1
2019-06-10 03:10:39.775107: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-06-10 03:10:39.775558: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: Tesla T4 major: 7 minor: 5 memoryClockRate(GHz): 1.59
pciBusID: 0000:00:04.0
2019-06-10 03:10:39.798707: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-06-10 03:10:39.958916: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-06-10 03:10:40.032897: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcufft.so.10.0
2019-06-10 03:10:40.050421: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcurand.so.10.0
2019-06-10 03:10:40.183197: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusolver.so.10.0
2019-06-10 03:10:40.286011: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusparse.so.10.0
2019-06-10 03:10:40.620983: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-06-10 03:10:40.621231: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-06-10 03:10:40.621760: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-06-10 03:10:40.622122: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-06-10 03:10:40.628272: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-06-10 03:10:40.800975: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-06-10 03:10:40.804767: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x29ac300 executing computations on platform CUDA. Devices:
2019-06-10 03:10:40.804807: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): Tesla T4, Compute Capability 7.5
2019-06-10 03:10:40.888533: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2019-06-10 03:10:40.888737: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x29acbc0 executing computations on platform Host. Devices:
2019-06-10 03:10:40.888768: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): <undefined>, <undefined>
2019-06-10 03:10:40.889062: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-06-10 03:10:40.889477: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: Tesla T4 major: 7 minor: 5 memoryClockRate(GHz): 1.59
pciBusID: 0000:00:04.0
2019-06-10 03:10:40.889555: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-06-10 03:10:40.889580: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-06-10 03:10:40.889601: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcufft.so.10.0
2019-06-10 03:10:40.889623: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcurand.so.10.0
2019-06-10 03:10:40.889641: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusolver.so.10.0
2019-06-10 03:10:40.889659: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusparse.so.10.0
2019-06-10 03:10:40.889679: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-06-10 03:10:40.889776: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-06-10 03:10:40.890166: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-06-10 03:10:40.890578: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-06-10 03:10:40.893860: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-06-10 03:10:40.895061: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-06-10 03:10:40.895092: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187]      0
2019-06-10 03:10:40.895105: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0:   N
2019-06-10 03:10:40.902720: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-06-10 03:10:40.903146: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-06-10 03:10:40.903526: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:39] Overriding allow_growth setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.
2019-06-10 03:10:40.903571: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 14202 MB memory) -> physical GPU (device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5)
2019-06-10 03:10:40.928132: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 388579200 exceeds 10% of system memory.
2019-06-10 03:10:41.602882: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 388579200 exceeds 10% of system memory.
2019-06-10 03:10:41.835533: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 388579200 exceeds 10% of system memory.
I0610 03:10:42.373863<PHONE_NUMBER>51200 lstm.py:580] LSTM, act is tanh
I0610 03:10:47.659146<PHONE_NUMBER>51200 lstm.py:716] build model -> done
W0610 03:10:47.744854<PHONE_NUMBER>51200 deprecation.py:323] From /usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/math_grad.py:1205: add_dispatch_support.<locals>.wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where

Epoch 00001: LearningRateScheduler reducing learning rate to 0.000625.
Epoch 1/4
2019-06-10 03:10:50.361292: E tensorflow/core/grappler/optimizers/meta_optimizer.cc:502] constant folding failed: Invalid argument: Unsupported type: 21
2019-06-10 03:10:50.708566: E tensorflow/core/grappler/optimizers/meta_optimizer.cc:502] constant folding failed: Invalid argument: Unsupported type: 21
2019-06-10 03:10:51.075378: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1483] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set.  If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU.  To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
2019-06-10 03:10:51.252533: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-06-10 03:10:52.298371: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 55296000 exceeds 10% of system memory.
2019-06-10 03:10:57.025235: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 388579200 exceeds 10% of system memory.

Describe the expected behavior
Model fitting should run successfully in GPU.
Code to reproduce the issue
from tensorflow.keras.layers import LSTM, Bidirectional, GlobalMaxPooling1D, GlobalAveragePooling1D, PReLU
...
...
    def build_lstm_model_customed(self, num_aux_targets, with_aux=False, loss='binary_crossentropy', metrics=None,
                                  hidden_act='relu', with_BN=False):
        logger.debug(f'model detail: loss {loss}, hidden_act {hidden_act}, with_BN {with_BN}')
        words = Input(shape=(d.MAX_LEN,))  # (None, 180)
        x = Embedding(*self.embedding_matrix.shape, weights=[self.embedding_matrix], trainable=False)(words)

        x = SpatialDropout1D(0.2)(x)
        logger.debug("LSTM, act is tanh")
        x = Bidirectional(LSTM(LSTM_UNITS, activation='tanh', return_sequences=True))(x)
        x = Bidirectional(LSTM(LSTM_UNITS, activation='tanh', return_sequences=True))(x)

        hidden = concatenate([
            AttentionRaffel(d.MAX_LEN, name="attention_after_lstm")(x),
            GlobalMaxPooling1D()(x),
            #GlobalAveragePooling1D()(x),
        ])

        activate_type = hidden_act
        if activate_type == 'prelu':  # found it not working
            hidden = add([hidden, PReLU()(Dense(DENSE_HIDDEN_UNITS, activation=None)(hidden))])
            if with_BN: hidden = BatchNormalization()(hidden)
            hidden = add([hidden, PReLU()(Dense(DENSE_HIDDEN_UNITS, activation=None)(hidden))])
        else:
            hidden = add([hidden, Dense(DENSE_HIDDEN_UNITS, activation=activate_type)(hidden)])
            if with_BN: hidden = BatchNormalization()(hidden)
            hidden = add([hidden, Dense(DENSE_HIDDEN_UNITS, activation=activate_type)(hidden)])

        logit = Dense(1, activation=None)(hidden)
        result = Activation('sigmoid')(logit)

        if with_aux:
            aux_result = Dense(num_aux_targets, activation='sigmoid')(hidden)
            model = Model(inputs=words, outputs=[result, aux_result])
        else:
            model = Model(inputs=words, outputs=result)

        model.compile(loss=loss, optimizer='adam', metrics=metrics)

        return model

    model = build_lstm_model_customed(0)
    model.fit(X,y)

Other info / logs
== check os platform ===============================================
os: Linux
os kernel version: #1 SMP Wed Dec 19 21:19:13 PST 2018
os release version: 4.14.79+
os platform: Linux-4.14.79+-x86_64-with-Ubuntu-18.04-bionic
linux distribution: ('Ubuntu', '18.04', 'bionic')
linux os distribution: ('Ubuntu', '18.04', 'bionic')
mac version: ('', ('', '', ''), '')
uname: uname_result(system='Linux', node='d8cb89680c63', release='4.14.79+', version='#1 SMP Wed Dec 19 21:19:13 PST 2018', machine='x86_64', processor='x86_64')
architecture: ('64bit', '')
machine: x86_64

== are we in docker =============================================
Yes

== compiler =====================================================
c++ (Ubuntu 7.4.0-1ubuntu1~18.04) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

== check pips ===================================================
mesh-tensorflow          0.0.5
msgpack-numpy            <IP_ADDRESS>
numpy                    1.16.4
protobuf                 3.7.1
tensorflow               1.13.1
tensorflow-estimator     1.13.0
tensorflow-gpu           2.0.0b0
tensorflow-hub           0.4.0
tensorflow-metadata      0.13.0
tensorflow-probability   0.6.0

== check for virtualenv =========================================
False

== tensorflow import ============================================
tf.version.VERSION = 2.0.0-beta0
tf.version.GIT_VERSION = v1.12.1-3259-gf59745a381
tf.version.COMPILER_VERSION = 4.8.5

@pennz Looks code snippet is incomplete. In order to expedite the trouble-shooting process, please provide a minimal code snippet to reproduce the issue reported here. Thanks!

@gadagashwini Thanks for your help. Testing with minimal code really helps. I tested with a minimal code snippet, and the LSTM can work in the GPU. This is the code snippet for testing LSTM: url.
So the problem is somewhere else. Close this issue.
Thanks.


docs: new python tutorial

@jaredKreppein please see Alan's comments about the Python naming nomenclature for future documentation efforts.


How to know when an ImageMarker leaves the camera view

Environment
Please provide the following information about your environment:

Development OS: Mac
Device OS & Version: iOS 13.5
Version: ViroReact: 2.17.0, React Native 0.59.9

Description
This is less of a bug but more of a question since it is not documented anywhere.
I am trying to register/get a callback when an image that is tracked by an image marker leaves the camera view.
So far, the only reference to this functionality is a Github issue from 2018 where it is stated that this is not possible.
However, seeing the new functionality numberOfTrackedImages on ViroARSceneNavigator, it makes me wonder if there is really no way to go about this. Specifically, I have an image marker that starts playing a video when recognized and I want to pause the video when the image marker is out of view.
I would be extremely grateful for any help!

It is possible now. refer to onAnchorFound an onAnchorUpdated props of ViroARImageMarker. they both return anchor which has payload of
{
    anchorId: "179966347"
    position: (3) [0.15277858078479767, -0.13718199729919434, -0.005307585000991821]
    rotation: (3) [40.990816813225, -39.02895767226014, 11.46326357838331]
    scale: (3) [1, 1, 1]
    trackingMethod: "lastKnownPose"
    type: "image"
}

trackingMethod will be lastKnownPose when image marker leaves the camera and tracking when it's in the camera's view.
ref: docs

they both return anchor...

Actually anchor params returns a trackingMethod on Android only.

is there a way to use the trackingMethod attribute in iPhone? @bastienrobert

@AlexisHolyoak I didn't find a way


[REACT 18] Race condition in applications when Strict Mode is turned on.

Describe the issue:
When @asgardeo/auth-react is used in a React 18 application with strict mode, it goes in to an infinite loop.

How to reproduce:

Create a react app with CRA
Integrate Asgardeo Auth React. (Guide https://wso2.com/asgardeo/docs/get-started/try-your-own-app/react/#prerequisites)

Expected behavior:
The application shouldn't loop.
Additional Context:
This seems to happening due to the ensuring-reusable-state feature in Strict Mode in React 18.
The use effect inside Auth Provider is called twice causing a race condition. (https://github.com/asgardeo/asgardeo-auth-react-sdk/blob/v1.1.15/lib/src/authenticate.tsx#L149)

Fixes https://github.com/asgardeo/asgardeo-auth-react-sdk/pull/128


Include namespace directory to Controller path and go to method in the controller

Nice work this does for me but I will like to report two major issues

It would be great if we could go to method rather than just going to the controller. This is definitely an enhancement.
In my current project, I have a multi-auth setup and to implement this, I copied all of laravel's default auth controllers into a new namespace and overrode their methods. So in essence, I have some controllers with the same name but in different directories.

E.g
Route::group(['namespace' => 'Web\Auth'], function () {
    Route::get('/password/reset', 'ForgotPasswordController@showLinkRequestForm');
    Route::post('/password/email', 'ForgotPasswordController@sendResetLinkEmail');
    Route::post('/password/reset', 'ResetPasswordController@reset');
    Route::get('/password/reset/{token}', 'ResetPasswordController@showResetForm');
});

But when I want to go to these sets of controllers, the extension does not factor in the namesapce at the top of the route group into the path of the controllers. The result is that I am taken to the default laravel auth controllers located in App\Http\Controllers\Auth.
Thanks for the extension once again

i think what u need is only doable with a language server but as the extension is currently a regex based it wont be possible unless @stef-k have a better idea

I think it could be done to some level. The disadvantage of this approach is that all the search and resolve to link is done at editor/project startup/load. With language server the process of resolving new symbols is async and continuous.
Unfortunately I haven't much free time to work on new features; any PRs will be welcomed though.

I needed this in most of my projects and coded an extension for that - https://marketplace.visualstudio.com/items?itemName=freshbitsweb.laravel-traveller

I noticed the same issue on my project. I use groups with namespaces and the extension gets only the Admin controllers, because the controllers have the same name but are in different groups.
Example:
/**
 * Admin Section
 */
Route::group([
    'prefix' => 'admin',
    'namespace' => 'Admin'
], function () {
Route::get('orders', 'OrderController@orders')->name('orders');
});

/**
 * User Section
 */
Route::group([
    'prefix' => 'user',
    'namespace' => 'User'
], function () {
Route::get('orders', 'OrderController@orders')->name('orders');
});

Unfortunately  I don't have time to work on this feature, PRs are always welcomed.

Unfortunately I don't have time to work on this feature, PRs are always welcomed.

Well that is my cue to learn Typescript and VSCode extension development. I would love to help improve useful extensions like yours, I just don't know how. But I will take a look.
I am not sure about how to find the correct method, but for the namespace issue I do have an idea how it could be solved. It is basic searching for the namespace key in the group and applying on the search for the controller. At least on paper it is easy 😅


Move away from Bintray

Starting May 1st 2021 packages can no longer be downloaded from Bintray.
Please find an alternative way to distribute the packages so software that depends on this project can still be built five days from now. Let me know if I can help.

hi, please move to Maven.
can't resolve library and have a big problem
thank you
@suparngp

Our product depends of your project and it faced out this issue, You should acting out to migration to other distribute.
Many Thanks @suparngp.

Thanks for opening this issue. I wasn't aware of this change. Looking into options.

In progress https://issues.sonatype.org/browse/OSSRH-68542

@suparngp

I am just waiting for someone to on OSS Jira to approve access. Everything else is in place. Almost there.

I was able to publish the first version of utilities package. Now waiting for someone on the JIRA ticket to sync the repo to maven central.
In the meantime, please leave a 👍 if you want me to bump the version or a 👎 if you want it to be the same as the last version published on the Bintray.
Thank you for the patience.

Hey @suparngp You have to close and next release  after uploaded artifact in sonatype panel, please check it quickly dude.

@ImanX and what gives the impression that I didn't already do that, dude? 🙂
Anyways, the released repo is now synced to maven central. I ll publish the rest of the packages today.

All packages are now available on maven under com.suparnatural.kotlin.
https://repo1.maven.org/maven2/com/suparnatural/kotlin/

All packages are now available on maven under com.suparnatural.kotlin.
https://repo1.maven.org/maven2/com/suparnatural/kotlin/

Thank you dude. <3


Can't remove AnyCPU from project platform list in solution Configuration Manager

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net452</TargetFramework>
    <RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
    <AssemblyName>Testx64</AssemblyName>
    <PlatformTarget>x64</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
</Project>

Expected:
Solution Configuration Manager lists one Platform for this project: x64
Actual:
Solution Configuration Manager lists two Platforms for this project: Any CPU and x64.
Choosing <Edit...> and Remove on the Any CPU configuration does nothing (can't delete that platform).

Thanks - we're aware of this, and tracking it a part of https://github.com/dotnet/roslyn-project-system/issues/694, which has a PR out: https://github.com/dotnet/roslyn-project-system/pull/1771.


No extension point for the calendar view in Outlook.

I would like to have an add-in visible only when we click on the calendar view in Outlook. But currently I don't see any extension point for that. Or am I missing anything here?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 06e092f1-aa6a-45b5-50ce-a1afca772776
Version Independent ID: fa9c31b7-b63a-9867-f298-4d579b899c30
Content: ExtensionPoint element in the manifest file - Office Add-ins
Content Source: docs/reference/manifest/extensionpoint.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Thanks for asking @vinaymundada27.
@exextoc Is this an available Outlook feature?

Hi @vinaymundada27, There are 2 extension points for Calendar:

AppointmentAttendeeCommandSurface, which shows when a user views a meeting that they are invited to.
AppointmentOrganizerCommandSurface, which shows when a user views a meeting that they created.

If you have a different scenario that you'd like to request, you're welcome to suggest it on our UserVoice.

Yes these ones I am aware of. But these extension points are when a user/organizer opens the appointment form/window. I am looking for an extension point wherein, the add-in button should appear on the top ribbon as soon as I switch from my mailbox to the calendar view in Outlook.

This is not possible today. We track Outlook add-in feature requests on our UserVoice. It looks like the feature you want has been requested by others already. Please upvote the existing request. Feature requests on user-voice are considered when we go through our planning process.

Thanks @exextoc and @vinaymundada27. I'm going to close this issue, since it's a feature request, not a documentation issue. Please upvote the UserVoice request.

Hi, @Ayko1595. Thanks for reaching out. This feature hasn't been implemented. We now use the Microsoft 365 Developer Platform Ideas Forum for feature requests. Please try to search for the previous request there and upvote it. If you're unable to find the request, select Submit an Idea to create a new feature request.


added tasks for cataloging installed packages

Added tasks to catalog the installed packages on a node
@RackHD/corecommitters

👍

*** BUILD #637 ***
Test Name: test_node_workflows_del_active
Error Details: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Content-Length': '78', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"4e-hHrvbdnBj0lQQTuR2SasnA"', 'Date': 'Wed, 27 Apr 2016 22:27:33 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"TaskCancellationError: Failed to cancel 57213cd3a8b34fb0f3bbfebd"}

Stack Trace: Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/var/lib/jenkins/jobs/on-tasks/workspace/RackHD/test/tests/api/v2_0/nodes_tests.py", line 340, in test_node_workflows_del_active
    raise e
ApiException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Content-Length': '78', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"4e-hHrvbdnBj0lQQTuR2SasnA"', 'Date': 'Wed, 27 Apr 2016 22:27:33 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"TaskCancellationError: Failed to cancel 57213cd3a8b34fb0f3bbfebd"}

test this please

@VulpesArtificem , each task definition will map to a test case file, you just need to copy one and with minor modification.
:+1: after adding the unit-test.

:+1: with unit tests

@VulpesArtificem: What about adding one for esxi to catalog vib: 'esxcli --debug --formatter=json software vib list'

@zyoung51 Yep, that will probably come as a follow-on work item/PR.


ISPN-14756 Remove JCache support

https://issues.redhat.com/browse/ISPN-14756

@ryanemerson is this rebased on top of main or are the RemoteStoreSSLTest failures related? :scream:

@pruivo It wasn't rebased. Done now.

Merged, thanks


⚠ 한경주요지수-코스피200 has degraded performance

In 5ed4701, 한경주요지수-코스피200 (https://markets.hankyung.com/indices/kospi200) experienced degraded performance:

HTTP code: 200
Response time: 28279 ms

Resolved: 한경주요지수-코스피200 performance has improved in cceb1dc.


Remove obsolete methods add, update, and remove component methods from the core module

We're moving to using ONLY ecsact_execute_systems execution_options_list parameter for adding/removing/updating components. This is more in line with our new Async API and we decided having two options for these operations was not necessary. The obsolete methods required locking system execution while only adding a slight benefit.
Removing the following methods from the Core module

ecsact_add_component
ecsact_update_component
ecsact_remove_component

No other changes are required in the ecsact runtime since we are removing the first method of adding/removing/updating components and the second method (using execution options) was always valid.
Other repositories that need updates

ecsact_unity- refactor the add/remove/update to use execution options
ecsact_rt_entt - simply remove the methods and update tests if they are being used in tests

This is no longer the case. We've evaluated that the synchronouse core methods are useful for tooling. We may look at separating execution options and system execution as an alternative, but for now they're being kept.


Question on deprecated keyword Add Location Strategy in Selenium2Library

Originally submitted to Google Code by hemamalinikannan on 12 Jul 2012

https://code.google.com/p/robotframework-seleniumlibrary/issues/detail?id=59
This is in reference to this ticket.
Radek was my colleague. :) Now that this keyword is dropped in Sel2 (which we are on the trial mode with), is there a better way you would suggest to incorporate jQuery in Seleniuim 2 or can Add Location Strategy be brought back to Sel2 in anyway? We could use css selectors but it would be a major change across. Please advice.
Thank You
Hema

Originally submitted to Google Code by @yanne on 29 Jul 2012

Hello Hema.
I think this issue should be taken up with the Selenium2 library developers, via a github issue. I have no intimate knowledge about how locators are implemented/supported with Selenium 2, so cannot unfortunately help you with that.
In any case, this issue is not directly related to SeleniumLibrary and I am thus closing it.

Originally submitted to Google Code by hemamalinikannan on 1 Aug 2012

On Mon, Jul 30, 2012 at 1:47 AM, <
<EMAIL_ADDRESS>wrote:
Hi, Yes I already spoke about this to selenium2library developer in github.


feat: add Hindi translate strings

Type of Pull Request

[ ] Bug fix
[x] Enhancement

Related Issue #s or links (if any): #67
Description of Changes
In this PR I added support to Hindi.
I chose not to translate the name of the tools completely because it might create confusion for the users.

@dlford I did it , but unable to understand this part "next-i18next.config.js"


[Service Bus Client] Detect Closed Shared Connection

Summary
The focus of these changes is to guard against a shared connection being closed when the ServiceBusClient that spawned a sender/receiver/processor is.  Previously, the sender and receiver did not validate the connection status and would trigger exception behavior in the AMQP library, where the type of exception could vary depending on the library's internal state. This scenario will now trigger a consistent ObjectDisposedException with an error message stating that the connection was closed.
The processor would trigger the AMQP exception and fail to recognize it as fatal; signaling the customer error handler and continuing to retry forever, though it cannot recover.  The exception surfaced did not provide customers enough context to differentiate between the fatal scenario and one that was recoverable.  The processor will now detect the connection being closed and interpret that  as fatal, signaling the customer exception handler with a ServiceBusException that indicates an unrecoverable scenario and will then stop processing.
Last Upstream Rebase
Tuesday, April 20, 4am (EDT)
References and Related

[Service Bus: System.ObjectDisposedException when opening a receiver link (#19731)
[Event Hubs Client] Detect Closed Shared Connection (#20469)

/azp run net - servicebus - tests

/azp run net - servicebus - tests

/azp run net - servicebus - tests


Discuss: Credential expiry policies

We sometimes encounter use cases where it's demanded that credentials created by service bindings carry an explicit expiry policy. For example, a credential created for a database must be rotated at least every 180 days. A similar issue exists around service keys (though they are Cloud Foundry specific and mostly unnecessary in my experience when cf ssh tunnels are available).
I see this has not been discussed before within the context of the OSB API spec and want to check in with the community to see if there's a wider demand/recognition of this topic?
There are multiple ways to attack this i.e. the responsibility matrix [expiry policy configuration, expiry enforcement] * [service broker, platform] but I think it makes sense to gather a few other interested parties first before discussing this in detail.

Hey @JohannesRudolph
You're right that this has been discussed before in this group! From what I remember, the last time we chatted about this we came to the following conclusions:

Service brokers using credential stores (like CredHub) don't really need any support from the spec. here, as those credential stores can take care of rotating things (although in CF, additional tooling needs to be built to restart apps using those credentials)
Credential rotation can be performed by unbinding a service instance and then creating a new binding to it, since each binding should contain unique credentials (platform-side automation could be built to handle this)

Typically, the credential rotation policy would be set by a service operator / admin, rather than the service provider, and therefore I'm not sure how we could add this into the service broker side of OSBAPI. Happy to hear ideas on this though!

hey @mattmcneeney, great to hear that. We were exactly thinking about going the second route. We also feel this is much more a platform side of thing (the platform is the source of truth after all) and it has much better ways to control rotation and e.g. notify users about it etc. I do also agree that re-creating bindings is the best way to go.
I think a potential touch-point with OSBAPI would be for brokers to be able to define sort of a desired credential rotation policy in their catalog (usually on a per service level). The marketplace may or may not decide to stick to that. For now, we're thinking about solving this by storing an expiry policy at a per-broker level in our platform.
Do you think that "binding expiry" would have a place in the catalog API? It could also be part of an informal metadata convention (like pricing info currently is).

Thanks for the info! This sounds like something that could go in the Catalog Extensions section of the profile.md doc. This could be a CF-specific thing, but I'm interested if any of the Kuberenetes/service-catalog folks have heard of a similar requirement? @duglin @pmorie etc (feel free to tag others)
Are there any service authors out there who have wanted to be able to define recommended credential rotation policies for their service offerings?


[KBM] Add ability to start a program (with some arguments)

Description of the new feature / enhancement
In the "Remap a shortcut" screen or a new section, allow users to add launch an application, with some arguments and specify if the application should be hidden or shown.
Scenario when this would be used?
I would like to use to run "utility" programs such as "Actual Hide Desktop Icons" and such.
Being able to use "chords" and not just shortcuts would be a great option also.
Of course, a full-blown copy of "AutoHotkey" is not needed.
It might be neat to also be able to run a Windows "Task Scheduler" task by name, or it could use the Task Scheduler to facilitate do the hard work, by managing some tasks which are created in Task Scheduler, which are set to allow On Demand and also have no Triggers defined.
Supporting information
No response

/dup #3350


Adam's tasks

@fishguyFHL please segment right forelimb

I got the assignment!
-Adam
Adam P. Summers
Mellon Research Training Faculty Fellow
Professor - Biology - SAFS
Friday Harbor Laboratories
University of Washington
620 University Dr.
Friday Harbor, WA 98250
cell<PHONE_NUMBER>
Adam's lab website : http://faculty.washington.edu/fishguy

On Oct 30, 2024, at 3:46 PM, amm554 @.***> wrote:
@FishguyFHL https://urldefense.com/v3/__https://github.com/FishguyFHL__;!!K-Hz7m0Vt54!nn52E36f7wl8DvZrhxYwRI0_PRkXbJSaMxHQ-F3WS0KpF94VZ4jkOBrQHMo4Rzs9zF9D_dYLwuqfZwbZ5cZ4GQM$ please segment right forelimb
—
Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/amm554/MD_Mus_musculus/issues/10__;!!K-Hz7m0Vt54!nn52E36f7wl8DvZrhxYwRI0_PRkXbJSaMxHQ-F3WS0KpF94VZ4jkOBrQHMo4Rzs9zF9D_dYLwuqfZwbZ1HakgDA$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AKC7P7GV66FPIGQQSJOVX53Z6FOVFAVCNFSM6AAAAABQ5ENS4KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDKNJSGQYTKNQ__;!!K-Hz7m0Vt54!nn52E36f7wl8DvZrhxYwRI0_PRkXbJSaMxHQ-F3WS0KpF94VZ4jkOBrQHMo4Rzs9zF9D_dYLwuqfZwbZ-baWiW8$.
You are receiving this because you were mentioned.

I have no real comment to make...but this is meaningful.


clustermesh: add MCS-API user docs

Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[ ] Thanks for contributing!

Add MCS-API docs and rework a bit the clustermesh example deployment to update nginx and make both clustermesh examples have some common deployment manifests.
Add documentation for clustermesh MCS-API support

/test


Added Tidy Tabs for Visual Studio extension

Hi, I have a bunch of merge conflicts. Would you mind resolving yours for me? Thanks!

@ExtendVS Merge conflicts are fixed, thanks!


refactor(navItems): use same markup as flarum/core

Summary:

Remove classes of the new LinkButton to match the markup of other Buttons in the side navigation on the Users Page stemming from flarum/core

Many thanks for the contribution @DavideIadeluca !


CelebA weights

Hi, awesome work!
Can you please share a link to download the CelebA weights?

Hi,
Do you mean DDPM weights? For evaluation on CelebA, we use FFHQ models. So, we didn't train a DDPM on CelebA.

If you still have questions, please feel free to reopen the issue.


Use hummingbird with synapseML

Can we use hummingbird with synapseML model?

I want to convert this model, but current have problems.

Hi! I assume this is LightGBM from SynapseML, right? The trace is truncated but since it is going into _convert_sparkml I presume that is the case. So if this is true, we don't currently support the LightGBM implementation in SynapseML (although we support the original LightGBM library). I think it is possible to add the SynapseML LightGBM support into Hummingbird if you need it. Question: are you using a machine with GPU? Otherwise I am not sure Hummingbird will be able to accelerate this model on CPU.

Hi! Thank you for your quick response.
I'm using CPU and have to find method to speedup prediction step.


EML to MSG conversion not working

I have been using mrmapi successfully for almost two years with Outlook 2013.
Unfortunately after migrating to Outlook 2016 or just after some updates to Outlook 2016 (I don't know exactly when it has started happening but I think it was a month ago) mrmapi stopped working and my project on github (mailsync) is useless because I can't do conversion from EML to MSG (outlook format).
When I invoke mrmapi (with Outlook 2016 x86 installed), with following parameters (-Ma -i input.eml -o output.msg -Cc CCSF_SMTP) I am receiving following error "MAPI <-> MIME converter not found. Perhaps Outlook is not installed.".
And small unreadable for Outlook file is being saved to drive.
When I invoke EML to MSG conversion from GUI (MFCMAPI), I am receiving three message boxes:
"Error: IConverterSession not found. This interface is only supported by Outlook 2003 and higher.
Code: REGDB_E_CLASSNOTREG == 0x80040154
Function CoCreateInstance(CLSID_IConverterSession, NULL, CLSCTX_INPROC_SERVER, IID_IConverterSession, reinterpret_cast<LPVOID*>(&lpConverter))
File MapiMime.cpp
Line 27"
second:
"Error:
Code: REGDB_E_CLASSNOTREG == 0x80040154
Function ImportEMLToIMessage( lpszEMLFile, pMessage, ulConvertFlags, bApply, hCharSet, cSetApplyType, lpAdrBook)
File MapiMime.cpp
Line 173"
third:
"Error:
Code: REGDB_E_CLASSNOTREG == 0x80040154
Function ConvertEMLToMSG( emlfile.c_str(), msgfile.c_str(), ulConvertFlags, bDoApply, hCharSet, cSetApplyType, lpAdrBook, bUnicode)
File Dialogs\ContentsTable\MainDlg.cpp
Line 1723"
It happens both on newest version of Your software (November 2016) and on older versions as well.
Has someone report such errors?
Maybe it is business decision to stop supporting conversions in newest Outlook version (such functionality has been working fine with previous outlook versions)? It would be very sad decision.

Workaround is to install Outlook 2013 along with Outlook 2016 - definitely not convenient. Maybe you could discover which part of software is directly needed and why it has been removed from newest version

Nothing was removed - this is a known issue with Outlook installed via Click To Run. The interfaces MFCMAPI needs are there, but they're not registered. If they were registered, the side-by-side scenario kansasdev offers would not only not work, but one of the Outlook's would constantly crash.

Dear sir
I am still having problems with above process. I have installed Office 2016 32 bits via Click 2 Run and added some data to registry like shown here https://blogs.msdn.microsoft.com/stephen_griffin/2014/04/21/outlook-2013-click-to-run-and-com-interfaces/.My registry looks like this:
rem IConverterSession reg copy HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Wow6432Node\CLSID\{4E3A7680-B77A-11D0-9DA5-00C04FD65685} HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{4E3A7680-B77A-11D0-9DA5-00C04FD65685} /s /f rem IMimeMessage reg copy HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Wow6432Node\CLSID\{9EADBD1A-447B-4240-A9DD-73FE7C53A981} HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{9EADBD1A-447B-4240-A9DD-73FE7C53A981} /s /f
I am invoking application like this
MrMapi -Ma -i input.eml -o output.msg -Cc CCSF_SMTP and mrmapi crashes like desribed here:
https://github.com/stephenegriffin/mfcmapi/issues/54
Do you have any advices on that?
If it is C2R issue - do you have any workarounds on that? How to install Outlook properly, to have your software working properly? Maybe I should start my fresh installation of office on PC from Office 2010 and then I should do upgrade to future versions?
MrMAPI.exe, ver 17.0.17099.1
OUTLMIME.DLL. ver: 16.0.8730.2046 (from Office 1711)
Thank you for any answer


Add instructions for setting up Jutut

Description
What?
Add instructions on how a course can start using Jutut. Provide general instructions for creating feedback exercises, making the necessary changes in conf.py, as well as adding Jutut to the side menu.
Why?
There haven't been clear instructions for teachers before, and many teachers have been unsure how to start using Jutut
How?
Adding a chapter to Aplus manual
Testing
Remember to add or update unit tests for new features and changes.

How to test your changes in A-plus
How to test accessibility

What type of test did you run?

[ ] Accessibility test using the WAVE extension.
[ ] Django unit tests.
[ ] Selenium tests.
[ ] Other test. (Add a description below)
[x] Manual testing.

Tested the A+ chapter manually.
Someone should check if following these instructions is enough for setting up Jutut in the production environment
Did you test the changes in

[ ] Chrome
[x] Firefox
[ ] This pull request cannot be tested in the browser.

Think of what is affected by these changes and could become broken
Translation

[ ] Did you modify or add new strings in the user interface? (Read about how to create translation)

Programming style

[x] Did you follow our style guides?
[ ] Did you use Python type hinting in all functions that you added or edited? (type hints for function parameters and return values)

Have you updated the README or other relevant documentation?

[ ] documents inside the doc directory.
[ ] README.md.
[x] Aplus Manual.
[ ] Other documentation (mention below which documentation).

Is it Done?

[ ] Reviewer has finished the code review
[ ] After the review, the developer has made changes accordingly
[ ] Customer/Teacher has accepted the implementation of the feature

Clean up your git commit history before submitting the pull request!

I'm not sure why, but I get this error when I delete the previous _build directory and then try to build:
...
reading sources... [ 30%] languages/languages

Sphinx error:
Missing translation for up and key question
make: *** [Makefile:33: html] Error 2

Yep, I have the same problem (also when making changes to the file), I always first have to compile a version without this chapter and only after that build a version with this chapter. I have no idea where this issue comes from and how it could be fixed.


Enable GitHub Pages-based documentation

@tbolon, I have pushed a new branch to publish GitHub Pages-based documentation for the layout. Would you please setup GitHub Pages publishing in the repository settings ?

The site has been published https://tbolon.github.io/optimized-azerty-win/


Workflow API to check if ContinueAsNew is required

When writing infinitely running Workflows, handling ContinueAsNew becomes an immediate requirement in the design. For applications that have multiple infinitely running Workflow types, managing the correct ContinueAsNew timing/behavior becomes tedious and frustrating.
To solve this problem, I personally resorted to wrapping the Workflow API in a struct. This essentially functions as an unofficial interceptor and maintains a counter of "actions" (transitions basically) by incrementing the count each time a stateful API is called (ExecuteActivity, SignalWorkflow etc). Then each infinitely running Workflow is required to regularly check the counter and see if its exceeded the safe threshold. If it has, we then ContinueAsNew.
It would be ideal if this was provided out of the box. Ideally on the Client it would be possible to specify the safe limits for a given Workflow type such that the API can be dynamically configured for each specific case. At minimum it would be great to know the number of events and history size for a Workflow.

This was already requested for TS https://github.com/temporalio/sdk-typescript/issues/357.
Once we implement it there we'll port to the other SDKs.

The history size is now available in WorkflowInfo protobuf so this should be easy to add.


Add video support

This involves:

[ ] checking how the system behaves when sending and processing much bigger data chunks
[x] adding abstraction over NIFs (https://github.com/membraneframework/membrane-native/issues/1)
[x] adding native payload type #68

@mat-hek @jarekdragan the last checkbox (adding mechanism for streams synchronization) is huge, it should not be marked as v0.2.

What is the status on this I would like to test this feature

@mrkaspa In fact, this is already done. Some elements that may be useful:

https://github.com/membraneframework/membrane-element-ffmpeg-h264
https://github.com/membraneframework/membrane-element-sdl
https://github.com/membraneframework/membrane-element-rtp-h264


Rewrites some TeX sample files to remove TestMath.

Removes no longer existing TestMath from some of the files.
Before I continue, we should discuss, which of these are still useful.
For example, it seems to me that tex-nodes.js does the same as tex2mml.js.

All of the samples need to be gone through in light of the changes that have occurred over time, but particularly the recent ones.  But they are all going to be moved to the dev repository (that I will be making once the code settles down), so I put that off for now.

it seems to me that tex-nodes.js does the same as tex2mml.js.

They are close, but not quite: tex-nodes.js output includes all inherited attributes as well as the explicit ones, plus a could other computed values for debugging purposes, whereas tex2mml.js just puts out the serialized MathML itself (no inherited or other values).

I rewrote the state in the wrong file. Thanks for spotting this.
Should be fine now.


Not able to add existing DB objects to Git SCM by right clicking on an object.

SQL Operations Studio Version:

Steps to Reproduce:

Could you provide more information about what you're trying to do? The exact steps would be important to understand what the ask is.

closing this issue since there is no detail for the feature request.


#7 added footer

added a basic footer component
Description
added a footer component in frontend
Issue Resolved
Fixes #7
Screenshots
Provided
Checklist
Please make sure to review the following before submitting your PR:

[✔ ] I have read the contribution guidelines.
[ ✔] I have read the code of conduct.
[✔ ] I have reviewed my submission in detail.

added the component to homepage

sir do i need to add this to other pages also ?

the icons and text are link tags to corresponding pages

sir kindly review this

Yeah, just increase the size of the title and logo and the social media icons and center them  vertically

sir they are already vertically centered

after increasing sizes

By vertically I meant, at the center of the height of the footer but chalo this looks fine as well

By vertically I meant, at the center of the height of the footer but chalo this looks fine as well

oh sorry 😢

pwoc site kind footer mtlb 🤔

Kinda


Conditionals rework

closes https://github.com/SexualHealthInnovations/django-wizard-builder/issues/91

WIP

tests passed on local for most recent commit


Problems with "chunk cache"

Commit 95963c5316981219e8bd2c4f2904d901c97a2538 does not actually add a chunk cache. Chunks are already cached in _loadedChunkData. The purpose of _loadedChunks is to find out via weakrefs whether any clients of MCInfdevOldLevel are holding references to a chunk, to find out if it is safe to evict a cached chunk from _loadedChunkData once the number of chunks exceeds loadedChunkLimit.
That commit effectively bypasses the limit by holding an unlimited number of chunks in _loadedChunks.
The problem I think you are trying to address is that when chunks are evicted from _loadedChunkData, they are not evicted in any particular order - whichever one comes first in the dict implementation gets evicted. This will clearly lead to "cache thrashing" when the most recently loaded chunks are repeatedly evicted and then loaded again. The proper solution is to make _loadedChunkData know which chunks have been least recently used (an LRU cache, a well-known data structure). I had meant to make that change for some time - if you look at https://github.com/Khroki/MCEdit-Unified/blob/master/pymclevel/cachefunc.py, you'll find an LRU cache implementation there. It just has to be adapted into a dict-like data structure (or changed in such a way that when entries are evicted, the chunk can be written to unsavedWorkFolder if needed) instead of one that wraps a function.
One problem this commit creates is that MCInfdevOldLevel will not know if it is safe to evict a chunk from the cache. If the cleanup is triggered while any client still has a reference to a chunk, that chunk will be "lost" - MCInfdevOldLevel won't know about it any more and any changes made to that chunk won't have any effect. If MCInfdevOldLevel is asked for that chunk again it will return an entirely new AnvilChunk with an entirely new AnvilChunkData behind it. This is precisely the problem that the weakref dict _loadedChunks is meant to solve.

This all would probably be clearer if _loadedChunks were renamed to _referencedChunks and _loadedChunkData to _cachedChunks

We'll let Rubisk know, although if you see something you want to fix, we always welcome pull requests.

This is a change that also needs to be made in MCEdit 2, so I'll backport it for you when I get around to it.
Thinking on it some more, that problem in the last paragraph will affect any algorithm which has to load several chunks at once and then modify them. Any algorithm which modifies a chunk and its neighbors will be affected. In particular, the old lighting algorithm you use does this a lot. I suggest reverting this change.

I have a hard time understanding what you're saying, but I'm assuming this is what you mean:
-loadedChunkData holds the actual chunks.
-loadedChunks holds just some wrappers around the chunks, just to figure out what chunks are not being referenced by other algorithms (figure out what cna't be decached)
-Once all pointers to a chunk are lost, it will get removed out of loadedChunks
-Once there's more then 400 chunkData's, it all clean up those that aren't in loadedChunks
And know I made it so it takes time, not no-references, to remove them out of loadedChunks. I guess that's indeed bad. But can't we just add a timeLastChanged to all AnvilChunkData objects and sort the dictionary by that before decaching (dunno if that's code-technically a thing, but otherwise make do it manually)?

But can't we just add a timeLastChanged to all AnvilChunkData objects and sort the dictionary by that before decaching (dunno if that's code-technically a thing, but otherwise make do it manually)?

It would be better if you recorded the time of last access rather than last modification, because using last modification only will lead to thrashing on unmodified chunks.
Yes, adding the timestamp to each AnvilChunkData and sorting on that before decaching would have a similar outcome, but I don't like that for two reasons:

You're putting a detail of the cache implementation on each chunk. The cache should be a self-contained object so you can easily swap it out for a different type of cache for experimenting.
There is no need to sort the dictionary (see the implementation in lru_cache.py)

My python/programming knowledge isn't at all good enough to make any sense out of this: https://github.com/Khroki/MCEdit-Unified/blob/master/pymclevel/cachefunc.py
I understand what decoraters do, sort-of, but have no idea how this caches stuff, or what it even caches. Let alone being able to merge that over to a dictionary system.

It caches the results of a function, keyed on the arguments to that function. It has to be changed to notify its client when a result is about to be decached.
If you don't understand it, don't worry about it. Like I said, I need to do this for MCEdit 2 also. All you have to do is revert your changes to the chunk cache and wait for a patch.

I think I reverted everything, shame github won't let me revert a merge. 3c509e076bf0237f42bfe5f586197226581bf9e9 3ee22e7909532220b761187eef725c25636dc93d

All right. Expect a patch in the next couple of days.
Do you happen to know which filter you were using for benchmarks while you were working on this?

An alchemy (vary) filter thay I used before I implemented varied brushes - it has a huge amount of setBlockAt/blockAt calls/operation:http://www.brightmoore.net/mcedit-filters-1/alchemy

Well, you were right about one thing. It's spending a lot of time in getChunk creating new AnvilChunks, even when the AnvilChunkDatas are already loaded. Changing _loadedChunks into a regular dict is still wrong, though, but there's something else you can do. Just keep the recently loaded chunks in another place, like a deque called recentChunks, and make sure it gets cleared whenever _loadedChunkData needs to be cleared.
I'll take care of that when I backport the new lru_cache for you.

I'm still working on the modified lru_cache, by the way. I haven't sent it to you because I wasn't confident enough in my changes, but I think I've just worked out the last kinks. I had to add a should_decache callback to find out if a chunk is safe to decache, a will_decache callback to have the chunk written to disk before it gets decached, and a pair of store/decache functions to explicitly control the cache when creating new chunks and moving through the RevisionHistory. I also had to make sure the cache remains consistent whenever the user_function throws an exception.
There's probably a better library out there for persistent disk-backed caches (something like klepto maybe) but this should work for the specific case of writing a chunk into a region file. There may be other uses you can find for it.

What did you use to create that graph?

Python profiler, gprof2dot.py and graphviz, pretty much.
#!/bin/bash -x
#PYTHON=python
PYTHON=/c/python27/python

python -m cProfile -o /tmp/profile.dat "$@"
set -e # exit on error for following commands
$PYTHON ~/bin/gprof2dot.py -f pstats /tmp/profile.dat > /tmp/profile.dot
dot -Tpng -o /tmp/profile.png /tmp/profile.dot
start /tmp/profile.png

Don't know if this was fully resolved, but assuming it is and closing this as it's no longer active.

No, I still need to do this.

I'd like to just write it once, instead of one time per world type (anvil, alpha, pocket etc.)

I did it by separating the level-specific code from the world editing code and having a WorldEditor class that contains an AnvilWorldAdapter class, but to do this I had to rewrite the entire pymclevel and rename it to mceditlib. :P
I won't bother sending you the lru_cache. You can come and steal it if you want. The speed gain is incredibly minor compared to just using a dict. The recentLoadedChunks patch I sent a while ago had a more dramatic effect.


Dose CTC need SOFTMAX?

It seems CTC dose not need SOFTMAX in many example,so how it works?,and if ctc_loss itself has a SOFTMAX,dose it share SOFTMAX with ctc_greedy_decoder,I mean if there is no SOFTMAX how can I use it to predict ?
Thanks for any help

We primarily use github issues to track bugs and installation issues.  This is a question better suited for StackOverflow.  Please ask it there and tag it with the tensorflow tag.  Thanks!
That said, a cursory search on stackoverflow shows a link that might help:
http://stackoverflow.com/questions/38059247/using-tensorflows-connectionist-temporal-classification-ctc-implementation/38069255#38069255


Generated pagination queries do not include existing variable definitions

// Initial query sent
const flightsQuery = `
  query (
    $fromDate: String!
    $toDate: String!
    $first: Int
  ) {
    flights(
      fromDate: $fromDate
      toDate: $toDate
      first: $first
    ) {
      id
      cursor
      status
    }
  }
`

// Load more button handler
const loadMore = () => setVariables(currentVariables => ({
  ...currentVariables,
  first: currentVariables.first + 10,
}))

// Follow up query (generated)
{
  flights(
    first: 20,
    fromDate: $fromDate,
    toDate: $toDate,
    after: "sk884-osl-arn-20160608"
  ) {
    id
    cursor
    status
  }
}

Awesome, thank you for this! Could you include the mutation payload from the client schema as well? I'll dig in & see if I can duplicate this weekend.

@mattkrick There wasn't any, I'm not using mutations yet.

Ohhhh! I get it now, I was thinking about another place where the query is generated.
So my logic when I wrote that part was to require manually entering variable definitions. That keeps things closer to vanilla GraphQL & if variable definitions were auto-generated, then I'd have to infer what the variables were based solely on the variables object passed into the options. Since the AST is cached for performance reasons, you'd end up with cases like this:
// when the AST is initially created
variables = {};
getOptionalFoo()

// when the query is called again, this time with a foo value
variables = {foo: 1}
getOptionalFoo() // AHHH we didn't cache the variable defs because when we wrote them, we didn't see any! And now we have some variables without cached definitions!

Hope that makes sense. GraphQL is a stinker because it throws an error if you pass in unused variableDefinitions.
So, we've got a couple options here:

Require that you write variable defs for each query. This is how it's currently designed & makes it nice for troubleshooting queries because you can cut/paste the query and options into GraphiQL.
Require that you pass in all variables that will ever be used, even if they're undefined right now (eg options = {variables: {foo: undefined}}. This is how mutations currently works
Recreate the variable definitions every time variables change, and then remove the ones that are unnecessary.

I think the 3rd option is probably the best, and unless I'm forgetting something, that means I can do away with having to flag the variables that are in use & deleting the unused defs, which would clean up the code a great deal!

@mattkrick Not sure if I understood that completely but I'm already defining option 1 in my first query, the second query (generated by cashay) however leaves them out for some reason.

no worries, i got this halfway cleaned up on my flight yesterday, will finish up & push today or tomorrow. End result should be 1 fewer traversal per query, so that's always nice!

@simenbrekken if this is still an issue in v0.6.0 please let me know!

@mattkrick Working like a charm!


Analysis Missing Tests and Bug Fixes

Here are the missing tests:
Analysis.Miscellaneous.TestSingleTokenTokenFilter
Analysis.Util.TestAnalysisSPILoader
And missing class:
Analysis.Core.UpperCaseFilterFactory
As well as a couple of bug fixes (one of them being one of the currently failing tests).
Note that the Analysis.Core.TestRandomChains tests are extremely complex and someone typed "ignore" into a large portion of them. Not sure if it is worth all of the effort. Analysis.Core.TestAllAnalyzersHaveFactories depends on part of Analysis.Core.TestRandomChains.

If the ignore is in the original codebase we could just leave it there :)

Unfortunately, the ignore comments are only in the .NET version.
FYI - I got most of the Thai support working. However, there seems to be another issue that is directly caused by the BreakIterator that is causing one test to fail - it doesn't break apart combinations of Thai characters and English into separate words as the tests expect.
I tried to hack it by adding a PadThai method to the input (not the tasty dish, it adds spaces between Thai letters and non-Thai letters). Unfortunately, that messes up the math on the offsets. I might be able to fix that, but this really doesn't seem like the right way to do it (not to mention, there is ambiguity what to do when Thai and Roman numbers are mixed). Any chance we can get a patched version of ICU? Or do you have any other ideas how to address this?
Anyway, with the latest commit, this reduces the number of failing tests to 28.

Ok, this is now down to 23 failing tests.
The 17 failing tests in Synonym are still really no closer to being solved. I went over the SynonymMap and SynonymFilter classes line by line 3x. Wherever the problem is, it is hidden well.
After spending a whole day stepping through code, I finally found a clue - all of the failing tests are failing when the expected synonym input has a space in it. For example, TestMatching doesn't fail until this line when the first expected input is "z x c v". It is unclear how that is supposed to happen, though since the tokenizer makes "z" a separate token which causes the logic to exit out at that point without comparing "z x", "z x c", and "z x c v". I went online hunting for a clue, but only found this question on SO in which the poster is just as confused about it as I am.
I also tried again at the 5 failing tests in the Compound namespace. I went over everything line by line. Then I tried stepping through the code. However, I don't have a clue what the code is supposed to do, only what the expected output is. In this test, the first output succeeds. The second output is expected to be "ba". The first token comes back as "b" (is that right?), it then looks up TernaryTree.Find() and it maps to "a" (is that right?), it then puts it as the second letter of the word array (that seems right..?). The next letter is "a", it looks it up and comes back as "z"(is that right?) it adds it as the 3rd element in the array (now that can't be right, can it?), the next letters it looks up are "r" and "j".  The documentation is scarce. I really don't see any hope of solving this without running side-by-side with the Java Lucene to see where the paths diverge. Although, the most likely cause has something to do with replacing the SAX parser with XmlReader and the HyphenationTree isn't being populated right. But, it is difficult to know what "right" is, since there are no tests on the HyphenationTree itself.


Refactor parser.

I'll probably be re-writing a lot of the parser, mostly so it's cleaner, and also I'll be writing up a grammar in EBNF in the documentation later on today and tomorrow.
@vnev
I'm re-writing on a new branch, I'll try and clean it up more so that it exists properly and cleans everything up if an error occurs, etc.

Sure. Might want to add a few reasons as to why we're shifting to EBNF grammar

Shifting to an EBNF grammar? What were we in originally? lol

Pretty much done, just need to finish expressions and test everything parses.


Add more tests

Tests are good, we should have them.

I mean, we have some tests, and I will add more, this issue doesn't really help.


fix: share URL instrumentation not run

Fix #30

:tada: This PR is included in version 4.2.1 :tada:
The release is available on:

GitHub release
v4.2.1

Your semantic-release bot :package::rocket:


enabled travis and tox support

took a bit, git rebase was messing up the commit logs too much for my taste

Merged. Thanks!


A11y_AzureDataStudioSQL_Projects_Publish Projects_ScreenReader: NVDA does not announces name of database Combox

Actual:
NVDA does not announces name of database Combox. Nvda only announces Combobox collapse when navigated on it with the help of tab key.
Same issue is observed with Jaws
Expected:
NVDA should announce name of Combox when navigated on it with the help of tab key.. Nvda should announce it as Database editbox collapsed.
GitHubTags: #A11yMAS;#A11yTCS;#A11ySev2;#SH_AzureDataStudioSQL_Feb2021;#SQL Azure Data Studio;#Win10;#FTP;#DesktopApp;#WCAG1.3.1;#NVDA;#Element:Combobox:#JAWS;#STP;#AINotInScope;
Environment Details:
Application Name: Azure Data Studio
Windows Version: Windows10
Screen reader: NVDA(2020.2), Jaws(2020.2008.24)
Repro Steps:

Launch the application-Azure Database Project and install extension SQL Database Projects.
Navigate to SQL Database Project Home Screen with heading "Projects".
Tab to connections select your server and connect to it.
Tab to Projects tab an right click on any created project.
Tab till "Publish Project" and hit enter
Open nvda and tab to database combobox and check the result.

User Impact:
Screen reader user will not get all the information Database combobox.
“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”

@Yash14j the name "Database" gets announced right after combo box. Is there something I'm misunderstanding?

closing because the combobox name is getting announced, as mentioned above. Please reopen if needed.

closing because the combobox name is getting announced, as mentioned above
#closed


Bundle config reference

This will fix #107 and #114
TODO

[x] Add images

This will also fix #113

👍

:+1:

Thank you for the reviews. I've updated my PR


Tdvt fix operator date tests

Description
Added functions to override date operators
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

How does deleting a file help fix the date tests? @guiangumpac

@MaxKsyunz it doesn't but we should delete it as we have a workflow that creates the taco file.


✨ Log only selected response status code.

Hello, I wanted to share snippet of code that can help other specifying only some response status code to be logged. In my example was 400, 409.
Please have a look over this, I think this can be so useful to others as well.
@vishalanandl177

Hi @Hassan-Elseoudy Let me test the library. Soon I'll release a new version with this improvement.

Hi @Hassan-Elseoudy Let me test the library. Soon I'll release a new version with this improvement.

Thank you, will be waiting!

Hello @vishalanandl177, when this great feature will be available? 👍


The system cannot find the file specified

This error is received when trying to run a simple Rust program.
"error: couldn't read "C:UsersNAMEDocumentsProjectsRusthello_worldmain.rs": The system cannot find the file specified."  - where NAME is my name.
It seems to be missing the backslashes in the file path. (This is on Windows 8.1 64 bit if it matters.)

That's so weird. I wish I had a Windows machine or vim to try that out.

@Qwertee Can you successful run using another language? If you are it may be isolated to how we pass options to Rust.

Running simple programs in Go and Haskell works just fine. Rust is the only language I found so far that gives the error.

I have exactly the same problem. I run other languages (Python, R, F#) and have no such problem.

I also have the same problem for rust. (Windows 10 Build 10074 64 bit)

Anyone care to help debug? I'm happy to pair with you, as I'm not a rust developer at all.

@rgbkrk OK, I can help you

Cool, when's a good time next week? Google Hangouts or Skype?

@rgbkrk I'm not busy from 19:00-22:00 UTC+8 every day. My skype account is<EMAIL_ADDRESS>

Same issue here, Windows 10, 64bit. Ready to help with the debug/problem search

I have this problem with Python. Is there a solution yet?
"""The system cannot find the path specified.
[Finished in 0.09s]"""
Would be good to know what command Script is trying to run, give me a chance to debug it.

I came cross this problem these days, please help me...


nuxt-link component not recognized in 1.5.1

Repo: https://github.com/rchl/nuxt-3-playground

Run yarn
Open app.vue

Works in 1.4.4

BTW. Maybe slightly off-topic question but is there intention for Volar to detect a case when passing a non-existent prop to the component? For example in case of nuxt-link I would expect to see an error when passing a non-existent xxx="/foo" prop to it but Volar does not complain about it.

Fixed by https://github.com/vuejs/language-tools/commit/eef20830f89ab91059aa302d4fc3e3fb68baf54e


Misleading error information on middleware

when having a custom middleware before (for example) mvc, when there's a mvc error, the error message is misleading because it point to your await next(context) line on your middleware.
error example
System.ArgumentNullException
Value cannot be null.
Parameter name: source

c:\Repos\Community\Bartmax\HtmlMinifier\src\HtmlMinifier.MiddleWare\HtmlMinifierMiddleware.cs

Line 24:                  await _next(context);

and down the stack I can see an error in a cshtml file.
at Asp.ASPV__Views_Test_Index_cshtml.<ExecuteAsync>d__17.MoveNext() in /Views/Test/Index.cshtml:line 7

Is there anyway to improve this?
I understand why this is happening but I think it's confusing to point a mvc error to a middleware that has nothing to do with the error.

Is it just showing the sources for the first stack frame where it can find symbols/sources? I.e. if you pull down the MVC symbols/sources does it start showing the location of the error more accurately?

@Tratcher yes, you are right. I'm not using MVC sources, I'm using custom middleware authored by myself. I don't think there's something one can do about it.

Can you provide a repro project?

No, I tried, but I cannot repro using beta4.
This was happening to me on beta3 (unfortunately I don't have the exactly state where this was happening), maybe this is handled differently now ?


 The structure of the repository remains identical, but the old commits are no longer available in the repository.
For example, when I push to an empty repository in Gitea, they are not visible. However, the old Gitea repository displays everything twice in the "Commit chart" view.
Is there a way to force a re-read of all commits (refresh the repository)?
Is it possible to delete these commits somehow from the database or clear the cache in Gitea?
Screenshots

Gitea Version
1.21.1
Can you reproduce the bug on the Gitea demo site?
No
Operating System
No response
Browser Version
Chrome - latest

Maybe https://git-scm.com/docs/git-gc

No more feedback, I think this issue can be closed, feel free to reopen if there are more clues.


TransPoseV2?

What's the difference between TransPose and TransPoseV2, which can be found in the repo release?

It is a newly updated paper. Main differences:

We conduct new experiments on MPII dataset

The visualization examples are visualized by TransPose-R-A4 and TransPose-H-A4 models by filtering lower attention scores with a threshold value. See details in the paper.

We will publish a new version paper on arxiv. Thanks for your attention.


[FIX] bump stylesheet version to 4.11.1 (#4275)

Pull request opened by the merge tool on behalf of #4275

Merged into branches iso4 in 6f3c933aac867d451539615f483bbd562d2c38fa


artifacts_folder FileNotFoundError in combination with pytest-parallel

A FileNotFoundError is thrown during the test cleanup phase. This error has no impact on the result. I tracked the issue down to the tempfile.TemporaryDirectory artifacts_folder. The TemporyDirectory is explicitly cleaned with a cleanup() call. It is also implicitly cleaned up when the object is garbage-collected or during interpreter shutdown.
I'm not sure how pytest-parallel works. I think at some point the process is forked. This creates multiple TemporaryDirectory instances and thus multiple clean up attempts? In Python 3.10 these errors can easily be ignored using the TemporaryDirectory ignore_cleanup_errors kwarg. Not sure how it should be handled in Python 3.7.
Successful Test Traceback:
Traceback (most recent call last):
  File "/usr/lib/python3.7/weakref.py", line 648, in _exitfunc
    f()
  File "/usr/lib/python3.7/weakref.py", line 572, in __call__
    return info.func(*info.args, **(info.kwargs or {}))
  File "/usr/lib/python3.7/tempfile.py", line 936, in _cleanup
    _rmtree(name)
  File "/usr/lib/python3.7/shutil.py", line 485, in rmtree
    onerror(os.lstat, path, sys.exc_info())
  File "/usr/lib/python3.7/shutil.py", line 483, in rmtree
    orig_st = os.lstat(path)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/playwright-pytest-7rzu1l9o'

Should be fixed by https://github.com/microsoft/playwright-pytest/pull/97

We've been running the tests in Ubuntu for a couple of months. We decided to start running them on Windows because of various reasons. And we noticed that we have the same issue. And it's fixed the same way as suggested in my first post. Fix #97 does not capture the permission issue.
`
___________________________________ ERROR at teardown of test_upload_file[ActionOrigin.TOOLBAR-temp_dirs0] ____________________________________
path = 'C:\Users\ubuntu\AppData\Local\Temp\playwright-pytest-vs4qcn13'
onerror = <function TemporaryDirectory._rmtree..onerror at 0x00000257D0DE1FC0>
def _rmtree_unsafe(path, onerror):
    try:
        with os.scandir(path) as scandir_it:
            entries = list(scandir_it)
    except OSError:
        onerror(os.scandir, path, sys.exc_info())
        entries = []
    for entry in entries:
        fullname = entry.path
        if _rmtree_isdir(entry):
            try:
                if entry.is_symlink():
                    # This can only happen if someone replaces
                    # a directory with a symlink after the call to
                    # os.scandir or entry.is_dir above.
                    raise OSError("Cannot call rmtree on a symbolic link")
            except OSError:
                onerror(os.path.islink, fullname, sys.exc_info())
                continue
            _rmtree_unsafe(fullname, onerror)
        else:
            try:

              os.unlink(fullname)

E                   PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\u
buntu\AppData\Local\Temp\playwright-pytest-vs4qcn13\83cde3cf4414efd29848e7ff566f2d6e.webm'
C:\Python310\lib\shutil.py:615: PermissionError
During handling of the above exception, another exception occurred:
func =
path = 'C:\Users\ubuntu\AppData\Local\Temp\playwright-pytest-vs4qcn13\83cde3cf4414efd29848e7ff566f2d6e.webm'
exc_info = (<class 'PermissionError'>, PermissionError(13, 'The process cannot access the file because it is being used by another process'), <t
raceback object at 0x00000257D07B1200>)
def onerror(func, path, exc_info):
    if issubclass(exc_info[0], PermissionError):
        def resetperms(path):
            try:
                _os.chflags(path, 0)
            except AttributeError:
                pass
            _os.chmod(path, 0o700)

        try:
            if path != name:
                resetperms(_os.path.dirname(path))
            resetperms(path)

            try:

              _os.unlink(path)

E                   PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\u
buntu\AppData\Local\Temp\playwright-pytest-vs4qcn13\83cde3cf4414efd29848e7ff566f2d6e.webm'
C:\Python310\lib\tempfile.py:820: PermissionError
During handling of the above exception, another exception occurred:
launch_browser = <function launch_browser..launch at 0x00000257D042AC20>
@pytest.fixture(scope="session")
def browser(launch_browser: Callable[[], Browser]) -> Generator[Browser, None, None]:
    browser = launch_browser()
    yield browser
    browser.close()

  artifacts_folder.cleanup()

C:\Python310\lib\site-packages\pytest_playwright\pytest_playwright.py:186:

C:\Python310\lib\tempfile.py:850: in cleanup
self._rmtree(self.name, ignore_errors=self._ignore_cleanup_errors)
C:\Python310\lib\tempfile.py:832: in _rmtree
_shutil.rmtree(name, onerror=onerror)
C:\Python310\lib\shutil.py:747: in rmtree
return _rmtree_unsafe(path, onerror)
C:\Python310\lib\shutil.py:617: in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
C:\Python310\lib\tempfile.py:823: in onerror
cls._rmtree(path, ignore_errors=ignore_errors)
C:\Python310\lib\tempfile.py:832: in _rmtree
_shutil.rmtree(name, onerror=onerror)
C:\Python310\lib\shutil.py:747: in rmtree
return _rmtree_unsafe(path, onerror)
C:\Python310\lib\shutil.py:598: in _rmtree_unsafe
onerror(os.scandir, path, sys.exc_info())

path = 'C:\Users\ubuntu\AppData\Local\Temp\playwright-pytest-vs4qcn13\83cde3cf4414efd29848e7ff566f2d6e.webm'
onerror = <function TemporaryDirectory._rmtree..onerror at 0x00000257D10CDAB0>
def _rmtree_unsafe(path, onerror):
    try:

      with os.scandir(path) as scandir_it:

E           NotADirectoryError: [WinError 267] The directory name is invalid: 'C:\Users\ubuntu\AppData\Local\Temp\playwright-pytest-vs4qcn
13\83cde3cf4414efd29848e7ff566f2d6e.webm'
C:\Python310\lib\shutil.py:595: NotADirectoryError
`

Can this issue be reopened?

Can this issue be reopened?

Can you file a separate issue and reference to this one? With a repro etc.

I'll take another look. I worked around the issue by fixing it in a fork. But this was only temporary. I also stopped using pytest-parallel and was surprised that I'm still experiencing this issue...


Bluetooth pairing mode option should not depend on using the Bluetooth package

To users flashing via Bluetooth, the Project Settings option to choose the Bluetooth pairing mode is equally relevant regardless of whether a particular script is using the Bluetooth package.

Moved to https://github.com/Microsoft/pxt-microbit/issues/905


Fix for WFLY-18923, Upgrade to WildFly Glow 1.0.0.Beta5

Issue: https://issues.redhat.com/browse/WFLY-18923

Thanks @jfdenise


Ensure that invocationTarget matches expectedTarget(s) throughout chain

It's not clear that the verification process ensures that the invocationTarget matches one of the expectedTarget values throughout the entire capability chain. It looks like only the root zcap's invocation target may be getting checked against the expectedTarget. If that's true, we need:

A new failure test where the invocation target changes, when a zcap is delegated, to a value that is not in expectedTarget.
A new success test where the invocation target changes, when a zcap is delegated, to a value that is expected (i.e., the expectedTarget is an array with both the original invocation target in the parent zcap and the new one, demonstrating that both are acceptable).

This will not, however, fully cover supporting the very common URL path "hierarchy" case. We'll have to figure out if we can handle that at the ocapld.js layer or if application logic should be responsible for making sure that situations like this:
chain = [
  // root zcap is for entire "container" "/items"
  {invocationTarget: '/items'},
  // first delegated zcap is for single item 1
  {invocationTarget: '/items/1'},
  // second delegated zcap is for "container" "/items" again (bad!)
  {invocationTarget: '/items'}
]

Aren't considered acceptable. We could do all this with special custom caveats, but it would be nice to support it as a core feature for simplicity. One way to do it would be to support passing an object in for expectedTarget where each key is a possible root expected target and each value is an ordered array of acceptable changes. For example:
expectedTarget: {
  '/items': ['/items/1'],
  '/zcaps/items': ['/zcaps/items/1']
}

That may work in a backwards compatible way given that expectedTarget may only currently be a string or an array of strings.

This landed: b98bf0009265ab0eecd6391d7d58809aa8f01411