Running tasks asynchronously

Hey there, couldn't find anything useful in the source so I thought to ask a question in case I've missed something. Say I've got three tasks scheduled to run every minute that are independent from each other. One task is a few seconds running process where the other two are lasting from 20-30 seconds (due to API wait time) bringing it to almost 60 seconds run-time in total.
I'm curious whether it's somehow possible to configure certain tasks to run asynchronously (through sub-process or something else) and some to continue as one-by-one?
I'm also aware of the fact that sub-process can't survive after main process exited, so a possible implementation might be to wait for all of the sub-processes to exit before terminating the main one.

This is a limitation of the bundle currently. See #7 & #6. v1.1.0 introduced a MessageTask that could help. This task sends messages to your message bus. So if the messages sent are configured as async and you have multiple workers, they could be processed in parallel.
Are you using messenger? Could that help?

I have also been thinking of a "task group" concept that could help here. Each task could be assigned to a group (with no group being the default). You could have each of these 3 tasks in a separate group and have 4 cron entry's (one for the default and one for each group):
* * * * * cd /path-to-your-project && php bin/console schedule:run >> /dev/null 2>&1 # default group
* * * * * cd /path-to-your-project && php bin/console schedule:run --group=group1 >> /dev/null 2>&1
* * * * * cd /path-to-your-project && php bin/console schedule:run --group=group2 >> /dev/null 2>&1
* * * * * cd /path-to-your-project && php bin/console schedule:run --group=group3 >> /dev/null 2>&1

Now, every minute, all 4 cron entry's are executed in parallel.
Keep in mind this feature does not yet exist.

I'm not using messenger, but I do understand how it would help. I'm currently running those tasks that are running longer as a separate cron entry on the server with a custom lock lookup to ensure two servers are not running it.
Task group is something I was originally looking for (and expected when I realized that it's possible to create two or more task schedulers). It's something that really makes sense, as some tasks may unnecessarily postpone other tasks.

Yeah, messenger would have to be specifically configured with multiple workers for this to work and even then it isn't guaranteed. Task groups is the real solution. I've created #40 and will try to implement when I can. Shouldn't be too difficult.

I'm going to close this issue in favor of #40, if there's a way to help/brainstorm about it, I'm open for it. I don't have much experience with creating/modifying bundles so I'm not sure if I'll be able to make a PR for it. Might try it in the future if you don't tackle it by then.

Symfony\Component\Process\Process has a start() method that runs a process asynchronously. Why is it not possible to run all processes together concurrently and wait() for all of them to finish? It would make the most sense.


Motion supporters: wrong sorting in motion detail and export

Description: If a motion has supporters, the sorting of them in the motion detail view and in the pdf export is wrong and follows no obvious logic.
Example of wrong sorting in meta data:

Reproduction:
pre condition: A few users are needed to add them as supporters.

open a meeting
open settings > motions > supporters > change number of minimum voters to 5 > save it
open motions > three-dot-menu > workflows > simple workflow > add Allow support to all states
open motions > create a motion with simple workflow > add users as supporters > save
check in the motion detail the supporter sorting
export the motion and check the sorting of the supporters.

What should happen:
The sorting should follow the same rule like the participant sorting or if this is to complex to handle a clear rule like sorted by first name would be good.

Tested this, the sorting follows the the order in which you insert the users and the sorting is changeable in the detail view. This would be more an "enhancement".


Linux mainline support

Add support for kernels from meta-linux-mainline. This allows using linux-mainline and linux-stable as providers for virtual/kernel.

This depends on #429 , so it will have to wait a bit.

run tests


Update difference-deep-and-normal-learning.md

Fix typo imagine => image

Haha, that's a weird typo, thanks for the fix!


fix: include 'x-goog-request-params' header in requests

This PR was generated using Autosynth. :rainbow:
Here's the log from Synthtool:
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:e3c054a2fb85a12481c722af616c7fb6f1d02d862248385eecbec3e4240ebd1e
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/vision/artman_vision_v1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/vision-v1.
synthtool > Running generator for google/cloud/vision/artman_vision_v1p1beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/vision-v1p1beta1.
synthtool > Running generator for google/cloud/vision/artman_vision_v1p2beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/vision-v1p2beta1.
synthtool > Running generator for google/cloud/vision/artman_vision_v1p3beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/vision-v1p3beta1.
synthtool > Running generator for google/cloud/vision/artman_vision_v1p4beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/vision-v1p4beta1.
.eslintignore
.eslintrc.yml
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.jsdoc.js
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/docs.cfg
.kokoro/continuous/node10/lint.cfg
.kokoro/continuous/node10/samples-test.cfg
.kokoro/continuous/node10/system-test-grpcjs.cfg
.kokoro/continuous/node10/system-test.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node11/common.cfg
.kokoro/continuous/node11/test.cfg
.kokoro/continuous/node6/common.cfg
.kokoro/continuous/node6/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/docs.cfg
.kokoro/presubmit/node10/lint.cfg
.kokoro/presubmit/node10/samples-test.cfg
.kokoro/presubmit/node10/system-test-grpcjs.cfg
.kokoro/presubmit/node10/system-test.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node11/common.cfg
.kokoro/presubmit/node11/test.cfg
.kokoro/presubmit/node6/common.cfg
.kokoro/presubmit/node6/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/publish.sh
.kokoro/release/publish.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.nycrc
.prettierignore
.prettierrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
Skipping: README.md
codecov.yaml
renovate.json
synthtool > Replaced 'https:\\/\\/cloud\\.google\\.com[\\s\\*]*http:\\/\\/(.*)[\\s\\*]*\\)' in src/v1/doc/google/protobuf/doc_timestamp.js.
synthtool > Replaced 'https:\\/\\/cloud\\.google\\.com[\\s\\*]*http:\\/\\/(.*)[\\s\\*]*\\)' in src/v1p4beta1/doc/google/protobuf/doc_timestamp.js.
synthtool > Replaced 'https:\\/\\/cloud\\.google\\.com[\\s\\*]*http:\\/\\/(.*)[\\s\\*]*\\)' in src/v1p3beta1/doc/google/protobuf/doc_timestamp.js.
synthtool > Replaced 'toISOString\\]' in src/v1/doc/google/protobuf/doc_timestamp.js.
synthtool > Replaced 'toISOString\\]' in src/v1p4beta1/doc/google/protobuf/doc_timestamp.js.
synthtool > Replaced 'toISOString\\]' in src/v1p3beta1/doc/google/protobuf/doc_timestamp.js.

><EMAIL_ADDRESS>install /tmpfs/src/git/autosynth/working_repo/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using needle for node-pre-gyp https download
[grpc] Success: "/tmpfs/src/git/autosynth/working_repo/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64-glibc/grpc_node.node" is installed via remote

><EMAIL_ADDRESS>postinstall /tmpfs/src/git/autosynth/working_repo/node_modules/protobufjs
> node scripts/postinstall

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1133 packages from 1322 contributors and audited 7110 packages in 25.393s
found 3 vulnerabilities (1 low, 2 moderate)
  run `npm audit fix` to fix them, or `npm audit` for details

><EMAIL_ADDRESS>fix /tmpfs/src/git/autosynth/working_repo
> eslint --fix '**/*.js'

synthtool > Cleaned up 2 temporary directories.
synthtool > Wrote metadata to synth.metadata.

@callmehiphop @beccasaurus it looks like the samples tests are failing right now with this change.  @callmehiphop mind investigating?

@JustinBeckwith the sample failures do not appear to be related to this change, I'm able to reproduce locally pretty easily on master. We need to re-think our assertion for the test in question, we could update to our assertion to look for something that is regularly returned, but I think that just means we could see a failure like this again in the future. Alternatively we could just check for a score and not care what results the API returns. WDYT?

I think your plan to just check for a score and not care about the results is the most responsible.   Mind making a fix on master before landing this?

Merged!


Issue on renderColumnHeader - Cannot read property 'renameColumn' of undefined

Hi,
I encountered this error while working on renderColumnHeader and following the documentation:
Cannot read property 'renameColumn' of undefined:
Here a sandbox:
https://codesandbox.io/s/react-kanban-demo-forked-m5097?fontsize=14&hidenavigation=1&theme=dark

Hi @MoiseScalzo thanks for the feedback
When the board is controlled the columnBag is not passed to the RenderColumnHeader.
We gotta update the docs

Hi @Sabrinovsky,
thanks for the answer...


connection was not restored after goaway/shutdown

Just caught a case with v0.11.3 where c.t.p.a.ApnsClientHandler log says:
Received GOAWAY from APNs server: {"reason":"Shutdown"}
And the server failed each and every following request.
Looks like APNs server upgrade got the best of us.
Restarting process bailed me out.

Huh. That seems like an upstream bug (if the server is shutting down, why wouldn't it close the connection?), but I guess we can special-case Shutdown and close the connection on our own if we see it.


Handle upgrades immediately

If i'm not mistaken this code is synchronous.
I wonder if it is feasible to change that method to make it return nativeSocket directly, so instead of registering a new connection handler every time we will simply have something like this:
const socket = server.upgrade(fd, header);

which is similar to the API used by faye-websocket-node.
In the ws interface we can then warp it in the handleUpgrade(req, socket, head, cb) method.

upgrade is always serial when called from JS-land, but can be serial or async when called from C++ (you pass a boolean to specify that). I could make upgrade directly return the nativeSocket but that would make the native C++ interface differ from the "native" JS interface. Also, I would have to do kind of the same logic only in C++, so the problem would only move from JS to C++. I want the two interfaces to be 1:1 as far as possible, and then do any needed modifications in JS land.
If you know that you can improve memory usage by not setting a closure all the time, maybe you would get the same memory improvements by only setting the function once, but having a "global" variable pass along the data? I'm not sure.

You mean something like this right?
let request = null;

wss.onConnection(function (socket) {
  // do stuff with `request`
  request = null;
});

server.on('upgrade', function (req, socket, head) {
  request = req;
  wss.upgrade(socket._handle.fd, req.headers['sec-websocket-key']);
  socket.destroy();
});

I'm not very happy with it.
Returning the request object with the socket passed to onConnection or as an additional argument is also not feasible I guess as it is pretty heavy.

Pretty much yes, but you see the problem - if I make upgrade return a socket, I still need to do exactly the same logic, but "hidden" in C++. This was the way I did it in node-lws, in reality the exact same thing happened under the hood. This time I do not want to build a very complex wrapper, it should just be minimal and to the point and as long as you can take the building blocks and build a tower it has served its purpose. Especially since this interface is not even officially exposed, the exposed interface is the ws one.

Yes I understand and it makes sense.
I just find it odd to add a callback when that callback is called in same tick, but I can live with it.

In node-lws I tried to do everything in the wrapper and I ended up with many different paths the code could take, like if I a socket was closed by the code, or by the network that had two paths: the callback in case of the network close and not the callback in terms of the from-function-call triggered close. Same with connection and upgrade. This time I want to have only one path for every event and just change the callback when that is needed. It makes things look a little weird but the underlying code becomes simple. This interface will change with time but I do not want to change it just because, if there are other reasons I can change it.


pull request for e2e test at 12/18/2016 00:16:02

:white_check_mark: Validation status: passed
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.


When creating a Blob Container through the command palette an extra step appears

When using the Azure Storage: Create Blob Container command after choosing a Storage Account the next step should be input the name of the new Blob Container but this step appears instead:

Also reproduces for Azure Storage: Create File share, Azure Storage: Create Table, and Azure Storage: Create Queue.
Edit: Also seems to happen with the Delete command

Reopening until the fix is merged in resource groups and verified.


fix: RoPE embeddings do not preserve dtypes

RoPE embeddings use complex as an underlying representation for the frequencies, which leads to it enforcing float32 dtype when applying to any float type that is lower in the promotion chain than float32 (e.g. float16/bfloat16). This PR fixes the issue by adding a new keyword argument, dtype, and using the frequencies with the correct dtype throughout the implementation.

Btw, another issue: the order of parameters is annoyingly the opposite of the order in nn.Embedding, but we cannot change it now because backwards compatibility :sob:
Though I suppose that there is about one person who were using RoPE anyways (since transformers in JAX are pain anyways), so maybe it is not critical. Idk. WDYT?

@Artur-Galstyan Could you also take a look? It was your implementation, after all.

Alright, so I looked at my last comment, and I figured that I can just straight up convert the output to the old dtype, similarly how it is done in normalization modules. So now we avoid manual conversion.

@knyazer it LGTM too. The reason I implemented this using complex numbers was because it was actually slightly faster (though not by much if I remember correctly - there should be somewhere a speed comparison table in one of the closed PRs).
FYI, there is currently a subtle bug in the way it's currently implemented. I have a PR open #799 to fix that, but it's not 100% done yet. It'd be nice to get this merged so that I can rebase on it in my own PR.

Thanks for the feedback, @Artur-Galstyan! Sorry about your PR, I didn't check beforehand, so you will probably have a ton of conflicts :sweat_smile:
About the speed: yea, I would have expected complex to be slightly faster for a bunch of reasons, but I'm pretty sure using a smaller dtype leads to a more significant performance gain.

@patrick-kidger PTAL

Awesome! Thanks for the fix, this LGTM. :)


Added support for Test::Mojo::WithRoles

@jberger, please give feedback.

It certainly can be done this way. An easier abstraction might be to move the logic to the role and then the subclass and just compose the role into the subclass.
FWIW, I started working on my own role-based solution that was intended for sessions flashes and cookies (merging your work and Test::Mojo::More). The result (so far) is here: https://gist.github.com/jberger/72527a9702c2ed8b5e2f You would be welcome to borrow from it, if you like. I think the extraction code is a little safer. Also, I don't rely on _test, which is private.

Thanks!
Extracting a session from controller really is more simple and reliable way.

decided not to use the other logic then?

I decided to leave the logic in package Test::Mojo::Session, in order to dependence Role::Tiny was not required for my module.
Getting session using the controller I will add, but a little later today.

I guess that makes sense. I have kinda wondered if there will be a proliferation of parallel modules then, one role and one subclass. I have to admit it is attractive for certain reasons.

Hm, perhaps Test::Mojo::Session should not contain Test::Mojo::Role::Session?

No, IMO it should, forget what I said before. That was me just thinking about the future of Roles. I would rather encourage them.

Ok, thanks for discussing.


python310Packages.yabadaba: 0.1.2 -> 0.1.3

Description of changes
https://github.com/usnistgov/yabadaba/releases/tag/v0.1.3

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)
[ ] 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/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

6 packages built:

python310Packages.atomman
python310Packages.potentials
python310Packages.yabadaba
python39Packages.atomman
python39Packages.potentials
python39Packages.yabadaba


feat(dynamic-forms): PoC - add custom validation capability

Proof of Concept - Custom validation for dynamic-forms
Description
Three custom validation scenarios are implemented to accommodate project needs and covalent  scalability.

Simple config object
Pure function in the form ValidatorFn from @angular/forms
Validators migrated to the covalent platform

Extending the dynamic-forms API
textElements: ITdDynamicElementConfig[] = [{
    name: 'input',
    type: TdDynamicElement.Input,
    required: false,
    customValidators: [
          // Add your custom validators here
     ]
  }]

A property named customValidators is added to ITdDynamicElementConfig which contains an array of custom validation configs ( ITdCustomValidate ) or pure functions with the signature and architecture of ValidatorFn from @angular/forms.
ITdCustomValidate  configs and ValidatorFn functions contained in the customValidators array may be mixed and in any order.
Simple Config Object
To ease the development of simple and quick custom validation, use the simple ITdDynamicElementConfig  config. The benefit is quick and easy implementation. The limitation is the message output needs to be static ( no input values added to message ).
    export interface ITdCustomValidate {
        name: string;
        message: string;
        predicateFn(value: any): boolean ; // return true if valid
    }

And implemented as:
textElements: ITdDynamicElementConfig[] = [{
    name: 'input',
    type: TdDynamicElement.Input,
    required: false,
    customValidators: [
          // Add your custom validators here

           <ITdCustomValidate>{
                name: 'containsNumber',
                message: 'Need a number',
                predicateFn: (value: any): boolean => {
                   return /\d/i.test(value); // Return true if valid
                 },
             },

     ]
  }]

ValidatorFn
A pure ValidatorFn type function provides the lowest level development of a validator function. The developer is required to adhere to the ValidatorFn architecture from @angular/forms, and to return an error object ( if inValid ) of the interface ITdCustomError.
textElements: ITdDynamicElementConfig[] = [{
    name: 'input',
    type: TdDynamicElement.Input,
    required: false,
    customValidators: [
          // Add your custom validators here

         // Contain at least one special character
         <ValidatorFn>(control: AbstractControl): { [key: string]: any } => {

             let validCharacters: string[] = ['!', '@', '#', '$', '%'];
             let regex: RegExp = new RegExp('[' + validCharacters.join('').toString() + ']', 'g');

             let isValid: boolean = regex.test(control.value);

             let error: ITdCustomError = {
                'containSpecialCharacters': {
                     message: 'Need at least one special character (' + validCharacters.join(', ').toString() + ')',
                },
            };

        return !isValid ? error : undefined;
      },

     ]
}]

Migration to covalent
Architecture is provided to easily add validations to covalent, extending the dynamic-forms API.
textElements: ITdDynamicElementConfig[] = [{
    name: 'input',
    type: TdDynamicElement.Input,
    required: false,

   myAwesomeValidatorInCovalent: true, // <-- migrated from project

  }];

Test Steps

[ ] git clone feature/jo-poc-custom-validation-565
[ ] ng serve
[ ] navigate to http://localhost:4200/#/components/dynamic-forms

General Tests for Every PR

[ ] ng serve --aot still works.
[ ] npm run lint passes.
[ ] npm test passes and code coverage is not lower.
[ ] npm run build still works.

I updated the PR with a simpler interface and an error template to provide error messages, this way we are future proofing for i18n.
For now im using a normal div to show/hide the errors, but when material releases their form-field element we might be able to leverage and return to use md-error again.


NaN occurs when building with BatchNormalization, PReLU, Flatten and Dense

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:a GNU/Linux system with Linux kernel 4.15.0 on 1 6-core 3.60GHz Intel Core CPU i7-6850K with 64 GB RAM equipped with a NVIDIA Corporation GP102 GPUs
TensorFlow installed from (source or binary): source
TensorFlow version (use command below):tensorflow2-GPU
Python version:3.6

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
I got the NaN loss when I tried to train my model
Describe the expected behavior
The loss should be a number
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
batch_size = 112
epochs = 119
num_classes = 10
import os
save_dir = 'model'
model_name = 'test971_trained_model.h5'
import tensorflow.keras as keras
(x_train, y_train), (x_test, y_test) = keras.datasets.cifar10.load_data()
print('x_train shape:', x_train.shape)
print(x_train.shape[0], 'train samples')
print(x_test.shape[0], 'test samples')
img_rows, img_cols = x_train.shape[1], x_train.shape[2]
y_train = keras.utils.to_categorical(y_train, num_classes)
y_test = keras.utils.to_categorical(y_test, num_classes)
model = keras.models.Sequential()
model.add(keras.layers.BatchNormalization(momentum = 0.4639004933194679,epsilon=0.6515653837017596))
model.add(keras.layers.PReLU(alpha_initializer='Zeros'))

model.add(keras.layers.Flatten())
model.add(keras.layers.Dense(num_classes))
x_train = x_train.astype('float32')
x_test = x_test.astype('float32')
x_train /= 255
x_test /= 255
model.compile(loss=keras.losses.categorical_crossentropy,optimizer=keras.optimizers.Adadelta(), metrics=['accuracy'])
model.fit(x_train, y_train, batch_size=batch_size, epochs=epochs, verbose=1, validation_data=(x_test, y_test))
model_path = os.path.join(save_dir, model_name)
model.save(model_path)

Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
Epoch 1/119

  112/50000 [..............................] - ETA: 37:05 - loss: nan - accuracy: 0.0804

  448/50000 [..............................] - ETA: 9:20 - loss: nan - accuracy: 0.0826

  784/50000 [..............................] - ETA: 5:22 - loss: nan - accuracy: 0.0778

I am able to replicate the issue reported, please find the gist here

I am able to replicate the issue reported, please find the gist here


Removed unused parameter from example code

Looks like a parameter from the next example was accidentally included in this one as well.
I did not edit the last line of the file, there might be a newline at the end of the file that GitHub's editor may have added or removed and it's highlighting that in the diff.

Oops, never mind, duplicate of #1309


DBever tries to connect to wrong port

Description
I thought this would be straight forward. Add the host: server\Instance
The port is automatically filled when SQL Server is selected : 1433
Add the database I want opened: DatabaseName
Drivers downloaded
Authentication. I'm trying AD Integrated but also created a Sql Server Authenticated user. Both give the same error.
Test Connection: "The TCP/IP

connection to the host cap-dev-sql, port 62189 has failed. Error: "connect timed out. Verify the connection properties."
Why is it trying to open port 62189?
Firewall is open for MSSQL ports. I connect with SSMS and .net apps. I verified tcp/ip settings.
DBeaver Version
Version <IP_ADDRESS>211061524
Operating System
Windows 10 Enterprise
Database and driver
SQL Server 2017
Driver: Microsoft JDBC Driver for SQL Server
Steps to reproduce

Add the host: server\Instance
The port is automatically filled when SQL Server is selected : 1433
Add the database I want opened: DatabaseName
Authentication. I'm trying AD Integrated but also created a Sql Server Authenticated user. Both give the same error.

Additional context
No response
dbeaver-debug.log
Copy.log

Hello @hawkdoc-mtp,
Are you using SSH?

No.

Really? No one has any information about DBeaver trying to open a port that is different from the default on specified?

It might be something with the driver. We need to investigate this issue.

Just to minimize the scope of potential problems, have you changed any of the driver properties?

I installed the app and was presented with a key requirement. The. Uninstalled. Sent from my iPhoneOn Nov 24, 2022, at 7:49 AM, ShadelessFox @.***> wrote:
Just to minimize the scope of potential problems, have you changed any of the driver properties?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

What if you change the port to some other value? Will the same value be shown upon connecting?

there have been no updates for a long time. If the issue is still actual - feel free to reopen it.


Adding MDX-Embed component support; Adding component provider

Add support for a long list of MDX-Embed components
Also allows mapping a list of imported components to every page.
I developed this for another site and found it useful pretty much everywhere. Hopefully they bring the docs site back, here's the list of components supported:

AirtableBase
AirtableForm
Buzzsprout
Cinnamon
CodePen
CodeSandbox
EggheadLesson
Figma
Flickr
Gist
Instagram
Lbry
LinkedInBadge
Pin
PinterestBoard
PinterestFollowButton
Replit
SimplecastEpisode
Snack
SoundCloud
Spotify
TikTok
Twitch
Tweet
TwitterFollowButton
TwitterHashtagButton
TwitterList
TwitterMentionButton
TwitterTimeline
Vimeo
Whimsical
Wikipedia
Wistia
YouTube
YouTube

Snapshot: https://web.archive.org/web/20230201065644/https://www.mdx-embed.com/


feat: Celiac Diseased patient should get instant info about gluten free products

Problem

Celiac Diseased patients are strongly Allergic to gluten products like

wheat
rye
barley
and so on (diet having gluten)
Details what is Celiac  or Gluten Reluctance ?
Coeliac disease (British English) or celiac disease (American English) is a long-term autoimmune disorder, primarily affecting the small intestine, where individuals develop intolerance to gluten, present in foods such as wheat, rye and barley.[10] Classic symptoms include gastrointestinal problems such as chronic diarrhoea, abdominal distention, malabsorption, loss of appetite, and among children failure to grow normally.[1] This often begins between six months and two years of age.[1

Proposed solution

Celiac Diseased patient should get instant info about gluten free products Through this app
A gluten-free diet (GFD) is a nutritional plan that strictly excludes gluten, which is a mixture of proteins found in wheat (and all of its species and hybrids, such as spelt, kamut, and triticale), as well as barley, rye, and oats.[1] The inclusion of oats in a gluten-free diet remains controversial, and may depend on the oat cultivar and the frequent cross-contamination with other gluten-containing cereals.[2][3][4][5]
Additional context

Since you know a large number of people got get diagnosed with Celiac disease and they can't intake products with Gluten since they are allergic to Gluten. I want this App to give an alert to Celiac person if product being scanned has Gluten and should show alert if the product is Gluten free
Mockups
I will provide later on Here is general idea like Scanning the product it instantly gives notification like this is Gluten product if you are Celiac patient please check other products that are Gluten free
Part of this I can do?
I am a Flutter developer and i know this is possible to do Lets all discuss this
What ii will do I will design UI plus notification showing plus i can detect Gluten products Thanks Lets have a sound discussion and Implementation

@adilwahla Basically it's already there, if you put the "allergen / no gluten / mandatory" user preference.
Could that be optimized, UX-wise? Probably.
Are our data reliable enough regarding the gluten-free value? That's another story.

Basically our positioning and peculiar feature would be that this app will make sure to detect the cross contamination hence making it much more safe and reliable for celiacs
Basically gluten intolerants and celiacs are different, former can eat gluten traces or contamination but the later cannot

If its 100% free of Gluten it should show smiley with text "safe for Celiac's"


suggestions (and other state) aren't consistent through a reload

The suggestions list changes through reloading a page. Berni suggested this as a test, but when I added the automation I found that the list changes.
For instance, when reloading after the 'Find restaurants' suggestion has been accepted (so part way into one of our demo flows):
Initial list:

Edit address, select selenium's avatar, select selenium's favorite foods, and select friends.
Make a reservation.
Show Claire's wishlist (Book: How to Draw plus 2 other items).
Show products from your browsing context (Minecraft Book plus 2 other items) and choose from Products recommended based on products from your browsing context and Claire's wishlist (Book: How to Draw plus 2 other items) (Book: How to Draw plus 2 other items).
Show products from your browsing context (Minecraft Book plus 2 other items) and choose from Products recommended based on products from your browsing context and Claire's wishlist (Book: How to Draw plus 2 other items) (Book: How to Draw plus 2 other items).

After reload:

Edit address, select selenium's avatar, select selenium's favorite foods, and select friends.
Find restaurants near selenium's location.
Show Claire's wishlist (Book: How to Draw plus 2 other items).
Show products from your browsing context (Minecraft Book plus 2 other items) and choose from Products recommended based on products from your browsing context and Claire's wishlist (Book: How to Draw plus 2 other items) (Book: How to Draw plus 2 other items).

I have a branch with my WIP test: https://github.com/smalls/arcs-cdn/tree/test-that-the-suggestions-list-is-same-after-a-reload

Fwiw, the context is going to different on reload, we should probably take a look at that.
For example, the front-end reloads only the subset of handles that are specifically persisted in Firebase. I'm curious what the delta is between that set and the set of handles available before the reload.

Stale, we can reopen with updated proposal/description if needed.


Add composer installation to description

yes @jbenoit2011  👍

Yep I was young and unexperienced at that time. Let's close this...


Add some language improvements and rephrasing to the SDV intro tutorial

This PR fixes some typos and adds some rephrasing and additional links to make the SDV intro tutorial more accessible

@eriksven WDYT?


Change Apache config alias for static files to assets instead of static

We need to update the puppet process on the server so the Apache static files alias points to the assets directory rather than the static directory.
It's not really part of this codebase, however, the changes being made in the frontend refactor require this change to be made before any changes from the dev branch are merged into master and deployed.

@sanjuroj This is Done. Ok to close?

yes


Session didn't get Cookies

s := grequests.NewSession(&grequests.RequestOptions{
		Headers: map[string]string{
			"Host":                      "<IP_ADDRESS>:8080",
			"User-Agent":                "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0",
			"Accept":                    "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
			"Accept-Language":           "zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3",
			"Accept-Encoding":           "gzip, deflate",
			"Connection":                "keep-alive",
			"Upgrade-Insecure-Requests": "1",
			"Cache-Control":             "max-age=0",
		},
	})

	inf, err := s.Get(verifyUrl, nil)
	fmt.Print(s.RequestOptions.Cookies)
        fmt.Print(inf.RawResponse.Cookies())

[][JSESSIONID=3B606F518EBFD1011B57A56F8EAC8D76; Path=/selfservice]

in this case,I can't login some website and I found the Session didn't contain the Cookie.
Maybe I am worry,can you tell me? thanks!

		"Accept-Encoding":           "gzip, deflate",

delete this request header, this is not grequests's bug, it's golang.org/net/http's bug.

have a try, don't use session to login. send request with cookie header.

Same problem

Hi, a grequests.Session contains a RequestOptions and an HTTPClient
The cookies retrieved won't be added to your RequestsOptions.Cookies but to your HTTPClient
You'll find them in s.HTTPClient.Jar.entries


"View > Zoom" resets, "forgets and remembers" settings

Description
Hi, the zoom in function seems to "forget" that is zoomed in.
Steps to reproduce issue
(After you create the app and launch it)
1.- Click View > Zoom in
2.- Click somewhere, changing to a different page
3.- The zoom goes back to 0
4.- (This is where it gets more odd) Click View > Zoom in
5.- The zoom in is now BIGGER (it's as if the app suddenly remembered the previous zoom, and Added more zoom in)
6.- You can do this several times and the zoom will always default to 0 if you switch pages, and go to an even larger zoom in if you click View > Zoom in.
Details

Are you nativefying a public website?
Yes
Feature request? Have you looked at nativefier --help to see if an existing option could fit your needs?
Yes, saw that there's a --zoom option, but this is different, after the app is created.
Full nativefier command used to build your app: nativefier "http://app.hubspot.com" --name "HubSpot"
Version of Nativefier (run nativefier --version): 7.4.1
Version of node.js (run node --version): v6.9.4
OS: OSX Sierra
Error message / stack trace (if any):

<Error message / Stack trace here>

@sogen yeah, confirmed, I've experienced similar weirdness too. Here I'm working around the problem by never touching the in-app zoom controls, and only relying on build-time --zoom flag.

Yes, just made a new "app" using the --zoom flag, worked great.

confirmed as well.
The issue with me is that the original URL is temporary for other usages so the zoom flag wont work for me so I have to do it manually each time but this is a bit awkward to deal with it.


Feature/dialogue pattern

Dialogue pattern is now a more generic 'sequence' pattern which can play any sequence specified in the script. Alternatives may include patterns that incorporate behavior trees or other methods of control. This is definitely still a WIP.

This has already been merged into develop but I am leaving it here to carry forward the discussion items that haven't been resolved yet.


Add dependency for file access

Does this user have this role to a particular file?
What roles does this user have on this file?

#357 PR


@conda-forge-admin please rerender

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/hugin-feedstock#39.

@conda-forge-admin, please add bot automerge

@conda-forge-admin, please add bot automerge


iFrame Fields, e.g. Credit Card Hosted Fields

Hi,
I've not been able to create a rule, that successfully fills hosted payment fields often used for credit card entry with iframes.
An example for such fields can be found at https://developers.braintreepayments.com/guides/hosted-fields/overview/javascript/v2, but even with a regex url rule, it seems form-o-fill can't find the fields within the iframe although it also satisfies the url rule.
Is there a workaround or a fix in sight?
Best,
Dennis
{
  "url": /staging\.clearago\.de\/checkout\/payment-method\/|braintree/,
  "name": "Staging Payment",
  "fields": [{
    "selector": "#id_birth_date",
    "value": "13.12.1991"
  }, {
    "selector": "#id_vat_id",
    "value": "DE123456789"
  }, {
    "selector": "#braintree-hosted-field-cvv",
    "value": "123"
  }, {
    "selector": "#cvv",
    "value": "123"
  }, {
    "selector": "#braintree-hosted-field-credit-card-number",
    "value": "4111111111111111"
  }, {
    "selector": "#credit-card-number",
    "value": "4111111111111111"
  }]
}

Have you tried to use within: "someselector"in your rule?
It is especially made for iframes.
Have a look in the extensions "Help" under "Selecting forms inside iframes".
Hope that works :)

Did it work?

Hey, Thanks completely overlooked that in the help somehow. Tried it now.
This is the rule
{
  "url": "https://staging.clearago.de/checkout/payment-method/",
  "name": "Staging Payment",
  "fields": [{
    "selector": "#id_birth_date",
    "value": "13.12.1991"
  }, {
    "selector": "#id_vat_id",
    "value": "DE123456789"
  }, {
    "within": "#braintree-hosted-field-number",
    "selector": "#credit-card-number",
    "value": "4111111111111111"
  }]
}

This is the website's code (excerpt)
...

	Kartennummer

					...

					<form>
						Credit Card Number
						<input type="tel" class="number" data-braintree-name="number" name="credit-card-number" id="credit-card-number" maxlength="22">
						</input>
					</form>

...

It didn't work unfortunately, I guess – as is hinted in the help – because the iframe is on a different domain.
What's odd though, it seems to find the iframe as '"within": "#braintree-hosted-field-numbe"' (missing "r" in the end) yields an error but doing it correctly just yields nothing.

Yeah, I know that sucks but anyways the browsers nowadays just habe so many security measures in place and usually thats a good thing, right?
That said it sadly limits the things the extension can do.

Hm, I thought so. I wonder how it's possible though, that 1Password fills everything flawlessly.


Highlighted contact in LHN changes if you open a different chat in another tab - reported by @thesahindia

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open a chat in tab 1
Open a different chat in tab 2
Check the highlighted contact in LHN of tab 1

Expected Result:
Highlighted contact should be the contact which is currently open.
Actual Result:
Highlighted contact changes
Workaround:
unknown
Platform:

Where is this issue occurring?

Web

Version Number: 1.1.38-0
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43995119/154412416-58ff7aa5-56c8-484e-ae38-901e2f6298a9.mov
Expensify/Expensify Issue URL:
Issue reported by: @thesahindia
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1643910071527679
View all open jobs on GitHub

Triggered auto assignment to @SofiedeVreese (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

Issue looks good. Adding ENG.

Triggered auto assignment to @PauloGasparSv (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Still working on this issue, need a little more time because I'm still a beginner at the project : )

Triggered auto assignment to @NicMendonca (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@PauloGasparSv just to confirm, you won't be working on this issue and should be posted in Upwork for a contributor to work on?

Upwork job: https://www.upwork.com/jobs/~015c7e8ebff980d7e0

Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane (Exported)

Triggered auto assignment to @Beamanator (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

What is the expected result? Should the ReportActionView / chat view follow last navigation across tabs?
Or Should highlighted LHN to not follow navigation across tabs?

Should highlighted LHN to not follow navigation across browser tabs?

Pretty sure this is the expected result

Agree - if we have the app open in a tab, the highlighted LHN shouldn't change if a new tab is open with a new chat

@K4tsuki are you keen to submit a proposal or this?

@NicMendonca I wonder if it's time to double the price for this issue? :)

I am sorry @NicMendonca currently I am a little busy with other tasks, I cannot submit proposal right now. I am sorry.

Doubled: https://www.upwork.com/jobs/~015c7e8ebff980d7e0

Proposal
ReportScreen uses this function to get the current reportID.
https://github.com/Expensify/App/blob/6a3759b82b858b20490b5a4dd8e91a9ebe448586/src/pages/home/ReportScreen.js#L85-L88
When the report is switched, it is updated in the onyx with key  ONYXKEYS.CURRENTLY_VIEWED_REPORTID (currentlyViewedReportID)
https://github.com/Expensify/App/blob/6a3759b82b858b20490b5a4dd8e91a9ebe448586/src/pages/home/ReportScreen.js#L147-L154
SidebarScreen uses ONYXKEYS.CURRENTLY_VIEWED_REPORTID key from onyx to get the current active reportID and when user opens another report on another tab. It is updated in the onyx and hence both tab uses the same currentlyViewedReportID  for LHN
Solution
We will not get currentlyViewedReportID from Onyx because it only holds one value. We will store it in the local state of top most component (MainDrawerNavigator) and pass this to ReportScreen and SidebarScreen and when tab is switched ReportScreen will update it.

Git diff

diff --git a/src/libs/Navigation/AppNavigator/BaseDrawerNavigator.js b/src/libs/Navigation/AppNavigator/BaseDrawerNavigator.js
index e90d35a6c..3d4f9b9d0 100644
--- a/src/libs/Navigation/AppNavigator/BaseDrawerNavigator.js
+++ b/src/libs/Navigation/AppNavigator/BaseDrawerNavigator.js
@@ -16,7 +16,6 @@ const propTypes = {
         name: PropTypes.string.isRequired,

         /** Component for the Screen */
-        component: PropTypes.elementType.isRequired,

         /** Optional params to be passed to the Screen */
         // eslint-disable-next-line react/forbid-prop-types
@@ -67,14 +66,28 @@ class BaseDrawerNavigator extends Component {
                     swipeEdgeWidth: 500,
                 }}
             >
-                {_.map(this.props.screens, screen => (
-                    <Drawer.Screen
-                        key={screen.name}
-                        name={screen.name}
-                        component={screen.component}
-                        initialParams={screen.initialParams}
-                    />
-                ))}
+                {_.map(this.props.screens, screen => {
+                    if(screen.children) {
+                        return (
+                            <Drawer.Screen
+                                key={screen.name}
+                                name={screen.name}
+                                initialParams={screen.initialParams}
+                            >
+                                {screen.children}
+                            </Drawer.Screen>
+                        );
+                    }
+
+                    return (
+                        <Drawer.Screen
+                            key={screen.name}
+                            name={screen.name}
+                            component={screen.component}
+                            initialParams={screen.initialParams}
+                        />
+                    );
+                })}
             </Drawer.Navigator>
         );

diff --git a/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js b/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js
index c326ece31..3566f0bee 100644
--- a/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js
+++ b/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js
@@ -1,4 +1,4 @@
-import React from 'react';
+import React, {useState} from 'react';
 import PropTypes from 'prop-types';
 import lodashGet from 'lodash/get';
 import {withOnyx} from 'react-native-onyx';
@@ -45,6 +45,8 @@ const getInitialReportScreenParams = (reports, ignoreDefaultRooms) => {
 };

 const MainDrawerNavigator = (props) => {
+    const [currentlyViewedReportID, setCurrentlyViewedReportID] = useState('');
+
     const initialParams = getInitialReportScreenParams(props.reports, !Permissions.canUseDefaultRooms(props.betas));

     // Wait until reports are fetched and there is a reportID in initialParams
@@ -57,11 +59,11 @@ const MainDrawerNavigator = (props) => {
     // This is usually needed after login/create account and re-launches
     return (
         <BaseDrawerNavigator
-            drawerContent={() => <SidebarScreen />}
+            drawerContent={() => <SidebarScreen currentlyViewedReportID={currentlyViewedReportID} />}
             screens={[
                 {
                     name: SCREENS.REPORT,
-                    component: ReportScreen,
+                    children: (_props) => <ReportScreen {..._props} setCurrentlyViewedReportID={setCurrentlyViewedReportID} />,
                     initialParams,
                 },
             ]}
diff --git a/src/pages/home/ReportScreen.js b/src/pages/home/ReportScreen.js
index 3dc006c42..fcd71d4b2 100644
--- a/src/pages/home/ReportScreen.js
+++ b/src/pages/home/ReportScreen.js
@@ -151,6 +151,8 @@ class ReportScreen extends React.Component {
             return;
         }
         Report.updateCurrentlyViewedReportID(reportID);
+
+        this.props.setCurrentlyViewedReportID(reportID);
     }

     render() {
diff --git a/src/pages/home/sidebar/SidebarLinks.js b/src/pages/home/sidebar/SidebarLinks.js
index 509927586..5fe5cdbba 100644
--- a/src/pages/home/sidebar/SidebarLinks.js
+++ b/src/pages/home/sidebar/SidebarLinks.js
@@ -296,9 +296,6 @@ export default compose(
         network: {
             key: ONYXKEYS.NETWORK,
         },
-        currentlyViewedReportID: {
-            key: ONYXKEYS.CURRENTLY_VIEWED_REPORTID,
-        },
         priorityMode: {
             key: ONYXKEYS.NVP_PRIORITY_MODE,
         },
diff --git a/src/pages/home/sidebar/SidebarScreen.js b/src/pages/home/sidebar/SidebarScreen.js
index 3d3d06ee5..de396467b 100755
--- a/src/pages/home/sidebar/SidebarScreen.js
+++ b/src/pages/home/sidebar/SidebarScreen.js
@@ -112,6 +112,7 @@ class SidebarScreen extends Component {
                                 insets={insets}
                                 onAvatarClick={this.navigateToSettings}
                                 isSmallScreenWidth={this.props.isSmallScreenWidth}
+                                currentlyViewedReportID={this.props.currentlyViewedReportID}
                             />
                             <FAB
                                 accessibilityLabel={this.props.translate('sidebarScreen.fabNewChat')}

Result
https://user-images.githubusercontent.com/77761491/158169574-892eebb6-7979-41b0-94c7-8d4916010dc0.mp4
Note: Please, ignore code quality, i will refactor (propTypes, defaultProps, Class Component etc) it in the pr

Second option will be to use ReactContext to pass currentlyViewedReportID and update it. However, I personally like the above mentioned way.

@rushatgabhane bump ☝

Thanks for the bump!

@mdneyazahmad your proposal looks good. I'm curious if this is dead code, if not please elaborate on cases where it's needed. Thanks!
return (
      <Drawer.Screen
          key={screen.name}
          name={screen.name}
          component={screen.component}
          initialParams={screen.initialParams}
      />
  );

@rushatgabhane  BaseDrawerNavigator is designed to accept multiple screens but it has only 1. We can pass screen component to Drawer.Screen in two ways either prop component or render as children.
In this case we need to pass some custom props to screen. Therefore, we render it as children and pass the required props. Right now, the other option is not used. May be, in future if we add more screen to BaseDrawerNavigator.

Right now, the other option is not used. May be, in future if we add more screen to BaseDrawerNavigator.

Okay, thanks for explaining that! I highly doubt we'll use more screens in LHN, the current design uses RHN for everything.
So I'm sure we can remove it.

🎀 👀 🎀 C+ reviewed
@Beamanator I recommend @mdneyazahmad's proposal.

I like it too - hiring!

📣 @mdneyazahmad You have been assigned to this job by @Beamanator!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖

WIP 🧑🔧🚧

Still in progress

WIP 🧑🔧🚧

PR being reviewed 👍

Not overdue, PR not on staging yet

@mdneyazahmad can you please apply to the job here so we can issue payment? Thanks!

Just a quick question here: Upwork allows you to pay less than the job price right? Because the job price is $500 but I am only due $250.

@NicMendonca sorry for the delay. Accepted!

No, I am sorry for the delay 😄
Ok, all set here!


docs: add spaceduck.lua to themes

Hey this is my first official pull request, so hopefully I did everything right.
I made the  vim spaceduck colorscheme, and I really like your plugin so hopefully this works so others can use it. I ran the lua-format using your config, like you suggested, and just copied gruvbox's theme as a starter template to making the theme. Let me know if I should make any changes.
Cheers 🍻

You know you can put lualine themes in your repo too just like airline and lightline themes . You will have to put it in lua/lualine/themes directory in your repo. That way any user installing your colorscheme can use your lualine theme even if it's not in lualine repo :)

That probably makes more sense to do it that way @shadmansaleh

Should I close the pull request then? 😆

I think you should keep it open until @hoob3rt says something about whether he will include it in the repo or not :)

Hi! Thaks for your contribution. I actually stumbled across spaceduck a while ago and think it's a really nice theme so I'm all for having it merged. I will take a look at the code in a few hours from now :smile:

@hoob3rt, that makes the most sense to me as well! Thanks again for creating this wonderful plugin 🚀


Extreme amount of ioredisClusterSubscriber clients

I have a service using ioredis 4.24.6 and recently ran a stress test against it, which ended up maxing out the redis cluster cpu.
While the Redis cluster cpu was 100%, the ioredis cluster clients started disconnecting / reconnecting.
In the redis server telemetry, the client count continued to increase until it hit the maximum number of clients allowed.
Running CLIENT LIST on the redis shard returns over one thousand ioredisClusterSubscriber clients.
Please correct me if I'm wrong but based on a preliminary look through of that code, I'm suspicious of the this.subscriber / this.lastActiveSubscriber properties.
In that event that selectSubscriber is called and fails to resubscribe to the previous channels, this.lastActiveSubscriber = this.subscriber is never called. This means that if selectSubscriber is called again, it will create another subscriber while leaving the previous one alive forever.
Can someone knowledgeable check and confirm that? I think the follow-up items are:

Fix ClusterSubscriber leaking connections
It would be great if the client name was not just ioredisClusterSubscriber. In my case, I have a connectionName set on the ioredis cluster client. Could we make the ClusterSubscriber connection name append ioredisClusterSubscriber to the end of the main client? This would make it easier to debug via CLIENT LIST.

Hey @GaryWilber, thanks for reporting this issue!
I can confirm this is a bug and I'm working on a fix.


HttpRequest.Cookies is not RequestCookiesCollection?

Hi guys,
I have a question, why is HttpRequest.Cookies an IReadableStringCollection and not a RequestCookiesCollection. It would be very convenient if it was, accessing properties of cookies is way easier.
Or am I missing the way to convert the IReadableStringCollection to RequestCookiesCollection?
Thanks!

Properties of cookies? Request cookies don't have properties, only a key and value.

In previous versions we could retrieve the Expires value

There is no such field for a request cookie, it only exists on a response cookie.
Are these the old APIs you're referencing?
https://msdn.microsoft.com/en-us/library/system.web.httprequest.cookies(v=vs.110).aspx
"After you add a cookie by using the HttpResponse.Cookies collection, the cookie is immediately available in the HttpRequest.Cookies collection, even if the response has not been sent to the client."
https://msdn.microsoft.com/en-us/library/38yh3s7x(v=vs.110).aspx
https://msdn.microsoft.com/en-us/library/system.web.httpcookie(v=vs.110).aspx
Asp.Net 5 does not mix request and response cookies.

Oh sorry, you're right. I had a wrong ref in there! Thanks man!


Q&A- Tec: LCW Web wallet

When making a credential claim from a Mobile or Web device, we are redirected to the Web Wallet. Is this behavior of redirection to a web wallet correct? Since we expected that it would redirect us to the LCW on Mobile.
We share evidence with you, in image 6, is where we were redirected when opening the invitation link, instead of going to LCW, it sent us - apparently - a Web Wallet.
Image 6

In relation to the issue of claiming the credential, it generates a warning or error when reading the QR code from the LCW. Do you think this error is because we are not yet registered as issuers in the DCC registry? We show you evidence in image 7.

@MyriamLara Are you using the Learning Foundation version of the Admin Dashboard or ours? Also, what version?

Hola @AngelOCrz94 @MyriamLara nos puede mandar el codigo QR que estas tratando de escañar, or por lo menos, el JSON que corresponde?

Esto es el código QR

Este es la data del json
{
"type": [
"VerifiableCredential",
"OpenBadgeCredential"
],
"name": "Successful Installation",
"issuer": {
"url": "https://digitalcredentials.mit.edu",
"type": "Profile",
"name": "DCC Test Issuer",
"image": {
"id": "https://certificates.cs50.io/static/success.jpg",
"type": "Image"
},
"description": "A test DID used to issue test credentials",
"id": "did:key:z6MktdZHB8NkAnjeWy6jcFyvYvm4tPoJS1c6wu1CEMsq9HLY"
},
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.2.json",
"https://w3id.org/vc/status-list/2021/v1",
"https://w3id.org/security/suites/ed25519-2020/v1"
],
"expirationDate": "2025-01-01T00:00:00Z",
"credentialSubject": {
"type": "AchievementSubject",
"name": "Me!",
"achievement": {
"id": "http://digitalcredentials.mit.edu",
"type": "Achievement",
"name": "Successful Installation",
"image": {
"id": "https://certificates.cs50.io/static/success.jpg",
"type": "Image"
},
"criteria": {
"narrative": "Successfully installed the DCC issuer."
},
"description": "DCC congratulates you on your successful installation of the DCC Issuer."
},
"id": "did:key:z6MkrV8A6NDsBuAfZo6NXxPLCfeJ5hSCGuLthLYZgytTmJrB"
},
"id": "65f21ebccc953a94cc0c27c1",
"credentialStatus": {
"id": "https://ti-tecnologico-de-monterrey-oficial.github.io/myproject-status-list/SFXSIVP1D8#25",
"type": "StatusList2021Entry",
"statusPurpose": "revocation",
"statusListIndex": "25",
"statusListCredential": "https://ti-tecnologico-de-monterrey-oficial.github.io/myproject-status-list/SFXSIVP1D8"
},
"issuanceDate": "2024-03-14T22:32:52Z",
"proof": {
"type": "Ed25519Signature2020",
"created": "2024-03-14T22:32:52Z",
"verificationMethod": "did:key:z6MktdZHB8NkAnjeWy6jcFyvYvm4tPoJS1c6wu1CEMsq9HLY#z6MktdZHB8NkAnjeWy6jcFyvYvm4tPoJS1c6wu1CEMsq9HLY",
"proofPurpose": "assertionMethod",
"proofValue": "z2TjKSkcLnHFuVuhg89u6CEMiYrS5Dwu9HvMuomiAVVohMxzDzfhWRJmeQ1Q6fE6bREWNtE4LtaKx3HBTQXUJFJiz"
}
}

@AngelOCrz94 Aparece que este codigo QR se esta generando por medio de la 'learning economy' version del Admin Dashboard. Tendrias que generarlo usando nuestra version del Admin Dashboard para que te funciones.

@AngelOCrz94 Hola Angel, nos puede confirmar si este asunto todavia te esta afectando?

Ya no sigue afectando. Puedes cerrarlo
Obtener Outlook para Androidhttps://aka.ms/AAb9ysg

From: Alex H @.>
Sent: Tuesday, June 18, 2024 12:19:57 PM
To: digitalcredentials/learner-credential-wallet @.>
Cc: Angel Reynaldo Ortiz De La Cruz @.>; Mention @.>
Subject: Re: [digitalcredentials/learner-credential-wallet] Q&A- Tec: LCW Web wallet (Issue #565)
@AngelOCrz94https://github.com/AngelOCrz94 Hola Angel, nos puede confirmar si este asunto todavia te esta afectando?
—
Reply to this email directly, view it on GitHubhttps://github.com/digitalcredentials/learner-credential-wallet/issues/565#issuecomment-2176701361, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3ZPKJ3N5LMSWJRIQA2IDF3ZIB243AVCNFSM6AAAAABDV6LKDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZWG4YDCMZWGE.
You are receiving this because you were mentioned.Message ID: @.***>

Confirmed that issue is no longer occurring, closing ticket


Create a docker-compose to start the application

Create a docker-compose to start all the application:

PostgreSQL;
MariaDB;
Quarkus application - poc-quarkus-multiple-datasources

@eduardomrodrigues I think you could help me here.

@felipewind, of course! I'm on it!


Voip kit is not working in terminated state

Specify the sample to which the issue belongs (use [x]):
[] Chat sample
[] P2P Calls sample
[x] Conference Calls sample
Platform (use [x])
[x] Android
[] iOS
[] macOS
[] Windows
[] Web
[] Linux
Device info
Manufacture:
Model:
OS version:
*Describe the bug:

VoIP kit is working in foreground and background mode but not working in terminated state.*
Is there something which I am missing for terminated state?
As accept the call from Incoming Call screen , the calling notification is not dismissed .How can i resolve this?

Can you reproduce this issue in our P2P Calls sample? Don't you receive any notifications in the terminated state? Or you can't accept/reject the call from the terminated state?

I have done this in P2P call but this isn't working in conference call in terminated state only.
I am not getting notification in terminated state.

and one more issue , we are initiating the conference call from web app but on ending the call,getting the error
-CB-SDK: ConferenceSession: Trying to leave from room, while session has been already closed
Error: Unexpected null value.
but this is working fine when executed in apk.

-CB-SDK: ConferenceSession: Trying to leave from room, while session has been already closed
Error: Unexpected null value.

could you please provide the full log from the console log (from starting the call till getting this issue)?

I am not getting notification in terminated state.

please try to use the logcat util for listening to the logs on the native Android side, try to clean the log before starting the call, and collect all logs after starting the call. there you should see something related to FCM. please collect everything in 'logcat' and share it here. Additionally please specify the device model, OS version, and other helpful info about your Android device

Same for me, Its working in foreground state but not in background & terminated state for iOS. Any fix?

no activity for a long time. closing... please create a new ticket with the required info if the issue still actual


linux

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/create
Operating System: windows
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

@evilhell9911 Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.


Query Pools Faulty Tokens

Hey, I just noticed that the "osmosis.gamm.v1beta1.Query/Pools" query gives incorrect results back. The query response contains tokens that are not in the pool.
Here is a part of the response. As per https://www.mintscan.io/osmosis/account/osmo1c9gj5nwxhuh2gz7wwg4r8e8tw8v7ggy9lh2hu7kkdgh0t450754qh9cpvd
, it should contain only "uosmo" and "1480B8FD20AD5FCAE81EA87584D269547DD4D436843C1D20F15E00EB64743EF4", however it contains a whole bunch more:
{   "address":"osmo1c9gj5nwxhuh2gz7wwg4r8e8tw8v7ggy9lh2hu7kkdgh0t450754qh9cpvd",   "id":3,   "pool_params":{     "swapFee":"0.001000000000000000",     "exitFee":"0.000000000000000000"   },   "future_pool_governor":"24h",   "total_weight":"1073741824000000.000000000000000000",   "total_shares":{     "denom":"gamm/pool/3",     "amount":"161290322580645161290"   },   "pool_assets":[     {       "token":{         "denom":"ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2",         "amount":"8396525282594"       },       "weight":"536870912000000"     },     {       "token":{         "denom":"uosmo",         "amount":"35832549179743"       },       "weight":"536870912000000"     },     {       "token":{         "denom":"uion",         "amount":"1368577798"       },       "weight":"858993459200000"     },     {       "token":{         "denom":"uosmo",         "amount":"247115648733"       },       "weight":"214748364800000"     },     {       "token":{         "denom":"ibc/1480B8FD20AD5FCAE81EA87584D269547DD4D436843C1D20F15E00EB64743EF4",         "amount":"3197335581355"       },       "weight":"536870912000000"     },     {       "token":{         "denom":"uosmo",         "amount":"704732731126"       },       "weight":"536870912000000"     }   ] }

I'd be happy to help with the reproduction & fixing.

That'd be really helpful! Do you have a command / URL for this?
On quick check the CLI output looks correct to me. Its definitely possible that there could be something inconsistent / wrong between the CLI query code and the grpc_query code.
https://github.com/osmosis-labs/osmosis/blob/main/x/gamm/keeper/grpc_query.go#L70-L73

It appears that I made a silly mistake here. I individually marshaled elements of the response list into a pool while not using a fresh struct for each decoding. Thus, the result was off. So there's nothing of with the grpc query. Thanks and sorry for the false alarm.


Addressed safety issues up to 2024-07-21

No review needed.

coverage: 25.088%. remained the same
when pulling 9c41fc7cc60336a335b349d7817262092180ee89 on andy/safety-2024-07-21
into 1fcaabbfbc0b41cd57a76a60438058773be0a12c on master.


Fix Buffer.concat() usage

I’m not sure how this worked before… There is stricter type-checking on
the arguments to Buffer.concat() in recent versions of Node.js and the
browserify buffer, so I get:
“Uncaught TypeError: "list" argument must be an Array of Buffers”
Fixes: https://github.com/feross/webtorrent/issues/984

2.0.2


Import suggestion from crate not directly in Cargo.toml

I have a project that references actix-web and I'm trying to import a type (in VS Code using ctrl-. and selecting from the suggestion list).
Trying to import HttpResponse, the suggestion list contains actix_http::Response, which is the definition of the type I want, but I don't have actix_http referenced in my Cargo.toml so importing that doesn't compile. Instead, rust-analyzer should realize that actix_web reexports the type as pub use actix_http::Response as HttpResponse; and offer actix_web::HttpResponse instead.
TL;DR: import resolution should stop when encountering a reexport from an unreferenced crate.

Hmm that's somewhat surprising, since we do take care to handle this situation correctly and have tests for it. Can you provide a minimal reproduction? Does this happen with a simple crate just importing actix-web?

Hmm that's somewhat surprising, since we do take care to handle this situation correctly and have tests for it. Can you provide a minimal reproduction? Does this happen with a simple crate just importing actix-web?

This is on me, I have actix-http imported as dev dependency.

This is on me, I have actix-http imported as dev dependency.

That would explain it. We could still handle that correctly if we analyzed the crate both with and without the test configuration, which we might have to do anyway; but I'll close this nevertheless to keep things clean.

That would explain it. We could still handle that correctly if we analyzed the crate both with and without the test configuration, which we might have to do anyway; but I'll close this nevertheless to keep things clean.

That's fine.
I wonder if it is feasible to offer suggestion alternatives from both dev and non-dev dependencies in this case?

That's fine.
I wonder if it is feasible to offer suggestion alternatives from both dev and non-dev dependencies in this case?

Only by analyzing the crate in both configurations, I think. Which we might do, but it's not trivial :sweat_smile:

Only by analyzing the crate in both configurations, I think. Which we might do, but it's not trivial :sweat_smile:

I'm sorry, I didn't want you to have to repeat yourself. I meant something along the lines of: Offer reexports, but limit them to one per external crate. I don't have any knowledge of RA though, so if this also needs analyzing in both configs, sorry :P
Also, I think for a properly thorough solution RA would need to analyze in both configs AND with all the possible features enabled, and disabled, so this could get messy :)

I'm sorry, I didn't want you to have to repeat yourself. I meant something along the lines of: Offer reexports, but limit them to one per external crate. I don't have any knowledge of RA though, so if this also needs analyzing in both configs, sorry :P
Also, I think for a properly thorough solution RA would need to analyze in both configs AND with all the possible features enabled, and disabled, so this could get messy :)


Add Consul support

Consul comes with health checks, multi-datacenter support and other very nice features. Many people prefer it over etcd, so it would be great if fleet had Consul support.

+1 for fleet with consul backend

+1 as well.

+1 and we will check the code soon. 2 months timeframe.

+1
Can this be simulated with a sidecar and the Consul http /kv api as a PoC?

+1.  having to use both two KV back-ends seems quite unnecessary.  I prefer consul over etcd.

+1. We are running Consul today on bare EC2. We want to transition to CoreOS and would like to keep Consul.

big :+1: on this.

Supporting Consul is a good way to get folks turned on to Core OS.

+1 here -- I'm using Consul next to fleet.

:+1:
So the consul binary would be built into CoreOS image and we can start it in cloud-config.yaml? How do we specify how many server and clients we want?

+1

+1

+1

+1

+1

Any plans to revisit this given that there's fairly clearly interest, and Consul now has per-key TTLs?

@MrJoy I think part of the problem is that the ticket is closed. If anyone knows anybody from the Fleet team, perhaps they get it re-opened, even if only to re-close it again.

We are open to patches but it doesn't make a whole lot of sense for us to invest in features like this right now. We've narrowed our focus to (mainly) bug fixes at this point. Once we have some free cycles, we can reinvestigate this.

+1 - why do you enforce the use of etcd?
I? already have consul up and running and i don't need the etcd cluster.

As crawford mentioned, we just have no plans in our own roadmap to add support, but we'd be very receptive to clean patchsets to add it.

it is your very own case and your decision not to use etcd.
i have no direct relation with coreos and i want to use in combination with
my very own case. hope i am free to do this?
On Mar 10, 2016 3:28 PM, "OferE"<EMAIL_ADDRESS>wrote:

+1 - why do you enforce the use of etcd?
I? already have consul up and running and i don't need the etcd cluster.
—
Reply to this email directly or view it on GitHub
https://github.com/coreos/fleet/issues/1004#issuecomment-194838709.

+1

+1

+1

+1


Problems with promise

I'm relatively new to AngularJS, so I might be doing a basic/noob mistake.
I'm using resource to load the CSV content that I want the user to download. The code goes like this:
$scope.exportCsv = function() {
    var request = $resource("http://localhost:8080/", {}, {
        query: {
            method: 'GET',
            headers: {'Content-Type': 'application/json'},
            params: {
                id: $scope.id
            }
        }
    }).query(function(data) {

        var ret = [];

        ret.push($scope.tableHeader());

        data._embedded.passage.forEach(function (value) {
            ret.push([
                value.id,
                value.name
            ]);
        });

        return ret;
    });

    return request.$promise;
};

On my html I have:
<button class="btn btn-success" ng-csv="exportCsv()" filename="list.csv">Exportar (CSV)</button>

If my exportCsv function returns just an array, it works just fine. However, trying to return the promise makes the it download an empty file.
The file (list.csv) only goes to download after the request to "http://localhost:8080" is complete. So I guess part of the way is right.
Is it a bug or am I missing something?

I've just solved the isse. In my case, "http://localhost:8080" returns a JSON object. Not the array ng-csv expects. Moreover, the function I'm passing to "query" was not being executed by ng-csv.
The solution is to make a chain of promises:
var promise = request.$promise.then(data) {
    // ...
    // transfor data from an object the the kind of array ng-csv expects

    return ret;
});

And return this new promise on $scope.exportCsv.
I'm not sure if this is a basic thing. But I will try to make an example out of it and send a pr.


Upgrade to 0.50.1 - Bundling index.js error: bundling failed: Error of metro-bundler

Because of issue #16737 I had to do a workaround (which I'm still not sure works) of saving a backup copy of the pre-upgrade xcodeproj file and pasting it again after upgrading. Now the project loads on XCode, but I can't run the app. I get this error in the packager:
Loading dependency graph, done.
Bundling `index.js`  [development, non-minified]  0.0% (0/1), failed.
error: bundling failed: Error
    at DependencyGraph.getAbsolutePath (/Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/node-haste/DependencyGraph.js:322:11)
    at DependencyGraph.getDependencies (/Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/node-haste/DependencyGraph.js:300:4465)
    at /Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/Resolver/index.js:135:29
    at Generator.next (<anonymous>)
    at step (/Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/Resolver/index.js:13:830)
    at /Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/Resolver/index.js:13:1060
    at Promise (<anonymous>)
    at /Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/Resolver/index.js:13:741
    at Resolver.getDependencies (/Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/Resolver/index.js:151:46)
    at /Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/Bundler/index.js:660:39

Any help?
Thanks

@oriharel You should compile your index.android.js & index.ios.js to index.js

Same issue. I only have index.js.

Same here, I'm sure there is a good reason but I don't get it

I fix the issue by following @chocky335's comment

My project had an edited AppDelegate.m file and I needed to change the line that looked like (though in my case not exactly like)
jsCodeLocation = [[RCTBundleURLProvider sharedSettings]<EMAIL_ADDRESS>fallbackResource:nil];

to reflect the change to index.js instead of index.ios.js. Hope that helps someone!


Update installation.mdx for openSUSE

adds instructions for installation to openSUSE Tumbleweed / Leap / MicroOS

Working well so far on MicroOS as both an RPM & inside privileged podman connecting 2 x clusters / 3 remote sites

Thanks for the contribution @itoffshore


issue uploading image and binary files

issue #71
@pradeeban As you told created separate PR for this issue
Added a check before opening files

Can you please deploy this to https://parteekcoder.github.io/concore-editor/ where I can quickly test it?

Can you please deploy this to https://parteekcoder.github.io/concore-editor/ where I can quickly test it?

ok @pradeeban

@pradeeban now you can check at https://parteekcoder.github.io/concore-editor/

neat. thanks.


Migration attempt 2

Already running on production

Add support for migrating all playlists to new table structure
Move insert command preparation outside of loop for better performance
Update scores_high table with link IDs
Allow cancellation at more opportunities
Use more efficient lookup for query

Made a small stylistic change (https://github.com/ppy/osu-queue-score-statistics/pull/162/commits/10e48b7dfc5f5709aca130210517064abd8a162d) - looks good otherwise.


Add small Delay to STM32F1 ADC to avoid lockup

Added a one tick delay to the convert function of the STM32F1 ADC implementation.
Prior the convert function didn't return a value causing a infinite await.
I'm only getting started with rust embedded, so please take the following statement cautious: I think this bug exists because the timer registers weren't set fast enough, causing the interrupt registration to be ignored.
related Issues:

#2162

this is a workaround. If we don't understand why the issue happens, the workaround is not guaranteed to work in all cases, and it also makes conversion slower. We should try to find the "real" bug and fix it.


[Bug] install error

Describe the bug
update and

Info: === Logging started: 2022/01/04  11:08:08 ===
CommonData: Message type: 0, Argument: 1033
CommonData: Message type: 1, Argument: ScreenToGif
ActionStart: Action 11:08:08: INSTALL.
Info: Action start 11:08:08: INSTALL.
CommonData: 1: 0 2: 1033 3: 1252
CommonData: 1: 0 2: 1033 3: 1252
CommonData: 1: ScreenToGif
Info: === Logging started: 2022/01/04  11:08:09 ===
CommonData: Message type: 0, Argument: 1033
CommonData: Message type: 1, Argument: ScreenToGif
ActionStart: Action 11:08:09: INSTALL.
Info: Action start 11:08:09: INSTALL.
InstallStart: 1: ScreenToGif 2: {9FFA5D35-F0AC-4819-87B0-9F8620282BB9}
ActionStart: Action 11:08:09: FindRelatedProducts. Searching for related applications
Info: Action start 11:08:09: FindRelatedProducts.
ActionData: Found application: {E32A6F6C-5240-4749-97D5-4C350D9F94DC}
Info: Action ended 11:08:09: FindRelatedProducts. Return value 1.
ActionStart: Action 11:08:09: WixSharp_InitRuntime_Action.
Info: Action start 11:08:09: WixSharp_InitRuntime_Action.
Info: SFXCA: Extracting custom action to temporary directory: F:\Users\ATC6194\AppData\Local\Temp\MSI7CB6.tmp-\
Info: SFXCA: Binding to CLR version v4.0.30319
Info: Calling custom action WixSharp!WixSharp.ManagedProjectActions.WixSharp_InitRuntime_Action
Info: Action ended 11:08:10: WixSharp_InitRuntime_Action. Return value 1.
ActionStart: Action 11:08:10: AppSearch. Searching for installed applications
Info: Action start 11:08:10: AppSearch.
ActionData: Property: NETFRAMEWORK45, Signature: NetFramework45
Info: Action ended 11:08:10: AppSearch. Return value 1.
ActionStart: Action 11:08:10: LaunchConditions. Evaluating launch conditions
Info: Action start 11:08:10: LaunchConditions.
Info: Action ended 11:08:10: LaunchConditions. Return value 1.
ActionStart: Action 11:08:10: ValidateProductID.
Info: Action start 11:08:10: ValidateProductID.
Info: Action ended 11:08:10: ValidateProductID. Return value 1.
ActionStart: Action 11:08:10: CostInitialize. Computing space requirements
Info: Action start 11:08:10: CostInitialize.
Info: Action ended 11:08:10: CostInitialize. Return value 1.
ActionStart: Action 11:08:10: FileCost. Computing space requirements
Info: Action start 11:08:10: FileCost.
Info: Action ended 11:08:10: FileCost. Return value 1.
ActionStart: Action 11:08:10: CostFinalize. Computing space requirements
Info: Action start 11:08:10: CostFinalize.
Info: Action ended 11:08:10: CostFinalize. Return value 1.
ActionStart: Action 11:08:10: InstallValidate. Validating install
Info: Action start 11:08:10: InstallValidate.
Info: Action ended 11:08:10: InstallValidate. Return value 1.
ActionStart: Action 11:08:10: InstallInitialize.
Info: Action start 11:08:10: InstallInitialize.
Info: Action ended 11:08:10: InstallInitialize. Return value 1.
ActionStart: Action 11:08:10: RemoveExistingProducts. Removing applications
Info: Action start 11:08:10: RemoveExistingProducts.
ActionData: Application: {E32A6F6C-5240-4749-97D5-4C350D9F94DC}, Command line: UPGRADINGPRODUCTCODE={9FFA5D35-F0AC-4819-87B0-9F8620282BB9} CLIENTPROCESSID=10228 CLIENTUILEVEL=3 MSICLIENTUSESEMBEDDEDUI=1 REMOVE=ALL
CommonData: 1: 0 2: 1033 3: 1252
ActionStart: Action 11:08:10: INSTALL.
Info: Action start 11:08:10: INSTALL.
InstallStart: 1: ScreenToGif 2: {E32A6F6C-5240-4749-97D5-4C350D9F94DC}
ActionStart: Action 11:08:10: FindRelatedProducts. Searching for related applications
Info: Action start 11:08:10: FindRelatedProducts.
Info: Action ended 11:08:10: FindRelatedProducts. Return value 0.
ActionStart: Action 11:08:10: WixSharp_InitRuntime_Action.
Info: Action start 11:08:10: WixSharp_InitRuntime_Action.
Info: SFXCA: Extracting custom action to temporary directory: F:\Users\ATC6194\AppData\Local\Temp\MSI817A.tmp-\
Info: SFXCA: Binding to CLR version v4.0.30319
Info: Calling custom action WixSharp!WixSharp.ManagedProjectActions.WixSharp_InitRuntime_Action
Info: Action ended 11:08:11: WixSharp_InitRuntime_Action. Return value 1.
ActionStart: Action 11:08:11: AppSearch. Searching for installed applications
Info: Action start 11:08:11: AppSearch.
ActionData: Property: NETFRAMEWORK45, Signature: NetFramework45
Info: Action ended 11:08:11: AppSearch. Return value 1.
ActionStart: Action 11:08:11: LaunchConditions. Evaluating launch conditions
Info: Action start 11:08:11: LaunchConditions.
Info: Action ended 11:08:11: LaunchConditions. Return value 1.
ActionStart: Action 11:08:11: ValidateProductID.
Info: Action start 11:08:11: ValidateProductID.
Info: Action ended 11:08:11: ValidateProductID. Return value 1.
ActionStart: Action 11:08:11: CostInitialize. Computing space requirements
Info: Action start 11:08:11: CostInitialize.
Info: Action ended 11:08:11: CostInitialize. Return value 1.
ActionStart: Action 11:08:11: FileCost. Computing space requirements
Info: Action start 11:08:11: FileCost.
Info: Action ended 11:08:11: FileCost. Return value 1.
ActionStart: Action 11:08:11: CostFinalize. Computing space requirements
Info: Action start 11:08:11: CostFinalize.
Info: Action ended 11:08:11: CostFinalize. Return value 1.
ActionStart: Action 11:08:11: InstallValidate. Validating install
Info: Action start 11:08:11: InstallValidate.
Info: Action ended 11:08:11: InstallValidate. Return value 1.
ActionStart: Action 11:08:11: InstallInitialize.
Info: Action start 11:08:11: InstallInitialize.
ActionStart: Action 11:08:11: GenerateScript. Generating script operations for action:
ActionData: InstallInitialize
Info: Action ended 11:08:11: InstallInitialize. Return value 1.
ActionStart: Action 11:08:11: RemoveExistingProducts. Removing applications
Info: Action start 11:08:11: RemoveExistingProducts.
Info: Action ended 11:08:11: RemoveExistingProducts. Return value 0.
ActionStart: Action 11:08:11: ProcessComponents. Updating component registration
Info: Action start 11:08:11: ProcessComponents.
ActionData: 1: Updating component registration
Info: Action ended 11:08:11: ProcessComponents. Return value 1.
ActionStart: Action 11:08:11: UnpublishFeatures. Unpublishing Product Features
Info: Action start 11:08:11: UnpublishFeatures.
ActionData: Feature: Unpublishing Product Features
Info: Action ended 11:08:11: UnpublishFeatures. Return value 1.
ActionStart: Action 11:08:11: SchedSecureObjectsRollback.
Info: Action start 11:08:11: SchedSecureObjectsRollback.
ActionStart: Action 11:08:11: ExecSecureObjectsRollback.
Info: Action start 11:08:11: ExecSecureObjectsRollback.
ActionData:
Info: Action ended 11:08:11: ExecSecureObjectsRollback. Return value 1.
Info: Action ended 11:08:11: SchedSecureObjectsRollback. Return value 1.
ActionStart: Action 11:08:11: RemoveRegistryValues. Removing system registry values
Info: Action start 11:08:11: RemoveRegistryValues.
ActionData: Key: Removing system registry values, Name:
Info: Action ended 11:08:11: RemoveRegistryValues. Return value 1.
ActionStart: Action 11:08:11: RemoveShortcuts. Removing shortcuts
Info: Action start 11:08:11: RemoveShortcuts.
ActionData: Shortcut: Removing shortcuts
Info: Action ended 11:08:11: RemoveShortcuts. Return value 1.
ActionStart: Action 11:08:11: RemoveFiles. Removing files
Info: Action start 11:08:11: RemoveFiles.
ActionData: File: Removing files, Directory:
Info: Action ended 11:08:11: RemoveFiles. Return value 1.
ActionStart: Action 11:08:11: RemoveFolders. Removing folders
Info: Action start 11:08:11: RemoveFolders.
ActionData: Folder: Removing folders
Info: Action ended 11:08:11: RemoveFolders. Return value 1.
ActionStart: Action 11:08:11: CreateFolders. Creating folders
Info: Action start 11:08:11: CreateFolders.
Info: Action ended 11:08:11: CreateFolders. Return value 1.
ActionStart: Action 11:08:11: InstallFiles. Copying new files
Info: Action start 11:08:11: InstallFiles.
Info: Action ended 11:08:11: InstallFiles. Return value 1.
ActionStart: Action 11:08:11: CreateShortcuts. Creating shortcuts
Info: Action start 11:08:11: CreateShortcuts.
Info: Action ended 11:08:11: CreateShortcuts. Return value 1.
ActionStart: Action 11:08:11: WriteRegistryValues. Writing system registry values
Info: Action start 11:08:11: WriteRegistryValues.
Info: Action ended 11:08:11: WriteRegistryValues. Return value 1.
ActionStart: Action 11:08:11: InstallServices. Installing new services
Info: Action start 11:08:11: InstallServices.
Info: Action ended 11:08:11: InstallServices. Return value 1.
ActionStart: Action 11:08:11: RegisterUser. Registering user
Info: Action start 11:08:11: RegisterUser.
Info: Action ended 11:08:11: RegisterUser. Return value 0.
ActionStart: Action 11:08:11: RegisterProduct. Registering product
Info: Action start 11:08:11: RegisterProduct.
Info: Action ended 11:08:11: RegisterProduct. Return value 1.
ActionStart: Action 11:08:11: PublishFeatures. Publishing Product Features
Info: Action start 11:08:11: PublishFeatures.
Info: Action ended 11:08:11: PublishFeatures. Return value 1.
ActionStart: Action 11:08:11: PublishProduct. Publishing product information
Info: Action start 11:08:11: PublishProduct.
ActionData: 1: Publishing product information
Info: Action ended 11:08:11: PublishProduct. Return value 1.
ActionStart: Action 11:08:11: Set_CancelRequestHandler_Props.
Info: Action start 11:08:11: Set_CancelRequestHandler_Props.
Info: Action ended 11:08:11: Set_CancelRequestHandler_Props. Return value 1.
ActionStart: Action 11:08:11: InstallFinalize.
Info: Action start 11:08:11: InstallFinalize.
Info: DEBUG: Error 2503:  Called RunScript when not marked in progress.
Info: Action ended 11:08:13: InstallFinalize. Return value 3.
Info: Action ended 11:08:13: INSTALL. Return value 3.
InstallEnd: 1: ScreenToGif 2: {E32A6F6C-5240-4749-97D5-4C350D9F94DC} 3: 3
Info: CustomAction  returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Info: Action ended 11:08:13: RemoveExistingProducts. Return value 3.
Info: DEBUG: Error 2502:  Called InstallFinalize when no install in progress.
Info: Action ended 11:08:13: INSTALL. Return value 3.
InstallEnd: 1: ScreenToGif 2: {9FFA5D35-F0AC-4819-87B0-9F8620282BB9} 3: 3
CommonData: 1: 2 2: 0
CommonData: 1: 2 2: 1
Info: Action ended 11:08:13: INSTALL. Return value 3.

Hi, have you tried to reboot your computer?
Also, where's the app installed?

I just encountered this as well trying to update from 2.33.1 to 2.37.
App is installed in "C:\Program Files (x86)\ScreenToGif\ScreenToGif.exe".
I need to reboot for something else, so will see if that helps.

Rebooting did not resolve issue, still get:

@michael-hawker Were you trying to update via the app self-updater?
If so, try running manually the msi (or better, msix).


'Metro' is not defined in Vue 3.0.x

I believe I had seen that as of Metro 4.3.3 that Metro should be a global variable after installing via npm and importing into the Vue "App" component.
I have now installed 4.4.3 via npm into my new project and performed the following in App.vue:
import 'metro4'
...
export default {
  name: 'App',
  components: {
    HelloWorld
  },
  mounted:() => {
     Metro.init();
   }
}

but am receiving 'Metro' is not defined error.
If I perform the following in App.vue:
import Metro from  'metro4'
...
export default {
  name: 'App',
  components: {
    HelloWorld
  },
  mounted:() => {
     Metro.init();
   }
}

I do not receive an error message about Metro not being defined but I cannot access any of the Metro functions from any other Vue components. e.g. Metro.toast.create("Toast message", null, 5000); in the HelloWorld component will throw the 'Metro' is not defined error.
Should 'Metro' not be global after npm install and import 'metro4' with Metro 4.4.3?

Check your bundler for including Metro4 into the result bundl.


Live VM Migration from one host to another is failing

ISSUE TYPE

Other

COMPONENT NAME

VM
CLOUDSTACK VERSION

4.18
CONFIGURATION

Advance networking
OS / ENVIRONMENT

All on Ubuntu 22.04
SUMMARY

I am trying to migrate VM from on host to another. Both my host is showing up and running in Infrastructure tab. While migrating it is showing "Exception during migrate: org.libvirt.LibvirtException: Cannot get interface MTU on 'brenp21-774': No such device". Is there any changes neeed to done on KVM host.
KVM 1 brctl show
bridge name	bridge id		STP enabled	interfaces
brenp21-21		8000.22460a9f82ba	no		enp21.21
vnet11
vnet20
vnet8
vnet87
brenp21-22		8000.da9f0f3015c8	no		enp21.22
vnet122
vnet127
vnet57
brenp21-23		8000.76577a87946d	no		enp21.23
brenp21-636		8000.ce8500289554	no		enp21.636
vnet85
vnet90
vnet91
vnet92
brenp21-774		8000.9e7d449b9672	no		enp21.774
vnet121
vnet124
vnet126
vnet128
vnet18
cloud0		8000.da6e197de6fb	no		vnet19
vnet58
vnet6
vnet86
vnet9
cloudbr0		8000.6afede563f9f	no		enp20
vnet10
vnet12
vnet7
cloudbr1		8000.76d943d4bfa4	no		enp21
KVM 2 brctl show
bridge name	bridge id		STP enabled	interfaces
brenp20-22		8000.d6a2b185353a	no		enp20.22
vnet22
brenp20-23		8000.ae4c89777b7a	no		enp20.23
vnet12
vnet14
vnet15
brenp20-774		8000.d64e2ccdc72c	no		enp20.774
vnet23
cloud0		8000.fe7124d4ac7b	no		vnet13
cloudbr0		8000.1a6fea893289	no		enp21
cloudbr1		8000.06faed5e9644	no		enp20
STEPS TO REPRODUCE

EXPECTED RESULTS

VM should migrate
ACTUAL RESULTS

Cannot get interface MTU on 'brenp21-774': No such device

@Noelantogerorge
it looks you have misconfiguration
on host1
cloudbr0 8000.6afede563f9f no enp20
cloudbr1 8000.76d943d4bfa4 no enp21

on host2
cloudbr0 8000.1a6fea893289 no enp21
cloudbr1 8000.06faed5e9644 no enp20

@weizhouapache
Thank you so much for the update I had missed that part. Thank you for your swift reply....
As it is on my running cloudstack enviornment and both KVM is having VM's running. Will it break VM's if I change the interface name?

@weizhouapache Thank you so much for the update I had missed that part. Thank you for your swift reply....
As it is on my running cloudstack enviornment and both KVM is having VM's running. Will it break VM's if I change the interface name?

@Noelantogerorge It would be better to empty the host before change


TypeError in index.android.bundle:733

Error in mSupply Mobile
TypeError in index.android.bundle:733
undefined is not a function (evaluating 'this.openModal(b.ITEM_SELECT)')
View on Bugsnag
Stacktrace
index.android.bundle:733 - value

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
TypeError in index.android.bundle:733

Probs auto bind thingy.

An error linked to this issue has been reopened in Bugsnag
TypeError in index.android.bundle:733