fs.get hangs or work synchronously when called within a multiprocessing executor

I noticed that the fs.get method does not like to be called within a multiprocessing executor (i.e. dask, concurrent futures, ...).
It downloads the data just one at time (and sometimes can hang). This holds also for gcsfs.
fs.get works however fine if threads-based parallelism is enabled ;-)
Maybe this is expected because of some aiobotocore async functionality ...
Here an example to reproduce the problem (watch the /tmp/GOES-16 folder once the download is launched)
import os
import dask
import fsspec

local_fpaths = [
    "/tmp/GOES-16/OR_ABI-L1b-RadF-M6C01_G16_s20193211130282_e20193211139590_c20193211140047.nc",
    "/tmp/GOES-16/OR_ABI-L1b-RadF-M6C01_G16_s20193211140282_e20193211149590_c20193211150043.nc",
    "/tmp/GOES-16/OR_ABI-L1b-RadF-M6C01_G16_s20193211150282_e20193211159590_c20193211200047.nc",
    "/tmp/GOES-16/OR_ABI-L1b-RadF-M6C02_G16_s20193211130282_e20193211139590_c20193211140036.nc",
    "/tmp/GOES-16/OR_ABI-L1b-RadF-M6C02_G16_s20193211140282_e20193211149590_c20193211150036.nc",
]

bucket_s3_fpaths = [
    "s3://noaa-goes16/ABI-L1b-RadF/2019/321/11/OR_ABI-L1b-RadF-M6C01_G16_s20193211130282_e20193211139590_c20193211140047.nc",
    "s3://noaa-goes16/ABI-L1b-RadF/2019/321/11/OR_ABI-L1b-RadF-M6C01_G16_s20193211140282_e20193211149590_c20193211150043.nc",
    "s3://noaa-goes16/ABI-L1b-RadF/2019/321/11/OR_ABI-L1b-RadF-M6C01_G16_s20193211150282_e20193211159590_c20193211200047.nc",
    "s3://noaa-goes16/ABI-L1b-RadF/2019/321/11/OR_ABI-L1b-RadF-M6C02_G16_s20193211130282_e20193211139590_c20193211140036.nc",
    "s3://noaa-goes16/ABI-L1b-RadF/2019/321/11/OR_ABI-L1b-RadF-M6C02_G16_s20193211140282_e20193211149590_c20193211150036.nc",
]

def create_local_directories(fpaths, exist_ok=True):
    _ = [os.makedirs(os.path.dirname(fpath), exist_ok=True) for fpath in fpaths]
    return None

@dask.delayed
def _download(bucket_fpath, local_fpath, protocol, fs_args):
    fs = fsspec.filesystem(protocol=protocol, **fs_args)
    fs.get(bucket_fpath, local_fpath)

create_local_directories(local_fpaths)

# --------------------------------------------------------------------------
### S3 Multiprocessing option
# - It downloads one file at a time (and sometimes hang)

protocol = "s3"
fs_args = {"anon": True}

jobs = [
    _download(bucket_fpath, local_fpath, protocol, fs_args)
    # _download(bucket_fpath, local_fpath, protocol, fs_args)
    for local_fpath, bucket_fpath in zip(local_fpaths, bucket_s3_fpaths)
]

dask.compute(jobs, scheduler="processes")  # with "threads" work ;)

Closed by #464


Auto suggestion is not working so well

Thanks a lot for this awesome project, I wonder if it is possible to disable this auto suggestion?

Yes. Do you want to remove snippet suggestions, all suggestions, or that single snippet suggestions?

Like if we can disable all suggestions would be cool :)

To dissable autocomplete and snippets suggestions, just set the following in code_editor function:
response_dict = code_editor(your_code_string, props={ "enableBasicAutocompletion": False, "enableLiveAutocompletion": False, "enableSnippets": False})

Thanks a lot!


Map to Standard missing

>To leverage the Common Data Model with your dataflow, select the Map to Standard transformation in the Edit Queries dialog.
When I try to load data from Azure Synapse, in the Edit Queries dialog, I don't see this "Map to Standard" option.

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

ID: b3abf73d-60b9-675f-61e7-1c2dc622d055
Version Independent ID: 352c1196-0631-9f40-e382-bba13d5e27e9
Content: Create and use dataflows in Power Apps - PowerApps
Content Source: powerapps-docs/maker/common-data-service/create-and-use-dataflows.md
Service: powerapps
GitHub Login: @Mattp123
Microsoft Alias: matp

Thanks for your feedback. We are closing this issue because we are either unable to find relevant information or reproduce this. If you're still experiencing the issue described here, please reopen or create a new issue.


Don't rebuild the postgres image to avoid HEALTHCHECK disappearing

For some reason buildah on RHEL 7 does not propagate HEALTHCHECK from the base image, which causes test failures as pytest_container cannot wait for a HEALTCHECK.

Note that this is still broken with Postgres 14


BUG: text colour in dark mode

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?

text colur of website in dark mode
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

hey @dhairyagothi You have raised a duplicate issue; it was already raised by someone else.

Look at all the issues, see which ones are available and which ones are not, and create issues accordingly.
This is not the way to work on open source.


fix some grammar

better grammar = more professional looking

thank you very much - that's really appreciated!

thank you very much - that's really appreciated!


Set Window's Icon

I'm trying to set a window's icon but the only procedure I see available is setIconName, setIcon and setIconFromFile are not available.
But even using setIconName doesn't do anything:
import gintro/[gtk4, gobject, gio]

proc activate(app: gtk4.Application) =
  let window = app.newApplicationWindow()
  window.setIconName("face-tired")
  window.show()

proc main =
  let app = newApplication("org.gtk.example")
  app.connect("activate", activate)
  discard app.run()

when isMainModule:
  main()

Dear Mr. Patito,
unfortunately I have to tell you that this issue tracker in not a general GTK help forum. For general GTK questions or issues, you may use the forum at https://discourse.gnome.org/. The Stack-Overflow portal is another option.
When you intent to use GTK at all. For people new to GTK, I generally recommend to use just a different tool, as learning GTK is really a lot of work, and GTK is not that popular at all.
For your question: Your function seems to be documented at
https://docs.gtk.org/gtk4/method.Window.set_icon_name.html
For what do you intent to use this function, what is your expected behaviour?
When I compile and run your example program, what I observe is, that when the programs window is active, I get a tiny icon on top of my screen left to the displayed program name. And when I move the mouse to the top left corner of the screen, I get an overview with all the available windows -- at the bottom of the pictogram for your program window, the named icon is displayed. I can use other icon names, recompile and get different icon displays.
Well, that is for an up to date Gentoo Linux box running Gnome wayland.
For other OSs, Windows, Mac or what ever it may be different, but that is in no way a gintro issue. Note, to get an overview which icons are available, we generally launch the gtk4-icon-browser.

unfortunately I have to tell you that this issue tracker in not a general GTK help forum. For general GTK questions or issues, you may use the forum at https://discourse.gnome.org/. The Stack-Overflow portal is another option.

I'm new to GTK and I'm a bit confused, so thanks! :upside_down_face:
(I think I meant application's icon, not window's icon but I'm going to look at discourse)


feat: Support CandlePart

THIS PR IS DRAFT.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation, context, and sources of information or recipes.
Fixes #
Checklist

[ ] My code follows the existing style, code structure, and naming taxonomy
[ ] I have performed a self-review of my own code and included any verifying manual calculations
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings and running code analysis does not produce any issues
[ ] I have added or updated unit tests that prove my fix is effective or that my feature works, and achieves sufficient code coverage
[ ] I have added or run the performance tests that depict optimal execution times
[ ] New and existing unit tests pass locally and in the build (below) with my changes

Acknowledgements

[ ] I have read and understand the Apache 2.0 license
[ ] I agree to the Developer Certificate of Origin (DCO) 1.1

This is partly dependent on the ability to interpret C# enums - see #13


Further generalize solution techniques?

A lot of the most important core logic of HARK models is in the solvers.
Most often, these are implementing equations based on algebraic manipulation of the original Bellman equations.
http://www.econ2.jhu.edu/people/ccarroll/SolvingMicroDSOPs/
Some of the techniques used in service of the individual model code can be functionalized out into separate methods. In many cases, this has already been done.
I wonder if a refactoring pass on the solutions would reveal any further ways to generalize solution. code. This is really a question directed at @mnwhite though I volunteer to implement any changes he points out.
For example, just eyeballing it: maybe this construction of a function based on two other functions and a binding point can be generalized to other functions.
https://github.com/econ-ark/HARK/blob/master/HARK/ConsumptionSaving/ConsIndShockModel.py#L485-L516
As a broader point:
A challenge faced by the HARK design is that our use cases bridge between those that call for symbolic manipulation for algebraic deduction, and those cases that depend on numerical computation.
With the construction of python objects representing interpolated functions, gridpoints, etc., it seems like we have taken a third way between symbolic representation of mathematical expressions and brute force matrix approximations.
There is plenty of precedent for this--I see scipy has an interpolation package, for example.

closing to reduce total number of issues


Mixing android plugins from gradle and gradle-experimental

Hey,
Actually this is just a copy of my question at StackOverflow (http://stackoverflow.com/questions/33509243/mixing-android-plugins-from-gradle-and-gradle-experimental) but I'm looking for the answer because this is my last piece of puzzle in my project which I'd like to describe in one of my articles on my blog.
Is there any way or workarounds or just hints to make plugins from gradle and gradle-experimental working together?
For example to mix those two versions:
    com.android.tools.build:gradle:1.3.1
    com.android.tools.build:gradle-experimental:0.3.0-alpha4

I have an existing project which uses some external plugins (app/build.gradle):
    apply plugin: 'com.android.model.application'
    apply plugin: 'com.android.databinding'
    apply plugin: 'com.jakewharton.hugo'

in my root build.gradle I have:
    com.android.tools.build:gradle-experimental:0.3.0-alpha4

Issues which I have:
    * What went wrong:
    A problem occurred evaluating project ':app'.
    > Failed to apply plugin [id 'com.android.databinding']
       > java.lang.NullPointerException (no error message)

or
    * What went wrong:
    A problem occurred evaluating project ':app'.
    > Failed to apply plugin [id 'com.jakewharton.hugo']
       > 'android' or 'android-library' plugin required.

Without other plugins my project works fine (I have Android Library with some NDK code which is called from my main project. Problem occurs when I add mentioned plugins on any others.
And the question is - is it a gradle-experimental issue or issue of each plugin (hugo, databinding, apt, probably much more).
Or maybe you have any hints if there is any other way to have app with current stable gradle plugin and library (with NDK code) which uses gradle-experimental?
What I want to avoid is a dealing with *.mk files and (as full as possible) Android Studio support. Bigger picture is to prepare .aar library with NDK code (just simple computation) which will be able to plug in to existing projects.

Hi,
I've answered on SO too.
On my side I've been able to mix gradle stable and -experimental android plugins without any issues by using recent versions in my projects.
You should be able to define both dependencies inside your project's build.gradle file:
dependencies {
    classpath 'com.android.tools.build:gradle-experimental:0.3.0-alpha7'
    classpath 'com.android.tools.build:gradle:1.4.0-beta6'
}

and then either use apply com.android.(application|library) or com.android.model.(application|library) from your various module's build.gradle files.

Thank you for your answer. It works as it should. It was my last piece - I've just published my blog post about integrating FlatBuffers via NDK with Android app http://frogermcs.github.io/json-parsing-with-flatbuffers-in-android/ :)

very nice article!
one last thing you can add is setting the NDK platform version to the same one as your minSdkVersion, in order to ensure that your native lib will properly run on all the Android versions you want to support:
ndk {
    ///...
    platformVersion = 15
}

Thanks, I didn't know that it's not the same as:
        defaultConfig.with {
            minSdkVersion.apiLevel = 15
            targetSdkVersion.apiLevel = 23
        }

@frogermcs do you think a sample showing this would be useful? If yes, I'll go ahead and repurpose this issue into a feature request.

Yeah, I believe that thanks to new gradle plugin, Java and C pair will be more and more popular. Dev's won't have to big knowledge about C++ to use it in Android apps. :)

@frogermcs did you try with the latest version of gradle plugins too?
 classpath 'com.android.tools.build:gradle:2.0.0-alpha6'
 classpath 'com.android.tools.build:gradle-experimental:0.6.0-alpha5'

Using these versions the Android Studio doesn't recognize the imports. Even using compile project(":jni-module") in build.gradle. In editor the IDE shows a dialog to add jni-module as dependencies.

@ph0b Are you sure that platformVersion in ndk gradle-experimental has anything to do with minSdkVersion in app's manifest?  I don't see any documentation proving this fact.

yes,  earlier version it is; new one now might be defaulted to targetSdkVersion, and platformVersion would be used if it is set.

dependencies {
classpath 'com.android.tools.build:gradle:2.1.3'
classpath 'com.android.tools.build:gradle-experimental:0.8.0-rc1'
}
Error:Unable to load class 'com.android.build.gradle.internal.NdkHandler'.
Possible causes for this unexpected error include:Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

@phlizik which branch, which sample I could see this?  gradle 2.14.1 is needed, but I would think android studio rc1 will automatically prompt and handle the upgrade.

closing this one as experimental plugin is hard to be found anywhere on the roadmap


Passkeys and Webauthn examples timeout on eth_sendUserOperation on experimenal branch with new bundler endpoint (v7) on sepolia

How to reproduce:

Use Passkeys or the Webauthn example
Use local version of the current experimental branch or the 0.1.12
Use the new bundler endpoint for (v7)

error received on eth_sendUserOperation:
t: execution timeout at parseStringValue (bigInt:1:25355(175)) at step (<eval>:78:27(38))    in server-side tracer function 'step

This has been a bug in the bundler Voltaire, fixed in "StackTop to store one value" https://github.com/candidelabs/voltaire/commit/07c925be9e0af02712b1fa6300a0d88d5853e3ed.


Not working on deplying with vercel

So i added the vercel-adapter and deployed it and i get error on /session (internal error)

nothing more, can't figure out whats happening

You'll want to look at Vercel's live function logs for this build, and then trigger the error to see what is logging to the server

oh yeah sorry i forgot to show that log. ty vm
here it is

guess it's because in my admin.server.ts i've not updated the projectId

You need to use an actual firebase project id.

Exactly what i did but still getting 'Error: Firebase ID token has invalid signature. See https://firebase.google.com/docs/auth/admin/verify-id-tokens for details on how to retrieve an ID token.'


ocamlPackages.bdd: init at unstable-2022-07-14

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

ocamlPackages.bdd

@ofborg build ocamlPackages.bdd ocamlPackages.bdd.passthru.tests

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

1 package built:

ocamlPackages.bdd

Result of nixpkgs-review pr 226800 run on aarch64-darwin 1

1 package built:

ocamlPackages.bdd

Still looks good, just waiting for CI, feel free to merge when it passes :+1:

This fails to build with OCaml < 4.05. It would be nice to add a corresponding minimalOCamlVersion. Thanks.

This fails to build with OCaml < 4.05. It would be nice to add a corresponding minimalOCamlVersion. Thanks.

Opened #226839 to fix build with OCaml 4.02 - 4.05.


Better gh app, various

rewritten %gh to provide real porcelain
marked gall %x scry
improvements to %gh through fuse
cherry-picked #128 to allow testing of fuse for clay over the network

From inspection, I don't believe there are any breaching changes in here.

I'm still too dumb to figure this one out, I'm afraid. :( I see some stuff getting removed in the first patch there, but I can't make head or tail of it in general.

How do you mean, "figure out"?  I don't think there'll be any problem pushing this out.  The only thing that changes state is %gh, and I don't think anyone's started that app this era, so we should be good.

#135 not an issue?

Eh, it's still an issue in that the changes are still gone, but it doesn't need to block this.


Consider switching to MinecraftAuth?

GeyserMC seems to use https://github.com/RaphiMC/MinecraftAuth now and 2FA works for it?
I'm not sure how Minecraft Authentication works at all. So I have no idea if this would allow 2FA support, it does state something about 2FA here.
https://github.com/RaphiMC/MinecraftAuth?tab=readme-ov-file#log-in-using-credentials

Thanks a lot! I just tested it and it seems to work, even against 2FA.
Will integrate it in the next days, then I can also close #90.


metrics-server pod can not start up,with microk8s version 1.16 installed in ubuntu20.04LTS

microk8s installed  in my single master node ubuntu 20.04 LTS , with the command: snap install microk8s --classic
i checked the default version is 1.16.
other pods all running normally,but the metrics-server with status "CrashLoopBackoff",the detail error shows:

Warning  FailedMount     4m29s (x3 over 4m33s)   kubelet, node3  MountVolume.SetUp failed for volume "metrics-server-token-6xdhf" : failed to sync secret cache: timed out waiting for the condition
Warning  FailedMount     4m29s (x3 over 4m33s)   kubelet, node3  MountVolume.SetUp failed for volume "metrics-server-config-volume" : failed to sync configmap cache: timed out waiting for the condition
Normal   SandboxChanged  4m26s                   kubelet, node3  Pod sandbox changed, it will be killed and re-created.
Normal   Pulled          4m1s                    kubelet, node3  Container image "cdkbot/addon-resizer-amd64:1.8.1" already present on machine
Normal   Created         3m54s                   kubelet, node3  Created container metrics-server-nanny
Normal   Started         3m52s                   kubelet, node3  Started container metrics-server-nanny
Normal   Pulled          3m10s (x3 over 4m12s)   kubelet, node3  Container image "k8s.gcr.io/metrics-server-amd64:v0.2.1" already present on machine
Normal   Created         3m9s (x3 over 4m1s)     kubelet, node3  Created container metrics-server
Normal   Started         3m9s (x3 over 4m1s)     kubelet, node3  Started container metrics-server
Warning  BackOff         3m7s (x6 over 3m50s)    kubelet, node3  Back-off restarting failed container

i have some questions:
1、pod is created using yaml config file,so where is the metrics-server.yaml?
2、i have download the metrics-server-amd64:v0.3.6 image manully,then tagged,why it pulled the image everytime when it try to start up,"Container image "k8s.gcr.io/metrics-server-amd64:v0.2.1" already present on machine".
I'm new to use k8s, is there anybody can help me ,thanks very much.

@gouhan
Insing using snap install microk8s --classic is currently using 1.20 and not 1.16.
While the metrics server yaml is here.
https://github.com/ubuntu/microk8s/blob/1.20/microk8s-resources/actions/metrics-server.yaml
If you go to /snap/microk8s/ directory thats where most of microk8s are located.  The  /snap/microk8s directory is a read only file system.
The default image pull policy is IfNotPresent. The message you see is just an indication that it didn't pull the image from the network, but will use the existing image present on the host.
I am closing the issue for now.  Feel free to open if you have an issue.


Scene hittest now uses exclusive Rect.Contains. Fixes https://githu…

What does the pull request do?
Partially fixes https://github.com/AvaloniaUI/Avalonia/issues/3079

You can test this PR using the following package version. 0.10.999-cibuild0022497-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 0.10.999-cibuild0022497-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

Can not test this build as public API there changed a lot
1>/home/jinek/Repo/Consolonia/src/Consolonia.Core/Drawing/ConsoloniaRenderInterface.cs(7,24): error CS0234: The type or namespace name 'Media' does not exist in the namespace 'Avalonia.Visuals' (are you missing an assembly reference?)
     1>/home/jinek/Repo/Consolonia/src/Consolonia.Core/Drawing/ConsoloniaRenderInterface.cs(28,27): error CS0246: The type or namespace name 'FormattedTextStyleSpan' could not be found (are you missing a using directive or an assembly reference?)
     1>/home/jinek/Repo/Consolonia/src/Consolonia.Core/Drawing/ConsoloniaRenderInterface.cs(21,16): error CS0246: The type or namespace name 'IFormattedTextImpl' could not be found (are you missing a using directive or an assembly reference?)
     1>/home/jinek/Repo/Consolonia/src/Consolonia.Core/Drawing/ConsoloniaRenderInterface.cs(96,13): error CS0246: The type or namespace name 'BitmapInterpolationMode' could not be found (are you missing a using directive or an assembly reference?)
     1>/home/jinek/Repo/Consolonia/src/Consolonia.Core/Drawing/ConsoloniaRenderInterface.cs(102,13): error CS0246: The type or namespace name 'BitmapInterpolationMode' could not be found (are you missing a using directive or an assembly reference?)
     1>/home/jinek/Repo/Consolonia/src/Consolonia.Core/Drawing/ConsoloniaRenderInterface.cs(118,13): error CS0246: The type or namespace name 'BitmapInterpolationMode' could not be found (are you missing a using directive or an assembly reference?)

@jinek thanks!
Can you write a unit test, so it won't be forgotten later? See DeferredRendererTests_HitTesting.cs file
Note, this PR changes old renderer's code, which is soon to be deprecated. New renderer hit testing code is here: https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Base/Rendering/Composition/CompositionTarget.cs#L97
Which probably also should be checked/tested. CompositorHitTestingTests.cs file.

You can test this PR using the following package version. 0.10.999-cibuild0022615-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

@maxkatz6 I've added few more exclusive checks

Looks good but there are a few other DrawOperations to change;
https://github.com/AvaloniaUI/Avalonia/blob/1c1499c39961786f5b5046fc2fbd4c641f570566/src/Avalonia.Base/Rendering/SceneGraph/ImageNode.cs#L112
https://github.com/AvaloniaUI/Avalonia/blob/1c1499c39961786f5b5046fc2fbd4c641f570566/src/Avalonia.Base/Rendering/SceneGraph/GlyphRunNode.cs#L76
I didn't check all of them so there may be more.
I don't think we need unit tests for each one of these.

You can test this PR using the following package version. 0.10.999-cibuild0022652-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


Figure out blueprint detection from tags. vs. main branch

Original issue URL: https://github.com/kptdev/kpt/issues/3269
Original issue user: https://github.com/mortent
Original issue created at: 2022-05-27T21:52:25Z
Original issue last updated at: 2022-05-27T21:52:25Z
Original issue body: Should we:

hide packages in main? (well, but they are there)
not merge them into main at all? (this will likely not match customer expectation of branching/tagging in Git)
or de-dupe identical packages? (in this case packages will pop up 'out of nowhere' when a duplicate blueprint is deleted but some of the dupes still remain)

We have already added functionality that tags the latest revision (https://github.com/GoogleContainerTools/kpt/pull/3015).
Original issue comments:

This is to do with a PackageRevision being created for main.
Blueprints:
When you approve, Porch commits the package to main and creates a tag. So there are two PackageRevision instances created, one for the tag and another for main.
We need to rethink how this works because this automatically created PackageRevision is confusing for users.
The discovery function should not rely on the main PackageRevision.
Deployment:
This PackageRevision is also used for deployment. The main PacakgeRevision may have been created for deployment.

Here is the code related to this issue.
https://github.com/nephio-project/porch/blob/1754fc8fd09f799471d0916c50921b0b27aef50d/pkg/git/git.go#L262

Triaged
Triage Comment: Part of Porch rearchitecture


Command-line code command slow when called via SSH (~1 sec delay)

Issue Type: Bug
The code (or code-insiders) command-line tool incurs a roughly 1-second delay when called via SSH. [Update: More generally it happens whenever stdin is not a terminal, code < /dev/null.]
$ time /usr/local/bin/code-insiders test.txt

real	0m0.158s
user	0m0.078s
sys	0m0.037s

$ ssh localhost 'time /usr/local/bin/code-insiders test.txt'

real	0m1.142s
user	0m0.082s
sys	0m0.037s

Note that we're calling time inside the SSH command here, so it's not due to SSH being slow to establish the connection. I just freshly re-installed the code-insiders command from within the editor, so it should be up-to-date as well.
Can anybody reproduce this? Or if not, is there anything I can run to help track down the cause of this delay?

VS Code version: Code - Insiders 1.64.0-insider (2c967bf892d52550fabae08347faae57a4539b03, 2022-01-24T05:26:28.455Z)
OS version: Darwin arm64 21.2.0
Restricted Mode: Yes

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
4, 2, 2

Memory (System)
16.00GB (0.08GB free)

Process Argv
test.txt --crash-reporter-id 5bedd228-a602-4962-b587-56869604957d

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
pythonvspyt200:30323110
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30404738
wslgetstarted:30421357
vscop804:30404766
vscop940:30404999
vsclayoutctrc:30405799
azactmsalcf:30409288
pythonvsnew555:30426298
vsbas813:30426126
vsic-wlc-tsjs:30426436

Is it the same if you run ssh localhost then in that interactive session, time ...?

Hm, no, when I run ssh localhost and then type the command in the interactive session, the delay doesn't happen.
$ ssh localhost
Last login: Fri Jan 28 10:11:58 2022 from <IP_ADDRESS>
$ time /usr/local/bin/code-insiders test.txt

real	0m0.148s
user	0m0.076s
sys	0m0.038s

This has got to be an artifact of how SSH invokes that command, right? vscode doesn't know whether's it's being run through ssh. Since the time isn't included in user, our process is not running for that extra time.

I have some more details as to what's going on.
I looked at /usr/local/bin/code-insiders, and it simply generates a command to run:
#!/usr/bin/env bash
#
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.

function realpath() { python -c "import os,sys; print(os.path.realpath(sys.argv[1]))" "$0"; }
CONTENTS="$(dirname "$(dirname "$(dirname "$(dirname "$(realpath "$0")")")")")"
ELECTRON="$CONTENTS/MacOS/Electron"
CLI="$CONTENTS/Resources/app/out/cli.js"
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --ms-enable-electron-run-as-node "$@"
exit $?

If I expand the second-to-last line manually, like so:
$ ssh localhost "time ELECTRON_RUN_AS_NODE=1 '/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron' '/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/cli.js' --ms-enable-electron-run-as-node test.txt"

real	0m1.105s
user	0m0.090s
sys	0m0.023s

then I get the same ~1.1 second delay.
But if I drop the ELECTRON_RUN_AS_NODE=1 environment variable, the delay goes away.
$ ssh localhost "time '/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron' '/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/cli.js' --ms-enable-electron-run-as-node test.txt"

real	0m0.358s
user	0m0.221s
sys	0m0.171s

My hypothesis is that this is happening because VS Code keeps some stdout/stderr file descriptor open for a while, and this interacts with SSH in some way, but it could well be something else.
Any chance this issue can be reopened?

Any idea @deepak1556?

After some more testing, it looks like the delay happens whenever stdin is not a pipe. This is the case when called via SSH, but it can more easily be reproduced by simply redirecting stdin:
$ time code-insiders test.txt

real	0m0.122s
user	0m0.084s
sys	0m0.030s

$ time code-insiders test.txt < /dev/null

real	0m1.121s
user	0m0.099s
sys	0m0.032s

With the second command, the VS Code window is foregrounded almost immediately, but the code command then blocks for another 1 second before returning.

Interesting fine, but this has just got to be the time it takes to decide whether code should be reading from stdin and displaying it, or something like that

The delay comes from https://github.com/microsoft/vscode/blob/91a4378f47544a3eedb0bba8f7d6e7cb7c08e633/src/vs/code/node/cli.ts#L244 which happens when stdin tty is not found. Closing as designed.


Cocoapods support

Any chance for Cocoapods support?  I am not sure if Swift libraries are fully supported in Cocoapods, but I'd be happy to provide a Pull Request with podspec.

Swift is supported by cocoa pods current beta right now FYI... Maybe i'll try to fork a branch if i ever have time and set it up

@jeeftor Thanks! I'll try to support cocoapods 0.36.0.beta2.

@jstart @jeeftor I has supported CocoaPods 0.36.0.beta.2!

@naoty Awesome thanks!


Support nominatim 4.3.0

As Nominatim 4.3.0 is out for about 2 weeks, this PR adds necessary changes to build and run the new version.
Major differences from previous version deduced from Installation Prerequisites:

Dependencies:

Build time:

nlohmann/json

Run-time:

SQLAlchemy
asyncpg

An issue originating from asyncpg resulting in PermissionError: [Errno 13] Permission denied: '/root/.postgresql/postgresql.key' after import (for more details see this)

Thank you for such a quick review @philipkozeny, I love this project and I'm glad I can contribute to it.
I just did the modifications along with removing a forgotten environment print. Can we stop the older pipelines from running?

I've cancelled them just now. Not sure if you need admin privileges for that./

I'm not really familiar with GitHub workflows, but I checked the "Actions" tab and I only had "view" related options for running pipelines, so it's most likely you need admin privileges 🤷

Do you know what this failure is about?
+ sudo -H -E -u nominatim nominatim admin --warm --reverse
2023-09-28 12:10:38: Using project directory: /nominatim
2023-09-28 12:10:38: Warming database caches
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 399, in _prepare_and_execute
    prepared_stmt, attributes = await adapt_connection._prepare(
  File "/usr/lib/python3/dist-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 641, in _prepare
    prepared_stmt = await self._connection.prepare(operation)
  File "/usr/lib/python3/dist-packages/asyncpg/connection.py", line 566, in prepare
    return await self._prepare(
  File "/usr/lib/python3/dist-packages/asyncpg/connection.py", line 584, in _prepare
    stmt = await self._get_statement(
  File "/usr/lib/python3/dist-packages/asyncpg/connection.py", line 398, in _get_statement
    statement = await self._protocol.prepare(
  File "asyncpg/protocol/protocol.pyx", line 168, in prepare
asyncpg.exceptions.UndefinedTableError: relation "search_name" does not exist

Is this a timeing issue or is nominatim's --warm --reverse option broken in 4.3?

I'm not sure at this point, will check locally to see if I can reproduce it

It seems that I get this issue locally too, so it's not a timing problem.
Checking the changelog for 4.3.0, my wild guess would be that this has something to do with "reorganise osm2pgsql flex style and make it the default"
I have several questions regarding this:

does it make sense to warmup search indexes for a reverse-only import?
if so, can we have someone from Nominatim dev team to either confirm this as a bug or intended behaviour?

We can try tagging @lonvia. Maybe she has an idea if nominatim admin --warm --reverse is supposed to work.

Now tracked at https://github.com/osm-search/Nominatim/issues/3213

I think the parameter names changed slightly. nominatim admin --warm --search-only should work.

Thank you @mtmail, reverse-only imports are no longer failing using that parameter.

However, I now have another dilemma: should we switch back to using --reverse after https://github.com/osm-search/Nominatim/issues/3213 is released with a new version of 4.3? My thinking is that in case the two flags are equivalent, --reverse should be deprecated and removed, otherwise we should still be using --reverse after it is fixed.

That's bad enough of a regression that I'm inclined to do a patch release of Nominatim. Won't happen before next week, though.

I have added comments before the warmup command, you guys let me know if you want to merge this as is or wait for the patch release. I haven't committed them yet because I don't want to run the pipelines for basically no changes 😅

All right, I would also like the release to happen sooner rather than later to be able to start a full planet import on some servers. I will commit the comments and we can stop the CI pipeline as the last on completed without error.
Last thing I would like to address is PermissionError: [Errno 13] Permission denied: '/root/.postgresql/postgresql.key'.
After setting the -H flag for sudo -H -E -u nominatim nominatim admin --warm which changes the HOME env variable from the parent shells' to the users' home, I would have expected /home/nominatim/.postgresql/postgresql.key to exist but not even the .postgresql directory is created.
Do you think that this file is critical? I tried searching for its purpose online, but couldn't find anything relevant.

All right, I would also like the release to happen sooner rather than later to be able to start a full planet import on some servers. I will commit the comments and we can stop the CI pipeline as the last on completed without error.
Last thing I would like to address is PermissionError: [Errno 13] Permission denied: '/root/.postgresql/postgresql.key'. After setting the -H flag for sudo -H -E -u nominatim nominatim admin --warm which changes the HOME env variable from the parent shells' to the users' home, I would have expected /home/nominatim/.postgresql/postgresql.key to exist but not even the .postgresql directory is created.
Do you think that this file is critical? I tried searching for its purpose online, but couldn't find anything relevant.

Where do you see that error? Searching through the logs of the CI checks I can't find those.

I encountered that error while trying to get the new version up the first time. It seems like asyncpg tries to write this file in the user's home directory, however when doing sudo -E -u nominatim the HOME environment variable was still set to /root. I got around this issue by using the -H parameter which would set it to /home/nominatim so that user nominatim is able to write to it.
My import was working as I did a few queries, but I don't know If it has performance implications or whatnot.
Full stacktrace from local logs:
+ sudo -E -u nominatim nominatim admin --warm
2023-09-28 10:01:12: Using project directory: /nominatim
2023-09-28 10:01:12: Warming database caches
Traceback (most recent call last):
  File "/usr/local/bin/nominatim", line 12, in <module>
    exit(cli.nominatim(module_dir='/usr/local/lib/nominatim/module',
  File "/usr/local/lib/nominatim/lib-python/nominatim/cli.py", line 225, in nominatim
    return get_set_parser().run(**kwargs)
  File "/usr/local/lib/nominatim/lib-python/nominatim/cli.py", line 121, in run
    return args.command.run(args)
  File "/usr/local/lib/nominatim/lib-python/nominatim/clicmd/admin.py", line 60, in run
    return self._warm(args)
  File "/usr/local/lib/nominatim/lib-python/nominatim/clicmd/admin.py", line 95, in _warm
    api.reverse((random.uniform(-90, 90), random.uniform(-180, 180)),
  File "/usr/local/lib/nominatim/lib-python/nominatim/api/core.py", line 610, in reverse
    return self._loop.run_until_complete(self._async_api.reverse(coord, **params))
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/usr/local/lib/nominatim/lib-python/nominatim/api/core.py", line 201, in reverse
    async with self.begin() as conn:
  File "/usr/lib/python3.10/contextlib.py", line 199, in __aenter__
    return await anext(self.gen)
  File "/usr/local/lib/nominatim/lib-python/nominatim/api/core.py", line 140, in begin
    await self.setup_database()
  File "/usr/local/lib/nominatim/lib-python/nominatim/api/core.py", line 101, in setup_database
    async with engine.begin() as conn:
  File "/usr/lib/python3/dist-packages/sqlalchemy/ext/asyncio/base.py", line 60, in __aenter__
    return await self.start(is_ctxmanager=True)
  File "/usr/lib/python3/dist-packages/sqlalchemy/ext/asyncio/engine.py", line 609, in start
    await self.conn.start(is_ctxmanager=is_ctxmanager)
  File "/usr/lib/python3/dist-packages/sqlalchemy/ext/asyncio/engine.py", line 154, in start
    await (greenlet_spawn(self.sync_engine.connect))
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/_concurrency_py3k.py", line 134, in greenlet_spawn
    result = context.throw(*sys.exc_info())
  File "/usr/lib/python3/dist-packages/sqlalchemy/future/engine.py", line 406, in connect
    return super(Engine, self).connect()
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 3204, in connect
    return self._connection_cls(self, close_with_result=close_with_result)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 96, in __init__
    else engine.raw_connection()
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 3283, in raw_connection
    return self._wrap_pool_connect(self.pool.connect, _connection)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 3250, in _wrap_pool_connect
    return fn()
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool/base.py", line 310, in connect
    return _ConnectionFairy._checkout(self)
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool/base.py", line 868, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool/base.py", line 476, in checkout
    rec = pool._do_get()
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py", line 145, in _do_get
    with util.safe_reraise():
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
    compat.raise_(
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 207, in raise_
    raise exception
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py", line 143, in _do_get
    return self._create_connection()
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool/base.py", line 256, in _create_connection
    return _ConnectionRecord(self)
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool/base.py", line 371, in __init__
    self.__connect()
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool/base.py", line 665, in __connect
    with util.safe_reraise():
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
    compat.raise_(
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 207, in raise_
    raise exception
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool/base.py", line 661, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/create.py", line 590, in connect
    return dialect.connect(*cargs, **cparams)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 597, in connect
    return self.dbapi.connect(*cargs, **cparams)
  File "/usr/lib/python3/dist-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 758, in connect
    await_only(self.asyncpg.connect(*arg, **kw)),
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/_concurrency_py3k.py", line 76, in await_only
    return current.driver.switch(awaitable)
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/_concurrency_py3k.py", line 129, in greenlet_spawn
    value = await result
  File "/usr/lib/python3/dist-packages/asyncpg/connection.py", line 2085, in connect
    return await connect_utils._connect(
  File "/usr/lib/python3/dist-packages/asyncpg/connect_utils.py", line 874, in _connect
    addrs, params, config = _parse_connect_arguments(timeout=timeout, **kwargs)
  File "/usr/lib/python3/dist-packages/asyncpg/connect_utils.py", line 640, in _parse_connect_arguments
    addrs, params = _parse_connect_dsn_and_args(
  File "/usr/lib/python3/dist-packages/asyncpg/connect_utils.py", line 543, in _parse_connect_dsn_and_args
    if not sslkey.exists():
  File "/usr/lib/python3.10/pathlib.py", line 1290, in exists
    self.stat()
  File "/usr/lib/python3.10/pathlib.py", line 1097, in stat
    return self._accessor.stat(self, follow_symlinks=follow_symlinks)
PermissionError: [Errno 13] Permission denied: '/root/.postgresql/postgresql.key'

@iAlex97 I can't reproduce it locally and I don't see the error in the test pipeline, so I think we can move forward and merge it. @leonardehrenfried do you agree?

I'm happy to merge

Cool @leonardehrenfried, as I don't have write permissions I'd need someone to merge this PR for me 😅


[ Enhacement ] Add animation in cards of known about

add animation in cards-

animation maybe related to cards hover , change of image ,etc

modify the card.

add proper screenshots of your work

Hey! I would like to work on this issue as a part of GSSOC'21!

Hello, can I start working on this issue?If it is open please assign me.

can you assign it to me?

I would like to contribute as a GSSOC'21 participate.

I would love to make those cards look alive (that's what animations do right). See if you could assign this issue to me.

@vismitap  go ahead


[examples] [physac] physics demos broken on OS X

physac doesn't seem to be working on OS X at all.  When I run the physics_demo, I can create new objects, but nothing happens to them (unless I reset them).  Trying to run other things like the friction one, the boxes don't fall at all.  They stay suspended in midair.  See this:

I can confirm this is also happening for me.

Changes in this PR make it work:
https://github.com/raysan5/raylib/pull/342

Just merged PR.

Tested it.  We good now.


Unittesting import picard data

Restructuring of code to separate tests pertaining the MultiQC report object itself and the tests for checking the data
Test to check the data for Picard alignment summary metrics
use setUpModule instead of setUpClass for set up of multiqc reports and import in test database

Hello @Yu-jinKim! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file trendyqc/trend_monitoring/tests/test_multiqc.py:

Line 42:1: E302 expected 2 blank lines, found 1
Line 90:80: E501 line too long (80 > 79 characters)
Line 110:8: W291 trailing whitespace
Line 112:80: E501 line too long (89 > 79 characters)
Line 116:1: W293 blank line contains whitespace
Line 134:35: W291 trailing whitespace
Line 171:80: E501 line too long (82 > 79 characters)
Line 427:80: E501 line too long (82 > 79 characters)
Line 431:80: E501 line too long (101 > 79 characters)
Line 447:80: E501 line too long (88 > 79 characters)


aws: update sdk and some cloudinit cases

aws: add user_data and vm_name property
aws: disable hibernation if current instance config not support
test_cloudinit_login_with_password_userdata: skip if no vm_password
provided
test_cloudinit_boot_timei,test_cloudinit_reboot_time: check cloudinit
services firstly, then total time
test_cloudinit_check_default_config: remove local cloud.cfg because it
is pending on cloudinit version

Signed-off-by: Xiao Liang<EMAIL_ADDRESS>

LGTM, thanks!


feature: second chart y-axis & plugin settings

Possibility to use second chart y-axis
Use asterisk * after property name to mark it to display on second y-axis.
Only left y-axis
{{renderer :metrics, :blocks :references, My Logseq graph growth over the time, properties-line}}

Left & right y-axis
{{renderer :metrics, :blocks :references*, My Logseq graph growth over the time, properties-line}}

Only right y-axis
{{renderer :metrics, :blocks* :references*, My Logseq graph growth over the time, properties-line}}

Setup plugin settings UI integration

Card visualisation changes

New card type: count
  for long metric names & replace "-" to " "
Changed card size

Researched & added clearing metric and property name

Tech: upgraded packages
Fixed bug with updating visualisations when new metric adedd

I'm getting the following error when I test in my local environment:
#_logseq-metrics: ReferenceError: $a03ac8f6c430e4a7$exports is not defined
I think it has to do with index.js line 651: logseq.ready().then(main).catch(console.error)
When I change that to console.log it loads fine for me.

I'm getting the following error when I test in my local environment: #_logseq-metrics: ReferenceError: $a03ac8f6c430e4a7$exports is not defined
I think it has to do with index.js line 651: logseq.ready().then(main).catch(console.error) When I change that to console.log it loads fine for me.

Very strange: both versions are working for me.
Will error return if you change it back?


Chrome v61 - Element detection issues

After upgrading to Chrome v61 I noticed that the plugin isn't correctly identifying elements in the viewport. Elements initially selected continue to be identified as selected once leaving the viewport. Also, elements below the fold are almost never identified.
Is anyone else experiencing this issue with this version of Chrome?

Hi. I had a similar problem and tried many hacks and tricks. But everything turned out to be much simpler. I updated file jquery.viewportchecker.min.js - Release 1.8.8 and everything be ok.


support all platform?

it run only .net6/.net7/.net8 windows,  Is there a plan to support all platform?

Hi @ikvm, thanks for the question!
We do have a plan on what is required to remove the Windows dependency and make it run on Linux (and I would assume macOS). Actually implementing it requires enough interest to make it a valid business case. Please send us an inquiry via https://coreforms.net/#contact and our product manager will get in touch.
I'll close this now as an answered question. Feel free to add more comments if you need more details!
Michael


Fix CUDA Errors

It was discovered non-portable code was added by #161. Some C++ STL functions were being called inside of functions defined as KOKKOS_INLINE_FUNCTION and therefore were not callable by the CUDA compiler. This PR fixes that behavior as well as other errors and adds a test.
Yet another reason to get CUDA in the docker image and CI server as soon as possible.

Can someone review?

Looks like jenkins failed:
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

@sslattery no just wait it's going to be overwritten

This is the DataTransfertKit-sanitize build not the actual DataTransfertKit-experimental.

OK - is there some indicator of that?

Well you obviously found how to access the log of the build on Jenkins and you can see from the URL or on the headers that you are looking at "DataTransfertKit-sanitizer".

so when will the regular build kick off then?

@sslattery It already did. Both jenkins start at the same time, but one aborts right away.

Current coverage is 95.71% (diff: 98.24%)

No coverage report found for master at 4e92f25.

Powered by Codecov. Last update 4e92f25...ddec580

ok if the tests pass i am going to merge if there are not complaints. I verified that the cuda build and tests are clean with no warnings or errors


The app has not responded to the network requests below:   (id = 1) currentStatus: {}   (id = -1000) isReady: {}

What happened?

Emulator: Pixel_6_API_33
RN Version: ^0.72.3
Detox Version: ^20.7.0
12:36:47.716 detox[12900] i ws-client:PENDING_REQUESTS The app has not responded to the network requests below:
(id = 1) currentStatus: {}
(id = -1000) isReady: {}
Unresponded network requests might result in timeout errors in Detox tests.
12:36:52.719 detox[12900] i ws-client:ERROR The pending request #-49642 ("cleanup") has been rejected due to the following error:
The tester has not received a response within 5000ms timeout to the message:
Cleanup {
type: 'cleanup',
params: [Object],
messageId: -49642
}
What was the expected behaviour?
Unable to run detox test for android.
Was it tested on latest Detox?

[X] I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

[X] I have followed the instructions under Identifying which synchronization mechanism causes us to wait too much.

Help us reproduce this issue!
No response
In what environment did this happen?
Detox version: ^20.7.0
React Native version: ^0.72.3
Has Fabric (React Native's new rendering system) enabled: (yes/no)  no
Node version: v18.15.0
Device model:  Pixel_6_API_33
Android version:  13
Test-runner (select one): jest / other jest
Detox logs
Detox logs
12:33:43.583 detox[12897] i ws-server Detox server listening on localhost:56684...
12:33:43.593 detox[12897] B lifecycle jest --config e2e/jest.config.js
12:33:45.017 detox[12900] i<EMAIL_ADDRESS>does not match<EMAIL_ADDRESS>
-<EMAIL_ADDRESS>resolved path:
	/Users/cookcounty/projects/cch-mobile-app/node_modules/jest/package.json
-<EMAIL_ADDRESS>resolved path:
	/Users/cookcounty/.nvm/versions/node/v18.15.0/lib/node_modules/jest/node_modules/jest-circus/package.json

Please make sure that your versions match to avoid unexpected behavior!

12:33:45.511 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/emulator/emulator" -list-avds --verbose
12:33:45.589 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/emulator/emulator" -version
12:33:46.962 detox[12900] i device Detected emulator binary version { major: 32, minor: 1, patch: 14, toString: [Function: toString] }
12:33:46.963 detox[12900] i device:ALLOCATE_DEVICE Trying to allocate a device based on "Pixel_6_API_33"
12:33:46.965 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb"  devices
12:33:47.176 detox[12900] i child-process:EXEC_SUCCESS List of devices attached
emulator-5554	device

12:33:47.189 detox[12900] i device:DEVICE_LOOKUP Found a matching & free device emulator-5554
12:33:47.191 detox[12900] i device:ALLOCATE_DEVICE Settled on emulator-5554
12:33:47.192 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "getprop dev.bootcomplete"
12:33:47.391 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "getprop ro.build.version.sdk"
12:33:47.494 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global animator_duration_scale 0"
12:33:47.893 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global window_animation_scale 0"
12:33:48.683 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global transition_animation_scale 0"
12:33:48.885 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "dumpsys power | grep \"^[ ]*m[UW].*=\""
12:33:49.940 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/build-tools/34.0.0/aapt" dump badging "/Users/cookcounty/projects/cch-mobile-app/android/app/build/outputs/apk/debug/app-debug.apk"
12:33:50.052 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list packages org.cookcountyhealth.connected"
12:33:50.394 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 uninstall org.cookcountyhealth.connected
12:33:53.388 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list packages org.cookcountyhealth.connected.test"
12:33:53.842 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 uninstall org.cookcountyhealth.connected.test
12:33:55.590 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "am force-stop org.cookcountyhealth.connected"
12:33:57.394 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/build-tools/34.0.0/aapt" dump xmlstrings "/Users/cookcounty/projects/cch-mobile-app/android/app/build/outputs/apk/debug/app-debug.apk" AndroidManifest.xml
12:33:57.415 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/build-tools/34.0.0/aapt" dump xmlstrings "/Users/cookcounty/projects/cch-mobile-app/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk" AndroidManifest.xml
12:33:57.440 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "rm -fr /data/local/tmp/detox"
12:33:57.791 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "mkdir -p /data/local/tmp/detox"
12:33:58.891 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 push "/Users/cookcounty/projects/cch-mobile-app/android/app/build/outputs/apk/debug/app-debug.apk" "/data/local/tmp/detox/Application.apk"
12:34:21.242 detox[12900] i child-process:SPAWN_CMD /Users/cookcounty/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk
12:34:45.694 detox[12900] i child-process:SPAWN_END /Users/cookcounty/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk exited with code #0
12:34:45.695 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 push "/Users/cookcounty/projects/cch-mobile-app/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk" "/data/local/tmp/detox/Test.apk"
12:34:45.854 detox[12900] i child-process:SPAWN_CMD /Users/cookcounty/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk
12:34:46.759 detox[12900] i child-process:SPAWN_END /Users/cookcounty/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk exited with code #0
12:34:46.760 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 reverse tcp:8082 tcp:8082
12:34:46.799 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "am force-stop org.cookcountyhealth.connected"
12:34:47.660 detox[12900] i lifecycle starter.test.js is assigned to emulator-5554 (Pixel_6_API_33)
12:34:47.672 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "am force-stop org.cookcountyhealth.connected"
12:34:47.743 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "date +\"%m-%d %T.000\""
12:34:47.820 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 reverse tcp:56684 tcp:56684
12:34:47.861 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list instrumentation"
12:34:47.933 detox[12900] i child-process:SPAWN_CMD /Users/cookcounty/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56684 -e detoxSessionId 096cb7fe-2924-3e7d-35e8-19a87b21f84c -e debug false org.cookcountyhealth.connected.test/androidx.test.runner.AndroidJUnitRunner
12:34:48.434 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "ps | grep \"org\.cookcountyhealth\.connected$\""

12:35:06.445 detox[12900] i ws-client:APP_STATUS Failed to execute the current status query.
12:36:47.666 detox[12900] i lifecycle Example: should have welcome screen
12:36:47.669 detox[12900] i lifecycle Example: should have welcome screen [FAIL]
12:36:47.675 detox[12900] i lifecycle Example: should show hello screen after tap
12:36:47.676 detox[12900] i lifecycle Example: should show hello screen after tap [FAIL]
12:36:47.677 detox[12900] i lifecycle Example: should show world screen after tap
12:36:47.677 detox[12900] i lifecycle Example: should show world screen after tap [FAIL]

12:36:47.716 detox[12900] i ws-client:PENDING_REQUESTS The app has not responded to the network requests below:
  (id = 1) currentStatus: {}
  (id = -1000) isReady: {}

Unresponded network requests might result in timeout errors in Detox tests.

12:36:52.719 detox[12900] i ws-client:ERROR The pending request #-49642 ("cleanup") has been rejected due to the following error:

The tester has not received a response within 5000ms timeout to the message:

Cleanup {
  type: 'cleanup',
  params: [Object],
  messageId: -49642
}

12:36:52.726 detox[12900] i child-process:SPAWN_END /Users/cookcounty/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56684 -e detoxSessionId 096cb7fe-2924-3e7d-35e8-19a87b21f84c -e debug false org.cookcountyhealth.connected.test/androidx.test.runner.AndroidJUnitRunner terminated with SIGINT
12:36:52.727 detox[12900] i device An error occurred while waiting for the app to become ready. Waiting for disconnection...
  error: Failed to run application on the device

  HINT: Most likely, your tests have timed out and called detox.cleanup() while it was waiting for "ready" message (over WebSocket) from the instrumentation process.
12:36:52.727 detox[12900] i child-process:EXEC_CMD "/Users/cookcounty/Library/Android/sdk/platform-tools/adb" -s emulator-5554 reverse --remove tcp:56684
 FAIL  e2e/starter.test.js (182.645 s)
  Example
    ✕ should have welcome screen (3 ms)
    ✕ should show hello screen after tap (1 ms)
    ✕ should show world screen after tap (1 ms)

  ● Example › should have welcome screen

    thrown: "Exceeded timeout of 120000 ms for a hook.
    Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

      2 |
      3 | describe('Example', () => {
    > 4 |   beforeAll(async () => {
        |   ^
      5 |     //await device.launchApp();
      6 |
      7 |     await device.launchApp({ newInstance: true });

      at beforeAll (e2e/starter.test.js:4:3)
      at Object.describe (e2e/starter.test.js:3:1)

  ● Example › should show hello screen after tap

    thrown: "Exceeded timeout of 120000 ms for a hook.
    Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

      2 |
      3 | describe('Example', () => {
    > 4 |   beforeAll(async () => {
        |   ^
      5 |     //await device.launchApp();
      6 |
      7 |     await device.launchApp({ newInstance: true });

      at beforeAll (e2e/starter.test.js:4:3)
      at Object.describe (e2e/starter.test.js:3:1)

  ● Example › should show world screen after tap

    thrown: "Exceeded timeout of 120000 ms for a hook.
    Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

      2 |
      3 | describe('Example', () => {
    > 4 |   beforeAll(async () => {
        |   ^
      5 |     //await device.launchApp();
      6 |
      7 |     await device.launchApp({ newInstance: true });

      at beforeAll (e2e/starter.test.js:4:3)
      at Object.describe (e2e/starter.test.js:3:1)

12:36:52.861 detox[12897] E lifecycle Command failed with exit code = 1:
jest --config e2e/jest.config.js
12:36:52.863 detox[12897] i ws-server Detox server has been closed gracefully
12:36:52.864 detox[12897] E ws-server connection :56684<->:57112

Device logs
Device logs
08-01 13:11:22.967  9196  9783 D DetoxWSClient: Retrying...
08-01 13:11:22.967  9196  9783 I DetoxWSClient: At connectToServer
08-01 13:11:22.972 31923  9786 I resolv  : GetAddrInfoHandler::run: {101<PHONE_NUMBER>41 10204 0}
08-01 13:11:22.973  9196  9785 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:24.592  9196  9476 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:24.593  9196  9477 D TrafficStats: tagSocket(153) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:26.165 31986 31986 W Looper  : Slow delivery took 259ms main h=android.os.Handler c=com.android.internal.os.BinderCallsStats$1@82cae02 m=0
08-01 13:11:26.167  9196  9785 D DetoxWSClient: Retrying...
08-01 13:11:26.168  9196  9785 I DetoxWSClient: At connectToServer
08-01 13:11:26.175 31923  9790 I resolv  : GetAddrInfoHandler::run: {101<PHONE_NUMBER>41 10204 0}
08-01 13:11:26.176  9196  9789 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:26.190 31986 32156 D androidtc: Initializing SystemTextClassifier, type = System
08-01 13:11:26.197 32175 32175 I ClipboardListener: Clipboard overlay suppressed.
08-01 13:11:26.254 32175 32175 I ClipboardListener: Clipboard overlay suppressed.
08-01 13:11:26.643  9196  9476 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:26.648  9196  9477 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:28.657  9196  9476 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:28.668  9196  9477 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:29.182  9196  9789 D DetoxWSClient: Retrying...
08-01 13:11:29.182  9196  9789 I DetoxWSClient: At connectToServer
08-01 13:11:29.191 31923  9795 I resolv  : GetAddrInfoHandler::run: {101<PHONE_NUMBER>41 10204 0}
08-01 13:11:29.192  9196  9794 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:30.669  9196  9476 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:30.675  9196  9477 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:31.164 31986 31986 W Looper  : Drained
08-01 13:11:32.196  9196  9794 D DetoxWSClient: Retrying...
08-01 13:11:32.196  9196  9794 I DetoxWSClient: At connectToServer
08-01 13:11:32.200 31923  9801 I resolv  : GetAddrInfoHandler::run: {101<PHONE_NUMBER>41 10204 0}
08-01 13:11:32.200  9196  9800 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:32.678  9196  9476 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:32.684  9196  9477 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:34.688  9196  9476 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:34.694  9196  9477 D TrafficStats: tagSocket(153) with statsTag=0xffffffff, statsUid=-1
08-01 13:11:35.204  9196  9800 D DetoxWSClient: Retrying...

More data, please!
No response

i guess you're receiving this error due the incompatibility detox 20.7 and react-native 0.72
but i believe that work is in progress

Same issue here but i have different versions:
Detox version: ^20.13.2
React Native version: ^0.72.6
Did you find any solution?

Well, you can try to launch the app this way (emergency launch), but that's a dead end. It's hard to know what's not idle there. 🤷♂
  beforeEach(async () => {
    await device.launchApp({
+     launchArgs: { detoxEnableSynchronization: 0 },
      newInstance: true
    });
  });

it happened to me today

This issue is not stale - I consistently see some form of this on our CICD platform where the test is saying it has not received a network request, usually in the form of:
detox[37716] i The app has not responded to the network requests below:
(id = 6) invoke: {"type":"action","action":"tap","predicate":{"type":"id","value":"bellsant:Signin","isRegex":false}}
(id = 7) currentStatus: {}
Very annoying to debug as the element is clearly on the screen and has zero issues running locally. Please look into this 🙏

Same here with:
    "detox": "^20.23.1",
     "react-native": "0.74.3",

any update on this? i'm suddenly experiencing this on a test case that was previously passing just fine.


Update tests based on full automated tests

Have not run full automated tests in awhile.  Doing so pointed out some issues.  Correct what can be dealt with now.

Updated the tests as much as possible without more study for some that have not passed for awhile but don't cause problems.  Close the issue.


www.reactvirtualized.com is redirect to ww7.reactvirtualized.com

www.reactvirtualized.com is redirect to ww7.reactvirtualized.com

https://github.com/bvaughn/react-virtualized/issues/1735 the domain was lost dropped in February and is now held by dropcatch.
According to archive.org the site redirected to https://bvaughn.github.io/react-virtualized/
@bvaughn is active on GitHub, and hopefully he'll see the messages and change the domain.


Compile fail, Why I can't use android.arch.lifecycle:runtime:1.0.0-alpha1.

Error:Failed to resolve: Could not resolve android.arch.lifecycle:runtime:1.0.0-alpha1.

I'm going to assume dup of #25

Think you very very much！


Confidence score interpretation

Hello Yeo Lab,
Sailor seems really useful and well written. Thanks for taking the effort to pack it into a container and distribute it in an easy to deploy way. I am hoping to use Sailor for some of my work, but I have a few questions about its execution and interpretation. Thank you for taking the time to answer these.

Is there a paper or somewhere I can read about the underlying math? I see that the eLife paper has a 'request detailed protocol' link for the Sailor. is this available? If so, maybe my questions 2 will be answered there.

I'm a little confused about the confidence score. Based on your code, the confidence score given in the output bed and VCF files is the inverse of the incomplete beta function with a=depth(G) b=depth(A) and x=cov_margin. You define cov_margin as the minimum allowable edit fraction but the scipy betainc() function's variable x is the maximum allowable value. What am I missing here?

Related to question 2. Do you have suggestions for how to interpret the confidence score? What is the minimum confidence score you have found to be a true edit site?

When I ran the example dataset with the singularity container, there were no 'combined' files. Do I just run the combine_and_reformat.py script on my output? For unstranded libraries, do you have a recommendation of how to combine the confidence calls for fwd and rev calls?

I just want to thank you again for taking the time to answer these. I realize there are a lot of questions here for code you probably haven't looked at for a while.

Hi, yes I'll need to take a look at this script in particular, but I believe it was just taken from the methods from this paper: The dsRBP and inactive editor, ADR-1, utilizes dsRNA binding to regulate A-to-I RNA editing across the C. elegans transcriptome.
For determining confidence score, we used a control that allowed us to see at which confidence minimized the number of false positives, similar to the original paper.
I'm not sure if SAILOR fully supports unstranded reads (I'll have to check) since one of the first steps is to split by strand so we know whether or not to call an A>I or T>C. There may be ways to guess the strand based on some existing annotation, but that wasn't implemented in this pipeline.


Help with chords names

Hi,
First, this is great! Well done!
I am a complete beginner in music production. I just had my first piano class, because I want to learn a bit of music to be able to make my EDM tracks. I have two questions:

I know is out of the scoop, but I am quite confused (because of my lack of knowledge) with some files names and their meaning. For example, what all those letters mean at C - bIIIM ii bIIM I.mid file? If you could just explain a bit the meaning of those letters would be fantastic and very appreciated.

Because I'm just starting, I don't want (and don't have money) to spend money on Ableton right now. So, I'm using free software (Qtractor). I've so far only worked with audio samples, so I'm new to MIDI. After I imported the MIDI file to my DAW, do I need to "add" an instrument to it or something? And my instrument, do you mean a vst plugin or something else?

Sorry for these sillies questions, but I hope you can help me kick off here.
Thank you a lot,
Castle

Hi!
Many thanks for your feedback!
Yes, I need to improve the documentation and that's the opportunity to start now :)
1- About the file names:
The file you're referring to is a chord progression. C is the key, C major if the file is in the 'major' directory. The following roman numbers are the degrees of the chords in the scale. 'I' is the first chord of the scale, so it's a C Major chord. 'ii' is a minor chord, the 2nd chord in the scale of C, so it a D minor chord. More info in this here
For example, the chord progression file 'C - I V VI iv' is one of the most popular chord progressions and it will sound familiar to your ears.
The other chords in this progression are 'borrowed' chords from other scales. For example, bIIIM, is a Major chord with the root on E flat (Eb) which comes from the C minor scale. Mixing the notes from Major and Minor scales is often used to provide more 'color' and variety in songs.
2- About Qtractor and MIDI files
Yes, you need to add an instrument plugin to the track in order to render the MIDI notes to audio. There are tons of free MIDI instruments available, like sfz players or emulations of famous synths such as Dexed.
Have fun!

Great!
I'm enjoying playing with the midis.
Thank you a lot!
Cheers,


Review timezone definition

This is a placeholder, based on

toLocaleString() is not working as expected because the date returned by fractal-sever doesn't follow ISO 8601 standard, which requires to put a Z at the end of the string to represent a date in UTC. I think we should fix this on fractal-server side.
On my browser:
new Date('2023-12-20T09:49:27.914030').toLocaleString() // "12/20/2023, 9:49:27 AM"
new Date('2023-12-20T09:49:27.914030Z').toLocaleString() // "12/20/2023, 10:49:27 AM"

Originally posted by @zonia3000 in https://github.com/fractal-analytics-platform/fractal-web/issues/229#issuecomment-1864211315

For the record, this minimal-working example seems to work - if we assume that we have UTC timestamps from the DB:
from pydantic import BaseModel, validator  # type: ignore
from datetime import datetime, timezone
from devtools import debug  # type: ignore

def convert_datetime_to_iso_8601_with_z_suffix(dt: datetime) -> str:
    return dt.isoformat().replace("+00:00", "Z")

class JobRead2(BaseModel):
    timestamp: datetime
    _normalize_datetimes = validator("timestamp", allow_reuse=True)(convert_datetime_to_iso_8601_with_z_suffix)

    class Config:
        json_encoders = {
            datetime: convert_datetime_to_iso_8601_with_z_suffix,
        }

now = datetime.now(tz=timezone.utc)
job = JobRead2(timestamp=now)
debug(job)
# x.py:21 <module>
#     job: JobRead2(
#         timestamp='2023-12-20T11:57:17.666294Z',
#     ) (JobRead2)

However, we (with @ychiucco) are still not sure about the specific point where fastapi performs serialization (and through which method). Once we understand this, the solution could be something like the snippet above.

Note that this is to be checked both in Read models and in the query parameters of the admin endpoints.

Within the CI, at least for the current GET-jobs and GET-project endpoints, the response includes timestamp that end with +00:00 - see commit a4a37d190c7ea2af804298b8b6afe9b8f72c63df by @ychiucco.
To be verified: where did the no-time-zone timestamps mentioned in https://github.com/fractal-analytics-platform/fractal-web/issues/229#issuecomment-1865805065 appear? (cc @zonia3000)

where did the no-time-zone timestamps mentioned in fractal-analytics-platform/fractal-web#229 (comment) appear? (cc @zonia3000)

Using fractal-server 1.4.1a2:

/api/v1/project/1/job
/admin/job

Thanks Sonia.
It looks like we have some unexpected behavior that depends on where we run the CI, when using sqlite.
The relevant test (that checks the presence of +00:00 at the end of the timestamp) passes with this config:

macos
sqlite3 v3.39.5

but it fails (with the traceback below) in GitHub CI or in my local config:

ubuntu 22.04
sqlite3 v3.37.2

>           assert res.json()["timestamp_created"].endswith("+00:00")
E           AssertionError: assert False
E            +  where False = <built-in method endswith of str object at 0x7fb1e0874260>('+00:00')
E            +    where <built-in method endswith of str object at 0x7fb1e0874260> = '2023-12-21T12:01:28.062053'.endswith

Note (in case it matters) that my locale is
$ locale

LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8
LC_ALL=

Based on sqlite3 release notes, I see the following possibly related entries:

3.38.0:
Enhancements to date and time functions:
Added the unixepoch() function.
Added the auto modifier and the julianday modifier.

3.38.1
Fix the localtime modifier of the date and time functions so that it preserves fractional seconds.

TL;DR

Within #1102 I will temporarily skip the assertion, when using sqlite rather than postgres.
If it's a sqlite-only issue (to be checked), let's re-assess what to do. It'd be a bit annoying to add a custom serialization procedure that is never actually used in postgres.
If there remains some unexpected behavior in the postgres version, then we should definitely come back to this issue.


List the steps to reproduce the issue or the changes made

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Screenshots (if applicable)


Change "checkout to" to "switch to"

I would suggest replacing the "checkout to..." text in the source control menu to "switch to..."

I think this would be more clear what the use cases for this is and it would be inline with
the "switch" command introduced in Git v2.23.

I don't think this is a good idea. git switch is pretty much unknown by everyone. The confusion arising out of this won't pay off the alignment with git.


Query status-targets  Does not display in receive mode

Thanos uses receive mode, query web console does not display targets!   thanks

Targets page and APIs are only available if you are having Prometheus sidecars so targets APIs can be federated.
If you are using receive mode only and no sidecars then this is expected.

thanks


[RAG] data problem

https://i.esdrop.com/d/zFUA5bCvJd/vfbITFTvWy.png
on player death event
data file ragging
tps loss

This is a known bug and has already been fixed for the next update.


Some more places with remote security roles

Three more companies with some open remote security roles. Happy to address any feedback!
Also, thank you for fixing my broken markdown link in the previous PR I submitted. I'll make sure to check my fixes locally on each PR going forward. 🙇

thanks @pbarry25 !


use updated doozer with mysql backend

incorporate https://github.com/openshift/doozer/pull/247 - write build results to mariadb instead of simpledb.

BTW @adarshtri requested that we push results to the dev DB until he can do some art-dash updates to use the prod DB properly. Don't expect art-dash contents to see updates right away. (I hope I understood that correctly.)

BTW @adarshtri requested that we push results to the dev DB until he can do some art-dash updates to use the prod DB properly. Don't expect art-dash contents to see updates right away. (I hope I understood that correctly.)


 This is implemented by tracking the last time that hints are queried or updated, and purging them after a long enough duration has elapsed (currently 50 mins).
#1278 needs a rebase which is why the diff looks so massive, the relevant commits are the last 12.

I'm wondering if we instead of a wall clock timeout should be using block timeout? My worry is that we now risk purging all height hints if we stop getting block events (chain backend goes down, we lose connectivity etc) for 1 hr. We will even purge the hints if a block takes more than an hour to arrive (which happens on occasions)?

On restart, we may exceed a block-based timeout almost instantly if we process a large number of blocks before any registrations occur. The argument could also be made that if lnd is never run for more than an hour, we will never purge.
Without any distinction on when we are restarting and when we are fully synced, using the wall clock seems like it will cause less accidental pruning, though I agree there is a tradeoff to be made.

I think pruning too often is worse than pruning too seldom. What about a combination: E.g. 10 blocks AND 1 hr? Should handle the restart issue.

Yeah, though it seems like a decision was never made on the pruning strategy. Rebasing this might be tough due to all the refactors that have happened in this area. It'd be nice to see how large this cache has grown since its implementation on some of the bigger nodes in the network.

Yeah, though it seems like a decision was never made on the pruning strategy. Rebasing this might be tough due to all the refactors that have happened in this area. It'd be nice to see how large this cache has grown since its implementation on some of the bigger nodes in the network.


Ollama on VMware Photon OS

Hi,
I'm tinkering with Ollama on VMware Photon OS.
The langchain example works, but the langchain-document example not.
This is ok
tdnf update -y
tdnf install -y git go build-essential

git clone https://github.com/jmorganca/ollama
cd ollama
go build .

tdnf install -y python3-pip

pip3 install -r examples/langchain/requirements.txt

./ollama serve &
./ollama pull llama2
python examples/langchain/main.py

Photon OS 5.0 comes with python 3.11. Actually seems to  be an issue for tensorflow-macos.
pip3 install -r examples/langchain-document/requirements.txt

[...]
Collecting tensorflow-hub==0.14.0
  Downloading tensorflow_hub-0.14.0-py2.py3-none-any.whl (90 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.3/90.3 kB 9.2 MB/s eta 0:00:00
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement tensorflow-macos==2.13.0 (from versions: none)
ERROR: No matching distribution found for tensorflow-macos==2.13.0

The workaround using an older python version seems difficult as well.
# Built-in python3-pip (3.11) actually is not compatible with langchain-document' requirements.txt
tdnf remove -y python*

tdnf install -y zip unzip zlib-devel openssl-devel libffi-devel bazel sqlite sqlite-devel ncurses-devel gdbm-devel bzip2-devel
curl -J -L -O https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tgz
tar -xzvf Python-3.9.17.tgz
cd ./Python-3.9.17/
./configure
make
make install
export PATH=/root/Python-3.9.17/:$PATH
./python setup.py install

curl -J -L -O https://bootstrap.pypa.io/get-pip.py
./python get-pip.py
pip install setuptools --force
cd ..

python -m venv .venv
source .venv/bin/activate

git clone https://github.com/jmorganca/ollama
cd ollama
go build .

pip install -r examples/langchain/requirements.txt

pip install unstructured
pip install pdf2image
pip install pdfminer
pip install pdfminer.six
pip install pyproject.toml
pip install pysqlite3
pip install gpt4all
pip install chromadb
pip install tensorflow
pip install -r examples/langchain-document/requirements.txt

Does langchain-document work on other distros? which python version?

Hey @dcasota thanks for submitting this. Since this looks like an issue with one of the dependencies of that example on Photon OS, I'm not sure how we can resolve it on the Ollama side.
Closing this for now, but happy to discuss more on the discord to resolve this -- https://discord.com/invite/ollama


Please switch to typescript

Very nice idea but could you please switch to typescript. (I can help)
Thank you in advance.

I'd prefer JSDoc @type tags and .d.ts files. I think that would be a good balance for both sides of the endless "which one is better" debate. How does that sound? Glad to receive help on that front.

I'd prefer to start with just the .d.ts file since that would not add any extra to the main source code

Very nice idea but could you please switch to typescript. (I can help) Thank you in advance.

I also agree!
And I am eager to help...!
but typescript is typesafe, and .d.ts file don't provide this feature. As far as I understand.

but typescript is typesafe, and .d.ts file don't provide this feature. As far as I understand.

while declaration files don't offer full fledged type safety like raw typescript, modern IDEs and editors are very capable. They can provide type hints based on jsdoc comments with .d.ts, which should be sufficient in most cases.

but typescript is typesafe, and .d.ts file don't provide this feature. As far as I understand.

while declaration files don't offer full fledged type safety like raw typescript, modern IDEs and editors are very capable. They can provide type hints based on jsdoc comments with .d.ts, which should be sufficient in most cases.

A large part of the work is before the run time, which causes typing errors and prevents bugs.
Can the importance of statically typed languages be ignored?
I think it is easier to switch to typescript at the beginning of the project than a novel where there are many codes

but typescript is typesafe, and .d.ts file don't provide this feature. As far as I understand.

while declaration files don't offer full fledged type safety like raw typescript, modern IDEs and editors are very capable. They can provide type hints based on jsdoc comments with .d.ts, which should be sufficient in most cases.

A large part of the work is before the run time, which causes typing errors and prevents bugs. Can the importance of statically typed languages be ignored?
I think it is easier to switch to typescript at the beginning of the project than a novel where there are many codes

This makes too much sense, and thus it will be ignored.

This makes too much sense, and thus it will be ignored

@romanwbruce what do you mean by this?

I don't like TypeScript personally, which is stated on the website's FAQ page. However, I'd like to find a middle ground, much the same way as Svelte attempts to do it. Starting with the .d.ts file, then maybe moving to JSDoc. That would make the codebase more accessible to JS developers like me.

@tipiirai First of all, please read my comment in a friendly tone.
As someone with more than 20 years of experience, I think that this project could have been a great success if it had benefited from sufficient experience and enterprise structures!
I was interested to see that your ideas are very close to my thinking model.
But after studying the code structure and reading your comments about typescript, I realized that this project is nothing more than a simple student project.
You seem to have a very big idea and I'm sorry to say that you started maybe 5 to 10 years too early! (in terms of technical experience)
I still hope to have the honor of being with you in the future. But for now I have to say goodbye to you and this project.
I hope this friendly opinion will cause more reflection on the way of project implementation and more research along with reading the codes of elders.
Thank you.

@AliMD I think you are stuck into implementation details instead of focusing on what makes a good frontend toolchain. Nue focuses heavily on separation of concerns, progressive enhancement, and overall minimalism. What else should it focus on to make it more successful?

@AliMD I think you are stuck into implementation details instead of focusing on what makes a good frontend toolchain. Nue focuses heavily on separation of concerns, progressive enhancement, and overall minimalism. How would you change the focus to make the project more successful?

仍可你的观点，但是一个大型的项目需要多人协作，无法保证其他创作者的代码质量，排查问题时将是致命的，Typescript提供了类型安全，至少可以从有限的any中快速追寻到bug。这个项目的主程序可以无需Typescript，但是至少应该让开发人员方便的使用Typescript。

仍可你的观点，但是一个大型的项目需要多人协作，无法保证其他创作者的代码质量，排查问题时将是致命的，Typescript提供了类型安全，至少可以从有限的any中快速追寻到bug。这个项目的主程序可以无需Typescript，但是至少应该让开发人员方便的使用Typescript。

الان خوشت میاد من به زبان خودم برات بنویسم و مجبور بشی بری تعجمه کنی؟! لاشی

仍可你的观点，但是一个大型的项目需要多人协作，无法保证其他创作者的代码质量，排查问题时将是致命的，Typescript提供了类型安全，至少可以从有限的any中快速追寻到bug。这个项目的主程序可以无需Typescript，但是至少应该让开发人员方便的使用Typescript。

الان خوشت میاد من به زبان خودم برات بنویسم و مجبور بشی بری ترجمه کنی؟!گلابی

"Sorry, I had the translation feature of the Edge browser open earlier, and the browser automatically translated the language I entered into the language I use. What I meant to express previously was: I acknowledge your viewpoint, but for a large-scale project, collaboration among multiple people is necessary. It's not feasible to ensure the quality of code from other contributors, and debugging issues could be fatal. TypeScript provides type safety, which allows for quickly tracing bugs from the limited 'any' types. While the main program of this project may not necessarily require TypeScript, it should at least facilitate the convenience of TypeScript usage for developers."

仍可你的观点，但是一个大型的项目需要多人协作，无法保证其他创作者的代码质量，排查问题时将是致命的，Typescript提供了类型安全，至少可以从有限的any中快速追寻到bug。这个项目的主程序可以无需Typescript，但是至少应该让开发人员方便的使用Typescript。

الان خوشت میاد من به زبان خودم برات بنویسم و مجبور بشی بری ترجمه کنی؟!گلابی

Sorry, I had the translation feature of the Edge browser open earlier, and the browser automatically translated the language I entered into the language I use. What I meant to express previously was: I acknowledge your viewpoint, but for a large-scale project, collaboration among multiple people is necessary. It's not feasible to ensure the quality of code from other contributors, and debugging issues could be fatal. TypeScript provides type safety, which allows for quickly tracing bugs from the limited 'any' types. While the main program of this project may not necessarily require TypeScript, it should at least facilitate the convenience of TypeScript usage for developers.

حله داداش

Given the goals of the author to keep everything as small as possible; and given that he's developing most of the code by himself, not using typescript makes a lot of sense. The project isn't 100 000 lines of code; and is small enough that a single developer can pick up and understand and read through and follow the entire codebase. Show me one other javascript library that can do that? Typescript is specifically designed to solve many problems caused by large teams and enterprise needs. This isn't that; imho.

Thank you @goblinfactory! Well said.
One point I want to make: if someone shows me a solid change in Nue's codebase that showcases a tangible benefit of TypeScript without hurting minimalism I'm all ears. Even better, the change would make Nue codebase even more minimal and clear, I'm ready to change my point of view.

I'd prefer JSDoc @type tags and .d.ts files. I think that would be a good balance for both sides of the endless "which one is better" debate. How does that sound? Glad to receive help on that front.

Just because we're saying we don't see an immediate need for Typescript, doesn't mean we can't explore adding "typescript support" as @tipiirai has already said. But that's very different to "switch the project to typescript".


About Renaming & License

Hello.
Please advice.
I want use binary version of codec.
I don't need source code.
Will renaming openh264-1.8.0-win64.dll to openh264.dll be considered as license violation.
Thank you.

Close. Because found solution without renaming and without touching any source code.


Adding identifier and gas_indentifier param to libra_SignedTranscationBytes_from

allow sending transactions for coins other than LBR.

@bors-libra r+

:pushpin: Commit 9e68ac7 has been approved by sunmilee

@bors-libra r=sunmilee

:bulb: This pull request was already approved, no need to approve it again.

There's another pull request that is currently being tested, blocking this pull request: #4063

:pushpin: Commit 9e68ac7 has been approved by sunmilee

:hourglass: Testing commit 9e68ac7d2e8627274cd0e8918d8cb22444b459a7 with merge e9d68c078ad6069a1930e7d2084d7ae8ebfb013d...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra retry

:hourglass: Testing commit 9e68ac7d2e8627274cd0e8918d8cb22444b459a7 with merge 788f641f81677173cf50df4b9d11f1c7b85c615e...

@bors-libra retry

@bors-libra r=sunmilee

:pushpin: Commit e44416b has been approved by sunmilee

:hourglass: Testing commit e44416bb31ef341f823ddac2e82cd3875bbafa5b with merge 38fc321ec76f61d155a5814d6d106596c41340aa...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra retry

:hourglass: Testing commit e44416bb31ef341f823ddac2e82cd3875bbafa5b with merge 47df5b4f4e6d8e2f8ca37d6aff88f23784a16757...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: sunmilee
Pushing 47df5b4f4e6d8e2f8ca37d6aff88f23784a16757 to master...


finished delete route

@jamestewartjr @jrob8577

Merging this but if there are comments from either of you please still leave them and we will make changes on a new branch!


Support Swift code

Hi, romainthomas.
I test o-mvll on iOS project, it dosen't process swift file. any plan to support it?

Hi @annidy,
Unfortunately, the Swift compiler does not support plug-ins (even though it's based on LLVM). If it did, theoretically o-MVLL should work out of the box to obfuscate Swift code.
We've created a PR to Apple's Swift compiler to add support for plug-ins (https://github.com/apple/swift/pull/68985), but meanwhile no-one at Apple has looked into it. So, right now it's out of our hands, hence if you want to express support for the PR and see if it gets traction to get Apple's attention, it'd be nice.
Thanks,
Marc

Hi @annidy,
Unfortunately, the Swift compiler does not support plug-ins (even though it's based on LLVM). If it did, theoretically o-MVLL should work out of the box to obfuscate Swift code.
We've created a PR to Apple's Swift compiler to add support for plug-ins (https://github.com/apple/swift/pull/68985), but meanwhile it has not been merged. If you want to express support for the PR to get some visibility, it'd be nice.
Thanks,
Marc

Thanks for creating that PR at the repo. I looked into this topic previously and asked them to link the libLLVM in general, as it would also likely shave off quite some size in addition to providing all needed symbols separately.
One last remark: While trying a similar setup a bit more than a year ago, I noticed that I seemed to have some special use cases that required additional libraries of the LLVM infrastructure. Apple/Swift developers are quite restrictive in what they link with the library/applications they build. Did you verify that your plugin properly applies?


Add missing underscore in the 09 tutorial file name

Summary
See the missing underscore: 09_saving_and_loading models.ipynb → 09_saving_and_loading_models.ipynb

@woodsp-ibm this is a super tiny one.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.09%) to 87.082%

Totals

Change from base Build<PHONE_NUMBER>:
0.09%

Covered Lines:
3020

Relevant Lines:
3468

💛  - Coveralls


Feature/um 777 hip unified memory

LGTM

TODO: Once accessibility stuff is merged, add HIP-UM accessibility info

Just kidding, HIP-UM accessibility info will be added later in UM-696

LGTM


Swipe Permission

Hi, when I set swiping enabled it doesn't ask on permission when swiping the permission fragment, the next button works fine for asking but it doesn't ask when swiping that fragment.

https://github.com/apl-devs/AppIntro#runtime-permissions-android-60

Why is this issue so obvious? I saw alot of people opened an issue regarding this, and there must be many more users who haven't bothered to do so, as your readme says.
I think it's a shame that this is the current situation. Is there any hard logical reason behind this behavior?


Echo grouping with Matlab

Since some echoes appear out of nowhere and the order is not respected, we need to find the echo that comes from the wave/sea.
Some parameters that could be used for grouping are:

peak value/SNR
distance/range
velocity

Currently looking into it but an average over the filtered echoes seems to do the job. We'll keep it simple for now and re-assess it in the future.


Use -d flag on sphinx-build to move .doctrees dir outside build

Summary
This commit updates our default sphinx-build invocation to include the -d flag to change the default output directory for the .doctrees dir (see: https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-d for details on the flag). The .doctrees dir is a local cache of pickle files for parsed source files and doesn't need to be included in the build. By moving the default location for this outside our build dir this will remove a lot of overhead from our uploaded docs as this cache can end up being quite large.
Details and comments

Still relevant?

It is, we're uploading a bunch of unused and unnecessary data to COS without this. I didn't realize this never merged, I'm just going to tag as automerge now.


Scaleset now has one size field to determine current size

Summary of the Pull Request
W/o it can create multiple scalesets. Recent changes allow the resizing automatically, thus can rely directly on scaleset size parameter.
What is this about?
PR Checklist

[x] Applies to work item: #124
[x] CLA signed. If not, go over here and sign the CLI.
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request
What does this include?
Validation Steps Performed
How does someone test & validate?

This change has been included in #160