Tensorflow Issue

I would like to be assisted in the issue I arise on when running tensorflow
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
tf24.0
Custom code
Yes
OS platform and distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
ImportError                               Traceback (most recent call last)
File ~\AppData\Roaming\Python\Python312\site-packages\tensorflow\python\pywrap_tensorflow.py:70
69 try:
---> 70   from tensorflow.python._pywrap_tensorflow_internal import *
71 # This try catch logic is because there is no bazel equivalent for py_extension.
72 # Externally in opensource we must enable exceptions to load the shared object
73 # by exposing the PyInit symbols with pybind. This error will only be
74 # caught internally or if someone changes the name of the target _pywrap_tensorflow_internal.
75
76 # This logic is used in other internal projects using py_extension.
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
ImportError                               Traceback (most recent call last)
Cell In[4], line 1
----> 1 import tensorflow as tf
2 print(tf.version)
File ~\AppData\Roaming\Python\Python312\site-packages\tensorflow_init_.py:38
35 import sys as _sys
37 # Do not remove this line; See https://github.com/tensorflow/tensorflow/issues/42596
---> 38 from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow  # pylint: disable=unused-import
39 from tensorflow.python.tools import module_util as _module_util
40 from tensorflow.python.util.lazy_loader import KerasLazyLoader as _KerasLazyLoader
File ~\AppData\Roaming\Python\Python312\site-packages\tensorflow\python\pywrap_tensorflow.py:85
83     sys.setdlopenflags(_default_dlopen_flags)
84 except ImportError:
---> 85   raise ImportError(
86       f'{traceback.format_exc()}'
87       f'\n\nFailed to load the native TensorFlow runtime.\n'
88       f'See https://www.tensorflow.org/install/errors '
89       f'for some common causes and solutions.\n'
90       f'If you need help, create an issue '
91       f'at https://github.com/tensorflow/tensorflow/issues '
92       f'and include the entire stack trace above this error message.')
ImportError: Traceback (most recent call last):
File "C:\Users\Luvolwethu Tokwe\AppData\Roaming\Python\Python312\site-packages\tensorflow\python\pywrap_tensorflow.py", line 70, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed.
Standalone code to reproduce the issue
ImportError                               Traceback (most recent call last)
File ~\AppData\Roaming\Python\Python312\site-packages\tensorflow\python\pywrap_tensorflow.py:70
     69 try:
---> 70   from tensorflow.python._pywrap_tensorflow_internal import *
     71 # This try catch logic is because there is no bazel equivalent for py_extension.
     72 # Externally in opensource we must enable exceptions to load the shared object
     73 # by exposing the PyInit symbols with pybind. This error will only be
     74 # caught internally or if someone changes the name of the target _pywrap_tensorflow_internal.
     75
     76 # This logic is used in other internal projects using py_extension.

ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed.

During handling of the above exception, another exception occurred:

ImportError                               Traceback (most recent call last)
Cell In[4], line 1
----> 1 import tensorflow as tf
      2 print(tf.__version__)

File ~\AppData\Roaming\Python\Python312\site-packages\tensorflow\__init__.py:38
     35 import sys as _sys
     37 # Do not remove this line; See https://github.com/tensorflow/tensorflow/issues/42596
---> 38 from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow  # pylint: disable=unused-import
     39 from tensorflow.python.tools import module_util as _module_util
     40 from tensorflow.python.util.lazy_loader import KerasLazyLoader as _KerasLazyLoader

File ~\AppData\Roaming\Python\Python312\site-packages\tensorflow\python\pywrap_tensorflow.py:85
     83     sys.setdlopenflags(_default_dlopen_flags)
     84 except ImportError:
---> 85   raise ImportError(
     86       f'{traceback.format_exc()}'
     87       f'\n\nFailed to load the native TensorFlow runtime.\n'
     88       f'See https://www.tensorflow.org/install/errors '
     89       f'for some common causes and solutions.\n'
     90       f'If you need help, create an issue '
     91       f'at https://github.com/tensorflow/tensorflow/issues '
     92       f'and include the entire stack trace above this error message.')

ImportError: Traceback (most recent call last):
  File "C:\Users\Luvolwethu Tokwe\AppData\Roaming\Python\Python312\site-packages\tensorflow\python\pywrap_tensorflow.py", line 70, in <module>
    from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed.

Relevant log output
No response

Hi @LuvolwethuTokwe ,

Can you please take a look at this comment from the issue with similar error.It helps.Also in order to expedite the trouble-shooting process, could you please provide the following information
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
Installed using virtualenv? pip? conda?:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
and the exact sequence of commands / steps that you executed before running into the problem.

Thank you!

Duplicate of #36167


id:dm

Instagram call checkpoint for this action!
what this mean? what must i do?

Edit Profile
Disable Account
Just want a break
Enter password
Confirm
Wait 2 hours
Login into Instagram using the IG:DM Application (important).
DO NOT LOGIN FOR THE FIRST TIME ON YOUR PHONE / WEB BROWSER


Mobile Alignment Issues

Navigation (next/prev buttons) on the modal pop-out window are mis-aligned when there's only one of them (i.e. no next or no prev).
On safari mobile, the behavior is bizarre because in the newest versions of safari, the address bar is on the bottom, causing some super-weird behavior when you scroll within the modal pop-out.

Some quick pre-quick thoughts- chrome doesn't have a buffer at the bottom, and so content is pushed a little too close to the bottom. Maybe the solution is to position fix the modal using top instead of bottom and use vh to determine a set distance, with a healthy buffer on the bottom.

If content is really close to the bottom of the screen = ok problem to have. it almost acts as a stickie filter/nav bar on the bottom of screens....

Should be centered + each oval independently clickable (instigates a layer description)

common data elements layer

 Should be centered + each oval independently clickable (instigates a layer description)

Yep- I'll get right on this. This centering is difficult for real estate reasons, so I'm thinking of doing an interaction where it starts out aligned (text is cut off on the right) and as you scroll down, the whole stack moves to the left. It's a little bizarre, but I think it could work.

1600 width required for desktop "mode" to kick in.

Just updating you for interaction with the centering, and also shows that each oval is independently clickable now and brings up the dialog (in mobile view)

Added common data elements layer at the bottom. I use the text-on-the-right syntax instead of the perspective text. what do you think?


Device Request - LCD Temperature and Humidity Sensor - _TZ3000_bjawzodf / TY0201

Device Name: LCD Temperature and Humidity Sensor
Device Model: TY0201
Device Description: LCD Temperature and Humidity Sensor
Link to device image: https://apps-cdn.athom.com/app/com.tuya.zigbee/77/960a9b04-d182-4c64-b66f-91a0ea332dbd/drivers/lcdtemphumidsensor_3/assets/images/large.png
Device Interview:
"ids": {
"modelId": "TY0201",
"manufacturerName": "_TZ3000_bjawzodf"
},
"endpoints": {
"ieeeAddress": "a4:c1:38:5a:0c:07:62:40",
"networkAddress": 4526,
"modelId": "TY0201",
"manufacturerName": "_TZ3000_bjawzodf",
"endpointDescriptors": [
{
"status": "SUCCESS",
"nwkAddrOfInterest": 4526,
"_reserved": 20,
"endpointId": 1,
"applicationProfileId": 260,
"applicationDeviceId": 770,
"applicationDeviceVersion": 0,
"_reserved1": 0,
"inputClusters": [
0,
1,
3,
1026,
1029
],
"outputClusters": [
25
]
}
],
"deviceType": "enddevice",
"receiveWhenIdle": false,
"capabilities": {
"alternatePANCoordinator": false,
"deviceType": false,
"powerSourceMains": false,
"receiveWhenIdle": false,
"security": false,
"allocateAddress": true
},
"extendedEndpointDescriptors": {
"1": {
"clusters": {
"basic": {
"attributes": [
{
"acl": [
"readable"
],
"id": 0,
"name": "zclVersion"
},
{
"acl": [
"readable"
],
"id": 1,
"name": "appVersion"
},
{
"acl": [
"readable"
],
"id": 2,
"name": "stackVersion"
},
{
"acl": [
"readable"
],
"id": 3,
"name": "hwVersion"
},
{
"acl": [
"readable"
],
"id": 4,
"name": "manufacturerName"
},
{
"acl": [
"readable"
],
"id": 5,
"name": "modelId"
},
{
"acl": [
"readable"
],
"id": 7,
"name": "powerSource"
},
{
"acl": [
"readable",
"writable"
],
"id": 18,
"name": "deviceEnabled"
},
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision"
}
],
"commandsGenerated": "UNSUP_GENERAL_COMMAND"
},
"powerConfiguration": {
"attributes": [
{
"acl": [
"readable"
],
"id": 0
},
{
"acl": [
"readable"
],
"id": 32,
"name": "batteryVoltage"
},
{
"acl": [
"readable"
],
"id": 33,
"name": "batteryPercentageRemaining"
},
{
"acl": [
"readable",
"writable"
],
"id": 58
},
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision"
}
],
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"identify": {},
"temperatureMeasurement": {},
"relativeHumidity": {}
},
"bindings": {
"ota": {}
}
}
}
}
Additional Comments:
(https://www.aliexpress.com/item/1005005951863680.html?spm=a2g0o.order_list.order_list_main.24.443b1802CjUSVR)
How to interview a device:

Add the device as a generic Zigbee device in Homey
Navigate to https://developer.athom.com/tools/zigbee.
Interview the device, the button for this is to the right of the device in the list of Zigbee units.
Click the copy button/icon to capture the device information.
Paste the copied information above.

Note: To be able to add more devices to the Tuya Zigbee app, we rely on community members like you to provide interviews of the devices you want added. Thank you for your contribution!

I got this device today and have managed to get the temperature and humidity reporting working but not the battery level or alarm. was about to make a pull request to add this as a new device but are struggling to create a pull request that only includes this change.  I have a similar sensor since before but this specific sensor doesn't accept the attributereportconfiguration for some reason so it looks like batterystatus isn't reported so far anyway.

Please add this. It is the same as:
“ids”: {
“modelId”: “TS0601”,
“manufacturerName”: “_TZE200_bjawzodf”

I got this device today and have managed to get the temperature and humidity reporting working but not the battery level or alarm. was about to make a pull request to add this as a new device but are struggling to create a pull request that only includes this change. I have a similar sensor since before but this specific sensor doesn't accept the attributereportconfiguration for some reason so it looks like batterystatus isn't reported so far anyway.

How did you make it work? I have 10 of these and impossible to pair.
I dont think its even included in the app yet...

I got this device today and have managed to get the temperature and humidity reporting working but not the battery level or alarm. was about to make a pull request to add this as a new device but are struggling to create a pull request that only includes this change. I have a similar sensor since before but this specific sensor doesn't accept the attributereportconfiguration for some reason so it looks like batterystatus isn't reported so far anyway.

How did you make it work? I have 10 of these and impossible to pair. I dont think its even included in the app yet...

I used the code from here and it worked for me (without reporting the battery).
This is now quite a frequently sold device. It would be good to see it in this app. I am waiting for this!

Would you mind link or share how to use the code?
I think I did something similar, but many years ago. Cant remember now..


Raise when different names are passed in the fields parameter

Closes #984

@mrocklin ok with this?


Global output parameters cannot be changed in v3.1.0

Summary
In v3.1.0, if a global output parameter is set by one step and changed by another, later step, the change is reflected in argo watch / argo get but is not reflected whenever the global output parameter is referenced in the workflow. This bug does not happen in v3.0.8 or earlier versions as far as I've tried.
Reproduction Steps
Here's an example workflow:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: change-global-parameter-
spec:
  entrypoint: plan
  templates:
  - name: plan
    steps:
    - - name: create-output-parameter
        template: global-parameter-setting
        arguments:
          parameters:
          - name: value
            value: foo
    - - name: update-output-parameter
        template: global-parameter-setting
        arguments:
          parameters:
          - name: value
            value: bar
    - - name: consume-output-parameter
        template: global-parameter-consumption

  - name: global-parameter-setting
    inputs:
      parameters:
      - name: value
    container:
      image: alpine:3.11
      command: [sh, -c]
      args: ["exit 0"]
    outputs:
      parameters:
      - name: parameter
        value: "{{inputs.parameters.value}}"
        globalName: parameter

  - name: global-parameter-consumption
    container:
      image: alpine:3.7
      command: [sh, -c]
      args: ["echo {{workflow.outputs.parameters.parameter}}"]

The global parameter named parameter is originally set to foo, then changed to bar, then consumed. So the logs should just say bar, but instead, in v3.1.0, here are the logs:
change-global-parameter-xcvzx-3848121739: foo

In v3.0.8, this all works correctly:
change-global-parameter-mrdpf-1364986955: bar

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Potential culprit:
fix(controller): Empty global output param crashes (#5931)
@sarabala1979 this should be easy to write an e2e test to prove.


start adding snow

A first pass at a snow model, based on the design doc linked in the corresponding issue and here https://www.overleaf.com/7694514265pntbczwbhmmb
SLIM code melting term: https://github.com/marysa/SimpleLand/blob/6e986f9ca7d7183c28b501267721828c3b7110b2/src/main/mml_main.F90#L1064
We set the snow cover fraction to a heaviside function, so we only compute one set of surface fluxes each step. Otherwise we have implemented the equations in the doc as noted.
These conserve energy and water but have not been tested beyond that.
The melt term formulation can be changed as we wish in the future or now.

@LenkaNovak I know you're super busy, but I think this is more or less ready for review!

bors r+


HA Support

Is your feature request related to a problem? Please describe.
Is there a solution that can be supported, such as switching to another service for execution if one service hangs up.

Have a look at these projects Waggle Dance is a part of them they focus on the deployment you might find some pointers in there:
https://github.com/ExpediaGroup/apiary-federation
https://github.com/ExpediaGroup/apiary-data-lake
Load balancing MySQL: Waggle Dance doesn't use any RDS, so I think you mean the connection from Hive to an MySQL DB that's outside of the scope of this project.

a load balancer in front
Sorry for replay later.
There are many HMSs in our scenario, and we plan to deploy many waggle instances as well. If one of the waggle instances hangs, the client can automatically switch to another waggle instance. How can we achieve this? Our environment has nothing to do with the cloud, it's all physical machines.

 Have a look at these projects Waggle Dance is a part of them they focus on the deployment you might find some pointers in there: https://github.com/ExpediaGroup/apiary-federation https://github.com/ExpediaGroup/apiary-data-lake
Load balancing MySQL: Waggle Dance doesn't use any RDS, so I think you mean the connection from Hive to an MySQL DB that's outside of the scope of this project.

Sorry for replay later.
There are many HMSs in our scenario, and we plan to deploy many waggle instances as well. If one of the waggle instances hangs, the client can automatically switch to another waggle instance. How can we achieve this? Our environment has nothing to do with the cloud, it's all physical machines.

@flaming-archer Are you trying to play multiple HMS service in a single connection? like:
thrift://wd-service-1:48869;wd-service-2:48869


Decoupling facilities

These facilities help with decoupling styles while retaining the hot reload functionality.
class Styles {
  static TextWrapper get myBeautifulLabel =>
      (Text text) => text.fontSize(14).textColor(Colors.lightBlue);
}
...
Text('Lorem Ipsum').wrap(Styles.myBeautifulLabel)
...

Also, the context can also be provided with wrapWithContext for media queries amongst other things.

Im not really sure why this could be useful.
Why would you use this instead of for example:
Widget card({Widget child}) => Styled.widget(child: child)
  .alignment(Alignment.center)
  .backgroundColor(Colors.grey)
  .constraints(width: 100, height: 100)
  .alignment(Alignment.center);

 Widget build(BuildContext context) => card(child: Icon(Icons.ac_unit))

This will also update on hotreload.
How is the added complexity benefitial when we already have something very similar?

Have you tried pulling the style out of the original class?

yes, this would work the exact same way
class Style {
  static Widget card({Widget child}) => Styled.widget(child: child)
    .alignment(Alignment.center)
    .backgroundColor(Colors.yellow)
    .constraints(width: 100, height: 100)
    .alignment(Alignment.center);
}

...
Widget build(BuildContext context) => Style.card(child: Icon(Icons.ac_unit))
...

Hmm, I tried something similar to this and after I changed the properties the change would not be present after hot reloading, it would only work after I used the get keyword. I am using the latest version of the beta branch of flutter with dart 2.7.

Not sure if it is important, have you tried using the styles within a stateful widget state?

Shure it was the exact same? final variables will not change. And yes it works with stateful widgets

I am not sure we are doing the same thing. Regardless, if you don't find it useful that is ok. I thought you had the same problem as me after our conversation on the issue https://github.com/ReinBentdal/styled_widget/issues/15. Let's close this one, I will use my own fork for now.

Yes we were talking about the same issue. final variables does not work with hot reload. So if we want hot reload, the simplest solution is just to not have the variable defined as final.

After upgrading it seems to work with your version.


enable use of multiple shelly plugs

This also includes some changes to the dashboard (to make the names of the plugs show up on the board), migrating the time series panel while doing so.
Please note the change from singular to plural in the variable names, which might make it harder to merge changes for others, but it felt to me like the right thing to do.

I just noticed this is basically a duplicate of the abandoned #232 😂 (plus changes to the dashboard, but using a single set of credentials for all plugs)
Sorry @alexandruz, I was not trying to "steal" your code and contribute it as my own, I just hadn't seen your PR before (should have checked the closed PRs before spending all that effort implementing it on my own, but at least I learned a lot). I do think my dashboard changes at least do provide some improvements over #232, so I'll keep it open and see what happens.

My goal is to test this with multiple plugs, but even testing with one plug and seeing success would be good enough for me.

How does this affect existing data?

Good question that @DanForever!
tl;dr: the data is not lost, worst case the old data shows as a seperate plug to the ones you actually have with the name "shelly-plug".
Details:
Anytime you rename a "job" in prometheus it remembers the old data under the old job name, so it's not lost. Previously the name of the job for the shelly plugs was hardcoded to "shelly-plug", though you may have modified that ;) Nw you can configure the name of each plug in config.xml, so if you give one of your plugs the exact same name it previously had, the transition is seamless.
If you want to give every plug a good name, the old and new data will be treated as different plugs (one of which you don't get any new data for), so you'll have an extra gauge that's useless (always displaying the last recorded value I believe) and an extra line in the diagram with the old data, until it ages out of the retention period.
I haven't actually deliberately tested that, but I've renamed jobs a couple times and got the old data showing up like that, so I'm confident it will happen as I've described.
From what I've read, getting rid of old data is no easy feat, so I always deleted the whole database to get rid of old jobs 😅

Good to know @SoongJr! :)
Do you know how easy it would be to update the old data so that it follows the new naming scheme?
I realise I have no idea how this data is stored under the hood, or how to access or backup that data...
Also, I wanted to mention it here as it's tangentially related, I bought myself one of the new Shelly Plus 1PM relays, but it has a new API vs the old ones, so I've updated @geerlingguy's script for polling the shelly,  and created a pull request here: https://github.com/geerlingguy/shelly-plug-prometheus/pull/6

I can tell you the data is kept in a prometheus database inside the prometheus docker container. I'm new to this stuff myself, so all I can advise is to google "prometheus change job name" or something. All data is linked to a job and you want to rename that from shelly-plug to whatever new name you are giving it. Hope it works out, please share your findings if you manage to do it ;)

Any new on this one?


[TechDocs] Rebuild docs if the github source is newer than last docs build

Hey, I just made a Pull Request!
Rebuilds docs if it's github source has been updated.
closes: #2330
:heavy_check_mark: Checklist

[ ] All tests are passing yarn test
[ ] Screenshots attached (for UI changes)
[ ] Relevant documentation updated
[ ] Prettier run on changed files
[ ] Tests added for new functionality
[ ] Regression tests added for bug fixes

approved for default-branch - seems convenient, but just three weekly downloads? maybe there's some more well supported lib, perhaps something even from github themselves or something?

@freben good point. we will take a look!

approved for default-branch - seems convenient, but just three weekly downloads? maybe there's some more well supported lib, perhaps something even from github themselves or something?

Couldn't find a good alternative. It is a very very lightweight library without dependencies though, only downside is that it doesn't have type definitions. I'd be open to writing our own version of it though since it would probably only be a few lines of code.

approved for default-branch - seems convenient, but just three weekly downloads? maybe there's some more well supported lib, perhaps something even from github themselves or something?

Couldn't find a good alternative. It is a very very lightweight library without dependencies though, only downside is that it doesn't have type definitions. I'd be open to writing our own version of it though since it would probably only be a few lines of code.

Yeah I was thinking about that as well when looking into what the lib actually did. I think we could just write our own little helper func


Add support to ES6 exports

I would need to load module with:
export default function () {}

Hello @markotom, thank you for your effort!
However, what will happen if I have the below code in my module?
module.exports = {
  foo: 'foo',
  default: {
    foo: 'FOO'
  }
};

So, I'm exporting an object, which has default property. It looks like your implementation will break it and will return only a subset of the exported object. I think to handle it more safely, we will need to distinguish module definition objects and exported plain objects.
I'm not an expert at this matter, but according to this answer on SO babel will define the __esModule property on the exported module.
And here's how it checks for module definition:
obj && obj.__esModule
I think the more safe approach would be to use this code:
obj = obj && obj.__esModule && obj.default ? obj.default : obj;
It's based solely on the answer on SO. You will need to check this against various versions of Babel.
Also, are there other transpilers that we should be aware of? How TypeScript handles this?

I totally agree, __esModule would not be enough. We can use https://github.com/systemjs/systemjs to accept not only babel, but TypeScript and Traceur.

A custom loader can be passed to the require-directory in the first argument.
For example ES6 modules loading using @std/esm:
cli.js
const loader = require('@std/esm')(module)
const requireDirectory = require('require-directory')
const mod = { filename: module.filename, require: loader }

requireDirectory(mod, './data', { extensions: ['mjs'] } )

data/hello.mjs
export const foo = 'bar'

Run the node cli.js:
{ hello: { foo: 'bar' } }


feat: additional rust queries

Specify the end node on some queries and add some others.

Thanks!

Oh, and I removed expression_item, forgot to write that down. Do you remember why you added it initially? I didn't find a use for it.

Maybe for method chaining?

I don't really write rust so I have no idea why I added it. Maybe someone else did.
Without tests though, I'll basically merge anything that doesn't error.


Pass new user agent prefix for Amplify calls

Currently the API category uses a user agent specified in a constants file (see #75). We need to update this:

Use exact same user agent pattern as we do in the iOS SDK (https://github.com/aws-amplify/aws-sdk-ios/blob/afcce622023a8885ebfc676f6c83e6db8e7d7915/AWSCore/Service/AWSService.m#L158), except change the prefix to "amplify-iOS" instead of "aws-sdk-iOS": amplify-iOS/<version> <systemName/<systemVersion> <locale>

Use the user agent for all calls into AWS services, not just API calls. This means we'll have to plumb the user agent string to be overwritable by Amplify calls, but not universally overwritable. We'll need to discuss the best way to do this.

@royjit 's previous work https://github.com/aws-amplify/amplify-ios/pull/166

I did a deep dive last week of the user-agents we have been sending out.
Currently in Production:
AWS SDK iOS
Constructed as part of AWSCore, the user agent looks like the following:
    "aws-sdk-iOS/<version> iOS/<iosVersion> <locale>"

(Note that there can be some variations if you look at line 179 of AWSService.m)
Amplify Storage/Predictions & other categories using the AWS SDK iOS (BUT NOT Amplify API/DataStore)
Since Jithin’s PR has not been pushed to mainline yet, the user agent should be using the same user agent as the AWS iOS SDK, so therefore, it should be:
    "aws-sdk-iOS/<version> iOS/<iosVersion> <locale>"

Amplify API (and Amplify DataStore):
When using IAM or userPools, the user agent is:
    "amplify-ios/0.9.0 Amplify"

When using an APIkey, we are not setting the user agent (this is a bug, and we need to fix this)
    Currently a bug, and will need to get fixed

AppSync
Based on this link: https://github.com/awslabs/aws-mobile-appsync-sdk-ios/blob/master/AWSAppSyncClient/AWSAppSyncHTTPNetworkTransport.swift#L114
We seem to be sending out a user agent of:
    “aws-sdk-ios/3.0.0 AppSyncClient"

In the short term (prior to P31016485 getting resolved -- e.g. backend parsing being completed):
We recommend two immediate changes.

Change Amplify API user agent from:

“amplify-ios/0.9.0 Amplify”

To:
"aws-sdk-iOS/2.12.2 iOS/<iosVersion> <locale>"

We believe that by making this change, the metrics team will be able to provide us some basic usage metrics (despite not being able to differentiate between actual SDK usage vs amplify usage)
2.  Fix the bug in Amplify API to set the user-agent when using an API key.
Longer term (but hopefully not too long)
Sit down with the metrics team to agree on a format for the user agent we send from the amplify clients to the backend services so that we can clearly attribute calls from amplify vs calls from AWS SDK iOS.
Make appropriate changes & test

Sync'ed with Mohit from the product side, we have decided that

We will not be doing a "short term fix"
the desired user agent on iOS will be in the following format:

amplify-iOS/<version> <systemName>/<systemVersion> <locale>

WIP PR here: https://github.com/aws-amplify/amplify-ios/pull/273

Verification of building storage api into a sample app and making a storage call

One thing i did notice however is that when we authenticate via codigo, we are continuning to use the aws-sdk-ios user agent from that call, but i suppose that is expected.

Three more items we should verify w/ charles proxy prior to closing this issue:

API-REST calls
Predictions
Pinpoint

Verification of predictions calls:

Verified with api w/ apikey... didn't verify other mechanisms, but based on how the code is structured w/ interceptors, we should be good to go on the API category.

Verified pinpoint:

manually verified each of the categories, lgtm!


RM-734 Update versions for 1.5.0 release

deploy/bundle.yaml changes not included right now since not sure what is needed

Test name
Status

init-deploy
passed

recreate
passed

big-data
failed

storage
failed

scaling
passed

self-healing
passed

scaling-proxysql
passed

limits
passed

upgrade
passed

restore-to-encrypted-cluster
passed

monitoring
passed

self-healing-advanced
failed

upgrade-consistency
passed

monitoring-2-0
passed

security-context
passed

demand-backup
failed

affinity
passed

operator-self-healing
failed

one-pod
failed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

scheduled-backup
failed

demand-backup-encrypted-with-tls
failed

@delgod @cap1984 Made fixes, please re-check.

Test name
Status

Test name
Status

scaling
passed

scaling-proxysql
passed

upgrade
passed

upgrade-consistency
passed

security-context
passed

recreate
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

storage
passed

init-deploy
passed

limits
passed

monitoring
passed

monitoring-2-0
passed

big-data
failed

affinity
passed

one-pod
failed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

self-healing
passed

self-healing-advanced
failed

operator-self-healing
passed

scheduled-backup
failed

demand-backup-encrypted-with-tls
passed

Test name
Status

storage
passed

init-deploy
passed

scaling
passed

big-data
failed

recreate
passed

self-healing
failed

limits
passed

monitoring
passed

restore-to-encrypted-cluster
failed

scaling-proxysql
passed

demand-backup
passed

self-healing-advanced
failed

upgrade
passed

monitoring-2-0
passed

upgrade-consistency
passed

operator-self-healing
passed

security-context
passed

affinity
passed

scheduled-backup
failed

one-pod
passed

auto-tuning
passed

demand-backup-encrypted-with-tls
failed

proxysql-sidecar-res-limits
passed

Test name
Status

init-deploy
failed

scaling
failed

storage
failed

big-data
failed

recreate
failed

self-healing
failed

scaling-proxysql
failed

restore-to-encrypted-cluster
failed

self-healing-advanced
failed

upgrade
failed

operator-self-healing
failed

demand-backup
failed

scheduled-backup
failed

limits
failed

demand-backup-encrypted-with-tls
failed

monitoring
failed

monitoring-2-0
failed

affinity
failed

upgrade-consistency
failed

one-pod
failed

auto-tuning
failed

proxysql-sidecar-res-limits
failed

security-context
failed

Test name
Status

storage
passed

scaling
passed

init-deploy
passed

big-data
failed

recreate
passed

self-healing
passed

scaling-proxysql
passed

limits
passed

monitoring
passed

restore-to-encrypted-cluster
passed

upgrade
passed

monitoring-2-0
passed

upgrade-consistency
passed

self-healing-advanced
failed

security-context
passed

demand-backup
failed

operator-self-healing
passed

affinity
passed

scheduled-backup
failed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

demand-backup-encrypted-with-tls
passed


Use source cache and workspace between job steps on CircleCI

Fixes #3424.
Note: this does a shallow local clone to avoid copying the whole 900 MB repository using the workspace between work steps. This is not strictly necessary and can be reverted if we ever want to query the git repo for more information than the current hash. I did this because copying the whole repo using the workspace was significantly slower than doing the same with the cache, but since there doesn't seem to be a way to save to the cache anymore on PRs from forked repos this is a small optimization to get it back to the same performance as before.

The problem with using workspaces was parallel updates. If that's fine now, this should be good

Yeah, I remember the problems. I don't think anything changed so it might still come back and haunt us, but for a few builds this has at least worked...


cmd/gofmt: Remove redundant parenthesis in foo = (1 << 42)

go version go1.10.3 linux/amd64
Reviewing CLs showed lists of const bit-masks that were foo = 1 << 42, etc., all had redundant parenthesis around the (1 << 42).  The author said they were copying similar ones in existing source.  gofmt doesn't remove them.  It does remove the outer pair of double ones, i.e. ((1 << 314)) in https://play.golang.org/p/V6jz7iKHJwt
I think simple cases like foo = (1 << 42) can always have them removed.  That's the style followed by most of the stdlib, but not all.  Having pointed it out on the CL, Martin Möhrmann is fixing those other cases that influenced the author, e.g. https://go-review.googlesource.com/126775, but it would be nice if gofmt avoided the possibility.

I send CLs to make the style of internal/cpu consistent. I do not plan to rewrite any other occurrences in the Go std library.

/cc @griesemer

This can already be done with gofmt, as documented in the examples https://golang.org/cmd/gofmt/#hdr-Examples:
gofmt -r '(a) -> a' -w *.go

Perhaps the -s flag could take care of this, but I don't think that the regular gofmt is designed to do cleanups like these. All the changes that add or remove syntax should be done by -r or -s, following the current design.

Is there a standard list of -r that are applied to golang.org source for consistency?
The suggested -r '(a) -> a' rewrites more than I'm suggesting.  It: anywhere the () are redundant.  Me: the redundant () when they're outermost on an ExpressionList.

I agree that this could be done if the -s option is given, but not otherwise.


fix: update emotion and remove build hack

Still not fixed https://github.com/emotion-js/emotion/issues/3196


Basic test case: hardcoded target

This test case is triggered automatically by our validation script.
- job: copr_build
  trigger: pull_request
  metadata:
    targets:
    - fedora-rawhide-x86_64

- job: tests
  trigger: pull_request
  metadata:
    targets:
    - fedora-rawhide-x86_64

/packit build

/packit test

/packit build

/packit build

/packit build

/packit test

/packit test

/packit build

/packit build

/packit build

/packit build

/packit build

/packit build

/packit build

/packit build


Use click instead of hover on hamburger menu

On mobile, hover won't work. Your visitors won't be able to see your menu items.
I would use the jQuery on('click') and toggle() methods to fix this.

Hover translates to click on mobile.  It was CSS for the assignment, but I agree, jquery would be better.

Converted CSS hover to jQuery event handlers.


[Diagnostics] Don't crash when gathering info about property wrapper …

…in l-value base
Make TypeBase::getTypeOfMember more resilient to base type
being either an l-value (which we can look through), or an
error type - in such can it would return immediately.
Resolves: rdar://problem/54184846

@swift-ci please test

@swift-ci please test

@swift-ci please test source compatibility

Build failed
Swift Test Linux Platform
Git Sha - a41cc4b1d32c92c20cc665583c1721aee98ac16f

Build failed
Swift Test OS X Platform
Git Sha - a41cc4b1d32c92c20cc665583c1721aee98ac16f


Breaking changes from v1.0.2 to v1.0.3

In version v1.0.3, we moved a lot of code from the package into samples. This has caused some breaking changes and a lot of pain when updating from v1.0.2 or earlier. To work around this and future issues regarding this, we will move the samples back into the package and not rely on samples too much in the future.
This will be an extensive upgrade and take a bit of time, but by the end of it, we will have release v1.1.0 which will be cleaner and easier to import, and we will update the documentation accordingly.

For those wondering how the breaking changes manifested, we do not have a detailed writeup, but the crux of the issue is that updating the package has been causing objects in our scene to lose connections to BDK scripts. Also, when updating the package, the samples do not update, and when updating the samples, you can esially get GUID collisions between old and new samples, and again sometimes loose links form the scene or from prefabs to your scripts.
This sort of issues makes updating the package a lot more difficult since the scene and prefabs in your project that use affected BDK scripts will need to be manually fixed, which in larger projects gets overwhelming quickly.

Fixed in 1.1.0


add seoul256_light theme

credit: https://github.com/shinchu/lightline-seoul256.vim

Isn't @shinchu's theme already maintained in that repo? I'm not sure whether it's necessary to merge it.

This PR only partially incorporates the code from shinchu/lightline-seoul256.vim — it leaves out plain mode support, and only covers the light variant.
The seoul256 dark variant in shinchu/lightline-seoul256.vim differs from the one in this repo. Even if it were identical, however, having a seoul256_light theme distinct from a seoul256 (dark) theme is useful in its own right.

Currently, I think this kind of contribution needs to be agreed by the original author. Independent lightline colorscheme repository is totally fine.


testBLE_uart sketch fails to compile

The sketch contains an stl::string variable which is illegal.

What compiler are you using? Arduino IDE would generate a warning but still compiles. I've modified it to String to clear the warning.

I'm using the Arduino IDE v2..3.2. I also use the arduino-cli but not on this issue.
The compiler is: xtensa-esp32-elf-g++ (crosstool-NG esp-12.2.0_20230208) 12.2.0
The error I get should is not be compiler dependent:
std::string rxValue = pCharacteristic->getValue();
will never compile because there's no conversion from String to stl::string.
There's another warning on
char * genBleID(int suffixDigits = 2, char prefix[] = CONNECTION_NAME)
because CONNECTION_NAME is a string literal, and the pointer isn't const. that's a different issue.

I am able to compile the testBLE_uart.ino using either Arduino IDE 2.2.1 or Arduino IDE 1.8.19.  Target Board (under Tools menu) is the Arduino ESP32 > ESP32 Dev Module.  I get no warnings.
In Windows 10, this is the path to the tool which indicates what compiler version I am using:  ...\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0

I'm attaching the error log for completeness.
Issue 17 log.txt
I'm at a loss for words here. This needs to be nailed down. From my perspective, this is a C++ language issue. I would argue a compiler that accepts the code in question is broken.
The code in question (which is the code that git says was changed) is
std::string rxValue = pCharacteristic->getValue();
The function BLECharacteristic::getValue returns a String object.
The String class provides no conversion operator to a type that can be used to initialize a std::string. This is the error.
The statement can be simplified to make it more direct:
std::string rxValue = String("abcd");
If the compiler doesn't declare this as an error then I don't know what it's doing.

Have you been able to try my fix, which was uploaded yesterday?
https://github.com/PetoiCamp/OpenCatEsp32/commit/5be1d6b50e6b225b4c0da11a58b2bb7439f522d2#diff-ff52102038a6d9e40a9227b172b6dd4a49b2ed6ffb50b20a45e79e2711b2d3d3

Yes. Sorry for the delay; distractions on my end
I got the changes from the repository and successfully built
Sketch uses 1115061 bytes (85%) of program storage space. Maximum is 1310720 bytes.
Global variables use 35004 bytes (10%) of dynamic memory, leaving 292676 bytes for local variables. Maximum is 327680 bytes.
The issue is resolved from my POV.
Thanks

I found a bug in sending long 'K'-token skills via the mobile app after the modification.
Though
String rxValue = pCharacteristic->getValue().c_str();
and
std::string rxValue = pCharacteristic->getValue();
both compile and should be the same, there's some unknown error in the conversion results the machine's main program break.

I don't understand.
testBLE_uart doesn't send skill data.
I don't see how
std::string rxValue = pCharacteristic->getValue();
can ever legitimately compile. There's no conversion from String to std::string.

It's used in the main program to receive commands from the mobile app. The
bug raises when receiving long skill data after token 'K'.
I haven't figured out why the String method fails. So, I rolled back to the
std::string method.
On Mon, Jul 29, 2024 at 11:19 PM FlexoTim @.***> wrote:

I don't understand.
testBLE_uart doesn't send skill data.
I don't see how
std::string rxValue = pCharacteristic->getValue();
can ever legitimately compile. There's no conversion from String to
std::string.
—
Reply to this email directly, view it on GitHub
https://github.com/PetoiCamp/OpenCatEsp32/issues/17#issuecomment-2256221757,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACKLZGGB4JPB2DQWAYRJY4TZOZMPBAVCNFSM6AAAAABJFCTIWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWGIZDCNZVG4
.
You are receiving this because you commented.Message ID:
@.***>

--
~~
Rongzhong Li, PhD
http://borntoleave.github.io

I'm doing this privately so we can get on the same page in terms of
communication.
I would call that a related issue but not an issue in testBLE_uart. This is
your repository and process, so it's up to you but I would log the error as
a related issue against OpenCatEsp32. I just want the error to be as
specific as possible.
Is this happening in the existing code or new code? In other words, can I
replicate this behavior with my code base? I need more detail  about how to
replicate the issue or analyze the code.
I'm going  to make an assumption that this is related to the new arm
attachment. The new DOF and weight affects  skills and gait, etc. and may
uncover new or old issues. Do I need to look at a different  code branch?
I think we want to try to isolate the issue to either the BLE interface or
the skill data processing.
I say this because in order for me to do something here  I need to see the
new code and see if I can spot the error, or somehow replicate the behavior.
I understand reverting the code back to std:string to see if that's the
cause. What was the result? Same or different behavior? I would suspect the
same.
In any case, I'll help as best I can but I need something to work with,
i.e., some code.
We can communicate via email rather than through the repository or continue
through the repository. It's up to you.
Tim
On Wed, Jul 31, 2024 at 6:27 AM Rongzhong Li @.***>
wrote:

It's used in the main program to receive commands from the mobile app. The
bug raises when receiving long skill data after token 'K'.
I haven't figured out why the String method fails. So, I rolled back to
the
std::string method.
On Mon, Jul 29, 2024 at 11:19 PM FlexoTim @.***> wrote:

I don't understand.
testBLE_uart doesn't send skill data.
I don't see how
std::string rxValue = pCharacteristic->getValue();
can ever legitimately compile. There's no conversion from String to
std::string.
—
Reply to this email directly, view it on GitHub
<
https://github.com/PetoiCamp/OpenCatEsp32/issues/17#issuecomment-2256221757>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ACKLZGGB4JPB2DQWAYRJY4TZOZMPBAVCNFSM6AAAAABJFCTIWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWGIZDCNZVG4>

.
You are receiving this because you commented.Message ID:
@.***>

--
~~
Rongzhong Li, PhD
http://borntoleave.github.io
—
Reply to this email directly, view it on GitHub
https://github.com/PetoiCamp/OpenCatEsp32/issues/17#issuecomment-2260188229,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BIH3YD5R5J5Q3G626DYARSDZPC3ZLAVCNFSM6AAAAABJFCTIWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRQGE4DQMRSHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi,
I have isolated the problem to that specific line of code:
[image: Screenshot 2024-08-01 at 14.48.42.png]
The main program crashes when sensing 'K' token commands with large numbers
of skill data. Switching between these two lines reproduces and resolves
the problem.
Some bytes must be changed when converting between std:string and Arduino
String.
On Thu, Aug 1, 2024 at 12:03 AM FlexoTim @.***> wrote:

I'm doing this privately so we can get on the same page in terms of
communication.
I would call that a related issue but not an issue in testBLE_uart. This
is
your repository and process, so it's up to you but I would log the error
as
a related issue against OpenCatEsp32. I just want the error to be as
specific as possible.
Is this happening in the existing code or new code? In other words, can I
replicate this behavior with my code base? I need more detail about how to
replicate the issue or analyze the code.
I'm going to make an assumption that this is related to the new arm
attachment. The new DOF and weight affects skills and gait, etc. and may
uncover new or old issues. Do I need to look at a different code branch?
I think we want to try to isolate the issue to either the BLE interface or
the skill data processing.
I say this because in order for me to do something here I need to see the
new code and see if I can spot the error, or somehow replicate the
behavior.
I understand reverting the code back to std:string to see if that's the
cause. What was the result? Same or different behavior? I would suspect
the
same.
In any case, I'll help as best I can but I need something to work with,
i.e., some code.
We can communicate via email rather than through the repository or
continue
through the repository. It's up to you.
Tim
On Wed, Jul 31, 2024 at 6:27 AM Rongzhong Li @.***>
wrote:

It's used in the main program to receive commands from the mobile app.
The
bug raises when receiving long skill data after token 'K'.
I haven't figured out why the String method fails. So, I rolled back to
the
std::string method.
On Mon, Jul 29, 2024 at 11:19 PM FlexoTim @.***> wrote:

I don't understand.
testBLE_uart doesn't send skill data.
I don't see how
std::string rxValue = pCharacteristic->getValue();
can ever legitimately compile. There's no conversion from String to
std::string.
—
Reply to this email directly, view it on GitHub
<

https://github.com/PetoiCamp/OpenCatEsp32/issues/17#issuecomment-2256221757>,

or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/ACKLZGGB4JPB2DQWAYRJY4TZOZMPBAVCNFSM6AAAAABJFCTIWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWGIZDCNZVG4>

.
You are receiving this because you commented.Message ID:
@.***>

--
~~
Rongzhong Li, PhD
http://borntoleave.github.io
—
Reply to this email directly, view it on GitHub
<
https://github.com/PetoiCamp/OpenCatEsp32/issues/17#issuecomment-2260188229>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/BIH3YD5R5J5Q3G626DYARSDZPC3ZLAVCNFSM6AAAAABJFCTIWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRQGE4DQMRSHE>

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/PetoiCamp/OpenCatEsp32/issues/17#issuecomment-2260865440,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACKLZGBXNA7IUCEBCJ5LBATZPEDDVAVCNFSM6AAAAABJFCTIWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRQHA3DKNBUGA
.
You are receiving this because you commented.Message ID:
@.***>

--
~~
Rongzhong Li, PhD
http://borntoleave.github.io

I can't see the screenshot file.
I can't replicate the issue without the data used to produce it. What's necessary to replicate what "long skill" command means?
I'm suspicious about how the write of the BLE characteristic is involved with reading skill data. Does this happen with the UART? If it's a problem with the program memory footprint then it will resurface in some other location. If it's a conversion issue, then it should be testable outside of the BLE API.

I'm attaching the image here:

A test command can be imported as a customized mobile app button:
Bittle_MoonWalk.md


MONDO:0014225 hemochromatosis type 5

Mondo term (ID and Label):
MONDO:0014225 hemochromatosis type 5
Xref that should be fixed (ID and label):
OMIM:615517 (Orphanet:247790)
I think this is equivalent to the concept represented by the Mondo entry.
Your nano-attribution (ORCID)
If you don't have an ORCID, you can sign up for one here
Other comments:

@kanems OMIM:615517 is already an equiv xref.
Please reopen if needed.


Dartdoc bot sanity flexibility

This will make running the dartdoc flutter sanity check pass before and after 0.10.  @devoncarew

After some initial flutter newbie workflow mistakes, this is ready now.

lgtm

Any reason not to just roll to the new dartdoc and forget the old one?

New one has broken links in many places; sadly it just isn't ready yet.  Some flutter changes (#9468) also broke the new dartdoc harder because canonicalization means that dartdoc just can't lose track of the SDK and still function like it used to.  So another wave of fixes is in progress, and this will help me test it more easily.

Ah, cool. LGTM.

I do not have write access to this repository (probably a good idea since I'm still learning flutter's workflow).  So I can not merge this by myself.


Jenkins test

added comment to test pull request to new jenkins

@dojacobs This is just a test PR, right? Can you close it?


Add README.md to Haddocks

This PR adds the capability for the README to be listed on hackage along with the haddocks, addressing #3

Wow I was just wondering how other packages managed to include this! Thanks @emilypi !


Add myself to reviewer.

Add myself to reviewer.

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #
Checklist:

[ ] Docs included if any changes are user facing

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
8 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.1%) to 39.411%

Files with Coverage Reduction
New Missed Lines
%

pkg/controller.v1/paddlepaddle/paddlepaddle_controller.go
3
100.0%

pkg/controller.v1/mpi/mpijob_controller.go
5
100.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
2678

Relevant Lines:
6795

💛  - Coveralls

Thanks @kuizhiqing for all contributions on paddlepaddle.
/lgtm
/approve

Ref: https://github.com/kubeflow/internal-acls/pull/583

/verify-owners

/verify-owners


Creating a cart as guest

Is it already possible to generate a cart without an authenticated user? Is spotted this in the lunar docs:
user_id | Can be null for guest users.

source: https://docs.lunarphp.io/core/reference/carts.html#carts-1

Sorry, I discovered that I can set up the Lunar configuration to automatically create a cart.


Python tests error: incompatible function arguments.

Hi, i try to run  python/tests/test-tensorRuntime.py
and get the following error:
File "test-tensorRuntime.py", line 23, in <module>
  create_tensor1.setTensorOperand(tensor1)
TypeError: setTensorOperand(): incompatible function arguments. The following argument types are supported:
  1. (self: exatn._pyexatn.TensorOperation, arg0: exatn::numerics::Tensor, arg1: bool) -> None

Invoked with: <exatn._pyexatn.TensorOpCreate object at 0x7f272d4af3b0>, <exatn._pyexatn.Tensor object at 0x7f272d4af2d0>

changing line 20 from create_tensor0.setTensorOperand(tensor0) to  create_tensor0.setTensorOperand(tensor0, True) helps: same error is raised on next line.

OS: Arch Linux x86_643
Python 3.7.3
gcc and g++: 8.3.0
cuda: 10.1.105-12

compiled with this:
cmake .. -DEXATN_BUILD_TESTS=TRUE -DPYTHON_INCLUDE_DIR=(python
-c "import sysconfig; print(sysconfig.get_paths()['platinclude'])") -DENABLE_CUDA=True

The python API has been updated significantly since this post. Please pull the latest and rebuild. There are a number of examples available in python/examples.


Proxy

Is there a way to enable the iot-agent behind a corporate proxy?
Thanks!

config has setting to update http_proxy both for rest & websocket


FR: Install the latest and migrate from the previous (current latest)

Something like: nvm install --latest --reinstall-packages-from-previous

Already exists, and is in the docs. nvm install node --reinstall-packages-from="$(nvm current)"


How to fetch statename with spaces?

For the route "https://covid19-india-adhikansh.herokuapp.com/states/", how do I fetch result for any state with space in the name, eg "Andhra Pradesh".

Use with space only. It will automatically be converted to ASCII value %20.
https://covid19-india-adhikansh.herokuapp.com/state/Andhra Pradesh

Thanks, closing.


Right click does not activate selection

Right-click selection only selects, but does not activate the command.
This can be reproduced using demo.html in version 2.9.4.
To provoke issue:

Right-Click on a node so that the menu shows
Select a command
Release the right-click. Command is not executed, and no console.log output is shown in the debug window.

When clicking on a node, and holding it down, the menu will be shown due to 'taphold'. Select a command and the command is activated and the output is shown.

@lukejpreston I think your PR #51 interferes with the cxt usecase.  Would you please take a look to see where your change is conflicting?  Thanks

It seems to be a similar bug to the one I fixed
@geirmeyer could you confirm that it works for left click? i.e.

Left-Click on a node so that the menu shows
Select a command
Release the left-click

From what I can observe, it is a similar but to the one I fixed.
If you use the right-click it opens the menu, it does select the option. But the option will not run until you interact with a node or an edge e.g. click on any node.
I do not know cytoscapes events for right click e.g. cy.on('righttap') isn't a thing. So let me know how to do that and this can be fixed super quick 😸

It's supposed to work with swipes of cxt events, not taps: http://js.cytoscape.org/#events/user-input-device-events

@lukejpreston left click works.
More details:
1a) Right-click on a node, menu appears, select option, no command is executed
1b) Click on any node, the command selected in right-click step above is executed.
1c) Instead of clicking on a node as in 1), clicking on edge or core does not execute command
Version 2.9.3:
Same as 2.9.4.
Versions 2.9.2, and 2.9.0:
Right-click works as expected, command is executed.
Left-click, hold a bit, menu appears, option is selected, no command is executed
2.9.0 and 2.9.2 works opposite to 2.9.4.
Version 2.9.1:
Does not work, no menu what so ever?

2.9.3 and 2.9.4 are both the same (with @lukejpreston's PR), but 2.9.4 just removes some linting warnings.

I've reverted #52
2.9.5 should work OK


CPLEX constraint programming optimizer

Dear Roadef organisers,
Could you please advise if we are allowed to use the constraint programming optimizer included in IBM ILOG CPLEX Optimization Studio?
Thanks in advance.
Trudy

Dear Trudy,
The full IBM ILOG CPLEX Optimisation Studio is deployed on the test machine so that you can use it.
Best regards.

Dear Klorel,
Thank you for the clarification.
Kind regards,
Trudy


⚠ sg1ray.serverssh.net has degraded performance

In ec74666, sg1ray.serverssh.net (http://sg1ray.serverssh.net) experienced degraded performance:

HTTP code: 200
Response time: 7246 ms

Resolved: sg1ray.serverssh.net performance has improved in da25816.


Fix Vulkan example exceptions

Description
While testing another change I faced two exceptions in Vulkan example application.
First one was on application startup in void setupInstance() when trying to get &validationLayers[0]. On my PC validationLayers.size() is equals to zero.
To fix the issue I've changed the way the address of buffer is obtained to validationLayers.data().
The second one was on application shutdown in call void recreateSwapchain() while trying to draw to closed window.
To fix that I've added a check that window is still open before trying drawing to it.
I was using Windows 10 21H1 build 19043.1348 and Visual Studio 2019 (16.11.7) with Windows SDK 10.0.22000.0 to debug and test this change.
Tasks

[NO] Tested on Linux
[YES] Tested on Windows
[NO] Tested on macOS
[NO] Tested on iOS
[NO] Tested on Android

How to test this PR?
Compile SFML with examples and run Vulkan example.
If validationLayers is not empty on your environment, you may comment lines 451 and 455 to test my first change.
//                validationLayers.push_back("VK_LAYER_LUNARG_standard_validation");
...
//                validationLayers.push_back("VK_LAYER_LUNARG_monitor");

To test the second change, run Vulkan example from Visual Studio with debugger attached. You should see no exceptions after window was closed.

I think the change from &vector[0] to vector.data() belongs to the family of code modernizations that @vittorioromeo is currently undertaking. In C++11, .data() was provided that allows us to do what was previously done with &vector[0] without causing undefined behaviour when working with an empty container. Because we now force Visual Studio to build with C++17 it correctly activates additional debug assertions that were not active without C++17 thus leading to this situation.
I suggest that this modernization is performed throughout the codebase instead of only where it currently triggers the assertion. Other containers might be empty under other circumstances and trigger the assertion as well.
@vittorioromeo Were you planning on making this change yourself, or is this something @Si1ver can help with?

@binary1248: I am in favour of this change, and I would appreciate any contribution or help from @Si1ver. I do not mind merging this PR on its own, as long as we capture the intention of performing this change on the entire codebase as an issue.
@Si1ver, let me know if you'd like to make this change yourself in the entire codebase so that we do not duplicate work :)

@vittorioromeo There is not much places where we need to change &vector[0] to vector.data() so I will be happy to submit PR implementing that change 🙂

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.


ValueError: Sanitization error: Can't kekulize mol

This is  my code. I want to change two bonds C-O to C=O. But the code stop at the step "SanitizeMol".
from rdkit import Chem
from rdkit.Chem import AllChem

smi = 'OC1=CC(C2=CC(O)=C(O)N=C2O)=C(O)N=C1O'
mol = Chem.MolFromSmiles(smi)
Idx = [9, 17]
for atomIdx in Idx:
    for atom in mol.GetAtomWithIdx(atomIdx).GetNeighbors():
        Neighbors = atom.GetIdx()
        atom.SetNumExplicitHs(0)
        print Neighbors
    bond = mol.GetBondBetweenAtoms(atomIdx, Neighbors)
    bondIdx = bond.GetIdx()
    bond.SetBondType(Chem.rdchem.BondType.DOUBLE)
    print bondIdx
    Chem.SanitizeMol(mol,Chem.SanitizeFlags.SANITIZE_ADJUSTHS)
    Chem.Kekulize(mol, clearAromaticFlags=True)
    newmol = Chem.MolToSmiles(mol,kekuleSmiles=True)
    print newmol

Thank you very much!

When you make that change you change the electron counts in the aromatic rings from 6 to 5 (the exocyclic double bond to an O "removes" that carbon's electron from the count) and produce a ring that cannot be converted to a Kekule form, that explains the error:
ValueError: Sanitization error: Can't kekulize mol.  Unkekulized atoms: 4 5 6 10 11
The RDKit's aromaticity model is described here: http://rdkit.org/docs/RDKit_Book.html#aromaticity
In order to fix this, you need to tell the code that the aromatic N has a nitrogen on it using the Atom method SetNumExplicitHs(): m.GetAtomWithIdx(4).SetNumExplicitHs(1)
Coding the tautomer shift that you are doing here may be easier to do using a reaction, but that may produce more outputs than you like.

So complex the aromaticity is.  I try as you say and it runs. But the code does't produce what I want, a little difference.

If you post what the difference is we may be able to address it.

This is the product I want.
true = 'O=C1N=C([O-])C(=C2C=C(O)C(=O)N=C2[O-])C=C1O'
This is the predicted product:
pred = 'O=C1N=C(O)C(C2C=C(O)C(=O)N=C2O)C=C1O'
Thank you very much!

Ok, the predicted product has more changes than what you show above:

You've got a double bond between the rings that you need to add
You've got charges on the O atoms that are close to the ring fusion that you need to add by calling SetFormalCharge on the atoms.

This is now considerably more complicated than the "simple" tautomer shift you were doing before; maybe it would help if you describe why you're trying to make these changes.

Thanks for your answer very much. Actually, it is a reaction extracted from database: Alcohol Oxidation. In this reaction, two alcohol are changed to carbonyl group. I just write my code in order to produce the product. Maybe the event that single bond is changed to double  bond is another procedure, not included in Alcohol Oxidation.

It looks like your reaction is much more complex than a simple alcohol
oxidation.  It's more akin to a quinol oxidation to a quinone, but given
that your system is a two-ring biphenyl instead of a simple single-ring, it
is actually more complex than even that.
Simple alcohol oxidation reactions can be defined using SMARTS; see this
rdkit tutorial if you haven't already:
https://github.com/rdkit/rdkit-tutorials/blob/master/notebooks/003_SMARTS_ReactionsExamples.ipynb
However, your more complex oxidation would need a considerably more complex
SMARTS for defining a reaction.  The aromaticity of every ring atom changes
during the reaction!  Here's the SMARTS that I came up with.
from rdkit import Chem
from rdkit.Chem import Draw
from rdkit.Chem.Draw import IPythonConsole
from rdkit.Chem import AllChem
IPythonConsole.use_SVG = True
smi = 'OC1=CC(C2=CC(O)=C(O)N=C2O)=C(O)N=C1O'
reactant = Chem.MolFromSmiles(smi)
biphenyl_quinol_oxidation_smarts = '''
[a:1]1@[a:2]@a:3@[a:4]@[a:5]@[a:6]1-[a:7]2@[a:8]@[a:9]@a:10@[a:11]@[a:12]2>>
[A:1]1=[A:2]-A:3-[A:4]=[A:5]-[A:6]1-[A:7]2-[A:8]=[A:9]-A:10-[A:11]=[A:12]2
'''.strip('\n')
biphenyl_quinol_ox =
AllChem.ReactionFromSmarts(biphenyl_quinol_oxidation_smarts)
prod = biphenyl_quinol_ox.RunReactants((reactant, ))[0][0]
Chem.SanitizeMol(prod)
prod
On Mon, Apr 17, 2017 at 5:48 AM, yccai<EMAIL_ADDRESS>wrote:

Thanks for your answer very much. Actually, it is a reaction extracted
from database: Alcohol Oxidation. In this reaction, two alcohol are changed
to carbonyl group. I just write my code in order to produce the product.
Maybe the event that single bond is changed to double bond is another
procedure, not included in Alcohol Oxidation.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rdkit/rdkit/issues/1397#issuecomment-294479930, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKqr9TLJQ_lvfGTG3KIvFafnAlSwjtg2ks5rw1-tgaJpZM4M8pdO
.

Re-writing the comment in Github instead of by email so Markdown works properly.
It looks like your reaction is much more complex than a simple alcohol
oxidation.  It's more akin to a quinol oxidation to a quinone, but given
that your system is a two-ring biphenyl instead of a simple single-ring, it
is actually more complex than even that.
Simple alcohol oxidation reactions can be defined using SMARTS; see this
rdkit tutorial if you haven't already:
https://github.com/rdkit/rdkit-tutorials/blob/master/notebooks/003_SMARTS_ReactionsExamples.ipynb
However, your more complex oxidation would need a considerably more complex
SMARTS for defining a reaction.  The aromaticity of every ring atom changes
during the reaction!  Here's the SMARTS that I came up with.
    from rdkit import Chem
    from rdkit.Chem import Draw
    from rdkit.Chem.Draw import IPythonConsole
    from rdkit.Chem import AllChem

    IPythonConsole.use_SVG = True

    smi = 'OC1=CC(C2=CC(O)=C(O)N=C2O)=C(O)N=C1O'
    reactant = Chem.MolFromSmiles(smi)
    biphenyl_quinol_oxidation_smarts = '''
    [a:1]1@[a:2]@[a:3](-[O:13])@[a:4]@[a:5]@[a:6]1-[a:7]2@[a:8]@[a:9]@[a:10](-    [O:14])@[a:11]@[a:12]2>>
    [A:1]1=[A:2]-[A:3](=[O:13])-[A:4]=[A:5]-[A:6]1-[A:7]2-[A:8]=[A:9]-[A:10](=[O:14])-[A:11]=[A:12]2
    '''.strip('\n')

    biphenyl_quinol_ox =
    AllChem.ReactionFromSmarts(biphenyl_quinol_oxidation_smarts)

    prod = biphenyl_quinol_ox.RunReactants((reactant, ))[0][0]
    Chem.SanitizeMol(prod)
    prod

Thanks very much! I have see this rdkit tutorial about SMARTS and get your meaning. But the SMARTS is so complex to define my reaction. Is there any way to generate a SMARTS easily? Need I manually write out the SMARTS?

To be fair, what you're trying to do is rather complex.
The easiest way I know of to generate these reaction SMARTS, or at least to get started, is to draw a reaction in an editor like Marvin Sketch, do the mapping there, and then copy the reaction as SMARTS.
For this reaction:

Marvin gives me this SMARTS:
[#8:2]-[c:3]1[c:4][c:5]([c:15](-[#8:16])[n:17][c:18]1-[#8:1])-[c:6]1[c:7][c:8](-[#8:9])[c:10](-[#8:11])[n:12][c:13]1-[#8:14]>>[#8:9]-[#6:8]-1=[#6:7]-[#6:6](-[#6:13](-[#8-:14])=[#7:12]-[#6:10]-1=[O:11])=[#6:5]-1-[#6:4]=[#6:3](-[#8:2])-[#6:18](=[O:1])-[#7:17]=[#6:15]-1-[#8-:16]

This is a good idea to generate a SMARTS. I can try it. Thank you very much.


Use wg ctor

Codecov Report

Merging #25 (ac36b59) into main (d2e8f28) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage   99.43%   99.43%
=======================================
  Files          10       10
  Lines         352      352
=======================================
  Hits          350      350
  Misses          2        2

Impacted Files
Coverage Δ

iter/iter.go
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@camdencheek what you think about this MR?
Please tell if you don't want merge this - I close this

@sashamelentyev I think I have a slight preference for var wg conc.WaitGroup in the code and examples because it better parallels the usage of sync.WaitGroup, so people recognize it as serving the same purpose.

I agree. I close this


Migrate to Mongo

is this correct?

Yes, that is correct. Give me a bit to look over everything before merging.


New package: LFS.LiveforSpeed version S3_7D

Pull request has been created with Komac v1.9.1 :rocket:

Resolve #112194

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/115681&drop=dogfoodAlpha

Automatic Validation ended with:

。


substitute dadd for add

We are not sure that add can be used at the locations in which we changed it to dadd.

I apologize for the delay. It's desired that commit message is meaningful, so I'll change it. And for this I'd like to ask some questions to clarify the matter. Given that there are low-order subgroups concern is that normal multiply-by-scalar procedure can fail, because there is a chance that we will end up adding point to itself (which plain addition formula doesn't handle). For example, when pre-computing t3, t5, t7, t11, t85 in POINTonE1_times_zz_minus_1_div_by_3, handling point in group of order 3 would miscalculate 7P. Is it correct understanding? And if so, is order of 3 the only problematic one? In E1 we have even groups of order 11, 10177, 859267 and 52437899. Thing is that if 3 is the only one problematic, then it might be possible to resolve this by singling it out, as opposite to switching to slower double-or-add procedure. By "singling out" I men that we perform all the calculation as they are, and then check if the input was order 3 and force return value to infinity.
As for E2. Even though h_eff specified in the hash-to-curve draft has 3, 11, 13, 19, 23, 2713, etc. factors, the actual curve h has only 13, 23, 2713, etc. My understanding is that one can add arbitrary factors to h_eff, and one does it if it makes it easier to calculate, but only the factors from actual h that can be actually problematic. Problematic in the sense discussed above that is. And with this in mind, is it actually so that you fail to verify correctness for any of the actual factors?
Ping even @msaaltink.

Even though h_eff specified in the hash-to-curve draft has 3, 11, 13, 19, 23, 2713, etc. factors, the actual curve h has only 13, 23, 2713, etc.

Just in case, there are additional factors in h_eff, so that "etc." after 2713 does not actually mean that all remaining factors are the same for h_eff and h.

You have summarized the issue well.  We do not know for certain that there would be a failure if add is used, but there are definitely cases where we would not get the correct multiple.  This can also happen at order 11.  For E1 I think it is only the 33-torsion group that could be a problem.
I don't know the exact situation for E2, so some additional analysis is needed there.
As for failing to prove the correctness, what fails is a proof that the optimized version of "POINTonE1_times_zz_minus_1_div_by_3 (and the corresponding function for E2) still computes the correct multiple. It might possible to prove the optimized version correct with respect to some different specification, and then that this new operation gives a correct answer to the subgroup check (if you add the "singling out" tests you referred to), but I'm not sure what that new specification would look like.

Thanks! Though I don't quite understand how a different specification would change anything. I assume that "specification" refers to draft/standard... Of course it might be wrong assumption and you mean "specification" as a description of the subroutine in your language that you prove equivalence with.


Feature request: support glob expressions

It would be very nice if I could write the matcher as glob expression string. Glob expressions are much easier to write and parse then regexes and  are perfect for this usecase.

Good idea. I also think expressjs style path syntax would be a useful addition.
That said, it's difficult to know how to elegantly add support for these to the API as both globs and express path expressions are just strings.

duck-typing the strings, but I doubt this can be made robust
pass in an option in the third parameter, but I don't like the verbosity
as above, but able to set a global option to treat the strings as globs/express paths/urls by default
More prefixes e.g. currently ^ indicates the url must begin with a string. For backwards compatibility this could still be supported, but deprecated and superceded by

done


How to change the layout of the tooltip

currently I create a tooltip resulting in:

this is done with:
cytoscapeobj.set_tooltip_source('txt_raw')
is it possible to change the layout of the popup?

I tried to do this in the past twice, I'll have a look again today and update with whatever I find.


Translated Tutorial Tic-Tac-Toe to Telugu

I'm currently working on translating Tutorial Tic-Tac-Toe to Telugu.
Closes #2

Hey @g-savitha and @gsteja2307
I've translated the Tutorial: Tic-Tac-Toe to Telugu, check out its Vercel deployment here.
Please review this pull request as soon as possible.
Thank you 🤝


Shake not working

Hello. Thank you so much for developing this awesome tool. Perhaps the only thing that I can't seem to get working on my Samsung Galaxy S9+ is the shake.
I don't think it's a hardware limitation because MotionSource detects it perfectly and the DSU Controller Test is a lot smoother compared to WiiMoteDSU.
I tried fiddling with the different options to no avail. Are there plans for any improvements in this area? Thank you!

Yes, the app's got pretty bad sensitivity.
What I ended up doing was using a holy marriage of these two apps - I made MotionSource act as a server on a different port, and then pointed dolphin to use MotionSource's server for the motion, and WiiMoteDSU's server for the wiimote buttons. It works pretty well, I got great results in Wii Sports Resort.
It's pretty tedious to set it up, getting Dolphin to recognize the servers being the hardest part.

Motion sensor input on Android devices has been improved in v0.3.0. Feel free te re-open this issue or open a new issue when you encounter any problems.


Add a version attribute

This PR addresses #27 - Specifically, it does the following:

Moves the version.txt file to within the pulsar module directory, which allows access both by top-level files (including setup.py, and the mac build bash scripts)
Updates the existing references to the version.txt file to ensure that the sub-directory is included in the full path
Adds to init.py inside the Python module to initialize a __version__ attribute at runtime

In the end, this should hopefully maintain existing uses of the version file without breakage, but also provide for the requested version attribute that can be accessed in the standard way. (We could also look to using a dependency package like importlib, see the recommendations: https://peps.python.org/pep-0396/)

Can you lease describe  the modifications?

Can you lease describe the modifications?

@eolivelli thanks, i just updated the description in the parent comment to describe what is being done!

This PR looks like to use the 4th method of https://packaging.python.org/en/latest/guides/single-sourcing-package-version/#single-sourcing-the-version, but as the warning says:

With this approach you must make sure that the VERSION file is included in all your source and binary distributions

The version.txt should be packaged into the Python wheel. I'm not familiar with the PyPI setup.py and you might need to search for how to package it.

Create an __about__.py, which defines a __version__ global variable, in the pulsar/ directory:
__version__='3.1.0a1'

Then, in pulsar/__init__.py you can get the version by:
from pulsar.__about__ import __version__

And in setup.py you can change the get_version function to:
def get_version():
    version = {}
    with open("./pulsar/__about__.py") as fp:
        exec(fp.read(), version)
    return version['__version__']

References:

https://github.com/pypi/warehouse/blob/64ca42e42d5613c8339b3ec5e1cb7765c6b23083/warehouse/__init__.py
https://github.com/pypi/warehouse/blob/64ca42e42d5613c8339b3ec5e1cb7765c6b23083/warehouse/__about__.py

@BewareMyPower i totally agree with this and appreciate your feedback. For reference, my motivation in choosing the fourth method was because there is already a version.txt file that was included in the repo - which was being read by the pkg/mac/build-mac-wheels.sh script. I was trying to keep that component as similar as possible. With that said, I think this is overall better and more pythonic, and i've updated the bash script to continue to read in the version info (assuming the structure of the variable and its definition provided).
I've pushed the latest commit, if you have a moment to take a look and make sure this looks good, it would be much appreciated. Thank you!


Specify flowbin package.json directory on install

Addresses #999
Adds a flag for flow-typed install called packageDir, which allows the user to specify the location of the package.json that contains an installation of flow-bin.
Use: flow-typed install --packageDir '../../parent_project/

@jeffmo Could you merge & release a new version?

@marudor Rebased it to fix conflicts with #1021

@jeffmo I merged it so people can use the bleeding edge build from git.
Could you please release a new version?


Automation approach for 'Unified Service Desk for Microsoft Dynamics 365' by WinAppDriver

Hi all,
I'm looking for the best Automation approach for Unified Service Desk applications.
Could you please provide information if it's possible to do with WinAppDriver? as I see that support only Universal Windows Platform (UWP) and Classic Windows (Win32) apps, and what about WPF?
Thank you!

Yes, WinAppDriver supports testing all of the mentioned, including WPF applications.

@hassanuzI I cannot get elements in the form and get next error( see attached

).
error.txt
code:
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("app", "Root");
capabilities.setCapability("app", "C:\Program Files\Microsoft Dynamics CRM USD\USD\UnifiedServiceDesk.exe");
USDSession = new WindowsDriver(new URL("http://<IP_ADDRESS>:4723"), capabilities);
USDSession.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
USDResult = USDSession.findElementByAccessibilityId("UserInitials");
This error was genereted by UISpy.exe when I try inspect element in the form and application was lounched by WinAppDriver. When app was lounched manualy everithing is ok.

Can we try other locators here?

A dump of the PageSource would be helpful, too.

Closing issue due to being idle.


Revert "Remove CSS modules docs (#3832)"

This reverts commit 11f1aa09b38106e009bc0b6324476ed76c02b749.

This cannot be merged until 2.0 is officially released. Thanks!

closing because no cla was signed

see https://github.com/facebook/create-react-app/pull/3833


Add cpu support

This PR tries to add CPU support to Langchain-Chat-Chat

README will be added in later PRs.

Have tested on both CPU and XPU.


Support for Increment Deploy

We ware looking for deploying only notebooks that changed i.e. incremental deploy does the extension support incremental deploys?

Hi @rahulvmarathe,
This extension only deploys the full set of notebooks that are at the specified folder. So far, there are no plans for enabling incremental deployments.
Is there any specific reason why you would deploy only notebooks that have changed?
Thinking deeper into the subject, what are the impact of redeploying the notebook if there are no changes to the content?


Updating wapc to use wazero

This PR closes #30 and updates the wapc-go package to use a C-free WASM runtime engine https://github.com/tetratelabs/wazero
One Caveat for this PR is that WASM modules will need to be compiled with a higher version of TinyGo than used in the past. I.E. TinyGo 0.24.

@madflojo thanks for doing this! PS maybe we were unclear about tinygo.. we don't require a high version of TinyGo, it is just that new TinyGo requires the 2.0 core (previous versions of it still work). hope this helps.


Add regex dependency

Proposed changes:
related to https://github.com/RasaHQ/rasa/pull/6089#issuecomment-651682089
Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

Would you create a separate PR for including this in master or just merge 1.10.x with master post this is merged?

Will merge 1.10.x into master. Will create a patch release tomorrow and merge afterwards.


[fluidsynth] enable sound drivers on Mac/Linux build

Describe the pull request

What does your PR fix?
Enables sound drivers on Mac and Linux, to match the behaviour on Windows. Fixes #24638.

Which triplets are supported/not supported? Have you updated the CI baseline?
All supported, changes tested on Windows, Mac (x64-osx and arm64-osx) and Linux (x64-linux), No change to CI baseline.

Does your PR follow the maintainer guide?

Yes

@BillyONeal fluidsynth's own cmake project enables these features if it can find the relevant libraries. The port already depends on this behaviour to enable the Windows drivers (there are several features for that which are not explicitly set in portfile.cmake).
I can make it explicit if that would be better?

If there is a feature in vcpkg.json, then that needs to actually control something; it can't rely on auto-detection. (Autodetection in general is bad because (1) it breaks binary caching, and (2) it causes the same install on different machines, or with different ports installed, to produce different output)

See https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/maintainer-guide.md#when-defining-features-explicitly-control-dependencies

There's no new feature in vcpkg.json though?

There's no new feature in vcpkg.json though?

Sorry, I am apparently blind and read that addition as a feature.

Thanks for reviewing this.

I looked at the sources and yeah... unfortunately the way it tries to be optional about everything is problematic. It breaks binary caching and will give different results depending on which other ports are installed first, which is not OK. For at least the backends you want to be on here, we need to patch upstream so that they are forced to be required.
I would really appreciate if you would do the same for the Windows selections, but since that is unrelated to the feature you're trying to enable here I don't think we should block your PR over that.

You might not need patches for everything, I think you can get away with adding -DALSA_SUPPORT=ON for alsa, -COREMIDI_FOUND=ON for coremidi, etc. (as CMake options)

@BillyONeal I have made changes as discussed

Thanks for the feature and the plumbing!


feat: add a call method and command

Adds a call method for synchronously invoking a Cloud Function.
Fixes #10.
I usually don't like to just duplicate a PR, but I don't think I was in a good state with git, and I may have made a mistake with calling super.

Thank you again for adding this 🎉  We can come around and add the CLI part as needed in another PR.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How can i get value from NativeStorage.getString() Without Using Callbacks?

I Have Used This Plugin cordova-plugin-nativestorage in My Phonegap app . The Plugin Works fine.
I Wonder If There Is any trick to get values from Nativestorage.getItem() without callbacks
This My Code i Call app.getstring('ref_string'); To get Saved Data in ref_string Key as an Alert.
When I Try To save it To Input Text as a Value I Got Undefined.
getstring:function(key){

ativeStorage.getString(key,function (result) {

      alert('String Is '+result);},

         function (e) {

      alert('Error '+e);});
}

The solution would be to wrap the methods in a promise.
That would make them asynchronous.
const getItem = key => new Promise((resolve, reject) => NativeStorage.getItem(key, resolve, reject))

// in an async function
const value = await getItem("key");

I didn't test it, but it's certainly  the way to go.


Update ratchet document for session

In ratchet document for  http://socketo.me/docs/sessions#wrapped it says wrapped by WsServer, whereas it's actually Wrap the WsServer not wrapped by it.
the wraps should be like this:
IoServer::factory(             new HttpServer(                 new SessionProvider(                     new WsServer(                         new Chat()                     ),                     new Handler\MemcachedSessionHandler($memcached)                 )             ),             6502         );
please update the document as it take me a hole week to figure this out ..

Moved to socketo.me


Own messagen on the display

How can I add own messages to the  display e.g. measuring values before joining?

Please see examples here: https://github.com/eiannone/Heltec_Esp32_Display/tree/main/examples


extends keyword not suggested inside of generic

Not quite sure what makes it show up in the list but going to this file and trying to add a generic type parameter with a constraint seems to show this issue:

Minimal example:
function a<T exten|>() {}

Possibly fixed by #53372?


Feature/orsenui

Use third party library for mobile UI
Wire up landing screen with option to join game

Getting an error when i run this PR
webpack built 037de8eb8cd5ae9c11fe in 3776ms

ERROR in ./app/containers/GamePage/index.js
Module not found: Error: Can't resolve '../Firebase/actions' in '/home/wsguede/git/TriviaWeb/app/containers/GamePage'
 @ ./app/containers/GamePage/index.js 25:0-55
 @ ./app/containers/GamePage/Loadable.js
 @ ./app/containers/App/index.js
 @ ./app/app.js
 @ multi eventsource-polyfill webpack-hot-middleware/client?reload=true ./app/app.js

Yeah sorry was in a DNM state, some of the required files had lint errors (which are blocked from being committed) so I committed the clean stuff.  Just added more although it's very much in the middle of development.
You have time to work on this today?  I'm just starting to integrate middleware with firebase.  Hoping to do the following to this PR then merge.

[ ] Let user join game
[ ] Saga middleware to generically deal with all firebase listeners

Currently following this and this article which references this repo which seems to work well from them.  In the progress also wrapping my head around sagas and generators.

[ ] Show waiting for players message
[ ] Show first question when game state changes from "LOBBY" to "IN-PROGRESS"

it looks like you are using your own firebase. I dont have access to that so i change it to  mine in the master build.
You should have full access to that repo if you want to go into it.
For now there isnt any data in the db. And there is 1 function that you checked into gh. I dont know if you had more stuff in your FB.


[SPARK-33813][SQL] Fix the issue that JDBC source can't treat MS SQL Server's spatial types

What changes were proposed in this pull request?

This PR fixes the issue that reading tables which contain spatial datatypes from MS SQL Server fails.
MS SQL server supports two non-standard spatial JDBC types, geometry and  geography but Spark SQL can't treat them
java.sql.SQLException: Unrecognized SQL type -157
 at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.getCatalystType(JdbcUtils.scala:251)
 at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.$anonfun$getSchema$1(JdbcUtils.scala:321)
 at scala.Option.getOrElse(Option.scala:189)
 at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.getSchema(JdbcUtils.scala:321)
 at org.apache.spark.sql.execution.datasources.jdbc.JDBCRDD$.resolveTable(JDBCRDD.scala:63)
 at org.apache.spark.sql.execution.datasources.jdbc.JDBCRelation$.getSchema(JDBCRelation.scala:226)
 at org.apache.spark.sql.execution.datasources.jdbc.JdbcRelationProvider.createRelation(JdbcRelationProvider.scala:35)
 at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:364)
 at org.apache.spark.sql.DataFrameReader.loadV1Source(DataFrameReader.scala:366)
 at org.apache.spark.sql.DataFrameReader.$anonfun$load$2(DataFrameReader.scala:355)
 at scala.Option.getOrElse(Option.scala:189)
 at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:355)
 at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:240)
 at org.apache.spark.sql.DataFrameReader.jdbc(DataFrameReader.scala:381)

Considering the data type mapping says, I think those spatial types can be mapped to Catalyst's BinaryType.
Why are the changes needed?

To provide better support.
Does this PR introduce any user-facing change?

Yes. MS SQL Server users can use geometry and geography types in datasource tables.
How was this patch tested?

New test case added to MsSqlServerIntegrationSuite.

cc: @cloud-fan

cc: @cloud-fan

Test build #134339 has started for PR 31283 at commit 8575958.

Test build #134339 has started for PR 31283 at commit 8575958.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38926/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38926/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38926/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38926/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38926/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38926/

Test build #134339 has finished for PR 31283 at commit 8575958.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #134339 has finished for PR 31283 at commit 8575958.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134339/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134339/

thanks, merging to master!

thanks, merging to master!

@sarutak  can you help to open backport PRs for 3.1/3.0? thanks!

@sarutak  can you help to open backport PRs for 3.1/3.0? thanks!

@cloud-fan Sure. I'll open them.

@cloud-fan Sure. I'll open them.


foo: adding foo for bsim trigger

bsim test trigger.

Do not review - CI bsim trigger test.

issue located, closing.


Package for distribution

I have no idea how to distribute software, unless it's through PyPI.

Instead of a package i'd like to see an amalgamation/single-file version without any external deps.


Private area of the NSUserNotification API

Hi.
Just letting you know that the NSUserNotification has a Private subclass that allows a little more extensibility. It's not documented by Apple, but there's a short description at the end of this question, and the unofficial documentation is in this repo.
This isn't really a good way if doing it, but you could find the extra features useful.

Used this in the pretty big #56 update, which is now merged into the repo. Thanks!


Add vote value to user profile

Fixes #1272

Changes:

Add vote value to user profile.

When i load the page, $NaN appear for few miliseconds, it should not be the case.

Should it show 0 as placeholder or hide entire line?

The best would be to have a small loading icon, similar than this

Loading icon instead of entire line or to replace $ icon? If the latter what should the value be?

I would see the line loading like this:
$ Vote value: [loading-icon]


Features and Documentation

Features and Documentation

Added all the features of the app
Comments and readme created

Conflicts solved, ready to merge.


test: Adding fixture sample

Description

This PR adds a data sample: app/fixtures/sample.json. The data is added to the database with just add-test-data or poetry run python manage.pu loaddata sample

Related Issues

Closes #118
Testing

[ ] Yes
[X] No, not needed (give a reason below)
[ ] No, I need help writing them

Reviewer Focus
Understand the format in "sample.json", which adds a table and a column
Checklist

For all PRs that are not general documentation

[] Tests accompany or reflect changes to the code
[X] Tests ran and passed locally
[ ] Ran the linter and formatter
[X] Build has passed locally
[X] Relevant documentation has been updated

I tried running this and it doesn't work. It says
django.db.utils.OperationalError: Problem installing fixture '/home/luke/Documents/organizations/seedcase/seedcase-sprout/app/fixtures/sample.json': Could not load app.TableMetadata(pk=1): no such table: app_tablemetadata

I tried running this and it doesn't work. It says
django.db.utils.OperationalError: Problem installing fixture '/home/luke/Documents/organizations/seedcase/seedcase-sprout/app/fixtures/sample.json': Could not load app.TableMetadata(pk=1): no such table: app_tablemetadata

Ahhh... The migrations are missing. I will add the migration step to the just command

@philter87 When I run just add-test-data, I get an IntegrityError:
django.db.utils.IntegrityError: Problem installing fixtures: The row in table 'app_columnmetadata' with primary key '1' has an invalid foreign key: app_columnmetadata.data_type_id contains a value '1' that does not have a corresponding value in app_columndatatype.id.
error: Recipe `add-test-data` failed on line 51 with exit code 1


ENG-2508 update edge logic

Edges no longer have an inherent ID. They are defined by what they connect. Diagram::assemble now returns edges and inferredEdges and we need to reconcile both of those in the UI.

Change Vue to use edgeId that is a compound key made up by {to_socket_ulid}_{from_socket_ulid} for all edges
Change SDF to remove id  and edgeId from Diagram::assemble
In Vue add inferred edges to the store edgesById where the rest of the edges live.
Change SDF to accept two params {to_socket_ulid} and {from_socket_ulid} to delete an edge and to restore an edge
On detach component from parent remove inferred edges between the two components.
On attach component to parent fire the component updated WsEvent (which fires the big hammer).
isInvisible should reflect whether an edge is inferred or not.

bors merge

bors merge


Add the acc16 intrinsic support

Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.

@llyfacebook thanks for the contribution, please request reviewers

cc @anijain2305

@antinucleon @yzhliu @grwlf  can you help review this PR?

I could confirm the CI error is irrelevant.

Please add ASF Header to the file as per CI report

Thanks, @anijain2305 @llyfacebook , this is now merged


about description

I set the decription in config.toml but I can't find description display in the website. What the meaning of the description? And how it be used?

The description will be used as metadata. Usually, only search engines will use it to index your site.

The description will be used as metadata. Usually, only search engines will use it to index your site.

OK, thank you!


⚠ Bofrost.at has degraded performance

In 8d30b8e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 892 ms

Resolved: Bofrost.at performance has improved in a9e2eec.


@AdditionalPackages/@AdditionalClasspath fails finding classes on Jenkins in Linux setup

Annotations works fine running locally on windows development machince, but on Jenkins in Linux env.
Build output:

…
08:39:48 [INFO] — maven-jar-plugin:3.0.2:jar (default-jar) @ proposal-description —
08:39:48 [INFO] Building jar<EMAIL_ADDRESS>…

08:39:58 Running dk.nykredit.proposaldescription.exposure.api.ProposalDescriptionFacadeIT
08:39:58 2017-03-03 08:39:57,845 na DEBUG org.jglue.cdiunit.internal.WeldTestUrlDeployment - CDI classpath entries discovered:
08:39:58 2017-03-03 08:39:57,845 na DEBUG org.jglue.cdiunit.internal.WeldTestUrlDeployment - file:/usr/data/jenkins2/workspace/xt_feature_feature_nrp-2566-FKU6VXG6M5BWWOYPB6DZ37MQXUBENW7KE34TKNOIDVV2VYWNSJGA%402/proposal-description/target/proposal-description-0.0.1-SNAPSHOT.jar
...
08:39:58 2017-03-03 08:39:57,846 na DEBUG org.jglue.cdiunit.internal.WeldTestUrlDeployment -<EMAIL_ADDRESS>08:39:58 2017-03-03 08:39:57,846 na DEBUG org.jglue.cdiunit.internal.WeldTestUrlDeployment - file:/usr/data/jenkins2/workspace/xt_feature_feature_nrp-2566-FKU6VXG6M5BWWOYPB6DZ37MQXUBENW7KE34TKNOIDVV2VYWNSJGA%402/proposal-description/target/test-classes/
...
08:39:58 2017-03-03 08:39:57,896 na WARN org.reflections.Reflections - could not create Dir using jarFile from url file:/usr/data/jenkins2/workspace/xt_feature_feature_nrp-2566-FKU6VXG6M5BWWOYPB6DZ37MQXUBENW7KE34TKNOIDVV2VYWNSJGA%25402/proposal-description/target/proposal-description-0.0.1-SNAPSHOT.jar. skipping.
08:39:58 java.lang.NullPointerException
08:39:58 at java.util.zip.ZipFile.(ZipFile.java:207)
08:39:58 at java.util.zip.ZipFile.(ZipFile.java:149)

The jar has folder ending with GA@2, while the cdi runner lookup sees GA%402.
In the end it reports an error regarding folder GA%25402.
%40” is hex for @, and “%25” is hex for “%”, so it seems to go wrong somewhere in the "search" process using the org.reflections library?

I guess it has been solved in the latest release of org.reflections -> https://github.com/ronmamo/reflections/issues?utf8=✓&q=is%3Aissue java.lang.NullPointerException
Maybe an upgrade to 0.9.11 is needed to fix this ?

This should have been fixed by #105 in CDI-Unit 4.0. Please let me know if it's still happening though.