Pre-processing Error  NuScenesDataset: [Errno 2] No such file or directory: 'nuscenes_infos_train.pkl'

Hi all,
I'm having trouble preprocessing the nuscenes dataset using the instructions on the repo
To reproduce:
python tools/create_data.py nuscenes --root-path /dataset/nuscenes --out-dir /dataset/nuscenes --extra-tag nuscenes
I tried using an existing nuscenes_infos_train.pkl I found in one existing issue, but it gave me some downstream error when trying to run evaluation of bevfusion. I would prefer to be able to fix this at this level.
Has anyone else rectified this?
Create GT Database of NuScenesDataset
Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/site-packages/mmcv/utils/registry.py", line 52, in build_from_cfg
    return obj_cls(**args)
  File "/home/bevfusion/mmdet3d/datasets/nuscenes_dataset.py", line 143, in __init__
    super().__init__(
  File "/home/bevfusion/mmdet3d/datasets/custom_3d.py", line 66, in __init__
    self.data_infos = self.load_annotations(self.ann_file)
  File "/home/bevfusion/mmdet3d/datasets/nuscenes_dataset.py", line 202, in load_annotations
    data = mmcv.load(ann_file)
  File "/opt/conda/lib/python3.8/site-packages/mmcv/fileio/io.py", line 60, in load
    with BytesIO(file_client.get(file)) as f:
  File "/opt/conda/lib/python3.8/site-packages/mmcv/fileio/file_client.py", line 992, in get
    return self.client.get(filepath)
  File "/opt/conda/lib/python3.8/site-packages/mmcv/fileio/file_client.py", line 517, in get
    with open(filepath, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/dataset/nuscenes/nuscenes_infos_train.pkl'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "tools/create_data.py", line 101, in <module>
    nuscenes_data_prep(
  File "tools/create_data.py", line 45, in nuscenes_data_prep
    create_groundtruth_database(
  File "/home/bevfusion/tools/data_converter/create_gt_database.py", line 252, in create_groundtruth_database
    dataset = build_dataset(dataset_cfg)
  File "/home/bevfusion/mmdet3d/datasets/builder.py", line 42, in build_dataset
    dataset = build_from_cfg(cfg, DATASETS, default_args)
  File "/opt/conda/lib/python3.8/site-packages/mmcv/utils/registry.py", line 55, in build_from_cfg
    raise type(e)(f'{obj_cls.__name__}: {e}')
FileNotFoundError: NuScenesDataset: [Errno 2] No such file or directory: '/dataset/nuscenes/nuscenes_infos_train.pkl'

Copy .pkl files from nuscenes folder in workspace to your data/nuscenes

when you are in your workspace- the one with configs, tools, mmdet, etc. try going into nuscenes folder( no the one in the data, but the one in workspace)

when you are in your workspace- the one with configs, tools, mmdet, etc. try going into nuscenes folder( no the one in the data, but the one in workspace). Are there any .pkl inside?

There is two pkl files that were generated, but they are not the ones that is part of the error:
nuscenes_infos_train_radar.pkl
nuscenes_infos_val_radar.pkl
Is it looking for these files, but just not named correctly and placed in the correct folder?

inside of that folder should be 2 more .pkls- the ones mentioned in your errors. They should be then copied to /dataset/nuscenes/nuscenes_infos_train.pkl. I think I saw somebody upload them at one of the issues

Also look for solution in issue #480

Also look for solution in issue #480

@EpicGilgamesh Ah! I don't know how I missed this. I was searching for nuscenes_infos_train but this issue didn't come up.
Thank you for sharing. Will try this approach and will follow up.

@EpicGilgamesh
Was able to resolve the issue. The link to https://github.com/mit-han-lab/bevfusion/issues/480 helped. I also fixed a typo in the info_path. Sharing my code changes to help others who may run into this in the future:
Specifically in  tools/data_converter/nuscenes_converter.py, not only renaming the pkl filenames to remove radar, but also fixing the info_path/info_val_path to use root_dir instead of info_prefix to be consistent with the structure documented in https://mmdetection3d.readthedocs.io/en/latest/advanced_guides/datasets/nuscenes.html
from:
info_path = osp.join(info_prefix, '{}_infos_train_radar.pkl'.format(info_prefix))
mmcv.dump(data, info_path)
data['infos'] = val_nusc_infos
info_val_path = osp.join(info_prefix, '{}_infos_val_radar.pkl'.format(info_prefix))
mmcv.dump(data, info_val_path)

to:
info_path = osp.join(root_path, '{}_infos_train.pkl'.format(info_prefix))
mmcv.dump(data, info_path)
data['infos'] = val_nusc_infos
info_val_path = osp.join(root_path, '{}_infos_val.pkl'.format(info_prefix))
mmcv.dump(data, info_val_path)

Thank you for your help!


#2581 Allow to override EventSchema without modifying default JdbcEve…

Fixes #2581
@smcvb

@smcvb I think this is good for merge


Linked List in python

I want to add linked list program in python. Please assign it to me.

I want to help with this. Please assign this to me.

I am GSSoC'21 Participant. I would like to work on this issue. Please assign it to me. I will solve it in python


Chore: Script update for publishing Debug-log package

Description

script updated for publishing

global setting & using in Debug-log package

revise project name mincho to mincho-js because it's cause error during publishing Debug-log package

Related Issue

#38

Summary by CodeRabbit

New Features

Updated package naming conventions to reflect a new branding, changing identifiers from @mincho/ to @mincho-js/.
Introduced a new script for streamlined package publishing: "g:publish".

Bug Fixes

Adjusted import paths for various packages to ensure compatibility with the new naming scheme.

Documentation

Updated README files across multiple packages to reflect the new package names and maintain clarity on usage.

Chores

Renamed dependencies in several package.json files to align with the new naming conventions.

/fast-forward


Events listners in models and custom camera (creating and moving)

Hi,
I need to listen to DOM Events in each model that i created (model creation on code below)
async renderTerrain() {
    for (let line = 0; line < this.#lines; line++) {
      for (let column = 0; column < this.#columns; column++) {
        const tile = new GameTile();
        await tile.loadAsset();
        tile.renderAsset();

        tile.mesh.position.x = line * 1.9;
        tile.mesh.position.z = column * 2;
        tile.mesh.meshes[1].alpha = 1;

        tile.mesh.interactive = true;
        tile.mesh.on('mouseover', (event) => {
          console.log('ok');
        });
      }
    }
  }

I tried to folow the following documentation (https://api.pixi3d.org/classes/model.html#interactivechildren) but without any success.
My goal is hide one mesh with alpha setted as 0 and when mouse hover this specific model, this mesh that was previously hide show again (only when hovering)
I'm also with some dificultes with the creation of custom cameras, for now i'm using the default internal camera created in CameraOrbitControl method. But i need create some cameras with specific world positions and angles and i couldn't create following the documentation
There is a print from working render from the code above

Hi!
To be able to interact with models/meshes you need to also set a hit area using the PickingHitArea. The API for that is at https://api.pixi3d.org/classes/pickinghitarea.html and a simple example for how to use it can be found at https://github.com/jnsmalm/pixi3d/blob/develop/examples/src/mesh-interact.js
To be able to set the alpha for a mesh you have to set the baseColor on the material for that mesh (I'm presuming you are using the default standard material). You can see all properties at https://api.pixi3d.org/classes/standardmaterial.html. You also need to change the alpha mode for the material.
Something like:
mesh.material.alphaMode = "blend"
mesh.material.baseColor = [1, 1, 1, 0.5] // r, g, b, a

After describing this to you I realise I need to make it simpler to change the alpha value for an object :) I'll have a look at that.
You create a new camera with let camera = new PIXI3D.Camera(app.renderer). After that you can just change the position/rotation of that camera anyway you want. If you want the same behaviour (orbiting) as CameraOrbitControl you can give it the camera when creating it let control = new PIXI3D.CameraOrbitControl(app.view, camera).
If you don't want the user to be able to control the camera you can disable that by control.allowControl = false. You will still be able to control the camera with code using the angles control.angles.x = 90 and control, anglers.y = 25.
To be able to set which camera is being used for rendering you can change the main camera by doing:
PIXI3D.Camera.main = camera
Let me know if you have any more issues/questions.

Hi! Sorry the delay.
MeshInteract example it's perfect! Thanks!
Also, your example using alphaMode and baseColor solved my issue when creating a 3DMesh from scratch (without importing an object).
It's possible to get the XYZ position from the click?
Example,
I have a plane and i want to create a new mesh in the exact click position from my event.
(Obs: I have this X and Y inside the event callback (from event.data.global) but seems not to be the real location in the world)

You can convert between screen/world coords by using https://api.pixi3d.org/classes/camera.html#screentoworld and https://api.pixi3d.org/classes/camera.html#worldtoscreen, not sure if that is enough for you. If you instead need a way to know where on a plane the click happened, you need to create a function to raycast to a plane (you will find plenty of sources for this). The raycast function is not build in Pixi3D as of now.


upgrade spark to 2.4.3

upgrade spark to 2.4.3

Also need to update the tispark jar package to tispark-core-2.1.3-spark_2.4-jar-with-dependencies.jar

Also need to update the tispark jar package to tispark-core-2.1.3-spark_2.4-jar-with-dependencies.jar

tispark-assembly-*-SNAPSHOT.jar in tispark-assembly-latest-linux-amd64.tar.gz support both spark-2.3 and spark-2.4


Debug mode on playwright not working

When I try to run the playwright e2e tests on debug mode (npx playwright test --debug, this allows you to get a debugger while running the tests), I get an error when trying to match the screenshots:

Not sure if this supposed to not work or if there is a problem with our setup. Is there another way to debug these tests (cc @edlerd). If this is a screenshot limitation, then IMO we should consider dropping them as having a debugger is vital for development.

I cannot reproduce any error.
What I did:

run ui/tests/scripts/01-start-cluster.sh
run ui/tests/scripts/02-start-ui.sh
run  ui/tests/scripts/03-start-oidc-app.sh
run make test-e2e-debug
press play in the ui

Successful result below:

I just realized you start the tests in a different debug mode. For that you can ignore the screenshots with a flag easily.
npx playwright test --debug --ignore-snapshots

FYI @nsklikas


multiple added nodes in series

this error should not be necessary, but maybe a warning?
File E:\wrdapp\pywatershed\pywatershed\pywatershed\hydrology\prms_channel_flow_graph.py:885, in _build_flow_graph_inputs(prms_channel_dis, prms_channel_params, new_nodes_maker_dict, new_nodes_maker_names, new_nodes_maker_indices, new_nodes_flow_to_nhm_seg)    882 assert len(new_nodes_maker_names) == len(new_nodes_flow_to_nhm_seg), "NONO"    883 # I think this is the only condition to check with    884 # new_nodes_flow_to_nhm_seg--> 885 assert len(new_nodes_flow_to_nhm_seg) == len(    886     np.unique(new_nodes_flow_to_nhm_seg)    887 ), "OHNO"    889 nseg = prms_channel_params.dims["nsegment"]    890 nnodes = nseg + len(new_nodes_maker_names)

closed #306


README.md has not been changed for all

build will fail

@Wangyz2017  you can try my branch :)

me too.
./configure
configure: error: cannot find sources (README) in . or ..

@walterzhaoJR PR #408 will fix this issue. You guys can try my branch before it's merged.

@jackwish ok,let me have a try.THX

Fixed by #408 .


Idle Notifier: False idle notifications on low alert threshold for some animations

Type
Incorrect behavior
Operating System
None
OS Version
No response
Bug description
Some actions do not consistently perform their associated animation when occurring continuously.
If the idle notifier threshold is low enough, it can falsely send a notification that the character is idle.
For example, while blowing an inventory of glass, sometimes the animation appears as idle for ~2-3 ticks despite blowing the glass.  This means if the idle threshold is set to 1 second, it will send an idle notification (see video).
Some considered fixes:

Somehow determine an action is being performed without relying on the animation (preferred, but not sure if possible)
Set a minimum required notification wait period (not recommended)
Add a small time buffer to account for these sort of animations (not recommended)

Appreciate recommendations, thanks!
Screenshots or videos
Included animation ids in the chat, 884 is blow glass, -1 is idle
https://github.com/runelite/runelite/assets/22583776/76b333dd-c0c9-4eee-bac5-075788a8a913
RuneLite version
Launcher version: Version 0.34.2 (0.34.2)
RuneLite version: 1.10.34-SNAPSHOT
Logs
No response

That's not really a false positive, you should set your delay higher.

Yes, I have done that.
However, I would still argue that this is not intended behavior. I believe the intent of the plugin is to notify the player when they are no longer performing an action and may require input from them.  In this case, it sends a notification despite the fact the user is not actually idle.

Assuming there's no way to determine actions like these are occurring other than via the animation, enforcing a minimum "Idle Notification Delay" seems sufficient

There's already a default Idle Notifier Delay value that's more than efficient to prevent this, you have to change it yourself to end up in this scenario, so I don't see why we would need to enforce something on users

But a default is not a requirement. While I would understand in cases where a user sets a setting to "ping me ever 1ms" the answer may be "don't do that", I don't think that is a valid approach in all cases. As a user I would not expect that if I set my alert threshold to be 3 ticks that this would be too low, as it is valid for most use cases.
It's also not obvious why you receive these alerts with a low-ish threshold unless you view the source code and see it relies on the characters current animation as opposed to the action being performed.
Given that the initial recommendation provided above was "increase your delay" it doesn't seem illogical to me to have a minimum to prevent others who may potentially open a separate issue just to get the same answer.

As a note, it was mentioned in the discord during this conversation that glass blowing is one of the slowest in the game, meaning the issue you're having is an extreme example

Also, the hub plugin action progress should do exactly what you want without the erroneous idle notification problems, for this slow animation

Thanks for the input. I just want to clarify a few things. (As I just viewed some of the discord conversation as well).

My intent with opening this was to simply report something that to me seemed unintended. The tone did not mean to come off as "this is an issue I cannot overcome and needs to be fixed!!" (I apologize if that came off that way, given your messages in the discord)

I think action progress bars is an alternative but doesn't necessarily address this issue.

Consider the use case where you want to AFK glass glowing with client on your second monitor and screen flashes enabled.  With this setup in the past, I've encountered upwards of ~3 screen flash notifications within an inventory of blowing glass.  The intent isn't to watch the screen, wait for the action to complete by watch the progress, then perform another action.
I understand this is an edge case and did not intend for this to require as deep conversation as it has already gone. I would participate in the discord conversation as well but I understand not having permissions for that ☺.

That plugin can also notify iirc.

Closing as the effort to fix isn't worth such a minor issue. Increasing the timeout or using the recommended plugin are sufficient work arounds


device is not receiving notification under production

It works well under development env, but when I switch it to production environment with production certificate and key, it doesn't work at all.
I tested the certificates with APNS tool, which can be downloaded from App store; it works there, but not in here.
there is no error occurs when I send notification with node, and I run it under debug mode, the feedback is the same as under the development mode.
`var options = {
cert: config.apsCert,
key: config.apsKey,
passphrase: config.apsPass,
};
var apnConnection = new apn.Connection(options);

//var myDevice = new apn.Device(receiverDeviceToken);

var note = new apn.Notification();
    note.expiry = Math.floor(Date.now() / 1000) + 3600;
    note.sound = "default";
    note.badge = 1;
    note.alert = "haha";
    note.payload = {"messageFrom": "tester"};
apnConnection.pushNotification(note, receiverDeviceToken);

apn Initialising connection +0ms
apn Loading Credentials +1ms
apn 1 left to send +2ms
apn Connection established +454ms
apn Socket drained +103ms 0
apn 0 left to send +0ms
apn 0 left to send +1ms
apn Notification 0 caused an error: 8 +89ms
apn Raising error: +0ms 8 { encoding: 'utf8',
payload:
{ messageFrom: 'tester',
aps:
{ badge: 1,
sound: 'default',
alert: 'haha',
'url-args': undefined,
category: undefined } },
expiry:<PHONE_NUMBER>,
priority: 10,
retryLimit: -1,
device: undefined,
compiled: '{"messageFrom":"tester","aps":{"badge":1,"sound":"default","alert":"haha"}}',
truncateAtWordEnd: false,
_sound: 'default',
_badge: 1,
_alert: 'haha' } { token: <Buffer af 83 9d 07 12 45 7e d9 60 76 95 d8 7a a0 4c 20 ee 86 b8 b7 0f b4 65 e3 4f c4 ea 22 f4 4c 51 d2> }
apn Buffering 0 notifications for resending +2ms
apn Socket closed +1ms 0
apn Removing socket from pool +0ms 0
apn Initialising connection +0ms
apn 0 left to send +1ms
apn Connection established +288ms
apn 0 left to send +101ms
`

add
gateway: 'gateway.push.apple.com',
in your options.

You shouldn't use gateway option, it has been deprecated. Set production: true
—A

On 10 Feb 2016, at 18:05, ronyrun<EMAIL_ADDRESS>wrote:
add
gateway: 'gateway.push.apple.com',
in your options.
—
Reply to this email directly or view it on GitHub.

or  set your environment NODE_ENV === "production"


how to use docker glim_ros1 ?

how to use docker glim_ros1 ? please give a doc, thanks !
I have pull the iamge, but the image do not have build and devel folder, and there has two folders , glim and glim_ros1, which one should I use , and how to use , confused...
I have a mid360 rosbag file.

Which image are you using? I confirmed that build and devel directories are contained in the docker image we provided.
koide@costello:~$ docker run --rm -it koide3/glim_ros1:noetic_cuda12.2 ls /root/catkin_ws/devel
_setup_util.py  cmake.lock  env.sh  lib  local_setup.bash  local_setup.sh  local_setup.zsh  setup.bash  setup.sh  setup.zsh  share


Added overall security chapter, covered issue handling, placeholders …

…for threat model, known issues, and best practices.
Fixes 1384
Signed-off-by: Malini Bhandaru<EMAIL_ADDRESS>

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8bfb242). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1385   +/-   ##
=========================================
  Coverage          ?   17.02%
=========================================
  Files             ?       78
  Lines             ?     8789
  Branches          ?        0
=========================================
  Hits              ?     1496
  Misses            ?     7142
  Partials          ?      151

Continue to review full report at Codecov.

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

Also for future reference, it is preferred to rebase branches like this one on top of master instead of introducing a merge commit from master to this branch.


Client doesn't conform to PEP 0249

It would be really great if the client code conformed to PEP 0249 https://www.python.org/dev/peps/pep-0249/ - this would allow integration into well known ORMs like SQLAlchemy.

This looks like it would take some big changes to do this. Where do you think it should start? Or would it be one big re-write?

+1
Now I write the DB backend for Django and lack of support pep249 makes me apply the Adapter pattern.

Just following up here to see if there was anything still required on this. It's a relatively large body of work, curious if you were keen to submit a patch which we can integrate to a v6.0.0 release (latest is currently v5.3.0)


feat(angular 11): updated library, storybook to angular 11

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Rename dev dependencies to dependency groups in lockfile

Summary
This is backwards compatible (we respect dev-dependencies as an alias).
Part of https://github.com/astral-sh/uv/pull/8272.

How is this about forward compatibility? i.e. user who has old uv wants to interact with new lockfile from random project?
Should bump the lockfile's version?

Yeah this wouldn't work. I don't think bumping the version even helps here, because prior versions of uv don't look at it and don't (e.g.) throw an error or show a warning.


Model request: NKMD Superscale

Model request: NKMD Superscale
I didn't have any luck trying to convert on my own. Thanks.

Done. All 4 variants are added. Feel free to download pre-converted models from Google drive.


Adding functionality for GetModifiedOrders

Adding the new GetModifiedOrders call from the Symantec SOAPXML
API. Also adding unit tests for this feature and updated version
number.

Please review and leave comments so I can fix them. I will be demo-ing this tomorrow so if you get time to review, please do! :palm_tree: :cocktail:

+1


Crash on iOS 15

What did you do?
XCode organizer pointed me to a crash happening exclusively for iOS 15 devices.
Environment

SwiftyJSON: 5.0.1
Xcode Version: 12.5.1
Swift Version: 5
Cocoapods: 1.11.2

Hi @lingoer
Are you planning to start maintaining the project?
It's used by so many people🙂

Hiii i am having same issues.Any solution?

What is SwiftJSON latest version as per current date(20/06/022 stable version only) which supports iOS 15+  AND what is Alamofire version which supports iOS 15+, both should supports iOS 15 and it's Above version.
Please me with links, thanks Advance :) :)

how to join to maintain this project? There is a warning which will become an error later for the incoming swift6 and seems that master has addressed such, but the latest released package is not having that, if I can become a co-contributor of this, at lease I can try release one version of current master?

Hi @LukeTangPL @wongzigii @lingoer
Can anyone of you maintain the project? Or if you cannot spend much time on the project, at least approve PRs and release new Cocoapod versions?
This project is super useful for me and many others, I appreciate your work a lot. It would be great to at least maintain it on the basic level, so there are no build errors.


Update user test 13 desc to match changed test

Refer https://github.com/freeCodeCamp/testable-projects-fcc/issues/933.
This pull request updates the challenge text to reflect the change made to user story 13 (i.e. that the negative sign is included in the calculation where there are multiple operators) by pull request 910 in that repository.

[x] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the master branch of freeCodeCamp.
[X] None of my changes are plagiarized from another source without proper attribution.
[X] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[X] My changes do not use shortened URLs or affiliate links.

PS. This is my first (ever) contribution so please let me know if I have done anything incorrectly and I will do my very best to fix it!

Looks like you did stuff correctly. I think it's still kind of confusing though, maybe add an example that '6*-6' means '6 * (-6)', or something like that?

Updated as suggested.

@tbushman What do you think about this change?  The testable projects repo would also need to be updated.

The testable project user story was recently changed in this way, but we could also add the example. This LGTM! Thank you @ksalzke !

@tbushman @scissorsneedfoodtoo Can this PR be merged? (Has the work required in the testable-projects-fcc repo completed?)

Hi @scissorsneedfoodtoo let land this.

Sorry I missed the earlier notifications here. Everything LGTM.


[FEATURE] Add lint-staged (husky) as a dev tool

Description
Feature: Whenever we make commit it automatically runs pritter and eslint for the staged file.
Screenshots
No response
✨ Browser
Google Chrome
Checklist 🚀

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[ ] I am willing to work on this issue (blank for no).

Can I start working on this?

@amrishtembe1998 would you able to do it? it's not hard task but testing these tools can be little tricky. If you are really interested I will assign this issue to you. And you can join our Discord for seeking help or to discuss the issue in more depth

@vatsalsinghkv if it isn't done I want to work on this.

@shreyashchandra feel free to work on this ❤


Remove dependency on strangelove docker repo

There is currently a dependency on strangeloves docker repo, here:
			Repository:     fmt.Sprintf("ghcr.io/strangelove-ventures/heighliner/%s", name),
It would be great if a full docker image path (rather than image:version) is passed in, it doesn't get prefixed.

Resolved by #11


AzureMLChatOnlineEndpoint not compatible with create_react_agent (NotImplementedError for bind_tool method)

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
import os
from langchain_community.chat_models.azureml_endpoint import AzureMLChatOnlineEndpoint,  AzureMLEndpointApiType, CustomOpenAIChatContentFormatter
from langchain_community.utilities import SQLDatabase
from langchain_community.agent_toolkits.sql.toolkit import SQLDatabaseToolkit
from langchain import hub
from langgraph.prebuilt import create_react_agent

if __name__ == "__main__":
    db = SQLDatabase.from_uri("sqlite:///Chinook.db")

    url = os.environ.get("AZUREML_ENDPOINT_URL")
    key = os.environ.get("AZUREML_ENDPOINT_KEY")
    timeout = 60 * 5  # default = 60 * 5 = 5 minutes

    llm = AzureMLChatOnlineEndpoint(
        endpoint_url=url,
        endpoint_api_type=AzureMLEndpointApiType.serverless,
        endpoint_api_key=key,
        content_formatter=CustomOpenAIChatContentFormatter(),
        timeout=timeout  # default = 60 * 5 = 5 minutes
    )

    toolkit = SQLDatabaseToolkit(db=db, llm=llm)

    prompt_template = hub.pull("langchain-ai/sql-agent-system-prompt")

    system_message = prompt_template.format(dialect="SQLite", top_k=5)

    agent_executor = create_react_agent(llm, toolkit.get_tools(), state_modifier=system_message)

    example_query = "Which country's customers spent the most?"

    events = agent_executor.stream(
        {"messages": [("user", example_query)]},
        stream_mode="values",
    )
    for event in events:
        event["messages"][-1].pretty_print()

Error Message and Stack Trace (if applicable)
"C:\Users\...\git\Text2SQL\Text2SQL - ENV\Scripts\python.exe" C:\Users\...\git\Text2SQL\text2sql\main_agent_llama.py
C:\Users\...\git\Text2SQL\Text2SQL - ENV\Lib\site-packages\langsmith\client.py:221: LangSmithMissingAPIKeyWarning: API key must be provided when using hosted LangSmith API
  warnings.warn(
Traceback (most recent call last):
  File "C:\Users\...\git\Text2SQL\text2sql\main_agent_llama.py", line 571, in <module>
    agent_executor = create_react_agent(llm, toolkit.get_tools(), state_modifier=system_message)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\...\git\Text2SQL\Text2SQL - ENV\Lib\site-packages\langgraph\_api\deprecation.py", line 80, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\...\git\Text2SQL\Text2SQL - ENV\Lib\site-packages\langgraph\prebuilt\chat_agent_executor.py", line 512, in create_react_agent
    model = cast(BaseChatModel, model).bind_tools(tool_classes)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\...\git\Text2SQL\Text2SQL - ENV\Lib\site-packages\langchain_core\language_models\chat_models.py", line 1115, in bind_tools
    raise NotImplementedError
NotImplementedError

Description
I'm trying to implement a future-ready SQL Agent with an open weights model  (Meta LLama) hosted into an Azure AI infrastructure.
My code is pretty simple and it's just one of the various how-to guides in which I switched from the original OpenAI model to a AzureMLChatOnlineEndpoint.
But the execution interrupts pretty soon since the flow relies on the BaseModel bind_tool implementation that just throw a "NotImplementedError".
Is there ant chance to make AzureMLChatOnlineEndpoint compatible with this method?
Consider that the direction in which LangChain is moving is LangGraph so makes no sense now to create an agent using create_sql_agent from from langchain_community.agent_toolkits
System Info
System Information

OS:  Windows
OS Version:  10.0.22631
Python Version:  3.11.7 | packaged by Anaconda, Inc. | (main, Dec 15 2023, 18:05:47) [MSC v.1916 64 bit (AMD64)]

Package Information

langchain_core: 0.3.15
langchain: 0.3.6
langchain_community: 0.3.4
langsmith: 0.1.138
langchain_groq: 0.2.1
langchain_openai: 0.2.4
langchain_text_splitters: 0.3.1
langgraph: 0.2.41

Optional packages not installed

langserve

Other Dependencies

aiohttp: 3.10.10
async-timeout: Installed. No version info available.
dataclasses-json: 0.6.7
groq: 0.11.0
httpx: 0.27.2
httpx-sse: 0.4.0
jsonpatch: 1.33
langgraph-checkpoint: 2.0.2
langgraph-sdk: 0.1.35
numpy: 1.26.4
openai: 1.53.0
orjson: 3.10.10
packaging: 24.1
pydantic: 2.9.2
pydantic-settings: 2.6.0
PyYAML: 6.0.2
requests: 2.32.3
requests-toolbelt: 1.0.0
SQLAlchemy: 2.0.36
tenacity: 8.5.0
tiktoken: 0.8.0
typing-extensions: 4.12.2

@informatica92 have you found any solution for this problem? i did implement my own bind_tools but it is clearly not working

unfortunately no, I also tried the solution to use the OpenAI compatible interface using something like:
from langchain_openai import  ChatOpenAI
llm = ChatOpenAI(
    default_headers={"extra-parameters": "pass-through"},  # <-- required to avoid an error
    base_url=llama3_model_url,
    api_key=key,
)

but the interaction with the tools end at the first stage.
The only solution I adopt at the moment is to deploy a MistralAI model instead of a Llama3.X, always on Azure AI Studio, and use the MistralAI langchain library (langchain_mistralai).
Please note that, at least with the versions I am using there is a weird issue about a pass-through parameter (as the additional pass-through that I passed above into ChatOpenAI).
So my solution to work with Azure deployed models requires few precautions:

use a MistralAI (not Llama3.x)
install langchain_mistralai
create a custom MistralAI Chat class to force the pass-through header as discussed below:

import os
import httpx

from langchain_core.messages.ai import AIMessage
from langchain_community.utilities import SQLDatabase
from langchain_community.agent_toolkits.sql.toolkit import SQLDatabaseToolkit

from langchain import hub
from langgraph.prebuilt import create_react_agent

# 1. Import ChatMistralAI
from langchain_mistralai import ChatMistralAI

# 2. Create the custom ChatMistralAI to force pass-through header
class NewMistralAI(ChatMistralAI):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)

        headers = {
            "Content-Type": "application/json",
            "Accept": "application/json",
            "Authorization": f"Bearer {self.mistral_api_key.get_secret_value()}",
            "extra-parameters": "pass-through",
        }

        httpx_client_kwargs = {
            "base_url": self.endpoint,
            "headers": headers,
            "timeout": self.timeout,
        }

        self.client = httpx.Client(**httpx_client_kwargs)
        self.async_client = httpx.AsyncClient(**httpx_client_kwargs)
        self.safe_mode = None

if __name__ == "__main__":
    # Database
    db = SQLDatabase.from_uri("sqlite:///../../Chinook.db")

    # Model
    key = os.environ.get("MISTRAL_AZURE_API_KEY")
    timeout = 60 * 5  # default = 60 * 5 = 5 minutes

    # using the default ChatMistralAI class the flow returns an error similar to the following:
    # Error code: 400 - {'detail': "Extra parameters ['safe_prompt'] are not allowed when extra-parameters is not set or set to be 'error'. Set extra-parameters to 'pass-through' to pass to the model."}
    # so there are 2 ways:
    # - use a custom version of the ChatMistralAI that forces the "extra-parameters": "pass-through" header
    # - use the OpenAI-compatible endpoint to pass extra-parameters additional header. NB: base_url and api_key look like unsupported, but they are NOT

    # 3. Use the NewMistralAI Custom Class
    llm = NewMistralAI(  # ChatOpenAI, NewMistralAI
        endpoint=mistralai_on_azure_model_url,
        mistral_api_key=key,
        timeout=timeout,
        max_retries=5,
        # other params...
    )

    # Toolkit
    toolkit = SQLDatabaseToolkit(db=db, llm=llm)

    # System Prompt
    prompt_template = hub.pull("langchain-ai/sql-agent-system-prompt")
    system_message = prompt_template.format(dialect="SQLite", top_k=5)
    # print(system_message)

    # Executor
    agent_executor = create_react_agent(llm, toolkit.get_tools(), state_modifier=system_message)

    example_query = "Which country's customers spent the most?"
    # example_query = "Tell me something about Paris and its history"

    events = agent_executor.stream(
        {"messages": [("user", example_query)]},
        stream_mode="values",
    )

    input_tokens = 0
    output_tokens = 0
    total_tokens = 0
    for event in events:
        event["messages"][-1].pretty_print()
        if isinstance(event["messages"][-1], AIMessage):
            print(event["messages"][-1].usage_metadata)
            input_tokens += event["messages"][-1].usage_metadata.get("input_tokens")
            output_tokens += event["messages"][-1].usage_metadata.get("output_tokens")
            total_tokens += event["messages"][-1].usage_metadata.get("total_tokens")

    print("\nTOTALS")
    print(f" - input_tokens:  {input_tokens}")
    print(f" - output_tokens: {output_tokens}")
    print(f" - total_tokens:  {total_tokens}")

I also just started experimenting with AzureMLChatOnlineEndpoint and noticed that binding tools is an issue as well as multimodal messaging (e.g. images).
Since AzureMLChat isn't one of the featured providers, I guess it's to be expected that certain features might not be available/work right away.
https://python.langchain.com/docs/integrations/chat/
It's probably also more difficult with all the potential different implementations of tool calls  a model hosted on azure can have e.g. llama, mistral,...
I know for mistral there's some work-in-progress to get the mistral-provider to work with models hosted on azure, but it's not ready/approved yet: https://github.com/langchain-ai/langchain/pull/28301
Anyway... looking forward to what comes next.

I AM using MistralAI models deployed on Azure and it's already working as expected (apart from the pass-through parameter)

I AM using MistralAI models deployed on Azure and it's already working as expected (apart from the pass-through parameter)

i see, i wanted to use the https://models.inference.ai.azure.com/, so i created a working solution, but now, i needed the models, llama, mistra and co to use tools, that is where i am struggling with now.

I've now spent some time with it and as you said, directly with the modified ChatMistralAI it's working; the other task has to do w/ making it available via the 'init_chat_model' method and be able to use configure to switch between them.
but this workaround and at least mistral working is helpful. thx!


Bad code

Bad code

please fix

this is an open source project, you can write it better and do PR 😉

how to learn dart

kacper help

Idk what happend here, but i had similar issue. I realized that i need to recreate config file based on code, it is annoying. But project is nice :D Perfect for learning

ugabuga


Get permanent steve render?

Is there currently a way to get a head render that is guaranteed to be a steve head?

Yes. You can use the MHF_Steve account (UUID c06f8906-4c8a-4911-9c29-ea1dbd1aab82).

@Beatso1 - Mojang has quite a few accounts for which the skin will never change, you can see the list here.


Update {EpiNow2} example to use distribution interface

The nowcast section is currently using list(...) instead of the new distributions.

I'll submit a PR asap.


[BEAM-5653] Fix overriding coders due to duplicate coderId generation

Pre-fill SdkComponents with existing components in pipeline.
backfilling change.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

R: @ajamato, @kennknowles

R: @swegner

There's a generic failure in pre-commits this time: https://builds.apache.org/job/beam_PreCommit_Java_Cron/
@alanmyrvold is looking into this one already.
Will re-trigger pre-commits afterwards.

run java precommit

run java precommit

run java precommit

run java precommit

Precommits fail due to flaky test see BEAM-5709
Succeeded precommit run: https://builds.apache.org/job/beam_PreCommit_Java_Phrase/318/
Failing precommit run: https://builds.apache.org/job/beam_PreCommit_Java_Phrase/319/
I accidentally started precommit twice in a row.
Can we merge this? I feel this will be safer, than to try get green precommit.

I merged the purported fix for that, so you should have better luck.

And it's green!

R: @lukecwik


Mapped some persistence data stuff

I renamed all persisted to persistent, though vanilla fix types enum calls them saved data.
Mapped out the persistent data manager that is bound to each dimension and the persistent data updater for stuctures.

@asiekierka Can you review again?


BMI Calculator App

Requirements for the app:-

User should be able to input weight and height
By clicking on the "CALCULATE BMI" Button, user should be able to see the result
The result must show the BMI and the category in which he falls

Requirements for the README.md file:-

Concepts used
Documentation and Resources used
Future Aspects of the app

Hi i want to work in this app
but there is no project opened yet!
also there's no info about this app in README.md file

@SudiptaAChy You can start with this project.

@SudiptaAChy Best of luck, go for it.

Hi, can I work on this too or is it already assigned ?

First come first serve pull request


feat: drawing plugin.

🤖 Generated by Copilot at 157def1
Summary
🎨📝🚀

This pull request adds a new plugin for drawing entities using the tldraw library, and integrates the existing kanban plugin into the composer-app. It also fixes a minor styling issue in the Github plugin, and updates some configuration and dictionary files. The new plugin consists of several files that define the plugin meta, component, props, stories, translations, and license. The kanban plugin integration involves adding a dependency, a path mapping, and a vite entry to the composer-app package.

Sing, O Muse, of the skillful coder who devised
Many a wondrous plugin for the composer-app sublime,
Adding new dependencies, paths, and stories to the files,
And enhancing the IDE with a dictionary divine.

Walkthrough

Add a new plugin for drawing entities using the Tldraw library (F9-F19)

TLDraw! ❤


[bug]

Describe the bug

Reproduction
No need to provide, default to any template, select vue or react
Expected behavior
Normal operation
Full tauri info output
[✔] Environment
    - OS: Windows 10.0.22631 x86_64 (X64)
    ✔ WebView2: 129.0.2792.89
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.15.0
    - pnpm: 9.4.0
    - yarn: 1.22.22
    - npm: 10.8.1

[-] Packages
    - tauri 🦀: 2.0.4
    - tauri-build 🦀: 2.0.1
    - wry 🦀: 0.46.2
    - tao 🦀: 0.30.3
    - @tauri-apps/api : 2.0.2
    - @tauri-apps/cli : 2.0.3

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.1
    - @tauri-apps/plugin-shell : 2.0.0

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - bundler: Vite

Stack trace
No response
Additional context

I met it, too. But I can skip this question with a real machine.
You use your mobile phone to connect to the computer to start debugging, and in the same network, you use the port to access instead of localhost (modify devUrl)


Hot reload with Electron

This PR allows for immediate reflection of changes to the code in the Electron app (similar to the web version) with minimal load-time.

IDK why but this took me forever to install with npm ci

Also can't quite get the reload functionality to work as I would have expected (I change some code on the Flask backend, hit reload, and the change does not apply to the app unless I quite and re-launch)
But if it's working for you go ahead and merge

This is just looking at the JavaScript code. I can see if it will watch Python code as well.

This is just looking at the JavaScript code.

Ah, that would explain why lol

I can see if it will watch Python code as well.

Let me know if that works - if so, it could act as a really convenient way of doing certain dynamic imports/installs going into the future

@CodyCBakerPhD So electron-reloader does not allow for manual configuration of what to watch, though their code would be quite simple to replicate ourselves using chokidar.
I've opened a new Issue (#136) where we can talk about the "certain dynamic imports/installs" in more detail and see if we'd like a custom solution.


Measure test time, kill hanging nunit-agent.exe, and fix data drive selection when there's only a single drive

Kill hanging nunit-agent.exe if any when unit test completes
Measure test time
When there's only when drive, do not exclude it for data drive. Also handle mono differently.

It looks good. Please merge this pull request.


Is it going to be an option?

Yes, just like the other features (kinda like the animated background).

How's progress on this one?


Test cases not working

Challenge Drop it has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.90 Safari/537.36 Vivaldi/1.4.589.11.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
function dropElements(arr, func) {
  // Drop them elements.
  return arr.filter(func);
}

dropElements([1, 2, 3], function(n) {return n < 3; });

Cases 2 & 5 not producing expected results.

Case 2 should produce [1,1] as n === 1 can't produce true for 0.
Case 5 should produce [3,9] as n > 2 can't produce true for 2.

Thanks you very much for the great interactive course so far! I'm certainly learning a lot!

Misunderstood the instructions.

@VitaminVolcano, no problem.  you could go to HelpJavaScript chat room if you need a help.
Happy Coding.


IOS Build works on iphone but fails to open on ipad

Build/Submit details page URL
https://expo.dev/accounts/alex261816/projects/blipmoore/builds/f34f464d-c512-4d49-93d6-dfc183c8f252
Summary
I am able to run my build on my iphone (ios 16) but my ipad (ios 12) doesn't even open the app or show the icon. When I click the on the icon on my ipad it doesn't even open at all. Nothing happens.
Before it was telling me "unable to install 'app name'" even though it had fully installed, but now nothing ever shows. And the size of the app is just 25kb. Something is def not right. But I don't know what to look for or fix.
My app.config.js:
// import 'dotenv/config';
export default () => ({
  expo: {
    name: "app",
    slug: "app",
    version: "1.1.1",
    scheme:"app",
    orientation: "portrait",
    icon: "./assets/ic_launcher/1024.png",
    splash: {
      image: "https://f004.backblazeb2.com/file/app/app+images/splash.png",
      resizeMode: "contain",
      backgroundColor: "#ffffff"
    },
    androidStatusBar:{
      translucent:true
    },
    updates: {
      "fallbackToCacheTimeout": 0
    },
    assetBundlePatterns: [
      "assets/*"
    ],
    ios: {
      supportsTablet: true,
      bundleIdentifier: "com.app.app",
      googleServicesFile: "./GoogleService-Info.plist",
      buildNumber: "1.0.0"
    },
    android: {
      versionCode:12,
      useNextNotificationsApi: true,
      adaptiveIcon: {
        foregroundImage: "./assets/ic_launcher/1024.png",
        backgroundColor: "#000"
      },
      googleServicesFile: "./google-services.json",
      package: "com.app.app"
    },
    plugins: [
      "@react-native-firebase/app",
      "@notifee/react-native",
      "sentry-expo",
      [
        "expo-image-picker",
        {
          photosPermission: "The app accesses your photos to serve you better."
        }
      ],
      [
        "onesignal-expo-plugin",
        {
          mode: "development",
          iPhoneDeploymentTarget: '13.0',
        }
      ],
      [
        "expo-build-properties",
        {
          "android": {
            "compileSdkVersion": 31,
            "targetSdkVersion": 31,
            "buildToolsVersion": "31.0.0",
            "enableProguardInReleaseBuilds":false
          },
          "ios": {
            "deploymentTarget": "13.0",
            "useFrameworks": "static"
          }
        }
      ]
    ]
  }
})

I checked online and I was told to add supportsTablet:true, but on checking, it was already added. I don't know what else is wrong
Managed or bare?
bare
Environment
expo-env-info 1.0.5 environment info:
System:
OS: Windows 10 10.0.19045
Binaries:
Node: 16.18.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: AI-221.6008.13.2211.9619390
npmPackages:
expo: ^45.0.0 => 45.0.8
react: 17.0.2 => 17.0.2
react-dom: 17.0.2 => 17.0.2
react-native: 0.68.2 => 0.68.2
react-native-web: 0.17.7 => 0.17.7
Expo Workflow: bare
Error output
No response
Reproducible demo or steps to reproduce from a blank project
Create new react native app
Run expo prebuild
Then eas build -p ios --profile development
copy my app.config.js and paste
Try launching it on an ipad with ios 12

Hello?? ANyone?

I checked the provisioning profile on the project you linked and it looks like there is only one device listed there. When you are building for internal distribution for iOS all devices that it will run on need to be listed in the provisioning profile.
https://docs.expo.dev/build/internal-distribution/

@wkozyra95 Thanks for the response but it's still not working.
I have tried to create a new device using eas create:device but when I scan the qr code with my ipad, it just show

Set up your device for internal distribution

And below it, the loading icon just keeps spinning. It never completely loads. For more than 2 hours now.
Is there any other way to add my device to the provisioning profile?

I do not have a mac and therefore can't get the UDID for the Ipad.

I have tried to create a new device using eas create:device but when I scan the qr code with my ipad, it just show

It does not work retroactively, you need to build new ipa signed with new provisioning profile.
expo device:create registers new device, but as far as I remember it does not add it to provisioning profile. When you run a next build, you have to logging to the apple account and when prompted select which devices should be used for build.

Also, I am not too sure if it's bare or not because I do not have any ios folder only android. It tells me bare but no ios folder.

project seems to managed (there is a prebuild phase on eas build), not sure why are you getting bare there.

expo device:create registers new device, but as far as I remember it does not add it to provisioning profile. When you run a next build, you have to logging to the apple account and when prompted select which devices should be used for build.

But to add that device, I need to manually add it in my developer account using UDID and I do not have a mac to connect my Ipad to in order to get that information.
When I'm building it, eas doesn't give me the option to add a new device, only to select a device.
Should I delete the current device provisioning profile, in order for eas to ask me to add a new device?
Would that work?

But to add that device, I need to manually add it in my developer account using UDID and I do not have a mac to connect my Ipad, in order to get that information.

Why you need to manually add it? Run eas device:create, select option to do that via website, scan qr code with device that you want to use. After that when you run build it should ask you to select a devices you want to use, so make sure all the devices you want are selected. If device is registered in expo but not in apple cli should add it to apple dev portal too.
If above does not work for some reason provide full output of the commands you are running, otherwise it's just guessing.

That's what I said before.

@wkozyra95 Thanks for the response but it's still not working.
I have tried to create a new device using eas create:device but when I scan the qr code with my ipad, it just show

Set up your device for internal distribution

And below it, the loading icon just keeps spinning. It never completely loads. For more than 2 hours now.

This is what happens when I run eas device:create and scan using my iPad.
It just keeps loading. Nothing else shows. I do not know if the issue is from my iPad or eas.
I get asked these questions when running eas device:create
? How would you like to register your devices? » - Use arrow-keys. Return to submit.
>   Website - generates a registration URL to be opened on your devices
    Developer Portal - import devices already registered on Apple Developer Portal
    Input - allows you to type in UDIDs (advanced option)
    Exit

I have to choose website because I didn't manually add it and neither do I have access to the UDID.

The buttons (hamburger, expo icon, "what's this?" button) on the webpage that show doesn't perform any action. I do not know if the javascript isn't loading or something is stopping it from loading, maybe that's what's not allowing the webpage to fully load

It just keeps loading. Nothing else shows. I do not know if the issue is from my iPad or eas.

What do you mean keeps loading? Is it expo website, with spinner or does the website itself never loads?
Are you opening that link in safari?

Yes the expo website with spinner.
I wish I could attach a screen shot but I can't transfer images from ios to windows laptop.
Sometimes , the expo website(https://expo.dev/register-device/....) doesn't even load at all. It tells me could not connect to server.
I do not know whether it's that my iPad software is outdated or something and expo is rejecting my device lol. I don't know what to even think

I was able to reproduce it only on older versions of iOS. I'm not super familiar with logic that is responsible for registering devices, but if it's failing only for older ones, I suspect it's related to some apple changes/deprecation.
Also, iOS 12 is not supported in the current Expo SDKs anymore (technically SDK 46 requires at least iOS 12.4, but that SDK will also be dropped soon). I might look into that issue latter on, but I can't promise anything, sorry.

I use SDK 45 and iOS 12.6
So what this means is that I'm doomed right? There's no immediate fix for this currently or any alternative method to explore?

There are some results for googling "How to Find UDID of iPhone without a mac", I personally wouldn't trust those, because it requires downloading configuration profiles from those sites, but if you don't have a choice it might be fine.
Also, you will need to update your SDK, because SDK 45 will not be accepted in the app store anymore https://developer.apple.com/news/?id=jd9wcyov

Hello.
I've been able to install it on my ipad but whenever I open the app it automatically closes. I believe it crashes. Could it be from my code or the build?
And is there anyway to debug this?

Any updates on this? I also notice this on an iPhone XR, iOS 13.1.3.
https://expo.dev/register-device/...
loader spins infinitely...


Documentation Update: Primarily Ruby Docs

Few different fixes (Mainly ruby), from OSS day.
Nothing really removed (Other than the re-using of browser windows)

For reference for both of you have a quick glance through: https://app.netlify.com/sites/cucumber/deploys/5adb44c8e39e7c1137b34c59 - Evidently at the time I found something that doesn't play with the build process. Not sure what to do. Figured what I did was the quickest. But I don't like all the non-relevant titles in each thread.
Maybe one for @aslakhellesoy to advise on?

As it seems as though there have been some sweeping changes. It's likely some of my stuff can now be removed (As it broke builds previously).
Fixing the conflict was rather tricky. But I've done it (And fixed a couple of the review points), a couple of them didn't make sense to me, so I've not fixed them. But feel free to re-raise if you feel appropriate.
I know I can look into the java tagging stuff in more detail. But I'd rather find out firstly what you think needs fixing before I sink a load more time in.

@luke-hill One small edit for consistency. Otherwise, I'm to merge this (unless @diabolo objects?) and take it from there (I can have a look at the text blocks for browser automation (or it might be split into several languages specific pages).

Hi @luke-hill,
Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾
In return for this generous offer we hope you will:

✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
ℹ Don't feel obliged to help, just do what you can if you have the time and the energy.
🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber

Yay welcome @luke-hill!


Fix errors for compare revisions page(JSONDecodeError and Invalid literal int error)

Fixes #3709

@wes-otf Can you please test this since you have a good grasp of the issue.

@frjo totally! is it on test yet? I think that's going to be the easiest way to confirm all is amended

Deploying to test now, will take a couple of minuts.

looks like it works to me!


Fixes VirtualSessionStorage with pdo_sqlite as storage

Playing with the WebsocketAppDemo, I stumbled over an issue with the VirtualSessionStorage with pdo_sqlite as storage.
It turned out that there was no PDO object in the PDOSessionHandler if the database connection is defined as DSN string. To solve the issue you have to call PdoSessionHandler::open, and since this method is defined in the SessionHandlerInterface it should be save to call it every time (In the MemcacheSessionHandler it always returns true, for example.).

Thanks @skroczek!


Cannot block the site using Powershell Sharepoint online management shell

Trying to block a site for unmanaged devices using the command below:
Set-SPOSite -Identity https:///sites/ -ConditionalAccessPolicy BlockAccess
But I am getting following errors:
Set-SPOSite : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:1

Set-SPOSite -Identity https://xxxxxx.sharepoint.com/sites/VerySecure -C ...

  + CategoryInfo          : InvalidArgument: (:) [Set-SPOSite], ParameterBindingException
  + FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.Online.SharePoint.PowerShell.SetSite

Can anyone please help me.
Thanks in advance.

@lamanirmal thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Moved changes to new branch - Issue before PR

I moved my change to another branch, since im more interested in this project than before. (and I hate working on master).
Before redoing PR , you guys can check it here: https://github.com/Azure/azure-mobile-apps-js-client/compare/master...andreujuanc:pull
Changes are:
1.- Simplify pullPage by moving stuff to processPulledRecords
2.- Inside processPulledRecords I use a storeTaskRunner
3.- Then for every record i call in a chain (called recordsChain) processSingleRecord where it's  checked against PendingOperations, id is validated, and "categorised" for delete or upsert.
4.- back in processPulledRecords after recordsChain is resolved I execute the records for delete and upsert.
Let me know if there is any other thing to comply with. Or any additional requirement.
I tested this on my application and works good.  But i haven't done any unit test. yet.

Thanks @andreujuanc for your implementation. I have your changes in my repository now - feel free to delete your pull branch if you want to. I'll do some testing and start a code review a little later.

@shrishrirang Cheers


Add all files from saddle-token repo

deployments
contracts
interfaces
libraries
tests
added aliased deps to maintain versions
added some testUtils helper functions

I have no idea how to confirm that no bytecode was changed, but that'll be necessary before continuing

Need to confirm bytecodes didnt change before merging but code wise lgtm


ur_moveit_config move() failed or timeout bug

Environment

Ubuntu 22.04.2 LTS
ROS2 humble (clean build on 2023/07/19)
UniversalRobots driver humble branch (f7b880249161a21cc4906ae6ca56aa6a19fa7c15)
Real UR5e arm with urcap (v1.0.5) enable
rmw cyclone with ros2 cyclonedds tuning (reference to ros2 document)

Issue
I have tested in ursim which works very well, all the examples can be repeated. Therefore I head to the lab today and try repeating the same example with real ur5e arm. When I try to use the moveit to send goal pose of TCP, and click "plan" .... below errors come out. The planning phase can be done, but the controller fail to move the robot arm due to timeout.
When I click "plan and execute", the robot arm do move a little bit toward the goal pose, but same error will pop up after several seconds.
I have tried to swap to different controller (from scaled to non-scaled), same situation and same error message about too long to execute and timeout.
Error log
[move_group-1] [WARN] [1689760449.589027588] [moveit_trajectory_processing.time_optimal_trajectory_generation]: Joint acceleration limits are not defined. Using the default 1 rad/s^2. You can define acceleration limits in the URDF or joint_limits.yaml.
[move_group-1] [INFO] [1689760449.591591745] [moveit_move_group_default_capabilities.move_action_capability]: Motion plan was computed successfully.
[rviz2-2] [INFO] [1689760449.592107812] [move_group_interface]: Planning request complete!
[rviz2-2] [INFO] [1689760449.630042890] [move_group_interface]: time taken to generate plan: 0.00608139 seconds
[move_group-1] [INFO] [1689760453.738234622] [moveit_move_group_default_capabilities.execute_trajectory_action_capability]: Received goal request
[move_group-1] [INFO] [1689760453.738326822] [moveit_move_group_default_capabilities.execute_trajectory_action_capability]: Execution request received
[move_group-1] [INFO] [1689760453.738357175] [moveit.plugins.moveit_simple_controller_manager]: Returned 2 controllers in list
[move_group-1] [INFO] [1689760453.738373989] [moveit.plugins.moveit_simple_controller_manager]: Returned 2 controllers in list
[rviz2-2] [INFO] [1689760453.738365562] [move_group_interface]: Execute request accepted
[move_group-1] [INFO] [1689760453.738463640] [moveit_ros.trajectory_execution_manager]: Validating trajectory with allowed_start_tolerance 0.01
[move_group-1] [INFO] [1689760453.740708626] [moveit_ros.trajectory_execution_manager]: Starting trajectory execution ...
[move_group-1] [INFO] [1689760453.740746658] [moveit.plugins.moveit_simple_controller_manager]: Returned 2 controllers in list
[move_group-1] [INFO] [1689760453.740762447] [moveit.plugins.moveit_simple_controller_manager]: Returned 2 controllers in list
[move_group-1] [INFO] [1689760453.740890654] [moveit.simple_controller_manager.follow_joint_trajectory_controller_handle]: sending trajectory to scaled_joint_trajectory_controller
[move_group-1] [INFO] [1689760453.741390484] [moveit.simple_controller_manager.follow_joint_trajectory_controller_handle]: scaled_joint_trajectory_controller started execution
[move_group-1] [INFO] [1689760453.741406119] [moveit.simple_controller_manager.follow_joint_trajectory_controller_handle]: Goal request accepted!
[move_group-1] [WARN] [1689760457.472366589] [moveit.simple_controller_manager.follow_joint_trajectory_controller_handle]: waitForExecution timed out
[move_group-1] [ERROR] [1689760457.472395751] [moveit_ros.trajectory_execution_manager]: Controller is taking too long to execute trajectory (the expected upper bound for the trajectory execution was 3.730762 seconds). Stopping trajectory.
[move_group-1] [INFO] [1689760457.472443941] [moveit.simple_controller_manager.follow_joint_trajectory_controller_handle]: Cancelling execution for scaled_joint_trajectory_controller
[move_group-1] [INFO] [1689760457.472768063] [moveit_ros.trajectory_execution_manager]: Completed trajectory execution with status TIMED_OUT ...
[move_group-1] [INFO] [1689760457.472840696] [moveit_move_group_default_capabilities.execute_trajectory_action_capability]: Execution completed: TIMED_OUT
[rviz2-2] [INFO] [1689760457.473186583] [move_group_interface]: Execute request aborted
[move_group-1] [INFO] [1689760457.491993339] [moveit.simple_controller_manager.follow_joint_trajectory_controller_handle]: Controller 'scaled_joint_trajectory_controller' successfully finished
[rviz2-2] [ERROR] [1689760457.542131508] [move_group_interface]: MoveGroupInterface::execute() failed or timeout reached
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)

Could anyone help me on this? I believe this is a bug issue. This will block my development as I have already written some cpp code to do more complex move in the ursim... which I expect to repeat in the real arm as well. Currently situation blocks my whole development timeline :(

For the ros driver, nope actually. It prints out goal request accepted, sth like that.
For the robot log, how can I export a log from the real robot? Sorry I have no experience on this, might need your guide.

Is there any thing I need to pay attention to when configurating the real robot in the UR scope? I have followed the guide which telling me to generate a calibration file, how this file being used in Moveit?
So far I am still get stuck at this part... anyway I could further debug this issue or provide hints to the community for help?

https://github.com/UniversalRobots/Universal_Robots_ROS_Driver/blob/395c0541b20d0da2cd480e2ad85b2100410fb043/ur_robot_driver/src/hardware_interface.cpp#L159

Could you please post the full output?

For the robot log, how can I export a log from the real robot?

Insert a USB drive into your Teach Pendant
Clear the log output (see image below)
Download the support file (see image below)
In the generated zip you will find a log_history.txt file.

I will get back to you as soon as possible as the lab is quite far away from where I live. Thanks for the guide. Btw, do u mean I should enable the non_blocking_mode? Sorry for not so clear about this part and I would like to clarify before going to the lab to ensure I capture most of the log you required.


refactor!: remove duplication in log modes

Just simple improvement to make it more Go idiomatic.

PascalCase for constants
prefix with the enum type (since we lack enums in Go :( )
only use the server.Mode instead of server.Mode + handler.Mode
break the dependency loop with a ServerMode interface

Otherwise, it's confusing on what mode to use.
Also, the light enforcing on enum-like type makes it miss some logic (might not configure the logging accordingly if you use server.Mode(123).

I'll fix linter and merge it :)


fix(filedrop): loses UTF-8 encoded characters in text files

Closes #
https://github.ibm.com/wiotp/monitoring-dashboard/issues/621
Summary

Text files imported with FileDrop with UTF8 encoding were losing their UTF8 characters

Change List (commits, features, bugs, etc)

feat(FileDrop): added a new fileType prop to determine the type of reader to use to parse the file

Acceptance Test (how to verify the PR)

Use the json example story to try and import a file with unicode characters and make sure it doesn't get garbled in the action logger

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


error handling /istio-validator-istio-system, retrying (retry count: N): webhook is not ready, retry controller=validation

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
The sidecar fails to inject with the following error:

Error creating: Internal error occurred: failed calling webhook "namespace.sidecar-injector.istio.io": failed to call webhook: Post "https://istiod.istio-system.svc:443/inject?timeout=10s": dial tcp <IP_ADDRESS>:15017: i/o timeout

istod reports the following error:

error handling /istio-validator-istio-system, retrying (retry count: N): webhook is not ready, retry controller=validation

Version
istioctl version
client version: 1.18.2
control plane version: 1.18.2
data plane version: 1.18.2 (10 proxies)

Additional Information
I saw suggestion to hotfix the deployment with hostNetwork: true, but it didn't help. We are running in k8s 1.27 in AWS EKS. This is the installation operator manifest:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  name: istiocontrolplane
spec:
  meshConfig:
    accessLogFile: /dev/stdout
    accessLogEncoding: JSON
    defaultConfig:
      extraStatTags:
        - request_host
        - request_operation
        - request_method
  components:
    pilot:
      k8s:
        imagePullPolicy: IfNotPresent
        hpaSpec:
            maxReplicas: 3
            minReplicas: 3
        affinity:
          nodeAffinity:
            requiredDuringSchedulingIgnoredDuringExecution:
              nodeSelectorTerms:
                - matchExpressions:
                    - key: dedicated
                      operator: In
                      values:
                        - infra
          podAntiAffinity:
            requiredDuringSchedulingIgnoredDuringExecution:
              - labelSelector:
                  matchExpressions:
                  - key: app
                    operator: In
                    values:
                    - istiod
                topologyKey: topology.kubernetes.io/zone
        tolerations:
          - operator: Exists

I also got the same error for the default validator:

error handling /istiod-default-validator, retrying (retry count: 8): webhook is not ready, retry

It is difficult to troubleshoot the issue since no other errors are being reported

please check the firewall/security group of your nodes.

For anyone who ran into the same issue who uses Terraform + AWS EKS, this is what you need to add to your script to:
module "eks" {
  source  = "terraform-aws-modules/eks/aws"
  version = "19.15.4"

  node_security_group_additional_rules = {
    istio_injection_webhook = {
      description                = "Cluster API to istiod webhook"
      protocol                   = "tcp"
      from_port                  = "15017"
      to_port                    = "15017"
      type                       = "ingress"
      source_cluster_security_group = true
    }
  }
}

Istio doca have instructions for other clouds, but do not mention this for AWS EKS.


[Insight] Projects must not depend on dependencies with known security issues

The checker detected 1 security issues in package doctrine/orm installed in version <IP_ADDRESS> 1) Security Misconfiguration Vulnerability in various Doctrine projects.

Posted from SensioLabsInsight

I have a PR ready that will fix this. Just waiting on #53 to be merged.

This is fixed by #58


ixx: swap backend to ixx

closes #84, #105, #24

We should not use a number to track the scopes otherwise the URLs are not stable

Any recommendations I would not like to introduce a separate but the url and name are not stable itself

The name is probably as stable as we get it. The whole url is to long and adding an extra option is probably overkill.
Maybe we should add a fallback if the selected option is no longer in the scope. Something like did you mean XYZ.


Correct a warning in MANIFEST.in

warning: manifest_maker: MANIFEST.in, line 7: 'recursive-include' expects <dir> <pattern1> <pattern2> ...

Thanks for raising this!
I think this is a wrong copy from somewhere and the entire line is not needed. WDYT?

I agree. Updated :)


Added TS info for new error

Added troubleshooting info with a reference to section that will contain explanation on how and why to escape these characters when updating the credentials for the AKS cluster. Update to main Doc with explanation is linked here. https://github.com/MicrosoftDocs/azure-docs/pull/86711

@willbrim : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@zr-msft any update? let me know if you need anything else or have any edits proposed.

Thank you for the feedback!
I've address this feedback in a separate PR and the changes should be available soon.
#please-close


validate-bundle target failing with ajv missing on brigade

cd examples/aks-spring-music && ajv test -s /tmp/bundle.schema.json -d .cnab/bundle.json --valid
bash: ajv: command not found
make[1]: *** [Makefile:164: validate-bundle] Error 127
make: *** [Makefile:162: validate-bundle] Error 2

https://brigadecore.github.io/kashti/jobs/porter-publish-examples-01djat8yej4pk61y39ya0csw7e

Oops!  Thanks for spotting and filing.


fix fetcher response on binary response.

finally figured this out after a whole day of debugging ... turns out the fix is pretty simple.
context: when you run a pack that fetches binary response with the packs-sdk, it gets a different response from what it gets in the v1 world ...
so first isBinaryResponse needs to be passed through. this is easy.
the tricky part is that request-promise-native returns a Buffer-ish object in that case. it looks identical to a node Buffer but Buffer.isBuffer returns false on that object! this leads to mysterious behavior in the system esp when it goes through marshal / unmarshal or anywhere uses isBuffer check.
The solution is to rebuild the object into a native Buffer.

in v1 you can only execute a pack with calc server. in v2 you can execute it with CLI or in a unittest, where the response isn't passed between services so that JSON stringify/parse isn't applied.

@huayang-codaio ah ok so you can pass whatever format you want / expect whatever format inside a pack since a user could pass in whatever they want from CLI?

oh, I guess I mislead you on this. In the v1 world, the JSON serialization happens on the network boundary when data is passed between services.
In some v2 supported executions (e.g. in the CLI, unittests, etc), the data fetching and the pack execution happens in the same JS process where we don't apply JSON serialization. This has nothing to do with processing user CLI inputs, just that don't do it within a single process.

ah after testing I realized that this only fixes the non-vm execution. the vm execution still creates a new Buffer object.
specifically, the unmarshalBuffer method registered in one eval will give the pack in another eval a buffer-ish objet but Buffer.isBuffer still returns false.
to fix that I think we need to get rid of the context fetcher from the pack code (which is registered in another eval) and use some helper method from the packs-sdk instead. this is too complicated..

let me revert the buffer reconstruction change for now. it needs a better solution.

For added fun, request-promise-native is deprecated and we should be migrating to node-fetch.  Mind queuing that change up as a followup?

For added fun, request-promise-native is deprecated and we should be migrating to node-fetch. Mind queuing that change up as a followup?

I do believe we want to do that. Probably after the v1 packs migration though to keep the interface consistent during the v2 migration.


Latest commits break Travis CI

Need to do the following:

[x] Change the TargetFrameworkVersion for src and tests to 4.5 instead of 4.5.2
[x] May want to consider backing TargetFSharpCoreVersion to <IP_ADDRESS> or <IP_ADDRESS>
[ ] Change FAKE build to MSBuild certain projects rather than Arachne.sln and disable PCL builds due to apparent lack of PCL profiles on Travis (?)

This is an interesting one. I guess we need to be sure what we're trying to solve by having a Travis build (what are we trying to validate?)
My thinking in terms of the changes to project targets was something like:

Make the src projects as up to date as possible, so we know where we're not taking advantage of new features via compiler/lint warnings, etc. Make sure they validate that things work in the F# 4 world.
Make each target the lowest it possibly can be. Deal with anomalies via #ifdef if needed.

What's the goal of shifting the src projects back to 4.5 and <IP_ADDRESS> or <IP_ADDRESS>? We're never releasing those binaries. 4.5.2 is the only supported 4.5.x now too I believe?
Not unhappy to do it, just trying to work out the best way (Aether, Chiron, etc. have all taken this route too, but only have an AppVeyor build). What's our goal with Travis?

@forki I could use some help with Travis. Do you have any spare time to take a quick look?

I'm not sure we're going to get this nailed any time very soon, so I propose we move ahead without a proper Travis build (don't like doing it at all) and prioritize reinstating that ASAP once 3.0 is out. That's probably the pragmatic option unless there are strong objections?

@kolektiv, please do, and apologies for the delay. I'll see whether I can corner @ctaggart to help me with this soon.

@kolektiv, I spoke with @ctaggart who suggested we wait and focus on .NET Core instead. I think a happy medium might be to forget about travis-ci and any hope of building on a Mac/Linux for awhile. I think Xamarin Studio 6 may have better support for PCLs. We'll soon see.

Yes, I'm inclined to agree at this stage. It's rather out of our control for now, so I think we'll remove Travis integration (heavy hearts, etc...) and keep it on the backburner to revisit. I think Core will be a definite priority and we'll get support out for that as early as possible. I'm going to close this now and go ahead and remove Travis. I'm going to do the same with Freya too, as the same issue is going to apply as soon as multiple targets appear.
Thanks for trying! Sometimes things are just broken :smile:


[SR-11101] swift-format crashes on empty file or file with only comments

Previous ID
SR-11101

Radar
None

Original Reporter
@keith

Type
Bug

Status
Closed

Resolution
Done

Environment
Xcode 11 beta 1
This swift-format branch https://github.com/apple/swift-format/pull/1/

Additional Detail from JIRA

Votes
0

Component/s

Labels
Bug, Format

Assignee
dabelknap (JIRA)

Priority
Medium

md5: 07308cc0b8404a0c24fa8a084b137d80

Issue Description:
I assume these 2 crashes are related, if you have a file with no contents, or a file with only comments like:
// test

And you run `swift-format -i foo.swift`, it crashes with this trace:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   swift-format                    0x0000000101f076cd joinLines(_:) + 2013
1   swift-format                    0x0000000101f047bb OrderedImports.visit(_:) + 5403
2   swift-format                    0x000000010217d88e SyntaxRewriter.visit(_:) + 29406
3   swift-format                    0x0000000101e74cd2 FormatPipeline.visit(_:) + 1490
4   swift-format                    0x0000000101e759fb SwiftFormatter.format<A>(syntax:assumingFileURL:to:) + 315
5   swift-format                    0x0000000101e75895 SwiftFormatter.format<A>(contentsOf:to:) + 533
6   swift-format                    0x000000010219ba95 formatMain(configuration:path:inPlace:debugOptions:) + 421
7   swift-format                    0x00000001021988d0 main(_:) + 3248
8   swift-format                    0x0000000102197c07 main + 23
9   libdyld.dylib                   0x00007fff6241f3d5 start + 1

@akyrtzi Could we transfer this issue?

Sounds good to me.


Create experimental view controller implementation

Create an "experimental" (and untested) view controller, and make it available if a feature registers with a HUBViewController=v2 option.
The experimental view controller is a work-in-progress and is currently an exact line-for-line copy of the "standard" VC.

Codecov Report

Merging #309 into master will decrease coverage by 12.63%.
The diff coverage is 8.86%.

@@             Coverage Diff             @@
##           master     #309       +/-   ##
===========================================
- Coverage   93.29%   80.66%   -12.64%
===========================================
  Files          75       76        +1
  Lines        5134     6036      +902
===========================================
+ Hits         4790     4869       +79
- Misses        344     1167      +823

Impacted Files
Coverage Δ

sources/HUBViewControllerFactoryImplementation.m
100% <100%> (ø)
:arrow_up:

...rces/HUBViewControllerExperimentalImplementation.m
5.08% <5.08%> (ø)

sources/HUBUtilities.h
70.83% <0%> (-1.05%)
:arrow_down:

Continue to review full report at Codecov.

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

@mhallendal


Updated package moment to avoid vulnerability

The vulnerability was reported at https://nodesecurity.io/advisories/55
The test.js file ran without issues.

+1

+1

@holidayextras/team any updates here?

From the issue:
@danjenkins commented 20 days ago
I should probably be removed from this repo as a maintainer as I no longer have commit access. If you want moment updated why not do a PR yourself and ask @viktort to merge it?

Tested this manually and the unit tests pass.

Thanks @hx-markterry !!


Geo predicates wiki

Create wiki doc listing geo specific predicates that are used in GeoConcerns. Requested by @tpendragon and the Hydra URI Management Working Group.

Let's take another look at projection predicate.

DCMI Box encoding scheme also accommodates recording projection. Would that be a solution? http://dublincore.org/documents/dcmi-box/

@johnhuck What we want, I think, is just the projection bit. It seems to me that dcmi-box describes the projection of the bounding box not necessarily the projection of the underlying dataset. This is quite common. I suppose what I meant, is, does there exist a predicate/vocabulary that describes projection that we can use out of the box. Or is it like it like geospatial file format, and we'll have to cobble something together ourselves.

@johnhuck  I'm sure you've seen this, but EPSG is a comprehensive, and industry standard list of f coordinate reference systems. Is there a linked data vocab that already uses this list? If not, then perhaps we can build one. This one is easier than file format, because ESPG is exhaustive. Not entirely complete I'm sure, but pretty darn close I'd bet.
http://spatialreference.org/ref/epsg/4326/

Since EPSG assigns URNs to manage different projections, what they are maintaining is already a controlled vocabulary, so there wouldn't be a need to make a different one. As least as far as RDF is concerned, a URN is a URI and can be used anywhere a URI is required.  But if we used bf:projection, whose range is rdfs:Literal, its URI status would be irrelevant, except as an unambiguous identifier, which could perhaps be repurposed later. Several online services like the one you mention seem to provide the value-added service of a URL for the terms. This one supplies the GML metadata for the projection, but I think it's a third-party offering: https://epsg.io/4326.gml

Added a wiki page with a basic table. Needs more information.

We have the basic wiki. I think we can close this issue.

Agreed.


Insert pairs of parentheses, braces, and brackets

Most modern programmer's editors insert the matching (closing) parenthesis after the programmer inputs the opening one.

It has been resolved.

Awesome! Thanks for the blazingly fast fix


HSEARCH-2640 Improve resilience of cleanup methods (close, etc.)

https://hibernate.atlassian.net//browse/HSEARCH-2640
This isn't strictly necessary in 5.8, but I think it's an improvement, and I'll need the Closer class to fix an issue in our JSR-352 integration (https://hibernate.atlassian.net/browse/HSEARCH-2673).

extreme measures :)

Well... I can't think of another way of making sure we properly close all resources... There's the fake try-with-resources pattern we applied in some Elasticsearch components, but it doesn't work anymore once you have to close a collection of resources.
So I'm not sure this is an extreme solution, it's just the only one I could think of. Though I agree it may be a bit extreme to consider the problem worth solving to begin with.

merged


Is this code in Nuget?

Hi,
Is this code in Nuget?
Thanks

Sorry for the delay. No its not but that's actually something I've been thinking about. Its definitely something I want to get done.

Install-Package Plugin.GridViewControl


feat: Allow custom HTTP client to be injected into EDV REST provider

Signed-off-by: Derek Trider<EMAIL_ADDRESS>

Not needed


Community Blogs feedback & suggestions

Hello!
Yesterday I had the pleasure to release a community blogpost, and I have a few comments on the topic:

Only the last three community blogposts are reasonably accessible by any user, the others can only be seen by endlessly clicking on the ">" arrow until you happen to find the blogpost that you're interested in. I would have expected a separate page or tab for these blogs, e.g. just like how NLP has a separate tab.

I'd love to be able to optionally select an image as the preview, specifically for rich embeds when linking to the blogpost. Right now the embed is:

I'd love to be able to see some analytics of the blogpost as the author.

The "Community" tab in the blog page is now somewhat confusing, as it doesn't actually have "Community blogposts".

Collaboration is not possible - I understand that this is a lot of work for little reward, but the option to add other authors via metadata would already be very valuable.

The maximum title length is quite low, I had to rephrase a few tiles to try and get it to fit. It didn't use ... when it was the first blogpost, but now it does:

Points 2 and 5 should be possible if the format from https://github.com/huggingface/blog is adopted, e.g.
---
title: "Non-engineers guide: Train a LLaMA 2 chatbot"
thumbnail: /blog/assets/78_ml_director_insights/tuto.png
authors:
- user: 2legit2overfit
- user: abhishek
---

from here.

Tom Aarsen

useful feedback, thanks!

Thanks for the feedback Tom! Some thoughts for everyone:
#1 Is it possible to add mouse scrolling horizontally, without changing the rest of the visuals? Might be a more atomic / simpler way to improve (also consistent with how users navigate many other pages we have).
#3 Could be nice to motivate bloggers, also to track impact over time (do we already have something like this internally?)

i think for point 1 it's better to design a separate, "view all", page

Point 2 has been improved - the rich embed now included the title like so:

Great job with this!

With https://huggingface.co/blog/community , this issue is now done :fire:


locate feels very unintuitive (Or am I just using the wrong function?)

Description
I assume there's something I'm not getting here, but I don't know what. From the name and documentation, it feels like the point of the locate function is to find the location or position of an element. If that's the case, I'm confused as to why it:

Takes a function as an input (rather than a block, or just not taking arguments at all),
Returns a content block, instead of just a pair of coordinates, and
Apparently it's impossible to convert this content into a pair of integers?

Am I misunderstanding what this function is supposed to do? Is there another function that just returns the current position as a pair of lengths?
Use Case
\

So locate has a somewhat unusual design, but once you understand it and use it in practice it starts to make sense.
The idea is that if it were to just return the information directly, then that information could be invalidated as the rest of your document is compiled (things move around etc.). When that happens, the compiler needs to recalculate everything that depends on that information.
By making the function expect a function as a parameter, it nicely encapsulates the piece of your document that depends on that information.
The function that you write and give to locate in turn expects a single parameter of its own. You can call this whatever you like, but the docs like to use the name loc. It is this object that you can inspect for coordinates, current page number, and the like.
locate itself instead returns the content from whatever you put inside of the function you write within it. This could be nothing (no content), but even then that nothing is still placed in the document somewhere so that the compiler knows what location information to provide to your function.

In that sense locate is more about finding the current position in the document. If you want to find the position of a particular part of the document, you use it in tandem with query.


First pull request: NesVoR Nodes + simple dataGrabber

Just to put everything in the main repo to start, two different files:
fetpype/nodes/nesvor.py contains two custom Nodes implementing masking and registration using a singularity NESVOR image.
tests/test_nesvor.py contains a simple workflow testing the nodes, as well as a simple BidsDataGrabber.
Limitations:

No unit tests, no data available
DataSink is still not working, need to be saved in a BIDS derivatives compliant format.

Also, of course, the data Graber should be customized and added as a separate module, right now I am using the default BIDSDataGrabber

Everything is fixed + should pass the tests! The new changes are:
-nesvor node including a general class for computing the full process, and separate classes to do the different steps (mask, registration, reconstruction) separately if needed.

Two versions of the nesvor pipeline with same functionality: one calling the full reconstruction (create_nesvor_subpipes_fullrecon) and the other doing it step by step (create_nesvor_subpipes).

Some issues:

Only tested on singularity.
There is an error when running the step by step version, as the DenoiseImage by Ants creates some incompatibility with SVORT and fails with an "incompatible affine matrix" error. Surprisingly, this does not happen when running the full reconstruction.

@GerardMJuan your PR has no conflict so merging is straightforward, but I would prefer to wait for @davidmeunier79 to do it, expect if you cannot wait. Let me know/

After some help from Alex @alexpron  and Steven @stoujia I was able to run the version with Nesvor on the GPU of the  Mesocentre so I can validate this PR.
It works with version 0.5.0 of nesvor docker :
https://hub.docker.com/layers/junshenxu/nesvor/v0.5.0/images/sha256-28e6233f967af8bfcbd8d75b2a736699bf97f8adad1184ac1eed65ac4674148f?context=explore
but not the version 0.6.0rc2 I first downloaded from there:
https://hub.docker.com/r/fnndsc/nesvor/tags
Many thanks again @GerardMJuan !


appendMirrors does not work as expected with RKE2 versions higher than v1.28

Spegel version
v0.0.27
Kubernetes distribution
RKE2
Kubernetes version
v1.29.3
CNI
Calico
Describe the bug
First of all thanks for this awesome project, it helps a lot!
I have 2 RKE2 clusters with version 1.28.7 and one with 1.27.10 that pull images from a private gitlab registry with the content of /etc/rancher/rke2/registries.yaml:
configs:
  gitlab-registry:1337:
    tls:
      ca_file: /etc/rancher/rke2/certs/CA.crt

If i set appendMirrors: true in the helm chart values, it merges the hosts.toml file as expected:
server = 'https://gitlab-registry:1337'

[host.'http://<IP_ADDRESS>:30020']
capabilities = ['pull', 'resolve']

[host.'http://<IP_ADDRESS>:30021']
capabilities = ['pull', 'resolve']

[host.'https://gitlab-registry:1337/v2']
ca = ['/etc/rancher/rke2/certs/CA.crt']
capabilities = ['pull', 'resolve']

Now with other RKE2 clusters of versions 1.29.3, 1.30.1 and 1.30.5 it does not merge the files. The content of /etc/rancher/rke2/registries.yaml is exactly the same in all clusters but I end up with the config file like this:
server = 'https://gitlab-registry:1337'

[host.'http://<IP_ADDRESS>:30020']
capabilities = ['pull', 'resolve']

[host.'http://<IP_ADDRESS>:30021']
capabilities = ['pull', 'resolve']

while the hosts.toml file from _backup folder looks like this:
# File generated by rke2. DO NOT EDIT.

server = "https://gitlab-registry:1337/v2"
capabilities = ["pull", "resolve", "push"]

ca = ["/etc/rancher/rke2/certs/CA.crt"]

and I end up getting x509: certificate signed by unknown authority error when pulling new images from this private registry, while already existing images are pulled from other nodes as expected.
In the configuration container log it says that it appended the configuration:
{"time":"2024-11-25T19:36:06.3668089Z","level":"INFO","source":{"function":"github.com/spegel-org/spegel/pkg/oci.AddMirrorConfiguration","file":"/build/pkg/oci/containerd.go","line":376},"msg":"appending to existing Containerd mirror configuration","registry":"https://gitlab-registry:1337"}
{"time":"2024-11-25T19:36:06.366918714Z","level":"INFO","source":{"function":"github.com/spegel-org/spegel/pkg/oci.AddMirrorConfiguration","file":"/build/pkg/oci/containerd.go","line":387},"msg":"added Containerd mirror configuration","registry":"https://gitlab-registry:1337","path":"/var/lib/rancher/rke2/agent/etc/containerd/certs.d/gitlab-registry:1337/hosts.toml"}

here is my values file for all clusters:
image:
  tag: "v0.0.27"
spegel:
  logLevel: "DEBUG"
  registries:
    - https://cgr.dev
    - https://docker.io
    - https://ghcr.io
    - https://quay.io
    - https://mcr.microsoft.com
    - https://public.ecr.aws
    - https://gcr.io
    - https://registry.k8s.io
    - https://k8s.gcr.io
    - https://lscr.io
    - https://gitlab-registry:1337
  containerdMirrorAdd: true
  resolveLatestTag: false
  appendMirrors: true
  containerdSock: "/run/k3s/containerd/containerd.sock"
  containerdRegistryConfigPath: "/var/lib/rancher/rke2/agent/etc/containerd/certs.d"
  containerdContentPath: "/var/lib/rancher/rke2/agent/containerd/io.containerd.content.v1.content"

RKE2 and K3s do not support standalone spegel deployments. Those distros manage their containerd config files, and will override the outside "interference" of spegel deployed as a helm chart. See https://docs.k3s.io/installation/registry-mirror (the same stuff applies to RKE2).

tl;dr - uninstall the spegel chart, add embedded-registry: true to config.yaml on your servers, and restart rke2.

Thank you for the suggestions. Can you help me how can I read the spegel logs when using embedded-registry: true because I can't get it to work with mirrors: "*" in registries.yaml

Per the docs

Wildcard support is available as of the March 2024 releases: v1.26.15+k3s1, v1.27.12+k3s1, v1.28.8+k3s1, v1.29.3+k3s1


Update main.js for AstraZeneca

While second vacination with AstraZeneca is now present in the Excel File, "Differenz zum Vortag" and "Impfquote" for "Zweitimpfung" has moved

thank you !


Question about errors related to past tensor in modeling_bert.py

Hi :)
First of all I want to thank you about developing and sharing such a great works.
I wish you the best!
I have a question about a part in modeling_bert.py.
in line 725, we are getting assertion error due to different size matter.
What is past tensor and why are we getting the assertion error?

thank you again!

Hello, I wonder if you have solved this problem?


Raise a warning if no galaxy_tags are in meta/main.yml

Issue Type

Feature request

Ansible and Ansible Lint details
# ansible --version
ansible <IP_ADDRESS>
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides

# ansible-lint --version
ansible-lint 3.4.10

ansible installation method: OS package
ansible-lint installation method: pip

Desired Behaviour
When you import a role in Ansible Galaxy, a warning is issued if no galaxy_tags are specified in meta/main.yml:
Starting import 53571: role_name=ansible-role-nano repo=ferrarimarco/ansible-role-nano
Accessing branch: master
Parsing and validating meta data.
Parsing galaxy_tags
No galaxy_tags found in meta data.
Parsing platforms
Parsing and validating README
Adding repo tags as role versions
Import completed
Status SUCCESS : warnings=1 errors=0

It could be nice if Ansible-lint issued the same warning. Thanks

ansible-lint doesn't really have the concept of warnings. ansible-review is probably better designed for this, and also has a built in check for this problem
https://github.com/willthames/ansible-review/blob/master/lib/ansiblereview/examples/standards.py#L64-L68
that relates to https://github.com/willthames/ansible-review/blob/master/lib/ansiblereview/examples/lint-rules/MetaMainHasInfoRule.py
The main thing though is that ansible-review can just warn for an issue rather than error (any unversioned  standard is a warning, not an error).
I hope that helps - let me know if you have further questions.

Thanks for replying. I didn't know about ansible-review.
So do you think a warning could be better than an error? I thought about a warning because Ansible Galaxy does not prevent you uploading a role without tags.

If this were to be a rule, I'd suggest just using your own custom rule - most people don't upload their roles to galaxy, so the lack of galaxy_tags is not in general a concern.