In User Research - Disable appointment bookings in Delius

What does this pull request do?
Disable appointment booking feature in user-research
What is the intent behind these changes?
Enable user-research to be unaffected by Delius

Enable user-research to be unaffected by Delius

Because we expect the experiments to be repeated and the same appointment details to be reused -- and we don't want to stop the service working there with genuine scheduling conflicts, right?


Invalid Data Type in ChainDelgation creation

I am trying to use ChainDelegation from the official Dfinity Library, agent-js to be able of  making request calls without sign readState manually. So, I create a custom identity which has a method sign
  public async sign(blob: BinaryBlob): Promise<BinaryBlob> {
    return this._executeWithApp(async (app) => {
      console.log('Signing blob tryied 1', app, blob);
      const resp: ResponseSign = await app.sign(this.derivePath, Buffer.from(blob), 0);
      console.log('Signed blob', resp);
      const signatureRS = resp.signatureRS;
      if (!signatureRS) {
        throw new Error(
          `A ledger error happened during signature:\n` +
            `Code: ${resp.returnCode}\n` +
            `Message: ${JSON.stringify(resp.errorMessage)}\n`,
        );
      }

      if (signatureRS?.byteLength !== 64) {
        throw new Error(`Signature must be 64 bytes long (is ${signatureRS.length})`);
      }

      return blobFromBuffer(new BlobBuffer(signatureRS));
    })

  }

And for create delegation I do
      const pidTargets = targets?.map(target => Principal.fromText(target));
      const expiration = new Date(Date.now() + 15 * 60 * 1000);
      const delegation = new Delegation(to.toDer(), BigInt(+expiration) * BigInt(1000000), pidTargets);

      const signature = await this.ledgerIdentity.sign(delegation.toCBOR() as unknown as BinaryBlob);

When I tried to use it, it fails returning
Message: "Data is invalid : Unexpected data type"
The var signature is a ArrayBuffer type of byteLength 118

:link: zboto Link

I'll close this issue. However, feel free to reopen and add more info about it!


"Disabled" save button actually still calls callback for click events

Describe the Bug
"Disabled" save button actually still calls callback for click events.
Steps to Reproduce
Steps to reproduce the behavior:

Open a file but do not modify anything
Click on "disabled" save button

Expected Behavior
It should not react on click events.
Environment
Please complete the following information:

OS: MacOS 10.14.1
Camunda Modeler Version<EMAIL_ADDRESS>

Closed via #1014


fix(FTL-8111): fixed dev environment for Cognito

Main changes
sdk/core 7.11.0

Cognito tests users were created on a new dev cloud environment;
Integration tests secretes were updated according to the new dev environment;
Changed default Cognito config to dev;
Changed default environment for tests to dev;
Adjusted OTP tests flows to new custom message whitelist approach;
Bumped internal-api-clients, affinidi-did-auth-lib, user-management, common versions.

sdk/node 7.10.1

Fixed jsonld-signatures-bbs version to 1.1.0 because of lib breaking changes.

libs/internal-api-clients 2.5.0

Updated getSignedCredential endpoint for Keystorage service.

Versions updates
sdk/browser 7.9.1

Bumped core version. bumped common lib version in dev dependencies.

sdk/expo 7.10.1

Bumped core version. bumped common lib version in dev dependencies.

sdk/react-native 7.10.1

Bumped core version. bumped common lib version in dev dependencies.

libs/user-management 2.3.1

Bumped internal-api-clients, common versions.

libs/common 2.11.1

Bumped internal-api-clients version.

libs/did-auth-lib 2.5.3

Bumped internal-api-clients, common versions.

what the reason for this amount of changes in pkg-lock?

what the reason for this amount of changes in pkg-lock?

The reason is indentation changes.


Detect when Emulator with SDK 31 boots

Description

This pull request addresses the issue described here: https://github.com/wix/Detox/issues/3071
Potentially this issue as well: https://github.com/wix/Detox/issues/3342

Before this PR
~/Detox/detox/test on bruno/detect-android-31 * !
❯ npm run e2e:android

><EMAIL_ADDRESS>e2e:android
> detox test -c android.emu.release

20:31:10.842 detox[25832] INFO:  [test.js] DETOX_CONFIGURATION="android.emu.release" DETOX_REPORT_SPECS=true DETOX_START_TIMESTAMP=1665016270838 DETOX_USE_CUSTOM_LOGGER=true nyc jest --config e2e/config.js --testNamePattern '^((?!:ios:).)*$' e2e/*.test.js
20:36:11.884 detox[25834] ERROR: Exceeded timeout of 300000ms while handling jest-circus "setup" event
20:36:11.907 detox[25834] INFO:  Actions is assigned to undefined

With this PR
~/Detox/detox/test on bruno/detect-android-31 ! 28s
❯ npm run e2e:android

><EMAIL_ADDRESS>e2e:android
> detox test -c android.emu.release

20:38:49.762 detox[26349] INFO:  [test.js] DETOX_CONFIGURATION="android.emu.release" DETOX_REPORT_SPECS=true DETOX_START_TIMESTAMP=1665016729759 DETOX_USE_CUSTOM_LOGGER=true nyc jest --config e2e/config.js --testNamePattern '^((?!:ios:).)*$' e2e/*.test.js
20:39:22.973 detox[26352] INFO:  Actions is assigned to emulator-16426 (Pixel_3A_API_31)
20:39:22.973 detox[26352] INFO:  Actions: should tap on an element
20:39:24.014 detox[26352] INFO:  Actions: should tap on an element [OK]
20:39:24.015 detox[26352] INFO:  Actions: should long press on an element

If you want to test:

echo no | avdmanager create avd --name Pixel_3A_API_29 --abi arm64-v8a --package 'system-images;android-29;google_apis;arm64-v8a' --device "pixel"
cd detox/test/e2e
Replace Pixel_3A_API_31 with Pixel_3A_API_29 in detox.config.js
npm run e2e:android

For features/enhancements:

[x] I have added/updated the relevant references in the documentation files.

For API changes:

[x] I have made the necessary changes in the types index file.

Thanks @capezzbr - nice work. This is largely what we're aiming at, with our upcoming fix - work is already under way🙏🏻

Hey @d4vidi, thanks! Would it make sense to land this PR and release a patch for Detox in the meantime, given that is affecting some users (us included), or you'd rather not?

@d4vidi is there actually a draft PR of ours? I mean the one that aims to fix this issue? did I miss anything?

This looks really helpful, will give it a go.

@capezzbr  Closing this PR in favor of https://github.com/wix/Detox/pull/3672 (Thanks again for your work on this - you will be credited as coauthor when it's is merged)


FeatureRequest/Support Needed: Make LoRa downloadable

Hi people,
So I was playing around with this tool a bit on Google Colab and got it to train a LoRa for me. Now I would like to use said LoRa in my local SD-WebUI (A1111 + ComfyUI)-environment.
Is there a way to download the trained LoRa as a ckpt- or safetensors-file?
If yes - where can I find that? If no - can it be implemented? :)
Greetings
P.S.: I do not speak Chinese - please stick to English. :)

sure, you can download it by searching *.bin, @hehaha68 maybe you can provide precisely location here.

We recently made some updates - the trained LoRA models will now be saved in the qw folder of the current project (qw is the uuid). For example, if you train a character LoRA person_1 using the base model leosamsMoonfilm_filmGrain20 the LoRA model file will be saved at f"{os.path.dirname(os.path.abspath(file))}/qw/ly261666/cv_portrait_model/person_1/pytorch_lora_weights.bin". ly261666/cv_portrait_model is the model id of the base model leosamsMoonfilm_filmGrain20.
If you are using an older version, the qw folder was saved under the /tmp folder.

@sunbaigui and @hehaha68 - Thanks. I already found that. But what I'm asking for is (in laymen terms) a button in gradio that let's me download a .ckpt- or .safetensors-file - sort of like an "export"-button. Right now I have to use this script (https://github.com/harrywang/finetune-sd/blob/main/convert-to-safetensors.py) to get what I want, but it would be better to be able to export the trained LoRA.
For a bit background: I don't know where you guys are actually want to go with this. The tool itself is really great and works pretty good, but in the end (in my oppinion) what most people WANT is to use facechain as a tool to create a LoRA and use the created LoRA in A1111 or ComfyUI. Right now facechain feels a bit as if it wants to replace A1111 which (again - only my oppinion :) ) it won't be able to do properly given A1111s standing in the scene right now. It's nice to have a playground to test the created LoRAs but ultimately if I want to create some images with SD and I have to choose between facechain and any other UI (like A1111, Comfy or whatnot) I would go for the latter.
Please don't get me wrong - I just want to give you constructive feedback. :)

@sunbaigui and @hehaha68 - Thanks. I already found that. But what I'm asking for is (in laymen terms) a button in gradio that let's me download a .ckpt- or .safetensors-file - sort of like an "export"-button. Right now I have to use this script (https://github.com/harrywang/finetune-sd/blob/main/convert-to-safetensors.py) to get what I want, but it would be better to be able to export the trained LoRA right from the webinterface. For a bit background: I don't know where you guys are actually want to go with this. The tool itself is really great and works pretty good, but in the end (in my oppinion) what most people WANT is to use facechain as a tool to create a LoRA and use the created LoRA in A1111 or ComfyUI. Right now facechain feels a bit as if it wants to replace A1111 which (again - only my oppinion :) ) it won't be able to do properly given A1111s standing in the scene right now. It's nice to have a playground to test the created LoRAs but ultimately if I want to create some images with SD and I have to choose between facechain and any other UI (like A1111, Comfy or whatnot) I would go for the latter. Please don't get me wrong - I just want to give you constructive feedback. :)

thanks for your advice, we are developing a plugin for sd-webui now.

thanks for your advice, we are developing a plugin for sd-webui now.

@sunbaigui - Great! :) But I would still advocate for a separate download-button. In my case my Laptop that is running A1111 and Comfy is too weak to handle the facechain-process (running on a GTX 1070 Mobile - generating images works great tho) so I'm running facechain inside Google Colab, download the trained LoRA and use it locally.


hello,could you tell me how you get the api of seat.ujn.edu.cn

I have used fillder to find the posibility apis of that net,but I did not find any apis liked those in code.
I really want to know how you get the idea.
Thanks for your help.

I think you got the website api.  I got those from the APP.  It may be not same.

Thank you very much for your generosity. Your ideas inspired me.：）


Rescue on source

Allow to easily change between the on source and the offaxis analysis.

I still have to change the results that can be seen in the notebook, they are not the real ones yet.


escape for markdown

@rultor release, tag is 0.0.20

@rultor release, tag is 0.0.20

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.20

@yegor256 Done! FYI, the full log is here (took me 7min)


feat: remove concept of elementHierarchy from override and variant su…

…pport, and use component name
Issue #, if available:
N/A
Description of changes:
No longer use elementHierarchy name for overrides/variants, rely on component name instead. Added validation to ensure component names are unique within a given component schema.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #347 (1e52777) into feature/improved-overrides (46fe030) will increase coverage by 0.17%.
The diff coverage is 100.00%.

@@                      Coverage Diff                       @@
##           feature/improved-overrides     #347      +/-   ##
==============================================================
+ Coverage                       93.82%   94.00%   +0.17%
==============================================================
  Files                              36       36
  Lines                            1295     1317      +22
  Branches                          290      296       +6
==============================================================
+ Hits                             1215     1238      +23
+ Misses                             78       77       -1
  Partials                            2        2

Impacted Files
Coverage Δ

packages/codegen-ui/lib/studio-node.ts
100.00% <ø> (+3.70%)
:arrow_up:

...s/codegen-ui-react/lib/react-component-renderer.ts
93.10% <100.00%> (+0.24%)
:arrow_up:

...eact/lib/react-component-with-children-renderer.ts
94.11% <100.00%> (+0.11%)
:arrow_up:

...gen-ui-react/lib/react-studio-template-renderer.ts
91.59% <100.00%> (+0.38%)
:arrow_up:

packages/codegen-ui/lib/validation-helper.ts
97.91% <100.00%> (+1.76%)
:arrow_up:

Continue to review full report at Codecov.

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


Adding a quick test for the compiler's Argument class.

Adding a test to show that the Argument class generates Java code.
Just a simple change as I'm just getting used to IntelliJ. :)
Didn't use a Javadoc-style comment for the license commnet as IntelliJ said that it was "dangling", i.e. not associated with any class, method or field.

@rultor try to merge

@rultor try to merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor try to merge

@pa9ey @yegor256 Oops, I failed. You can see the full log here (spent 3min)
[INFO] Checkstyle: eo-compiler/src/test/java/org/eolang/compiler/syntax/ArgumentTest.java[36]: Indentation (24) must be same or less than previous line (16), or bigger by exactly 4 (CascadeIndentationCheck)
[INFO] Checkstyle: eo-compiler/src/test/java/org/eolang/compiler/syntax/ArgumentTest.java[40]: Indentation (24) must be same or less than previous line (16), or bigger by exactly 4 (CascadeIndentationCheck)
[INFO] Read our quality policy: http://www.qulice.com/quality.html
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] eo-parent .......................................... SUCCESS [ 21.709 s]
[INFO] eo-compiler ........................................ FAILURE [ 22.053 s]
[INFO] eo-maven-plugin .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.191 s
[INFO] Finished at: 2016-12-22T22:29:37+00:00
[INFO] Final Memory: 48M/456M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.17.1:check (jcabi-check) on project eo-compiler: Failure: There are 17 violations -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.qulice:qulice-maven-plugin:0.17.1:check (jcabi-check) on project eo-compiler: Failure
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: Failure
	at com.qulice.maven.CheckMojo.doExecute(CheckMojo.java:72)
	at com.qulice.maven.AbstractQuliceMojo.execute(AbstractQuliceMojo.java:172)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
Caused by: com.qulice.spi.ValidationException: There are 17 violations
	at com.qulice.maven.CheckMojo.run(CheckMojo.java:115)
	at com.qulice.maven.CheckMojo.doExecute(CheckMojo.java:66)
	... 23 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :eo-compiler
container 7cbf54c95daaf16cf293361ddb8073784061973d466da104912ebd8e57a1ed70 is dead
Thu Dec 22 22:30:12 UTC 2016

Is it possible for me to see these failures when I build locally?

@rultor Am I allowed to ask you to try to merge? ;)

@rultor Am I allowed to ask you to try to merge? ;)

@pa9ey Thanks for your request. @yegor256 Please confirm this.

Is it possible for me to see these failures when I build locally?

@pa9ey you can run mvn clean install -Pqulice

@g4s8 Thanks!

@rultor Finally ready to merge now I think.

@rultor Finally ready to merge now I think.

@pa9ey Thanks for your request. @yegor256 Please confirm this.

@pa9ey you can verify code style on your machine as described here

@pchmielowski Ah, yes. Guess I should've read the README! :D (@g4s8 helped me out though.) Thanks.

@rultor try to merge

@rultor try to merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor try to merge

@yegor256 Done! FYI, the full log is here (took me 6min)


[MSFT 16526077] When branching a type path, only copy setter indices that refer to the initialized part of the path

Otherwise, wait for the correct index, which may be different on this branch of the path, to be set when the setter property is added to the handler.

@dotnet-bot  test OSX static_osx_osx_release

@dotnet-bot test OSX _no_jit_shared_osx_osx_test

@dotnet-bot test OSX static_osx_osx_release

@dotnet-bot test OSX static_osx_osx_release

@dotnet-bot test OSX static_osx_osx_release

@dotnet-bot test OSX static_osx_osx_release


Experiment new workflow with Jupytext and more integrated pyodide directive

Warning! This is a hacky experimentation, no serious code review please 🙃

The goal is to manage to seamlessly combine:

Having markdown files as the source of the docs
Allowing the pyodide directive to be used in these files
Making it easy to update/create these source files, as if they were notebooks

In this PR I have quickly hacked something that seems to work well but needs more experimentation:

Jupytext allows to edit MyST Markdown files as if they were notebooks (right-click on a md file and open as a notebook, it's pretty nice!). New code cells are saved in the notebook with a code fence like {code-cell} ipython3. I have added the jupytext.md file in the example site.
Added a source parser that converts all {code-cell} to {code-block}.
Changed the pyodide directive so that it inherits from the CodeBlock directive, and overrides it when Sphinx runs. Code blocks ({code-block} python) will be treated normally, those that have the pyodide flag will be treated exactly as the pyodide directive implemented by Philipp.

What is missing is a way to declare that all the {code-cell} of a markdown file should have the pyodide flag. This could probably be declared in the jupytext header and parsed by the pyodide extension. Right now the flag has to be added manually in the markdown file.
With this approach the markdown files look something like that (it's likely the header can be reduced, I haven't really tried, and yes the :pyodide: null is ugly, ignore that it can be improved for sure):
---
jupytext:
  text_representation:
    extension: .md
    format_name: myst
    format_version: 0.13
    jupytext_version: 1.16.0
kernelspec:
  display_name: Python 3 (ipykernel)
  language: python
  name: python3
---

# Jupytext

This Markdown file can be opened as a Notebook in JupyterLab with Jupytext installed. New code cells are created with the `code-cell` directive.

```{code-cell} ipython3
:pyodide: null

print('pyodide code-cell are turned into code-blocks and parsed with the PyodideCodeBlock directive')
```

```{tip}
Install jupyterlab_myst to display MyST markdown :)
```

This is how it will render when opened as a notebook in JupyterLab:

Pretty satisfied overall with the outcome of this little experiment so far!

Jupytext supports multiple "notebooks as markdown" formats. In the first post I used the MyST format, that IIUC exists to make it easier to work with MyST-NB (and preserve tags like hide-output?).  {code-cell} looks like a directive but in practice in MyST code it isn't one, it's used to collect all cells and "turn them into a notebook". It might not be such a good idea to rely on it? OTOH we use MyST-NB to build the docs so relying on this could give us extra benefits, i.e. convert all notebooks to Markdown, even those that are not meant to use the Pyodide directive (Datashader).
There's also the Jupytext notebook format that looks more conventional. Notebook tags, can be declared as such, we could use that to declare that this is code fence must be processes with the pyodide directive (first internally converting the code fence to a myst directive). An advantage of this approach is that it's closer to raw markdown (some renderers ignore whatever comes after python so highlight the code correctly, verified with the md preview in VS Code):
```python tags=["pyodide"]
param = 5
```

Still some analysis to do! Some question to answer too:

How's the experience using JupyText?
How much do we want to use it? I.e. would we be ready to convert all notebooks to that format?

The explored workflow is meant to work best in Jupyterlab with Jupytext and Jupyterlab-MyST. VSCode doesn't yet have the same capabilities (built-in or via extensions), i.e. opening a markdown file as a notebook (well, Quarto does that but we're not using it). Refs: https://github.com/mwouts/jupytext/issues/143, https://github.com/microsoft/vscode-jupyter/issues/1240

Feedback
Open Questions

Can this work efficiently with VS Code?
Can this work in a on a Jupyterhub where all other users don't use Jupytext?
Can this support a combination of pure Python code blocks and Pyodide code blocks?

WORK IN PROGRESS. TO BE UPDATED AS I LEARN MORE

Comparison to Quarto
With quarto you can create a document like

With an output of

I.e. you have two, live streamlit applications in the document.
There is a dedicated VS Code extension enabling you to run the code

There is a preview with live reload.
The quarto CLI is very fast. It can also render jupyter notebooks. Even with live reload quarto preview document.ipynb

Thanks for your feedback Marc, it's very useful, I'll look more into it after the holidays. My quick feedback is that I think you're mixing too many things. My goal was trying to see whether it was possible to have all our files as Markdown files without changing our stack drastically and build new custom stuff. It seems what you are exploring is far far beyond the scope of what I've done.

Its just light years ahead of jupytext.

That seems a little unfair, the goal behind Quarto and Jupytext is very different, I've been amazed with the capabilities offered by Jupytext.


Platforms docker containers are tested on

https://github.com/nuest/ten-simple-rules-dockerfiles/blob/4a87e3e3ad43feacd98722f1521e500191bb17bb/ten-simple-rules-dockerfiles.Rmd#L78
Tooling is starting to appear that makes it easier to build things for different platforms. For example, Using multi-arch Docker images to support apps on any architecture describes buildx, an experimental service developed by Docker to make it easier to "build, push, pull, and run images seamlessly on different compute architectures".

What I mean is that for testing (CircleCI or TravisCI or GitHub) you usually create a grid to test on. This is an explicit decision to test on ubuntu 16.04, 18.04, Centos 7, etc., (Python 2? Python 3?) and the point in the comment above is saying that the container creator should explicitly state the environments that have been tested. It's great that Docker makes it easier to build on multiple platforms, but that is a different thing than what the developer chooses to actually build and test on.

Re: testing on different o/s versions  — yes, but in the context of me building an environment to do research in, why would I do that? I want to run my code in my environment. Why should I care that it runs on a different version of Linux or Python? Unless maybe I'm building a tool / package / application that other people are going to need to run in their own environment which may be py 3.4, 2.5, 3.6 etc.
In which case, then I should also be mindful that maybe they want to run it on an Arm stack? Or something with a particular flavour of GPU?

If you are an open source developer and maintain software for a community - trust me, you care. Take a look at the testing setups for any major scientific library / container and you'll see a grid that tests debian, centos, and sometimes even windows, minimally.

Yes; agreed. But there are other users who are building their stack for their research. This relates in part to who the intended audience of the paper is. Different audiences are likely to have different interests and different concerns. For the guidelines to be useful, I think they need to be relevant to the intersection of several audiences, but also reflect that particular elements of best practice may be more heavily weighted to the concerns of some audiences than others.

If the paper is intended for Data Scientists / Researchers, then the title needs to clearly indicate that.

@vsoch You original comment seems to have disappeared in the latest draft. Which rule do you see fitting to re-add the idea of documenting the tested platforms?
I think different architectures is out of scope for the article, but we might add it to make readers aware these exist. Opinions?

If the question is to add extra content, at this point I'd say no.

What about s/thing like: "Automation strategies exists to build images from common, parameterised specifications across multiple platforms and / or  from different component package versions. Such approaches are often used when developing popular software packages for a broad user base operating across a wide range of target platforms and environments." ?

That sounds accurate! I'd just simplify it a little bit:

Automation strategies exist to build and test images for multiple platforms and software versions. Such approaches are often used when developing popular software packages for a broad user base operating across a wide range of target platforms and environments.

I'd say we don't include the suggested paragraph, as it points to possibilities outside of the scope of the article.
@vsoch @psychemedia Feel free to re-open if you find a good spot to put this in.

I think something like this could fit around https://github.com/nuest/ten-simple-rules-dockerfiles/blob/470d115ee3cce7e645f5b15077217e7cae23129d/ten-simple-rules-dockerfiles.Rmd#L612 ?


devtools::install_github("HDA1472/DA_RPackage") Bad credentials

While trying to install the package when executing devtools::install_github("HDA1472/DA_RPackage"), I got the following error:
Error: Failed to install 'unknown package' from GitHub:
  HTTP error 401.
  Bad credentials

  Rate limit remaining: 59/60
  Rate limit reset at: 2024-08-02 10:55:10 UTC
8. stop(remote_install_error(remotes[[i]], e))
7. value[[3L]](cond)
6. tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. tryCatchList(expr, classes, parentenv, handlers)
4. tryCatch(res[[i]] <- install_remote(remotes[[i]], ...), error = function(e) {stop(remote_install_error(remotes[[i]], e))})
3. install_remotes(remotes, auth_token = auth_token, host = host,
    dependencies = dependencies, upgrade = upgrade, force = force,
    quiet = quiet, build = build, build_opts = build_opts, build_manual = build_manual,
    build_vignettes = build_vignettes, repos = repos, type = type, ...
2. pkgbuild::with_build_tools({ellipsis::check_dots_used(action = getOption("devtools.ellipsis_action", rlang::warn))
    { ...
1. devtools::install_github("HDA1472/DA_RPackage")

How do I solve the bad credentials? I am using the same username, email and password as I normally do.

Solved!
My personal access token (PAT) didn't work as intended.
SOLUTION

I got a new one by following the guide "Managing your personal access tokens" from GitHub Docs .

I then opened my R console and typed this to set my new PAT in R
usethis::edit_r_environ()

Then I added this line to the .Renviron file that opened
GITHUB_PAT=your_personal_access_token

I then saved the file and restarted my R session.

Then I re-attempted to install the package, and it worked!
devtools::install_github("HDA1472/DA_RPackage")


[plugins/DMX USB] rework for asynchronous transmission

This must be the rework season...
I don't even know where to start. I'm reworking in the asyncdmxusb branch.
The DMX USB plugin had a fundamental design flaw.
Looking back at the master timer tick diagram, it is clear that NOTHING should interfere with its work, especially because MT has only 20ms to do EVERYTHING.
DMX USB (and actually other plugins too) was the bad apple of the chain, adding serial operations (SLOW!) within a MasterTimer tick, therefore blocking it and the whole UI with it.
My fault I didn't realize this before, after so many "flickering" reports, frozen UI and whatsoever.
The key points are:

MasterTimer runs at 50Hz, DMX runs at 44Hz. A miracle PRO devices worked so far. Actually Enttec MK2 and DMXKing ultraDMX Pro are apparently capable to handle 50Hz. Eurolite "PRO" devices are not.
OpenDMX was running at 30Hz since ages (WTF)
OpenDMX thread was calculating the elapsed time between DMX frames with QTime, which is well known to be subject to system clock adjustments. No wonder why after many hours everything got frozen
awkward and difficult frequency parameter tuning. Now output frequency can be set in the configuration dialog, in case some crappy clones are not capable of running at 44Hz. Default is 44Hz for every device.

What I'm doing is to decouple writeUniverse calls from the actual serial write, which now happens on a dedicated thread. In case of input, another thread is started. both cases imply an extra buffer copy (which in the end is a memcpy, which is super fast) so more memory used (512 bytes per universe...wow)
Also I'm using QElapsedTimer with a microsecond precision to perform intra frame sleeps to guarantee the requested output frequency.
If anyone has anything to say around this topic, this is the place.

Alright, I have tested all the devices I have and the change works pretty well. Surprisingly, on macOS too.
On Windows, instead, Enttec open (clones) flicker at 44Hz.
However, at 40Hz the issue seems to be resolved.
At least now it's very easy to adjust the frequency from the UI.


[AA-1834] Reports list view toolbar

This PR adds a toolbar to the reports page.
Filter by: tag, name, description
Sort by: name (asc/desc), tags count (asc/desc)
Jira issue: https://issues.redhat.com/browse/AA-1834
Before:

After:

Looks good 👍  I found few minor problems:
There should be an Empty state with Clear all filters when there's no results like when you select Migration tag

There's nothing happening when you click on the cross inside the selected tag.

Broken filter chip 'x' is a larger component issue (not related to this PR). Empty state will be addressed in a follow up PR.


Support loading Helm values from different source types

Fixes #1809
valuesFrom supports different types of sources: configMapKeyRef,
secretKeyRef and externalSourceRef. Where the latter can be used to
retrieve a values file from an URL by setting the
externalSourceRef.URL. The array of sources is merged in specified
order, with the .spec.values getting merged last.
For backwards compatiblity the old valuesFromSecrets are transformed
into secretKeyRefs and lined up in front of any specified
valuesFrom sources.
On all source types the <sourceRef>.Optional can be set to true to
allow the release of a Helm chart to continue if the values file could
not be found.

Reading values from a file is a bit odd -- the path is given in the HelmRelease, but refers to a file in the filesystem of the operator. This is a trapeze act too far, in my opinion.

I'm not against fetching values from URLs -- though it's not very "GitOps", I think on balance it's reasonable to give people some flexibility on where the values come from. (Or to put it another way: it's not something I'd do myself, but who am I to judge ...).

I do agree with you that reading values from a file is a bit odd, but at the same time I think it is also oddly specific to create a valueFileURLs array in the CRD.

@squaremo I think this is now to your liking.


Tone.Signal crackling sound

I'm trying to use a Tone.Signal as a gain node, but when I set new values I hear a slight crackling sound but no change to the gain. Is this the right way to use Signals?
this.Effect = new Tone.Signal(1, 'db');
this.Effect.value = newValue;
I've tried using different units but I still can't get it work.

that looks right in terms of constructing a signal. can you post a minimal example? What are you routing that signal to?
is it possible that you have the signal somehow connected directly or indirectly to the master output? that would make your output have a DC offset and could make things crackle and clip.

Yes it's being routed to another Signal and then .toMaster()
https://docs.google.com/file/d/0B-FXQg_VQV3JdXVQMDBFN090U3c/edit

I have two guesses: first i would use Tone.Meter to see what kind of values you're getting on your output. The normal range is centered around 0 and +/- 1. If you have a signal connected to the output, there's a chance you've got a DC offset which would cause clipping on the output. When the noise isn't playing, the value at the output should be 0.
The second suggestion would be to use the rampTo method when changing values. The difference here is that instead of setting a new value right away (which would cause an audible jump in values known as zippering), you smoothly interpolate between the values.

Any updates on this?


Support for Spree 2.3 + 2.4

spree_bitpay (>= 0) ruby depends on
spree (~> 2.2.0) ruby
Would be great to get versions released for 2.3 and soon to be released 2.4.
Thank you!

The newest version of the plugin supports spree 3.0.1. Is there still a need to support 2.4?

Are there any published usage stats for 2.4, by chance?


ICMP: Fix Destination Unreachable type. Ensure InterfaceId is set

This PR fixes the ICMPv6 Type of Destination Unrechable message to the propel value from RFC4443.
Additionally an API has been changed to allow setting of InterfaceId. Before for Link Local or Multicast destination addresses the message was droped in Ip6::SelectSourceAddress method, due to InterfaceId set to 0. I did the same what IcmpEchoRequest does right now with Ip6::MessageInfo being supplied as a parameter.

 Last update 0bc5c8e...21fbdcf


Remove ObjectQualifier from installer dialog

Description of problem
The Object Qualifier is an old feature which leads to issues. I would like to remove it from the installer dialog. I would also do it, if the consensus is that we'll do this.
Description of solution
The ObjectQualifier was an old trick to "share" an SQL DB for multiple, standalone sites. There is no justification for it today, but when people use it (because they think they should put their name in that field) it can cause trouble down the road, for example with modules that don't support this. I would either

put a big warning on it
remove it from the UI (my preference)

Description of alternatives considered
Provide a clear and concise description of any alternative solutions or features you have considered.
Please Post your Preference
...below, so I know if this is something the rest of the community would want, and which version.

At the @dnnsoftware/approvers meeting today, we agree that removing this option from the installer would be great. Switching this from an RFC to a help wanted request.

Awesome - I'll try to get a pull request in within the next 10 days.

@iJungleboy I just submitted PR #2719 to fix this and the annoying banner issue in one go.


Change drain icon to ditch

Changed icon of drain preset to the ditch icon, as requested in #4460.

Perfect, thanks @AndreasHae 👍


xgboost single decision tree information

Is there any way to fetch single decision tree information in the python package ?

you can use gbdt.get_dump() to get a list of string representations for each tree, which you can print, parse or whatever.


Mobile output/preview view

As a user, I want to preview my code on my mobile, so that I can code on my preferred device.
Main design
Design questions

If my code has been run, and then I move back into the Code view, then back to the Output view, should my previously run code still be there or a blank screen?
Python preview: how does the user exit the Output views and return to the Editor?
HTML preview: does clicking the arrow icon return the user to the Editor?
HTML preview: requirement is for "open in new tab to be hidden on mobile if not possible".  But how does the user generate a preview if the button is hidden?
Will there be any layout effects when the Run button changes to Stop? Eg, could this make the unselected Python tab too narrow?
General Q on Users cannot zoom in/out by pinching (since we have text resizing in the settings): Should we keep the standard mobile behaviour for pinching, for accessibility and user expected behaviour?

General ACs for mobile

Account navigation follows whatever is the latest (out of scope for specific mobile support)
Make sure the breakpoints are at the same width of the application
Users cannot zoom in/out by pinching (since we have text resizing in the settings)

Tech question: Is this enabled by default, or something we have to disable?

Auto-run/refresh is disabled on mobile. We have not implemented this functionality.

Story ACs

Mobile code output view follows the designs
Mobile code output view appears at the correct breakpoints
I can see the bottom navigation
I can see the 'Run' button in my top bar

When clicked, I stay in the preview/output view and my code runs again

If my code has not been run when I view the preview/output view, then I can see a blank view (see designs)

Above design answer to be added here

I can see my project's name and when it was last saved above the main navigation
If the output is offscreen (due to hardcoded pixels), a scrollbar should appear and behave in the same way as the input view

When coding in Python:

[ ]  I can see two tabs for 'Visual output' and 'Text output' in my top bar
[ ]  I can choose from a stacked or tabbed view
[ ]  Mobile split view follows the updated designs

When coding in HTML/CSS:

[ ] I can see my HTML files in my top bar
[ ] My HTML files are named '[filename].html preview'
[ ] I can open my preview in a new tab (uses native device functionality) - TBC depending on design answer

TASKS

[ ] Header and footer should preserve the Editor's layout

Python

[ ] Create a "Tabbed View" that allows user to switch between Visual Output and Text Output
[ ]  Create a "Stacked View" that splits the screen horizontally, with Visual Output above Text Output
[ ] Create a button that allows user to switch between the Tabbed and Stacked views. The button's icon should change accordingly
[ ] If there is no Visual output, the pane should display a dotted pattern

HTML

[ ] Create a preview pane that should be titled "{filename} preview"
[ ] If there is no Visual output, the pane should display a dotted pattern
[ ] "Open in new tab" to be hidden if possible (need to clarify this with design - see above?)

Design questions

If my code has been run, and then I move back into the Code view, then back to the Output view, should my previously run code still be there or a blank screen?

Previous run code should still be there. Just how on desktop the output remains there if you refocus the input.

Python preview: how does the user exit the Output views and return to the Editor?

Im not sure I understand this question. The user navigates between input/output using the bottom navigation.

HTML preview: does clicking the arrow icon return the user to the Editor?

If you are referenceing the box with and arrow icon, this is the icon for opening in a new tab.
The full label for this button is seen in the component documentation here. I think we previously disucssed if open in a new tab is not possible on mobile this option will be hidden on mobile.

HTML preview: requirement is for "open in new tab to be hidden on mobile if not possible".  But how does the user generate a preview if the button is hidden?

Not sure I understand the question, this button is to 'open in new tab' not run the code. To run the clode the user clicks/taps the run button and the preview is shown below in the output panel as it does with desktop.

Will there be any layout effects when the Run button changes to Stop? Eg, could this make the unselected Python tab too narrow?

The button width will increase slightly, this is fine.

General Q on Users cannot zoom in/out by pinching (since we have text resizing in the settings): Should we keep the standard mobile behaviour for pinching, for accessibility and user expected behaviour?

I don't know what the accessibility best practice is but I suspect allowing pinch to zoom could cause usability issues - however I may be wrong. I'm also not sure if pinch to zoom will work if the input is focused - needs testing.

@magdalenajadach, could you add any insight on the pinching to zoom in/out from an accessibility perspective?

Closing this, as the remaining bits are covered in other stories under the milestone.


pydantic.errors.PydanticUserError: A non-annotated attribute was detected: is_crew_class = True

Traceback (most recent call last):
File "", line 1, in
File<EMAIL_ADDRESS>line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/Users/jm/jmautogpt/news_agency_1/main.py", line 7, in
from crew import NewsSourceResearcher
File "/Users/jm/jmautogpt/news_agency_1/crew.py", line 12, in
@CrewBase
^^^^^^^^
File "/Users/jm/jmautogpt/news_agency_1/.venv/lib/python3.11/site-packages/crewai/project/crew_base.py", line 12, in CrewBase
class WrappedClass(cls):
File "/Users/jm/jmautogpt/news_agency_1/.venv/lib/python3.11/site-packages/pydantic/_internal/_model_construction.py", line 93, in new
private_attributes = inspect_namespace(
^^^^^^^^^^^^^^^^^^
File "/Users/jm/jmautogpt/news_agency_1/.venv/lib/python3.11/site-packages/pydantic/_internal/_model_construction.py", line 406, in inspect_namespace
raise PydanticUserError(
pydantic.errors.PydanticUserError: A non-annotated attribute was detected: is_crew_class = True. All model fields require a type annotation; if is_crew_class is not meant to be a field, you may be able to resolve this error by annotating it as a ClassVar or updating model_config['ignored_types'].
The code in question:
import os
from crewai import Agent, Crew, Process, Task
from crewai.project import CrewBase, agent, crew, task
from crewai_tools import WebsiteSearchTool
from langchain_community.tools import DuckDuckGoSearchRun# Initialize the tool
from langchain_groq import ChatGroq
import sqlite3
search_tool = DuckDuckGoSearchRun()
@CrewBase
class NewsSourceResearcher(Agent):
def __init__(self, zip=None) -> None:
    if zip == None:
        pass
    # add other models here
    self.groq_llm = ChatGroq(temperature=0, model='llama3-8b-8192')
    self.agents_config = 'config/agents.yaml'
    self.tasks_config = 'config/tasks.yaml'

@agent
def source_manager(self) -> Agent:
    return Agent(config=self.agents_config['source_manager'],
                 llm=self.groq_llm,)
@task
def source_manager_task(self) -> Task:
    return Task(
        config=self.tasks_config['source_manager_task'],
        agent=self.source_manager(),
        tools=[search_tool,WebsiteSearchTool(),sqlite3]
    )

@crew
def crew(self) -> Crew:
    return Crew(
        agents=self.agents,
        tasks=self.tasks,
        process=Process.sequential,
        verbose=2

        )

This has absolutely nothing to do with accelerate. Closing as it’s off-topic. Please post this in a relevant repository for your code.


Unnecessary build of deps

I noticed that if I change something in a module and do cargo b, it builds everything and takes very long.
To Reproduce
Steps to reproduce the behavior:

Change a rust file in web_viewer or any
cargo b
All deps are rebuild

Expected behavior
The deps are not rebuild.

This is not actionable as is. Please give a concrete example: what exact commands did you run and in what order?


How to subscribe / notify document approval

Hi, I was trying your solution in the web component, can you point me to where I can get notification when something is complete. For e.g. when user logs in to see any pending documents for him.
thanks

That is done here - just plain and simple SignalR.


fix: extension -> fullstack

extension is no longer supported when dependency_version_2: true

/run pipeline

/run pipeline

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

GitHub release
v1.4.41

Your semantic-release bot :package::rocket:

@ocofaigh the DA is still an extension, as it needs another DA to deploy the OCP cluster ad dependency


Potential bug for continuous generation

Hi,
Congrats on the very replicable code!
I just have a concern regarding checking for the end token generation:
https://github.com/btheodorou99/HALO_Inpatient/blob/0886b296a5ad8882552edd2f4b017dfde94856f1/continuous_variables/generate.py#L35
Apparently, this checks if the end visit is generated for all samples in the batch. While this is correct for Without-lab case:
https://github.com/btheodorou99/HALO_Inpatient/blob/0886b296a5ad8882552edd2f4b017dfde94856f1/test_model.py#L177
,I think  for with-lab case, it should be:
 if torch.sum(torch.sum(prev[:,:config.code_vocab_size+ config.lab_vocab_size+ config.continuous_vocab_size+ config.label_vocab_size+ 1], dim=1).bool().int(), dim=0).item() == batch_size:

Thank you very much for catching this! I have updated the code with the fix. In practice, this early stopping doesn't hit much anyways (including labs means that someone in the batch will generally run out of context), but your check for the with-lab case is definitely the right one.

Thank you very much for updating the code.
I have another concern regarding dataset building process:
https://github.com/btheodorou99/HALO_Inpatient/blob/53e643d5128244507ab15557527501f5851d4a09/build_dataset.py#L30
it seems that by using list(set(***)), the order of codes in a visit is lost. Here is an example:

However, I was thinking that the order is important especially in the code-level module.

You're right that the order is important for the architecture in the code-level module. However, this does not sacrifice that as each code is randomly assigned an index (just below that code in lines 40-46) and even if the indices are stored out of order they will fill the matrix with ones in the right order which will maintain the code ordering with respect to the architecture. In terms of the output patient data, the order of the codes in a visit does not matter (semantically they all occur simultaneously and just the visits themselves are sequentially ordered).


OpenSSL SSL_read: Connection was reset, errno 10054

Hi!
Today with insomnia latest versions 2020.2.1 I'm getting this error invoking our own REST API:
OpenSSL SSL_read: Connection was reset, errno 10054
I don't know when it has updated, but at the beginning of this week, it was working well.
Our API is located at Azure Cloud and I tried different API that we have.
If I call this same API running on my local machine, I got success.
Finally, I downgraded Insomnia for 7.1.1 version, and it started to work again.
So something new at Insomnia latests versions that don't work well invoking API located at Azure infrastructure.
Pasting timeline call:

Preparing request to https://xxxx.azurewebsites.net:443/api/v1/territories
Using libcurl/7.69.1-DEV OpenSSL/1.1.1d zlib/1.2.11 WinIDN libssh2/1.9.0_DEV nghttp2/1.40.0
Current time is 2020-06-05T13:28:20.922Z
Disable timeout
Enable automatic URL encoding
Disable SSL validation
Enable cookie sending with jar of 2 cookies
Uses proxy env variable no_proxy == '<IP_ADDRESS>'
Trying x.x.x.x:443...
Connected to xxxx.azurewebsites.net (x.x.x.x) port 443 (#1)
ALPN, offering h2
ALPN, offering http/1.1
successfully set certificate verify locations:
CAfile: C:\Users.......\AppData\Local\Temp\insomnia_2020.2.1\2017-09-20.pem
CApath: none
TLSv1.3 (OUT), TLS handshake, Client hello (1):
TLSv1.3 (IN), TLS handshake, Server hello (2):
TLSv1.2 (IN), TLS handshake, Certificate (11):
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
TLSv1.2 (IN), TLS handshake, Server finished (14):
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
TLSv1.2 (OUT), TLS handshake, Finished (20):
TLSv1.2 (IN), TLS handshake, Finished (20):
SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
ALPN, server did not agree to a protocol
Server certificate:
subject: CN=*.azurewebsites.net
start date: Sep 24 02:18:56 2019 GMT
expire date: Sep 24 02:18:56 2021 GMT
issuer: C=US; ST=Washington; L=Redmond; O=Microsoft Corporation; OU=Microsoft IT; CN=Microsoft IT TLS CA 5
SSL certificate verify ok.

GET /api/v1/territories HTTP/1.1
Host: xxxx.azurewebsites.net
User-Agent: insomnia/2020.2.1
Cookie: ARRAffinity=8f8ac6c076f7a9e2132f...
Authorization: Bearer eyJhbGciOiJSUzI1N...

OpenSSL SSL_read: Connection was reset, errno 10054
Closing connection 1

Execute the git command: release ssl verification:
git config --global http.sslVerify "false"

Hi @DnlCYan
Do you see the same behavior with our latest release located here: https://github.com/Kong/insomnia/releases/tag/core%402022.6.0-beta.4

Execute the git command: release ssl verification: git config --global http.sslVerify "false"

well done by this answer, note just type below in git bash interface:
git config --global http.sslVerify "false"


Add mood functionality to Pet class

@miguelapaya Thanks for answering the machine problem 😃 Although this is only for SYNTAX Malolos' 2nd IT Congress

aight. understood sir @rjtmahinay :D


Add background-color when toggle is enabled

Not sure if this on your radar at all, but it might be an easy fix for enabling the background color when a toggle switch is enabled.
Currently, the toggle "dot" is invisible against the green background when the toggle is enabled:

With the css fix applied:

Didn't realize this, thanks for the catch!


How to get person abid (AddressBook Record Id)?

There was one fork implementing this, but no pull request so far. I´ll integrate that soon.
Just out of curiosity, what do you need the Record Id for?

Thanks for the quick response.
I want to integrate Whatsapp sending personal message (http://www.whatsapp.com/faq/en/iphone/23559013), and for doing this I need to know abid.

Have a look at
https://github.com/eito/SwiftAddressBook/commit/d39f798b27aba966371d9e6b95f9a91c430130e4
for a quick start.

Thanks, I will try later.

Tassilo, thanks. It works.


Lapce Window Drag and Drop doesn't work

Lapce Version
0.3.1
System information
Garuda Linux
Describe the bug
When attempting to drag and drop the Editor to move to another workspace or divide the screen, the window freezes and minimizes, rendering it impossible to reopen. This forces me to manually close the editor, thus making drag and drop functionality inoperable. Additionally, I am unable to open folders, rendering the editor completely unusable on this system.

screenshots

this is when i cannot move from there:

logs
theories about what might be going wrong => I think the drag and drop handler is creating a conflict with the NVIDIA redenrization:  ╰─λ nvidia-smi
Mon Jan 29 01:55:17 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06              Driver Version: 545.29.06    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce GTX 1660 Ti     Off | 00000000:01:00.0 Off |                  N/A |
| N/A   43C    P8               8W /  80W |    601MiB /  6144MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A     23350      G   /usr/lib/Xorg                                 5MiB |
|    0   N/A  N/A     24360    C+G   lapce                                       593MiB |
+---------------------------------------------------------------------------------------+

Even just dropping txt file on editor is not working. I don't have nVidia card on this machine, only Intel.

Even just dropping txt file on editor is not working.

There was never such functionality implemented.


[Addition]: Delightful Menthol Sawfish

Hotspot b58 Addresses
117aAjvq75kBAdMRnUGHoN2THyXgrVoCyA1jWHTcwUzDQ1Dbu4o
Discord Handle
No response
Reason(s)
Too many hotspots in one hex, this one came in last.

That's not a reason for a hotspot to be added to the denylist. Even if it was added to the denylist, that won't have any effect on the transmit scale of any hotspots near it.

What is a reason to be added to the deny list then?

What is a reason to be added to the deny list then?

Cheating/gaming. See: https://gristleking.com/how-do-you-cheat-on-the-helium-network/

I'm trying to figure out how to get mine off it.

I'm trying to figure out how to get mine off it.

You can submit a removal request here: https://github.com/helium/denylist/issues/new/choose

I submitted to get off the list but have had no luck!

I submitted to get off the list but have had no luck!

The addition and removal requests are reviewed regularly, but there's not an ETA announced in advance for that. You can see (and subscribe to) the denylist update releases here: https://github.com/helium/denylist/releases


Is cfscrape a tool to breakthrough cloud flare

Hi, I am new to cloudflare. And I google out this tool but is very difficulty to find the real use of this tool even after I read some part of readme. Could you describe the real function of this tool for cloudflare.
I want to know whether this tool could be integrated with sqlmap.
Thank you very much

It bypasses Cloudflare's "I'm Under Attack Mode". And yes, it can be
integrated with sqlmap or any other application. Please re-read the README.
Thanks.
On Oct 17, 2017 6:25 PM, "Jianfei Li"<EMAIL_ADDRESS>wrote:

Hi, I am new to cloudflare. And I google out this tool but is very
difficulty to find the real use of this tool even after I read some part of
readme. Could you describe the real function of this tool for cloudflare.
I want to know whether this tool could be integrated with sqlmap.
Thank you very much
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Anorov/cloudflare-scrape/issues/116, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AA5FI4rL1fPYURrnrXmU3aWKv9jppejXks5stSlMgaJpZM4P86EG
.


Update Makefile

Fix the references to the proper targets to build the PDFs

In order to make git log --oneline more useful, please make the first line of the commit message a useful one-line summary. "Update Makefile" doesn't tell me much. How about: "Fix Makefile to build proper PDF targets"


[help wanted] FileNotFoundError: [Errno 2] No such file or directory for --sopa resolve baysor

Hi,
Dear community, I finished Baysor segmentation and tried to run --sopa resolve baysor C:/Users/hekun/Downloads/S3R1.zarr --gene-column genes; But an error showed up: FileNotFoundError: [Errno 2] No such file or directory:
'C:\Users\hekun\Downloads\S3R1.zarr\.sopa_cache\baysor_boundaries\0\segmentation_polygons.json'
I know there's one report in #152 report. Yes, I did notice the output for the JSON file is segmentation_polygons_2d, but not segmentation_polygons. I guess renaming all the patch folders won't help? Any suggestions?
Thanks very very much!

Dear @quentinblampey, can I ask you the new version of sopa==2.0.0?  Thank you!!!

Hello @KunHHE, it's still not released, I'm waiting for the new version of SpatialData. It should arrive soon, hopefully this week

Hi, @quentinblampey, is this a CLI-specific issue? If we switch to snakemake or API, is there no issue at all? Thank you so much! appy holidays!


Incorrect display of region polygons in date summary

While browsing the spatial summary of a DEA Product, there is confusing and wrong display of Dataset regions.
When I mouse over many of the polygons at the above link, Two polygons highlight instead of One, both report the same name and link to the same dataset.
Looking at the source of the GeoJSON, it has lots of Multipolygons instead of simple Polygons. I think each region_code should only be a single Polygon.

Reporting on behalf of Arek.

I'm wondering if this is due to some sort of processing issue - the observed behaviour seems to always be caused by a single dataset from late November/early December 2015 having the wrong region code (off by the last letter).

I have what I suspect is the same issue in our Chile and CEOS instances. What was weird was that it would only happen if I indexed a lot of data at once (e.g. all of continental USA). I have since modified our indexing workflow so that it splits not only on date blocks, but also splits large geographic areas into smaller areas. This has mostly removed the issue, but I could never work out what specifically was causing it. I mostly had the issue with Landsat 8, but I think also with Sentinel-2. The actual bbox in the index database was incorrect as explained below.
This is an example of a bad tile: https://explorer.eail.easi-eo.solutions/products/landsat8_c2l2_sr/datasets/206d355c-8ce8-52a3-b4ef-72e913681684
The geometry and bbox at the STAC endpoint appears to be correct: https://explorer.eail.easi-eo.solutions/stac/collections/landsat8_c2l2_sr/items/f3eaa38d-b383-53e0-8baa-1e3be970c10c
and it has exactly the same geometry and bbox as the original record:
https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LC08_L2SP_006022_20210802_20210811_02_T1_SR
but the projected geometry shown in the UI is incorrect as is what is stored in the metadata column in agdc.dataset as per the screenshot below, so it is an error in the indexing, not in cubedash:
"geometry": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          2994762,
          6953579
        ],
        [
          3066327,
          6755450
        ],
        [
          3258331,
          6823158
        ],
        [
          3184804,
          7024432
        ],
        [
          2994762,
          6953579
        ]
      ]
    ]
  }

This puts the tile over near Ireland when it should be on the coast of Quebec.
Just for reference this is a "correct" tile for the same region: https://explorer.eail.easi-eo.solutions/products/landsat8_c2l2_sr/datasets/f3eaa38d-b383-53e0-8baa-1e3be970c10c
And the record directly from agdc.dataset:

@omad what is the data field that has 'Multipolygons instead of simple Polygons'? What process is this generated in?


Merge code from DockerCompose and Kubernetes repositories into this one

We've talked about this before at various times, but a GitHub issue seems like the best place for a full discussion. So: this is to discuss the possibility of merging in the Canasta-DockerCompose and Canasta-Kubernetes repositories into the main Canasta repository (i.e., this one). On the surface, this seems like a reasonable idea: it would prevent the possibility of inconsistency between the different repositories, it would make life easier for developers (and maybe administrators too); and there actually isn't that much code in these other two repositories - and actually, for that matter, there isn't all that much code in this one. On the other hand, there may be valid reasons to keep all three repositories as they are now. Any thoughts on this are welcome.

Making it a mono repo makes some sense from developer's perspective, but this would also mean that users wanting to deploy Canasta via Compose or K8s will also have to clone all the image source files, and this can be not very convenient


Fix flaky CI

Import fix to setup-beam once it's approved and tagged.

9550b93 was also required (the env part)


Use new class-based integrations

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Disable max-disk-usage checks on ActiveMQ Artemis broker

Description
Not sure if this is possible with quarkus-artemis dev services (or even just using vanilla testcontainers). But we should investigate it, because the build can potentially consume a lot of disk space. It becomes an issue when tests are run sequentially like in the quarkus-platform.
I can see that the disk is 91% used by the time the JMS tests run. Artemis by default only allows 90% disk space to be consumed. So we need to disable the checks and follow up with ways of avoiding the build eating up so much space.

This should be fixed by https://github.com/apache/camel-quarkus/pull/6390.


we can safely remove tokenType from all transactions

tokenType is checked between the states.

Fixed in #231

Closed by #231


RFC: Use Feather icons instead of Material UI icons

I see that you guys are using Material UI icons. May I suggest Feather instead?
And, since I don't think that Feather currently has all of the icons required, I could design them (as I have designed quite a few icons for Feather recently) and then add them to Feather and then this project!
Would really love to help contribute to this project! Both this and the desktop app seem very promising!

since I don't think that Feather currently has all of the icons required

IIRC this is why we went with Material Design icons. I love Feather, but personally I'd also like an easy way for this part of the UI to be customizable so that any icon or text labels could be used for things like the toolbars


Fix 12-1 map

asset fleet_2_up.png enabled for better recognition, now map 12-1  is fully functional.

Can you show me the results of this?

Can you show me the results of this?

I don't have any log now, but I did more than 10 runs without error, the big problem with this map is when the enemy appears where I marked it with red. it solved it in other ways but then I saw that there was this asset fleet_2_up.png in the folder, unused by the way, tested with him and voila, no further error occurred when enemies appeared at the top anymore.

3 runs now, working perfectly.


youtube-dl.conf

Why not save config file near youtube-dll.exe for Windows instead of Documents and settings? That will be much more convenient. Youtube-dll is portable soft, no any setup, just exe, so don't know why not store config file near to exe.

Cause it's standard acknowledged way to store config. youtube-dl is crossplatform and uses standard mechanisms for that. youtube-dl also stores cache and can't be considered completely portable.


Detect integer form of eqtable

Codecov Report

Merging #427 (657f017) into main (71ebce9) will decrease coverage by 3.52%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #427      +/-   ##
==========================================
- Coverage   76.07%   72.54%   -3.53%
==========================================
  Files          17       17
  Lines        4225     4021     -204
==========================================
- Hits         3214     2917     -297
- Misses       1011     1104      +93

Impacted Files
Coverage Δ

src/compiler/validation.jl
62.05% <ø> (-2.30%)
:arrow_down:

src/compiler.jl
74.45% <100.00%> (-0.33%)
:arrow_down:

src/compiler/interpreter.jl
30.95% <0.00%> (-69.05%)
:arrow_down:

src/compiler/orcv2.jl
0.00% <0.00%> (-61.91%)
:arrow_down:

src/compiler/utils.jl
55.71% <0.00%> (-37.44%)
:arrow_down:

src/logic.jl
75.00% <0.00%> (-5.00%)
:arrow_down:

src/api.jl
55.62% <0.00%> (-2.27%)
:arrow_down:

src/compiler/pmap.jl
79.45% <0.00%> (-1.80%)
:arrow_down:

src/pmap.jl
83.33% <0.00%> (-1.29%)
:arrow_down:

... and 6 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Test?


x/build/env/linux-arm64/packet: 8 Packet linux/arm64 machines missing (late-October 2020)

https://farmer.golang.org/#health reports:

# "packet" status: Packet linux/arm64 machines
# Notes: https://github.com/golang/build/tree/master/env/linux-arm64/packet
Warn: packet01 missing, not seen for 1h14m46s
Warn: packet02 missing, not seen for 1h14m38s
Warn: packet03 missing, not seen for 1h14m37s
Warn: packet04 missing, not seen for 1h14m38s
Warn: packet05 missing, not seen for 1h14m42s
Warn: packet06 missing, not seen for 1h14m33s
Warn: packet07 missing, not seen for 1h14m43s
Warn: packet08 missing, not seen for 1h14m39s
Error: 8 machines missing, 100% of capacity

This has happened previously (where a restart was required to fix the issue):

#40261 (last occurrence, 106 days ago)
#37922
#37371
#35708
#35524
#32543
#31112
etc.

This builder is needed for making releases. Applying Soon label.
CC @golang/release.

The machine became unresponsive. As in previous occurrences, restarting via Packet UI fixed it.

I would like to consider using the linux-arm64-aws builder as the one used for releases.

@cagedmantis That sounds great! Want to open an issue and send a CL to make us use that builder starting with Go 1.16 Beta 1? See #40563 and CL 246597 for precedent.

@dmitshur Sounds like a plan.


New output of included tools

Do not display tools with version
Do not display one tool per line
[x] Display tools as a multi-line list
[ ] Colourize tools based on state (version matches -> green, running -> yellow, done -> green)
[ ] Update colours with progress bar
Keep progress bar below

Too complicated


divmod doesn't work on Dask Arrays

Currently divmod doesn't work on Dask Arrays. This should just be a matter of defining __divmod__ and __rdivmod__ for Dask Array objects, which can be defined in terms of the integer division and modulus as shown in the Python docs.
In [1]: import dask.array as da

In [2]: a = da.random.randint(0, 10, (4, 6), chunks=(2, 3))

In [3]: divmod(a, 2)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-3-2db1b3c1558a> in <module>
----> 1 divmod(a, 2)

TypeError: unsupported operand type(s) for divmod(): 'Array' and 'int'

Hi so basically it should return two elements which are themselves an array, one is with the quotients and one is with the remainders right?
I will take this up if that's the case :)

Yep, that is the idea. Please feel free to. Would be happy to review a PR.

Solved with PR ( https://github.com/dask/dask/pull/4884 ).


Add import exception for unittest2 when run under Python 2.6 -- fixes Issue #169

tweak Makefile to run tox for CI and adjust tests to run unittest2 for Python 2.6

This change is

Current coverage is 76.89% (diff: 100%)

Merging #171 into master will not change coverage

@@             master       #171   diff @@
==========================================
  Files            14         14
  Lines          1567       1567
  Methods           0          0
  Messages          0          0
  Branches        288        288
==========================================
  Hits           1205       1205
  Misses          268        268
  Partials         94         94

Powered by Codecov. Last update 0868aab...64300a4

this should fix issue #169

Reviewed 26 of 26 files at r1, 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

yep, reviewed my own PR :)


Failed to refresh cached credentials -- I think maybe there's no SSO cache support?

~/.aws/config profile entry looks like this:
[profile ExampleProfile]
sso_start_url = https://d-xxxx.awsapps.com/start/
sso_region = us-east-1
sso_account_id =<PHONE_NUMBER>12
sso_role_name = ExampleProfile

Before starting, I log in through the cli command:
aws sso login which opens a browser window where I complete the login process.
However, this does not create a ~/.aws/credentials file -- instead it creates a ~/.aws/sso/cache folder and adds a few json files to it.
If I run this:
$ terraformer import aws --regions="us-east-1" --profile="ExampleProfile" --resources="vpc"
I get back this result:
2022/12/07 12:02:23 aws importing region us-east-1
2022/12/07 12:02:25 aws importing... vpc
2022/12/07 12:02:30 aws error initializing resources in service vpc, err: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, exceeded maximum number of attempts, 3, request send failed, Get "http://<IP_ADDRESS>/latest/meta-data/iam/security-credentials/": read tcp <IP_ADDRESS>:59482-><IP_ADDRESS>:80: read: connection reset by peer
2022/12/07 12:02:30 aws Connecting....

terraform (not terraformer) works fine -- this is the provider details:
provider "aws" {
  region  = "us-east-1"
  profile = "ExampleProfile"
}

Can I assume there is no support for this kind of access to AWS resources?

I suggest https://github.com/linaro-its/aws2-wrap as workaround.

Ran into this same issue and this helped me to resolve it.
# export creds to ~/.aws/credentials
aws2-wrap --profile default --export >> ~/.aws/credentials
# remove the older profile
vim ~/.aws/credentials
# run terraformer with profile
terraformer import aws \
  --filter="Name=tags.Terraform.true" \
  --regions=us-east-1 \
  -s bucket \
  -v -r vpc,subnet,nacl \
  --profile default


Implemented RunSort

Fixes #8
Implemented with the simple accumulative approach, as described in #8 .
Implementing it with binary merge (like in merge sort) would be better (in practice).

Thank you!


Large data throws exception for excel export

When exporting data more than 64,000 records, the following error is thrown.
java.lang.IllegalStateException: The maximum number of Cell Styles was exceeded. You can define up to 64000 style in a .xlsx Workbook
	at org.apache.poi.xssf.model.StylesTable.createCellStyle(StylesTable.java:860) ~[poi-ooxml-5.2.3.jar:5.2.3]
	at org.apache.poi.xssf.usermodel.XSSFWorkbook.createCellStyle(XSSFWorkbook.java:788) ~[poi-ooxml-5.2.3.jar:5.2.3]
	at org.apache.poi.xssf.usermodel.XSSFWorkbook.createCellStyle(XSSFWorkbook.java:108) ~[poi-ooxml-5.2.3.jar:5.2.3]
	at com.flowingcode.vaadin.addons.gridexporter.ExcelInputStreamFactory.lambda$buildRow$2(ExcelInputStreamFactory.java:277) ~[grid-exporter-addon-2.2.0.jar:2.2.0]
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708) ~[na:na]
	at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[na:na]
	at com.flowingcode.vaadin.addons.gridexporter.ExcelInputStreamFactory.buildRow(ExcelInputStreamFactory.java:270) ~[grid-exporter-addon-2.2.0.jar:2.2.0]
	at com.flowingcode.vaadin.addons.gridexporter.ExcelInputStreamFactory.fillData(ExcelInputStreamFactory.java:251) ~[grid-exporter-addon-2.2.0.jar:2.2.0]
	at com.flowingcode.vaadin.addons.gridexporter.ExcelInputStreamFactory.createInputStream(ExcelInputStreamFactory.java:112) ~[grid-exporter-addon-2.2.0.jar:2.2.0]
	at com.vaadin.flow.server.StreamResource$Pipe.createInputStream(StreamResource.java:99) ~[flow-server-24.3.2.jar:24.3.2]

Thanks for reporting this issue. It seems that we need to reuse existing cell styles instead of cloning them at https://github.com/FlowingCode/GridExporterAddon/blob/a79ff7951d7efa32ca0f2c9e0edce09731973ff2/src/main/java/com/flowingcode/vaadin/addons/gridexporter/ExcelInputStreamFactory.java#L276-L279


creating a contributions file

Expanding contributions into its own file, and expanding on how to properly add features. Key considerations:

People interested in contributing should check existing issues first
Pull requests should be attached to an accompanying issue. If your PR doesn't address any issue currently listed, make one!
Links to easy to parse resourced for creating issues and pull requests

Working on making a basic file for this. Should have it up before Monday.


Raft state machine refactorings

Currently, Raft node applies state machine commands on the state machine consumer object passed by the RaftKVStore. This requires the raft node to be set up on the client side which is unacceptable since we do not want the KVStores to embed the servers.
Therefore, the idea is on the server side, we just need to set up the nodes and we shall only implement client side logic on the KVStores (see issue #17). So we shall leverage the StateMachineRequest/Response pairs to apply commands on the client's state machine.

Explanation is currently inadequate. Possibly a new issue will be opened with a better story.


Wouldnt go past the doors screen

Had me going crazy for hours tryna find the issue of if everyone dies and it does the cinematic camera follow then cut showing the open door then closing, it wouldnt go past from there it will be stuck your able to press escape and put quit but thats it. Now it doesnt do that no more but i rather still make this as a headsup of this happening.

Should be resolved in future versions.


About height/width_interpolation.

@zRzRzRzRzRzRzR   Thank you for open-sourcing the great work! I was wondering what is the meaning of height/width_interpolation?
https://github.com/THUDM/CogVideo/blob/1727f0646e16c14e5398702b1e6bd6c360e92ec0/sat/configs/cogvideox_2b_sft.yaml#L119-L120
https://github.com/THUDM/CogVideo/blob/1727f0646e16c14e5398702b1e6bd6c360e92ec0/sat/dit_video_concat.py#L84-L85

This comes from the interpolation of the sinusoidal position embedding during our progressive training.

@tengjiayan20  Thanks for your feedback, but I'm still a bit confused. It seems that you are using the traditional sin-cos positional embedding, for interpolation from a smaller resolution to a larger resolution, shouldn't it be directly interpolated on the size of the positional grids like this?
https://github.com/baaivision/EVA/blob/5623d08bb08a8268c7bc18e1d9b8b4bd651fe4d9/EVA-CLIP/rei/training/interpolate_patch14_224to336.py#L28

Why are you dividing the height/width_interpolation here?
https://github.com/THUDM/CogVideo/blob/1727f0646e16c14e5398702b1e6bd6c360e92ec0/sat/dit_video_concat.py#L84-L85

I understand now. The two implementations are functionally the same. Thank you.

@zRzRzRzRzRzRzR @tengjiayan20 In the paper you mentioned that you preferred extrapolation over interpolation. However, in the code it seems to be the opposite.

@zRzRzRzRzRzRzR @tengjiayan20 In the paper you mentioned that you preferred extrapolation over interpolation. However, in the code it seems to be the opposite.

In the paper, our view of interpolation or extrapolation is for rope. Here, the 2B model uses sinusoidal position embedding, so we choose interpolation. But for the better model, we choose rope and use extrapolation.


Multiple contactor support

Changes BSP level contactor software to let us control all three contactors individually, as opposed to all 3 being shared on one I/O port. I believe I have found free pins, according to both other BSP code and the schematic for the leader board.
Still need to modify other higher-level code that calls Contactor functions, and add support for specifying which contactor is being acted upon.
Also, I don't know which branch this should be merged into... please let me know which is correct

Since you are changing stuff for the stm32f413 files, I think the correct target branch is master. Right now, it looks like this would also merge in a bunch of simulator stuff into master because you branched off of a branch with a lot of unmerged simulator features. Can you rebase your changes onto master, so the pull request only has the relevant changes and doesn't include the simulator stuff?
For info on how to do this, this article is usually helpful: https://www.atlassian.com/git/tutorials/merging-vs-rebasing

Since you are changing stuff for the stm32f413 files, I think the correct target branch is master. Right now, it looks like this would also merge in a bunch of simulator stuff into master because you branched off of a branch with a lot of unmerged simulator features. Can you rebase your changes onto master, so the pull request only has the relevant changes and doesn't include the simulator stuff?
For info on how to do this, this article is usually helpful: https://www.atlassian.com/git/tutorials/merging-vs-rebasing

Ok I read the article but don't think I did it right. I swap to the contactor branch and run git rebase master which doesn't really change anything in terms of all of the funny extra file business. I might just remove the branch and delete PR and modify just the file needed because I think when I created this branch it was off the simulator_v2 and I don't know if I can change that or reset it.

Ok I believe I fixed it


Add an optimization for the tree edit distance for the case of binary trees

Resolves #59
This PR adds mainly 3 optimizations:

Simplification of min cost max flow operation in case of comparing binary trees
~40-60% speed up
Avoid using Stream API when Add an optimization for the tree edit distance for the case of binary trees

~25% speed up

Replace Maps in ZhangUnorderedTreeEditDistance class with Arrays/ArrayLists

~60-70% speed up

Cache Attribute Value in BranchSpotTree

~20% speed up

In total, this PR gains a speed up of up to ~90%
As Benchmark mainly this demo has been used: https://github.com/mastodon-sc/mastodon-deep-lineage/blob/be8120c8f6ee35cc4f343f4a1b567a0d7679970d/src/test/java/org/mastodon/mamut/treesimilarity/ZhangUnorderedTreeEditDistanceTest.java#L313
or this mastodon file
flatSim2_be_2aba_1bab.zip
with these settings

Closed in favor of #102


Correcting Un-PEP263 encoding definition

Un-PEP263-like style of encoding definitions should be corrected. The python script's encoding should be magically declared in the 1st/2nd line otherwise it'll not be useful and be treated as a normal comment.
Maybe it should follow how TF's style where the encoding definition comes the license/copyrights, e.g. https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tensorboard/lib/python/http_util_test.py
For details, see http://stackoverflow.com/q/42777847/610569

Oh, this is good, I had no idea. Will fix :)


<IP_ADDRESS> Sqlx Feature Flags Code Snippet Syntax Error

First off, thank you for writing Zero To Production in Rust! I'm really enjoying your book and am looking forward to working through what's available now and the upcoming chapters.
In Chapter 3 (specifically <IP_ADDRESS>), there's a code snippet there to update the Cargo.toml file to include sqlx with some feature flags. The example is missing version = "0.5.1"  and features = [ for the beginning of the feature flag list.
# Using table-like toml syntax to avoid a super-long line!
[dependences.sqlx]
    "runtime-actix-rustls",
    "macros",
    "postgres",
    "uuid",
    "chrono",
    "migrate"
]

Here's what I ended up with that worked:
[dependencies.sqlx]
version = "0.5.1"
features = [
    "runtime-actix-rustls",
    "macros",
    "postgres",
    "uuid",
    "chrono",
    "migrate"
]

In your Chapter 3, Part 1 snapshot of the Cargo.toml file, you have:
sqlx = { version = "0.5.1", default-features = false, features = ["runtime-actix-rustls", "macros", "postgres", "uuid", "chrono", "migrate"] }

I didn't disable the default features, so we will see if that comes back to haunt me as I move along through the book. 😄

Thanks for reporting - I fixed it in the latest release 😁
Disabling the default features should mostly be a way to reduce compilation team 😁


Unclear where to call prisma.disconnect()

I read this section on managing connections in your docs and I found it a bit confusing.
To start, the important note is not very clear… I don’t understand what the scenario is in which the Prisma Client doesn‘t do the right thing. A better explanation and a code snippet showing the problem would be really helpful.
Additionally, the important note simultaneously says that the Prisma Client should just do the right thing but also says that sometimes it won’t. I think it should be one or the other. If the client can be made such that it always does the right thing, then great! If not, don’t even mention it, just clearly explain what someone has to do to protect themselves.
Which leads into the last problem… which is that I don’t know where to call prisma.disconnect(). Right now I’m just peppering disconnects after every query—that’s clearly not right.
I’m using Express, so… would the generally correct thing be to use a middleware to disconnect at the end of the request/response cycle?
import { PrismaClient } from "@prisma/client"
const prisma = new PrismaClient()

express.use(function(req, res, next) {
  res.on("finish", () => prisma.disconnect())

  next()
})

I took a look at the Prisma Client repo but because of the way it’s built I can’t tell if when I instantiate a new PrismaClient is it returning the same instance (a singleton) or am I getting a new instance? Rather, it’s unclear if calling prisma.disconnect() in this way would actually disconnect all connections, or just the connections that were specifically started with this instance of the client.

Now documented: https://www.prisma.io/docs/concepts/components/prisma-client/working-with-prismaclient/connection-management#calling-disconnect-explicitly


Task/maguire7/expression order rc

Description
Resolves #3825
I've updated the ExpressionList to include a sorting method. This method sorts the expressions alphabetically by name. This is for use in the gui so that the expression list will be sorted and easy to search through.
On another note, I noticed that there are several user defined methods in ExpressionList that are not coming from ExpressionList.code. There are also several xml created methods that are altered with user code and also not in the .code file. @biagas @markcmiller86 do either of you know if there is any reason to keep this code out of the .code file? I can move it over if not.
Type of change

[ ] Bug fix
[x] New feature
[ ] New Documentation
[ ] Other (please describe below)

How Has This Been Tested?
I've manually tested out the gui, and I've run the test suite.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have updated the release notes
[ ] I have made corresponding changes to the documentation
[ ] I have added debugging support to my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] I have added any new baselines to the repo
[x] I have assigned reviewers (see VisIt's PR procedures for more information).

ExpressionList is one of the classes called out in this ticket #4221
See my notes regard the problems with auto-gen'ing this class.

ExpressionList is one of the classes called out in this ticket #4221
See my notes regard the problems with auto-gen'ing this class.

Thanks! I'll refrain from handling this for now. It looks like we still need to make some decisions on that.


Failed to deploy (twice)

mac m1 in dev container
node ➜ /workspaces/serverless-chat-langchainjs (main) $ azd auth logi
? Enter a new environment name: dfberry-serverless-langchainjs
  (✓) Done: Downloading Bicep
? Select an Azure Subscription to use:  3. Visual Studio Enterprise Subscription (b57b253a-e19e-4a9c-a0c0-a5062910a749)
? Select an Azure location to use: 44. (US) East US 2 (eastus2)

Packaging services (azd package)

  (✓) Done: Packaging service api
  - Package Output: /tmp/serverless-chat-langchainjs-api-azddeploy-1714949128.zip

  (✓) Done: Packaging service webapp
  - Package Output: dist

SUCCESS: Your application was packaged for Azure in less than a second.

Provisioning Azure resources (azd provision)
Provisioning Azure resources can take some time.

Subscription: Visual Studio Enterprise Subscription (b57b253a-e19e-4a9c-a0c0-a5062910a749)
Location: East US 2

  You can view detailed progress in the Azure Portal:
  https://portal.azure.com/#view/HubsExtension/DeploymentDetailsBlade/~/overview/id/%2Fsubscriptions%2Fb57b253a-e19e-4a9c-a0c0-a5062910a749%2Fproviders%2FMicrosoft.Resources%2Fdeployments%2Fdfberry-serverless-langchainjs-1714949133

  (✓) Done: Resource group: rg-dfberry-serverless-langchainjs
  (✓) Done: Static Web App: webapp
  (✓) Done: App Service plan: plan-pu45pechobwso
  (✓) Done: Azure OpenAI: cog-pu45pechobwso
  (✓) Done: Storage account: stpu45pechobwso
  (✓) Done: Search service: srch-pu45pechobwso
  (✓) Done: Function App: func-api-pu45pechobwso

SUCCESS: Your application was provisioned in Azure in 5 minutes 39 seconds.
You can view the resources created under the resource group rg-dfberry-serverless-langchainjs in Azure Portal:
https://portal.azure.com/#@/resource/subscriptions/b57b253a-e19e-4a9c-a0c0-a5062910a749/resourceGroups/rg-dfberry-serverless-langchainjs/overview

Deploying services (azd deploy)

  (✓) Done: Deploying service api
  - Endpoint: https://func-api-pu45pechobwso.azurewebsites.net/

  (x) Failed: Deploying service webapp

ERROR: failed deploying service 'webapp': failing invoking action 'deploy', failed verifying static web app deployment. Still in WaitingForDeployment state

ERROR: error executing step command 'deploy --all': failed deploying service 'webapp': failing invoking action 'deploy', failed verifying static web app deployment. Still in WaitingForDeployment state
node ➜ /workspaces/serverless-chat-langchainjs (main) $ azd up

Packaging services (azd package)

  (✓) Done: Packaging service api
  - Package Output: /tmp/serverless-chat-langchainjs-api-azddeploy-1714950467.zip

  (✓) Done: Packaging service webapp
  - Package Output: dist

SUCCESS: Your application was packaged for Azure in 5 seconds.

Provisioning Azure resources (azd provision)
Provisioning Azure resources can take some time.

Subscription: Visual Studio Enterprise Subscription (b57b253a-e19e-4a9c-a0c0-a5062910a749)
Location: East US 2

  You can view detailed progress in the Azure Portal:
  https://portal.azure.com/#view/HubsExtension/DeploymentDetailsBlade/~/overview/id/%2Fsubscriptions%2Fb57b253a-e19e-4a9c-a0c0-a5062910a749%2Fproviders%2FMicrosoft.Resources%2Fdeployments%2Fdfberry-serverless-langchainjs-1714950472

  (✓) Done: Resource group: rg-dfberry-serverless-langchainjs
  (✓) Done: Static Web App: webapp
  (✓) Done: Storage account: stpu45pechobwso
  (✓) Done: App Service plan: plan-pu45pechobwso
  (✓) Done: Search service: srch-pu45pechobwso
  (✓) Done: Azure OpenAI: cog-pu45pechobwso
  (✓) Done: Function App: func-api-pu45pechobwso

SUCCESS: Your application was provisioned in Azure in 2 minutes 16 seconds.
You can view the resources created under the resource group rg-dfberry-serverless-langchainjs in Azure Portal:
https://portal.azure.com/#@/resource/subscriptions/b57b253a-e19e-4a9c-a0c0-a5062910a749/resourceGroups/rg-dfberry-serverless-langchainjs/overview

Deploying services (azd deploy)

  (✓) Done: Deploying service api
  - Endpoint: https://func-api-pu45pechobwso.azurewebsites.net/

  (x) Failed: Deploying service webapp

ERROR: failed deploying service 'webapp': failing invoking action 'deploy', failed verifying static web app deployment. Still in WaitingForDeployment state

ERROR: error executing step command 'deploy --all': failed deploying service 'webapp': failing invoking action 'deploy', failed verifying static web app deployment. Still in WaitingForDeployment state

forked and clone today
git log looks like
node ➜ /workspaces/serverless-chat-langchainjs (main) $ git log
commit 5ac5560821b133489932b6bc6aaad74eb0a82d20 (HEAD -> main, origin/main, origin/HEAD)
Author: Yohan Lasorsa<EMAIL_ADDRESS>Date:   Fri May 3 19:19:55 2024 +0200

    docs: add local architecture schema (#62)

@sinedied @glaucia86

I sometimes have this error, this is not something we can fix on our side as it's related to SWA deployment getting stuck. Could you open the issue in the https://github.com/Azure/azure-dev repo?

@sinedied Is this noted in a troubleshooting section of this repo someplace that I can point to?

Not yet, but we could add it. Could you test tomorrow if the deployment issue is still there? Usually when it happens you have to wait some sort of timeout to occur in Azure, and after a few hours it works again.

Deploys on East Us 2


Null Object Reference on Custom Textures unless Persistent Cached Data is enabled

Issue found by DramaWarehouse

Fixed on #21


Correct Workflow for EnsureCreated() method

Hi,
I found that there is one point missing in the documentation regarding EnsureCreated() method allowing the following workflow and the correct sequence observed is:
EnsureCreated is called on app start, which allows the following work flow:
Delete the DB.
Change the DB schema (for example, add an EmailAddress field).
Delete the scaffolded files for Create, Delete, Edit etc.  and Re-scaffold them in the Students folder (This step must be executed to regenerate the DB schema correctly)
Run the app.
EnsureCreated creates a DB with the EmailAddress column.

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

ID: 7a54c97f-ddd4-b041-5e5f-a2df009ace50
Version Independent ID: fa488196-1f98-08ea-adcc-17d9dac86727
Content: Razor Pages with Entity Framework Core in ASP.NET Core - Tutorial 1 of 8
Content Source: aspnetcore/data/ef-rp/intro.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

and Re-scaffold them in the Students folder (This step must be executed to regenerate the DB schema correctly)

Scaffolding doesn't generate the DB Schema. Ensure created does.  cc @tdykstra

DB create by EF has nothing to do with scaffolding.


[Question] Recommended approach for invalidating lists after a change?

Let's say I have an query customers which returns the list of customers, as an array of Customer GraphQLObjectTypes
Then I have the mutations addCustomer, removeCustomer, and updateCustomer.
After executing addCustomer or removeCustomer, I invalidate Query.customers, and the whole array is sent back over.
Is there an approach possible with this library which will allow just sending the new, added customer, or just sending a deletion message?
Or do I have to use custom subscriptions for that?
Similarly, after executing updateCustomer, I can invalidate Customer:${id}. I see this also triggers sending the entire customers array, when I'd prefer to send just the changed element, and then replace the existing item in the customers query result cache locally.
The readme states,

cache update code for applying the subscription result can eventually become pretty bloated (!!! especially, for adding and removing list items).

This library is definitely a way easier developer experience, but if it comes at the cost of sending way more data than necessary in these common cases, I may prefer using regular subscriptions.

@tetchel This is solved via the https://github.com/n1ru4l/graphql-live-query/tree/main/packages/graphql-live-query-patch-jsondiffpatch middleware that ensures only patches are sent over the wire.
The trade-off here is that the server always stores the last execution result and diffs it against the new execution result. Hence there is more overhead going on on the server, but in contrast the client is free of subscription update logic.


Option to create summary tables without adding "default" columns

Each time a summary table is created, default columns are added with sum of numerical columns. As a consequence, when creating many summary tables in which those sums don’t make sense, it’s a bit boring to have to delete those columns each time. It would be nice to have the option to create new summary tables with only the group column automatically added.

In an ideal workflow, being able to specify in the UI which summary functions to apply (or not!) to which columns when creating a summary table would be lovely :)

Sure. And due to #361, getting a warning when defining a summary function whose name is already in use in another summary of the same table would be another great point.

This project https://github.com/gristlabs/grist-core/issues/705 (soon to be released) will actually make it much easier to add the kinds of columns that summary tables today create automatically, as well as to select other common functions.
This feature doesn't yet help with summary tables, but it's makes it easy to imagine a follow-up where we could make summary tables start out with no columns, but with an easy way to add any needed columns.

While "restoring" summary tables whose group columns I had deleted, I saw two points about this issue:

the only way to create a group column is to have it automatically created by creating a view with the exact same "group by" fields: trying to manually add a group column with table.getSummarySourceGroup(rec) doesn’t work;
the automatically addition of "default" columns this issue intends to avoid is specially annoying when having to do such a repair on multiple summary tables: not only it adds sums, but it adds formulas from other summary tables that don’t fit with the new ones (and which frequently raise exceptions). This point is related to #361 too.


Add my_settings_view product feature for the My Settings page

Additionally fixes an RBAC issue where users can sometimes not see themselves.
Depended on by

[x] https://github.com/ManageIQ/manageiq-api/pull/1230
[x] https://github.com/ManageIQ/manageiq-ui-classic/pull/8957

Backported to quinteros in commit cb2ab3b31626fc372a8e3a9eb9494c9372013d79.
commit cb2ab3b31626fc372a8e3a9eb9494c9372013d79
Author: Keenan Brock<EMAIL_ADDRESS>Date:   Tue Nov 14 17:49:15 2023 -0500

    Merge pull request #22779 from Fryguy/fix_my_settings

    Add my_settings_view product feature for the My Settings page

    (cherry picked from commit 6ebac25d22a501a1522834a23a111ed5a101d407)


chore(io): do not throw already closed exception when closing twice

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.938%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3209

Relevant Lines:
3211

💛  - Coveralls


Increase readability of generate_model_import_ctes.sql by using VERBOSE mode for re

Describe the feature
Modify generate_model_import_ctes.sql to use the verbose mode (adding x to the i flag) for re, allowing to split regexes between different lines and providing the ability to add comments to those.
Additional context
Here is an example of regex without verbose (all in 1 line):
{% set re = modules.re %}
{% set my_string = <my_sql_code> %}
{% set re_pattern = '(?i)(from|join)\s+({{\s*ref\s*\(\s*[\'\"]?)([^)\'\"]+)([\'\"]?\s*)(\)\s*}})'
%}

{% set is_match = re.findall(re_pattern, my_string) %}

and with verbose:
{% set re = modules.re %}
{% set my_string = <my_sql_code> %}
{% set re_pattern = "(?ix)

    # first matching group
    (from|join)\s+       # from or join followed by at least a sep character

    # second matching group
    (
    {{                   # opening {{
    \s*ref\s*\(          # the word ref followed by a (
    \s*[\'\"]?
    )

    ([^)\'\"]+)([\'\"]?\s*)(
    \)\s*                # closing ) for ref
    }}                   # closing {{
    )"
%}

{% set is_match = re.findall(re_pattern, my_string) %}

Who will this benefit?
People wanting to understand/enhance regexes to find tables in models.
Are you interested in contributing this feature?

Why not but keen to let someone else look at it