Relieve the requirement level of query support for 'nsites' from MUST to OPTIONAL

In the COD each structure is represented by an asymmetric unit + list of symmetry operators. One has to perform full symmetry reconstruction to arrive to the list of all atoms in cell, and this operation is quite intensive. Therefore both listing and querying on atoms and their positions is infeasible in the COD (more details in #184). Thus I would request relieving the requirement levels for querying on such structures. This PR addresses the nsites, the only coordinate-based property on which querying MUST be supported as of now.
Edit: This PR is also included in PR #210.

I think this PR could just as well have been handled in #203. They are closely related, and what we agree on affect both of them, the discussion just gets spread out and more difficult to follow. If you agree, you can close this and move the changes over to #203.
Anyway, I'm opposed to having a SHOULD here. If we agree that a CIF-based representative atoms-representation is "as common" as the filled cell one, I think we should fully relax the requirement for filtering on nsites.
In short, to avoid juggling a lot of possible rules and special cases for when things should be included, filterable, etc., I propose there are only two possibilities:

A few properties are included "by default" and MUST be filterable.
All other properties are not included "by default" and filtering is OPTIONAL.

I think this PR could just as well have been handled in #203. They are closely related, and what we agree on affect both of them, the discussion just gets spread out and more difficult to follow. If you agree, you can close this and move the changes over to #203.

Agree.

In short, to avoid juggling a lot of possible rules and special cases for when things should be included, filterable, etc., I propose there are only two possibilities:
1. A few properties are included "by default" and MUST be filterable.

2. All other properties are not included "by default" and filtering is OPTIONAL.

This seems quite a big change to me, and while I myself agree to it, I'd like to hear opinions from the other implementations. I'll probably open a separate PR implementing your suggestion, and ask for comments on it during the following Web meeting.

I think this PR could just as well have been handled in #203. They are closely related, and what we agree on affect both of them, the discussion just gets spread out and more difficult to follow. If you agree, you can close this and move the changes over to #203.

Agree.

Please do this, as I am indeed having trouble following up on which PRs should be handled before each other.
Since we are not having a single commit per PR / per concept edit, it also doesn't matter if a PR "blows up" a bit, so long as it leaves a self-consistent spec after merging.

@CasperWA This PR is now included in #210.

@merkys is it ok to close this for now to keep the list of open PRs manageable? If #210 is rejected, we can re-open it again?

@merkys is it ok to close this for now to keep the list of open PRs manageable? If #210 is rejected, we can re-open it again?

Agree. Closing this PR for now.


Show command flag

Hi there,
A coworker of mine wanted a command flag to show the debug information before like the command is run.  He added it to pet, but looks like pet development stalled: https://github.com/knqyf263/pet/pull/142
Any chance this could be added to snipkit?  Low priority of course.
Thanks.

Hey,
Just to make sure I understand your proposal: You want to show the script that would be executed (like with snipkit print) and then, if it looks good to you, either execute it or abort?

No, more like a debug mode kind of deal just in case.  Like snipkit still does the exec but prints out the command it ran as well.

Do yout want it printed on stdout or would the log file suffice? Printing the command to the logs if -l debug is enabled  should be one either way.

Stdout would be ideal yeah.

Hi @enlewof , i've just released Version 1.4.0 with two new flags for exec: --print and --confirm.
Does this work for you?


Upgrade a little bit the renderer

Making Gabin chat bubble looking like he is really talking
Make create scene/add audio source div "sticky" so when there is many of them you can alwais add one without needing to scroll to the top

I do not understand the changes on the pnpm.lock.json

And i cannot go further in the setup, i am stuck at the obs scene mapping my websocket is working and i do not have acces to my scenes i tried with obs websocket on Mac and Ubuntu neither of them are working. i got the log that i connect to obs but my scenes cannot be retreived ?


Bug 1926182: [release-4.7]  Support disabling reconciliation of monitoring related resources using a dedicated reconcile strategy flag

Backport for https://github.com/openshift/ocs-operator/pull/1072 and https://github.com/openshift/ocs-operator/pull/1098

/bugzilla refresh

/assign jarrpa

/assign umangachapagain


[BUG] Warn/fail when environment deviates from its spec

The scenario is that someone can run prepare to install the conda environment and then do conda install -p ./envs/default.
Conda project should then detect a change to the live env and warn or fail activities like run or archive. The prepare and lock steps should also be able to correct the state of the env as well.

See note in #8, the same message is printed about the env being out-of-date against the lock if extra packages exist in the env that are not in the spec.


Add organization user details to organization operation email

For any organization account operation, the email should mention who performed that operation. For example, if a user role is changed, the email does not list the user who performed that operation.
Assign a user role

Click on Your organizations
Click on Manage for a specific organization
Click on People
Assign a new role to a user who is a member of the organization. The new role can be owner, manager, billing manager or member.
Click on Save

This change needs to be performed for all org operations. The only exception would be revoking a external collaborator invitation as we would not want to expose user details to an external user.

Priority - high

I have found the right email template for the "role-changed-as-organization-member" action - instead of listing out emails, would it be better to list out the org actions?

Not sure if listing out org actions is the right thing to do. An email is generated after every org action (not limited to role change). Few emails have the user info missing. Would listing out org actions help identify which emails have the user info missing?


Adds TextMate

Adds a beginning entry for TextMate, which still has many fans in the Ruby community.

[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] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @stetsonthree
As there has been no response from your end for a while, we are closing this PR.
Feel free to request this PR to be reopened or create a new PR, if you still wish to make the changes you originally added plus any additional change requests asked of you.  Also, remember to update your fork, so you have the latest version of master in case it has changed significantly.
Happy Coding!


[docs] Stepper - Info about components no longer documented in the Material Design guidelines

Duplicates

[X] I have searched the existing issues

Related page
https://mui.com/material-ui/react-stepper/
Kind of issue
Unclear explanations
Issue description
I was looking for more information about the Stepper component support in MUI (this version and future versions) as this component is neither present in the Material Design 2 specification nor in the Material Design 3 specification (Material You).
In the doc there is a note about that (banner with message "Note: Steppers are no longer documented in the Material Design guidelines, but Material UI will continue to support them."), but it is unclear whether it is safe and future-proof to use it.
It would also be helpful to know it its usage is discouraged and if this is the case, then have suggestions on any scenarios and components to use to avoid using the Stepper component
Context 🔦
Hi folks,
I have to implement a Wizard form and I'm wondering if it's safe to rely on the Stepper component.
This component is no longer documented in the Material Design guidelines:
Material Design 2
Material Design 3
Many thanks for you reply.
Mauro

@samuelsycamore, perhaps it would be better to change the callout type to info, to be less scary. What do you think?

Agreed. There are a few other components that are noted as being "not documented" or "no longer documented." I'm happy to open a PR to standardize the formatting and copy across these pages.

The original version: https://m1.material.io/components/steppers.html


Show message about including .load! after config

I got this following error, even though I had set both adapter and mapping
#<Lotus::Model::Adapters::NoAdapterError: Cannot invoke `create' on repository. Please check if `adapter' and `mapping' are set.>

The problem was that the end of the config block didn't call .load!.
It'd be nice if the error handling checked to see if that was the problem, and provided a specific error message in that case!

@cllns thanks for the issue, could you make a PR?

@cllns Okay, In our docs we specify a lot of times that .load! should be invoked before to use it. See README. In lotusrb, the generated code does it for you.
We're open for an improved error message, unless it requires to change too much the internal code. Thank you very much :smile:

Closed via #282 !


When I tried to run the client.bal in the client service for calculator in the quick tour I got the error ballerina: Oh no, something really went wrong. Bad. Sad.

Description:
I tried to run the client.bal in the client service for calculator in the quick tour I got the error ballerina: Oh no, something really went wrong. Bad. Sad.
Suggested Labels:

Suggested Assignees:

Affected Product Version:
0.975.1
OS, DB, other environment details and versions:
Windows 10
Steps to reproduce:
Follow the quick tour to client service for calculator

Related Issues:

This issue is not reproducible for the latest master. Hence closing the issue. Please re-open if you have any concerns.


Password

Where does the password go after u find correct one?

Plz plz plz delete https://instagram.com/immeghaaaa?igshid=YmMyMTA2M2Y= this Instagram acc 🙏🙏


[RIVER] How fix auto fan speed

Hi ! Auto fan speed in my case (I using 3x River) is completely fail. Fan working only on „1” speed, but If I change auto fan speed to disabled, fan speed is „3”. Hot and quiet or cool and loud - bravo for china small devs.  Medium ?
we can turn it on manually via local API ?

Auto Fan Speed works the same as the one in the official app.
When this is turned OFF, the fan always operates at the maximum speed (3).
When this is ON, I think that it operates at speed 2 if the internal temperature probably becomes a certain range, but a detailed condition is unknown.

I just got answered from the support team. They told me that in auto mode, the fan only starts when

the built-in inverter temperature is higher than 75 C degree, the battery temperature is higher than 45C degrees,
AC load power is over 300w

Maybe it will be useful for someone.


Headless Miracast Devices

I would like to Miracast over Infrastructure for some headless appliances, like projectors. Using native wireless Miracast it works like a champ. 4k 60fps. But because the device is off my enterprise network I can't manage it. Is there a method to allow Miracast over Infrastructure to Miracast supported devices without the Windows network operating system? Example, use the Miracast protocol on a Windows 10 supported device to discover and cast to projectors connected via Ethernet Intranet.

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

ID: 90f7e378-18d2-d2fc-e7f3-b7bd8c32d5b9
Version Independent ID: 6d631120-af33-6ebc-d6fb-1d0431883bae
Content: Miracast on existing wireless network or LAN
Content Source: devices/surface-hub/miracast-over-infrastructure.md
Product: surface-hub
GitHub Login: @jdeckerMS
Microsoft Alias: jdecker

@AgentMrQ I checked with the engineering team, and they said this is possible. "We have published the protocol needed to perform this functionality on any device. They should make a request to their favorite projector vendor and request they add the functionality. "
The protocol: https://msdn.microsoft.com/en-us/library/mt796768.aspx
The "Building best-in-class Miracast solutions with Windows 10" guide: http://download.microsoft.com/download/3/F/9/3F9F0453-04AE-4E4B-87EF-729FF931C1F9/Building best-in-class Miracast solutions with Windows 10 .docx


[barcode-scanner]Tauri   : Waiting for the barcode module to be downloaded. Please wait.

Friends who love Rust and Tauri, I encountered problems while developing Android applications using Tauri and need help.
When I use the barcode scanner plugin, I receive the following error message：
Tauri   : Waiting for the barcode module to be downloaded. Please wait.

Is there a problem with my usage? Here is how I use the barcode scanner plugin：
In the file 'Cargo. toml'：
[target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies]
tauri-plugin-barcode-scanner = "2.0.0-alpha.3"

In the file 'main.rs'：
tauri::Builder::default()
        .plugin(tauri_plugin_window::init())
        .plugin(tauri_plugin_shell::init())
        .plugin(tauri_plugin_barcode_scanner::init())
        .invoke_handler(tauri::generate_handler![greet])
        .run(tauri::generate_context!())
        .expect("error while running tauri application");

And it's written like this at the point of call：
if (state == "prompt") {
        requestPermissions();
      } else if (state == "denied") {
        return;
      } else if (state == "granted") {
        scan({
          windowed: false,
          formats: [Format.QRCode],
          //   cameraDirection: 'back'
        }).then((resp) => {
          console.log(`response: ${resp.content}`);
        });
      }

In addition, the device number of the camera will also prompt an error message. Is there a solution?

Does your device has a internet connection and Google Play Services? Currently the plugin dynamically downloads the module on the phone instead of the build system (to my understanding to reduce bundle size and share the module with other apps)

So far, it is possible to download this module with the internet, and its functions are normal. However, the download conditions will be very difficult, and it cannot be downloaded every time. I guess it may be related to the internet in China.
Can this plugin provide an offline version or a way to integrate into the app?

same problem

Do You have a plain to support this?

Yes, otherwise this issue would be closed. I cannot give you an estimated timeframe though. I assume that this will not be part of the initial 2.0.0 release of the plugin (unless a community member wants to research and implement this).

To solve this problem, it would be simpler if only the frontend is used. However, I'm not sure about using Rust. Do I need to create a frontend plugin to call the frontend?


Running roslaunch detection freenect.launch throws an error saying "ResourceNotFound: rgbd_launch"

I'm running openPtrack on NVidia Jetson TK1
I'm trying to calibrate a single Kinect v1 (Instrinsic Calibration)
When I run roslaunch detection freenect.launch I'm seeing the folowing error.

... logging to /home/ubuntu/.ros/log/3a6e22e0-16f6-11e6-b83a-00044b491812/roslaunch-tegra-ubuntu-3342.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/__init__.py", line 307, in main
    p.start()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 268, in start
    self._start_infrastructure()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 217, in _start_infrastructure
    self._load_config()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 132, in _load_config
    roslaunch_strs=self.roslaunch_strs, verbose=self.verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/config.py", line 451, in load_config_default
    loader.load(f, config, verbose=verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 746, in load
    self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 718, in _load_launch
    self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 652, in _recurse_load
    default_machine, is_core, verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 682, in _recurse_load
    val = self._include_tag(tag, context, ros_config, default_machine, is_core, verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call
    return f(*args, **kwds)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 587, in _include_tag
    inc_filename = self.resolve_args(tag.attributes['file'].value, context)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 183, in resolve_args
    return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 312, in resolve_args
    resolved = _resolve_args(resolved, context, resolve_anon, commands)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 325, in _resolve_args
    resolved = commands[command](resolved, a, args, context)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 141, in _find
    source_path_to_packages=source_path_to_packages)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 184, in _find_executable
    full_path = _get_executable_path(rp.get_path(args[0]), path)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 200, in get_path
    raise ResourceNotFound(name, ros_paths=self._ros_paths)
ResourceNotFound: rgbd_launch
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/home/ubuntu/workspace/ros/catkin/src
ROS path [2]=/opt/ros/indigo/share
ROS path [3]=/opt/ros/indigo/stacks
ubuntu@tegra-ubuntu:~$ roslaunch detection detector_kinect1.launch
... logging to /home/ubuntu/.ros/log/77c50068-16f7-11e6-8197-00044b491812/roslaunch-tegra-ubuntu-3435.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/__init__.py", line 307, in main
    p.start()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 268, in start
    self._start_infrastructure()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 217, in _start_infrastructure
    self._load_config()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 132, in _load_config
    roslaunch_strs=self.roslaunch_strs, verbose=self.verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/config.py", line 451, in load_config_default
    loader.load(f, config, verbose=verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 746, in load
    self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 718, in _load_launch
    self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 682, in _recurse_load
    val = self._include_tag(tag, context, ros_config, default_machine, is_core, verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call
    return f(*args, **kwds)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 625, in _include_tag
    default_machine, is_core, verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 652, in _recurse_load
    default_machine, is_core, verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 682, in _recurse_load
    val = self._include_tag(tag, context, ros_config, default_machine, is_core, verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call
    return f(*args, **kwds)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 587, in _include_tag
    inc_filename = self.resolve_args(tag.attributes['file'].value, context)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 183, in resolve_args
    return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 312, in resolve_args
    resolved = _resolve_args(resolved, context, resolve_anon, commands)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 325, in _resolve_args
    resolved = commands[command](resolved, a, args, context)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 141, in _find
    source_path_to_packages=source_path_to_packages)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 184, in _find_executable
    full_path = _get_executable_path(rp.get_path(args[0]), path)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 200, in get_path
    raise ResourceNotFound(name, ros_paths=self._ros_paths)
ResourceNotFound: rgbd_launch
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/home/ubuntu/workspace/ros/catkin/src
ROS path [2]=/opt/ros/indigo/share
ROS path [3]=/opt/ros/indigo/stacks
ubuntu@tegra-ubuntu:~$ clear

ubuntu@tegra-ubuntu:~$ roslaunch detection freenect.launch
... logging to /home/ubuntu/.ros/log/85b02ce8-16f7-11e6-8773-00044b491812/roslaunch-tegra-ubuntu-3444.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/__init__.py", line 307, in main
    p.start()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 268, in start
    self._start_infrastructure()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 217, in _start_infrastructure
    self._load_config()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 132, in _load_config
    roslaunch_strs=self.roslaunch_strs, verbose=self.verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/config.py", line 451, in load_config_default
    loader.load(f, config, verbose=verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 746, in load
    self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 718, in _load_launch
    self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 652, in _recurse_load
    default_machine, is_core, verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 682, in _recurse_load
    val = self._include_tag(tag, context, ros_config, default_machine, is_core, verbose)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call
    return f(*args, **kwds)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 587, in _include_tag
    inc_filename = self.resolve_args(tag.attributes['file'].value, context)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 183, in resolve_args
    return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 312, in resolve_args
    resolved = _resolve_args(resolved, context, resolve_anon, commands)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 325, in _resolve_args
    resolved = commands[command](resolved, a, args, context)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 141, in _find
    source_path_to_packages=source_path_to_packages)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 184, in _find_executable
    full_path = _get_executable_path(rp.get_path(args[0]), path)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 200, in get_path
    raise ResourceNotFound(name, ros_paths=self._ros_paths)
ResourceNotFound: rgbd_launch
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/home/ubuntu/workspace/ros/catkin/src
ROS path [2]=/opt/ros/indigo/share
ROS path [3]=/opt/ros/indigo/stacks

So, we installed rgbd_launch and freenect_launch using:
sudo apt-get install ros-indigo-rgbd-launch
sudo apt-get install ros-indigo-freenect-launch
which got rid of the error stack we saw originally.
We then ran  roslaunch detection freenect.launch again
Now the program is not able to detect our Kinect, we are seeing a new error:
No devices connected.... waiting for devices to be connected
Any leads on this?

Hi,
OpenPTrack on the Jetson has only been ported for being used with Kinect v2, thus other sensors have not been tested.

So, for some reason our Kinect wasn't working properly. We swapped that one with another Kinect v1 and it worked. The issue can be closed.

Following tutorial for installation OpenPTrack on Jetson TK1, I got stuck at point 10 because I'm not using Kinect v2 but Kinect v1. What is the solution for installation using Kinect v1? Thanks.

note  Only the Kinect v2 can be used with the TK1; the Kinect v1 WILL NOT WORK.


Indicate mission cargo

The cargo.json file indicates if certain commodities are for a mission.  Use this info to indicate on the ui where cargo is from.

Added in v2.0.0

Added in v2.0.0


Add proper resources to package.json for webpack

This PR fixes this issue on aurelia-webpack-plugin where resources aren't declared in the package.json and thus not available at build time.

@EisenbergEffect would it be possible to get a release with this fix?

Done. Apologies for the delay.


Unable to resolve module  react/lib/ReactDebugCurrentFrame

Unable to resolve module react/lib/ReactDebugCurrentFrame from ....\node_modules\react-native\Libraries\Renderer\src\renderers\shared\stack\reconciler\ReactCompositeComponent.js: Module does not exist in the module map or in these directories:
...\node_modules\react\lib

When I update to 0.43.0 - rc. 1 version
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.

@droidwolf, where can I find the newest version of react and react-native such as<EMAIL_ADDRESS>and<EMAIL_ADDRESS>, I only can find 0.42.3

https://github.com/facebook/react-native/releases

+1

I got that error as well on react ^15.4.2 and react-native 0.43, but upgrading to 16.0.0-alpha.6 fixed it. So id say.. stay away from 0.43 or use react 16.0.0-alpha.6

Seems that RN 0.43 shouldn't made it out of the door in this stage, particularly when essential Components like ListView got deprecated as 0.43 is not ready for serious usage yet.

I was also having trouble upgrading. I decided to start a brand new project and migrate things over as a last resort.
I get @droidwolf's error on init of a brand new project, not changing a single thing.
I'm on the latest version of MacOS and Xcode. What else am I missing?

This is a library issue, clearing your restarting xcode, cleaning your build, clearing npm cache and running react-native run-ios fixes the issue. Not sure which one ... I really hate node libraries somtimes.

"react": "16.0.0-alpha.6", this version got me working


[Question] Different download speed between the azcopy and azure-storage

Query/Question
Hi, I was using the hadoop-azure to read the object files from the Azure Blob, but the max download speed on the machine is only 1.2 Gbps. But when I use the azcopy tool to download the same object, it will reach 6Gbps.
I am not sure is there any difference between the azcopy and the azure-sdk-for-java?
Or are there any configurations that can help me to improve the speed of downloading in the azure java sdk?

BTW, I am using hadoop 3.2.2 which azure storage version is:
      <dependency>
        <groupId>com.microsoft.azure</groupId>
        <artifactId>azure-storage</artifactId>
        <version>7.0.0</version>
     </dependency>

Hi @zymap, I'm routing this to the Storage team to follow up, but just a quick note that the version of azure-storage you're referencing above is very old.  Could you try the latest v12.x (https://azure.github.io/azure-sdk/#java)
/cc @gapra-msft

Hi @zymap
Thank you for asking this question. As Josh mentioned, the version of azure-storage you are referencing is quite old, and we encourage you to try the latest version.
azcopy is highly optimized for data transfer scenarios, whereas the SDK is for the most part a one to one mapping of the Azure Storage REST API, so it is possible you could see speed differences.

Thanks.
I upgrade to the latest version and it indeed has an improvement in the download speed.
I will close this issue and thanks again for your suggestion!


remove test code

Removed the test code.  No longer needed since element path is in form PI Web API is happy with.

why is the file .vs/config/applicationhost.config included in this commit?  Shouldn't it be ignored?

Probably my fault, i didn't add the default VS gitignore file until too late. @FishmanD, i can help you remove this when it's ready to merge.


refactor: use updated excludePaths parameter

PHPStan introduced a new excludePaths parameter in 0.12.65. The old excludes_analyse parameter is now deprecated and throws an error when using both at the same time in your own config:
Configuration parameters excludes_analyse and excludePaths cannot be used at the same time.

Parameter excludes_analyse has been deprecated so use excludePaths only from now on.

This PR updates this project to only use excludePaths. This however requires us to bump the minimum version of PHPStan to 0.12.65, but I don't think that should be a big issue.

Thank you!

Thank you!

Using larastan 0.7.2 I'm still getting this error in console.

@slaFFik Maybe you still have excludes_analyse in your phpstan.neon ?

@canvural Nope, I've updated my reply above with more information.

You have excludes_analyse in the file you posted. Change that to excludePaths and the issue should be gone.

 Fixed.
Thank you for your help.


alerts/cluster-monitoring-operator/KubeletDown: Mention 'oc adm node-logs ...'

SSH is useful if the kubelet is too dead to serve logs.  But in some cases like busted monitoring cert issues, the kubelet is up and the KubeletDown alerts are purely monitoring-side:
$ oc adm node-logs --role=master -u kubelet | grep -i ' [IWE]1219' | grep -v 'I1219' | tail -n4
Dec 19 23:59:55.095722 build0-gstfj-m-2.c.openshift-ci-build-farm.internal kubenswrapper[2629]: E1219 23:59:55.095660    2629 server.go:291] "Unable to authenticate the request due to an error" err="verifying certificate SN=..., SKID=, AKID=... failed: x509: certificate signed by unknown authority"
Dec 19 23:59:55.280665 build0-gstfj-m-2.c.openshift-ci-build-farm.internal kubenswrapper[2629]: E1219 23:59:55.280603    2629 server.go:291] "Unable to authenticate the request due to an error" err="verifying certificate SN=..., SKID=, AKID=... failed: x509: certificate signed by unknown authority"
Dec 19 23:59:55.911169 build0-gstfj-m-2.c.openshift-ci-build-farm.internal kubenswrapper[2629]: E1219 23:59:55.911104    2629 server.go:291] "Unable to authenticate the request due to an error" err="verifying certificate SN=..., SKID=, AKID=... failed: x509: certificate signed by unknown authority"
Dec 19 23:59:59.291282 build0-gstfj-m-2.c.openshift-ci-build-farm.internal kubenswrapper[2629]: E1219 23:59:59.291211    2629 server.go:291] "Unable to authenticate the request due to an error" err="verifying certificate SN=..., SKID=, AKID=... failed: x509: certificate signed by unknown authority"

@bburt-rh Can you give us a review here please?

/lgtm

/remove-lifecycle stale

/lgtm
Thanks!


[FEATURE] Proposing Designs for downloading QR image

Description
Hey, @eddiejaoude I have some designs that can help download QR codes without taking much space on the screen.
I am happy to update them according to the requirements.
Desktop Design:
https://user-images.githubusercontent.com/52135949/225814990-f23c9bbe-945c-4166-ab32-32ec11bb6a53.mp4
Mobile Design:
https://user-images.githubusercontent.com/52135949/225815023-ab03a5d1-5aaf-4da7-b885-7c359272ce36.mp4

Hey @iAnonymous3000 Something like this Right?
Sample Image:

How does a hover work on a mobile? It should probable be on click of the QR code the button appears?

Yes @eddiejaoude on mobile we should click on qr code to get the option to download.
As you know hover mode in mobile screens activates when you tap.
Do you want me to think 🤔 something else for mobile???

it will be mostly used on mobile, and I think it would be best to keep it simple and clear
What about having the download button just the QR code for all devices and we can make further improvements later

If that is the case we can close this feature issue because this feature has already been implemented on Issue: #5539
Note: Just my POV
Normally Users tap on QR Code when they see it. So hovering on the large screens works fine and on mobile when they tap works I guess this is what I feel. Let me know if i am wrong🤗
I am okay with anything that makes users feel great.🤩🤩

From my experience people will not know to tap the QR code on mobile to get the extra option - let us close this for now and see how the feature does, then we can revisit this in the future
Thank you for the great creative designs 👍


Declaration file has wrong reference path for composite projects

TypeScript Version: 3.9.0-dev.20200413, 3.8.3
Search Terms: composite projects, declaration files, paths, reference, baseUrl
Code

Download zip with the project ts-bug.zip
npm install
npm run build-non-composite - it should be fine

Then, if you run npm run build - there are 2 errors:
lib/src/common/nominal.d.ts:2:55 - error TS2304: Cannot find name 'MyNominal'.

2 export declare type Nominal<T, Name extends string> = MyNominal<T, Name>;
                                                        ~~~~~~~~~

lib/src/common/nominal.d.ts:1:22 - error TS6053: File 'C:/projects/src/common/types.d.ts' not found.

1 /// <reference path="../../../src/common/types.d.ts" />
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

And if you run npm run build-baseUrl - there are another 2 errors:
lib/src/common/nominal.d.ts:2:55 - error TS2304: Cannot find name 'MyNominal'.

2 export declare type Nominal<T, Name extends string> = MyNominal<T, Name>;
                                                        ~~~~~~~~~

lib/src/common/nominal.d.ts:1:23 - error TS2688: Cannot find type definition file for 'types'.

1 /// <reference types="types" />
                        ~~~~~

This is pretty similar to #31696. In this case we have 2 bugs:

For npm run build incorrect generated path for reference path (it exits for 1 more folder).
For npm run build-baseUrl (which is differ from build case in the only baseUrl compiler option in common sub-project) incorrectly replaced refernce path with reference types, so no project could use it because they might (and will) not have the same baseUrl option.

Related Issues: #31696, #25600

I think that in both cases there should be reference path directive with correct path (without exceeded ..).

npm run build is definitely bug and #39645 fixes that.
npm run build-baseUrl well that raises questions. #32878 started preferring types over reference paths to make it more portable. But our resolve type reference name doesnt use baseUrl so this is kind of questionable.
Other way to look at it would be when file is referenced throught only referece path from root file tree (or relative imports) prefer relative path instead of portable path.


Failed child context type: Invalid child context virtualizedCell.cellKey of type number supplied to CellRenderer, expected string.

I am getting this warning again  and again
How to remove this warning

x2

I am getting this warning again and again
How to remove this warning

Found a solution. Just pass your own keyExtractor function to the  <AppIntroSlider/> component and cast to string. FlatList requires a string key.
return (
    <AppIntroSlider
      keyExtractor={(item) => item.id.toString()}
      renderItem={_renderItem}
      data={steps}
      onDone={_onDone}
      renderNextButton={_renderNextButton}
      renderDoneButton={_renderDoneButton}
    />
  )

keyExtractor={(item) => item.id.toString()}

This results in
TypeError: undefined is not an object (evaluating 'item.id.toString')

The following worked for me
 keyExtractor={(item, index) => index.toString()}
just pass it to your AppIntroSlider Component

I am getting this warning again and again
How to remove this warning

Found a solution. Just pass your own keyExtractor function to the  <AppIntroSlider/> component and cast to string. FlatList requires a string key.
return (
    <AppIntroSlider
      keyExtractor={(item) => item.id.toString()}
      renderItem={_renderItem}
      data={steps}
      onDone={_onDone}
      renderNextButton={_renderNextButton}
      renderDoneButton={_renderDoneButton}
    />
  )

work for me.
keyExtractor={(item) => ${item.key}} or
keyExtractor={(item) => ${item.id}} with key(id) from a element of data slide


[Ollama AI] Allow setting of multiple Ollama hosts

Extension
https://www.raycast.com/massimiliano_pasquini/raycast-ollama
Description
Currently the extension only allows setting a single Ollama host, it would be great if you could provide a number of hosts.
Who will benefit from this feature?
People that say run Ollama locally with a small model, and on a server for larger models.
Anything else?
No response

Hi @sammcj, this could be a very useful feature. I was thinking how to implement it and maybe i found a good solution. One way is to let the user to add as many Ollama server he want with a new Command named 'Manage Server' that work similar to 'Manage Models'. Doing that the user can manage models for multiple Ollama server on 'Manage Models' and can use models from different server on 'Chat With Ollama' Command. Let me know what do you think.

I think that's a great idea @MassimilianoPasquini97!

@raycastbot assign me

Requested feature introduced on latest update #12734

@raycastbot close this issue


feat: Add german translations

Add german translations

Coverage remained the same at 99.065% when pulling be57535dbeb0855a01a12a8df20339cf50c58cbd on steve84:feat_german_translations into 71db14c2699d618307c86a08903201aeddaa91d0 on gitalk:master.


Incorrect varint/varuint API

Preface
Variable-length integers in TON have surprising definition and implementing them by hand is prone to error.
TL-B schema for VarInteger/VarUInteger defines the integer via the maximum size of the integer in bytes. That is, VarUInteger 32 means "integer up to 31 byte long", or "248-bit integer". The syntax #<n means "number of bits necessary to represent numbers 0..n-1".
var_uint$_ {n:#} len:(#< n) value:(uint (len * 8))
         = VarUInteger n;
var_int$_ {n:#} len:(#< n) value:(int (len * 8))
        = VarInteger n;

The problem
Compare VarUInteger 7 and VarUInteger 8. Both use 3-bit length prefix to represent sizes in the ranges 0..6 bytes (48 bits) and 0..7 bytes (56 bits) respectively. Every encoding of VarUInteger {5,6,7} are strict subsets of VarUInteger 8 and a correct TL-B encoder and decoder will have to enforce the actual specified bounds in runtime. This is indeed what C++ TL-B compiler does.
Current APIs in ton-core, tonweb and tongo depart from the original definition in the TL-B schema and let user specify the bit width of the length prefix. Instead of specifying the non-inclusive upper boundary in bytes (n), the user is supposed to specify ceil(log2(n)) number of bits in the internal length prefix. Such API erases the possibility to enforce actual bounds for types such as VarUInteger 7 (see for example, the definition of StorageUsed). This means, the user may accidentally encode a larger number than permitted or accept a malformed input data.
Suggestion
Redefine the varint APIs in terms of upper byte boundary and add checks on the actual number size when writing and reading varints.
References

Issue on ton-core
Issue on tonweb
Issue on tongo

I doubt that this is possible without breaking compatibility


Clean is now implemented using globs.

steps
cleanFiles += (buildDirectory in ThisBuild).value / "osgi"

problem
I get
/Users/eed3si9n/work/scala/build.sbt:738: warning: value cleanFiles in object Keys is deprecated (since 1.3.0): Clean is now implemented using globs.
    cleanFiles += (buildDirectory in ThisBuild).value / "osgi"
    ^

expectation
"now" gets pretty old, so we should avoid it.
I think it would be better to say "use blabla key instead" (no period), and also point to a migration guide?

Yep. I didn't put a ton of thought into the deprecation warning messages. I need to update most/all of them. Where would a migration guide live?  On the sbt website? In .md files in the repo?

Where would a migration guide live? On the sbt website? In .md files in the repo?

Initially on the release note / blob post, then on the website I guess.

Yeah. I also should have written that I consider the migration guide a part of https://github.com/sbt/sbt/issues/4460.


KAFKA-5235: GetOffsetShell: new KafkaConsumer API, support for multiple topics, minimized number of requests to server

This PR addresses two improvements:
KAFKA-5235 GetOffsetShell: retrieve offsets for all given topics and partitions with single request to the broker
KAFKA-5234 GetOffsetShell: retrieve offsets for multiple topics with single request

Previous implementation used SimpleConsumer to get offsets and old Producer API to get topic/partition metadata. Previous implementation determined a leader broker for each partition and then requested the leader for offsets. In total, it did as many requests to the broker as the number of partitions (plus a request to Zookeeper for metadata).
New implementation kafka-get-offsets.sh uses KafkaConsumer API. It makes at most two requests to the broker: 1) to query existing topics and partitions, 2) to grab all requested offsets. New implementation correctly handles non-existing topics and partitions asked by user:

kafka-get-offsets.sh --bootstrap-servers vm:9092 --topics AAA,ZZZ --partitions 0,1
AAA:0:7
AAA:1:Partition not found
ZZZ:0:Topic not found

Previously, user could get offsets for one topic only. Now user can get offsets for many topics at once:
kafka-get-offsets.sh --bootstrap-servers vm:9092 --topics AAA,ZZZ
Moreover, now user is able to retrieve offsets for all topics - this is the default when no topics specified:
kafka-get-offsets.sh --bootstrap-servers vm:9092
Thanks to this feature, there is no need anymore to retrieve all topics by means of kafka-topics.sh.
When no topics specified, the new kafka-get-offsets.sh tool takes into account only user-level topics and ignores Kafka-internal topics (i.e. consumer offsets). This behavior can be altered via a special command line argument:
kafka-get-offsets.sh --bootstrap-servers vm:9092 --include-internal-topics

New kafka-get-offsets.sh tool is consistent with other console tools with respect to command line argument names. In addition, kafka-get-offsets.sh tool gives the possibility to pass an arbitrary setting to KafkaConsumer via --consumer-property argument. Old command line arguments are marked as deprecated with appropriate warning messages.

I hope, now kafka-get-offsets.sh is easier in use and gives performance improvement.
@junrao I suppose you may want to review.

retest this please

Hmm, JVM crash when running :core:compileScala
Works fine on my machine - build as well as tests.
Scala version: 2.12.2
$ java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

retest this please

@gwenshap , @SinghAsDev would you like to review? This PR resolves the GetOffsetShell dependency on the old producer API discussed in https://github.com/apache/kafka/pull/1076

@ijuma thank you for updating the issue in Jira. Would you like to review this PR?

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5391/
Test FAILed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5376/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5393/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5378/
Test PASSed (JDK 8 and Scala 2.12).

@guozhangwang would you review this PR please? I hope it won't take much time. Why keep it awaiting in the queue for months?

@tashoyan Thanks for the PR and sorry for the delay. Have you checked if the ConsumerGroupCommand doesn't have the required functionality?

@ijuma ConsumerGroupCommand is a different tool. It presents information on a per-consumer-group basis. It shows the offset of the specified consumer group in the specified topic. ConsumerGroupCommand cannot show the latest offset in the topic or the offset by a timestamp. Also it cannot show offsets for multiple topics.

@junrao @guozhangwang @gwenshap @ijuma may I kindly ask you to review this PR?

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6440/
Test FAILed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6425/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6444/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6429/
Test PASSed (JDK 8 and Scala 2.12).

Is there any other way of getting offset information without GetOffsetShell? If not, this is a quite important PR, isn't it? Right now, GetOffsetShell doesn't work with SASL_SSL, and I can't find any solution for this. Thanks for the amazing work!

I also think that this PR is important. We need this functionality for our monitoring tools and for performance metrics. I hope, finally we will have it in the product.

@tashoyan Sorry for the delay. Since you have made changes to the command line parameters, can you please submit a KIP (https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals)?

@ijuma I don't have access to create KIP. Could you give it to me? I wrote to dev mailgroup, but no answer.

KIP-308

Thanks @tashoyan. I did a minimal PR for inclusion in 2.0.0 and added you as a co-author:
https://github.com/apache/kafka/pull/5220

Thanks @ijuma
Should I close this PR?

Maybe the easiest is to close and submit a new one once the KIP has been voted.

Closing as this is addressed in https://github.com/apache/kafka/pull/9430 (KIP-635).


Changeable lib/server folder

Describe the problem

https://kit.svelte.dev/docs/project-structure
https://github.com/sveltejs/kit/blob/main/packages/kit/src/exports/vite/graph_analysis/index.js#L37

During documentation and code, you can't change server folder

Describe the proposed solution
Make a solution to provide configuration
For example, I want to change the folder to
my-project/
├ src/
│ ├ lib/
│ │ └ [your lib files]
│ │    └ server/
│ │      └ [your server-only lib files]

Like each lib can have server folder
Alternatives considered
No response
Importance
would make my life easier
Additional Information
I use FSD methodology with SvelteKit, and want to make ./sever folder as a segment
At the moment Svelte is not friendly to FSD
FSD: https://feature-sliced.design/docs/get-started/overview

Workaround from discord:
https://kit.svelte.dev/docs/server-only-modules#your-modules
use .server.ts extension

closing as duplicate of https://github.com/sveltejs/kit/issues/12477


Data Collection

2. Data Collection
Goal: Build a system to gather financial data (e.g., expenses, income) from different sources (manual input, files, or APIs) and store it for analysis.

Issue: Develop data input system

Sub-task 1: Design input format (CSV, manual entry, API integration)
Sub-task 2: Implement file-based input (e.g., uploading CSV files with expenses)
Sub-task 3: (Optional) Integrate banking APIs like Plaid for automatic transaction imports.

Tech Stack: pandas for data handling, Plaid API (optional).

2.1. Design Input Format

Issue: Define the format for data entry.

Task 1: Choose supported input methods:

CSV Files: Create a template for users to import financial data manually (e.g., date, description, category, amount).
Manual Entry: Implement an option for users to input their transactions manually via the command line or a user interface (UI).
Banking APIs (Optional): Decide if you'll use a banking API like Plaid to import transaction data automatically.

Task 2: Define data structure and fields:

Transaction Fields:

Date (transaction date)
Description (merchant or transaction description)
Category (e.g., groceries, rent, entertainment)
Amount (positive for income, negative for expenses)
Account type (optional, for multi-account handling: credit, checking, etc.)

For CSV:

Provide users with a sample CSV file that they can fill out and upload.

For Manual Entry:

Create a simple input form (console or GUI) to add data one transaction at a time.

Finalized the Input Format for bank transactions : MUST be a CSV file.
Note: read the CSV files and convert it into below format
Manual entry and Bank api is moved to feature enhancement
Data structure and feilds
Date,Description,Category,Amount,Account
2024-10-01,"Grocery Store",Groceries,-50,Checking
2024-10-02,"Salary",Income,2000,Checking


Running mnistZyNet.py gives: 'Vivado' is not recognized as an internal or external command, operable program or batch file.

solution: in vivado's directory, run settings64.bat from the same cmd that youll run the python script "mnistZyNet.py" from


Stuck on Injected, never shows connected, and no packets are sniffed

Region?

EUW

EUW works fine for me. Are you running it as an admin? Did you try uninstalling an reinstalling the euw certificate?

Yup, as admin always, I'm currently using your certificate on LoLnotes which is working, so certificate isn't the issue I guess.

Does it work for any other region?

Um do you have the cert for SG MY server in garena?

I'm getting this issue too. Does this still work for the current client? 11.10


when a container starts a script inside that lxc must be executed

This is more a need than an issue.
I can't figure out how to execute a script when the container(that has this script) will be started.

What would that script do in your case?
With LXD we've been staying away from hooks or similar scripting attach points as they tend to make things very unreliable and near impossible to debug when misused (as we've noticed with LXC and numerous other projects).
Instead, we prefer having first class support for those cases that matter and have the rest be handled either through custom clients that execute those things and interact with LXD (keeping the LXD side effectively untouched) or by listening to LXD's events API and trigger things asynchronously that way.

ah it's nothing very important, just to run a node.js when I start the container that has the node.js after stopping it to take a snapshot. Or I could snapshot a container while it's running?

Snapshots can be done while the container is running, no problem.

thank you so much :)

Cool, closing this then.


meeting notes for 11-03-2020

closing this PR, adding notes to upcoming PR reworking the Dir structure and numbering


PowerShell Core and AzureRM Modules on macOS

Adding guidance on how to use powershell core on MacOS.

Hi @gregdegruy, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Gregory Degruy). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@gregdegruy : Thanks for your contribution to the Azure documentation! The author, @squillace, has been notified to review your proposed change.

@gregdegruy I love the contribution: but per https://twitter.com/gregdegruy/status/829055367338291200 should we add this at this time? What do you think?

Thanks, yes I'd say close without merging. I see there's a next step section for users to double click on and explore the xplat CLI, so that should be good enough to call this out:
## Next steps
 [Connect from the CLI to your Azure subscription](xplat-cli-connect.md) to create and manage Azure resources.

Glad my tweets are getting visibility 😄 hope to provide feedback where I can. Love the new approach we're taking in unifying our docs and written in Markdown behind the scenes no less!

Thanks @gregdegruy for the update -- we like it, too. While you're at it, if you don't IMMEDIATELY (yelling now) stop and try out the Azure CLI 2.0, you're already left behind. It's da bomb. Also, install https://github.com/jmespath/jmespath.terminal to practice your jmespath queries. Or use jq, like any sane human.

#please-close


All blocks have three fields to avoid growth over time.

@cpennington Simple change to review - is this what we'd discussed?

:+1:


Failing to parse a string that starts with a number

Hey there! Love the work you've done here 👏
Ran into a snag when using this with a string that start with a number but is actually a string (UUID, CUID)
.env
SOME_PARAM=77somevalue

Results in the following
{"SOME_PARAM":77}

Hi, thanks. 🙂
Wow, that has to be fixed. Will look into this in a few days. Thanks :)

Working as expected now. Thanks for the issue :)
{
  "DB": "hackers_exposed",
  "DEV_PORT": 1337,
  "DIALECT": "mysql",
  "HOST": "db.host",
  "INTERPOLATED": "\"Multiple\\nLines and variable substitution: ${SIMPLE}\"",
  "JSON": "'{\"key\":\"value\",\"nested\":{\"key\":\"value\"},\"number\":1}'",
  "NON_INTERPOLATED": "'raw text without variable interpolation'",
  "PASSWORD": "betterlucknexttime!",
  "PROD_PORT": 8080,
  "STATUS": "production",
  "TRY_ME": "12woop",
  "USER": "root",
  "WOW": "\"such nice # work\""
}


[BP-1.14][FLINK-24160][tests] Use FS checkpoint storage in PartiallyFinishedSourcesITCase

Backport of #17165 to 1.14

merged~


Create .gitattributes

This should do 2 things:

Exclude the _assert directory for language statistics, so hopefully will mark this as a PHP library (instead of HTML) See https://github.com/github/linguist#overrides
Export the tests directory when stable zip releases are downloaded with Composer, to save space/bandwidth. With --prefer-source they are still downloaded.

Not 100% sure of the language override is completely correct, but I hope so :)

I've also excluded the example dir now. Added benefit is that, when the vendor folder is in the public folder, you can't just run the examples.

Sieht gut aus. Danke! :+1:

Good, 100% PHP now :)


Auto-login (skip the login prompt) - xrdp 0.9.11, centOS 7

Apologies if there is a better place to ask this - I haven't found a community for xrdp, so I've come here!
Is there a way to skip the xrdp login prompt when connecting via mstsc?
We use domain accounts, and we are able to authenticate users, but ideally we would like to auto-authenticate those accounts. The biggest reason for this is due to e.g. when a user walks away from their computer, and they must log into Windows, log into xrdp, and, likely, enter their password to unlock the active session. If we can knock one of those off, that would be ideal (and no, removing Windows from the equation is not an option, I am afraid :))
In xrdp.ini, I have set autorun=Xorg (it's the only session type we use), but that doesn't seem to work. I'm a little unsure how RDP and xserver talk. I thought perhaps that xrdp would be run with the username and password when the authentication was completed on the server.
Is there perhaps something that I need to set in the pam config? There's quite a bit of information around navigating the config, but not a lot of info on how I might be able to configure it.
Because there isn't an issue - the logs aren't overly helpful. But I can provide some if you think they'll be helpful.
UPDATE
I see that the file libxrdp/xrdp_sec.c has a method: xrdp_sec_process_logon_info that takes a struct that is used to define flags (from further up the chain: xrdp_process.c). Within that method, the flags are &ed with RDP_LOGON_AUTO, which seems to achieve what I am after (no login window displayed).
Where are the flags configured? Are they command line or configuration file based? Is there any documentation for these?
Cheers!

I see that this is linked to the RDP client - if we save credentials on the mstsc end, then it seems to pass this flag through to the server.
Setting 'prompt for credentials:i:0' in the .rdp file appears to do the trick!

I'm actually going to reopen this, because I am unsure why this is happening.
It only seems to work if the credentials are saved in the windows credential manager (which mstsc can read from). The issue with this is that we're using domain accounts, and any application running in the context of the user could harvest those passwords.
So there's something that saving credentials this way sets the autologin flag in xrdp. Currently I am looking into what might be different from the client-side. NLA should ensure that the user is authenticated on the client, so I don't really understand why mstsc's handshaking would be different.

Heh, and closing again. Thanks for the conversation me :)
It's definitely a result of NLA on the client-side. Pretty sure now that xrdp is behaving the way it should.
Why credentials for xrdp are saved as generic, and for windows as more secure I am unsure, but I think that's one for MS, rather than here.


Write asset precompilation job

Assets are currently being served directly through the sprockets environment. This is fine for dev, but in production we should have a precompilation job that generates concatenated/minified assets and serves those instead.

This issue was made redundant by #6


Improve UX

Open properties panel on double click (like process editor)
Otherwise it will be opened also e.g. on move an element
Remove change width of drag overlay
This causes some problems e.g. if you drag a wide element on the right to a small dropzone that it will no longer be at the cursor

Before:

After:

@ivy-edp fyi


fix: 寻找插入点时不递归子树查找HostComponent的bug

close #3

:tada: This PR is included in version 1.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


release-21.1: sql: Change to using a session variable instead of FORCE syntax for overriding zone configuration settings for MR databases and tables

PR: https://github.com/cockroachdb/cockroach/pull/62119
From release notes:

Reverted the change that added the FORCE keyword in [#61499][#61499] in favor of the override_multi_region_zone_config session variable.  [#62119][#62119] {% comment %}doc{% endcomment %}

Dupe of #10254 w.r.t. the override_multi_region... var -- and we don't need docs for the FORCE syntax, since that only flitted into existence briefly in a beta before being removed.


Enabling/Disabling encryption on GrowthBook UI Fails

Giving some context...
We had GrowthBook v1.0.48, this version removes rosetta but had an issue related to encryption. We are handling the app force update with a GrowthBook feature flag, we have updated GrowthBook to v1.0.57 and reactivated the encryption. We noticed that our users with our app version using GrowthBook v1.0.48 were not getting the force update alert. When this was reported we realized that they were still with v1.0.48 so the encryption was not supported, then we proceeded to deactivate the encryption again, until all our users migrated to the new version.
The main problem is...
For some reason, It seems that activating the encryption in the GrowthBook web page works, but when we deactivate it again is not truly deactivated because our users with v1.0.48 are still not getting any GrowthBook information on the JSON producing the force update not to be displayed.

Hi, @EduardoDeLaCruzMarrero . We will check that and write to you.

Hi @vazarkevych  we have backgroundSync as default (false), when we deactivated the encryption, users with version 1.0.57 get information from GrowthBook but those that still with 1.0.48 get nil in the JSON data

Hi @vazarkevych do we have an update here? We solved a critical bug in the mobile app and without force update we have users still facing the issue.
Let us know please
Thanks!

Hi, @lakshaysuri13. In what data did you receive nil in the JSON data, I mean what request did you get this response nil?

Can users update the SDK to version 1.0.57? We can check it in version 1.0.48, but it won't help because the users had a differently configured version of 1.0.48. The only way is to update to the latest SDK, version 1.0.57.

It seems to be related to delay persisting the encryption changes I proceed to close the ticket is already working for our users

Thank you for the update.


Finish order controller refactoring

This fixes #233
This fixes #285

Looks legit. I like the way you did this.


Doesn't Symbolicate System Libraries

The generated flamegraphs for my app don't symbolicate system library addresses. I see in the example that it does symbolicate them, but I don't see that in my output.
Steps to reproduce

Install ETTrace with SwiftPM, embed the framework in y app
Set the "Embed" setting for ETTrace to "Embed & Sign" (this doesn't seem to be mentioned in the instructions)
Install the app to my physical phone
Run ettrace
Tap the app to open it
Press Enter to begin profiling
Press Enter to end profiling

iOS version: 17.2.1
Xcode version: 15.0

Thanks for reporting @michaeleisel ! This is fixed in v1.1.0

🎉


V1.30

Codecov Report
Base: 64.12% // Head: 63.29% // Decreases project coverage by -0.82% :warning:

Coverage data is based on head (af258e0) compared to base (09a4d34).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #155      +/-   ##
============================================
- Coverage     64.12%   63.29%   -0.83%
  Complexity      540      540
============================================
  Files           102      104       +2
  Lines          1834     1858      +24
  Branches        192      195       +3
============================================
  Hits           1176     1176
- Misses          596      620      +24
  Partials         62       62

Impacted Files
Coverage Δ

.../jeryl/fyp/logic/commands/ListDeadlineCommand.java
0.00% <0.00%> (ø)

.../java/jeryl/fyp/logic/parser/FypManagerParser.java
79.31% <0.00%> (-2.84%)
:arrow_down:

...yl/fyp/logic/parser/ListDeadlineCommandParser.java
0.00% <0.00%> (ø)

src/main/java/jeryl/fyp/model/FypManager.java
77.77% <0.00%> (-1.47%)
:arrow_down:

src/main/java/jeryl/fyp/model/Model.java
100.00% <ø> (ø)

src/main/java/jeryl/fyp/model/ModelManager.java
85.00% <0.00%> (-1.08%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


How to pass the parameters to the resizestop & dragstop

Please help me very much
@resizestop="onResizestop(index)"  This is a mistake.
code:
 <vue-draggable-resizable :x="parseInt(ele.hotpot.pos.left)" :y="parseInt(ele.hotpot.pos.top)" :w="parseInt(ele.hotpot.pos.width)" :h="parseInt(ele.hotpot.pos.height)" :minh="30" :minw="60" :z="110" :handles="['br']" :parent="true" @resizestop="onResizestop(index)" @dragstop="onDragstop" class="hotpotcon" :id="'hotpot'+ele.id" v-if="ele.hasOwnProperty('hotpot')">

                    <button type="text" @click.stop.prevent="linkClick">我是热点</button>

                </vue-draggable-resizable>

@resizestop='onResizestop.apply(null,[...arguments,index])'
Resizestop: function(x, y, width, height,index) {
},
try it

@aszx-fyh is correct. resizestop event has 4 arguments, as you can see in the documentation. If you want you can also use function composition to pass additional arguments:
@resizestop="(left, top, width, height) => onResizestop(left, top, width, height, index)"


MultiLabel prediction for videos

Hi,
I want to train a model which predicts multiple labels for a given video. I have 5000 classes in total. I extracted 20 frames from each video and computed a 512 dimensional feature embedding by passing each frame through a CNN. So my training data is of the form X_train = (no_videos, 20, 512). For a each video there can be multiple labels as targets, so I represent the target label as a 5000 dimensional vector of 1's and 0's,  where 1's for the classes for that video. So my target label vector is of the form Y_train=(no_videos, 5000).
I trained a LSTM model on this data but unfortunately when I predict the labels on the training data, I'm getting same labels for all the videos in the training data.

model = Sequential()
model.add(LSTM(256, input_shape=X_train.shape[1:], return_sequences=True))
model.add(LSTM(256))
model.add(Dropout(0.2))
model.add(Dense(no_classes, activation='sigmoid'))

sgd = SGD(lr=0.00001, decay=1e-6, momentum=0.9, nesterov=True)
model.compile(loss='categorical_crossentropy', optimizer=sgd, metrics=['accuracy'])
print(model.summary())

model.fit(X_train, y_train, batch_size=batch_size, nb_epoch=no_epoch)

Is it the right way to train the LSTM or is there anything wrong ?
Can anyone please help me how to solve this ?
Thanks in advance.

If you're predicting classes, you definitely want a softmax activation for the final Dense layer.

The proper loss for this purpose is binary_crossentropy

Thank you for the suggestions.
@mbollmann I've changed the loss function to sparse_categorical_crossentropy but then I get this error saying
____________________________________________________________________________________________________
Layer (type)                     Output Shape          Param #     Connected to
====================================================================================================
lstm_1 (LSTM)                    (None, 20,<PHONE_NUMBER>     lstm_input_1[0][0]
____________________________________________________________________________________________________
lstm_2 (LSTM)                    (None,<PHONE_NUMBER>     lstm_1[0][0]
____________________________________________________________________________________________________
dropout_1 (Dropout)              (None, 400)           0           lstm_2[0][0]
____________________________________________________________________________________________________
dense_1 (Dense)                  (None, 5000)          2005000     dropout_1[0][0]
====================================================================================================
Total params: 4747400
____________________________________________________________________________________________________
None
Traceback (most recent call last):
  File "lstm_tag_video_1.py", line 38, in <module>
    model.fit(X_train, y_train, batch_size=batch_size, nb_epoch=no_epoch)
  File "/drive2/dhruv/anaconda/anaconda2/lib/python2.7/site-packages/keras/models.py", line 627, in fit
    sample_weight=sample_weight)
  File "/drive2/dhruv/anaconda/anaconda2/lib/python2.7/site-packages/keras/engine/training.py", line 1052, in fit
    batch_size=batch_size)
  File "/drive2/dhruv/anaconda/anaconda2/lib/python2.7/site-packages/keras/engine/training.py", line 983, in _standardize_user_data
    exception_prefix='model target')
  File "/drive2/dhruv/anaconda/anaconda2/lib/python2.7/site-packages/keras/engine/training.py", line 111, in standardize_input_data
    str(array.shape))
Exception: Error when checking model target: expected dense_1 to have shape (None, 1) but got array with shape (9111, 5000)

@yhenon I've used binary_crossentropy loss but even then the problem persists. I'm getting the same labels even now.


Add ARIA labels to Home page - Vanilla.js #95

issue #95

@29deepanshutyagi Thanks for your contribution, but this particular issue is premature. I appreciate that you've been working on this particular project, but let me show you the end goal of this application. Both the React version of this app and the Vue version look like this image

The JavaScript version doesn't look like this yet. So we want to complete the components FIRST before we add any ARIA labels or accessibility because if we add the accessibility now. Because right now the home page doesn't have anything on it.
Secondly, this PR has a couple of errors in it where you had merge conflicts
like
<<<<<<< HEAD

So if possible, could you work on the sidebar page and the homepage BEFORE doing any ARIA label PRs. Thank you!!!

sure


Redirect Automated Data Model Updates to New Shared Drive

From Alex: It appears that the current version of the data model is being automatically copied into the current Google Drive. If this is an automated process, could you redirect these updates into the new shared drive at the following location?
https://docs.google.com/spreadsheets/d/1cFpXSifkFoorLeOxSK3vD7bXpeoxaK5r0_yVonCoOMI/edit?gid=0#gid=0

Updates macros script: https://script.google.com/u/0/home/projects/15223W9G0Df_PO0iee6xo7o7P1zhN6pDHrFUcniF9Kd4RV8pPJERuDK0s/edit


Unsupported query source 'page' / =~ query bug

Hi!
Recently did a fairly large leapfrog of versions and am updating my queries. It seems like the =~ operator doesn't seem to work?
for example
```query
page where name =~ "test"
```

gives **Error:** Unsupported query source 'page'
but
```query
page where name = "test"
```

works fine.
I haven't seen anyone else report this error, so not sure what the deal is.
using version 0.5.4.

Same here, live queries broken since saturday updates

The syntax has always be to use =~ /test/ not =! "test" I don't think that changed? Can you try using the regex / notation?

ah perfect!
You are probably right, but I'm coming from the old <!-- #query syntax where I had something along the lines of <!-- #query page where  name =~ “🗓” to see all my weekly notes. I'll see if I can find a spot in the docs to add this in. Thanks!

The syntax was like this from day 1, but the parser is kind of permissive, so maybe it just accepted it before and now is in a more strict mood.

Same as above, some rewriting of the query tward a more modern model did the trick.


Added to client method "patch_resource_item" required by openregistry bot

This change is

Coverage decreased (-0.02%) to 55.65% when pulling 996c356b9dde8e4158d6e628c6b93896c52ad946 on VDigitall:a410548008763407_patch_resource_item_method into 2586905a74198e771fd783a962d66c08d4839d6f on openprocurement:use_requests.

Coverage increased (+7.2%) to 62.869% when pulling 1262b3c80a6cbf888eac9bb2043a4df7cccca4ef on VDigitall:a410548008763407_patch_resource_item_method into 2586905a74198e771fd783a962d66c08d4839d6f on openprocurement:use_requests.


How is Pos.AnchorEnd supposed to work?

I can't find any examples of it other than what's in the docs and that hasn't helped me understand the concept.
@migueldeicaza can you explain?

It's more or less equal to the Dim.Width(view) - n

New docs make it more clear.
https://migueldeicaza.github.io/gui.cs/api/Terminal.Gui/Terminal.Gui.Pos.html#Terminal_Gui_Pos_AnchorEnd_System_Int32_

Creates a Pos object that is anchored to the end (right side or bottom) of the dimension, useful to flush the layout from the right or bottom.

Closing.

Re-opening.
AnchorEnd functions well, but if you study the uses of it, in almost all cases one of two things happen

The caller specifies AnchorEnd(dim of view). Eg AnchorEnd(1) to anchor a button to the bottom
convoluted logic calculates the dim of the view. E.g view.X = Pos.AnchorEnd() -(Pos.Right(view) - Pos.Left(view))

I propose in v2 we change this such that there are two constructors:
Pos Absolute ()
And
Pos Absolute (int margin)
If the 1st is used, we apply (Pos.Right(view) - Pos.Left(view)).
What do yall think?

The more options the better. Can you explain the differences between them in an image, please? In principle, it seems to make managing Pos.Absolute even more difficult because instead of assigning a final positioning value, we will still have to consider the margin. But it may have other advantages that I am not reaching for now.

Today:
var btn = new Button () {
	Text = "Ok",
	X = Pos.AnchorEnd (margin: 1),
	Y = Pos.Bottom (margin: 1)
};

Note, if `margin: ` was 0, or omitted, nothing would be shown.
var btn = new Button () {
	Text = "Ok",
	Y = Pos.Bottom (margin: 1)
};
btn.X = Pos.AnchorEnd ()  -  (Pos.Right(bt ) - Pos.Left(btn));

With proposed change:
var btn = new Button () {
	Text = "Ok",
	X = Pos.AnchorEnd (),
	Y = Pos.Bottom ()
};
``

Note, additionally, `margin: ` is the wrong term for both today's behavior and my proposed behavior. What `AnchorEnd` really does when a non-zero `margin` is specified is to shift the position left/up. So it's not really `margin`, but `shift` or `offset`.  So I propose to change that too.

Proposed API docs:

```cs

	///
	/// Creates a <see cref="Pos"/> object that hast it's end (right side or bottom) anchored to the end (right side or bottom)
	/// of the SuperView, useful to flush the layout from the right or bottom.
	///
	/// <returns>The <see cref="Pos"/> object anchored to the end (the bottom or the right side).</returns>
	/// <example>
	/// This sample shows how align a <see cref="Button"/> to the bottom-right the SuperView.
	///
	/// // See Issue #502
	/// anchorButton.X = Pos.AnchorEnd ();
	/// anchorButton.Y = Pos.AnchorEnd ();
	///
	/// </example>
	public static Pos AnchorEnd ()
	{

	}

	///
	/// Creates a <see cref="Pos"/> object that is anchored to the end (right side or bottom) of the SuperView,
	/// useful to flush the layout from the right or bottom.
	///
	/// <returns>The <see cref="Pos"/> object anchored to the end (the bottom or the right side).</returns>
	/// <param name="offset">The view will be shifted left or up by the amount specified.</param>
	/// <example>
	/// This sample shows how align a <see cref="Button"/> such that to it's left side is offset 10 columns from the right
	/// the right edge of the SuperView.
	///
	/// // See Issue #502
	/// anchorButton.X = Pos.AnchorEnd (10);
	/// anchorButton.Y = 1
	///
	/// </example>
	public static Pos AnchorEnd (int offset)
...

Note, after drafting this, I have sorta convinced myself that being able to specify a `offset` is not really useful. I can't come up with a use-case where someone would want to do that. And even if someone does, they could use `btn.Margin.Thicknesss = new Thickness(0, 0, 10, 0)` (which V1 didn't enable).

The more options the better. Can you explain the differences between them in an image, please? In principle, it seems to make managing Pos.Absolute even more difficult because instead of assigning a final positioning value, we will still have to consider the margin. But it may have other advantages that I am not reaching for now.

I had a typo originally where I wrote Aboslute; that confused you. Sorry.

Ok now I understood. Go ahead. Goo work.

After drafting this, I have convinced myself that being able to specify a offset is not really useful. I can't come up with a use-case where someone would want to do that. And even if someone does, they could use btn.Margin.Thicknesss = new Thickness(0, 0, 10, 0) (which V1 didn't enable).

The user may not want to touch the margin thickness addressing this and the offset will be the better choice. I know what I'm talk about after dealing with the new TabView look.

@tig something is wrong with the AnchorEnd. I think it's also related with the public bool Contains (int x, int y) { return x >= Left && x < Right && y >= Top && y < Bottom; } of the Rect method.
See that the ScrollView Width should be 50 and it's showing 49 and the Height should be 20 and it's showing 19.

Changing the Rect method to public bool Contains (int x, int y) { return x >= Left && x <= Right && y >= Top && y <= Bottom; } the size is showing right. Only the scroll bars is wrong because they use the AnchorEnd(1).

Changing it to AnchorEnd() the scroll bars are in the right position but the Dim.Fill(1) isn't right.

The change I made to the Contains method of the Rect also affect the button click on a Dialog, but not on the Press me button in the scroll view. I've to click bellow the button to close the Dialog. I think I found some bugs here because them are affecting on my work in the built-in scroll bars. I'll investigate this even more but any help is welcome. Thanks.

Ops sorry @tig I was wrong I forgot to take on account of the 0 number which already count 1 unit, My heads hurts and will explode ;-).

But anyway something is wrong with the AnchorEnd. On the ScrollView I've to use AnchorEnd (1) for the scroll bars to fit and in the Padding I only need to use AnchorEnd (), without margin. I think it should be the same on both.

Well, the AnchorEnd unit tests are pretty lame, so it's not surprising to me that there's a nuanced bug or two in there (I'm suspect of any unit test that relies on AutoInitShutdown and/or AssertDriverContents....
I don't fully understand the scenario you're describing. My suggestion is for you to boil it down to the most simple and focused set of unit tests you can come up with. Use only View with minimal subviews and see if you can reproduce the bug.

Another great example of why we should fix this:
> May you can doing this change in this PR in the Color Picker scenario.

        // Background ColorPicker.
        backgroundColorPicker = new ColorPicker
        {
            Title = "Background Color",
            X = Pos.AnchorEnd ((8 * 4) + 2), // 8 box * 4 width + 2 for border
            BoxHeight = 1,
            BoxWidth = 4,
            BorderStyle = LineStyle.Single
        };

Haha. Everytime I run that I'm like "I should just fix this now". Then I'm like "Oh, Rabbit!" and I go elsewhere.
Originally posted by @tig in https://github.com/gui-cs/Terminal.Gui/issues/3323#issuecomment-2057113141

I think part of the reason I keep ignoring it is I have this PR going:

#2900

But I'll fix it here now.


[TRI-1273] Create a function call example for OpenAI

It would be great to create a function call example for OpenAI here: https://github.com/triggerdotdev/trigger.dev/blob/main/examples/job-catalog/src/openai.ts
Use these docs for how to do function calling: https://gpt.pomb.us/
TRI-1273

/bounty $50

/attempt #467

@Chigala Can I work on this !! I am very interested to work on this one.

That's ohk @RamK777-stack  you can have it.

Thanks @Chigala

attempt #469

/attempt #469

/attempt #469

/attempt #469, Can I work on this? @ericallam

Update: I already completed the development, about to raise the PR

it's been 6 hours. Sir

@ericallam, Let me know if you need any changes or something. I will do it ASAP.


Basic Rendering

By "basic rendering" I mean really basic stuff : just be able to send geometry to the GPU and draw it, without lighting or anything else.

Ok, done.


buffer.js RangeError in PairingGeneralDataInputOutputCharacteristic onUnsubscribe

Installed simnuki on Raspberry Pi Model 3B, followed instructions from the readme of this repo.
Anyhow every time try to get it work with the iPhone App, it throws 'index out of range' error after onUnsubscribe, like this:
pi@raspberrypi:~/simnuki $ node main.js
Initial configuration saved
Initial user configuration saved
on -> stateChange: poweredOn
on -> advertisingStart: success
on -> accept: 72:99:4d:33:17:ed
Creating new SL key pair...
Nuki is not initialized
on -> servicesSet: success
on -> mtuChange: 185
PairingGeneralDataInputOutputCharacteristic - onSubscribe
don't have more data to notify
UserSpecificDataInputOutputCharacteristic - onSubscribe
don't have more data to notify
Step 4: SL sending PK...
Step 4: SL sending PK...
Step 6: CL sent PK:
Step 7: creating Diffie-Hellman key...
Step 8: deriving long term shared key...
Step 9: creating one time challenge...
Step 12: creating authorization authenticator...
Step 13: CL sent authorization authenticator.
Step 14: verifying authorization authenticator...
Step 14: authenticators verified ok
Step 15: creating one time challenge...
Step 15: sending one time challenge...
Step 15: sending one time challenge...
Step 16: CL sent authorization data.
Step 17: verifying authenticator...
Step 17: authenticator verified ok.
Type is App
App ID: 899219594
Name: p t t his dan
Step 19: creating authorization-id command...
Step 18: new user p t t his dan with authorization id 1 added to configuration
Step 21: CL authorization-id confirmation
Step 22: Sending status complete.
CL sent CMD_REQUEST_DATA
CL requests challenge
NEW nonceK received
CL sent CMD_REQUEST_CONFIG
Nonce <Buffer 56 1c 43 4c fa d8 5f a1 db ae c6 d3 b3 30 b2 82 cf ae 37 ad 49 51 e7 62 d7 2b be a2 b3 fb 89 94> 32
CL sent CMD_REQUEST_DATA
CL sent CMD_NUKI_STATES
PairingGeneralDataInputOutputCharacteristic - onUnsubscribe
buffer.js:613
throw new RangeError('index out of range');
^
RangeError: index out of range
at checkOffset (buffer.js:613:11)
at Buffer.readUInt16LE (buffer.js:659:5)
at Gatt.onAclStreamEnd (/home/pi/simnuki/node_modules/bleno/lib/hci-socket/gatt.js:283:68)
at emitNone (events.js:72:20)
at emit (events.js:166:7)
at AclStream.push (/home/pi/simnuki/node_modules/bleno/lib/hci-socket/acl-stream.js:28:10)
at BlenoBindings.onDisconnComplete (/home/pi/simnuki/node_modules/bleno/lib/hci-socket/bindings.js:161:21)
at emitTwo (events.js:87:13)
at emit (events.js:172:7)
at Hci.onSocketData (/home/pi/simnuki/node_modules/bleno/lib/hci-socket/hci.js:410:12)
or
pi@raspberrypi:~/simnuki $ node main.js
SL UUID: 29dfe2903aa611e7a700d58d74089f9a
on -> stateChange: poweredOn
on -> advertisingStart: success
on -> accept: 75:12:88:65:9a:dd
Creating new SL key pair...
Nuki is not initialized
on -> servicesSet: success
on -> mtuChange: 185
PairingGeneralDataInputOutputCharacteristic - onSubscribe
don't have more data to notify
UserSpecificDataInputOutputCharacteristic - onSubscribe
don't have more data to notify
CL sent CMD_REQUEST_DATA
CL requests challenge
NEW nonceK received
CL sent CMD_REQUEST_CALIBRATION
PIN  0
Calibrating
locked
unlocking
unlocked
unlatched
locked
CL sent CMD_REQUEST_DATA
CL sent CMD_NUKI_STATES
PairingGeneralDataInputOutputCharacteristic - onUnsubscribe
buffer.js:613
throw new RangeError('index out of range');
^
RangeError: index out of range
at checkOffset (buffer.js:613:11)
at Buffer.readUInt16LE (buffer.js:659:5)
at Gatt.onAclStreamEnd (/home/pi/simnuki/node_modules/bleno/lib/hci-socket/gatt.js:283:68)
at emitNone (events.js:72:20)
at emit (events.js:166:7)
at AclStream.push (/home/pi/simnuki/node_modules/bleno/lib/hci-socket/acl-stream.js:28:10)
at BlenoBindings.onDisconnComplete (/home/pi/simnuki/node_modules/bleno/lib/hci-socket/bindings.js:161:21)
at emitTwo (events.js:87:13)
at emit (events.js:172:7)
at Hci.onSocketData (/home/pi/simnuki/node_modules/bleno/lib/hci-socket/hci.js:410:12)

Could be fixed by patching up the descriptors.
diff --git a/general-data-io-characteristic.js b/general-data-io-characteristic.js
index 986d5d9..d6dd8e8 100644
--- a/general-data-io-characteristic.js
+++ b/general-data-io-characteristic.js
@@ -12,7 +12,7 @@ function GeneralDataInputOutputCharacteristic(keys) {
descriptors: [
new BlenoDescriptor({
uuid: '2902',   // client characterstic configuration

           value: 'set a value'

           value: new Buffer([0x00, 0x00])
       })
   ]

});
diff --git a/pairing-general-data-io-characteristic.js b/pairing-general-data-io-characteristic.js
index cea8763..cf9d7ee 100644
--- a/pairing-general-data-io-characteristic.js
+++ b/pairing-general-data-io-characteristic.js
@@ -39,7 +39,8 @@ function PairingGeneralDataInputOutputCharacteristic(keys, config) {
properties: ['read', 'write', 'indicate', 'notify'],
descriptors: [
new BlenoDescriptor({

               uuid: '2902'   // client characterstic configuration

               uuid: '2902',   // client characterstic configuration

               value: new Buffer([0x00, 0x00])
           })
       ]
   });

diff --git a/user-data-io-characteristic.js b/user-data-io-characteristic.js
index 89bfc38..3416ff0 100644
--- a/user-data-io-characteristic.js
+++ b/user-data-io-characteristic.js
@@ -17,7 +17,7 @@ function UserSpecificDataInputOutputCharacteristic(keys, config) {
descriptors: [
new BlenoDescriptor({
uuid: '2902',   // client characterstic configuration

           value: 'set a value'

           value: new Buffer([0x00, 0x00])
       })
   ]

});

@filipnavara I'm not exactly sure what you mean. Which line for value is the correct one? My understanding is that you say it works with the value: new Buffer([0x00, 0x00]) one, but that's exactly what's in my code, and it DOESN'T work, as I detailed in #4 . Can you please provide a bit more detail on what the actual fix is?


Feature/enable via ir

Codecov Report
Patch coverage has no change and project coverage change: -100.00 :warning:

Comparison is base (3a43a5d) 100.00% compared to head (4b3f4f7) 0.00%.

Additional details and impacted files
@@             Coverage Diff              @@
##            master      #1        +/-   ##
============================================
- Coverage   100.00%   0.00%   -100.00%
============================================
  Files            1       1
  Lines           24      24
  Branches         2       2
============================================
- Hits            24       0        -24
- Misses           0      24        +24

Impacted Files
Coverage Δ

contracts/DecompressorExtension.sol
0.00% <0.00%> (-100.00%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Quickly view private and public notes functionality.

Describe the solution you'd like
Quickly view private and public notes functionality.
Type of feature
User Experience (UX)
Additional context
No response

Can you please elaborate on this? Sorry but I'm not really sure what exactly are you requesting.

Can you please elaborate on this? Sorry but I'm not really sure what exactly are you requesting.

I'm sorry for not explaining clearly. The memos notes include both public and private notes. Because I have too many notes, it's hard for me to quickly distinguish which ones are private and which ones are public. Therefore, I hope there could be a filtering function to quickly filter out my private notes.


added composite condition example to condition readme file

hello, my tests are failing, i dont know what could be the problem because i have tried pulling from development into my local branch and all but nothing is working

@Monsurat-Onabajo See my commits at https://github.com/ModECI/MDF/pull/383/commits/fdfa67f2cde708d1ab5df7d8bb80a7d5ee540bc4, which have fixed the tests. The issue was some unused imports in composite_condition_example.py. Note that all python scripts found in the examples folder will be tested to be runnable by github actions.
Also I noticed that the yaml/json files were being generated by "Python modeci-mdf v0.4.3". Make sure you have the latest version installed when testing.

Ok, thank you very much, i will check that


Show current project name in menubar

Could be similar to the functionality in osx

User requests

http://stackoverflow.com/questions/18841141/qmenu-item-text-disappears-when-icon-added

This is not doable without complex custom solution.


External Crop Calendar (ECC) table

The FDW's crop calendar (start_date, period_date, season_date, etc.) only relies on "season_name" and does not differentiate between fnid, crop_production_system, product, etc., which is unrealistic. The current HarvestStat processing only expands it with "planting_month" and "harvest_month" manually.
The external crop calendar feature allows you to load/apply data from other crop calendar sources, such as Gary's Global Crop Calendar Compilation or the FAO's crop calendar.

AF example; USDA
YE expample; FAO.

Consideration:

Should deal with year-off issue
Gary's GCCC also has multiple sources and variables. We need to narrow our approach.

We adopted an external crop calendar: https://docs.google.com/spreadsheets/d/1ZBk6KKJtgaVIMktVJibPfmK79m8bSAEvgl7nlY8fDmc/edit#gid=0

In this spreadsheet, we manually specify planting_month, harvest_month, planting_year, and harvest_year per [country, season_name, product, crop_production_system].
The planting_year and harvest_year are extracted from season_date and start_date in FDW, respectively. Those FDW dates have year-off issues and can be updated in the future. Here, our "planting_year" and "harvest_year" mean an offset value, so 0 means the year is correct, and -1 means shift the one year earlier.
Once the spreadsheet is updated, please locate it to /data/crop_calendar/external_crop_calendar.csv.


Implementation of CodableResultClosure with QueryParameters

In this PR I am implementing the support for CodableResultClosure with QueryParameters
Description
At the moment the router handler forces the users to use the CodableArrayResultClosure type only. Compilation fails if the application is expecting a Simple Codable type with QueryParameters.
Motivation and Context
Application needs a Simple JSON object instead of Array of JSON objects.As the current implementation does not allow a SimpleCodable type to be returned , I have implemented the same.
How Has This Been Tested?
Ran Kitura test-suite with my changes
Checklist:

[ ] If applicable, I have updated the documentation accordingly.
[ x] If applicable, I have added tests to cover my changes.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #1253 into master will decrease coverage by 0.08%.
The diff coverage is 81.48%.

@@            Coverage Diff             @@
##           master    #1253      +/-   ##
==========================================
- Coverage   89.07%   88.99%   -0.09%
==========================================
  Files          38       38
  Lines        2280     2307      +27
==========================================
+ Hits         2031     2053      +22
- Misses        249      254       +5

Flag
Coverage Δ

#Kitura
88.99% <81.48%> (-0.09%)
:arrow_down:

Impacted Files
Coverage Δ

Sources/Kitura/CodableRouter.swift
79.41% <81.48%> (+0.22%)
:arrow_up:

Continue to review full report at Codecov.

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

@ianpartridge   I have renamed the new test case to testCodableGetSingleQueryParameters  and testCodableGetQueryParameters```` to testCodableGetArrayQueryParameters``` . Please review

@saiHemak is this ready to merge?

@djones6 Changes were approved.Can you please merge


Updates to curve-lending.js

https://www.notion.so/volumefi/EPIC-07-27-23-Curve-lending-bots-e22990bbc1904f34b0d4eaf5dd77ade0?pvs=4#a6d16cd383da45b6a8ff0026938b9b3a

Replace Stop_Loss with risk ratio
replace price in https://github.com/VolumeFi/curve-lending-bot/blob/e6cd50e19f38019d054c16af3c369cf30eb0653d/curve-lending.js#L79 with health from the vyper contract here https://github.com/VolumeFi/curve-lending-bot-vyper/blob/master/contracts/curve-lending-bot.vy#L191

3.when loan health factor reaches the limit (health factor lower than user’s risk ratio) call repay() function

the contract was deployed, see details in discord: https://discord.com/channels/987730379182051408/1065140873811218532/1152280629753430087

the factory contract was updated - new contract addresses:
factory: https://etherscan.io/address/0x23958a894604af8b4ee1443feaddff7945b78585#code
blueprint: https://etherscan.io/address/0x76db860A692Cc4704A7C8cE03DB7cBC0a290fE1a

@rootedbox - Jamie created a bot, but the bot doesn't show up in the API - Branch with UI is here https://github.com/VolumeFi/palomabot/pull/196

set up the service on the server. Running it triggers this error:
Sep 29 14:33:36 bots-server start.sh[2152878]: /home/rootedbox/app/curve-lending-bot/curve-lending.js:54
Sep 29 14:33:36 bots-server start.sh[2152878]: let db = new sqlite3.Database(process.env.DB_LOCATION);
Sep 29 14:33:36 bots-server start.sh[2152878]:          ^
Sep 29 14:33:36 bots-server start.sh[2152878]: TypeError: String expected

FE is ready, but we're not seeing all bots in the API

jamie088 — Today at 3:29 PM
{"deposit_id":"0","token0":"0","token1":"0","amount0":"10000000000000000","amount1":"36406849794440328","depositor":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","withdrawer":"0xC1217955E391a466ced9864E10B69D1EdE08816f","dex_name":"curve","bot":"lending_curve","contract":"0xB382dAaAb8879938A783774EE5bB705AFEba660F","sent_to_mixpanel":"0","create_to_mixpanel":"0","created_at":"2023-09-30 00:08:11","coin_info":null,"coin_info1":null,"coin_info0":null}]

coin infos are empty.


SAK-43287 fix error around integer parsing

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

See the complete overview on Codacy