wrong port in example

Description:

on location
https://apim.docs.wso2.com/en/latest/tutorials/integration-tutorials/sending-a-simple-message-to-a-service/#send-the-client-request
url is  http://localhost:8290/healthcare/querydoctor/surgery
by default is http://localhost:8280/healthcare/querydoctor/surgery
Affected Product Version:
documentation for v 4.1

By default Micro Integrator starts with offset of 10, and so this should be 8290, the current one is correct AFAIU and I see the same in the embedded video.

Hi @lpastor74 ,
Based on @Nirothipan's comment it appears that the content in the documentation is correct.
Therefore, I will be closing this issue.
Regards,
Mariangela Hills


Give blocks ids

Resolves
https://github.com/LLK/scratch-gui/issues/356
Proposed Changes
Give blocks in the flyout fixed IDs so that when they are destroyed and re-created, they are treated as the same instance as the first block. This prevents monitor blocks from tracking tons of duplicates.
(Does this change need to be applied to default_toolbox in horizontal as well? core/variables, core/procedures, etc.?)
/cc @paulkaplan @rschamp

Oops I accidentally Paul's change in here https://github.com/paulkaplan/scratch-blocks/tree/emit-checkbox-event

@fsih I think it's ok to pull in the checkbox change here, since this is everything required for the monitors update.
@rachel-fenichel FYI this PR contains the change event we talked about earlier this week.  It's convenient because it allows us to treat the checkbox state as part of the block state and handle it with our change event handler (in the VM we also treat it as block state).


MVC5 sample

Maybe just an MVC5 update of the NerdDinner sample?

way out of date...but the samples will need updating, so I'm going to expand the scope of this ticket and move to the 2.0 milestone


Detecting unstable stable types

Eventually, the codebase should get to the point where, as long as stable types are not modified, serializations of those types will not change.
But what if someone makes an error and changes a stable type?
It might be useful to have tests that check for such changes. To do that, you could take a hash of the bin_io serialization of a value of a stable type, and check it against a known-good hash.

The deriving version could add show, so we can print out OCaml representations of RPC types.

For now, writing tests that mention the serialization of a type (rather than a hash, so verbose in some cases), and checking whether it deserializes to the current implementation of a type. That could succeed in some cases when the type has changed, say if two int fields in a record were swapped.

added required serialization checks when we have %%versioned_asserted


Build failed on Macos

Is this lib compatible with MacOS, iOS or Android? I try to build it on MacOS but it fails.
Also, is it threat safe?
with '-Wno-misleading-indentation'
error: unknown warning option '-Wno-misleading-indentation'; did you mean '-Wno-binding-in-condition'? [-Werror,-Wunknown-warning-option]

with -Wno-binding-in-condition
uwsc.c:66:12: error: implicit declaration of function 'htobe16' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    code = htobe16(code & 0xFFFF);
           ^
uwsc.c:117:29: error: implicit declaration of function 'be16toh' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        frame->payloadlen = be16toh(buffer_pull_u16(rb));
                            ^
uwsc.c:122:15: error: implicit declaration of function 'be64toh' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        len = be64toh(buffer_pull_u64(rb));
              ^
uwsc.c:122:15: note: did you mean 'be16toh'?
uwsc.c:117:29: note: 'be16toh' declared here
        frame->payloadlen = be16toh(buffer_pull_u16(rb));
                            ^
uwsc.c:421:28: error: implicit declaration of function 'htobe16' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        buffer_put_u16(wb, htobe16(len));
                           ^
uwsc.c:424:28: error: implicit declaration of function 'htobe64' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        buffer_put_u64(wb, htobe64(len));
                           ^
uwsc.c:462:28: error: implicit declaration of function 'htobe16' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        buffer_put_u16(wb, htobe16(len));
                           ^
uwsc.c:465:28: error: implicit declaration of function 'htobe64' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        buffer_put_u64(wb, htobe64(len));
                           ^
uwsc.c:575:36: error: use of undeclared identifier 'SOCK_NONBLOCK'
    sock = tcp_connect(host, port, SOCK_NONBLOCK | SOCK_CLOEXEC, &inprogress, &eai);
                                   ^
uwsc.c:575:52: error: use of undeclared identifier 'SOCK_CLOEXEC'
    sock = tcp_connect(host, port, SOCK_NONBLOCK | SOCK_CLOEXEC, &inprogress, &eai);
                                                   ^

Yes. It's not compatible with mac os.

Sorry to hear that. I was planning to use it in the game engine. Thank you.
Yes, maybe I can PR but I need a solid solution for now.

Just for an info...
I manage the build it using this: https://gist.github.com/panzi/6856583
and
#ifndef SOCK_NONBLOCK
#include <fcntl.h>
# define SOCK_NONBLOCK O_NONBLOCK
#endif

and changing FD_CLOEXEC
But unfortunately can't connect to "ws://demos.kaazing.com:80/echo" ...
uwsc.c:696) tcp_connect failed: Protocol not supported


Start listening on PORT earlier

At the moment, we do a lot of Keystone setup before opening a port to listen on.
If that Keystone setup takes a while, the developer can't load keystone until all that work is complete, and will see a "Could not connect" error in the browser.
We should try and open a port as soon as possible, and just delay the response until everything is initialised. This way, the user will see the page loading, instead of the "cannot connect" error.

This is done in #1205 👍


Hide app categories on mobile

This PR hides app categories on mobile, but leaves filter and moves it above the app list.

/cc @zeke

Fantastic. Thank you for this!


Deprecate time-frequency DICS beamformer

What does this implement/fix?
Deprecating the time-frequency DICS beamformer tf_dics.
This functionality is prone to producing bad results, e.g. when choosing a very short integration window for the covariance matrices. With today's computational power, better options are available, e.g. source localizing epochs and subsequently doing time-frequency analysis in source space directly, or hilbert beamforming.
Plus, the functionality can easily be replicated by the user if absolutely needed.
Additional information
I propose to later add an example for hilbert beamforming as a better "replacement" for the dics_tf example, together with @kimcoco.
@wmvanvliet @larsoner @agramfort : OK to deprecate?

Just needs a line in the API section of latest.inc then should be good to go I think!

thx @britta-wstnr !


Allow for multiple arguments to job handler functions

Currently job handler functions can only accept one argument. This is not a priority for me, but it would not be too difficult to allow for multiple parameters.

This is possibly superseded by https://github.com/albrow/jobs/issues/14

After some thought, I'm going to implement https://github.com/albrow/jobs/issues/14 instead


added project with algortihm for internal final defense of my 3rd yea…

…r college project

added project with algortihm for internal final defense of my 3rd year college project


bump dependancies and fix lint errors

I noticed travis is failing on master as a result of lint errors. So I've bumped the dependancies and fixed the lint errors as a result.
I also noticed in the settings test that flatten was overwriting keys, so I added a test to specifically document that behaviour.
I'm not a big fan of underscore, but I noticed it was being used already. Some of those each usages could probably be changed to use forEach. That or turn of the no-restricted-syntax 😃

I've been using these changes today and have noticed some problems :(
Particularly with static members in classes. Apparently you can't access them using this when inside an instance. You have to reference the the class like SomeClass.staticMember. This has been noticeable in ProjectsListView

I have noticed an error with installing as well using apm install since apm seems to use an old node. Anything you have experienced?

apm install looks to work ok here. Bellow is my environment
$ node -v
v6.7.0
$ npm -v
3.10.8
$ apm -v
apm  1.12.5
npm  3.10.5
node 4.4.5
python 2.7.10
git 2.10.0
$ apm install
Installing modules ✓

What error are you seeing?

I restarted the terminal and it worked after that :)

Ah great

The revert is because I wanted to open it in a new branch, not directly merge it which kinda got screwed up, but after fixing the static methods I think everything is fixed now.
Got a really weird merge behaviour too, but I think I managed to solve everything.
Thanks for the help :)

No worries! Glad you got that static stuff sorted


Explanation between MQ135 and MQ135-Heater

Hi there,
can you explain please the difference between MQ135 and MQ135-Heater?
And what means "Ratio"?
Thank you in advance

mq135 is the name of the sensor and heater is needed to be switched on for a while to get meaningful data from the sensor.
Ratio is  current resistance over resistance at a known gas concentration level.


Use next.js 10 @hookform/resolvers yup to get the following error SyntaxError: Cannot use import statement outside a module

SyntaxError: Cannot use import statement outside a module
Use next.js 10 @hookform/resolvers yup to get the following error

import { transformToNestObject, } from 'react-hook-form';
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at wrapSafe (internal/modules/cjs/loader.js:979:16)
    at Module._compile (internal/modules/cjs/loader.js:1027:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (/Users/jq153387/Sites/test/node_modules/@hookform/resolvers/yup.js:1:18)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at eval (webpack-internal:///@hookform/resolvers/yup:1:18)
    at Object.@hookform/resolvers/yup (/Users/jq153387/Sites/test/.next/server/pages/index.js:115:1)
/Users/jq153387/Sites/test/node_modules/@hookform/resolvers/dist/yup.js:2

"dependencies": {
    "@hookform/resolvers": "^1.3.1",
    "next": "^10.0.4",
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "react-hook-form": "^6.14.0",
    "yup": "^0.32.8"
  },

Same as https://github.com/react-hook-form/resolvers/issues/100
I'm working on resolvers's V2 which will have a better bundle supports.
As a workaround, you can use 1.3.0

Same as https://github.com/react-hook-form/resolvers/issues/100
I'm working on resolvers's V2 which will have a better bundle supports.
As a workaround, you can use 1.3.0

I have the exact same issue but with zod

I have the exact same issue but with zod

@jorisre Using 1.3.0 is the same situation, other versions 1.2.0 ~ 1.0.0 have been tried, all in the same situation. do not know why?

@jorisre Using 1.3.0 is the same situation, other versions 1.2.0 ~ 1.0.0 have been tried, all in the same situation. do not know why?

@jorisre 1.3.0 works, make sure you use the exact version and not ^1.3.0.

@jorisre 1.3.0 works, make sure you use the exact version and not ^1.3.0.

@la55u Thank you so much, I don't quite understand the difference between 1.3.0 and ^1.3.0? @

@la55u Thank you so much, I don't quite understand the difference between 1.3.0 and ^1.3.0? @

@jq153387 yarn add<EMAIL_ADDRESS>(exact version) fixes the issue for me. If you use the caret ^ it means there could be a minor patch, e.g. 1.3.1, which doesn't work here.

@pau1tuck The issue is solved, you can use the latest version v1.3.6

I am getting this error in "next": "12.0.7" witrh "@hookform/resolvers": "^2.8.4"

Make sure you are importing:
import { zodResolver } from '@hookform/resolvers/zod';

and not:
import { zodResolver } from '@hookform/resolvers/zod/dist/zod';

That was my problem (the IDE picked this import for some reason).


[FEATURE REQUEST] Win effect

[FEATURE REQUEST] Win effect
Description: Add a special win effect, such as a fireworks or other visual effect, when a player wins a game. This makes the win more special and visually appealing to the winner and spectators.

Thank you for the suggestion! This feature will be included in the upcoming v2.0.3 release.
A new visual effect has been added with support for sound and particle effects.
Commit: https://github.com/goodbyepavlyi/LavaRise/commit/7ec35376f886bba4e1916ee289c5aeb5f4d34a55


Fix tag for freeipa-server for TLS-e adoption

The tag fedora-39 has expired, use fedora-40 instead

FYI https://github.com/openstack-k8s-operators/install_yamls/pull/955


Subtitles

subtitle display

@kirill09 is this working for you? :)

@kirill09 is this working for you? :)

yes

@kirill09 thank you sooo much for this PR :) whats about the conflicts? could you check them?

@kirill09 I think these changes from you are very important and give chewie a big plus. I would appreciate it, if you have a second look here into this PR and the merge conflicts, so we can have subtitles in chewie :)

I fixed the conflicts. I will check everything now. @nstrelow if you got time you can also have a quick look. Maybe I am too fast 😂

Ok, tested everything, here are my results:
I don't understand why we're using such dirty algorithm to pass:

index
start duration
end duration
text
by this:

subtitle: Subtitles([
    Subtitle('0\n00:00:00 --> 00:00:10\nHello from Subtitles :)'),
]),
subtitleBuilder: (context, subtitle) {
    return Text(subtitle);
},

The result in the UI is:

Honestly this is not really user or developer friendly. It's very easy in Dart to export a simple model for this. Yes, model is existing but factory constructor is horrible ^^ sorry to say that.
Also: the parameter: subtitle was existing as a parameter but was not passed into the constructor, so I had to fix that.
My suggestion: I'll refactor the Subtitle model to pass user-friendly parameters rather then a string like above.
/cc @nstrelow

Is this PR ready to merged?

Is this PR ready to merged?

Nope, I am working on it 🧑🏻💻

Since @kirill09 's repo and branch are somehow damaged/deleted, I've moves this PR to: https://github.com/brianegan/chewie/pull/475
please follow that PR. It's ready to release, we just have to review it!


[CT-664] [Feature] copy local dbt deps deeply, without symlinking

Is this your first time opening an issue?

[X] I have read the expectations for open source contributors

Describe the Feature
Currently dbt deps does a few different things depending on the dependency type. For local dependencies, it creates symlinks pointing to the local dbt project. I have a monorepo use case where I’d like to publish each sub-project separately, but they all reference a top level project. As a result, when I run dbt deps and then publish the directory the deps aren’t actually included in the artifact, instead it's just a symlink. When I pull the artifact down and run it in my cron job, the symlink is (obviously) broken.
There should be an option on local type dependencies that overrides this behavior and actually copies the dependency in, similar to how the git / hub based packages work
Describe alternatives you've considered
My workaround here is I'm just going to publish the entire monorepo and then have my execution job navigate to the sub-project directory, OR using the GitHub PAT type auth for cloning. That's (slightly) less preferred because it means any of the developers in my org using this monorepo will have to set up their own PAT and env var in order to run the project, when in reality.. the dependency is in fact already on their machine locally already in the repo itself 😆
Who will this benefit?
No response
Are you interested in contributing this feature?
Sure! If time allows.
Anything else?
No response

We had a chance to discuss this a bit yesterday. dbt already creates "deep" links on Windows, which doesn't support real symlinking:
https://github.com/dbt-labs/dbt-core/blob/75f3e8cb749c7b52d226844394ecb34c1e0070a4/core/dbt/deps/local.py#L50
https://github.com/dbt-labs/dbt-core/blob/75f3e8cb749c7b52d226844394ecb34c1e0070a4/core/dbt/deps/local.py#L58-L64
We are a bit hesitant about mixing symlinks and "deep" links, since these could lead to situations that are confusing to debug, both for users and for us. The "deep" links on Windows are not preferable IMO, as they can cause other related errors (file permissions) when trying to clean/replace installed dependencies: https://github.com/dbt-labs/dbt-core/issues/4372#issuecomment-984589099

My workaround here is I'm just going to publish the entire monorepo and then have my execution job navigate to the sub-project directory

This feels reasonable to me... alternatively, could all of the projects exist at the same hierarchy level, rather than the one reused package living at the top level?

I have a monorepo use case where I’d like to publish each sub-project separately, but they all reference a top level project.

Out of curiosity, is the top-level project here a project of shared sources / upstream models (pointers to data warehouse objects)? Or shared macros (dbt source code) used by all of those sub-packages? If it's the former, I've got some bigger ideas of how we could better support the pattern of multiple projects, owned by different teams, that roll up to one mono-DAG / monorepo: #5244
The parallels to https://github.com/dbt-labs/dbt-core/issues/4538 here are instructive, insofar as both of these issues are finding rough edges around local deps, and both to solve a use case (multi-project deployment) for which we think we could have more compelling answers.

Thanks @jtcohen6, and same to you!

alternatively, could all of the projects exist at the same hierarchy level, rather than the one reused package living at the top level?

Yes, that's possible, but we have a project per-domain and it's coupled with other per-domain entities, including some bespoke per-domain configurations (for example, which events should we stream into our data warehouse for this domain). I'd prefer to keep them all co-located in nested folders, as it's preferable for the various domain teams for things like PR review codeowners, etc.

is the top-level project here a project of  ... shared macros
It's currently shared macros that override things like default__generate_schema_name and default__generate_database_name to enforce a few standards in the per-domain projects (we've got another project for shared resources / common models, but as you discuss in #5244 it's not super simple to do that right now, and as a result we run that separately and use it as sources in the per-domain projects 😢). It also serves as common utils for things that all domain projects need to consume in a standard way.

I definitely agree with the ideas in #5244, but it's a big lift and there's a lot to do! I think we could soften the rough edges by adding support for "deep copy this package because I explicitly asked you to" type functionality in presumably a much shorter time frame, softening those rough edges while not ruling out the more compelling (but longer term) answers (I realize there are issues wrt/Windows, but that seems to me like something to be debugged in isolation to this issue).


Persistent CookieJar

Using
  dio: ^1.0.9
  cookie_jar: 0.0.7

I need a Persistant Cookie, so I follow example here..
https://github.com/flutterchina/dio#cookie-manager
var dio = new Dio();
dio.cookieJar = new PersistCookieJar("./cookies");

so a few issues....
There is no PersistCookieJar in dio, instead its in the "cookie_jar" package..
Importing the package and creating another way, is a compile  error..
import 'package:dio/dio.dart';
import 'package:cookie_jar/cookie_jar.dart';
Dio dioOb = new Dio(options);
dioOb.cookieJar = new PersistCookieJar("./cookies");

It seems I cant set the "cookieJar"..
https://github.com/flutterchina/dio/blob/flutter/lib/src/dio.dart#L45
Help appreciated as this is a blocker

In flutter, the path passed to PersistCookieJar must be valid, you can get the right path with Path Provider package.
please paste your compile error message.

@wendux experimented across 2 apps, but below is info... from experimenting..
import 'package:dio/dio.dart';

// Need to include this, as `PersistCookieJar` is NOT in dio package
import 'package:cookie_jar/cookie_jar.dart';

Options options= new Options(
  baseUrl: "http://<IP_ADDRESS>/rpc",
  connectTimeout: 5000,
  receiveTimeout: 10000,
  followRedirects: false,
  headers: {
    "Accept-Encoding": "gzip"
  }
);
Dio dioOb = new Dio(options);

// Line 24 = not compile.. crash etc
dioOb.cookieJar = new PersistCookieJar("./cookies");

error: The name 'dioOb' is already defined. (duplicate_definition at [gstl_lab_staff] lib/G.dart:24)
error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. (missing_const_final_var_or_type at [gstl_lab_staff] lib/G.dart:24)
error: A function body must be provided. (missing_function_body at [gstl_lab_staff] lib/G.dart:24)
error: Functions must have an explicit list of parameters. (missing_function_parameters at [gstl_lab_staff] lib/G.dart:24)
error: Expected a method, getter, setter or operator declaration. (expected_executable at [gstl_lab_staff] lib/G.dart:24)

Looking at it... and a newbie to dart/flutter.....
maybe the CookieJar should be an option... eg
new Options(
  cookieJar: null // no cookie
 //cookieJar // by default uses memory
  cookieJar: PersistCookieJar("./cookie") // persistant
)

In flutter, the path passed to PersistCookieJar must be valid(exists in phones and with write access). you can use path_provider package to get right path.


Fix golint issues

fix almost golint issues.

This pull request does not fix these golint issues.
internal/config/config.go:17:2: struct field Ssh should be SSH
internal/config/config.go:23:2: struct field AccessKeyId should be AccessKeyID
internal/config/config.go:34:6: type Ssh should be SSH


Add support for opaque drivers in a starter set of functions

Instrument the library to add support for dispatch to an opaque driver conforming to the interface in #3313 in the following functions:

psa_sign_hash, psa_verify_hash.
psa_import_key, psa_generate_key.
psa_destroy_key.
psa_export_public_key.

Validate these hooks with test drivers: #3343, #3346.
Volatile keys are out of scope of this task. The storage mechanism does not need to be resilient to failures.

I would like to assign this task to myself.
-Kjell Eirik


Improve build_docker.py and Dockerfiles

Three commits for this one

build_docker.py should do most things people want automatically (or close to it) with minimal fiddling of command-line arguments.
I pulled the conda environment build out of sv-pipeline-base and into its own Dockerfile. Now conda won't need to be rebuilt every time you update gatk-sv code.
I got some large docker images due to a mix of apt-get upgrades in the various Dockerfiles. So I made some small changes to how apt-get was invoked. The result is a modest decrease in docker image size (around 10%). My most recent build images are included in the committed dockers.json.

@mwalker174 I encountered problems building sv-pipeline-qc (as described during stand-up). I've pushed the changes I made due to that as a separate commit, which I will flatten if you approve this.
The outputs from my MakeCohortVcf run are at gs://broad-dsde-methods-tbrookin/results/MakeCohortVcf/
In case it matters, the workflow ID is d5ab3e46-1a8a-4e61-81a7-fac669f3372e


Emit correct project name with --name

Fixes #5440

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @matklad (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@bors: r+
Thanks!

:pushpin: Commit 1edfd9b has been approved by alexcrichton

:hourglass: Testing commit 1edfd9b1902bb141c8936f36503a07c63e4b5625 with merge 2eebc860567101969d0c7195c619ab79cccf0633...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 2eebc860567101969d0c7195c619ab79cccf0633 to master...

That was quick! Thanks @csmoe. 😄


I think you have to make a folder named Python then I can add my file in it

Ok let me do it for you....because you don't know who to make

add now

add now

Added. Please check.


Support Mercurial SCM

This commit support Mercurial(hg) SCM, yet another widely used DCVS.
Mercurial also has options for shallow clone and submodule (submodule) so these can be done in the future.

Very nice work!


Developer Documentation for Creating New Modules

Document what needs to be done to create a new module that can be used by the mesh for data.
If someone is creating a new module (ex: data quality, transforms, …) it would be helpful to have instructions what components have to be provided, which go in the m4d repository, which are external.  For those that go in m4d indications of where to put the different components that need to be provided - module yaml, helm charts, tests, example ….

Hey @simanadler, I'd like to work on this, can you please tell me how can I get started

I suggest that I will write something initial to replace the current text in https://ibm.github.io/the-mesh-for-data/docs/overview/modules/ and then we can pinpoint specific items that should be addressed in this text so someone could do a follow-up (e.g., by learning from the flight module).

I suggest that I will write something initial to replace the current text in https://ibm.github.io/the-mesh-for-data/docs/overview/modules/ and then we can pinpoint specific items that should be addressed in this text so someone could do a follow-up (e.g., by learning from the flight module).

@roee88 Not sure we need to replace this text.  It's a good general overview about modules.  However, in the contributing section we need something more detailed about how to create a module from a developer perspective.  I will try to start something.

**Please confirm / answer question @roee88 @hunchback @froesef **
Based on the current code base.  If I as a developer want to create a new module called "newmoduleX", I have to do the following.
(1) Create newmoduleX.yaml in https://github.com/IBM/the-mesh-for-data/tree/master/manager/testdata/e2e.
This is applied to m4d-system as part of which script?
(2) Create a new folder newmoduleX under https://github.com/IBM/the-mesh-for-data/tree/master/modules.
This can be done by copying https://github.com/IBM/the-mesh-for-data/tree/master/modules/m4d-template.
Or is there something that generates this folder?
(3) Create the module template - https://github.com/IBM/the-mesh-for-data/tree/master/modules/newmoduleX/templates/newModuleX.yaml.  This describes the parameters and from where they are taken.
(4) Create the module values template - https://github.com/IBM/the-mesh-for-data/blob/master/modules/newmoduleX/values.yaml
(5) Update the makefile with the name of the new module - https://github.com/IBM/the-mesh-for-data/blob/master/modules/newmoduleX/Makefile
(6) Update https://github.com/IBM/the-mesh-for-data/blob/master/modules/newmoduleX/Chart.yaml
(7) Update https://github.com/IBM/the-mesh-for-data/blob/master/modules/newmoduleX/templates/NOTES.txt
(8) Update https://github.com/IBM/the-mesh-for-data/blob/master/modules/newmoduleX/templates/_helpers.tpl

I consider all modules we have in /modules as being in a "bad shape". None of them is exposed to users yet by the way, hence why we don't put module.yaml outside of testing. I can later open a separate issue to describe it better.
I also think that targeting out of tree modules would be better at this point. Please consider it.

Closed by https://github.com/IBM/the-mesh-for-data/pull/172


Issue during the compiling

Hi,
I did a git pull and after a cargo build, but I got this error:

   Compiling reqwest v0.11.11
   Compiling rinfluxdb v0.1.0 (https://gitlab.com/celsworth/rinfluxdb.git?rev=f3f5b23e#f3f5b23e)
   Compiling sqlx-macros v0.6.0
   Compiling sqlx v0.6.0
error: /home/monitor/Software/lxp-bridge/target/debug/deps/libsqlx_macros-85f8a997a4f69fd9.so: undefined symbol: EVP_CIPHER_block_size
  --> /home/monitor/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-0.6.0/src/lib.rs:71:1
   |
71 | pub extern crate sqlx_macros;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0432]: unresolved imports `self::encode::Encode`, `self::decode::Decode`, `super::Decode`, `super::Encode`, `super::FromRow`, `super::Type`
   --> /home/monitor/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-0.6.0/src/lib.rs:118:9
    |
118 | pub use self::encode::Encode;
    |         ^^^^^^^^^^^^^^^^^^^^
...
129 | pub use self::decode::Decode;
    |         ^^^^^^^^^^^^^^^^^^^^
...
143 |     pub use super::Decode;
    |             ^^^^^^^^^^^^^
144 |     pub use super::Encode;
    |             ^^^^^^^^^^^^^
145 |     pub use super::Executor;
146 |     pub use super::FromRow;
    |             ^^^^^^^^^^^^^^
...
150 |     pub use super::Type;
    |             ^^^^^^^^^^^

For more information about this error, try `rustc --explain E0432`.
error: could not compile `sqlx` due to 2 previous errors

Cheers,
Angelo

Huh that's a weird one. So it's a compilation error in https://github.com/launchbadge/sqlx which is the database library I use. I can't see any issues there about this; might be something they've recently changed.
I have recently updated this library from 0.4 to 0.6. Could you try changing the bottom line in Cargo.toml:
sqlx = { version = "~0.6", features = ["runtime-tokio-native-tls", "any", "postgres", "mysql", "sqlite", "chrono"] }

Back to 0.5 (0.4 doesn't seem to build anymore, I think I started using some 0.5-specific features). Does that work? If so maybe its something we can report to their repo.
Might also just be worth doing a rustup update to get the latest Rust compiler. What distribution are you building on?

only the rust outdated.. I did a rustup update and it was fixed !!
Many thanks for your support !!
Angelo

Amazing, we like nice easy fixes :) Worth doing a rustup update once every few months to keep up to date. They tend to release a new compiler every month, though most of them shouldn't break compilation to that extent I guess.
Anyway happy to help :)


Distribute using wheel

Wheels are the new standard of python distribution and are intended to replace eggs.
Links

https://www.python.org/dev/peps/pep-0427/
http://pythonwheels.com/

Note that you can build wheels using multibuild.

Maybe now we can use https://github.com/PyO3/pyo3-pack?

For all I can tell rust-numpy is not the kind of library that could be published as wheel, as there's no #[pymodinit] or similar python entrypoint.

this issue is about 'we should present a way to distribute a rust extension with rust-numpy for users'

This should be true, and resolved by pyo3-pack. close


add timeout

see newest version: https://github.com/brentp/gargs/pull/6#issuecomment-270841382

A timeout option added (#5) :
  --timeout TIMEOUT, -t TIMEOUT
                         timeout of a command. Unit is second and 0 with no timeout (default is 0).

Example:
No timeout:
$ time echo msg | ./gargs  'sleep 2; echo {}'
msg

real    0m2.010s
user    0m0.003s
sys     0m0.008s

With timeout
$ time echo msg | ./gargs  'sleep 2; echo {}' -t 1
ERROR with command: Command('sleep 2; echo msg', stdout: '', exit-code: -1, error: signal: killed, run-time: 2.003461041s)

real    0m2.008s
user    0m0.006s
sys     0m0.002s

But the run-time is longer than the actual running time.

done!

Timeout works now !!!
No timeout:
$ time echo msg | ./gargs  'sleep 2; echo {}'
msg

real    0m2.005s
user    0m0.004s
sys     0m0.001s

Timeout < running time
$ time echo msg | ./gargs  'sleep 2; echo {}' -t 1
ERROR with command: Command('sleep 2; echo msg', stdout: '', exit-code: 1, error: time out, run-time: 1.000322521s)

real    0m1.006s
user    0m0.004s
sys     0m0.004s

Timeout < running time, and retry 2 times
$ time echo msg | ./gargs  'sleep 2; echo {}' -t 1 -r 2
ERROR with command: Command('sleep 2; echo msg', stdout: '', exit-code: 1, error: time out, run-time: 3.001001931s)

real    0m3.006s
user    0m0.003s
sys     0m0.007s

Timeout > running time
$ time echo msg | ./gargs  'sleep 2; echo {}' -t 3
msg

real    0m2.010s
user    0m0.006s
sys     0m0.006s

Oh no! I'm fixing the process_test.go

Cheers! All tests passed! :smile: :smile: :smile:

Dear Brent, all tests passed, these commits can be merged now.

I had a comment on here expressing my concerns about the added complexity and the leaking of goroutines but it seems to have been lost in the ether. I'm not sure this is worth it when it's simple to write a bash function that times out if a command doesn't finish within a certain time.
Given that you seem to have done an entire rewrite (and then some) of gargs in your rush project, I suspect you'll be less inclined to maintain and contribute here so I'm even more hesitant to incorporate this code.
I'm not decided on this, just expressing my concerns. Irrespective of that decision, in future projects, let's try to collaborate rather than replicate.

I understand your concern.
It was a long time ago when I wanted write a tool like gargs and rush. But I did not find the right way of handling stdout of a process before knowing gargs. I used gargs to quicky solve a work which was not well done using parallel. The only missing feature is timeout, so I try to fork and contribute as I said and did. However I didn't follow your code so I decided to learn by practicing. rush is just a side product of my learning path, and it's a kind of complexed.
You'are my idol, I will be pleased to collaborate with you.

agreed, it's definitely fun to create new stuff and sometimes you need custom features. I do appreciate you forking and adding the change, I'll leave this open for now.
want to collaborate on adding cram support to biogo/hts ? There's an issue open on that repo that I haven't made too much progress on that will be a lot of work.

that's a big challenge, i'll watch it. but my time is limited, cause it's the last semister of my phd learning.

I've been hitting the need for a timeout a lot lately. so I might resurrect this code and see if I can get it in.


build on macOS: dependency to 'libomp' is omitted in prerequisite.

Thanks for reporting this.
This is indeed a missing dependency on macOS. We will update build inustruction soon.
Meanwhile, please install libomp with homebrew to fix this.


Predict for bayesian linear regression

Predict for Bayesian regression
Warnings for small simulation sizes

We are separately fixing the tests.


Fga not picking supports

Preparation

[X] I tested the latest release
[X] I looked at other issues (even the closed ones)
[X] I read the Troubleshooting Guide

FGO server
NA
FGA build number
1575
Describe the bug
Fga apps dash through the support page even if the support servant was there
Video
Uploading received_429776865650606.mp4…
Device model
Lg g8x
Android version
11
Screen size
2340x1080
RAM
6GB

Not latest release.


Tag v0.6.0 to demarcate Swift 1.2 support

Following 7569c59f49b0d4033a06409745a44f8566189e98, LlamaKit no longer builds on Swift 1.1 or prior. How about cutting a tag for Swift 1.2-compatible LlamaKit?

Would very much appreciate a tag for Swift 1.2 support.

Tagged v0.6.0.

Thanks!


test-branch/execute-job/comment-from-wrong-user-on-pr/39cc376f-e568-4158-a42c-f21a96762bf9

PR for testing 871c06d73b58291a59ef468ee06771849b234078

/canonical/self-hosted-runners/run-workflows 871c06d73b58291a59ef468ee06771849b234078


Newest Dev Version doesn't catch pokemon

Expected Behaviour
Keeps repeating that the Eevee is there and doesn't catch it. It does this for other pokemon too at times but continues to catch most pokemon.
Actual Behavior
[19:54:13] A Wild Eevee appeared! [CP 473] [Potential 0.58]
[19:54:13] IV [Stamina/Attack/Defense] = [15/8/3]
[19:54:17] [x] Found fort at distance 0.06km
[19:54:17] [x] Need to move closer to Pokestop
[19:54:20] Something rustles nearby!
[19:54:20] A Wild Eevee appeared! [CP 473] [Potential 0.58]
[19:54:20] IV [Stamina/Attack/Defense] = [15/8/3]
[19:54:23] [x] Found fort at distance 0.06km
[19:54:23] [x] Need to move closer to Pokestop
[19:54:26] Something rustles nearby!
[19:54:27] A Wild Eevee appeared! [CP 473] [Potential 0.58]
[19:54:27] IV [Stamina/Attack/Defense] = [15/8/3]
[19:54:29] [x] Found fort at distance 0.05km
[19:54:29] [x] Need to move closer to Pokestop
[19:54:33] Something rustles nearby!
[19:54:33] A Wild Eevee appeared! [CP 473] [Potential 0.58]
[19:54:33] IV [Stamina/Attack/Defense] = [15/8/3]
[19:54:36] [x] Found fort at distance 0.05km
[19:54:36] [x] Need to move closer to Pokestop
[19:54:39] Something rustles nearby!
[19:54:40] A Wild Eevee appeared! [CP 473] [Potential 0.58]
[19:54:40] IV [Stamina/Attack/Defense] = [15/8/3]
[19:54:43] [x] Found fort at distance 0.05km
[19:54:43] [x] Need to move closer to Pokestop
Steps to Reproduce
Other Information
OS:
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
fatal: Not a git repository (or any of the parent directories): .git

You have any pokemon in your "catch" : {} filter in your config.json?

Remove the catch above eevee line and it should work. Same as this person and myself
https://github.com/PokemonGoF/PokemonGo-Bot/issues/1260

Thanks that was the trick!


Remove ngbTooltip payment-form component

The payment-form.component.html uses ngbTooltip to create the suggested address dialog. This ticket should:

Remove the use of ngbTooltip
Keep the use of NgbModal, it will be removed in a subsequent ticket

Don't forget to adjust the unit tests and e2e tests accordingly.

cart-item.component also uses this directive


Set .react-datepicker-popper to maximum z-index

There's no real use cases where the date picker should be underneath any other element, so let's just set it to the maximum value to squash any problems.

https://github.com/Hacker0x01/react-datepicker/issues/2150

https://github.com/Hacker0x01/react-datepicker/issues/2126

#2150

That’s not how z-index works, it’s enough to have the element wrapped in a different stack context to break this workaround

Using portals fixes the problem you're trying to solve.

Closing this as there are different ways to fix this https://github.com/Hacker0x01/react-datepicker/pull/2151#discussion_r442169067


assignment of class declaration fails on super keyword

Steps to reproduce

esprima.parse('e = class D extends Date { constructor() { super() } }')

Expected output

This parses without the super(). It also parses without the assignment.
In the case of assignment with super(), the resulting ClassExpression that is the .right of the ExpressionStatement should have a constructor with a CallExpression type: 'Super'
Actual output

throws: 'super' keyword unexpected here
Relevant references

running into the same issue.
did a previous version not have this error?


Include my workflow

Please include this!
https://github.com/xiaozhuai/alfred-adb

This isn’t a general repo. All Workflows included are made by me.

This isn’t a general repo. All Workflows included are made by me.


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

 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.:x: peterekhator sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Add function to setup CPG environment

Add a helper function analysis_runner_environment to emulate the analysis-runner environment. Dynamically generates a TOML config.

With https://github.com/populationgenomics/analysis-runner/pull/424, this will probably change somewhat?


Extending DATE recognition?

Hello Sanjaya,
In following your timeline example at https://github.com/winkjs/showcase-timeline#winknlp-timeline, I set the text variable to the data shown below (which is pretty much a timeline by itself).
I was surprised that the program returned no DATE objects, but then realized that dates of the form shown are not valid input to the JavaScript Date constructor.
What change would be required to the program to detect this date format and report it as a DATE?
Thanks for your help.
-Paul
4:32:01 AM PDT
All suspects are now in police custody.
4:29:02 AM PDT
No further updates have been provided.
4:25:57 AM PDT
No injuries have been reported. Officers have not stated whether any shots were fired.
4:24:42 AM PDT
LAPD units advise they are holding three suspects at gunpoint.
4:24:41 AM PDT
The address reported for this incident has changed to W 76th St & S Broadway.
4:24:03 AM PDT
An officer at the scene reports seeing the possible suspect vehicle.
4:23:05 AM PDT
Police have received another report of a shooting at 7617 S Broadway.
4:23:04 AM PDT
The address reported for this incident has changed to 7617 S Broadway.
4:21:49 AM PDT
The address reported for this incident has changed to 317 W 78th St.
4:21:05 AM PDT
A possible suspect vehicle may have fled southbound.
4:20:08 AM PDT
A 911 caller has reported hearing three or four gunshots in the area. This report is unconfirmed.
4:20:07 AM PDT
Incident reported at 3171 W 78th St.

Hello @paul-bell
The current models are not detecting the HH:MM:SS formats; they are only detecting HH:MM formats. Therefore it is not recognizing 4:32:01 AM PDT; but it will recognize 4:32 AM PDT. It will take a while to build a new model and release it — will surely try to include it in the next minor release.
As far as JS Date is concerned, one can always transform the string to match the requirements.

Hey Sanjaya,
Thanks for your quick reply.
Thank you for the intent to include recognition of :SS in the next minor release; much appreciated! Any sense for when that would be?
In the meantime, I removed the :SS from the dates in the foregoing text but I am still not seeing any DATE output.
What am I doing wrong?
-Paul

In fact, I reverted the text as follows:
let text = "She was born in 1869. She died in 1940 at 4:32 AM PDT."
And tried as shown as well as '4:32 AM' and '4:32'. But in no case do I see a Date object output, i.e., I see both 1869 and 1940 tagged as dates, but I don't see the times - e.g.,
[
  {
    date: '1869',
    unixTime: -3187209600,
    sentence: 'She was born in 1869.'
  },
  {
    date: '1940',
    unixTime: -946771200,
    sentence: 'She died in 1940 at 4:32'
  }
]

Here is an working example at https://runkit.com/sanjaya/610d223ff9810f0019f838db — time & date are clearly highlighted:

Most kind of you; thanks.
As noted above, I copied your original example: https://github.com/winkjs/showcase-timeline#winknlp-timeline. I see differences between that code and what you last posted. But my questions about that will keep till next week.
Thanks again.
-Paul


Delete Git logs and permission error after deploy

I even succeeded in deploying on the production server. However, an unknown phenomenon occurs after deployment to the server.

When inquiring with the git log command, all previous logs disappeared except for the last commit log.

The error below continues to occur during the login process when I pull or fetch.

Username for 'https://github.com': jay-flow
Password for<EMAIL_ADDRESS>remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/repo/'

I checked my user name and password on my account several times and it works well elsewhere. I'm sure I typed it correctly.

Is there anyone who knows how to solve this problem? Please let me know.
(I think it caused the problem by deploying the .git folder together. But I don't know how to solve this)
Below is my Action It is deployed normally.
# This is a basic workflow to help you get started with Actions

name: Deploy to AWS EC2

# Controls when the workflow will run
on:
  # Triggers the workflow on push or pull request events but only for the main branch
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@v2

      - name: Deploy to back end
        uses<EMAIL_ADDRESS>        env:
          SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
          REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
          REMOTE_USER: ${{ secrets.REMOTE_USER }}
          TARGET: ${{ secrets.TARGET }}

SCRIPT_AFTER (optional, default '')
Script to run on host machine after rsync. Rsync output is stored in $RSYNC_STDOUT env variable.

With this option you can add custom script to investigate what is happening n the server after deployment.


Not working on MacOS

I was having a lot of trouble downloading packages for this App. I believe it's the kivy_* packages.
Could we maybe containerize this using Docker or something?

Not sure if we can dockerize this because of the GUI. I'll do some research. I'm going to try building this on my Mac and see if I can get it to work and provide better instructions.

Did you install kivy? I realize now that it is not in the README.
Here is the link: https://kivy.org/doc/stable/installation/installation-osx.html

I did but it kept complaining about it. Not really sure what is going on. I can look into it more.


Use Borrow and IntoIter to allow slices to be directly added and removed

Fixes #92

The build did pass; if you go into Travis CI yourself you can see that. It didn't report it right because I moved Ammonia to its own organization while it was in the middle of building.

Looks good, but I wonder if AsRef<str> wouldn't be more idiomatic. And &str would probably be enough in almost all cases, while making the signatures easier to read.

The main reason I used Borrow is that the iterator for &[&str] implements IntoIter<Item=&&str>, and since our whole motivation was making it work with slices of strings, it didn't make sense to use plain IntoIter<Item=&str>.
As for whether to use AsRef or Borrow, I picked Borrow because it was implemented with the ability to go from &&T to &T, which, again, was my whole purpose.

bors r+

🤦♀ I forgot to actually turn bors back on after transferring this repo. GitHub removes all Apps when you transfer a repository; they didn't used to, I remember running into weird bugs as a result, but I think they switched to just removing all integrations whenever you transfer a repository because it's simpler that way. 🤦♂
bors r= @lnicola


Is there an error in my code, or is there a bug in the library?

this is my code that I created to have a personal bot on telegram. the bot responds perfectly to questions that do not require searching on the web, as soon as you ask a question for which you will have to look for the answer on the internet I get this error... why? how can I solve it Sydney: Searching the web for: Cosa c'è sulla luna?`  it hangs like this without giving me the answer in the telegram bot and it doesn't give me any errors in the terminal
this is my code
import os import asyncio import telebot from sydney import SydneyClient
Token del bot Telegram, ottenuto da BotFather su Telegram telegram_token = 'bot_token'
 Impostazione del cookie _U per l'utilizzo con Sydney.py bing_cookies = 'cookies _u' os.environ["BING_U_COOKIE"] = bing_cookies
` Inizializzazione del bot Telegram
bot = telebot.TeleBot(telegram_token)
 Funzione per gestire il comando /start @bot.message_handler(commands=['start']) def send_welcome(message):     bot.reply_to(message, "Ciao! Scrivi qualcosa per iniziare la conversazione con Sydney.")
Funzione per gestire i messaggi testuali
`@bot.message_handler(func=lambda message: True)
def handle_message(message):
async def ask_sydney(question):
async with SydneyClient() as sydney:
response = await sydney.ask(question)
return response
question = message.text`

`interrogazione di Sydney per ottenere la risposta
response = asyncio.run(ask_sydney(question))

# Invio della risposta al mittente su Telegram
bot.reply_to(message, f"Sydney: {response}")

Avvio del bot
bot.polling()`

while in the CLI version I get the answer even if I search for it on the web but when the answer ends and it has to show the suggested answers this error appears. Is it a bug in the library or am I doing something wrong in the codes?
`import asyncio
import os
from sydney import SydneyClient
from colorama import Fore, Style
async def main() -> None:
async with SydneyClient(style="balanced") as sydney:
colors = [Fore.RED, Fore.GREEN, Fore.BLUE, Fore.MAGENTA, Fore.CYAN]
color_index = 0
await conversation_loop(sydney, colors, color_index)
async def conversation_loop(sydney, colors, color_index):
while True:
prompt = input("Tu: ")
    if prompt.lower() == "!reset":
        await sydney.reset_conversation()
        continue
    elif prompt.lower() == "!exit":
        break

    current_color = colors[color_index % len(colors)]
    print(current_color + "Sydney: ", end="", flush=True)
    async for response, suggested_responses in sydney.ask_stream(prompt, suggestions=True):
        if "```" in response:
            lines = response.split('\n')
            in_backticks = False
            for line in lines:
                if line.strip() == "```":
                    in_backticks = not in_backticks
                    print(Style.RESET_ALL + Style.BRIGHT if in_backticks else current_color, end="")
                else:
                    print(line if in_backticks else current_color + line)
        else:
            print(current_color + response, end="", flush=True)

        if suggested_responses:
            print(Fore.BLUE + "\nSuggerimenti:")
            for suggestion in suggested_responses:
                print(Fore.CYAN + f"- {suggestion}")
    print(Style.RESET_ALL + "\n")

    color_index += 1

print("Conversazione terminata.")

async def composition_menu(sydney):
pass
if name == "main":
os.environ[
"BING_U_COOKIE"] = "16_zFg2ZFIHgz0gAdk8lgBk5XDcwBVRnR7NVWm8eYD1QTdztSD72S-c0UlYlrh4Z7cDXeg_Fuq5F3_TbRH_yFbrWeh4XUGOygSykQSa_qeRlCtJC3YYSy4LzlXu91BWikY79XzWmF3i00Jwgy16n078VxPuG6uXEBJeac7DYqcFRQgKEd6hkrBogbHcSvjYBGBIxKGjS2Hy1izK9sLSQzjA"
asyncio.run(main())

`

Hi @BlackDicky
I will take a look at the code and see what could cause this. There is some code which is supposed to hide those "Searching the web" messages, but it might need to be updated. I will follow up later on this!

@vsakkas If you could take a look and let me know if it's the code or the library that's the problem, I'd be grateful. and thank you again for everything you do. Your work is highly appreciated by me, you are very good and I will support you in every project you do! <3

Thank you for your kind words @BlackDicky !!
I am looking at your report, and I see this important information:
File "/Users/davide/Documents/tutto/jfkdjhfdi.py", line 10, in main await conversation_loop(sydney, colors, color_index) File "/Users/davide/Documents/tutto/jfkdjhfdi.py", line 24, in conversation_loop async for response, suggested_responses in sydney.ask_stream(prompt, suggestions=True): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sydney/sydney.py", line 453, in ask_stream async for response, suggested_responses in self._ask( File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sydney/sydney.py", line 244, in _ask for item in messages[1]["suggestedResponses"] ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ KeyError: 'suggestedResponses'

KeyError: 'suggestedResponses' suggests that there is a bug with with the library, not your code. Which version of Sydney.py are you using?

Thank you for your kind words @BlackDicky !!
I am looking at your report, and I see this important information:
File "/Users/davide/Documents/tutto/jfkdjhfdi.py", line 10, in main await conversation_loop(sydney, colors, color_index) File "/Users/davide/Documents/tutto/jfkdjhfdi.py", line 24, in conversation_loop async for response, suggested_responses in sydney.ask_stream(prompt, suggestions=True): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sydney/sydney.py", line 453, in ask_stream async for response, suggested_responses in self._ask( File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sydney/sydney.py", line 244, in _ask for item in messages[1]["suggestedResponses"] ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ KeyError: 'suggestedResponses'

KeyError: 'suggestedResponses' suggests that there is a bug with with the library, not your code. Which version of Sydney.py are you using?

Queste sono informazioni che ho ricevuto con il comando più show sydney-py:
Name: sydney-py
Version: 0.18.0
Summary: Python Client for Copilot (formerly named Bing Chat), also known as Sydney.
Home-page:
Author: vsakkas
Author-email<EMAIL_ADDRESS>License: MIT
Location: /opt/homebrew/lib/python3.11/site-packages
Requires: aiohttp, websockets

@vsakkas

Thank you, good to know! Btw, 0.18 no longer uses the _U cookie, for better compatibility it is suggested to use all the Bing Chat related cookies. Instructions are provided on the README of the repo :)
In any case, I will try to reproduce your issue and investigate more

Is there a momentary solution to buffer this error and allow proper operation? Maybe with a specific older version? @vsakkas

Version 0.17.6 is the same, but uses the _U cookie instead of all the cookies. I don't think I could recommend any older version as the 0.17.1-0.17.6 updates brought several bug fixes with the help of lots of users of the library.
A quick workaround to fixing the KeyError: 'suggestedResponses' error is to not the use the suggestions flags while I investigate it some more.
Regarding the issue with searching the web, I will try to replicate it. Right now, there is no way to disable searching the web, but one user has suggested a way to do it, which I want to integrate as soon as possible.!

La versione 0.17.6 è la stessa, ma utilizza il cookie _U invece di tutti i cookie. Non credo di poter raccomandare alcuna versione precedente poiché gli aggiornamenti 0.17.1-0.17.6 hanno portato diverse correzioni di bug con l'aiuto di molti utenti della libreria.
A quick workaround to fixing the KeyError: 'suggestedResponses' error is to not the use the suggestions flags while I investigate it some more.Per quanto riguarda il problema con la ricerca sul web, cercherò di replicarlo. In questo momento, non c'è modo di disabilitare la ricerca sul web, ma un utente ha suggerito un modo per farlo, che voglio integrare il prima possibile.!

Then I will wait for a new version that can fix this search bug so that the user can through a command choose whether to enable online search or not<3, but to set all cookies what string do I have to put in my python code @vsakkas

You need to use the `BING_COOKIES environment variable and set it to all the cookies that are copy pasted from hereL

It is a long, long string (lots of cookies), so make sure you get all of them (there's probably also extensions to make it easier).
To get them without an extension you need to open the Network page on the Copilot website, send a message and find a request that contains create in its name. Copy paste the cookies and you're done!

??Quindi questa parte diventa: os.environ["BING_U_COOKIE"] = mbox= ALLCookiehere @vsakkas

@BlackDicky Should be os.environ["BING_COOKIES"] = "ALLCookiehere"

Yes, if I only enter "_U" it works, it does the search on the web normally and then after as soon as it has finished the answer and must give the "SuggestedResponse" from this error:```
File "/Users/davide/Documents/tutto/jfkdjhfdi.py", line 10, in main
await conversation_loop(sydney, colors, color_index)
File "/Users/davide/Documents/tutto/jfkdjhfdi.py", line 24, in conversation_loop
async for response, suggested_responses in sydney.ask_stream(prompt, suggestions=True):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sydney/sydney.py", line 453, in ask_stream
async for response, suggested_responses in self._ask(
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sydney/sydney.py", line 244, in _ask
for item in messages[1]["suggestedResponses"]
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'suggestedResponses'

If instead I insert all the long "header string" and paste it, it gives me a `SolveCaptcha` error if I go to the site and write a message, no captcha verification appears in the chat @vsakkas

scusami se ti ho scritto dall'altra parte solo ora mi accorgo di questo 😢

@BlackDicky I am worried about this line
line 244, in _ask for item in messages[1]["suggestedResponses"]

On the latest version of the library, line 244 is not related to "suggestedResponses". Also, I see messages[1], but it should be messages[-1]. It seems that despite the output of pip show sydney-py` that you showed before, you might be running an older version (hence why using _U works for you).
I suggest, removing and reinstalling the library to make sure you're using the latest version!

I tried both uninstalling and reinstalling using vscode and I used in fine pycharm with virtualenv so as to isolate everything and have no interference. running my code with vscode and the reinstalled version on my Mac at version 0.18 I still get the same error "line 244, in _ask for item in messages[1]["suggestedResponses"]" While if I run everything on Pycharm with virtualenv by entering the 0.18.0 I get the error   File "/Users/davide/PycharmProjects/pythonProject5/main.py", line 57, in ask_question     response, suggested_responses = await sydney.ask(question, citations=True, suggestions=True)                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/Users/davide/PycharmProjects/pythonProject5/venv/lib/python3.11/site-packages/sydney/sydney.py", line 480, in ask     async for response, suggested_responses in self._ask(   File "/Users/davide/PycharmProjects/pythonProject5/venv/lib/python3.11/site-packages/sydney/sydney.py", line 392, in _ask     raise CaptchaChallengeException("Solve CAPTCHA to continue") sydney.exceptions.CaptchaChallengeException: Solve CAPTCHA to continue I get this error both by entering only the "_U" and all the cookies
@vsakkas

"line 244, in _ask for item in messages[1]["suggestedResponses"] this error only occurs when the telegram bot has to look for the answer on the web, otherwise if I tell him "hello how are you" he answers me because he does not search the internet and also gives me the suggested answers, but as soon as I ask a question that has to look for boom this error appears

Hm, this one:
line 244, in _ask for item in messages[1]["suggestedResponses"]

Indicates that you're using version 0.15.2
This one
line 392, in _ask raise CaptchaChallengeException("Solve CAPTCHA to continue")

Shows that you are likely using version 0.18.0!
So it seems that you have two versions of the library installed with 0.18.0 being the one installed on the virtual env. So, let's try to fix the Captcha error and the suggestedResponses error should go away as well :)

Ok @BlackDicky I installed the Cookies-Editor extension, but it seems that using that gives me also the same Captcha error, so it does not get exactly what we need. See if you can follow these steps to get the correct cookies, or as workaround, downgrade to 0.17.6 and continue using the `_U cookie!

@BlackDicky Another update, I think I found a bug in the library, but it should be possible to fix how it handles the cookies so that it works with the Cookies-Editor extension!
I am currently testing a fix for this

ora provo subito con il metodo da te linkato per estrarre i cookie... ti aggiorno <3 @vsakkas

Ok, I always tried on Pycharm in virtualenv I copied the value "Cookie" going with f12 writing a message inside coopilot sending it and appeared "createbundle? Etc..." I clicked on it and found the cookies that I copied all in full. I went into the code and pasted inside os.environ["BING_COOKIES"] = MUID...etc...(cookie) ma continuo a ricevere questo errore: Traceback (most recent call last):   File "/Users/davide/PycharmProjects/pythonProject5/main.py", line 79, in <module>     bot.polling()   File "/Users/davide/PycharmProjects/pythonProject5/venv/lib/python3.11/site-packages/telebot/__init__.py", line 1043, in polling     self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout,   File "/Users/davide/PycharmProjects/pythonProject5/venv/lib/python3.11/site-packages/telebot/__init__.py", line 1118, in __threaded_polling     raise e   File "/Users/davide/PycharmProjects/pythonProject5/venv/lib/python3.11/site-packages/telebot/__init__.py", line 1074, in __threaded_polling     self.worker_pool.raise_exceptions()   File "/Users/davide/PycharmProjects/pythonProject5/venv/lib/python3.11/site-packages/telebot/util.py", line 147, in raise_exceptions     raise self.exception_info   File "/Users/davide/PycharmProjects/pythonProject5/venv/lib/python3.11/site-packages/telebot/util.py", line 90, in run     task(*args, **kwargs)   File "/Users/davide/PycharmProjects/pythonProject5/main.py", line 50, in process_question     asyncio.run(ask_question(message.chat.id, question))   File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 190, in run     return runner.run(main)            ^^^^^^^^^^^^^^^^   File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 118, in run     return self._loop.run_until_complete(task)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 650, in run_until_complete     return future.result()            ^^^^^^^^^^^^^^^   File "/Users/davide/PycharmProjects/pythonProject5/main.py", line 57, in ask_question     response, suggested_responses = await sydney.ask(question, citations=True, suggestions=True)                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/Users/davide/PycharmProjects/pythonProject5/venv/lib/python3.11/site-packages/sydney/sydney.py", line 480, in ask     async for response, suggested_responses in self._ask(   File "/Users/davide/PycharmProjects/pythonProject5/venv/lib/python3.11/site-packages/sydney/sydney.py", line 392, in _ask     raise CaptchaChallengeException("Solve CAPTCHA to continue") sydney.exceptions.CaptchaChallengeException: Solve CAPTCHA to continue
@vsakkas

Hm, the network request you're looking for should be named create?conversationID=.
But, I just released 0.18.1 which should make it possible to use the library by using Cookies-Editor and exporting just like you did before, so hopefully that should make it earlier to get the cookies (and work :crossed_fingers: )
Thank you for your patience so far!

Ok then now I try to see this new version, and I try to insert "headers string" as I did before with cookie editor.
Thanks to you for your patience, I hope to help you understand this mistake as soon as possible <3

I just tried and manages to send me the answers on telegram even if he has to look for them from the internet (obviously I'm using 0.18.1) and I copied "headers string" and pasted it into BING_COOKIES. but the joy and duration is short because if I now try to ask questions I get this error: ```
/Users/davide/PycharmProjects/pythonProject6/venv/bin/python /Users/davide/PycharmProjects/pythonProject6/main.py
2023-11-26 19:19:08,934 (init.py:1083 MainThread) ERROR - TeleBot: "Threaded polling exception: A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 386"
2023-11-26 19:19:08,936 (init.py:1085 MainThread) ERROR - TeleBot: "Exception traceback:
Traceback (most recent call last):
File "/Users/davide/PycharmProjects/pythonProject6/venv/lib/python3.11/site-packages/telebot/init.py", line 1074, in __threaded_polling
self.worker_pool.raise_exceptions()
File "/Users/davide/PycharmProjects/pythonProject6/venv/lib/python3.11/site-packages/telebot/util.py", line 147, in raise_exceptions
raise self.exception_info
File "/Users/davide/PycharmProjects/pythonProject6/venv/lib/python3.11/site-packages/telebot/util.py", line 90, in run
task(*args, **kwargs)
File "/Users/davide/PycharmProjects/pythonProject6/main.py", line 50, in process_question
asyncio.run(ask_question(message.chat.id, question))
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 650, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/davide/PycharmProjects/pythonProject6/main.py", line 59, in ask_question
bot.send_message(chat_id, response, parse_mode="Markdown")
File "/Users/davide/PycharmProjects/pythonProject6/venv/lib/python3.11/site-packages/telebot/init.py", line 1549, in send_message
apihelper.send_message(
File "/Users/davide/PycharmProjects/pythonProject6/venv/lib/python3.11/site-packages/telebot/apihelper.py", line 264, in send_message
return _make_request(token, method_url, params=payload, method='post')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/davide/PycharmProjects/pythonProject6/venv/lib/python3.11/site-packages/telebot/apihelper.py", line 162, in _make_request
json_result = _check_result(method_name, result)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/davide/PycharmProjects/pythonProject6/venv/lib/python3.11/site-packages/telebot/apihelper.py", line 189, in _check_result
raise ApiTelegramException(method_name, result, result_json)
telebot.apihelper.ApiTelegramException: A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 386
"
Process finished with exit code 0
Although I also changed the bot token to a new one

@vsakkas

Hm, this seems to be related to the telebot library, not Sydney.py itself.
I suggest you use print and pprint in your code to see what you're sending to telebot. Perhaps you need to format the output before you use it!

If I ask a question that does not have to search on the internet it does not give me any error, as soon as I make one that requires internet search I get this error:sydney.exceptions.ConnectionTimeoutException: Failed to connect to Copilot, connection timed out @vsakkas

It has many bugs beyond this, such as that sometimes it doesn't respond at all many timeouterror errors, in conclusion and went the first time as soon as I asked a question that had to look on the internet to the second started to give all these errors that I'm mentioning to you @vsakkas

UPDATE: I have inserted the cookies with the F12 method and it seems that now it gives me answers both without internet and with without giving errors, I have already tried several questions. in case there are other errors to follow I will report here @vsakkas

I can't confirm that it works with cookie-editor

I confirm that it works with the original method (F12)

@BlackDicky The sydney.exceptions.ConnectionTimeoutException: Failed to connect to Copilot, connection timed out can sometimes appear, in this case typically waiting and retrying can help.
Regarding the Captcha error, you can try to get new cookies, or if you see this error, go to copilot web page, write a message to get the verification response and then retry
It's good to know that the original method works for you!

Regarding the Captcha error, you can try to get new cookies, or if you see this error, go to copilot web page, write a message to get the verification response and then retry

I'm noticing that the Captcha problem is very frequent. if I go to the coopilot and write a message it doesn't appear "Verification in progress" as it normally has to appear to me but it answers me automatically, returning to the script it tells me again to do this captcha check that noon appears even when I write on the copilot @vsakkas

Hm, I will try to reproduce those issues, although usually they do not show up when I test features/fixes for the library.
Regarding the captcha error, I would suggest closing the browser and starting a fresh conversation with Bing Chat and see if the new cookies help. In my case, if the cookies work just once, then I stop seeing Captcha errors :thinking:

I solved everything and thank you for all the time you have dedicated to me I also updated to 0.19.0 and I implemented the much and beloved function we have been waiting for! Of the "web Search" you are great !! By any chance you also created a method on how to get images with Bing image creator ? 💘  @vsakkas

I'm implementing many functions in the bot, maybe we can open a new project together and insert as many cool and useful things as possible inside this bot, make a cli version or create a totally revolutionary bot! @vsakkas


[Bug]: Enhance Signup Page UX by Eliminating Footer Section

Contact Details
<EMAIL_ADDRESS>What happened?
Issue
The current layout of the signup page includes a footer section, which leads to a poor user experience.
Problem Description

Including the footer section inside the signup page disrupts the flow and distracts users from completing the signup process. This design choice negatively impacts the overall user experience and can lead to confusion.
Proposed Solution
For a better user experience, I recommend removing the footer section from the signup page. By doing so, we can create a cleaner, more focused layout that guides users smoothly through the signup process without unnecessary distractions.
Expected Outcome
Removing the footer section from the signup page will enhance the user experience by providing a more streamlined and focused interface. This change will help users complete the signup process more efficiently and with fewer distractions.
Additional Details

This change will involve adjusting the layout and structure of the signup page to ensure it remains visually appealing and functional without the footer.
I will ensure that the removal of the footer does not affect other pages or overall site navigation.
I am open to feedback and collaboration with other contributors to refine the layout and ensure it meets the project's design standards.

Kindly assign this issue to me under GSSoC 24.
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Are you interested in contributing?

[X] I'd like to work on this issue

Code of Conduct

[X] I have used the search function to check if an issue already exists
[X] I agree to follow this project's Code of Conduct

Which program are you contributing in?
gssoc

hey i can fix this issue.please assign it to me under gssoc 24

We're planning to use modals instead of page in future.


Move profiling to dev docs

Closes #421

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0087b2c) 79.55% compared to head (69fe209) 79.43%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #424      +/-   ##
==========================================
- Coverage   79.55%   79.43%   -0.13%
==========================================
  Files          61       61
  Lines        4892     4892
==========================================
- Hits         3892     3886       -6
- Misses        792      800       +8
+ Partials      208      206       -2

Flag
Coverage Δ

integration-test
66.97% <ø> (-0.05%)
:arrow_down:

unittests
44.25% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 3 files with indirect coverage changes

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


Create and Style Why Zemax Landing page

https://www.zemax.com/pages/why-zemax

already styled with blocks...might need some padding adjustments which we can deal with later : https://main--zemax--hlxsites.hlx.page/pages/why-zemax


Record selectors

Support keyword to record selectors automatically in the test case. Also display selectors in the webpage, which eases the debug.

Done in #1077 and few other commits before it.


[RFC] Add omit-verity flag for the build command

Current use case: build a puzzlefs filesystem without fs verity data so it can be loaded by the puzzlefs kernel module.
If there are other use cases then it might be worth merging it. Nonetheless, the fs verity data structure probably needs to change from a BTreeMap to a Vec, that way we can deserialize it in the kernel module.

This is no longer relevant because we've changed the serialization from cbor to capnproto.


App was closed when I pressed on back button

https://github.com/slovnicki/beamer/tree/master/examples/bottom_navigation_multiple_beamers
base on the example above, when I navigated from "books" -> "articles".
at this moment, the app will be close when I pressed on back button on android while I am on "articles" screen.
is there a way that I can go back to the previous screen which is "books" screen when I hit the back button?

Hey @iEricKoh :wave:
Thanks for creating an issue and sorry for a late response.
This seems like a bug, indeed.
A temporary solution can be to include a timestamp (or anything that will not stay the same) into the key for root BeamPage, something like this in the routerDelegate for MaterialApp.router:
locationBuilder: RoutesLocationBuilder(
      routes: {
        '*': (context, state, data) => BeamPage(
              key: ValueKey(
                '${state.routeInformation.location}-${DateTime.now()}',
              ),
              child: AppScreen(),
            ),
      },
    ),

The problem is because all the navigation is done inside inner Beamers and the key of this root BeamPage stays the same so it never rebuilds, not even when we do want to rebuild it, because what happens is:

AppScreen gets wrapped with BeamPage internally and Beamer creates a key from the initial path, that's /books
We navigate with bottom tabs to /articles, but handle that without doing anything on the root Beamer, i.e we don't rebuild the AppScreen with key containing /articles. Generally, this is what we want, not rebuilding everything because we would lose state of inner Beamers
Then we press the Android back button

it tries to pop, cannot
it tries to beamBack, can
it calls beamBack (which beams to /books) on the root router
AppScreen was already wrapped with BeamPage with key: ValueKey('/books') so the Navigator thinks it doesn't need to rebuild anything

I'll definitely try to solve this issue so we don't need the above workaround :thinking:

Sorry for a late response @iEricKoh :disappointed:
At first, sounds a bit like a bug with beamingHistory being cleared too much :thinking:
There's a property in BeamerDelegate called removeDuplicateHistory. Try setting it to false and see do you observe the same behavior (or buggy in some other way). If yes, I think you can create a new issue for this.
Thanks!


Preferred Camera Orientation for Following Objects

There needs to be some way to specify what the camera's reference frame is for following objects. The objects can have the type of reference frame and then compute it client-side or have the pre-computed orientation.
We also need velocity information for LVLH. See #818.

I'm closing this as OBE.  The Camera object gives user total control over the transform and the high-level Entity API now uses LVLH, NED, or @emackey's magic Geo view depending on the speed and altitude.


Installing via Linux fails from today (2024.01.31.)

Bug description
When I try to install the package via the documentation at: https://stack-of-tasks.github.io/pinocchio/download.html, the installation fails, even though it worked perfectly yesterday.
Expected behavior
The package should be installed correctly.
Reproduction steps
I am installing the package to the default vscode image for now with this setup:
Dockerfile (comment #-s taken out due to Markdown syntax):
Use the official VS Code Remote - Containers image
FROM mcr.microsoft.com/vscode/devcontainers/base:0-buster
Install required dependencies
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive
&& apt-get -y install --no-install-recommends lsb-release curl
&& rm -rf /var/lib/apt/lists/*
Copy and run the installation script to the container
COPY scripts/install-pinocchio.sh /workspaces/scripts/install-pinocchio.sh
RUN chmod +x /workspaces/scripts/install-pinocchio.sh
Copy workspace folder to the container
COPY PhysicsService /workspaces/PhysicsService
RUN chown -R vscode /workspaces/PhysicsService
Switch back to non-root to install packages
USER vscode
Expose the environment variables
ENV PATH=/opt/openrobots/bin:$PATH
ENV PKG_CONFIG_PATH=/opt/openrobots/lib/pkgconfig:$PKG_CONFIG_PATH
ENV LD_LIBRARY_PATH=/opt/openrobots/lib:$LD_LIBRARY_PATH
ENV PYTHONPATH=/opt/openrobots/lib/python3.10/site-packages:$PYTHONPATH
ENV CMAKE_PREFIX_PATH=/opt/openrobots:$CMAKE_PREFIX_PATH
.devcontainer.json:
{
"name": "CppPinocchioDevContainer",
"dockerFile": "Dockerfile",
"extensions": ["ms-vscode.cpptools"],
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"forwardPorts": [22],
"postCreateCommand": "/workspaces/scripts/install-pinocchio.sh",
"workspaceMount": "source=remote-container-home,target=/workspaces/PhysicsService",
"shutdownAction": "stopCompose",
"remoteUser": "vscode"
}
and here is the install-pinocchio.sh script:
#!/bin/bash
Run apt update to fetch package descriptions
sudo apt update -qqy
Add robotpkg as a source repository
sudo apt install -qqy lsb-release curl
sudo mkdir -p /etc/apt/keyrings
curl http://robotpkg.openrobots.org/packages/debian/robotpkg.asc
| sudo tee /etc/apt/keyrings/robotpkg.asc
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/robotpkg.asc] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -cs) robotpkg"
| sudo tee /etc/apt/sources.list.d/robotpkg.list
Run apt update to fetch package descriptions
sudo apt update -qqy
Install Pinocchio and its dependencies
sudo apt install -qqy robotpkg-py3*-pinocchio
Configure environment variables
echo 'export PATH=/opt/openrobots/bin:$PATH' >> /home/vscode/.bashrc
echo 'export PKG_CONFIG_PATH=/opt/openrobots/lib/pkgconfig:$PKG_CONFIG_PATH' >> /home/vscode/.bashrc
echo 'export LD_LIBRARY_PATH=/opt/openrobots/lib:$LD_LIBRARY_PATH' >> /home/vscode/.bashrc
echo 'export PYTHONPATH=/opt/openrobots/lib/python3.10/site-packages:$PYTHONPATH' >> /home/vscode/.bashrc
echo 'export CMAKE_PREFIX_PATH=/opt/openrobots:$CMAKE_PREFIX_PATH' >> /home/vscode/.bashrc
This script seems to fail with the issue:
deb [arch=amd64 signed-by=/etc/apt/keyrings/robotpkg.asc] http://robotpkg.openrobots.org/packages/debian/pub buster robotpkg
32 packages can be upgraded. Run 'apt list --upgradable' to see them.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
robotpkg-py37-pinocchio : Depends: robotpkg-py37-hpp-fcl (= 1.7.3r1) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.8.1) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 2.3.6) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.7.4) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 2.4.0) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.7.0) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.5.4) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.7.2) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 2.3.5) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.4.4) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 2.2.0) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.7.8) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 2.3.0) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.7.5) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.8.0) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.7.3) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.7.4r2) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.7.4r1) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.4.4r1) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.4.2) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.7.1r1) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.7.1) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.6.0) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.4.5) but it is not going to be installed or
robotpkg-py37-hpp-fcl (= 1.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Additional context
The same script was working perfectly yesterday, but today I rebuilt the container and met this issue.
System

OS: Docker (vscode image)
Pinocchio version: newest

Thanks for the report. We lack proper testing on Debian for now, and your Docker image is based on Debian. I'll investigate.

Oh, This is debian buster, which is currently "oldoldstable", could you try to upgrade to bullseye or bookworm ?
 FROM mcr.microsoft.com/vscode/devcontainers/base:0-buster → FROM mcr.microsoft.com/devcontainers/base:bookworm ?

Also there are mentions of both python 3.7 and python 3.10 in your setup. Make sure to use only one: the one from your debian system.

Actually, we forgot to release bookworm… so please try:
-mcr.microsoft.com/vscode/devcontainers/base:0-buster
+FROM mcr.microsoft.com/devcontainers/base:1.0-bullseye
```

It works! I was already planning on upgrading to bullseye, so this really makes me do it. :)
Thanks for the heads-up regarding the python version, I dont't use it inside the container, but at least that is a possible debug issue solved 👍
Thanks a lot!


Configurator should generate experiment id and create proper directory structure automatically

The cofigurator should create an experiment id for each job deployment (or use what user provides in there job config), and create the following structure in the supplied experiments pvc:
/(experiment-id)
  /config
  /output
  /result

/priority p1


Main Board

Piece location indicator
** Highlight where the piece will go as you hover over an acceptable place
Click to place piece
Click on any players pieces to add them to your collection

See #4

See #5

See #6


VM custom attributes for some hypervisors are not in the short body

Description
VMs custom attributes for some hypervisors (vCenter, AWS, ...) like IP addresses are saved in the VM template so they are not included in the short version of the body. This attributes might be necessary like IP addresses for example for be shown in Sunstone.
To Reproduce
Go to Instances > VMs view y Sunstone the IP address for a vCenter VM is not shown.
Expected behavior
The IP address should be shown.
Details

Affected Component: Sunstone
Hypervisor: vCenter, AWS, Azure
Version: 5.8.X

Additional context
Forum thread: https://forum.opennebula.org/t/ips-not-showing-up-after-upgrade-from-5-6-0-to-5-8-1/7185/4

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

opening a new one for short body fix


:bug: Fixed bug where white background overlapped the wallpaper

Also removes the status and navigation bars on my Android 15 device:


Update sbt to 1.3.10

Updates org.scala-sbt:sbt from 1.3.9 to 1.3.10.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-patch

Codecov Report

Merging #351 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #351      +/-   ##
==========================================
- Coverage   90.60%   90.57%   -0.04%
==========================================
  Files         137      137
  Lines        2906     2906
  Branches      133      133
==========================================
- Hits         2633     2632       -1
- Misses        273      274       +1

Impacted Files
Coverage Δ

...scala/hydra/kafka/ingestors/KafkaTopicsActor.scala
96.42% <0.00%> (-3.58%)
:arrow_down:

Continue to review full report at Codecov.

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


Doesn't work with Caliburn.Micro v1.3.1

The latest version of Caliburn has changed the method signature of
IWindowManager.ShowNotification
Also the ConventionManager.SetBinding signature has changed. Meaning that TelerikConventions.Install no longer compiles either.

Should be OK now. Let me know if you have any issues...

That was really quick. I appreciate it.


Add rhel based system compatibility

Quick fix awaiting more elaborate modification that check dnf/urpmi instead of apt-get ...
i did not do it because packages names differ from debian to rhel based system like libgconf to lib64gconf so it will be some how complicated to have full compatibility to rhel but at least this quick fix make it work ;) needed packages for this or that yml will need manual install

Thanks @intika

Quick fix awaiting more elaborate modification

Should it be merged as-is or should we wait?

i think it just should be merged as it is for now because most packages have different names on rhel based system so to have real full compatibility a possibility would be

Add a new variable to all yml for needed package to convert the packages names
Edit the script to check rhel system and use the new tag
Edit the script to check what package manager is used apt-get/dnf/zypper/urpmi...
Adapt the install command on the script to use the current package manager
OR
Simpler if the apt-get does not work pause the script and ask the user to install the package manually then hit a button to continue

i don't really have the time to maintain the first solution... so may be the second one would be more suitable, i will edit pkg2appimage and pr again with an other solution that pause the script, plus this also would be useful when apt-get does not work properly or when the script is launched without sudo...
Any way for a first release it's up to you to merge it or wait for next fix, but i need this fix to be able to use your git repo on the "git clone appimage..." command used on the integrated script to ungoogled-chromium for the moment i am using link to my fork  https://github.com/Eloston/ungoogled-chromium/blob/cbab46529ede03eff72e57975699caaa49762ce2/packaging/linux_simple/package.appimage.sh.ungoogin


print not working

Is there a way to fix prinitng

Can you describe, what exactly not working in printing?
Button, or epmty page in result?

Sorry for a hunging you up. The library works fine but i got an issue when it come exporting as pdf. i works fine on mozilla firefox but on chrome browser its an issues. Am the only one experiencing this?

Please check new version, if something solved.
If no please provide some examples for me to check the issue.

@mkikets99 thanks its working ok. Now another issue excel export is blank. CSV is ok

Ok, i will check that tomorrow.
Maybe something needs to be changed in saving script.

@mkikets99  any update on this


Implement new header navigation bar design for static screens

While there is a navigation sidebar that is currently being built for the map, this is a separate design for the static screens. Static screens include, About, Contact, Community, Data, etc.
This new design includes a sign in button plus a profile change when signed in.
To Find the design in Figma
Open the figma link
When opened, go to the left sidebar
Find pages, Desktop
When in desktop scroll down to the about screen to find the components.
See the about page as an example of how the design looks.

@ri0nardo kindly assign me this and also share the Figma link

@rabbanirizwan assigning you to this ticket. Please read the notes before beginning. Figma is linked with the ticket

@vernfongchao no response from the current assignee

@ri0nardo

hovered

Logged In (full screen)

Logged In (mobile)

Logged out (mobile)

@vernfongchao good stuff. right now we don't need the activity and plant as there isn't a feature for them yet. (activity is notifications which isnt designed, and plant is a separate feature) my trees is your profile so just clicking on your name should redirect you to the profile page. Overall it looks good.

@ri0nardo in your original design you had the email under their name, I have it removed because my email is too long so it extends past the menu, how would you want me to tackle this. would you prefer it to have something like<EMAIL_ADDRESS>or<EMAIL_ADDRESS>or just leave it out?.
Did you want me to leave My trees up as well or remove it? currently it just redirects to the profile page same as click on name/Image

@vernfongchao lets just remove the profile image and name, and go with Profile. My trees doesn't follow the single word titles.

@ri0nardo sounds good, I forgot to mention one more thing, I have help set up from the design which im assuming itll link to the FAQ page. should I have it removed for now until that page is done? its currently just redirecting to the map atm.

@vernfongchao We can leave it for now. If possible we can have it "locked" as a future feature. It can be grayed out with a lock icon. I think its better to just have a gray box over the "Help".

fullscreen logged In

mobile logged in

mobile logged out

help is grayed out, cursor set to default and doesn't redirect anywhere

Hey there! Is this still open? I would love to work on it. Also, I am new to Github Issues - where may I locate the figma link?

updated nav bar with the donation button, plus sources added as a route. Updated the icon to be new icon.

@vernfongchao this ticket currently says "help wanted". Do you want to change it to in progress or backlog it?


Default_Lighting for Prime

Is the Default_Lighting setting really needed for Prime? I'm just asking, as I haven't experienced any problems (described here: #191,#195) with colors not being saved, not to mention that it straight up doesn't work no matter what option I set (e.g. Rainbow preset).

I just implemented this with the info I had, maybe the Prime is not concerned (only the Prime Wireless?).
If the option is not working with this device, I will remove it in the next version...
Can you confirm that the colors are restored after unpluging / pluging the device and that the new option does nothing? :)

Tried setting color, even the brightness. Settings persist even after unplugging and reconnecting the mouse.

Ok, thank you for your (very quick!) answer ! :)
So I will remove this option for the Prime.


Quiz

Score: 3/5
Your jQuery code is almost correct, but you need to target the template instead of the content div when passing a parameter into the handlebars compile method


Error when using navigator and stacked series

Bug or Feature Request?
Bug. "Cannot read property 'base' of undefined"
Description
Using a navigator with two stacked column series throws an error. It looks like it got introduced with highcharts version 8.1.1 as it works if you revert to 8.1.0.
The bug probably belongs with highcharts, but I didn't manage to reproduce it with vanilla highcharts so I reported it here.
How to reproduce
Run the demo.
Live demo demonstrating bug
https://stackblitz.com/edit/stockchart-updatepoints-false-qf2hes
Versions

React JSX Highcharts version: 4.1.0
Highcharts version: 8.1.1
React version: 16.13.1

Here's another example showing an issue that seems to have come with highcharts 8.1.1:
https://stackblitz.com/edit/stockchart-updatepoints-false-1yudy4
For some reason only the series on the first y-axis is rendered. If you revert to highcharts 8.1.0 you can see that it works and both series are there.
Any idea what could've caused these issues, @whawker, @anajavi? Reading the changelog, 8.1.1 seems like a harmless upgrade...

Here's another example showing an issue that seems to have come with highcharts 8.1.1:
https://stackblitz.com/edit/stockchart-updatepoints-false-1yudy4

Here's the same problem with vanilla highcharts: https://jsfiddle.net/2mb6vyrn/
The highcharts > 8.1.0 doesn't accept chart.setSize(undefined, undefined) anymore. It is called on this row:
https://github.com/whawker/react-jsx-highcharts/blob/f4d3acbb7e5e3ae2d094149b9ce8febcb706a8df/packages/react-jsx-highcharts/src/components/Chart/Chart.js#L32
Removing <Chart /> from your examples gets rid of the call.
I think this should be fixed in react-jsx-highcharts.

Great spot @anajavi! I guess this is also related? https://github.com/highcharts/highcharts/issues/13752

I did a bisect of highcharts between 8.1.0 and 8.1.1 and found this to be the first bad commit: https://github.com/highcharts/highcharts/commit/57ce06ee444abb7b9c5e962c68dc6f5f831b64ae

Looks like that was modified again, in this commit https://github.com/highcharts/highcharts/pull/13717/commits/091c75e40fe198774d6517d86d1a39147643fe99 (still broken in 8.1.2 though)

Looks like that was modified again, in this commit highcharts/highcharts@091c75e (still broken in 8.1.2 though)

I made reproduction for that too: https://github.com/highcharts/highcharts/issues/13680#issuecomment-643950051

I created a issue in highcharts: https://github.com/highcharts/highcharts/issues/13995
@whawker do you think we should remove calls to setSize when width and height are undefined?

Thanks @anajavi. Yes I think we should avoid calling if both arguments are undefined.
As an aside, looks like we could also pull this out, and put it in a dedicated effect?
https://github.com/whawker/react-jsx-highcharts/blob/48928ef87f36703e8a0678bd1ee8c8dda48f2eed/packages/react-jsx-highcharts/src/components/Chart/Chart.js#L16-L19
useEffect(() => {
  if (width || height) {
    chart.setSize(width, height)
  }
}, [width, height])

Published.

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Cheers for all the work in both identifying the issue and creating a workaround!

Thanks for the quick release!

Realised I should keep this open, for visibility, until the upstream Highcharts bug is fixed

Fix for this is released in<EMAIL_ADDRESS>We should allow that version as peerDependency: #325.


Initial commit for site notifications

Create a switch to toggle listing and subscription notifications under profile modal
To test:

In ozp-center directory, open up package.json with any editor
Find whereit says ozp-react-commons and change the github link to 'git://github.com/ozone-development/ozp-react-commons#preferences_site'
Remove ozp-center/node_modules/ozp-react-commons folder
Once removed, do a 'npm install'. This branch of ozp-react-commons should be in node_modules now
Start up center and go to profile to see the listing and subscription preferences. Toggle the switches
Do a GET call to http://localhost:8001/api/self/profile/ and check for "listing_notification_flag & subscription_notification_flag". The switches should represent the same value as the flag.

Functionally this is fine.  But there's no explanation for You will still receive critical notifications from the system text displayed on the screen.  Is it tied to the email toggle since it's directly above that toggle?  Or is it for all toggles?   That's my argument for why it should only display after you turn OFF a notification type.

Committed new code for the tooltip to display after all toggles are OFF.

:+1:


Add update_strategy for envvars and secrets

The default behavior remains to merge (--update), but setting the update_strategy to "overwrite" will set all values.
Closes https://github.com/google-github-actions/deploy-cloudrun/pull/522

Hmm - I'm not sure what's going on. Integration tests are suddenly failing, even at HEAD. It looks like something changed in the node.js test suite with data being shared between filters?

Hmm - I'm not sure what's going on. Integration tests are suddenly failing, even at HEAD. It looks like something changed in the node.js test suite with data being shared between filters?

https://github.com/nodejs/node/issues/53033

Thanks a lot 🫶! That was fast :rocket:

Quick FYI: Works like a charm in our deployment. Goodbye env var called # PROXY_SERVER 🥶