can't install: no cmi file was found in path for module CryptokitBignum

On opam install memtrace_viewer, I am getting
[ERROR] The compilation of memtrace_viewer failed at
        "/Users/ulugbekna/.opam/opam-init/hooks/sandbox.sh build dune build --profile release
        --default-target @install . --root . --cache-transport=direct".

#=== ERROR while compiling memtrace_viewer.v0.14.1 ============================#
# context     2.0.7 | macos/x86_64 | ocaml-base-compiler.4.11.1 | https://opam.ocaml.org#52d35d55
# path        ~/code/ocaml/test-ocaml/_opam/.opam-switch/build/memtrace_viewer.v0.14.1
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build --profile release --default-target @install . --root . --cache-transport=direct
# exit-code   1
# env-file    ~/.opam/log/memtrace_viewer-59574-2e6686.env
# output-file ~/.opam/log/memtrace_viewer-59574-2e6686.out
### output ###
# [...]
# dyld: Library not loaded: /usr/local/opt/libffi/lib/libffi.6.dylib
#   Referenced from: /Users/ulugbekna/code/ocaml/test-ocaml/_opam/.opam-switch/build/memtrace_viewer.v0.14.1/_build/default/vendor/async_ssl/src/../stubgen/ffi_stubgen.exe
#   Reason: image not found
# /bin/bash: line 1: 89874 Abort trap: 6           ../stubgen/ffi_stubgen.exe -c > ffi_generated_stubs.c
# File "vendor/async_websocket/src/crypto.ml", line 2, characters 25-40:
# 2 | module CryptokitBignum = CryptokitBignum
#                              ^^^^^^^^^^^^^^^
# Warning 49: no cmi file was found in path for module CryptokitBignum
# File "vendor/async_websocket/src/crypto.ml", line 2, characters 25-40:
# 2 | module CryptokitBignum = CryptokitBignum
#                              ^^^^^^^^^^^^^^^
# Warning 49: no cmi file was found in path for module CryptokitBignum

I tried to install it in a clean local switch with ocamlc 4.11.1 as well, but it failed; so I assumed there must be some problem.

I think that the error message is misleading -- it's just a warning that happens to be printed after the real issue -- I think that your actual problem is that you need to install libffi. I suggest running opam depext memtrace_viewer to install all the required system dependencies.

Thanks for a quick response. I have libffi installed. On opam depext memtrace_viewer I get the following:
❯ opam depext memtrace_viewer

# Detecting depexts using vars: arch=x86_64, os=macos, os-distribution=homebrew, os-family=homebrew
[ERROR] No solution for memtrace_viewer: The following dependencies couldn't be met:
          - memtrace_viewer → async_rpc_websocket
              unknown package

I think the problem may be with async_rpc_websocket that is vendored by one of the libs, seemingly.

I also tried to compile memtrace_viewer from sources and had a problem with this package
❯ make
dune build
File "server/src/dune", line 3, characters 44-63:
3 |  (libraries memtrace_viewer_common memtrace async_rpc_websocket))
                                                ^^^^^^^^^^^^^^^^^^^
Error: Library "async_rpc_websocket" not found.
Hint: try:
  dune external-lib-deps --missing @@default
File "server/src/dune", line 6, characters 9-30:
6 |  (deps %{bin:ocaml-embed-file} ../../client/main.bc.js
             ^^^^^^^^^^^^^^^^^^^^^
Error: Program ocaml-embed-file not found in the tree or in PATH
 (context: default)
Done: 224/327 (jobs: 1)make: *** [default] Error 1

That opam message is surprising as async_rpc_websocket is not yet released on the main opam repository. Are you maybe using the janestreet bleeding edge repo too?
Building from the sources in this repo would require dependencies that are not yet on the main opam repository. You should instead to build from: https://github.com/janestreet/memtrace_viewer_with_deps, which includes those dependencies.

Thanks a lot for the pointers!
By trying to build memtrace_viewer_with_deps from source, I figured the real problem: libffi.6.dylib was't available (related issue with a solution).


Update stable version in repo from 1.0.0 to 1.0.2

Think about update stable version to 1.0.2
Version: stable=1.0.0 (162 days old) => latest=1.0.2 (15 days old)
Installs: stable=106 (81.54%), latest=10 (7.69%), total=130
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 1.0.2 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

Is there any reason to delay updating this adapter at stable any longer?
Please drop a commit if you know any reason to refrain from updating.
If there is no response until 1.11.2024 we could decide to update anyway

Created PR: https://github.com/ioBroker/ioBroker.repositories/pull/4191

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 1.0.2 but the current stable version is already 1.0.2.
So this issue should be closed.
@mcm1957 for evidence


Explore options for providing users more than medians in the visualizations

User email to support:

I viewed the comparison of Comcast to Verizon for my town.   Comcast appears to be much much  slower.  Until I realized this is just AVERAGE data.  So perhaps it's just the case that there are many more "low end" customers with Comcast, paying for slower service, so it skews the visualization
http://viz.measurementlab.net/location/nauspasouderton
You should give the end user running the test the option to enter what their internet speed is SUPPOSED to be (i.e. what are they paying for.)  In my case I pay for 75/75 from Verizon FIOS, and get around 80/80.    To me, thats GREAT.
What I'd like to know when making the comparison, is what kind of speeds Comcast customers get, RELATIVE TO WHAT THEY PAY FOR.

M-Lab doesn't collect data about what people are supposed to get, we just get raw measurements when people run tests. It would potentially be helpful to users to be able to see more than medians on the site, since medians can be impacted by the user base (both positively and negatively). We could also explore a way to allow users to input data about their connection as a way to look at tests with similar speeds -- e.g. how many tests are similar to their results or different. Similar to the idea we've discussed around having a way for a user to run a test while on the viz site and compare their results to the data from the area they are in.

I think we considered adding binned data into our tables in the past. I'll have to try and sort out why we didn't. Might have just been timing. I think that's doable though, and we can add a band around each line on hover, for example, to show the 5%-95% spread?

@iros yeah, we should play with ideas and think about use cases we want to serve. We might also just want to think about how people get to the histogram views of the data or what other questions they have


Add 2.3.0

s390x has an error:
conda.exceptions.ResolvePackageNotFound:
  - openjdk[version='>=8']


Roboflow training failed

I am using synthetic images  and yolo annotations generated from blender using python script. Then created my_darknet.label file and uploaded on roboflow. There are around 1000 images for training. The training failed showing the error(attached)

Waiting for your suggestion

@drakshayanidesai Thank you for leaving this issue! If this is still a problem, could you send an email to<EMAIL_ADDRESS>from the email associated with your Roboflow account?
I am going to close this issue since it pertains to the Roboflow web platform rather than the roboflow-python package. We can continue the discussion over email so we can investigate the specifics of your project and provide more support.


Trying to add car gives error on login

Describe the bug
When I try to add my car I get an error after entering my credentials, My logs contain the following error:
Login failed with error: Token exchange failed. Request status: 410
Source: custom_components/skodaconnect/config_flow.py:103
Is this working in MySkoda app?*
Logout and login in the MySkoda app, preferably on Android.
Make sure that you have the latest app updates, sometimes there's new consent needed that will only show in latest app version.
Yes, but the app has recently updated an 410 means gone? Perhaps the API has updated it's urls?
Latest working release
It was working this morning on the current release (1.2.7)
Debug logs
2023-12-11 15:40:06.239 ERROR (MainThread) [skodaconnect.connection] Token exchange failed. Request status: 410
2023-12-11 15:40:06.240 ERROR (MainThread) [custom_components.skodaconnect.config_flow] Login failed with error: Token exchange failed. Request status: 410

Installation:

Home Assistant variant: Hass OS
Python version: Whatever the latest Hass OS uses
Python library versions

Package            Version
------------------ ----------
aioesphomeapi      15.0.0
ajsonrpc           1.2.0
anyio              4.0.0
async-timeout      4.0.3
bitarray           2.8.2
bitstring          4.1.2
bottle             0.12.25
certifi            2023.7.22
cffi               1.16.0
charset-normalizer 3.3.2
click              8.1.7
colorama           0.4.6
cryptography       41.0.5
ecdsa              0.18.0
esphome            2023.10.6
esphome-dashboard  20230904.0
esptool            4.6.2
h11                0.14.0
idna               3.4
ifaddr             0.2.0
kconfiglib         13.7.1
marshmallow        3.20.1
noiseprotocol      0.3.1
packaging          23.2
paho-mqtt          1.6.1
pathspec           0.11.2
pip                23.3.1
platformio         6.1.11
protobuf           4.25.0
pycparser          2.21
pyelftools         0.29
pyparsing          3.1.1
pyserial           3.5
PyYAML             6.0.1
reedsolo           1.7.0
requests           2.31.0
semantic-version   2.10.0
setuptools         68.2.2
six                1.16.0
sniffio            1.3.0
starlette          0.31.1
tabulate           0.9.0
tornado            6.3.3
tzdata             2023.3
tzlocal            5.0.1
urllib3            2.0.7
uvicorn            0.23.2
voluptuous         0.13.1
wheel              0.41.3
wsproto            1.2.0
yamllint           1.33.0
zeroconf           0.115.1

Additional context
I got an update to the app either today or yesterday. The app is still working, so I'm guessing they moved their API urls?

I have the same problem. This might be the same issue like it was couple months ago. Token issue.

Same problem as before, the user agent is soft blocked. A fix is on the way.

Fix https://github.com/skodaconnect/skodaconnect/pull/108

Thanks, that fixed it!


Fix checkstyle in rxbinding-core

Continuation indents should be four spaces, not eight. This project uses the 'SquareAndroid' style from https://github.com/square/java-code-styles.

@JakeWharton What is the preferred style for annotation? Always should be before class/method name without newline?

Is auto refactor with square java-code-styles fine?

You haven't used the correct styles because it changed 117 files.

I fixed all the checkstyle violations in c415fa7506f8af075b6db82bac3defe338537b0b

Great thanks. We are one step closer


--no-cache parameter doesn't work properly when used without --parallel

What version of Turborepo are you using?
1.5.4
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
When i run simple build command with --no-cache option i get cached response. example:
yarn turbo run build --filter=...mal-practice --no-cache
yarn turbo run build --filter=mal-practice... --no-cache
yarn turbo run build --filter=mal-practice --no-cache

what interesting is that when i add --parallel option to same command it works as expected
yarn turbo run build --filter=...mal-practice --parallel --no-cache

Expected Behavior
As said in documentation
To entirely disable caching, append --no-cache to any command:
To Reproduce
sorry can't provide my repository it's in private org but i think this have nothing to do with repository code. also my turbo config is simple as that.
    "build": {
      "dependsOn": [
        "^build"
      ],
      "outputs": [
        "dist/**"
      ]
    },
    ....
    ```

I think this is working as intended. --no-cache causes turbo to "Avoid saving task results to the cache." You likely have cached results from some run that did not specify --no-cache. If you want to force script execution, regardless of what's in the cache, use --force.
--parallel is causing cache misses because it is changing the dependency graph. You are no longer waiting for dependencies, so turbo calculates a different hash for each task, causing a cache miss. Further specifying --no-cache in that situation means that the execution won't be written to the cache, resulting in continuing cache misses with --parallel.


Short Executable Name Space Pollution: iv

I already have an executable in my bin directory called iv which is a symlink to another executable called image_viewer.
Would it be possible not to pollute the short executable name space with iv?

Closing. I never did this, and nobody else has complained. If it's still important, it can be re-opened.


Update README.md with info about rotation

This issue reports that the Pimoroni RGB Keybad keys don't match their labels. https://github.com/pimoroni/pmk-circuitpython/issues/10
I've updated the readme to suggest a fix, and also to documen the rotate() method and its possible use cases.

Thank you!


[bazel] Complete python bazel rules

This adds missing moved_proto_library (to repliate path move hack done by artman) and py_gapic_assembly_pkg rule (outputs package identical to what artman produces),  making bazel gapic extensions for Python reach feature parity with artman.
This PR depends on https://github.com/googleapis/protoc-docs-plugin/pull/17

@noahdietz Hm... I think you are right and I should include it in README.  It will be used in the following way (a working example I was testing this stuff on):
moved_proto_library(
    name = "firestore_moved_proto",
    srcs = [":firestore_proto"],
    deps = [
        "//google/api:annotations_proto",
        "//google/api:client_proto",
        "//google/rpc:status_proto",
        "//google/type:latlng_proto",
        "@com_google_protobuf//:empty_proto",
        "@com_google_protobuf//:struct_proto",
        "@com_google_protobuf//:timestamp_proto",
        "@com_google_protobuf//:wrappers_proto",
    ],
)

py_proto_library(
    name = "firestore_py_proto",
    deps = [":firestore_moved_proto"],
    plugin = "@protoc_docs_plugin//:docs_plugin",
)

py_grpc_library(
    name = "firestore_py_grpc",
    srcs = [":firestore_moved_proto"],
    deps = [":firestore_py_proto"],
)

py_gapic_library(
    name = "firestore_py_gapic",
    src = ":firestore_proto_with_info",
    gapic_yaml = "firestore_gapic.yaml",
    service_yaml = "//google/firestore:firestore_v1beta1.yaml",
    deps = [
        ":firestore_py_proto",
        ":firestore_py_grpc"
    ],
)

I kind of try making it as less visible as possible, because it is an ugly hack

Maybe include a Note: explaining that it is a workaround or how you feel about the stability of the target? Especially if you think at some point it will go away.

@noahdietz I updated readme, calling the rule "deprecated" and explaining why it exists. As for point when it goes away - no idea, probably not soon (too much stuff depends on this hack, unfortunately).

LGTM thanks for adding that!


Feature: Allow Editors to Purge All

Editors can Purge a Page or a Section but cannot Purge All.  Could you add a toggle on the options page granting editors the ability to Purge All?
There are a couple situations that we have seen.

Uploading PDF and DOC files outside of WordPress.  We have some files that are uploaded to the server outside of WP.
Using a plugin (Enable Media Replace) to update an existing Media item.  The plugin doesn't appear to catch the change, so the old version still gets served through Cloudflare.

Giving Editors the ability to Purge All would give them the ability to resolve the issue without having to contact us for help.

I have updated the plugin to allow editors to purge all cache in version 1.0.9.
The other issue is a little more complex however the existing integration with EMR is still working.  Cloudflare should be getting the purge request for any media files and their resized versions when a file is replaced.
The problem I think you are actually experiencing in this case is that the browser is actually not requesting the updated version from cloudflare rather than just serving the locally cached version on disk.  This is due to how static content cache lifetime is declared.  I am a little hesitant on changing this as any change would have performance consequences.  In addition if the site is hosted on Pantheon then I don't think that is a value we can change.
I am going to leave this open for now while I do some more research and have some discussions with the U-M ITS Cloudflare team.

I talked it over with ITS and we have made some adjustments to the static file asset defaults.  The default max time it will cache in the browser is 1 hour and then 1 year in cloudflare.  If you are hosting your site where .htaccess is used this change will happen when you update to version 1.0.10.
If you are hosting on Pantheon this update will not work.  Due to how Pantheon's hosting environment is currently configured we cannot update the static file cache-control headers on the hosting side.  If the site is behind cloudflare we have a workaround that is working and can be enabled for your site.  You can contact the U-M ITS Cloudflare support team.
Let us know if there is anything else.


How to configure the filter using nginx.conf?

How do I set a configuration for the filter I can read in through get_vm_configuration?

If you are configuring the filter via nginx.conf (and not via the FFI or using Kong Gateway), then the 3rd argument to the module directive is the configuration: https://github.com/Kong/ngx_wasm_module/blob/main/docs/DIRECTIVES.md#module


resolver: Using {T} in a custom mapper loses Omits

Which packages are impacted by your issue?
@graphql-codegen/cli, @graphql-codegen/typescript-resolvers
Describe the bug
When using a custom mapper with {T}, the recursive definition is lost, and the default type from the typescript package is used instead.
https://github.com/dotansimha/graphql-code-generator/issues/1631 says that {T} should be the recursive definition.
Your Example Website or App
https://codesandbox.io/s/reverent-snowflake-7npr0h?file=/codegen.ts
Steps to Reproduce the Bug or Issue

Run yarn generate in a codesandbox terminal
Read types.ts's ResolverTypes["Post"] (line 119), note the definition which is ResolverTypeWrapper<Omit<Post, 'authorEdge'> & { authorEdge: ResolversTypes['UserEdge'] }>
Go to codegen.ts and change the config by uncommenting line 11 so that Post gets a custom mapper
Re-run yarn generate
Read the same type in types.ts, and note that the new type is now ResolverTypeWrapper<Omit<Post, 'tags'>>.

Expected behavior
At step 5, I expect the type to be:
ResolverTypeWrapper<Omit<Omit<Post, 'authorEdge'> & { authorEdge: ResolversTypes['UserEdge'] }, 'tags'>

Screenshots or Videos
No response
Platform

OS: macOS
NodeJS: 16.16.0
graphql version: 16.6.0

"@graphql-codegen/cli": "2.16.3",
"@graphql-codegen/typescript": "2.7.1",
"@graphql-codegen/typescript-resolvers": "^2.7.3",

Codegen Config File
import { CodegenConfig } from "@graphql-codegen/cli";

const config: CodegenConfig = {
  schema: "schema.graphql",
  documents: "document.graphql",
  generates: {
    "types.ts": {
      config: {
        mappers: {
          UserEdge: "Omit<{T}, 'user'>"
          // Post: "Omit<{T}, 'tags'>"
          // Post is `ResolverTypeWrapper<Omit<Post, 'authorEdge'> & { authorEdge: ResolversTypes['UserEdge'] }>`
          // when mapper is not specified.
          //
          // I expect that whole type to replace `{T}`.
          //
          // However, the type after mapper specification is
          // `Omit<Post, 'tags'>` which loses the `authorEdge` mapped type.
        }
      },
      plugins: ["typescript", "typescript-resolvers"]
    }
  }
};

export default config;

Additional context
No response

<EMAIL_ADDRESS>

Just tested out 3.2.2, and can confirm the bug is fixed. Thank you!


HEAD request CORS issues when logging in

After logging in, I get a blank page and there is the following error in the console
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at
https://pieterheyvaert.com/#me. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.

Looking at the network information, the error is coming from a HEAD request to my WebID.
I'm using FireFox Developer Edition 110.0b9 (64-bit). This error doesn't happen when using Chrome 109.0.5414.119.
I know that my server/pod doesn't set CORS headers for HEAD requests. but why should it? I've never seen HEAD request being mentioned in CORS discussions.

Does it work with https://pod.playground.solidlab.be in the same browser?
Does it work in another browser?

The HEAD request is coming from following workaround, this is to support ESS, but this shouldn't affect CSS pods.
https://github.com/redpencilio/ember-solid/blob/experimental/ess-support/addon/utils/forking-store.js#L115-L122
It's weird that you're experiencing this bug as I cannot reproduce it myself.

I'm getting the same CORS error with my id.inrupt.com pod, but this doesn't give me a blank page. Maybe something else is still causing that blank page.

It works with the playground. That is using the latest stable release though so not v4.
Yes, it works in Chrome 109.0.5414.119.

The internal architecture changed drastically, do you still experience this issue @pheyvaer ?

Closing this issue for now. Feel free to reopen if you would still experience the same issue.


quick fix for type mistmatch

fix for #247

:books: Documentation preview :books:: https://equistore--250.org.readthedocs.build/en/250/

it should fix the problem but it is not tested yet

@abmazitov I'll let you check this fixes the issue!

i rebased and fixed the linter with blackdoc. For me it can be merged


may i know how to run a test set

I assume you are looking to evaluate on the validation set using a pre-trained checkpoint.
I think you can achieve this by the followings:

Modify tools/train.py. Specifically, replace https://github.com/hustvl/Symphonies/blob/f74b9d4ae15a9b11c6d692224053aa882e261076/tools/train.py#L19 with trainer.test(dls[1]) referring to https://lightning.ai/docs/pytorch/stable/common/trainer.html#testing.
Load the checkpoint referring to https://github.com/hustvl/Symphonies/blob/f74b9d4ae15a9b11c6d692224053aa882e261076/tools/generate_outputs.py#L23

These steps should help you achieve your goal. Please don’t hesitate to reach out if you encounter any issues or have further questions.

well, this is validation set which seems only ran the eighth dataset. But how to run 11-20

As indicated in the README, execute the command python tools/test.py +ckpt_path=...
I would like to clarify that the test set doesn't provide labels for local evaluation. You may need to generate the predictions using this script and submit them to the test server at https://codalab.lisn.upsaclay.fr/competitions/7170.

thanks that's what needed


Add license icons to sit next to each license description

In search and browse and anywhere else

eg. i mean here:

Superceded by #33. Will not implement.


Secondary commands ellipsis on pageheader when no secondary commands present

I'm looking to have a pageheader with a single primary button with no secondary buttons. However upon adding the primary button, it looks like the EllipsisBehavior class is set to considering both primary AND secondary controls when determining whether or not to display the ellipses.
Is this correct, or am I expected to explicitly override the behavior and set the ellipsis to be collapsed?

In the Minimal template, if you nav to Settings, you will we have removed the ellipsis.

Open a new issue if I misunderstood.


[1.9.4]Redstone Transmitters Not Changing Channels

Have been trying to setup my endergens the way mcjty did in his youtube video
https://www.youtube.com/watch?v=u0E1-qBH3i4
But all the redstone Transmitters wont change channels each time i place a new one down they all say channel 5 and when hovering over them with WAILA it says channel 0
Endergens are fairly useless in 1.9.4 if these blocks do not work as advertised i am hoping its just me doing something wrong.

I can't seem to get redstone transmitters/receivers to work at_all in 1.9.4
When I place them down, they show channel 0. When I try to link them I get a message stating channel 1 has been created, however they still show channel 0. Hovering over them, WAILA briefly shows channel 1 before switching to showing channel 0.

Not doing maintenance on 1.9.4 since upgrading to 1.10.2 is so easy and there everything appears to be working

i'm having this issues on the release for mc 1.12

To @Wrsaith please explain your setup and what you're trying to do


cppapi infer score always 1 !

use the cpp infer engine , score aways 1

Found box {421.994, 172.062, 611.864, 318.555, 1.05469, -0.0234375} with score 1 and class 0
Found box {418.965, 170.98, 605.876, 318.05, 1.04688, -0.015625} with score 1 and class 0
Found box {30.9141, 172.59, 219.086, 322.41, 1.03516, 0.0078125} with score 1 and class 0
Found box {238.15, 173.336, 424.85, 319.664, 1.02734, 0} with score 1 and class 0
Found box {238.406, 172.401, 423.251, 318.099, 1.03125, -0.0117188} with score 1 and class 0
Found box {31.4307, 171.389, 216.766, 318.949, 1.03516, -0.00390625} with score 1 and class 0
Found box {30.0448, 169.448, 215.38, 315.851, 1.03516, 0} with score 1 and class 0
Found box {237.712, 173.171, 425.981, 318.427, 1.05078, 0.00390625} with score 1 and class 0
Found box {239.416, 172.763, 424.025, 316.316, 1.03906, -0.0078125} with score 1 and class 0
Found box {421.629, 176.034, 608.426, 321.863, 1.03516, -0.0273438} with score 1 and class 0
Found box {420.974, 174.145, 606.31, 319.974, 1.04688, -0.03125} with score 1 and class 0
Found box {31.8862, 167.868, 215.051, 317.179, 1.02734, 0.0117188} with score 1 and class 0
Found box {33.02, 170.293, 216.185, 317.274, 1.03125, 0} with score 1 and class 0
Found box {239.416, 168.636, 424.025, 313.892, 1.05078, -0.0078125} with score 1 and class 0
Found box {421.891, 174.019, 609.423, 319.848, 1.05078, -0.015625} with score 1 and class 0
Found box {422.133, 172.183, 608.93, 319.163, 1.04297, -0.015625} with score 1 and class 0
Found box {30.2322, 171.525, 218.125, 321.964, 1.01172, -0.00390625} with score 1 and class 0
Found box {239.305, 172.374, 423.544, 319.304, 1.01172, -0.00390625} with score 1 and class 0
Found box {421.845, 174.51, 609.002, 322.601, 1.00781, -0.0195312} with score 1 and class 0
Found box {421.069, 174.831, 606.762, 324.091, 1.01562, -0.0273438} with score 1 and class 0
Found box {238.578, 168.152, 424.271, 315.082, 1.01562, -0.0117188} with score 1 and class 0
Found box {420.422, 171.515, 608.315, 320.775, 1.00781, -0.0234375} with score 1 and class 0
Found box {239.024, 173.77, 423.117, 319.09, 1.03906, 0} with score 1 and class 0
Found box {30.6809, 174.406, 216.129, 322.055, 1.03516, 0.00390625} with score 1 and class 0
Found box {29.3466, 171.521, 214.795, 318.591, 1.03516, 0.00390625} with score 1 and class 0
Found box {236.293, 175.558, 424.677, 320.903, 1.04297, 0.0117188} with score 1 and class 0
Found box {238.014, 171.875, 423.462, 316.649, 1.03516, -0.0117188} with score 1 and class 0
Found box {419.505, 179.018, 606.416, 323.792, 1.03906, -0.0195312} with score 1 and class 0
Found box {420.49, 176.787, 605.938, 324.436, 1.04297, -0.0195312} with score 1 and class 0
Found box {31.838, 170.107, 216.56, 318.923, 1.02734, 0.00390625} with score 1 and class 0
Found box {237.22, 169.175, 422.668, 315.093, 1.04297, -0.00390625} with score 1 and class 0
Found box {420.779, 173.361, 609.905, 320.431, 1.04297, -0.0234375} with score 1 and class 0
Found box {420.49, 173.865, 605.938, 321.515, 1.03516, -0.015625} with score 1 and class 0
Found box {32.3805, 171.836, 217.619, 318.164, 1.02344, 0} with score 0.999512 and class 0
Found box {238.768, 173.839, 422.888, 319.536, 1.04297, 0.00390625} with score 0.999512 and class 0
Found box {420.487, 176.237, 607.644, 320.874, 1.02344, -0.0195312} with score 0.999512 and class 0
Found box {241.29, 169.582, 423.371, 313.652, 1.03516, -0.0117188} with score 0.999512 and class 0
Found box {422.125, 175.352, 607.817, 320.559, 1.03906, -0.0273438} with score 0.999512 and class 0

use the cpp infer engine , score aways 1; rotated_box

nms no work??


Add a way to "Save All without Formatting" similar to the "Save (current file) without Formatting" command

There's a command "Save Without Formatting" which can be useful for a number of reasons:

TypeScript formatter sometimes indents incorrectly and I have to fix then save-without-formatting
Despite being named "Without Formatting" it also skips codeActionsOnSave... This makes it a way to ensure you save quickly without waiting if the language server is busy/slow
Some extension operations may need to save files, but don't want to reformat (of fix) the users code because the save was implicit

For example, in Flutter there is a Hot Reload icon on the debug toolbar. If you have dirty files and click it, the unsaved changes will not be hot reloaded. Users expect that button will implicitly save files. While we could call workbench.action.files.saveWithoutFormatting to save the active file quickly, we'd have to use vs.workspace.saveAll(false); to save all, and that may trigger slow work (and reformatting) that the user might not expect.
What I'd really like is a "Save All Without Formatting" (or a "Save Without Formatting" I can pass a single non-active file to) so I can save the relevant files without introducing a potential long delay depending on what the user has set in codeActionsOnSave and without visible reformatting their files.

fyi @bpasero

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

I think this would be relatively easy to implement by duplicating this command:
https://github.com/microsoft/vscode/blob/35be9bf683eace09796e59d54f1f225bbc3a7866/src/vs/workbench/contrib/files/browser/fileCommands.ts#L492-L502
And passing in skipSaveParticipants: true.

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


implement Random.secure for web - Use crypto.getRandomValues

Use http://caniuse.com/#feat=getrandomvalues
Right?
CC @crelier @sigmundch

Related commit adding API and implementing in vm - https://github.com/dart-lang/sdk/commit/09954546fb3246c4476ee4a92c4b7bef73964756

I am not familiar with web APIs, but I would guess you can use that one.

/cc @lrhn
seems feasible, I'm not familiar enough with Random.secure to know if this API is good enough for what we need.
Moving to area-library since this is mainly would entail a fix in the implementation of Random.secure, but no changes to dart2js itself.

The documentation claims getRandomValues is crytographically secure, so it should work, and it's supported by all modern browsers.
It should be easy to implement the API in terms of random bytes in typed arrays. The hardest one is still nextInt if the limit is not a power of 2.

Landed


Inventory changer

Add inventory changer checkbox to change not in-game skins but inventory (see this)

Inventory changes are stupid... Must of the people who use them scream for attention.


Fixed #27820 -- avoided RequestDataTooBig/TooManyFieldsSent

Marked request with _mark_post_parse_error in response_for_exception
if exc is RequestDataTooBig or TooManyFieldsSent to prevent
attempts to access POST data again.

Fixed.


Fix typos

replace output_shards_axes with output_shard_axes

I think that now that Hackoberfest is over we can start accepting these again.
Although, it would still be great to fix multiple typos in the same file at once, instead of just one by one.


🚀 Feature: Programatically setting knex database options

🔖 Feature description
To use knex to authenticate with a short lived token, you need to pass in an expirationChecker function to the knex configuration object.  However the database configuration is only exposed through yaml, which has no way of passing such a function.
https://knexjs.org/guide/#configuration-options
    return {
      host : 'your_host',
      port : 3306,
      user : 'your_database_user',
      database : 'myapp_test',
      password : token,
      expirationChecker: () => {
        return tokenExpiration <= Date.now();
      }

🎤 Context
In my case, I'm specifically looking at authenticating with PosgreSql using Azure AD authentication, which involves using a short lived access token as the password.
https://learn.microsoft.com/en-us/azure/postgresql/single-server/how-to-configure-sign-in-azure-ad-authentication#authenticate-with-azure-ad-as-a-single-user
https://discordapp.com/channels/687207715902193673/687235481154617364/1054814021846577254
✌ Possible Implementation
Suggested by @freben in discord

Could be that it'd be possible to add additional knex runtime options to the database manager at runtime, but there's no such mechanism at the moment
like, to these options https://github.com/backstage/backstage/blob/415cd3245064d10e63688fd3c5cf8601893205e1/packages/backend-common/src/database/DatabaseManager.ts#L47

👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, but I'm happy to collaborate on a PR with someone else

+1, let's add something to DatabaseManagerOptions. I think we can make it pretty low level as this should be a pretty low-level customization. We could for example add an option param that is something like getOptionsForPlugin(pluginId: string, configuredOptions: object)


ObjectiveC generics are not type erased properly

Input C/C++ Header
@interface Base
@end

@interface NSArray<ObjectType> : Base
-(ObjectType)getit;
@end

Bindgen Invocation
bindgen --objc-extern-crate generics.m -- -x objective-c

Actual Results
/* automatically generated by rust-bindgen */

#[macro_use]
extern crate objc;
#[allow(non_camel_case_types)]
pub type id = *mut objc::runtime::Object;
pub trait Base {}
impl Base for id {}
pub trait Bar {
    unsafe fn getit(self) -> *mut ObjectType;
}
impl Bar for id {
    unsafe fn getit(self) -> *mut ObjectType {
        msg_send!(self, getit)
    }
}

Expected Results
At a minimum we should erase the generics. Even better we could convert them to rust generics.
Proper support for this is needed for running bindgen on the mac system headers.

Objc support is known-WIP. But type-erasing this or generating the generics should be easy, it'd be just a matter of figuring out how clang exposes them on the AST and hooking them up to the rest of template parameter infrastructure we have in src/ir/analysis.


The Atom team will unpublish this package on June 1st

This package is using many deprecated APIs and appears to be unmaintained but is a major contributor to deprecations experienced by users.
There are couple ways to fix this by June 1st:

Please fix the deprecations
Add @kevinsawicki or I as a collaborator to this repo

If neither of those happen by June 1st, we will unpublish this package from atom.io, and will recommend https://github.com/AtomLinter/Linter as an alternative. It seems a lot of people are using atom-lint, and it would be a shame to need to kill it.

@benjohnson
For option two, are you suggesting taking over the project and fix the deprecations? If so, then why not just fork the project and make your fork the official source instead of switching to another linter? The description of this project says "Obsolete", so I'm guessing @yujinakayama isn't coming back to it.


Horizontal object distance problem.

Required Info

Camera Model
{ D415 }

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux (Ubuntu 18)

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
NVIDIA Jetson

SDK Version
{ 2.0 }

Language
{C++ }

Segment

Issue Description
question
The distance between the straight line and the oblique line must be very different between the camera and the object.
However, checking with the depth.get_distance function is not so different.
The object color on the right side of the screen should not be blue.
I want to know why.

Could you please share IR / RGB images as well?

In RGB, the object is not displayed on the screen because the angle of view is small.

I'm not sure I understand. Is the color-scale on the right not accurately depicts object distances? Or are the distances from get_distance wrong?

The actual measurement result is that the middle object is the closest, and the object should be farther away on the oblique side.  However, get_distance results in very similar values.

 I want to know the reason.

I don’t quite understand what you mean by oblique angle. You mean the objects in left and right side should be farther away?
When you consider distance to camera for your ground truth measurement do you measure from camera or from the plane of the camera? The depth map measures the distance in Z axis. If you want actual total distance directly away from the camera point you need to convert to pointcloud and then measure distances.
I am not sure if this helps.

@vusdo Do you still have questions about this? Looking forward to your update. Thanks!

@vusdo Could you please update? Thanks!

@vusdo Didn't get response from you for weeks. If no other questions, will close it accordingly. Thanks!


Add more game over messages

Add them even for outcomes such as Restart, e.g., about perseverance or Camping, e.g., about how levels are persistent, even across game save/reload. Generally, keep them terse, add flavour (these are end game messages, so all should be in character, not meta-hints) and help newcomers understand the basic or help advanced players drop wrong habits or spot an extra mechanics to use.
Now that these messages are displayed in F1 scenario screen, they are worth the trouble, while previously some players would just ESC trough them or kill the window.

To get the new messages shown in F1 scenario screen, somewhere record that Camping and Restart outcomes has been experienced. Right now they are probably ignored.


Update INSTALL.txt

The webpage element portation tools need the zip extension, such as the php7.0-zip package on Debian.

You might want to also update Zotlabs/Module/Setup.php to include that in the installation checks.


Configuring Postgres Db into uaa

I have some observation regarding configuring postgres for uaa, I have below configuration in my uaa.yml file (Windows 10 machine), but uaa is not able to connect into postgres uaa database, it requires uaa database should be created manually before starting Apache Service.

is this is intended behavior?
what I am expecting is, the uaa database in postgres should be created automatically.

Please clarify me.
uaa.yml:-
spring_profiles: postgresql
database:
driverClassName: org.postgresql.Driver
url: jdbc:postgresql:uaa
username: xxxxxx
password: xxxxxx

uaa uses flyway to create db tables but the DB itself needs to be created , so yes it is expected behaviour.
see here for uaa ci pipeline the docker setup
https://github.com/cloudfoundry/uaa/blob/develop/ci/image/Dockerfile#L162-L166


fix(tier4_perception_launch): change traffic light recognition pipeline

Description

This PR changes the traffic light recognition pipeline.
Currently, crosswalk_traffic_light_estimator is launched before traffic_light_arbiter. This causes crosswalk traffic light estimation to work only for internal traffic signals, not for external V2X signals.
Switching their places on the launch file is proposed, so that crosswalk_traffic_light_estimator will be the last node on the pipeline and will work for all traffic signals including V2X.

Related links

Fixes: https://github.com/autowarefoundation/autoware.universe/issues/6878
Tests performed

Tested on logging simulator with a bag file.
Notes for reviewers

Interface changes

traffic_light_arbiter used to output the traffic signals at the end of the pipeline as /perception/traffic_light_recognition/traffic_signals topic. Now, crosswalk_traffic_light_estimator is at the end and it outputs that topic.
traffic_light_arbiter now produces /perception/traffic_light_recognition/judged/traffic_signals topic and it goes to crosswalk_traffic_light_estimator
It is possible to do a naming refactor for judged.
Effects on system behavior

traffic_light_arbiter and crosswalk_traffic_light_estimator will be switched in the launch file.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

Let me confirm my understanding of the issue. Are you saying that when the signal recognition information for vehicles is being transmitted via V2X, but the local signal recognition for vehicles is not functioning, the system is unable to recognize the signals for pedestrian crossings?

Hello @yukkysaito , could you also approve and run the CI workflow? I don't have permission to do that.

Hello @yukkysaito , sorry for disturbing you again. I updated the branch and it seems the CI work again. Could you approve again? I also don't have write permission, I can't merge it.

When are we considering updating the node graph for the documentation?


05 01 2023  as edgescan integration

Change(s):

Updated playbook name to match our company's current naming convention
Updated sentinel connection to use managed identity
Updated playbook to use Azure Key Vault for Edgescan API token
Updated documentation to cover aforementioned changes and to match our company's current documentation practices
Created new directory to match new playbook name
Deleted old directory with outdated playbook and documentation

Reason for Change(s):

Matching current convention
Keeping up with MS recommended best practices

Testing Completed:

Yes

@manishkumar1991 Suggested changes have been made, thanks!

Hi @manishkumar1991, can you please provide your feedback on the updates?

Hi @manishkumar1991, can you please provide your feedback on the updates?

Reviewing the changes


Learn Golang

Current covered the following features:

Printing to the screen.
Variables.
Constants.
Primitive data types.
Collective data types.
Arrays.
Slices.
Maps.
Structs.


etcd v3.2 fails to start with multiple peer urls

Bug/question
Before etcd v3.2 multiple peer urls could be configured (e.g. ETCD_LISTEN_PEER_URLS=http://$private_ipv4:2380,http://$private_ipv4:7001).
But starting on 3.2.0 if a cluster is started or upgraded to this version with multiple peer urls it is continuously starting elections and it never reaches the healthy state (see https://github.com/coreos/bugs/issues/2095), what is confusing.
As the flag is still plural we could think that it should still be supported. If it's not going to be supported I think it should fail to start with multiple peer urls.

Can you provide full logs? Not just leader election parts.

confirmed via procfile:
etcd1: bin/etcd --name infra1 --listen-client-urls http://<IP_ADDRESS>:2379 --advertise-client-urls http://<IP_ADDRESS>:2379 --listen-peer-urls http://<IP_ADDRESS>:12380,http://<IP_ADDRESS>:12381 --initial-advertise-peer-urls http://<IP_ADDRESS>:12380 --initial-cluster-token etcd-cluster-1 --initial-cluster 'infra1=http://<IP_ADDRESS>:12380,infra2=http://<IP_ADDRESS>:22380,infra3=http://<IP_ADDRESS>:32380' --initial-cluster-state new --enable-pprof
etcd2: bin/etcd --name infra2 --listen-client-urls http://<IP_ADDRESS>:22379 --advertise-client-urls http://<IP_ADDRESS>:22379 --listen-peer-urls http://<IP_ADDRESS>:22380,http://<IP_ADDRESS>:22381 --initial-advertise-peer-urls http://<IP_ADDRESS>:22380 --initial-cluster-token etcd-cluster-1 --initial-cluster 'infra1=http://<IP_ADDRESS>:12380,infra2=http://<IP_ADDRESS>:22380,infra3=http://<IP_ADDRESS>:32380' --initial-cluster-state new --enable-pprof
etcd3: bin/etcd --name infra3 --listen-client-urls http://<IP_ADDRESS>:32379 --advertise-client-urls http://<IP_ADDRESS>:32379 --listen-peer-urls http://<IP_ADDRESS>:32380,http://<IP_ADDRESS>:32381 --initial-advertise-peer-urls http://<IP_ADDRESS>:32380 --initial-cluster-token etcd-cluster-1 --initial-cluster 'infra1=http://<IP_ADDRESS>:12380,infra2=http://<IP_ADDRESS>:22380,infra3=http://<IP_ADDRESS>:32380' --initial-cluster-state new --enable-pprof


[2.x] RPC compatibility (and other) fixes and docs

Problem
RPC audit.
Solution
Lots of minor problems were found and fixed, but two problems stand out: system fee calculations (that affect available GAS estimations) and NEP5 balance switch from int64 to big.Int (because there are tokens that easily overflow int64).

Also there are some restrictions on the field sizes, which are not currently in neo-go:
For publish transactions Name, Author etc. fields are resticted in size: https://github.com/neo-project/neo/blob/master-2.x/neo/Network/P2P/Payloads/PublishTransaction.cs#L55
Register: https://github.com/neo-project/neo/blob/master-2.x/neo/Network/P2P/Payloads/RegisterTransaction.cs#L59
State: https://github.com/neo-project/neo/blob/master-2.x/neo/Network/P2P/Payloads/StateTransaction.cs#L27

@AnnaShaleva:

"confirmations" :<PHONE_NUMBER> for the current block, nice catch
This behavior is mentioned in rpc.md update, but at the same time it can be fixed, especially for token type.
Well, we don't support parameters to getrawmempool and it's documented now, I think it's OK.

@fyrchik, @AnnaShaleva: see updated version, it's available at rpc4 also now.

@fyrchik?


[PERFORMANCE] Minor enhencements...

Hello Joe!
Thanks for the review!
I am currently working on improving the performances for the Apache James server and especially of the JMAP stack that does extensive use of the MIME4J library. The profiler returned some interesting findings within the MIME4J library.
Amongs them:

20% of Message.Builder interactions are spent doing some toLowerCase. (and 13% of CPU).
PATTERN initialisation gains were marginal

About the gains I am thinking of:

In Message.Builder::build avoid calling addField for each field. My feeling is that we could directly build a HeaderImpl as part of AbstractEntityBuilder and offer a lower level copy() operation that copies the underlying collections without  all the overhead added by addField.

Doing:
return Message.Builder
               .of()
               .use(MimeConfig.PERMISSIVE)
               .parse(messageContent)
               .build();

10% of the time is spend duplicating the headers via addField in Message.Builder::build...

Finally Date header parsing is definitly sub optimal - but some advanced DateTimeFormater wizardry is needed. I did not win that battle yet...

(https://issues.apache.org/jira/browse/MIME4J-298)


Add st-andrews-main-library-occupancy extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi,
How can I connect my extension to my account? I’ve already linked my GitHub account to my Raycast account.
Thanks,
Harry
From: raycastbot @.>
Date: Thursday, May 23, 2024 at 08:55
To: raycast/extensions @.>
Cc: Harrrrrry @.>, Mention @.>
Subject: Re: [raycast/extensions] Add st-andrews-main-library-occupancy extension (PR #12420)
🎉 🎉 🎉
Such a great contribution deserves a reward, but unfortunately we couldn't find your Raycast account based on your GitHub username @.***https://github.com/Alleluia23).
Please link your GitHub account to your Raycast accounthttps://www.raycast.com/settings/account to receive your credits and soon be able to exchange them for some swag.
—
Reply to this email directly, view it on GitHubhttps://github.com/raycast/extensions/pull/12420#issuecomment-2126465069, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN457N3SNRCPP2HXRAWPPFDZDWOHLAVCNFSM6AAAAABH4AOZHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWGQ3DKMBWHE.
You are receiving this because you were mentioned.Message ID: @.***>


Map provinces/divisions and districts of Pakistan, Nepal, Bangladesh

(Disclaimer: I largely have no idea what I'm doing. I'm just going by the fact that local instance, somewhat very flakily, showed the maps)

Nepal Provinces

Nepal Districts

Pakistan Provinces

Pakistan Districts (these are AA3 because there's Divisions at AA2, but they don't have GeoJSONs)

Bangladesh Divisions

Bangladesh Districts

Thanks!


As a world health organisation analyst, I want to produce a report by capital cities of all the countries in the world about population so that I can support population reporting of the organisation.

Capital city reports


mypy vs os x vs no sched_getaffinity

Describe the bug
When I ran the make test command, I got the error below.
process_worker_pool.py:643: error: Module has no attribute "sched_getaffinity" [attr-defined]
parsl/executors/high_throughput/process_worker_pool.py:683: error: Module has no attribute "sched_setaffinity" [attr-defined]
parsl/tests/test_python_apps/test_lifted.py:28: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
parsl/tests/test_python_apps/test_lifted.py:29: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
To Reproduce
On MacOs, after creating a virtual environment and running the make test command from the instructions on the readme file, run the make test command.

Follow the installation steps from the readme file
After creating and activating the virtual environment, run make test inside the virtual environment
See error

Expected behavior
You'll get the error sched_getaffinity" [attr-defined] declared above.
Environment

OS:  MacOS
Python version : 3.12
Parsl version

Distributed Environment

MacBook Air (13-inch, 2017)

@benclifford  At your request from issue #3105, I have created this note. Please review it and let me know if any further action is needed.

I am also seeing this exact error on macos, seems like it is not available on macOS because macOS uses a different process scheduling model compared to Linux

I am also seeing this exact error on macos, seems like it is not available on macOS because macOS uses a different process scheduling model compared to Linux

Well, to resolve this, i ran the smaller test suite : make config_local_test and i was able to get past that,  you could try out too

Tagging @WardLT because he wrote this code originally and might be interested.
As @azharcodeit points out, these methods aren't available on OS X and mypy is getting upset about that.
@WardLT  even wrote in some other tests a check to make those other tests be skipped on platforms which don't have scheduler affinity - see parsl/tests/sites/test_affinity.py has this line in it:
@pytest.mark.skipif('sched_getaffinity' not in dir(os), reason='System does not support sched_setaffinity')

mypy is performing a different kind of analysis of the code, and the error that it is reporting here is something like:
"If a user tries to run this code path, they are going to get an error that these sched_get/set_affinity methods do not exist."
Luckily for most users, that code path is only reached if the user has set a process affinity option, because every call to sched_setaffinity or sched_getaffinity is inside this big if statement:
   # If desired, set process affinity
    if cpu_affinity != "none":

So you can interpret the mypy error message a bit more as: if a user on OS X tries to set the cpu_affinity configuration option, then this code will break.

This is quite an interesting bug to untangle, but I don't expect someone from Outreachy to do it - so for now, we have to accept that the mypy test (which is run as part of the make test tests) will not pass on OS X. You can see from other Outreachy applications (@kemsguy7 above, for example) that there are ways to run just a smaller subset of the tests.


Only display a notification on the sidebarToggle-button, and not the individual view-buttons (PR 7959 follow-up)

The whole purpose of showing a notification on the sidebarToggle button, when the sidebar is closed, was to give users some kind of indication that the PDF document contains outline/attachments/layers without having to manually open the sidebar to check.
However, in the implementation in PR #7959, I also added notifications for each view-buttons in the sidebar. Looking back at this, I've always questioned the value of the last part, since the view-buttons already have a disabled-state which shows if they're available or not. Hence we're actually, in a sense, duplicating notifications for the outline/attachments/layers-buttons without adding (in my opinion) all that much overall value.
All-in-all, I'm thus proposing that we only display the notification on the sidebarToggle-button itself, since that should really be sufficient here, which also allows us to simplify the relevant code a fair bit.

/botio-linux preview

/botio-linux preview

I agree. Thank you for simplifying this!

I agree. Thank you for simplifying this!


fix: update PR to only add new React course

fix: #748

Removed unnecessary changes to unrelated files.
Ensured that only the React course addition is included in this commit.
Fixed issues with unintentional modifications to other lines.

@avinash201199 I have resolved the issues as requested, ensuring that only the new React course addition is included in this pull request. Could you kindly review the updated code? If there are any further issues, please let me know, and I will address them promptly. Otherwise, I would appreciate it if you could proceed with merging the pull request.
Thank you for your time and consideration!

@avinash201199 Could you please review my code at your convenience? If there are any further issues, I am happy to work on resolving them. Your feedback is appreciated, and I'll make any necessary changes promptly.

Thank you for your contribution !

Thank you for the opportunity! I'm glad to contribute, and I look forward to supporting the project further.


Backend Startup Failure Due to Unset Environment Variables

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend.venv\Scripts\python.exe C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend\app\main.py
Traceback (most recent call last):
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend\app\main.py", line 2, in
from app.config import CONFIG
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend\app\config.py", line 103, in
CONFIG = Config()
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend\app\config.py", line 86, in init
self.TASKINGAI_PLUGIN_URL = load_str_env("TASKINGAI_PLUGIN_URL", required=True)
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend\app\config.py", line 33, in load_str_env
raise Exception(f"Env {name} is not set")
Exception: Env TASKINGAI_PLUGIN_URL is not set
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

INFO:     Started server process [8616]
INFO:     Waiting for application startup.
2024-03-28 03:19:03,844 - fastapi_app - INFO - fastapi app startup...
2024-03-28 03:19:03,844 - fastapi_app - INFO - start plugin cache scheduler...
2024-03-28 03:19:03,845 - apscheduler.scheduler - INFO - Adding job tentatively -- it will be properly scheduled when the scheduler starts
2024-03-28 03:19:03,847 - apscheduler.scheduler - INFO - Added job "sync_data" to job store "default"
2024-03-28 03:19:03,847 - apscheduler.scheduler - INFO - Scheduler started
2024-03-28 03:19:03,847 - fastapi_app - INFO - Syncing model schema data...
2024-03-28 03:19:07,856 - fastapi_app - ERROR - Failed to sync model schema data.
2024-03-28 03:19:07,856 - fastapi_app - INFO - fastapi app shutdown...
ERROR:    Traceback (most recent call last):
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend.venv\lib\site-packages\aiohttp\connector.py", line 992, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs)
File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 1055, in create_connection
raise exceptions[0]
File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 1040, in create_connection
sock = await self._connect_sock(
File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 954, in _connect_sock
await self.sock_connect(sock, address)
File "C:\Program Files\Python310\lib\asyncio\selector_events.py", line 502, in sock_connect
return await fut
File "C:\Program Files\Python310\lib\asyncio\selector_events.py", line 537, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 10061] Connect call failed ('<IP_ADDRESS>', 8002)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend.venv\lib\site-packages\starlette\routing.py", line 734, in lifespan
async with self.lifespan_context(app) as maybe_state:
File "C:\Program Files\Python310\lib\contextlib.py", line 199, in aenter
return await anext(self.gen)
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend\app\fastapi_app.py", line 43, in lifespan
await sync_data(first_sync=True)
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend\app\fastapi_app.py", line 21, in sync_data
await sync_model_schema_data()
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend\app\services\model\model_schema.py", line 38, in sync_model_schema_data
response = await session.get(
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend.venv\lib\site-packages\aiohttp\client.py", line 578, in _request
conn = await self._connector.connect(
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend.venv\lib\site-packages\aiohttp\connector.py", line 544, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend.venv\lib\site-packages\aiohttp\connector.py", line 911, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend.venv\lib\site-packages\aiohttp\connector.py", line 1235, in _create_direct_connection
raise last_exc
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend.venv\lib\site-packages\aiohttp\connector.py", line 1204, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend.venv\lib\site-packages\aiohttp\connector.py", line 1000, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host localhost:8002 ssl:default [Connect call failed ('<IP_ADDRESS>', 8002)]
ERROR:    Application startup failed. Exiting.

It appears you are trying to launch the project from source code.
The application startup failed according to the logs, because the environment variables TASKINGAI_PLUGIN_URL and TASKINGAI_INFERENCE_URL must be specified.
Please set them to point to the Docker pods taskingai/taskingai-plugin and taskingai/taskingai-inference (e.g.http://<IP_ADDRESS>:8002).

is that so

What should I do if I don’t want to use Docker?

What should I do if I don’t want to use Docker?

@luolin-ai Since TaskingAI-Inference and TaskingAI-Plugin are not yet ready to be made open-source on GitHub, it is recommended to host TaskingAI directly through Docker.
If you are keen on starting from the source code, please follow our organization and stay updated. We plan to make TaskingAI-Inference open-source in April, followed by TaskingAI-Plugin :-)

OK 坐等开源   我做一个基于企业微信的TaskingAI客户端 马上项目

@luolin-ai The nference and plugin services are now open source. Thanks for your support :-)

ok


elfx86exts 0.4.3 / capstone 0.7.0 overlooks instructions in some circumstances

Basically I have two builds of elfx86exts, both of which I'm running against the same large binary (126M). Both builds were created via cargo install elfx86exts with rust-1.48.0. The first build is stock elfx86exts-0.4.3 and the second build is one I patched manually to update the capstone dependency to ^0.10 (previous build was against the capstone-0.7.0 crate).
The two behave very differently. Here's the stock version:
$ time elfx86exts test_binary
MODE64 (call)
SSE1 (stmxcsr)
AVX (vzeroupper)
AVX2 (vpcmpeqd)
NOVLX (vpcmpeqd)
CPU Generation: Unknown

real	0m0.044s
user	0m0.007s
sys	0m0.015s

And here's my manually patched version:
$ time elfx86exts test_binary
MODE64 (call)
SSE1 (stmxcsr)
AVX (vzeroupper)
AVX2 (vpcmpeqd)
NOVLX (vpcmpeqd)
AVX512 (vmovdqu32)
SSE2 (pcmpeqd)
CMOV (cmovne)
VLX (vpbroadcastd)
BWI (vpcmpeqb)
BMI (andn)
CDI (vptestnmd)
DQI (kmovb)
BMI2 (shlx)
SSE3 (movddup)
SSE41 (roundss)
MMX (emms)
SSE42 (pcmpistri)
SSSE3 (phaddd)
NOT64BITMODE (xchg)
CPU Generation: Unknown

real	0m47.405s
user	0m29.692s
sys	0m17.684s

Wildly different runtimes and detected instruction sets. It seems like the stock version is exiting early but it does so silently and without raising any error (exit code is 0).
I had to change two lines to get here; the first was in Cargo.tml:
 [dependencies.capstone]
-version = "^0.7"
+version = "^0.10"

And the second in src/main.rs:
             for group_code in detail.groups() {
-                if seen_groups.insert(group_code) {
+                if seen_groups.insert(group_code.clone()) {
                     // If insert returned true, we hadn't seen this code before.
                     if let Some(desc) = describe_group(group_code.0) {

To satisfy the borrow checker -- I guess the return type of detail.groups() has changed upstream but I didn't investigate in detail, just picked up the biggest hammer from my rust beginner's toolkit :)

@pkgw I can confirm that the massive memory allocation is still the case as of the latest release. Analyzing a 123MB binary OOMs my 24GB RAM machine.

I can confirm that the massive memory allocation is still the case as of the latest master branch. Analyzing a 17MB binary (/bin/supertuxkart) OOMs my 16GB RAM machine.

I don't use this tool myself anymore and unfortunately I'm not in a position to spend time on it, but maybe the proposal in #47 would help with addressing this.

Oh, also, the original issue was something different, so I'm opening a new issue for the memory consumption problem. Please continue discussion in #90.


Feature for Timer to measure callable performance

Description
This is a convinience feature enhancement for Timer to measure short code blocks without adding its start/stop methods before and after the block. The new method record() accepts a string and a callable as parameters.
// Example
$benchmark->record('slow_function', function () { slow_function('...'); });

Which is the equivalent to
$benchmark->start('slow_function');
slow_function('...');
$benchmark->stop('slow_function');

It can also return the callables return value
$length = $benchmark->record('string length', fn () => strlen('CI4'));
// $length = 3

Alternatively the common function timer() also accepts an optional callable for the same mechanics. Leaving out the 2nd parameter behaves like before (returning a Timer instance).
$length = timer('string length', fn () => strlen('CI4'));

Checklist:

[x] Securely signed commits
[x] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

There are coding style violation. Please fix.
See https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#php-style

Please fix coding style and failed tests.

Calling strlen without any parameters has 2 different behaviours between PHP7 and PHP8. That's why the unit test keep failing for 7.4, but not for 8.0 and 8.1:
// PHP 7.4 and before
strlen();   // throws ErrorException (extends Exception)

// PHP 8.0 and after
strlen();   // throws ArgumentCountError (extends TypeError)

@kenjis I can offer 2 solutions:

Unit test expects a Throwable to be thrown
I catch ErrorException inside record() and throw an ArgumentCountError

@rumpfc Not specifically catch Exception in the method. So it's weird to catch only ErrorException.
I don't know all ErrorExceptions in PHP7 will be ArgumentCountError in PHP8.
So it's okay to expect Throwable in the test.
Also, please comment why we need to use Throwable.

Thanks all!


(spanish) README.md

Translate file README.md to spanish
NOTE: This PR must be merged when the whole translation is completed, so that the links work properly.

@abrildur , gracias por el aporte.


typo: deliimited -> delimited

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/Publisher.EmailMergeEnvelope.md
:white_check_mark:Succeeded
View

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


Remove redundant -ldl linkopt

We no longer use dlsym in the driver and thus don't have to link with
-ldl.

CI should be fixed by https://github.com/CodeIntelligenceTesting/jazzer/pull/415


Intermittent Memory access fault by GPU - Reason: Unknown.

Hi,
2 out of 5 executions are failing on my program.
This seems like a better place than my original issue:
https://github.com/ROCm-Developer-Tools/HIP/issues/2097
Any tips to debug would be appreciated.
System
Debian 10 buster-backports / kernel 5.5
GPU VEGA 64 RX Liquid
CPU - Ryzen 3950x @ stock
Mobo - Asrock Taichi x570 @ stock
RAM - 64GB DDR4 @ 3ghz XMPP auto

This seems to have been resolved by setting a non-zero sized "dynamicShared"

my own fault.


Some questions running nanopolish on human genome

Hi
I followed the steps in http://nanopolish.readthedocs.io/en/latest/quickstart_consensus.html but the result was different from the page.

I ran the command down below

nanopolish index -d /home/tzuyaochen/Desktop/nanopore/project/20180705_RD_WGA/reads_output/workspace/pass/barcode09/fast5 /home/tzuyaochen/Desktop/nanopore/project/20180705_RD_WGA/reads_output/workspace/pass/barcode09/outfile.fasta
but there were nothing generated by the code. I didn't know whether I give the wrong parameter or something else.

Is the draft.fa the same as the reference.fa such as human reference genome Grch38p2.fa? I was trying to run the nanopolish variants with Grch38p2.fa as the draft.fa file using the command below

nanopolish variants -o polished.{1}.vcf -w {1} -r /home/tzuyaochen/Desktop/nanopore/project/20180705_RD_WGA/reads_output/workspace/pass/barcode09/outfile.fasta -b /home/tzuyaochen/nanopolish/reads.sorted.bam -g /home/tzuyaochen/Grch38p2.fa -t 4 --min-candidate-frequency 0.1
then I got an error message:
Error: could not find path to FAST5 for read @0001e08d-4788-4851-912d-c60af24a9940
Please make sure that this path is accessible: barcode=barcode09
Thanks for your help!

Did the nanopolish index step print any messages to the terminal? It should write out how many reads it found in the fasta file and how many fast5 paths it was able to resolve. If you didn't see any output then the indexing step must have failed.

Hi, thanks for your reply!
I found my problem with the indexing step and it works!
but there are still some errors when I run the "nanopolish_makerange.py". The command is
python nanopolish_makerange.py /home/tzuyaochen/Grch38p2.fa | parallel --results nanopolish.results -P 4
and I got error message
python: can't open file 'nanopolish_makerange.py': [Errno 2] No such file or directory
also some errors in the variants step when I run
nanopolish variants -o polished.{1}.vcf -w {1} -r /home/tzuyaochen/Desktop/nanopore/project/20180705_RD_WGA/reads_output/workspace/pass/barcode09/outfile.fasta -b /home/tzuyaochen/nanopolish/reads.sorted.bam -g /home/tzuyaochen/Grch38p2.fa -t 4 --min-candidate-frequency 0.1
with the error message
TODO: train model
TODO: filter data
Error: could not find path to FAST5 for read @0001e08d-4788-4851-912d-c60af24a9940
Please make sure that this path is accessible: barcode=barcode09
It would be wonderful if you could help me find my problem in my command or somewhere else.
Thanks for your help!

You appear to be running a very old version of nanopolish. Please try with a more recent version.
(sorry for the slow reply, I was on vacation)
Jared

Thanks for your reply!
I had fixed the problem and it works perfect now.
Sincerly,
Tzu-yao chen

Great, thanks for letting me know


hash? predicative raises ArgumentError

When trying to add hash? predicative ArgumentError is raised:
2.2.4 :001 > schema = Dry::Validation.Schema { key('address') { hash? } }
ArgumentError: wrong number of arguments (0 for 1..3)

is this a bug or am I doing something wrong?

@nevalla you should use .schema when defining nested structures, i.e.
schema = Dry::Validation.Schema { key(:address).schema { hash? } }

actually, schema macro automatically adds hash? check, so no need for that

Great, thanks!
I was just confused because the following seemed to work:
schema = Dry::Validation.Schema { key('address') { type?(Hash) } }

Yeah this is a bug, right now we assume hash? is gonna be used with a block


Upgrade dependencies to build using scala 2.12

For #596

[error] /home/travis/build/non/spire/core/shared/src/main/scala/spire/std/option.scala:12: value combine is not a member of spire.algebra.Semigroup[A]
[error]     case (Some(x), Some(y)) => Some(x |+| y)
[error]                                       ^
[error] /home/travis/build/non/spire/core/shared/src/main/scala/spire/syntax/std/Ops.scala:91: too many arguments for method combine: (as: TraversableOnce[A])A
[error]     cfor(0)(_ < arr.length, _ + 1) { i => result |+|= arr(i) }
[error]                                                  ^
[error] two errors found
[error] (coreJVM/compile:compileIncremental) Compilation failed

https://travis-ci.org/non/spire/jobs/174922463#L804
we should merge first https://github.com/non/spire/pull/600 or something

@xuwei-k Will that be merged any time soon?

The tests are failing because the latest machinist aligned its method names on cats-kernel, and the current Spire release is lagging in that respect. I propose to upgrade machinist and patch manually to revert the method names to the prior convention.

Should we drop 2.10?

I introduced a minimal set of changes in #606, keeping a build for Scala 2.10.6.
Thanks @andrewsmartin for the preliminary work!


Modified to save memory when creating many unknown (custom) tags, plus option to format inline

Currently a new Tag instance is created each time a tag with previously used tagName is needed, sometimes creating thousands of unnecessary Tag instance duplicates. This pull request proposes to fix this by maintaining a map of customTags, similar to the 'tags' map maintained for known tags, and returning a tag from this list, if the tagName is already there.
Also, for a custom tag that can "do anything", a choice is needed to decide if it should be formatted as block or not. For this the pull request provids a new variant of Tag valueOf(String tagName, boolean formatAsBlock).
LONG RATIONALE: custom, unknown tags may be used if the HTML and DOM are manipulated only for internal consumption in an app, and not for publishing on the web. For example, in my case I wrap words and sentences in HTML pages or long ebook chapters for the purpose of sending entire sentences to TTS engine for reading aloud with correct intonation, while being able also to highlight the currently read sentence. A long page or ebook chapter may have thousands of words, and I wrap them into <w> tags to have them short, instead of <span class="wordFindSomeUniqueClassName">. I also need my words (and <snt> tags for sentences) formatted as inline elements, not blocks.
I also developed code for extracting and wrapping equivalents of JavaScript Range objects and "DocumentFragments". Maybe it could be part of jsoup as well - let me know if interested, see more at
http://stackoverflow.com/questions/34301276/jsoup-equivalent-of-dom-range-operations-like-extractcontents-etc
This small pull request does not contain that code.
Greg Kochaniak, Hyperionics

Thanks for the PR. However by placing every unknown tag found into a static map, this would introduce a memory leak / DOS vector (i.e. deliberately or accidentally feeding a jsoup app HTML with random tags). It would be possibly OK to do it within the context of the current doc, but I wouldn't want to see it for a Parser (which can get reused) or for the whole lifecycle of the app.
Did you measure the memory benefit of this for your use case? Interested to see what the gain is.
Also why is block the only configurable option?
My inclination to make this a useable feature would be to create something like a ParseSettings object (like Document.OutputSettings) which is given at the Parser initiation time. That could be given a set of custom tags (and open up the control of block, inline, data, etc) which would override any canned ones. I was thinking of that settings object to control attribute normalization, etc.
Also, what's with the changes to HttpConnection? Seems irrelevant to the PR.

Hello Jonathan,
I have no longer means of testing this, since some months ago I implemented my HTML DOM editing completely in C++, based on HTML Tidy parser and my own C++ code on top of it to do what I need (splitting text into paragraphs and sentences), it’s over 10x faster than Java. However in some long HTML texts (e.g. ebook chapters) I was creating thousands of custom tags  and  so the new tag names created for each instance were affecting performance and memory use.
The HttpConnection issue was later, I had trouble connecting to some secure web sites and needed to modify the way security certificates are created. I think it was an issue with connecting to web sites signed with a private security certificate, without the correct Certification Authority. Again, this was in February, so I don’t remember the details any more… I found some article on how Google wants security implemented now, added the code, tested – it worked, so I left it there and forgot. Sorry I’m so useless.
Greg
From: Jonathan Hedley<EMAIL_ADDRESS>Sent: Monday, April 18, 2016 11:15 PM
To: jhy/jsoup
Cc: Greg Kochaniak
Subject: Re: [jhy/jsoup] Modified to save memory when creating many unknown (custom) tags, plus option to format inline (#665)
Thanks for the PR. However by placing every unknown tag found into a static map, this would introduce a memory leak / DOS vector (i.e. deliberately or accidentally feeding a jsoup app HTML with random tags). It would be possibly OK to do it within the context of the current doc, but I wouldn't want to see it for a Parser (which can get reused) or for the whole lifecycle of the app.
Did you measure the memory benefit of this for your use case? Interested to see what the gain is.
Also why is block the only configurable option?
My inclination to make this a useable feature would be to create something like a ParseSettings object (like Document.OutputSettings) which is given at the Parser initiation time. That could be given a set of custom tags (and open up the control of block, inline, data, etc) which would override any canned ones. I was thinking of that settings object to control attribute normalization, etc.
Also, what's with the changes to HttpConnection? Seems irrelevant to the PR.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub https://github.com/jhy/jsoup/pull/665#issuecomment-211707995 https://github.com/notifications/beacon/ABqnfNnChXfjjf0qdHo8t2WCjqaASLQkks5p5EjHgaJpZM4G3hjK.gif

Thanks again, but I won't take it in this current form. The idea is good and I'd like to see it in ParseSettings or similar to address my points.


Files page does not automatically show latest release

Basically, this change needs to be done automatically: https://github.com/perl6/rakudo.org/commit/e6e7f9c521a993837c360ee9c122a533de5024bf driven by the same system that knows what binary to serve for the latest release

I'm not entirely sure what the files page referred to at that time, but I know of no place on rakudo.org, where a hard version is still in use. So I think it's done.


Program received signal SIGSEGV, Segmentation fault.

xfreerdp 1.0.1 faults connecting to server.  Server in gdb script is not accessible from outside firewall.
richards@bubba-MS-7529:~/FreeRDP$ gdb xfreerdp
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
http://bugs.launchpad.net/gdb-linaro/...
Reading symbols from /usr/local/bin/xfreerdp...done.
(gdb) r wildbill.dhe.duke.edu
Starting program: /usr/local/bin/xfreerdp wildbill.dhe.duke.edu
[Thread debugging using libthread_db enabled]
[New Thread 0xb77a6b70 (LWP 4923)]
connected to wildbill.dhe.duke.edu:3389
connected to wildbill.dhe.duke.edu:3389
connected to wildbill.dhe.duke.edu:3389
FIPS Compliant encryption level.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb77a6b70 (LWP 4923)]
0xb7a6a04e in RC4 () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
(gdb) bt
#0  0xb7a6a04e in RC4 () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#1  0xb7f6025f in crypto_rc4 (rc4=0x0, length=13, in_data=0x80ae80f "",      out_data=0x80ae80f "")
at /home/richards/FreeRDP/libfreerdp-core/crypto.c:67
#2  0xb7f68fc2 in security_encrypt (data=0x80ae80f "`", length=13,
rdp=0x80a49e8) at /home/richards/FreeRDP/libfreerdp-core/security.c:460
#3  0xb7f7f00c in fastpath_send_input_pdu (fastpath=0x80b6018, s=0x80ae7f0)
at /home/richards/FreeRDP/libfreerdp-core/fastpath.c:582
#4  0xb7f5f4d2 in input_send_fastpath_synchronize_event (input=0x80b2b20,
flags=0) at /home/richards/FreeRDP/libfreerdp-core/input.c:153
#5  0xb7f787aa in rdp_client_connect_finalize (rdp=0x80a49e8)
at /home/richards/FreeRDP/libfreerdp-core/connection.c:493
#6  0xb7f7871c in rdp_client_connect_demand_active (rdp=0x80a49e8, s=0x80e0df0)
at /home/richards/FreeRDP/libfreerdp-core/connection.c:473
#7  0xb7f7ba13 in rdp_recv_callback (transport=0x80a6740, s=0x80e0df0,
extra=0x80a49e8) at /home/richards/FreeRDP/libfreerdp-core/rdp.c:818
#8  0xb7f805d6 in transport_check_fds (transport=0x80a6740)
at /home/richards/FreeRDP/libfreerdp-core/transport.c:367
#9  0xb7f7bb65 in rdp_check_fds (rdp=0x80a49e8)
at /home/richards/FreeRDP/libfreerdp-core/rdp.c:864
#10 0xb7f7781f in rdp_client_connect (rdp=0x80a49e8)
at /home/richards/FreeRDP/libfreerdp-core/connection.c:112
#11 0xb7f6feb4 in freerdp_connect (instance=0x80a48a0)
---Type  to continue, or q  to quit---
at /home/richards/FreeRDP/libfreerdp-core/freerdp.c:48
#12 0x08059dec in xfreerdp_run (instance=0x80a48a0)
at /home/richards/FreeRDP/client/X11/xfreerdp.c:952
#13 0x0805a176 in thread_func (param=0x80c7a68)
at /home/richards/FreeRDP/client/X11/xfreerdp.c:1057
#14 0xb7d96d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#15 0xb7ce60ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further
(gdb)

Ubuntu 11.10 -  code was git cloned on 02/16/2012
From Changelog
more ChangeLog
2012-02-07	Version 1.0.1
FreeRDP 1.0.1 is a maintenance release to address a certain number of
issues found in 1.0.0. This release also brings corrective measures
to certificate validation which were required for inclusion in Ubuntu.

It looks like SHA: 61aa1dfb797f370525a91cb841c01d8aa1c8be0b broke FIPS encryption support in 1.0.1.

Noone has commented with the change that was suppose to fix this issue so I removed the label of it being waiting for test.

seriously? https://github.com/FreeRDP/FreeRDP/issues/440#issuecomment-4034551

@atong sorry; I didn't notice the comment. Thanks by fixing my mistake.


update your Readme for gem usage - replace require 'openai' with require 'ruby/openai'

I followed the instructions for a basic test in ruby and after a lot of issues and errors in terminal, realized the issue was that I was using
require "openai" (from the readme)
but it should be
require 'ruby/openai'
This is on mac ventura 13.4.
please update the readme 🙏

hey @jeffrono 👋 . What version are you using? I believe that the change in require statements happened in 4.0 but <4.0 it was require 'ruby/openai'

Hey. I’m using the latest version I think 4.1.0.  However I’m on ruby 2.6.0 I think if that makes any difference? --------Jeff @.*** Jun 1, 2023, at 8:25 PM, Scott Carleton @.***> wrote:
hey @jeffrono 👋 . What version are you using? I believe that the change in require statements happened in 4.0 but <4.0 it was require 'ruby/openai'
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

The issue seems to be having both the openai(0.3.0) and ruby-openai(4.1.0) gems installed
I ran into the same issue today using a 3.2.0 gemset where openai (0.3.0)  was also installed as it appears the gems have a conflicting namespace.
1: require 'openai'
2: OpenAI.configure do |config|
     config.access_token = ENV['OPENAI_ACCESS_TOKEN']
   end

   NoMethodError: undefined method `configure' for OpenAI:Module

Removing the openai (0.3.0)  gem resolves this particular undefined method error.


⚠ DON'T UPDATE TO VERSION 133

We are experiencing a HUGE breakage in the urlbar with Firefox 133 that makes our theme unusable. At the moment we highly discourage to update to version 133

Temporary fix, at least to make Firefox usable in 6b61786


Test(web-twig): Colocate snapshot tests with components refs #DS-635

Description

Additional context

Issue reference

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Follow the PR Title/Commit Message Convention.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

coverage: 96.46% (+16.9%) from 79.553% when pulling 546f35d33b37f7aa0e848e1305fdcb05ffcc8e9c on test/DS-635-web-twig-component-aware-snapshots into 06f85d4e6b38c683dc47dbcd5a9ca3334de8c5b2 on main.

@dlouhak This is the way how the snapshot testing on jobs will look like. I hope I can transfer this snapshot testing and how it is structured to the Jobs soon.

The error is cause by ComponentTest.php and its namespace ui-components.

BTW, do we know why the web package was deployed for this PR? 🤔

BTW, do we know why the web package was deployed for this PR? 🤔

Interesting, I have no idea.

I think we set the demo package to build/deploy every time because other packages are dependent on it?


stash-differ: handle dis-/reappearing stashes

As outlined here, stashes can disappear and reappear as they are unlisted and relisted. We should support that in some way.

Apparently, public is meant to signal if a stash is listed or not.


Update hermes.md

@ConnorLand
@Ahmad-Elsayed
The link in Studio Pro 10.11.0 points to https://docs.mendix.com/refguide/mobile/hermes - can we update the alias to match that? We will correct the link in 10.12.

Sounds good @jdiehl . When I come back next week I'll see if there's something we all can do in order to make sure SP has fewer incorrect links pointing at docs. The issue is that sometimes URLs are coded into SP before docs gets a chance to alter the links to our standards in GitHub.


[DO-NO-MERGE][wip] 🚧  fix: update recently sold on Artsy query

Description

This PR resolves []
QA Testing

Acceptance Criteria

Setup Instructions

PR Checklist

[ ] I tested my changes on iOS / Android.
[ ] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.
[ ] I added an app state migration.
[ ] I hid my changes behind a feature flag.
[ ] I have prefixed changes that need to be tested during a release QA with [NEEDS EXTERNAL QA] on the changelog.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

update Recently Sold on Artsy query - mrsltun

Need help with something? Have a look at our docs, or get in touch with us.

Fixed with #7351


Improve README references

Thanks for the PR. You're probably right in that the references are easier to read in this line-by-line manner, as opposed to the current way where they are inline surrounded by some text in a not very structured manner.


Update README.md

some places refer to doge as xdg

Our four letter DOGE is standard to most exchanges for listing purposes to avoid this exact issue.
It was until recently the unofficial ISO code relating until it was found to be conflicting there with existing connections. References to XDG in any do not exist in any official manner as the currency abbreviation exists in the space already which is not attached to Dogecoin. This is part of why before the standard moved to four letters, DogeCoin was able to be listed as DOGE in majority of usage outlets.
This is perhaps why it has never been added, and why I do not think it should be.

Why not add a fast facts section? Also, why not also put dogecoin in the brackets?

I changed it

Many newcomers to bitcoin think bitcoin core and bitcoin are different. The same could happen with dogecoin


Scanned & Collected blueprints & fragments are not saving

I have the randomiser set up (2.0 new version) and it seemed to be working perfectly to begin with.
However, I noticed when collecting databox blueprints & scanning various things (in this case, it was the observatory, multipurpose room and various planters etc.) when the game is saved & restarted, you lose them.
Even the databox resets itself which is the oddest thing. It makes the mod unusable to me, because I dont see a point in having to rescan everything every time I turn it on
I am guessing this was not intentional, I just wanted to bring it to your attention because I LOVE this mod. I just cannot use it with the above current issue :( also, it was my only mod. so definitely no clashing going on.

Sorry to hear. Lucky for you, this is a known issue in SMLHelper and already fixed. Make sure you're on the latest version of SMLHelper (<IP_ADDRESS>).


Merge certain UI prompts

E.g. making the Euclidean Rhythm prompt a sub-prompt of channel settings, or making the Custom Theme prompt a part of Set Theme. This would help with the UI bloat that's been plaguing UltraBox recently.

Only somewhat related, but: if we ever add custom frequencies/envelopes/unisons, we should probably remove all of the extra options that aren't available in jummbox just so the UI is cleaner

Anything we make dependent on the preferences storage means more annoyance when that's cleared or lost

we could add the option to save/load preferences to/from a downloaded file that's disconnected from the web browser because it's a download.
but if anyone who would benefit from this option would find it (or even use it if they do find it) is another question.

Thanks to the Custom Theme Editor recently added in AbyssBox 1.0, merging the custom theme prompt and the set theme prompt might be harder than anticipated.

Possible combinations:

Export & Import (Filing)
Shorten URL, Copy Song URL, & Share Song URL + URL Shortener Prompt (URL Sharing)
Beats Per Bar & Song Length (Bar/Song Settings?)
Rhythm Generator & Move Beats Sideways (Note Placement/Movement)
Layout, Theme, & Custom Theme (Visuals/Appearance)

Export & Import (Filing)

this makes sense but to me the name "Filing" seems unclear what it means.
just call it "Import and Export"

Beats Per Bar & Song Length (Bar/Song Settings?)
Rhythm Generator & Move Beats Sideways (Note Placement/Movement)

to me, putting these options in one Timing menu would be clearer


Kysely in React Native

Hello, Greetings
Could Kysely be used with expo-sqlite in react native ?
Thanks

Hey 👋
Try this community dialect.


OpenCL error code -6

Description
After many many runs of the GPU Solver with the same device, dependent on its VRAM size, this error is thrown.
Apparently, the OpenCL stuff is not properly cleaned from the device after a Solver run, so that more and more VRAM gets occupied.
This is an issue of the NQueensFAF Library repo, not of this one.
This ticket just exists so people know about the bug.

Fixed by also releasing the OpenCL event used for duration measurement


Framework for aggregate testing; Example tests with LongSumAggregatorFactory

Description
We currently have decent number of tests for the aggregate, but even with them, we have been having hard time to write good tests verifying all edge cases. A most recent example could be a couple of bugs found in sql-compatible null handling mode. I think this is because we had to write every test from scratch due to the lack of a good framework.
This PR adds a new framework, AggregateTestBase, which generates random data including nulls for all data types. The data can be stored in either IncrementalIndex or QueryableIndex depending on a parameter, the caller can test reading from both of them.
To use the same data generator with our benchmarks in AggregateTestBase, I renamed some classes including BenchmarkSchemaInfo, BenchmarkColumnSchema, BenchmarkDataGenerator, BenchmarkColumnValueGenerator and moved them to druid-processing. Most of the changes in this PR are from this renaming.
Some example tests are found in LongSumAggregateTest. This class tests only aggregate() and bufferAggregate() using the data generated by AggregateTestBase. There are a couple of more new tests in LongSumAggregatorFactoryTest, LongSum(Buffer)AggregatorReplaceNullModeTest, and LongSum(Buffer)AggregatorSqlCompatibleModeTest. They are more like unit tests verifying each method of the LongSumAggregator, LongSumBufferAggregator, and LongSumAggregatorFactory. Note that tests AggregatorCombiner and MergingFactory are not added in this PR.

This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

+1 , since it improves the current state. however, even after this there  is significant effort required to thoroughly test  a new aggregator that only has  even primitive type  intermediate form :)
FYI to contributors coming here:  there is another common  utility AggregationTestHelper that serves the purpose of writing tests  that  tries  to simulate use aggregator in real cluster .

however, even after this there is significant effort required to thoroughly test a new aggregator that only has even primitive type intermediate form :)

@himanshug thanks for taking a look. Would you tell me more about this? I would like to make things better in this PR if possible.

FYI to contributors coming here: there is another common utility AggregationTestHelper that serves the purpose of writing tests that tries to simulate use of aggregator in real cluster .

Thanks for pointing it out. My original intention was to add a low-level framework for aggregator testing without using the query framework (because it's high-level!), but I admit they are kind of similar. Let me check if they can be merged.

Would you tell me more about this

I  was referring to  all the extra code it took to test LongSum aggregator in this PR. :)

Thanks for pointing it out. My original intention was to add a low-level framework for aggregator testing without using the query framework (because it's high-level!), but I admit they are kind of similar. Let me check if they can be merged.

AggregationTestHelper lets  you do more of "pseudo integration testing" . This type of testing is specially useful for complex aggregators . For example ensuring the intermediate sketch data representations are handled properly in various combinations.
However, I think it is missing the data  generation part, if we aid  it  with data generation then it can test all the different scenarios an aggregator  implementation gets exercised inside of a Druid cluster.  It would be nice if  tests like DoubleMeanAggregationTest could use the  generic data  generation  framework than to create their own limited dummy data sets and that would enable covering even more code paths.
Further low level UTs are nice to have to flush out other corners that above high level  tests can't exercise.


wait for ncp call to complete

ncp does not return a promise so its not awaitable, instead the done callback needs to be used. This resolves the race condition where templates are not finished moving before the template rendering starts.
This issue causes all sorts of problems when more templates are added, including errors reporting missing templates and empty files being rendered.

Excellent! Thank you. That must have been very difficult to pinpoint.
I will just review it a bit before merging.

I've pushed the fix on my own in the end https://github.com/jsreport/jsreport-azure-functions-starter-kit/commit/93a6cecc243cff5b2ac8a103d465cb68536acce4
The ncp package seems unmaintained with some other problematic bugs and I replaced it with fs-extra.
Thank you again for your contribution and pointing on the problem.


[FEATURE] I want to change the customer data on the checkout

Describe how this feature will help us improve

All the forms should be editable, and such actions should be synchronized with the backend.
For not logged users we better have #375 done before.
Acceptance criteria

[ ] validations are plugged into all the editable fields
[ ] checkout changes should go through only one service/hook
[ ] code is 100% covered by tests

Duplicate of #350


Similarity is not working

I have checked the cos_sim_matrix is always filled with zeros. So even if you change the thresold nothing will happen. The id is changing only from timeout.

Hi, I had the same issue with you as well, and I think I found where the problem is from.
It is probably because the author changed the way of retrieving the output from the reid model (see the commit history)
After I've changed the code to its older version, the code seems to be working properly now.
Sorry if my reply is too late, just found this amazing repo recently. Hope it helps!


fix: allow auto ('0') granularity

Allow 'auto' granularity to be specified as 0

Closes #512

Also sneaks in a one liner to have the provider V2 client retry on HTTP 500s

Codecov Report
Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 80.06%. Comparing base (6b39444) to head (40a7050).

Files
Patch %
Lines

client/v2/client.go
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #514      +/-   ##
==========================================
- Coverage   80.13%   80.06%   -0.08%
==========================================
  Files          72       72
  Lines        5557     5557
==========================================
- Hits         4453     4449       -4
- Misses        810      814       +4
  Partials      294      294

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.