opt generate and get split batch concurrently

Proposed changes
Generate and get split batch concurrently.
SplitSource.getNextBatch remove the synchronization, and make each get their splits concurrently, and SplitAssignment generates splits asynchronously.
Because obtaining partitions and splits is not stable, once encountering unstable situations, the time consumption will increase several times. The batch interface will retrieve split data in batches, which greatly increases the number of unstable situations encountered. So temporarily close the batch interface.
Fixed Bugs

FileSystemCacheKey.equals() compares properties by ==, resulting in creating new file system in each partition
dfsFileSystem is not synchronized, resulting in creating more file systems than need.
jobConf.iterator() will produce more than 2000 pairs of key-value

Improvements
Query a big table with 60591 partitions and 1209172 splits:
|   0:VHIVE_SCAN_NODE(136)                                                 |
|      table: level3partition                                              |
|      inputSplitNum=1209172, totalFileSize=6527616577, scanRanges=1209172 |
|      partition=60591/60591                                               |
|      cardinality=1, numNodes=3                                           |
|      pushdown agg=COUNT                                                  |

set max_external_file_cache_num=0 in fe/fe.conf to turn off the cache;
set num_partitions_in_batch_mode=-1 in session variables to turn off the batch mode.

Batch Mode
With Cache
Before Opt.
After Opt.

No
No
393.33s
123.25s

No
Yes
56.71s(480s First Run)
49.30s(124s First Run)

Yes
No
-
46.32s

Yes
Yes
-
29.73s

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


Engine process

Moved engine process out of the main idea process. Changes include:

Reactive settings
Removing all JDK9+ api calls to support out-of-the process execution on JDK8
Refactored client protocol initialization, ClientProcessBuilder introduced
Big refactoring

Type of Change

Breaking change (fix or feature that would cause existing functionality to not work as expected)

Found bug:
Error popup "Failed to save tests report". When OK is pressed SARIF-file is saved.

Found bug:
Cancel Test generation is ignored - process continues up to the end.

Found issue:
Concrete execution logs contain many debug information.
Log on test generation for Recursion class weights 1,5 GB (!)

rolling to https://github.com/UnitTestBot/UTBotJava/pull/1067


[Improvement] UI/update chart button

Description
Data config update chart button is visible even without scrolling
Issues Resolved
#1149

Closing this PR will raise another one as this branch is not created from main


README is incorrect about mixin path

The README says

You need to mixin EmberValidations into any Ember.Object you want to add validations to:

import Ember from 'ember';
import EmberValidations from 'ember-validations';

export default Ember.ObjectController.extend(EmberValidations);

ember-validations/index.js on my filesystem (v2.0.0-alpha.3) is
export default {
  Mixin: Mixin,
  validator: function(callback) {
    return { callback: callback };
  }
};

which means it should be .extend(EmberValidations.Mixin).
It looks like this changed recently, but the README isn't consistent with the latest release.

https://github.com/dockyard/ember-validations/issues/291#issuecomment-100498781

@jamesarosen ran into same issue today

I am going to close this issue for now, feel free to reopen this issue if you feel like it's still relevant and we should take a look at it.

Yes, this is still relevant. The README says
import Ember from 'ember';
import EmberValidations from 'ember-validations';
export default Ember.Controller.extend(EmberValidations);

but the correct usage is
import Ember from 'ember';
import EmberValidations from 'ember-validations';
export default Ember.Controller.extend(EmberValidations.Mixin);

@jamesarosen Can you verify the fix in #430 works for you?

It sure does!


Change log not showing

Steps to reproduce
Check for app update when one is available
Expected behavior
Should show change log in the pop-up window
Actual behavior
Is a blank screen
Crash logs
No response
Tachiyomi version
495
Android version
Android 12
Device
RedMagic 7
Other details
No response
Acknowledgements

[X] This is a TachiyomiSY specific issue that does not happen in Tachiyomi Preview.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version 1.8.5.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Should be fixed now 👍


support docker-compose network

At the moment network is ignored, it will be good to add network support. At the moment there are 2 options

have a single colour for all services in one network and paste the agenda.
wrap all services in one network in a big rectangle with the text that shows network name

links:
[1]. https://docs.docker.com/compose/networking/

Initial support for network is implemented in https://github.com/etolbakov/excalidocker-rs/pull/36


append/2 reversed order

:- use_module(library(lists)).
append([[1], [2], [3]], R).
gives [3, 2, 1]
expected [1, 2, 3]

Fixed. Thanks for the report.


Explain "traits" and their use-cases

The spec jumps into defining traits without clarifying use-cases for them. I can imagine them being a way to enforce some uniformity across metadata for several messages at once, but the spec doesn't say that.

We currently have an open PR where we discuss and want to more clearly define the trait behavior. Your feedback on this would be very welcome.
See #532

Closing as it's a duplicate of #532.


Added MariaDB link to RDBMS section

OPS Build status updates of commit f804cc9:
:clock10: Preparing: average preparing time is 46 sec(s)

OPS Build status updates of commit f804cc9:
:clock10: Incremental building: average incremental building time is 23 sec(s)

OPS Build status updates of commit f804cc9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/guide/technology-choices/data-store-overview.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 98fadff:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/guide/technology-choices/data-store-overview.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


"There is no formatter for 'gradle' files installed."

Hi! I'm trying to format a gradle file, but I got this error.

There is no formatter for 'gradle' files installed.

Version: 1.51.0-insider
Commit: e5c0007ce0e9a3816679cba674d03376c03726e3
Date: 2020-10-27T05:37:14.199Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042

Not reproducible with current version of VsCode & VsCode Groovy Lint

Please reopen if you still see the error :)

This can happen if you installed "Gradle Language Support". Reproducible with

Gradle Language Support v0.2.3
Groovy Lint, Format and Fix v1.4.0

I guess it because installing Gradle Language Support make the build.gradle file recoginsed as gradle file (without that, it's detected as groovy file). Groovy Lint probably doesn't explicitly stated gradle file as one of its supported format.

Mmmm maybe Gradle Language Support extension "steals" the handle of .gradle files from VsCode Groovy Lint :/
Or VsCode remove Gradle from extensions associated to Groovy :/
Of VsCode simply changed their way to detect a formatter (according to the doc, registerDocumentFormattingEditProvider must be used and it not present on VsCode GroovyLint sources)
I'll try to have a look in my spare time, but if you have tume i'll be happy to validate a PR :)

I have the same issue. How is this issue going now ? Thanks.

it's like associate *.gradle to groovy make the format working again.

@NatoBoram @bitevo @abcfy2 @dyno is the issue still happening with latest version ?

@NatoBoram @bitevo @abcfy2 @dyno is the issue still happening with latest version ?

Still exists. I've set gradle to use your plugin to  format in setting.json:
  "[gradle]": {
    "editor.defaultFormatter": "NicolasVuillamy.vscode-groovy-lint"
  }

But I still got this issue.

But lucky after set file associations *.gradle --> groovy your plugin could work. I hope you plugin could support lint & format *.gradle files, thanks. @nvuillam

VsCode Groovy Lint does not use VsCode formatting APIs (but it should ! )


ci: add and adjust labels to autotranslate PRs

This PR does three things:

Reverts the changes done to the autotranslate CI workflow attempting to get more granular permissions. I do not have time to investigate it fully to understand why it is failing, so for now we'll just roll with what we had (which worked).
Adds autotranslate label for new auto translate PRs, as well as either a awaiting-review label (when there are maintainers we can ping) or maintainerless when there are no maintainers for a language. These PRs should probably just be automerged, since we usually don't really have any input on them, but will leave that for another day.
Adjusts the labels on PR reviews (accepted and changes requested).  If a PR is approved by a maintainer, an approved label will be added and the awaiting-review will be removed. If there are requested changes, the awaiting-review is removed, along with any potential approved label (in the case of maintainers disagreeing).

This should help us see the status of PRs at a glance. In the future we may consider automatically merging approved PRs after a given time, or if there is only a single maintainer which has approved it.

@rexxars should we wait to merge this till after auto PR branches have merged because of the github action task on package changes?

edit: fails here btw https://github.com/sanity-io/locales/actions/runs/7562298114/job/20592477142?pr=279#step:6:14

Oops. Thanks. Shouldn't run for all branches, only auto-PRs. Fixed that now. Also corrected access to the PR number (I think).

@rexxars should we wait to merge this till after auto PR branches have merged because of the github action task on package changes?

Merging this may force push to the auto branches, but all the currently open ones are unedited and awaiting review - so it shouldn't be a problem?


Adding backstage configuration - catalog-info.yaml

Adding backstage configuration - catalog-info.yaml

Testing done

### Submitter checklist
- [ ] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [ ] Ensure that the pull request title represents the desired changelog entry
- [ ] Please describe what you did
- [ ] Link to relevant issues in GitHub or Jira
- [ ] Link to relevant pull requests, esp. upstream and downstream changes
- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

@olavtar on how to merge


Extent as axis limits in Makie?

It could be pretty neat if you could pass in an Extent object as the limit keyword when making an Axis in Makie.
I guess all that would be needed is a tiny extension that just does the limits = (ext.X..., ext.Y...) conversion automatically.
`

Not sure how the dispatch will work?
But I think Makie already depends on Extents so it will have to be there not here, and wont need an extension.

IIUC this just needs convert methods to Rect2/3 and the appropriate dispatches on the limit functions.

I haven't been pushing Extents.jl very hard outside of geospatial tools that I work on, but it would be very nice if it just worked everywhere that things have an obvious extent, like Makie plots.
I'm also just not familiar enough with Makie internals to know where to put anything. @asinghvi17 if you know where those methods are in Makie some links might help getting this implemented.


Update Delete Command: Error Handling Fix Issues #131 and #143

Description
Updated the delete command to have more specific messages for error handling.
Example: In case of negative numbers or zero

Example: In case of invalid index

Example: In case of invalid name

Hmm I think unsigned integer is more often used in cs field. Would it be better if it is phrased as "Index provided is not a positive integer."

Ok. Will make the changes


What is the meaning of logstd in the code?

What is the meaning of logstd in the code? And how to initialize the value for it? Why did you assignment it as [-2.8, -3.5] or [-3.5, -4].

As the name suggests, logstd is the logarithm of the action's standard deviation, which controls the agent's action distribution. The value is initialized for the agent to have reasonable initial explorative behaviors.

Understand, thank you.


Adding exit on error to docker test script

@brianhlin Can you check over this small pull request.

It looks like it's still passing even though the RPM failed to build (#68): https://travis-ci.org/opensciencegrid/htcondor-ce/jobs/109971319#L1113


Fix iOS unread status indicator for ReaderAPI accounts

Fix for issue #3512 where the unread status indicator toggles state on each refresh for some ReaderAPI accounts (at least miniflux accounts, perhaps others).
This PR changes markAndFetchNew to only notify for article IDs that actually change as opposed to all article IDs. This seems to match the original intent of the method and fixes the “status toggling” issue.
TBH, I’m unsure precisely why this fixes the issue for ReaderAPI accounts — I believe there’s a race condition in the ReaderAPI code on iOS (but not macOS) that’s the root cause, and notifying only on new article statuses during a refresh happens to fix it.

I'm pretty sure that this change will prevent all accounts from updating the UI for article statues that were changed on a sync other than new articles. This function works correctly for all accounts currently including the ReaderAPI account type for services other than mini flux.
In fact, we shouldn't even be supplying the newArticleStatusIDs in the completion handler. That is obsolete code needed when we weren't syncing article content using CloudKit. I'll create an issue for myself to clean that up.
I'm going to close this pull request. If I misunderstood what you were trying to do and we are sure it hasn't broken any other syncing accounts, I'll reopen this and review it again.


Deployer Maintenance

This PR does some maintenance work in the deployer and achieves a few things:

The deploy-grafana command was a little bit misleading since grafana is actually deployed with the support chart when deploy-support is run. This has been renamed to deploy-grafana-dashboards to indicate that it is the dashboards that are being deployed to the existing grafana instance.

A couple of checks were added to this function too to ensure the secret file and grafana_token entry both exist

The command line parser has been cleaned up with help messages added and a base parser where arguments shared across subcommands (just cluster_name for the time being) can be added without repetition
I've added an auth subcommand that provides quick command line access to a cluster using the deployer credentials. This should save us the toil of needing to remember which environment variables we need to export for which cloud provider. Especially in the cases when I've needed access like this has been during an incident - it just added unnecessary levels of stress to the situation.
I added a little message so that when we deploy all hubs on a cluster, we have a rough idea of how far along in the queue we are. It should look like this:{i} / {N}: Deploying {hub_name}...

where i is the current queue location, N is the total number of hubs to be deployed, and hub_name is the name of the hub 😉

Thanks @consideRatio - I pushed some updates

Sorry for the belated review, left a tiny comment above 😉

(For some reason I couldn't add this image to the thread above)
@damianavila It seems you're right - which is annoying, this would be a really useful feature.

I am trying to use a boolean flag to allow us to override this behaviour only when the setup-cluster-credentials command is called, but it's not working.
Attempted diff:
diff --git a/deployer/__main__.py b/deployer/__main__.py
index 52fc7c8..2a8a003 100644
--- a/deployer/__main__.py
+++ b/deployer/__main__.py
@@ -39,7 +39,7 @@ def setup_cluster_credentials(cluster_name):

     # Cluster.auth() method has the context manager decorator so cannot call
     # it like a normal function
-    with cluster.auth():
+    with cluster.auth(clear_kubeconfig=False):
         return None

diff --git a/deployer/hub.py b/deployer/hub.py
index 7b07ced..e2dcba4 100644
--- a/deployer/hub.py
+++ b/deployer/hub.py
@@ -30,13 +30,13 @@ def __init__(self, spec):
         self.support = self.spec.get("support", {})

     @contextmanager
-    def auth(self):
+    def auth(self, clear_kubeconfig=True):
         if self.spec["provider"] == "gcp":
-            yield from self.auth_gcp()
+            yield from self.auth_gcp(clear_kubeconfig)
         elif self.spec["provider"] == "aws":
-            yield from self.auth_aws()
+            yield from self.auth_aws(clear_kubeconfig)
         elif self.spec["provider"] == "azure":
-            yield from self.auth_azure()
+            yield from self.auth_azure(clear_kubeconfig)
         elif self.spec["provider"] == "kubeconfig":
             yield from self.auth_kubeconfig()
         else:
@@ -161,7 +161,7 @@ def auth_kubeconfig(self):
             os.environ["KUBECONFIG"] = decrypted_key_path
             yield

-    def auth_aws(self):
+    def auth_aws(self, clear_kubeconfig):
         """
         Reads `aws` nested config and temporarily sets environment variables
         like `KUBECONFIG`, `AWS_ACCESS_KEY_ID`, and `AWS_SECRET_ACCESS_KEY`
@@ -224,14 +224,15 @@ def auth_aws(self):

                 yield
             finally:
-                if orig_kubeconfig is not None:
-                    os.environ["KUBECONFIG"] = orig_kubeconfig
-                if orig_access_key_id is not None:
-                    os.environ["AWS_ACCESS_KEY_ID"] = orig_access_key_id
-                if orig_kubeconfig is not None:
-                    os.environ["AWS_SECRET_ACCESS_KEY"] = orig_secret_access_key
-
-    def auth_azure(self):
+                if clear_kubeconfig:
+                    if orig_kubeconfig is not None:
+                        os.environ["KUBECONFIG"] = orig_kubeconfig
+                    if orig_access_key_id is not None:
+                        os.environ["AWS_ACCESS_KEY_ID"] = orig_access_key_id
+                    if orig_kubeconfig is not None:
+                        os.environ["AWS_SECRET_ACCESS_KEY"] = orig_secret_access_key
+
+    def auth_azure(self, clear_kubeconfig):
         """
         Read `azure` nested config, login to Azure with a Service Principal,
         activate the appropriate subscription, then authenticate against the
@@ -292,10 +293,10 @@ def auth_azure(self):

                 yield
             finally:
-                if orig_kubeconfig is not None:
+                if (clear_kubeconfig) and (orig_kubeconfig is not None):
                     os.environ["KUBECONFIG"] = orig_kubeconfig

-    def auth_gcp(self):
+    def auth_gcp(self, clear_kubeconfig):
         config = self.spec["gcp"]
         key_path = config["key"]
         project = config["project"]
@@ -332,7 +333,7 @@ def auth_gcp(self):

                 yield
             finally:
-                if orig_kubeconfig is not None:
+                if (clear_kubeconfig) and (orig_kubeconfig is not None):
                     os.environ["KUBECONFIG"] = orig_kubeconfig

I'll remove the function for now https://github.com/2i2c-org/infrastructure/pull/976

This got reimplemented and fixed in https://github.com/2i2c-org/infrastructure/pull/977


repos_small.csv column headers

Please add a header for the first column of repos_small.csv.
Why is this column different than the first column of repos_small_with_hashes.csv?

Fixed the header problem


Does this package support Android FOREGROUND_SERVICE?

I am looking for a mature library that also supports the foreground service use of notifications as shown here:
https://developer.android.com/guide/components/foreground-services

Have you found a solution to this? I also need a foreground service and it would be nice to combine it with this package instead of using an other package that also does the notificaiton stuff, I don't want to end up with 2 API's for the "same" (or related) things.

We decided to write an own plugin for android forground services whichs API is based on that of awesome_notifications, maybe you want to take a look here.

Why do not fork this project and send me a new version with this feature implemented?

The reason for making an own package and not an PR in the first place is the following:
An Android foreground service inherently depends on notifications and can not exist wihtout a notification, but notifications can exist without a foreground service.
So I thought you might not like the thought of "bloating" this plugin with a functionallity that is not necessary for notifcations.
But If that's fine for you I will gladly make a PR 😄 (I guess it will arrive on monday).

No problem! Your strategy makes sense. I agree with you.

Hi! Sorry for taking so long to respond to your issue on GitHub. I was focused on releasing the new 0.7.0 version of awesome_notifications and awesome_notifications_fcm and i didn't had time enough to do both. But now I can answer all your questions.
So now i'm asking you to recreate this topic using the new issue template. There's a lot of missing informations that i need to understand your problem, and all the instructions are already in the new issue template. Also, remember to check beforehand if your issue was posted by another user.
So I will automatically close all previous issues so far.
Sorry for the inconvenience and i will be waiting for your new issue request.
Thank you so much for your support!


Intel graphics performance degraded after upgrade to kernel 4.14

Issue description
After switching to kernel 4.14, the screen has flickering and response rate in Xorg is sluggish. The only change is 4.13->4.14. Graphics run smoothly in 4.13.
As a data point, running glxgears produces consistent 60 FPS in 4.13, and around 40 FPS in 4.14 (screen refresh is set to 60Hz in both cases).
This may be an upstream issue but I figured I should start here for troubleshooting.
Steps to reproduce
Switch from kernel 4.13 to kernel 4.14
Technical details

system: "x86_64-linux"
host os: Linux 4.14.0, NixOS, 18.03pre120540.b8f7027360 (Impala)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 1.11.15
channels(root): "nixos-18.03pre120540.b8f7027360"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
HP Spectre x360 Kaby Lake (13-w063nr)
Intel(R) HD Graphics 620 (Kaby Lake GT2)
Issue presents itself with or without compton running

Relevant configuration.nix
boot.kernelPackages = pkgs.linuxPackages_4_14;
hardware.opengl = {
    enable = true;
    driSupport = true;
    driSupport32Bit = true;
    extraPackages = [ pkgs.vaapiIntel ];
    s3tcSupport = true;
};
services.xserver = {
    enable = true;
    videoDriver = "modesetting"; # using intel has the same problem
};

I Confirm that. I have the same thing on both the generic kernel under ubuntu and on my builds [optimized kernels for Ubuntu and derivatives]. I have tested for Linux-4.14.3 inclusive and still have very strong slowdowns in intel graphics - including nvidia if it uses bumblebee. Under 4.13.x everything works fine and very efficient

This is important for the next release, because 4.14 is to become the default kernel.

I have the same issue in OpenSuse Tumbleweed with kernel 4.14. With kernel 4.13 was all ok.

I've opened a bug report at the kernel.org bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=198241

Is someone willing to help bisect the issue? You will need a 1 GB clone of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git and the patience to compile the kernel and reboot about 15 times. I could provide instructions how to do it.

I'll give it a shot.

@orivej I'm trying to build the kernel using a local clone and git-bisect, but I'm running into an issue where the nix build fails to copy needed kernel modules in order to boot. Maybe you can shed some light on what I'm doing wrong? (I don't want to be a bottleneck on this issue!)
diff --git a/pkgs/os-specific/linux/kernel/linux-bisect.nix b/pkgs/os-specific/linux/kernel/linux-bisect.nix
new file mode 100644
index<PHONE_NUMBER>0..b75344abeeb
--- /dev/null
+++ b/pkgs/os-specific/linux/kernel/linux-bisect.nix
@@ -0,0 +1,15 @@
+{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
+
+with stdenv.lib;
+
+import ./generic.nix (args // rec {
+  version = "4.13.0";
+
+  # modDirVersion needs to be x.y.z, will automatically add .0 if needed
+  modDirVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0")));
+
+  # branchVersion needs to be x.y
+  extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));
+
+  src = /home/julien/development/linux;
+} // (args.argsOverride or {}))
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index cea7a7478ad..b8028f11d91 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -12710,6 +12710,10 @@ with pkgs;
       ];
   };

+  linux_bisect = callPackage ../os-specific/linux/kernel/linux-bisect.nix {
+    # To make life simple with patch files during bisect
+    kernelPatches = [ ];
+  };
+
   linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
     kernelPatches = [
       kernelPatches.bridge_stp_helper
@@ -12908,6 +12912,7 @@ with pkgs;
   linuxPackages_4_9 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_9);
   linuxPackages_4_13 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_13);
   linuxPackages_4_14 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_14);
+  linuxPackages_bisect = recurseIntoAttrs (linuxPackagesFor pkgs.linux_bisect);
   # Don't forget to update linuxPackages_latest!

   # Intentionally lacks recurseIntoAttrs, as -rc kernels will quite likely break out-of-tree modules and cause failed Hydra builds.

And my configuration.nix has a line with boot.kernelPackages = pkgs.linuxPackages_bisect.
A sample of the build log:
[...]
shrinking /nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev/lib/modules/4.13.16/build/arch/x86/purgatory/purgatory.o
wrong ELF type
shrinking /nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev/lib/modules/4.13.16/build/arch/x86/purgatory/stack.o
wrong ELF type
shrinking /nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev/lib/modules/4.13.16/build/arch/x86/purgatory/setup-x86_64.o
wrong ELF type
shrinking /nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev/lib/modules/4.13.16/build/arch/x86/purgatory/sha256.o
wrong ELF type
shrinking /nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev/lib/modules/4.13.16/build/arch/x86/purgatory/entry64.o
wrong ELF type
shrinking /nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev/lib/modules/4.13.16/build/arch/x86/purgatory/string.o
wrong ELF type
shrinking /nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev/lib/modules/4.13.16/build/arch/x86/purgatory/purgatory.ro
wrong ELF type
stripping (with flags -S) in /nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev/lib
patching script interpreter paths in /nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev
/nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev/lib/modules/4.13.16/source/scripts/Lindent: interpreter directive changed from "/bin/sh" to "/nix/store/65l6hr8snf4v823f974k97jc65i7bhvf-bash-4.4-p12/bin/sh"
/nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev/lib/modules/4.13.16/source/scripts/adjust_autoksyms.sh: interpreter directive changed from "/bin/sh" to "/nix/store/65l6hr8snf4v823f974k97jc65i7bhvf-bash-4.4-p12/bin/sh"
[...]
/nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev/lib/modules/4.13.16/source/scripts/ver_linux: interpreter directive changed from "/usr/bin/awk -f" to "/nix/store/w1cddj0qc3ximvpwrn28rig7wq99ajd7-gawk-4.2.0/bin/awk -f"
/nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev/lib/modules/4.13.16/source/scripts/xz_wrap.sh: interpreter directive changed from "/bin/sh" to "/nix/store/65l6hr8snf4v823f974k97jc65i7bhvf-bash-4.4-p12/bin/sh"
checking for references to /tmp/nix-build-linux-4.13.16.drv-0 in /nix/store/ybaf89bssmmg9xzj9b84hd24yda8qpqy-linux-4.13.16-dev...
cannot find section .dynamic
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
building path(s) ‘/nix/store/n0na849z6z3zkzj9lp6k2dxmj6zb4s46-firmware’
building path(s) ‘/nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules’
created 714 symlinks in user environment
created 3 symlinks in user environment
building path(s) ‘/nix/store/x4yg3h6mb9wbxaih52jz9rf8pxxbh8bp-etc-nixos.conf’
kernel version is 4.13.16
building path(s) ‘/nix/store/4m0mxic9pscnms5196hgaky8c7lk36gs-kernel-modules-shrunk’
building path(s) ‘/nix/store/hs7japymy96mk9qmkg1vfp5gysc20b92-etc’
kernel version is 4.13.16
root module: xhci_pci
modprobe: FATAL: Module xhci_pci not found in directory /nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules/lib/modules/4.13.16
root module: nvme
modprobe: FATAL: Module nvme not found in directory /nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules/lib/modules/4.13.16
root module: usb_storage
modprobe: FATAL: Module usb_storage not found in directory /nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules/lib/modules/4.13.16
root module: sd_mod
modprobe: FATAL: Module sd_mod not found in directory /nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules/lib/modules/4.13.16
root module: md_mod
modprobe: FATAL: Module md_mod not found in directory /nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules/lib/modules/4.13.16
root module: raid0
modprobe: FATAL: Module raid0 not found in directory /nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules/lib/modules/4.13.16
[...]
root module: pcips2
modprobe: FATAL: Module pcips2 not found in directory /nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules/lib/modules/4.13.16
root module: atkbd
modprobe: FATAL: Module atkbd not found in directory /nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules/lib/modules/4.13.16
root module: i8042
modprobe: FATAL: Module i8042 not found in directory /nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules/lib/modules/4.13.16
root module: rtc_cmos
modprobe: FATAL: Module rtc_cmos not found in directory /nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules/lib/modules/4.13.16
root module: btrfs
modprobe: FATAL: Module btrfs not found in directory /nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules/lib/modules/4.13.16
root module: crc32c
modprobe: FATAL: Module crc32c not found in directory /nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules/lib/modules/4.13.16
root module: dm_mod
modprobe: FATAL: Module dm_mod not found in directory /nix/store/zn8qdl4kqy8h70a8kq1255hkkjympvlj-kernel-modules/lib/modules/4.13.16
closure:
depmod: WARNING: could not open /nix/store/4m0mxic9pscnms5196hgaky8c7lk36gs-kernel-modules-shrunk/lib/modules/4.13.16/modules.order: No such file or directory
depmod: WARNING: could not open /nix/store/4m0mxic9pscnms5196hgaky8c7lk36gs-kernel-modules-shrunk/lib/modules/4.13.16/modules.builtin: No such file or directory
building path(s) ‘/nix/store/zcsx152xxx5kzyxs98276v1ah36kwb7g-stage-1-init.sh’
building path(s) ‘/nix/store/xsk8xx43dg3x1njkdj049kf3m5475r7m-initrd’
37458 blocks
building path(s) ‘/nix/store/qd4awss8r2h2pbrh8bwcg8a63hc968dp-nixos-system-gbpits-18.03.git.1bc2885’

Oh it appears I should include at least some of those kernel patches. Trying again...

Okay, so I can get to a boot with if I include both bridge_stp_helper and modinst_arg_list_too_long (the second of which makes sense would affect module loading). FYI for anyone who would be trying to do this in the future.

dc911f5bd8aacfcf8aabd5c26c88e04c837a938e is the first bad commit
commit dc911f5bd8aacfcf8aabd5c26c88e04c837a938e
Author: Jim Bride<EMAIL_ADDRESS>Date:   Wed Aug 9 12:48:53 2017 -0700
    drm/i915/edp: Allow alternate fixed mode for eDP if available.
    Some fixed resolution panels actually support more than one mode,
    with the only thing different being the refresh rate.  Having this
    alternate mode available to us is desirable, because it allows us to
    test PSR on panels whose setup time at the preferred mode is too long.
    With this patch we allow the use of the alternate mode if it's
    available and it was specifically requested.
    v2 and v3: Rebase
    v4: * Fix up some leaky mode stuff (Chris)
        * Rebase
    v5: * Fix a NULL pointer derefrence (David Weinehall)
    v6: * Whitespace / spelling / checkpatch clean-up; no functional
          change. (David)
        * Rebase
    Cc: David Weinehall<EMAIL_ADDRESS>    Cc: Rodrigo Vivi<EMAIL_ADDRESS>    Cc: Paulo Zanoni<EMAIL_ADDRESS>    Cc: Jani Nikula<EMAIL_ADDRESS>    Cc: Chris Wilson<EMAIL_ADDRESS>    Reviewed-by: David Weinehall<EMAIL_ADDRESS>    Signed-off-by: Jim Bride<EMAIL_ADDRESS>    Signed-off-by: Rodrigo Vivi<EMAIL_ADDRESS>    Link<EMAIL_ADDRESS>:040000<PHONE_NUMBER>78e8318228ad9525ca05cc03c74783c91c1b a6199aae57157bf243cbc288ae4cbbc9aa473de5 M      drivers

So I guess that makes sense that that would affect things for some people... My panel has 60Hz and 40Hz modes at 1920x1080. If I go into a mode that only has 60Hz available, then performance goes back to normal.

I didn't find anything in xrandr that could control this behavior. Anyone have any suggestions?

Trying i915.enable_psr=0 kernel argument has no effect.

A guy on manjaro forums said to try [something along the lines of] cvt 1920 1080 60

@mirh can you post a link to that?

https://forum.manjaro.org/t/poor-opengl-performance-on-linux-4-14/35453/150

https://bugs.freedesktop.org/show_bug.cgi?id=103497

@mirh Thanks. Setting a custom mode as the preferred certainly works (I'm doing that currently), but it really seems like a workaround to me.

I don't know, it seems stalled.  So we apply a revert of that commit for our 4.14, as suggested in https://bugs.freedesktop.org/show_bug.cgi?id=103497#c11 ?  What do you think?

This issue doesn't really do a "performance" degradation but incorrect refresh rate in some cases.  Therefore it doesn't seem to be the same issue (to me).

Hint: you can just perf your firefox from both system generations (17.09 and master) and compare the reports to see what changed.
I would also perf under with an old kernel (like 4.9) on master and compare with the newer ones.

Looks like this issue still exists. The manjaro.org thread points out that there is a fix for this: https://bugs.freedesktop.org/attachment.cgi?id=135277, so the bug is gone in 4.15.

It does have a Cc<EMAIL_ADDRESS># v4.14+ tag so it will eventually get to later kernels.

https://www.spinics.net/lists/stable/msg246751.html

It could be useful to report to the Bugzilla ticket that the 4.14 backport wasn't successful.

+1
I believe I am also affected by this same issue on release-18.09.
When on the stock kernel, my laptop display runs at 48hz, even when xrandr reports 60.
(Intel HD Graphics 620)
Currently avoiding the issue thanks to this patch I apply locally:
https://bugs.freedesktop.org/attachment.cgi?id=135277

This is now out of date.


feature/ignore-interface-in-privatize-constants-command

Hi, I'm currently working on refactoring to php-parser approach: https://github.com/rectorphp/swiss-knife/pull/44
It will only check class constants, so it includes fix for your issue by design.
Thanks for your patience :+1:


DefaultWindowManager not Full path as stated

Hello.
I am using xrdp-0.9.6-4.el7.x86_64 and xorgxrdp-0.2.6-2.el7.x86_64 on top of RHEL7.4. In sesman.ini's man page the following is stated:
DefaultWindowManager=filename
Full path to the default startup script used by xrdp-sesman to start a session if the user script
is disabled or missing.
However, this does not appear to be so, in the sense that the path does not appear to be full but relative to /usr/libexec/xrdp; upon configuring sesman.ini to include
DefaultWindowManager=/opt/oss/bin/tier1_xrdp.sh
I was receiving these errors in sesman's log:
[20180606-17:36:29] [DEBUG] errno: 2, description: No such file or directory
[20180606-17:36:29] [DEBUG] execlp3 parameter list:
[20180606-17:36:29] [DEBUG]         argv[0] = /usr/libexec/xrdp//opt/oss/bin/tier1_xrdp.sh
[20180606-17:36:29] [DEBUG]         argv[1] = /opt/oss/bin/tier1_xrdp.sh
[20180606-17:43:22] [INFO ] shutting down sesman 1
I tried to workaround the issue by stepping up in the directory tree, but then I found another error, maybe caused by a limitation in the variable's size; configuring sesman to include
DefaultWindowManager=../../../opt/oss/bin/tier1_xrdp.sh
I was receiving these errors in sesman's log:
[20180606-17:45:04] [DEBUG] errno: 2, description: No such file or directory
[20180606-17:45:04] [CORE ] waiting for window manager (pid 6363) to exit
[20180606-17:45:05] [DEBUG] execlp3 parameter list:
[20180606-17:45:05] [DEBUG]         argv[0] = /usr/libexec/xrdp/../../../opt/oss/bin/tier1_xrdp
[20180606-17:45:05] [DEBUG]         argv[1] = ../../../opt/oss/bin/tier1_xrdp
I finally worked around the issue creating a link /usr/libexec/xrdp/tier1_xrdp.sh -> /opt/oss/bin/tier1_xrdp.sh and configuring DefaultWindowManager=tier1_xrdp.sh. However, I don't believe creating a link (or any file) under a product's directory is the best solution. One of the two previous approaches should work, preferrably being consistent with the man page. Or maybe it could be either relative or absolute depending on whether it starts with a "/" or not.
Best regards.

Thanks for reporting! I'll make an effort to fix it until the next release v0.9.7.

You're very welcome.
BR

Also, man page of sesman.ini wasn't correct.
       DefaultWindowManager=filename
              Full path to the default startup script used by xrdp-sesman to
              start a session if the user script is disabled or missing.

@atorregr Can you try & test #1147?

Will be included in v0.9.7, test it then.

Will do, thanks a lot.
BR

Solved in v0.9.7.


682 add disabled state on tabgroup

Issue Number
Associate the issue number with the title of the pull request. If you don't have an associated issue, you should create one. Including an issue number helps provide context and traceability to the proposed changes in the pull request.
fix #issue_number
Description
Provide a clear and concise description of your change. Explain why this change is necessary and how it improves the project. Include links to related issues, if any.
Proposed Changes

List specific changes made
Include modified files and which lines were changed

How to Test
Provide detailed instructions on how to test the proposed changes. Include information on which test scenarios you covered and how you tested.
Screenshots
Include screenshots or GIFs that illustrate the proposed changes. This can be especially useful for user interface changes.
View Storybook
Provide a link to the chromatic Storybook that shows the proposed changes so reviewers can easily see the changes in action.
Please also be aware that in addition to the Chromatic link, the link in the pull request description will also need to be updated whenever changes are made.

How can I access the Chromatic link?

Open the pull request that you wish to verify the Storybook Chromatic on.

At the bottom of the "Checks" comment, click on "Details" next to the "Chromatic/chromatic-deployment" status.

On the "Checks" page, you will see a list of checks. Select the "Publish to Chromatic" section.

Scroll down until you find the section "View your Storybook at https://examplelink", that represents the desired link.

Compliance

[X] I have verified that this change complies with our code and contribution policies.
[X] I have verified that this change does not cause regressions and does not affect other parts of the code.


Rewrite all database update operations using transactions

When initiating an update from ClinVar or from ZOOMA, some exception can occur in the process.
To avoid leaving the database in an inconsistent state, all such operations should proceed in approximately this manner:

Lock database for write operations
Start transaction
Attempt import

If success: commit transaction, unlock database
In case of any exception: roll back transaction, unlock database, log an error

So the way I am thinking of implementing this, is to use a combination of F expressions (https://docs.djangoproject.com/en/2.2/ref/models/expressions/#avoiding-race-conditions-using-f) and transaction decorators (https://docs.djangoproject.com/en/3.0/topics/db/transactions/#transactions), what do you think?

Or actually, this might be a better choice to apply locks https://docs.djangoproject.com/en/3.0/ref/models/querysets/#select-for-update

At least on the surface, it looks to me that the F expressions and select_for_update are useful for doing single operations, like changing some fields. Since importing from ClinVar/ZOOMA/OLS affects a number of entities in a non-trivial way, I think we should have a proper transaction, explicitly locking everything and rolling back everything for exception. So I think we should go with transactions.
Looking at the docs, it looks to me that transaction decorators do just what we need, in the most elegant way possible:
from django.db import transaction

@transaction.atomic
def viewfunc(request):
    # This code executes inside a transaction.
    do_stuff()

Locking down write access to the database before starting a transaction is a separate issue which will have to be researched and discussed separately. I'm not sure how to do this best. Perhaps we can set up some sort of an app state variable which would describe whether user modifications to the data should be allowed. Then, each function which starts the transaction could also explicitly set this variable to False while starting, and return to True after everything has been successfully completed. Perhaps there are more elegant ways of doing this.


[KeyboardManager] KBM header files include WinUI headers causing longer incremental build times

Certain files like https://github.com/microsoft/PowerToys/blob/master/src/modules/keyboardmanager/common/KeyboardManagerState.h include the WinUI header for certain data types even though this is already in the pre-compiled header. This can cause longer incremental build times. Instead larger header files like this should not be included and instead the data types can be forward declared.

We just released 0.20 and this should be resolved there.  Please try it out.


Create a travis build that runs Druid on a K8S Cluster and runs the integration tests

Currently we have many different travis builds that setup a single node druid cluster and run integration tests.
This issue is to have one more that sets up the Druid cluster inside a K8S cluster (maybe using https://github.com/druid-io/druid-operator ) and runs some of the integration tests.
Once above setup exists, as a follow up, it would be modified to run Druid without Zookeeper for continuous integration testing of ability to run Druid without Zookeeper(see #9053 ) inside K8S Cluster.

@himanshug can help here, i have been testing on kind on travis, plus we can use the same way https://github.com/druid-io/druid-operator/pull/57 , i guess once we get this finalized.
let me know how are you planning to run this, can you describe the flow.

how are you planning to run this

it should be added as a new job in https://github.com/apache/druid/blob/master/.travis.yml , so travis would run it automatically on each PR

can you describe the flow

something along the lines of...

create a k8s cluster using minikube/kind/whatever-can-work-inside-travis
deploy druid-operator in above k8s cluster
deploy zookeeper using StatefulSet resource (replica = 1) so as to have predictable name for the pod (we wouldn't need postgres, since we can run overload at coordinator itself and have just one replica, so it can use derby)
deploy a druid cluster via druid-operator , druid cluster configuration should be same as that used by other existing builds running integration tests
run the integration tests
destroy everything

AFTER above is done, as a follow up we will change above Druid cluster configuration to not use Zookeeper and remove the Zookeeper

Hi @himanshug Our Druid cluster is deployed on K8s using Helm Chart. Maybe I can do some help for this great work.

I wouldn't say I have something ready :) , but I have done following many many times in remote k8s clusters...

deploy druid-operator in above k8s cluster
deploy zookeeper using StatefulSet resource (replica = 1) so as to have predictable name for the pod (we wouldn't need postgres, since we can run overload at coordinator itself and have just one replica, so it can use derby)
deploy a druid cluster via druid-operator

so, I could get those done somewhat easily if needed.
I am guessing, run the integration tests step would be trivial considering we are doing that in many other builds.
So, most important step missing is setting up a k8s cluster in travis build env that has enough resources to run a Druid cluster which can handle the things we do in integration tests.

Understood! Maybe I can add a new job in travis in the next few days, deployed a druid cluster on minikube K8s and run integration tests. Maybe use Helm Chart? What do you think?

Maybe use Helm Chart? What do you think?

In the end state, I would prefer the operator.

Hi @himanshug , I just make a PR linked before.
This PR add a new IT Job 71:
Deploy a K8s cluster based on minikube.
Deploy Druid cluster on K8s: single Druid, use local disk as Deep Storage and use derby as MetaStorage
Run single IT test ITNestedQueryPushDownTest which includes data ingestion, Historical loading and query action.
Now job 71 is successful which means this PR is not WIP anymore!
PTAL :)

thanks, yeah I will review that.


TaskPipe.leastSize() blocks

Maybe it's intended behaviour. My understanding is that a call to leastSize() would return the amount of data I can read without blocking. However, the function blocks before returning that info.. which kind of defeats the purpose. I use peek().length as a workaround now, but that actually feels a bit dirty.
here is the according code: https://github.com/rejectedsoftware/vibe.d/blob/34f1b81242bfa30a5b66faef443500452ca79eac/source/vibe/stream/taskpipe.d#L42

The semantics of leastSize are defined to return > 0 whenever the stream is not empty, so it generally has to block until at least some data has arrived. To avoid that, the dataAvailableForRead property can be queried first. If no blocking operations happen between the call to dataAvailableForRead and leastSize and yield() is not called, there can be no race condition here and the consecutive calls are safe without resorting to a mutex.

What if I want to know how much I can read without blocking?

That would be
if (stream.dataAvailableForRead) return stream.leastSize;
else return 0;

okay, I guess that makes sense

BTW, this is a part of the API that is still scheduled for a general review for the new "vibe-core" package. Most likely, there will be an IOMode parameter that can be used to instruct read() to not block or to only read as much as is available after at most a single block instead of trying to fill the whole buffer.

Oh that sounds nice. Is something similar planned for write?


add EXECUTION-PROCESS.md to docs

Issue Link: #226
Added the translated content of EXECUTION-PROCESS.md to operation-sequence.md

@syedzubeen could you please help fix the markdown linting failure?

The latest commit should fix the linter issues. 😃

Thanks a lot for the great contribution! Cheers!


Multi-module project with both android & kotlin modules

I have a multi-module android app that uses both android & pure kotlin modules.
To simplify, let's say that we have three modules as follows :
  graph TD;
      app-->data;
      app-->domain;

where :

app and data are android modules, so we would use koverHtmlReportRelease to generate a report for the release build variant.
domain is pure kotlin modules, so we would use koverHtmlReport to generate a report.

Coming from 0.6, my goal is to retrieve more or less the same coverage I had with the previous merged report.
➡ If I try to generate reports individually, I get a lower coverage because tests from another modules are not taken into account in the coverage calculation : for example a test in app will not cover domain code.
➡ I tried using the new dependencies {} DSL, in app, like this :
koverReport {
    androidReports("prodRelease") {
        dependencies {
            kover(project(":domain"))
            kover(project(":data"))
        }
        ...
    }
}

But, in this case, the task koverHtmlReport only generates coverage for domain, and koverHtmlReportRelease only generates coverage for app and data.
What is the correct configuration I need to use ?

Hi,
It is better to specify a block with dependencies in the root of the script
dependencies {
    kover(project(":domain"))
    kover(project(":data"))
}

koverReport {
    // configuring reports if necessary
}

To use the coverage of some Android build variant when running task koverHtmlReport, you should configure the default tasks:
koverReport {
    defaults {
        mergeWith("prodRelease") // or the name of any build variant needed
    }
}

See also

Thanks a lot for you answer.
I managed to make it work by doing the following :

applying the kover plugin on each module,
specifying all dependencies in the app module kover configuration,
launching the coverage task on the app module.

I hope this helps others !

I managed to make it work by doing the following :

applying the kover plugin on each module,
specifying all dependencies in the app module kover configuration,
launching the coverage task on the app module.

Do you mind sharing an example of the coverage task please?

Thanks a lot for you answer.
I managed to make it work by doing the following :

applying the kover plugin on each module,
specifying all dependencies in the app module kover configuration,
launching the coverage task on the app module.

I hope this helps others !

Yes! Worked for me too!


Is it possible to add vitepress-openapi to an existing Vitepress site as a menu item

What would you like?
Vitepress-openapi is beautiful.  I have a doc site already, and I would like to add the vitepress-openapi docs as a menu item on my top navigation menu.

Why is this needed?
There is often a lot of material besides the openapi specification that one needs for documentation.  I'd like to be able to include the openapi site within another site to keep everything together.
How could it be implemented?
I'm not knowledgeable enough to know.  Right now I am embedding openapi-explorer in a simple layout: page page associated with the menu item:
---
layout: page
sidebar: false
---
<script setup>
  import 'openapi-explorer/dist/es/openapi-explorer.js';
  import { useData } from 'vitepress'
  const { isDark, theme, page, frontmatter } = useData()
</script>

<Clientonly>
  <openapi-explorer
    v-if = isDark
    spec-url = "/adm-spec.yaml"
    hide-console = true
    hide-authentication = true
    hide-server-selection = true
    hide-components = false
    nav-bg-color = #1b1b1f
    secondary-color = #F8F8F5
    nav-hover-text-color = #85bd4f
    bg-color = #1b1b1f
    text-color = "#F8F8F5"
  >
  </openapi-explorer>

  <openapi-explorer
    v-else
    spec-url = "/adm-spec.yaml"
    hide-console = true
    hide-authentication = true
    hide-server-selection = true
    hide-components = false
    nav-bg-color = #ffffff
    secondary-color = #000000
    nav-hover-text-color = #F8F8F5
  >
  </openapi-explorer>

</ClientOnly>

This seems very awkward, and it's difficult to get the styles to match Vitepress's theme.  Might there be a way to extend the default theme with a layout called openapi and somehow link my spec file in the front matter?
Other information
I appreciate this work very much.  Thanks for considering the suggestion.

Hi @glennsc , do you mean to have something like this? https://vitepress-openapi-starter.vercel.app/reference.html (Repository)
In that case, you are looking for All Operations Layout, and specifying OpenAPI Specification as shown in the Multiple Specs Example. You can also configure the FrontMatter as shown in the Starter Repository.
I know maybe it's not well documented. PRs are welcome!

Hi @glennsc, does it answer your question? If so, I'd like to close this issue.
It not, please clarify a bit more what is needed. I know there are many missing features, like the recently added "Group by Tags" in #82, but I need to address them progressively.
Thank you so much for your words, feel free to suggest any other features!

Okay @enzonotario all operations layout  seems to work very nicely.  My API will have lots of operations so navigating a long page may be difficult -- Is there some way to get the operations to autogenerate the sidebar items as described here?

Hi @glennsc ,
When using OASpec component (All operations layout), it can't generate the left sidebar, but it can generate the "right sidebar" (aside section), as you can see in: https://vitepress-openapi.vercel.app/example/one-page.html
For this, you have to use VitePress FrontMatter:
---
aside: true
outline: [1, 2]
title: vitepress-openapi
---

You can also group by tags, collapse paths, etc. (https://vitepress-openapi.vercel.app/composables/useTheme.html)
So far, the "left sidebar" only works for One operation layout.

Thank you!  That works!


Invalid URL for 'exmaple project' in README.md

Hi,
thanks for develop such a useful tool.
In the README.md there is a link to example project which is not valid (getting 404).
What I'm looking for, how to use the parsed query directly in Mongoose? Is there any guide for this?
Thanks in advanced.

Hello, @ykh!
I'm glad the tool was useful for you.
Yes, unfortunately I disabled the example project referred on README.md. But I have an example of a project that uses the library. Here is the link to access it: https://github.com/lucasrochagit/template-nestjs-with-mongodb. I intend to keep updating this project, and I intend to use it as a reference for using the library, so I will update the README.md soon.
Please check the user service file, and see the find() method in the line 19. There's a quite example of how use the library object MongoQueryModel into find schema method, using the mongoose build pattern.
If you still have questions, don't hesitate to ask.
Best regards,


error loading model architecture: unknown model architecture: 'phi3'

What is the issue?
When i fine-tuned the phi3 and quantize it with latest llama.cpp,  i found ollama cannot load the model:

OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
0.1.32

+1

+1

same for me :(

+1

Me too.

Me too

This is due to a recent change to the microsoft/Phi-3-mini-4k-instruct-gguf model apparently.
Apologies for not being specific as I'm on the move, but I replaced the Phi3 download I did today which gave the unknown Phi3 model error, with a download from a couple of weeks ago, and the error went away.
I think Microsoft just changed the label from lama3 to phi3 in the latest version.

this discussion may be tracking the resolution: https://github.com/ggerganov/llama.cpp/issues/6849

Initial support for phi3 was added in 0.1.32, and conversion should be working in 0.1.33. Please give the latest RC a try and let us know if you're still having problems.
https://github.com/ollama/ollama/releases

+1

Hi, I've just tried latest version 0.1.37 and now I get the following error:
lama_model_load: error loading model: tensor 'blk.26.ffn_up.weight' data is not within the file bounds, model is corrupted or incomplete

here's the Modelfile I'm using:
FROM ./Phi-3-mini-4k-instruct-fp16.gguf
TEMPLATE """<s>{{ if .Prompt }}<|user|>
{{ .Prompt }}<|end|>
{{ end }}<|assistant|>
{{ .Response }}<|end|>"""
PARAMETER stop <|endoftext|>
PARAMETER stop <|assistant|>
PARAMETER stop <|end|>
PARAMETER num_ctx 4096

the GGUF file is coming from the Hugging Face MS repo:
https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-gguf/tree/main
Thanks

Hi all this should be fixed now. Sorry about the errors - let me know if you're still seeing it on the latest version of Ollama


Deployment checklist

Make a set of steps for setting up an instance of the Web UI, Core, and PSS, as done in production.  A different person to actually run those steps to make sure they're reproducible.

Among other things, we need the esnet-python module (from esnet/neg-tools) because the topology import script depends on some libraries in there.

Just making a note that we have RPM packaging for the two OSCARS components (backend, which includes the front end, and pss).
This document has build and deploy instructions:
https://docs.google.com/a/lbl.gov/document/d/10BIvB4z8p3oELItc6VhCziYBiC3UOzmSWb20vqqyS5s/edit?usp=sharing

Deploy instructions have been tested (and edited based on experience).

Declare victory on this.  It'll be incrementally updated as needed.


Passing --disable-etcd flag to remove etcd label needs restarting k3s service twice

Environmental Info:
K3s Version:
k3s -v
k3s version v1.20.4+k3s-fad2a046 (fad2a04)
go version go1.15.8
Node(s) CPU architecture, OS, and Version:
Ubuntu 20.04
Cluster Config
Node1 - etcd only
Node2 - no etcd
Node3 - all roles
Node3 -all roles
$ kubectl get nodes
NAME               STATUS   ROLES                       AGE     VERSION
ip-172-31-21-225   Ready    etcd                        3h14m   v1.20.4+k3s-fad2a046
ip-172-31-26-217   Ready    control-plane,etcd,master   103m    v1.20.4+k3s-fad2a046
ip-172-31-28-67    Ready    control-plane,master        3h15m   v1.20.4+k3s-fad2a046
ip-172-31-28-77    Ready    control-plane,etcd,master   67m     v1.20.4+k3s-fad2a046

Describe the bug:
Passing --disable-etcd flag to the node with all roles to remove etcd label is successful but etcd role label is removed only after restarting k3s twice.
$ kubectl get nodes
NAME               STATUS   ROLES                       AGE     VERSION
ip-172-31-21-225   Ready    etcd                        3h31m   v1.20.4+k3s-fad2a046
ip-172-31-26-217   Ready    control-plane,etcd,master   119m    v1.20.4+k3s-fad2a046
ip-172-31-28-67    Ready    control-plane,master        3h31m   v1.20.4+k3s-fad2a046
ip-172-31-28-77    Ready    control-plane,master        83m     v1.20.4+k3s-fad2a046

Steps To Reproduce:

Create a cluster with at least 3 nodes with etcd.
On any node with all roles pass --disable-etcd flag and restart k3s to apply the changes. Ensure 2/3 nodes etcd nodes were healthy and cluster did not loose quorum when one node is removed.

Expected behavior:
Restarting k3s service oncce should remove the etcd label
Actual behavior:
Needs two restarts to apply the changes.

After internal discussion, the preferred way to pass configs is through config.yaml as opposed to  using the deprecated method  of modifying systemd unit file.
Validated using the following steps

Update config.yaml, set disable-etcd to  true
Restart k3s service

ubuntu@ip-172-31-14-69:~$ kubectl get nodes
NAME              STATUS   ROLES                       AGE     VERSION
ip-172-31-11-50   Ready    control-plane,etcd,master   5h49m   v1.20.4+k3s-8ace8975
ip-172-31-13-32   Ready    etcd                        6h3m    v1.20.4+k3s-8ace8975
ip-172-31-14-69   Ready    control-plane,master        6h3m    v1.20.4+k3s-8ace8975

To enable etcd back on the same node,

Remove the disable-etcd entry from config.yaml
Restart k3s service

ubuntu@ip-172-31-14-69:~$ kubectl get nodes
NAME              STATUS   ROLES                       AGE     VERSION
ip-172-31-11-50   Ready    control-plane,etcd,master   6h2m    v1.20.4+k3s-8ace8975
ip-172-31-13-32   Ready    etcd                        6h16m   v1.20.4+k3s-8ace8975
ip-172-31-14-69   Ready    control-plane,master        6h16m   v1.20.4+k3s-8ace8975

Documentation issue https://github.com/k3s-io/k3s/issues/2635
Validated using CLI passing --disable-etcd flag.


New package: NUMA v0.1.0

Registering package: NUMA
Repository: https://github.com/JuliaPerf/NUMA.jl
Created by: @carstenbauer
Version: v0.1.0
Commit: 01b7170e6c0d4d1d17b9c3d35eecc3aef205b9dd
Reviewed by: @carstenbauer
Reference: https://github.com/JuliaPerf/NUMA.jl/commit/01b7170e6c0d4d1d17b9c3d35eecc3aef205b9dd#commitcomment-124150276
Description: NUMA tools (from libnuma) for Julia

I added a julia compat entry. As for the name, NUMA.jl is the right name for this package. The abbreviation (and capitalisation) is what everyone uses, see e.g. https://en.wikipedia.org/wiki/Non-uniform_memory_access. I would therefore like this to be merged manually.
(cc @ViralBShah)


Deploy Error: CREATE_FAILED: StaticAssets (AWS::S3::Bucket)

SvelteKit: 1.0.0-next.348
@yarbsemaj/adapter-lambda: 0.9.1
Copied serverless.yml as is from this repo to root directory.
Build was successful however I'm getting Error: CREATE_FAILED: StaticAssets (AWS::S3::Bucket) on deploy.
Tried removing everything (serverless remove) and deploying again but same error.
Here are some logs if it helps:
λ serverless deploy --verbose
Running "serverless" from node_modules

Deploying sveltekit-app to stage dev (us-east-1)

Packaging
Excluding development dependencies for function "svelte"
Excluding development dependencies for function "cfLambda"
Updated Lambda assume role policy to allow Lambda@Edge to assume the role
Added "origin-request" Lambda@Edge association for version "CfLambdaLambdaVersion9d8whyATJFrfutff6mjOifOMyJ8rhrJ2DIVrLuh1i8" to distribution "WebsiteDistribution"
Retrieving CloudFormation stack
Creating CloudFormation stack
Creating new change set
Waiting for new change set to be created
Change Set did not reach desired state, retrying
Executing created change set
  CREATE_IN_PROGRESS - AWS::CloudFormation::Stack - sveltekit-app-dev
  CREATE_IN_PROGRESS - AWS::S3::Bucket - ServerlessDeploymentBucket
  CREATE_IN_PROGRESS - AWS::S3::Bucket - ServerlessDeploymentBucket
  CREATE_COMPLETE - AWS::S3::Bucket - ServerlessDeploymentBucket
  CREATE_IN_PROGRESS - AWS::S3::BucketPolicy - ServerlessDeploymentBucketPolicy
  CREATE_IN_PROGRESS - AWS::S3::BucketPolicy - ServerlessDeploymentBucketPolicy
  CREATE_COMPLETE - AWS::S3::BucketPolicy - ServerlessDeploymentBucketPolicy
  CREATE_COMPLETE - AWS::CloudFormation::Stack - sveltekit-app-dev
Uploading
Uploading CloudFormation file to S3
Uploading State file to S3
Uploading service svelte.zip file to S3 (102.52 kB)
Uploading service cfLambda.zip file to S3 (102.52 kB)
Updating CloudFormation stack
Creating new change set
Waiting for new change set to be created
Change Set did not reach desired state, retrying
Executing created change set
  UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - sveltekit-app-dev
  CREATE_IN_PROGRESS - AWS::S3::Bucket - StaticAssets
  CREATE_IN_PROGRESS - AWS::IAM::Role - IamRoleLambdaExecution
  CREATE_IN_PROGRESS - AWS::Logs::LogGroup - SvelteLogGroup
  CREATE_IN_PROGRESS - AWS::Logs::LogGroup - CfLambdaLogGroup
  CREATE_FAILED - AWS::S3::Bucket - StaticAssets
  CREATE_FAILED - AWS::Logs::LogGroup - SvelteLogGroup
  CREATE_FAILED - AWS::IAM::Role - IamRoleLambdaExecution
  CREATE_FAILED - AWS::Logs::LogGroup - CfLambdaLogGroup
  UPDATE_ROLLBACK_IN_PROGRESS - AWS::CloudFormation::Stack - sveltekit-app-dev
  UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS - AWS::CloudFormation::Stack - sveltekit-app-dev
  DELETE_COMPLETE - AWS::S3::Bucket - StaticAssets
  DELETE_COMPLETE - AWS::Logs::LogGroup - SvelteLogGroup
  DELETE_IN_PROGRESS - AWS::IAM::Role - IamRoleLambdaExecution
  DELETE_COMPLETE - AWS::Logs::LogGroup - CfLambdaLogGroup
  DELETE_COMPLETE - AWS::IAM::Role - IamRoleLambdaExecution
  UPDATE_ROLLBACK_COMPLETE - AWS::CloudFormation::Stack - sveltekit-app-dev

× Stack sveltekit-app-dev failed to deploy (116s)
Environment: win32, node 16.15.1, framework 3.19.0 (local) 3.19.0v (global), plugin 6.2.2, SDK 4.3.2
Credentials: Local, "default" profile
Docs:        docs.serverless.com
Support:     forum.serverless.com
Bugs:        github.com/serverless/serverless/issues

Error:
CREATE_FAILED: StaticAssets (AWS::S3::Bucket)
dev-sveltekit-app-static-assets already exists

View the full error: https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stack/detail?stackId=arn%3Aaws%3Acloudformation%3Aus-east-1%3A306836384016%3Astack%2Fsveltekit-app-dev%2F2922b930-f3e3-11ec-8f77-0ecff273accf

1 deprecation found: run 'serverless doctor' for more details

I forgot to modify the bucket name in serverless.yml. Bucket name needs to be unique.

I have the same problem, but I do not want to change the name of the bucket every single time that I deploy, how can I fix this problem?

Hi @richardvaldivieso, thank you for your interest in my project!
you shouldn't need to change the service name with every deploy (unless you want to deploy multiple sites), the issue described above is caused by 2 factors,

The name of s3 buckets must be globally unique.
The name of the s3 bucket is derived from the service name in the serverless.yml file (thus the name in the severless.yml needs to be globally unique).

Once the static assets bucket has been created then serverless should not try and recreate it and instead should just deploy your assets to the existing bucket.
Thanks James


Added styled Music Player

It solves issue #842
Its working video,
https://user-images.githubusercontent.com/75881393/114075216-f10a6600-98c2-11eb-81dc-61051a5eae86.mp4

Please @ridsuteri review this PR.

@ridsuteri ..


Update k2-charts documentation to reflect k2recon work

The k2recon project (#261, etc.) changes the structure of the k2 configuration file slightly. The README.md, and possibly other documentation should be updated to reflect these changes.

https://github.com/samsung-cnct/k2-charts/pull/75


Freezing trie taking > 1 hour to complete

I've been using unicode-trie over at eloquent/precis-js, and it's been working great. However, I just recently decided to re-build my trie, and it took in excess of 1 hour to complete.
I don't remember it taking that long previously, but it has been a while since I've rebuilt, and this is on a reasonably fresh install of OSX El Capitan. I threw in some quick debug code, and tracked the issue down to UnicodeTrieBuilder._compactData(), but beyond that I don't know.
The process to reproduce is:
git clone git@github.com:eloquent/precis-js.git
cd precis-js
npm install
scripts/generate-data

Any ideas why it would be taking so long?

Wow, turns out this was a really bad bug. I ported that code from C, and I guess I made some mistakes converting it. Found a few places where the wrong number of args were being passed to functions, causing the slowness, and causing the generated trie to be much bigger than it needed to be (block deduplication was broken).
Fixed it in ab0fd8194a520673d5efa40fb800b0835adf1307. On one of my projects, the output file was reduced from 12KB to 8KB after the change. Ran your code with the new version just released (v0.3.1), and generating the trie is super fast now.
One other note: calling trie.freeze() here is not necessary since trie.toBuffer does that for you.

That is awesome! Thanks for the fix!


ANC Labs - Allow Lab Techs to provide a reason a test was not performed [5h]

Issue
Lab techs, like nurses, may not be able to perform a test on a given day due to stockouts, broken machinery, etc. The workflow needs to provide a method to document the reason and skip the test.

Tasks

Add the questions and infrastructure to support it.
Add logic to skip entering the results in the case it was not performed.

QA analysis

Performed normal ANC encounter, made all exam measurements normal, and referred most Lab tests to the lab.

Completed (paused) the encounter and logged out

logged back in at lab tech (8445)

Found patient in case management, but the pill said "Vitals Recheck" and not "ANC Labs" (not sure if this is related to the issue

completed the labs, submitted reasons the test could not be performed today for several labs. Worked successfully. Tested the ability to edit labs before submitting (successful) and submitted labs

After submitting the lab results, the followup  does not resolve on the case management screen:

logged out and returned to nurse user and checked case management - seems indeed the BP values I entered required a recheck - performed the recheck and saw the lab results (NOTE: we don't indicate that a lab was not performed on the lab results - perhaps we should).

Retrying with normal blood pressure...

performed the same tasks as above successfully with some minor issues described below:

Found issues

When a patient needs a vitals recheck, that follow-up appears in the Lab tech's case management screen, but this is not a lab tech's responsibility. They should only see that ANC Lab tests are "ordered." This is not a release blocker
Likewise, once the lab results are entered, the follow-up should be cleared from the Lab tech's screen (since they cannot perform the vitals recheck). This is not a release blocker
Both times I performed the malaria prevention subactivity, it did not move to "completed" until I refreshed the screen.  See video - this is not a release blocker, but if it can be fixed without delaying deployment, it would be ideal. Doesn't seem that this work would have introduced this bug, so curious how it came about.

https://www.loom.com/share/f72b2b8c085e431d852c7f5ae22bd9a7?sid=e043c530-8055-4688-accf-af80280d0894

Both times I performed the lab results follow-up, I was given additional questions for Syphillus, even though the Syphillus results were negative.

Followup
Test Result


Use Kale behind a proxy

Is it possible to use Kale behind a proxy?
After some googling I've found that the parameters could be used
java -Dhttp.proxyHost=xx.xx.xx.xx -Dhttp.proxyPort=xxxx -jar kale-1.8.1-standalone.jar login
But I'm still having a
A GET to: https://api.ng.bluemix.net/v2/info triggered an unexpected exception: java.net.ConnectException: Connection timed out: no further information
Let me know if you have some information. TY

I'm not in a good position to try access through a proxy. Oracle's documentation is https://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html
If you are lucky, the easy setting is probably java.net.useSystemProxies. If that does not work for you, I'm fairly sure you'll need to use the https variants: https.proxyHost and https.proxyPort.


POST product with custom taxonomy

Is there a way to create/POST product with custom taxonomy terms?

Hi there. GitHub is primarily for reporting bugs this REST API library and is not a support forum for WooCommerce REST API. If you have questions about the WooCommerce REST API you should ask on the community support forum here: https://wordpress.org/support/plugin/woocommerce


Positioning phone when driving

I am curious how one should position the phone in front of their face when driving. Maybe include something about this in the readme.
Please also clarify how much of the training data is collected specifically for the intended use case (while the subject is driving).

Hi,
I saw your post. Did you run this whole project?


ADS Issue

Describe the bug
When using ADS, you are meant to hold down the right mouse button to keep the ADS. Seems like when you click the fire button and let go off of the RMB, it doesn't doesn't stop the ADS and you have to click it again.
Reproducibility
Please try to reproduce the issue with as few other mods as possible. Then check one of the following checkboxes according to your results. To check a checkbox, replace the space between the square brackets with an x (like this [x]) or create the issue and check the checkbox by clicking on it.

[X] I reproduced this issue with as few other mods as possible installed.
[ ] I am unable to reproduce this issue consistently.

To Reproduce
Steps to reproduce the behavior:

Pickup any gun
Press and hold RMB
Press LMB
Let go off the RMB

Expected behavior
Should stop the ADS and the player should stop aiming down the gun, just like without shooting.
Versions

Modern Warfare Cubed: MWC-0.1-Dev-12(Technically)

Fixed for 0.1


Volunteers: Internal review of the level2 architecture: API specification

Description
Conduct an internal review of the Level2 architecture focusing on the API specifications. The review will validate the design, ensure compliance with best practices, and identify areas for improvement or clarification.
Goals

[ ] Review the Level2 architecture API specifications.
[ ] Validate API design against best practices and standards.
[ ] Identify inconsistencies, gaps, or areas requiring clarification.
[ ] Provide feedback and recommendations for improvements.

Expected Outcome
A comprehensive review of the Level2 architecture API specifications with documented feedback and actionable recommendations for refinement.
Acceptance Criteria

[ ] API specifications are thoroughly reviewed.
[ ] Feedback and recommendations are documented and shared.
[ ] All identified issues or gaps are addressed.
[ ] The revised API specification is approved by the internal team.

Mockups / Wireframes
NA
Product Name
Beckn
Domain
TBD
Tech Skills Needed
API Design, Architecture Review, Documentation, Best Practices
Complexity
Medium
Category
Architecture Review
Sub Category
API Specification

Reviewed the Level-2 document(API specification for Trust Layer) created by Abhishek Yadav.
https://docs.google.com/document/d/11DDyoTFeDsNWw-wxTKSRSFIz7BL5DUFyGvFUH6KtGFE/edit?tab=t.0#heading=h.pqed141oigc9
Added comments in the google doc.

This ticket will be closed as the iteration is over. future work will be done as part of a new ticket.
will link the ticket here once it is created.


StableNames optimization for instruments doesn't work after moving to GHC-7.10

The code
t = limSam 1 (osc 440)
dac $ mel [t, t, t, t]

Produces a lot of code. The optimization for StableNames of instruments is not working anymore.
Which makes imposible to write any non-trivial code.

I've moved to hashing algorithm. So now it works


Update README with hex installation instructions

What exactly has to be done here? Blocked by #29?

No, not blocked. I meant some basic information how to fetch the dependency from hex. This implies rebar3 usage.

Do you mean different ways (e.g. versions) of specifying the dependency in, say, rebar.config?

@tuncer I meant the latter, so it's clear how to use the package itself (and the fact it can be used).

Done: #42

With #42 merged, I think this can be closed as resolved.

Closing, fixed by #42.


Storyboard Pro

All Storyboard Pro PRs that needs merging:

https://github.com/pypeclub/avalon-core/pull/139
https://github.com/pypeclub/avalon-launcher/pull/19
https://github.com/pypeclub/pype-config/pull/35

resolves https://github.com/pypeclub/fourthwall-config/issues/12

closes https://github.com/pypeclub/fourthwall-config/issues/12


Days Left Header cutoff

Describe the bug in current situation
Days Left Header cutoff (see screenshot)
This is in fullscreen with 1920 * 1080 monitor

If applicable, add screenshots to help explain your problem. You an use screengrab.

duplicate of 1649


invalid request, please check your server timestamp or recv_window param.

Error second time you try get acount information. First Time I instantiate the class AccountServices, it returns information correctly.
public class AccountService
{
    BybitAccountService accountService = new(apiKey: KeysForTesting.Key, apiSecret: KeysForTesting.Secret, url: BybitConstants.HTTP_TESTNET_URL, debugMode: true);

    public async Task<AccountItemDTO> GetAccountBalance(AccountType accountType, string? coin)
    {

        var balance = await accountService.GetAccountBalance(accountType, coin);

            if (balance == null)
                return new AccountItemDTO();

            var accountList = JsonConvert.DeserializeObject<AccountListDTO>(JObject.Parse(balance)["result"].ToString());
            var accountItem = accountList?.List?.FirstOrDefault();

            return accountItem;
    }

The second time I try get in formation, the Constant CurrentTimeStamp is not updated with the current timeStamp, and get the error>
"{"retCode":10002,"retMsg":"invalid request, please check your server timestamp or recv_window param. req_timestamp[1707082502162],server_timestamp[1707082494985],recv_window[5000]","result":{},"retExtInfo":{},"time":1707082494985}"

this issue fixed on version 1.1.0, please retest and tks to your feedback

I was using the last package and got that error. I was doing some research and solve the problem with this line. May be the last version was not compiling because an error in 4 UT that were looking for orders that doesn't exists


bitwarden: 2023.8.3 -> 2023.9.0

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

there’s no rationale given for those changes

I think the expression is now easier to understand. It uses hooks which is what you're supposed to do.
It also relies on upstream's npm build to build the native Rust code rather than buildRustPackage.
Finally, this change allows using nix-update to update bitwarden.


chore(ci): customize backport PR title

Replace "Backport" with 🍒 to make the PR title little bit shorter

Or leaves your favorite emoji to replace "Backport"

@vm-001 Could you provide an example (like a screenshot) of what the PR title will look like after the merge?

Here is a example: https://github.com/vm-001/kong/pull/7

I recommend suffixing with "backport" - it makes searching for all backport PRs possible, I'm not sure if Github can search based on emojis.


release twitch_api2 0.6.0

[v0.6.0] - 2022-04-28
Commits
Added

Added Helix endpoints:

Manage Held AutoMod Messages
Get Global Chat Badges
Get Channel Chat Badges
Get Channel Emotes
Get Global Emotes
Get Emote Sets
Get Channel Stream Schedule
Update Channel Stream Schedule
Create Channel Stream Schedule Segment
Delete Channel Stream Schedule Segment
Get Creator Goals
Add Blocked Term
Get Blocked Terms
Remove Blocked Term
Unban User
Ban User
Update Chat Settings

Added Channel Terms to pubsub chat_moderator_actions
Added user-moderation-notifications topic to pubsub
Added extendsub to pubsub channel-subscribe-events-v1
Added delay to Get Channel Information
Added serde::Serialize to all helix endpoint return values
Added channel.subscription.end to EventSub
Added channel.subscription.gift to EventSub
Added channel.subscription.message to EventSub
Added user.authorization.grant to EventSub
Added channel.goal.begin, channel.goal.progress and channel.goal.end to EventSub
Added helix::make_stream to make streams out of paginated responses.
Added fields moderator_id,moderator_login,moderator_name and reason to BannedUser
Added pubsub::unlisten_command
Added moderator_removed as a moderation action to PubSub.
Added EmoteUrlBuilder to make an url with EmoteId::url() and ChannelEmote::url()
Added methods to Timestamp for constructing and handling them. Uses the time crate behind the time feature.
twitch_oauth2 has been upgraded, and following this upgrade, HelixClient, TmiClient and TwitchClient can be used as clients for token requests.
Added field game_name to Streams
Added function get_follow_relationships, get_broadcaster_subscribers, get_global_emotes, get_channel_emotes_from_id, get_channel_emotes_from_login and get_emote_sets to HelixClient
Added fields format, scale, theme_mode and template to ChannelEmote, GetEmoteSets and GlobalEmote
Added functions HelixClient::req_<method>_custom to return a specific struct/enum defined by the user. This also enables references in responses for these functions.
Added HypeTrainId to relevant eventsub and helix endpoints.

Changed

MSRV: 1.53.0
Made all specific string types actual types with aliri_braid
Deprecated specific term actions in ChatModeratorActionsReply, replacing them with ChannelTermsAction
Deprecated Vip action in ChatModeratorActionsReply, replacing it with VipAdded
Removed some derived impls and fixed builders that assumed a default wrongly.
HelixClient::new, TmiClient::new and TwitchClient::new now give a more specified client.
Added total and gifter information to helix Get Broadcaster Subscriptions
HelixClient methods search_categories, search_channels, get_followed_streams and get_moderators_in_channel_from_id now use streams to provide paginated response.
Renamed BroadcasterType::Affiliated -> BroadcasterType::Affiliate
Client extension methods that are paginated are now paginated lazily using a stream.
pubsub::listen_command now accepts Into<Option<&str>> as the auth_token.
pubsub::Topics and all topics now implement Clone and Hash.
TWITCH_HELIX_URL, TWITCH_TMI_URL and TWITCH_PUBSUB_URL are now url::Urls and can be overridden with environment variables. See the docs for more information.
Added field total to helix::Response
Changed return type of GetBroadcasterSubscriptions to be a vector of BroadcasterSubscription
Made Payload::verify and Payload::parse_http generic on the body type for AsRef<[u8]>
Made Payload in EventSub enumerate over the different message types, verification, revocation and notification. Adds a new Notification type which holds the different notification payloads. Payload is now Event and old NotificationPayload is now called Payload, this is because a payload can be a revocation, notification or verification.

Removed

Removed enum variants for a lot of error states in helix endpoint responses. Most of these are returned by HelixRequest_Error::Error
Removed deprecated follow endpoints Create Users Follows and Delete Users Follows
Removed helix webhooks and HelixRequestGetError::InvalidUri

bors r+

bors cancel

bors r+


[Map] DM-L'OkiArenaC][

Hash: 2cb7d2dcb8f5c5954ce18f84a129955b5117a2c1
Current name: DM-L'OkiArenaC][
From the readme, the author name should be  L'Oki
Whether there should be joint authors is a moot point in this case - as the readme (looks like it was written by Dawn) credits Dawn, also know as Dawn Knight, for some help.  This may well apply to some of the other maps by L'Oki
The readme gives the Player Count as 2-8

Done


Categorize sdk methods

This PR enables the functionality to group the methods of MedplumClient into meaningful categories. I'm open to feedback on what the exact categories / grouping should be. This PR is just meant to implement the initial functionality

Nice! A couple minor organizational thoughts

I like sticking with the actual CRUD words and the CRUD ordering: Create, Read, Update, Delete
I feel like graphql would make more sense to be grouped with executeBatch

Coverage remained the same at 94.727% when pulling fcda4561c21f183b5d352a0ddbd73af2e0900029 on rahul-categorize-sdk-methods into b3c6a4da0f149ed824ed4f4890ec841c71680a58 on main.


[Runtime] Add function to get parent type

Given a nominal type metadata, walk the parent chain to get the nominal type parent of the type. This doesn't handle generics for the time being as they make this trivial operation unnecessarily complicated.
Resolves: rdar://111049291

@swift-ci please test

@swift-ci please test Linux


How to convert the FastAI model to Pytorch JIT

Hi,
I trained a model with unet_learner but I can't convert it to jit.
I run the following code:
torch.jit.save(torch.jit.script(learn.model), 'jit.pt')
Here is the error:
UnsupportedNodeError: GeneratorExp aren't supported:   File "/usr/local/lib/python3.7/dist-packages/fastai/callbacks/hooks.py", line 21         "Applies hook_functomodule, input, output."         if self.detach:             input  = (o.detach() for o in input ) if is_listy(input ) else input.detach()                       ~ <--- HERE             output = (o.detach() for o in output) if is_listy(output) else output.detach()         self.stored = self.hook_func(module, input, output)
May I know how you convert it to a jit model?
Thanks

Try using torch.jit.trace with (1,3,258,258) trace input size

Thanks, it worked!


Add Bob Killen

Finally getting around to adding myself^^;;

/ok-to-test

FYI for CNCF staff members we use the company field to state our role. For example:
"company": "General Manager"

I can open a new PR tomorrow to update it 👍


Support page no longer showing success message after a change is made

http://localhost:9991/activity/support page is no longer showing success messages it used to show when you make any changes.
context["success_message"] seems to be set correctly. So this is likely a CSS bug.

This seems to have been introduced in https://github.com/zulip/zulip/pull/18260

The fix should be as straightforward as removing `"./static/styles/app_components.css" from support bundle in webpack.assets.json. Though might need some proper testing on whether it didn't break anything else.

@zulipbot claim

@hackerkid Do you happen to know where on the documentation I can find the build instructions so I can check my changes haven't broken anything?

@DeviousLab Appologies. I realized this is not an area that is easy to onboard new external contributors. I have created a PR for this. Anyway, this functionality resides in http://localhost:9991/activity/support in development environment and you need to be logged in as iago or any other user that have relevant permission.


Next update, please add features for inkwell (ripple effect) on image/other widget.

Use case
very troublesome to create a widget that uses the effect as Inkwell (ripple effect)
Proposal
Next update, please add features for inkwell (ripple effect) on image/other widget.

"Next update" sounds pretty demanding, especially considering this isn't urgent at all.  Am I missing something here?


Add build.zig.zon support

Description
This PR is intended to add support for the new 0.11.0 zig package manager.
You also need to add a tag to the latest git commit (like 0.0.1) or release a version.
Checklist

[ ] I added tests for my changes and they pass

Thanks !


Add +rest hint for json rest endpoints

I had a little trouble with converting example endpoint to make it json compatible, so I thought about adding such option to duct.
I wonder is it possible to have both :example and :rest in system.clj? For now I just replaced :app  [:example] with :app  [:rest] but it may be nice to have both.

Thanks for the patch.
However, with Duct I want to be careful about adding more profiles, because I want to be reasonably certain that a profile demonstrates the right way to do things before adding it to the template. In this case, I'm not certain whether I should advocate Ring-JSON, or something like Liberator, or something entirely new, so until I come to a decision on that, I'm afraid this pull request needs to be put on hold.
I do have a few comments on the code, however. First, I think that there's no point to having another example endpoint. We can just add a JSON route to the existing example endpoint. That's its purpose after all; to provide examples of use.
You also need to be careful about getting the indentation right. This is a template, after all, so it matters more than in regular code. On the last line of your example endpoint you indent several spaces too far.

Thanks for review. I merged new endpoint into existing example and fixed indentation.
I recently evaluated a few approaches to json support with duct and ring-json seems most lightweight. Let me know if there is something I can do with this PR.

Alternatively, should the json-body & json-response be automatically applied to base duct templates? The base template already provides api-defaults to wrap-defaults, and (it seems, at least) that most API-centric apps would wants JSON output/input, to conform to current industry standards.
json-body and json-response could be left out if the +site profile is set.
Then, a section of the README (or wiki) could be put towards changing your input/output data format (say to EDN, XML, etc), and would basically just point to the json-middleware and offer examples to change?

I don't think they should be added by default. While JSON is commonly used, there are plenty of scenarios that don't require JSON. For instance, if you have a single-page ClojureScript app backed up a web service, then the web service is more likely to use edn or Transit than JSON.

I'm closing this PR because after thinking about it, I don't want to use Ring-JSON as the canonical example of how to build a RESTful web service.


Don't Merge! PR real time test for target branch full build

Docs Build status updates of commit 0809298:
:clock10: Full build: the average full build time is 7 min(s) 28 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit 0809298:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


GetDashboard Fails Fatal When Scatterplot Exists in Dashboard

When a Dashboard in Datadog contains a scatterplot, the resulting API response from GetDashboard cannot be parsed.
Error:
2019/11/01 01:32:13 GetDashboard fatal: json: cannot unmarshal object into Go struct field GraphDefinition.requests of type []datadog.GraphDefinitionRequest

Related code: https://github.com/zorkian/go-datadog-api/blob/master/dashboards.go#L163
Requests []GraphDefinitionRequest `json:"requests,omitempty"`

A scatterplot in the API response looks like the following, note the viz type of scatterplot:
{
    "definition": {
        "yaxis": {
            "scale": "linear",
            "min": "auto",
            "max": "auto",
            "label": "",
            "includeZero": true
        },
        "color_by_groups": [],
        "xaxis": {
            "scale": "log",
            "includeZero": false
        },
        "viz": "scatterplot",
        "requests": {
            "y": {
                "q": "max:example.stat{*} by {example_tag}",
                "aggregator": "max"
            },
            "x": {
                "q": "max:example.stat{*} by {example_tag}",
                "aggregator": "max"
            }
        }
    }
}

As you can see "requests" is no longer a slice, causing deserialization issues.
Unfortunately I can't come up with a backwards compatible way to support scatterplots. Although I'm working on parsing this in a fork with a custom unmarshaler.

Unexpectedly this allows GetDashboard to not fail, while being backward compatible. Although I doubt it's the best change to implement going forward!
	Requests            []GraphDefinitionRequest `json:"requests,omitempty"`
	RequestsScatterplot struct {
		Y struct {
			Q          string `json:"q"`
			Aggregator string `json:"aggregator"`
		} `json:"y"`
		X struct {
			Q          string `json:"q"`
			Aggregator string `json:"aggregator"`
		} `json:"x"`
	} `json:"requests,omitempty"`

Here's the functioning change I've come up with thus far.
	RequestsRawMessage  json.RawMessage          `json:"requests,omitempty"`
	Requests            []GraphDefinitionRequest `json:"-"`
	ScatterplotRequests struct {
		Y struct {
			Q          string `json:"q"`
			Aggregator string `json:"aggregator"`
		} `json:"y"`
		X struct {
			Q          string `json:"q"`
			Aggregator string `json:"aggregator"`
		} `json:"x"`
	} `json:"-"`

Further below I added a custom unmarshaler for GraphDefinition data:
func (gd *GraphDefinition) UnmarshalJSON(data []byte) error {
	type Alias GraphDefinition
	alias := &struct {
		*Alias
	}{
		Alias: (*Alias)(gd),
	}

	json.Unmarshal(data, &alias)

	if len(alias.RequestsRawMessage) != 0 {
		if *alias.Viz == "scatterplot" {
			err := json.Unmarshal(alias.RequestsRawMessage, &alias.ScatterplotRequests)
			if err != nil {
				panic(err)
			}
		} else {
			err := json.Unmarshal(alias.RequestsRawMessage, &alias.Requests)
			if err != nil {
				panic(err)
			}
		}
	}
	return nil
}

I am also having this problem.

I think that using the custom unmarshaller is a reasonable way to go forward in this issue - I'd accept a PR that implements that.
However, there is another way - using the /api/v1/dashboard API and the related *Board (GetBoard, ...) methods that seem to be handling this case fine. Would that be an option for you?

@bkabrda please double check me, but when I used /api/v1/dashboard the result was not equivalent. I'll see if I can get specific details on that again.

Am I missing something /api/v1/dashboard isn't supported yet by this lib? I added my own functionality in a fork.


Nuget Packages don't show up in Search

But might just be me

Ah figured out the issue, you have to make sure nuget sources include the v2 api. My bad


Build against early access JDK 23 release

Suggested commit message:
Build against early access JDK 23 release (#1329)

I would have expected an Error Prone incompatibility, but in fact it's an OpenRewrite incompatibility :sweat_smile:. @timtebeek FYI:
Caused by: java.lang.NoSuchMethodError: 'com.sun.tools.javac.tree.DCTree$DCDocComment com.sun.tools.javac.tree.DocCommentTable.getCommentTree(com.sun.tools.javac.tree.JCTree)'
	at org.openrewrite.java.isolated.ReloadableJava11ParserVisitor.convert(ReloadableJava11ParserVisitor.java:1590)

JDK 23 will be released later this month, so perhaps worth looking into. (My schedule is packed the coming weeks, so unfortunately I won't have time to dive in myself.)

As an aside you might want to change these lines to use rewrite-java-17, or a version matching the runtime Java version, as you're right now getting an error from our Java 11 parser, but a fix is likely to land in a newer parser version instead.

Ack! I filed #1330.

Now also tracked at: https://github.com/openrewrite/rewrite/issues/4513

Updated the PR; build should pass once openrewrite/rewrite#4618 is released.

Updated the PR; build should pass once openrewrite/rewrite#4618 is released.

I've just released https://github.com/openrewrite/rewrite/releases/tag/v8.38.1 ;
That's on top of yesterday's https://github.com/openrewrite/rewrite-templating/releases/tag/v1.16.3
Do let me know how those work out for you!

Nice! I expect Renovate to open the upgrade PR tonight. :new_moon_with_face:

Nice! I expect Renovate to open the upgrade PR tonight. 🌚

Nope, cause we pull it in via rewrite-recipe-bom, for which no release happened yet. For now I added an upgrade commit to this branch; to be dropped again later. Build should now pass.... :eyes:

Nice to see the fixes @timtebeek 🚀 !

Thanks all! Great to see the fix land here; we release OpenRewrite every two weeks, with the next one the day before JFall to remove the temporary override added here.


Convert to TypeScript

Codecov Report

Merging #145 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #145   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        13
  Lines          269       280   +11
  Branches        24        73   +49
=========================================
+ Hits           269       280   +11

Impacted Files
Coverage Δ

src/QueryBuilder.tsx
100.00% <100.00%> (ø)

src/Rule.tsx
100.00% <100.00%> (ø)

src/RuleGroup.tsx
100.00% <100.00%> (ø)

src/controls/ActionElement.tsx
100.00% <100.00%> (ø)

src/controls/NotToggle.tsx
100.00% <100.00%> (ø)

src/controls/ValueEditor.tsx
100.00% <100.00%> (ø)

src/controls/ValueSelector.tsx
100.00% <100.00%> (ø)

src/utils/findRule.ts
100.00% <100.00%> (ø)

src/utils/formatQuery.ts
100.00% <100.00%> (ø)

src/utils/generateValidQuery.ts
100.00% <100.00%> (ø)

... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5f022e...45879a5. Read the comment docs.


Added Office365 Domains for MS GCC High Regions

https://github.com/MicrosoftDocs/microsoft-365-docs/blob/public/microsoft-365/includes/office-365-u.s.-government-gcc-high-endpoints.md

Approved.


add netcore project

Thanks for the PR, I'll be waiting for Elastic to move out of RC before adding .Net core support