Postgres infinite pulling schema from database

Link to reproduction
No response
Environment Info
Binaries:
  Node: 20.12.1
  npm: 10.5.0
  Yarn: N/A
  pnpm: 8.14.2
Relevant Packages:
  payload: 3.0.0-beta.96
  next: 15.0.0-canary.104
  @payloadcms/email-nodemailer: 3.0.0-beta.96
  @payloadcms/graphql: 3.0.0-beta.96
  @payloadcms/next/utilities: 3.0.0-beta.96
  @payloadcms/plugin-cloud: 3.0.0-beta.96
  @payloadcms/richtext-lexical: 3.0.0-beta.96
  @payloadcms/translations: 3.0.0-beta.96
  @payloadcms/ui/shared: 3.0.0-beta.96
  react: 19.0.0-rc-06d0b89e-20240801
  react-dom: 19.0.0-rc-06d0b89e-20240801
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.1.0: Mon Oct  9 21:32:11 PDT 2023; root:xnu-10002.41.9~7/RELEASE_ARM64_T6030
  Available memory (MB): 36864
  Available CPU cores: 12

Describe the Bug
Stuck on pulling schema from database when setting up a blank project.
 ⨯ ErrorEvent {
  digest: '3527995339',
  [Symbol(kTarget)]: WebSocket {
    _events: [Object: null prototype] {
      error: [Function],
      message: [Function],
      close: [Function],
      open: [Function]
    },
    _eventsCount: 4,
    _maxListeners: undefined,
    _binaryType: 'arraybuffer',
    _closeCode: 1006,
    _closeFrameReceived: false,
    _closeFrameSent: false,
    _closeMessage: <Buffer >,
    _closeTimer: null,
    _errorEmitted: true,
    _extensions: {},
    _paused: false,
    _protocol: '',
    _readyState: 3,
    _receiver: null,
    _sender: null,
    _socket: null,
    _bufferedAmount: 0,
    _isServer: false,
    _redirects: 0,
    _autoPong: true,
    _url: 'wss://localhost/v2',
    _req: null,
    [Symbol(shapeMode)]: false,
    [Symbol(kCapture)]: false
  },
  [Symbol(kType)]: 'error',
  [Symbol(kError)]: AggregateError [ECONNREFUSED]:
      at internalConnectMultiple (node:net:1116:18)
      at afterConnectMultiple (node:net:1683:7)
      at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
    code: 'ECONNREFUSED',
    [errors]: [ [Error], [Error] ]
  },
  [Symbol(kMessage)]: ''
}

Pulling schema from database. . .

Reproduction Steps
-> pnpm create-payload-app@beta
-> Choose blank project
-> Enter postgres database uri
-> pnpm i pg

see why pg install is necessary here: https://github.com/payloadcms/payload/issues/7974#issuecomment-2324429255

-> pnpm dev
-> Navigate to /admin page
Adapters and Plugins
db-postgres

I run into this all the time. Once it starts behaving like this I usually have to shutdown payload in dev mode, clear Next.js cache, wait a little and try again.

just found something interesting:

I created a website project using npx create-payload-app@beta
chose the vercel postgres
added URI from vercel for the db connection
installed pg package by yarn add pg
stucked trying to pull schema

then:

found that adapter looking for a process.env.POSTGRES_URL in src/payload.config.ts
but payload defines DATABASE_URI to keep the database connection string in .env
I just replaced process.env.POSTGRES_URL with process.env.DATABASE_URI in src/payload.config.ts
it works!

Hey! I believe the issue above is fixed here https://github.com/payloadcms/payload/pull/8743 and we also now ship @payloadcms/db-postgres-vercel with the pg dependency so it should be resolved.


Please clarify the documentation on eager execution and available host language functionalities

The documentation on eager execution here, particularly for the "fizzbuzz" example, does not reflect what tensorflow does. Specifically, all the comparisons num % x == y  do not work as the reader is expecting them to. According to me, it is not true that "all the functionality of the host language is available" because in order to make that code work I need to convert all the comparisons into num.numpy() % x == y (I have enabled eager execution).

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

This is true. I have observed the similar pattern. Apparently it needs to be x.numpy().

Answering to "tensorflowbutler".
Actually, because this is an issue with tensorflow documentation, if tensorflow developers had taken the time to run the "fizzbuzz" code as it is reported into the tensorflow documentation, at the link I have provided, which points to tensorflow web site, the issue would have come out.
Trying to fill out the relevant information:
Have I written custom code: No. I cut and pasted the code on the tensorflow documentation.
OS Platform and Distribution: It happens both on Windows 10 (tensorflow 1.8, downloaded with pip) and on Linux (built from sources).
TensorFlow installed from: on Windows, through pip. On Linux, from source.
TensorFlow version 1.7 and 1.8
Bazel version: NA
CUDA/cuDNN version: No CUDA. I am not using GPU.
GPU model and memory: Not using GPU
Exact command to reproduce: try to run the code you report on your documentation (see above).

+1 Also you can just cast it to e.g. int: int(num % x) == y. Though, the bare FizzBuzz doesn't work as given in the example. BTW same behavior on GPU version, so it is unrelated (as expected really).

When I ran the fizzbuzz example in the programmer's guide on tf 1.7.0 as fizzbuzz(10) it worked; it only failed when run as fizzbuzz(tf.constant(10)). I'm updating the docs to make it work in both cases, thanks for the heads up.


0.2.17 TO DO

Remove opalytics from the API and wiki
setup.py should needs to reflect removal of 2.X support.
PJC review the README.md file
migrate to a GitHub repo that doesn't have opalytics in the name

oops see #218


IBM Blockchian Icons Update

Can you please add all these Icons in the Zip file attached and do the following:
Replace Current Ledger with new file
Replace Current Membership with new file
Replace Current Smart Contract with new file
Attached in the zip file also is BLOCKCHAIN TEMPLATE can we add this to the NETWORKS section in Draw.io???
Blockchain-Draw.io.zip

@davidjgraph David is it possible to add the Blockchian architecture to the "NETWORK" section as a fully baked architecture?
Blockchain Architecture.zip

Ok, it is currently in progress.

@ggdaly IoT Devices in the template is non-existent. To which group should I put it?

Completed

@kutya Mate here are the icons thanks
Blockchain Architecture 2.zip


 This PR fixes them

@keyki please review


Ping and readDir leads to exception

Using your package like that:
var client = webdav.newClient(
  _serverUrlController.text,
  user: _usernameController.text,
  password: _passwordController.text,
  debug: true,
);

client.setHeaders({'accept-charset': 'utf-8'});
client.setConnectTimeout(8000);
client.setSendTimeout(8000);
client.setReceiveTimeout(8000);

Then with both:
try {
  await client.ping();
} catch (e) {
  print('$e');
}

and
var list = await client.readDir('/');
list.forEach((f) {
  print('${f.name} ${f.path}');
});

I get the following error:
I/flutter ( 5604): Response Text:
I/flutter ( 5604): <?xml version="1.0" encoding="utf-8"?>
I/flutter ( 5604): <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
I/flutter ( 5604):   <s:exception>Sabre\DAV\Exception\NotAuthenticated</s:exception>
I/flutter ( 5604):   <s:message>No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured</s:message>
I/flutter ( 5604): </d:error>
2
I/flutter ( 5604):
E/flutter ( 5604): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Exception: "www-authenticate" header has more than one value, please use Headers[name]

Printing the AuthType shows: noAuth. Should the authType be automatically selected?
Do you have any idea what's wrong?

Using your package like that:
var client = webdav.newClient(
  _serverUrlController.text,
  user: _usernameController.text,
  password: _passwordController.text,
  debug: true,
);

client.setHeaders({'accept-charset': 'utf-8'});
client.setConnectTimeout(8000);
client.setSendTimeout(8000);
client.setReceiveTimeout(8000);

Then with both:
try {
  await client.ping();
} catch (e) {
  print('$e');
}

and
var list = await client.readDir('/');
list.forEach((f) {
  print('${f.name} ${f.path}');
});

I get the following error:
I/flutter ( 5604): Response Text:
I/flutter ( 5604): <?xml version="1.0" encoding="utf-8"?>
I/flutter ( 5604): <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
I/flutter ( 5604):   <s:exception>Sabre\DAV\Exception\NotAuthenticated</s:exception>
I/flutter ( 5604):   <s:message>No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured</s:message>
I/flutter ( 5604): </d:error>
2
I/flutter ( 5604):
E/flutter ( 5604): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Exception: "www-authenticate" header has more than one value, please use Headers[name]

Printing the AuthType shows: noAuth. Should the authType be automatically selected?
Do you have any idea what's wrong?

Can you give me a test address? I'm looking at the documentation for "https://sabre.io/" and I don't know how to build this webdav service (haven't studied php 🤣)

@christianfl Can you give me a test address? I'm looking at the documentation for "https://sabre.io/" and I don't know how to build this webdav service (haven't studied php 🤣)


Support @lambdas or @functions for creation of raw lambda functions

Feature request for arc to support a straight forward raw lambda function. My use case is I want to tie part of an arc application into CodePipeline. While a more specific type of arc lambda could be built, seems as though there could be more use cases where generic lambdas would allow a developer to step outside of arc's abstractions to build other unexpected things where arc or the arc app would not want to concern itself with the trigger mechanism of the lambda.
Suggest adding @functions to the .arc file definition. These functions would simply export a function or call arc.functions to register itself (not super familiar with the internals yet) and the function would get the typical arguments unmodified from lambda (event, context, callback)

Heya, would @events not suffice? Those basically raw Lambdae, just remove the arc functions boilerplate in index.js.

Hmm...apparently that is a decent workaround. Hadn't thought of that.
This still feels like a decent feature though as despite not using it, arc still creates an SNS for that method which in my case should never be triggered.
Thanks for suggestion thought as that definitely unblocks me and does appear to work.

Yeah, and the nice thing about having that unused SNS (besides the fact that it costs you nothing and doesn't impact performance) is that if you ever do need to publish an event to it later, no additional work required to get it going!
Gonna close for now but if you run into anything specific that requires something even raw-er than @events let's def reopen it up and learn more.


How to work with macros

I'm submitting a ...
[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ x] question about how to use this project

Summary
Is there a good resource on how to use the library to work with macros?

Initially I'd like to just list the macros defined by name and then run them however that happens.
Then I'd like to be able to change the macros around. Do you do this by loading an xml or would it be programatically by setting the properties?

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

I'm looking to add macro functionality to the touch portal extension I built: https://github.com/br8kpoint/touch-portal-atem

Currently the support for macros matches what you can do in the atem software except for handling them in xml form. The methods available are:

Being able to generate and upload macros is something I would like to support (and did make some progress on in the past for another atem library/project https://github.com/LibAtem/AtemMacroEditor), but I have not found any prior work on it, so it is a very large task of reverse engineering every macro operation (with no list of what they all are).
It is something I would like to do one day, but I need to find the time to get it started

Thanks for the answer. I finally have some time to work on this and can see the functions to actually run and control the macros. What I do not see is a way to actually obtain the list of macros already defined in the system. I would like to present the list of macros by name in the UI of my plugin for say the "Run" action of a Touch Portal button that users define. Is there a way to get the number of macros that are currently defined and then get the macro meta data such as the name/index? Something like macroGetProperties?

Look at the state property on the client object. That tracks the current state of the atem, including the names and descriptions of the macros. Be careful to handle it and some of the contents being null


chore: Edit APIGatewayV2Request per "LAMBDA-PROXY" event

Edit a couple of the properties in the APIGatewayV2Request
Motivation:
I was getting Decoding errors when invoking my lambda using APIGateway Event Request. I looked at the AWS Documentation and Serverless documentation  and notice a different object from what is currently in the package
Modifications:
Edit a couple of the properties in the APIGatewayV2Request
Result:
My lambda is able to receive the Event from APIGateway along with the body I included in my http request

This is a pretty breaking change that would break any APIGatewayV2Request that doesn't use a proxy. We'll probably need a new Request type

I was thinking that was going to be the case given that I did not find any proxy related piece of info about it in the package 👍. I will add it separately and update the PR

I opened a new PR just wanted to clean the commit history @fabianfett


Updates UI shell

Changes
Co-authored by @aitanaviudes
Co-authored by @y4izus
Implementation details

Add "Community" to Qiskit nav logo
Add ArrowUpRight icons to external links in the ui-shell

Screenshots
https://github.com/Qiskit/web-components/assets/6276074/c3f9988f-9664-478c-8d04-7c113dd118d6

Do not merge yet. I've added the on-hold label


ID_WEB_Durchfluss_WQ is flow, not Bool

Also, atleast on MSW2-6S, pump that is shown on internal datapage is 173: Bool("ID_WEB_Durchfluss_WQ"), which has Bool as datatype instead of Flow.
https://github.com/Bouni/luxtronik/blob/5f7a206876020b361001da9678f89ff4922da23d/luxtronik/calculations.py#L177
Originally posted by @extin in https://github.com/Bouni/luxtronik/issues/6#issuecomment-561241180

Correct this is a boolean.
sensor.luxtronik_id_web_durchfluss_wq | True

I get
INFO     - 173 : 592

which matches

on my alpha innotec on the websocket Interface

@macrojames Can you tell me what type of heatpump you have?

@remyderuysscher can you clarify if id_web_durchfluss_wq is actually a boolean or fow?

That's an alpha innotec lwcv 82r1/3
From the device:
Anlagenstatus
Wärmepumpen Typ | LW 8
Wärmepumpen Typ | CMD_6
Softwarestand | V3.84.3 (r5195)

The hard part begins here, as we no longer get names for the values out of the JAVA source (as does for all the others so far).
Any suggestions on how to name this value?
Maybe just flow_rate? or better 254_flow_rate in case we get another flow rate in the future?

Hi bouni,
There is an issue with the IP address check. It crashes on start of HA,
I've posted a comment on the GitHub of the HA integration. Can you take a
look?
Regards Remy
Op ma 4 mei 2020 12:25 schreef bouni<EMAIL_ADDRESS>
The hard part begins here, as we no longer get names for the values out of
the JAVA source (as does for all the others so far).
Any suggestions on how to name this value?
Maybe just flow_rate? or better 254_flow_rate in case we get another flow
rate in the future?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Bouni/python-luxtronik/issues/7#issuecomment-623383334,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKUWN7EJUWNW4JE3LXKGU3RP2J2RANCNFSM4JU3BKGQ
.

@remyderuysscher Please lways open a new issue, avoid hijacking other issues, that way it is a nightmare to find things at a later point in time!

Thanks will do! Sorry.
Op ma 4 mei 2020 13:26 schreef bouni<EMAIL_ADDRESS>
@remyderuysscher https://github.com/remyderuysscher Please lways open a
new issue, avoid hijacking other issues, that way it is a nightmare to find
things at a later point in time!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Bouni/python-luxtronik/issues/7#issuecomment-623407699,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKUWN3NMOD6YYES7HHEZTDRP2Q5DANCNFSM4JU3BKGQ
.

The hard part begins here, as we no longer get names for the values out of the JAVA source (as does for all the others so far).
Any suggestions on how to name this value?
Maybe just flow_rate? or better 254_flow_rate in case we get another flow rate in the future?

I did some digging and found some suggestions in the firmware. I only looked for calculations yet and not all of them appear to have human readable names.

I drop this here. It contains some names or suggestions for them. I am not sure how to proceed here. I see that value 254 is not calculated differently than 173, just a little more logic around it. 173 would be called "Durchfluss", Type int.

Same here on heat pump Alpha Innotec SWC 82K3. ID_WEB_Durchfluss_WQ should not be a Bool.

@macrojames
What source did you look at to reverse the meaning of the variables?
I would highly appreciate if you can share it so that I can work on improving this module further!

I am not sure how far I am allowed to share my work.
I took the firmware from https://www.heatpump24.com/DownloadArea.php?layout=1 and extracted it until there was a file "appl".
That file could be interpreted by Ghidra really nice and the memory labels are human readable.
There is also a hardcoded root password in shadow but i guess you would need UART to access a console.

@macrojames
Nice! I never used Ghidra before but its defenitely on my list 😄
I already know about the root password and how to access the controller via SSH. If you want to know, send me an email to<EMAIL_ADDRESS>an I'll share my findings with you!

@remyderuysscher Please lways open a new issue, avoid hijacking other issues, that way it is a nightmare to find things at a later point in time!

I can confirm that the IP address issue is now solved! Thanks.


Major problems with Brand Accounts.

As the title says your unable to automate switching to a brand account due to them not showing up on the channel_switcher page. You can, however, switch to a brand account still by manually clicking on your avatar and going to "Switch Account" due to upload.js clicking on elements that have "channelname" in it.
However that isn't where the issues end, when I'm on the brand account I get booted off when I'm redirected to the upload page, the upload still goes on though which causes the upload to be done on the wrong account which is pretty annoying.

@fawazahmed0 i can create an pr with a hot fix for this fix.

Yeah, go ahead, I will merge the PR


344 Add download step for TensorRT CI [skip gpu]

Fixes #344 .
Description
This PR adds the download step for the TensorRT CI.
Status
Ready
Please ensure all the checkboxes:

[x] Codeformat tests passed locally by running ./runtests.sh --codeformat.
[ ] In-line docstrings updated.
[ ] Update version and changelog in metadata.json if changing an existing bundle.
[ ] Please ensure the naming rules in config files meet our requirements (please refer to: CONTRIBUTING.md).
[ ] Ensure versions of packages such as monai, pytorch and numpy are correct in metadata.json.
[ ] Descriptions should be consistent with the content, such as eval_metrics of the provided weights and TorchScript modules.
[ ] Files larger than 25MB are excluded and replaced by providing download links in large_file.yml.
[ ] Avoid using path that contains personal information within config files (such as use /home/your_name/ for "bundle_root").

/build

/build


npm package?

First of all, thank you creating great collection of font & color palette. I love it. Also, Just like iconic font, would it be possible to have npm package for this color palette as well?
Thank you,

Yes, I plan to add some features to that project (i.e. colored borders) this week - after that I will publish it to npm.

That would be awesome… can’t wait to see new features. Let me know….
Thanks,
From: Sergey Kupletsky<EMAIL_ADDRESS>Sent: Monday, June 22, 2015 3:59 PM
To: zavoloklom/material-design-color-palette
Cc: Patel, Bhavin
Subject: Re: [material-design-color-palette] npm package? (#2)
Yes, I plan to add some features to that project (i.e. colored borders) this week - after that I will publish it to npm.
—
Reply to this email directly or view it on GitHubhttps://github.com/zavoloklom/material-design-color-palette/issues/2#issuecomment-114260483.

Available in NPM since 1.1.0
Border-color variants available since 2.0.0.
Early access https://github.com/zavoloklom/material-design-color-palette/tree/2.0.0-dev


Standardize the agent string a little better.

Make the dotnet hello handshake include the agent string in the manner of the other 1st party agents.
Fixes #16

:+1:

TODO: release. There are no instructions in the repo for how and I'm not sure I have access anywy


Special internet connection check endpoint configuration doesn't accept IPv6 addresses

Right now it only accepts IPv4 addresses with an optional colon separated port number.
IPv6 uses colons, so the whole validation becomes more complicated. When port is specified for an IPv6 then it possibly needs to be wrapped into a square bracket to separate the port number: such as [1fff:0:a88:85a3::ac1f]:8001, although some Wikipedia examples don't do that: https://en.wikipedia.org/wiki/IPv6#Addressing
(Referenced from https://stackoverflow.com/questions/186829/how-do-ports-work-with-ipv6)

Related #206 and #121

I introduced string_validator - which have isFQDN and isIP - for #391. The isIP recognizes IPv6 as well, although sometimes that is surrounded by square brackets to separate the port number (since IPv6 uses colon for separators).


Remove conflict include statments in port.cc

I was getting errors like following when building PIP package with Bazel:
C:\Program Files (x86)\Windows Kits\8.1\include\\um\WinSock2.h(2699): error C2375: 'WSAAsyncSelect': redefinition; different linkage
C:\Program Files (x86)\Windows Kits\8.1\include\\um\winsock.h(933): note: see declaration of 'WSAAsyncSelect'

Turned out these two line was removed at 46110c5aecfafcce220252bb8455b6188389b91d,
-#include <WinSock2.h>
-#pragma comment(lib, "Ws2_32.lib")

But brought back at https://github.com/tensorflow/tensorflow/commit/c5ab3dd177dc16bb211821e38219f350a613b5e8
Seems like a merge error to me.

Can one of the admins verify this patch?

Jenkins, test this please.

My bad, I thought both were required.

Test again please?

I think we're still waiting for a fix on windows. Let's try anyway.

Jenkins, test this please.

Jenkins, test this please.


Cannot run the example

I cannot manage to run the examples, on windows 10 with a fresh install of Docker. I have setup the NODE_VERSION and ES_VERSION but it fails with > exec user process caused "no such file or directory"
Is there something to configure in Docker first ?
docker-compose up
Starting myesconnector_es_1 ... done
Starting myesconnector_web_1 ... done
Attaching to myesconnector_es_1, myesconnector_web_1
es_1   | [2018-02-09 07:54:08,719][INFO ][node                     ] [Ikthalon] version[1.7.6], pid[1], build[c730b59/2016-11-18T15:21:16Z]
es_1   | [2018-02-09 07:54:08,719][INFO ][node                     ] [Ikthalon] initializing ...
web_1  | standard_init_linux.go:195: exec user process caused "no such file or directory"
es_1   | [2018-02-09 07:54:08,775][INFO ][plugins                  ] [Ikthalon] loaded [], sites []
es_1   | [2018-02-09 07:54:08,803][INFO ][env                      ] [Ikthalon] using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/sda1)]], net usable_space [54.3gb], net total_space [58.8gb], types [ext4]
es_1   | [2018-02-09 07:54:11,072][INFO ][node                     ] [Ikthalon] initialized
es_1   | [2018-02-09 07:54:11,075][INFO ][node                     ] [Ikthalon] starting ...
es_1   | [2018-02-09 07:54:11,205][INFO ][transport                ] [Ikthalon] bound_address {inet[/<IP_ADDRESS>:9300]}, publish_address {inet[/<IP_ADDRESS>:9300]}
es_1   | [2018-02-09 07:54:11,263][INFO ][discovery                ] [Ikthalon] elasticsearch/utOiv858Ss-gLk2q-s4yWQ
myesconnector_web_1 exited with code 1
es_1   | [2018-02-09 07:54:15,047][INFO ][cluster.service          ] [Ikthalon] new_master [Ikthalon][utOiv858Ss-gLk2q-s4yWQ][a364d85af1c5][inet[/<IP_ADDRESS>:9300]], reason: zen-disco-join (elected_as_master)
es_1   | [2018-02-09 07:54:15,119][INFO ][http                     ] [Ikthalon] bound_address {inet[/<IP_ADDRESS>:9200]}, publish_address {inet[/<IP_ADDRESS>:9200]}
es_1   | [2018-02-09 07:54:15,119][INFO ][node                     ] [Ikthalon] started
es_1   | [2018-02-09 07:54:15,126][INFO ][gateway                  ] [Ikthalon] recovered [0] indices into cluster_state
web_1  | standard_init_linux.go:195: exec user process caused "no such file or directory"
web_1  | standard_init_linux.go:195: exec user process caused "no such file or directory"
web_1  | standard_init_linux.go:195: exec user process caused "no such file or directory"
web_1  | standard_init_linux.go:195: exec user process caused "no such file or directory"
web_1  | standard_init_linux.go:195: exec user process caused "no such file or directory"
web_1  | standard_init_linux.go:195: exec user process caused "no such file or directory"
web_1  | standard_init_linux.go:195: exec user process caused "no such file or directory"
...

I will try out the examples myself and get back to you here.

@Overdrivr - i found this https://forums.docker.com/t/standard-init-linux-go-175-exec-user-process-caused-no-such-file/20025/2

I had to run dos2unix on the entrypoint script. Wish the error message was more descriptive.

Try it and let us know if it resolves the problem?


ui: Statements Page timing for CREATE INDEX wrong

Reference: https://github.com/cockroachdb/cockroach/issues/30381

Closed via https://github.com/cockroachdb/docs/pull/3940


Console V2- Tests - Successful deposit

Add a test that successfully completes a deposit in console V2
This ticket will aim to identify any GAP's / Blockers with being able to successfuly test a deposit
This includes

eipBridge function to approve/confirm a transaction
How long confirmation takes
If we need to build any custom functions to approve or set approval

Error with 'Approval'


Claiming Reward Balance gives MissingKeyError

I was trying to use the claim_reward_balance(). It worked for sometime, but two days ago it stops working.
The code:
from steem import Steem
from steem.commit import Commit

c =  Commit(steem=Steem(keys=[POST_KEY, ACTIVE_KEY]))

 c.claim_reward_balance()

MissingKeyError                           Traceback (most recent call last)
<ipython-input-6-537da9054b42> in <module>()
----> 1 c.claim_reward_balance()

/usr/local/lib/python3.6/dist-packages/steem-1.0.0-py3.6.egg/steem/commit.py in claim_reward_balance(self, reward_steem, reward_sbd, reward_vests, account)
    912                 "reward_vests": reward_vests,
    913             })
--> 914         return self.finalizeOp(op, account, "posting")
    915
    916     def delegate_vesting_shares(self, to_account, vesting_shares,

/usr/local/lib/python3.6/dist-packages/steem-1.0.0-py3.6.egg/steem/commit.py in finalizeOp(self, ops, account, permission)
    130         else:
    131             tx.appendSigner(account, permission)
--> 132             tx.sign()
    133
    134         return tx.broadcast()

/usr/local/lib/python3.6/dist-packages/steem-1.0.0-py3.6.egg/steem/transactionbuilder.py in sign(self)
    119
    120         if not any(self.wifs):
--> 121             raise MissingKeyError
    122
    123         signedtx.sign(self.wifs, chain=self.steemd.chain_params)

MissingKeyError:

I am not getting a missing key error, but also Bad Cast on claiming reward balance, see #187 .  I think new changes affect all 'call' operations where parameters are passed.  I am not sure how to restructure them to work at this point in time

See my issue, try not using api.steemit node

I can't even get the error anymore. stempy config just hangs there as does c =  Commit(steem=Steem(keys=[POST_KEY, ACTIVE_KEY])).
Where do I clear the steempy configuration?

This is due to our switch to appbase on api.steemit.com, and those changes not being included in steem-python. I will be working to get this resolved today.

@cyon1c  - thats some exciting news!

I get this error on different using other api...

@camponez try using this code as reference:
https://github.com/steemit/steem-python/pull/195/files#diff-94ce5c94e607bee610742036bb262f0eR23

Weird... I'm still seeing this problem but just with one of my accounts...

Weird... I'm still seeing this problem but just with one of my accounts...

On the account that it's working I get the error: ERROR:root:Downgrade-retry steemd.minnowsupportproject.org

Is anyone able to confirm this issue is resolved on master branch?

Yes, just updated and it seems to be resolved now. Thank you.

@camponez if it only affects 1 account it's probably due to a WIF/config issue.
I believe the other concerns in this issue should be resolved now, please leave a comment if this is not the case.

@roadscape Yes. Same problem. It only works for one account, not work for two others....

if it only affects 1 account it's probably due to a WIF/config issue.

I'm able to call check_reward(). Only claim(), does not work. I can also vote with those accounts. Only claim() has the problem. Very weird to be for 1 of 3 accounts only.

@camponez you might be using an old version. We need to update the pypi repo still. I recommend checking your script against master on this repository.

@roadscape I thought that I was running master. I'm doing sudo python setup.py install in the master branch.
$ steempy --version
steempy 1.0.0

is there another way to check which version I'm running?

Hey @camponez, I want to trouble shoot a couple things  did you use git to clone the repo? If so, can you run git pull origin master and then git log to check that you have all the newest changes by comparing the last commit hash with the tip of master on github.
I noticed your command is sudo python setup.py install, which means you've installed steem-python as a Python 2 library. In your original logs, your traceback shows you are using Python 3.6. I would recommend trying python3 setup.py install and then try this again.
If this still does not work, re-importing the account should solve the issue. In the event that still does not, please report back and I can re-open and investigate further.

@cyon1c

I'm pretty sure I'm on master (a2a5e58ad67f75829add)
My python is 3.6

$ python --version
Python 3.6.3

Also
 ls /usr/local/lib/python3.6/dist-packages/steem-1.0.0-py3.6.egg

However, when I run on ipython:
import steem
help(steem)
NAME
    steem - # -*- coding: utf-8 -*-

PACKAGE CONTENTS
    account
    aes
    amount
    block
    blockchain
    blog
    cli
    commit
    converter
    dex
    instance
    post
    profile
    steem
    steemd
    transactionbuilder
    utils
    wallet
    witness

VERSION
    0.18.103

FILE
    /usr/local/lib/python3.6/dist-packages/steem-1.0.0-py3.6.egg/steem/__init__.py

I found the error!
It's strange because it had worked before. Problem was on my code. I needed to pass accountto c.claim_reward_balance()
Look good now! :)


Delete rows in nested / expanded array not working

Hello community,
after three days I would need help pls. I have an array with a nested Array in it. My main goal is to delete or add rows in the nested array.
We can start with this example, its almost the same:  Example expandRow
In this example my goal would be to delete all rows in the inner array "expand" (fieldA:test1,...)
I have modified this example only with three things:
insertRow, deleteRow and selectRow={ selectRowTableTaenze }  thereby we can select and delete a row.
Lets have a look on the fiddle now: https://jsfiddle.net/9cqubzgd/
Now in our example we have 5 rows.
We click on the first row "Item name 1". We see in the expanded table the values "fieldA", "fieldB" ... and so on WITH the new buttons insertRow and deleteRow. Now we delete all rows in the inner table (test1, test2) -> now we should have "Item name 1" with NO inner rows.
But if we click now on "Item name 2" and click back to "item name 1" all rows from the inner Array are back in "item name 1".
Hopefully clear what I mean and thank you for your time

@Paul6552 i'm sorry for lately reply.
Firstly, this is actually, a bug from react-bootstrap-table have expandable row feature. Because I doesn't consider the data change in the table of expanding row, actually, this bug is expected for me, because, the source data doesn't mutate/update.
As I mention at homepage, https://github.com/AllenFang/react-bootstrap-table
I'm doing the next generation of react-bootstrap-table to build up a more lightweight and easy to customizable table component, and also this bug will be fix in react-bootstrap-table2.
Anyway, it's too late to fix this kind of issue in this repo, I doesn't consider/think more, this is architecture problem.


Fix top right buttons of Index.html

The margin on the left side is too big, it allows user to click without "hovering" and showing the animation of the button.
This is what happens rn

This is what should happen (it should underline and turn green same time)

Potential fix: Play w margin settings or padding idk. Might have to make another button container or wrapper to keep them centered and then center that onto NavBar. Idk. problem for another day

Fixed
85bd108ed62f8ff4d726a9de39126b763beea96a


Enable testing SSL for rabbitmq

Depends on https://github.com/crowbar/crowbar-openstack/pull/873

needs rebase


JSON Query to graphql/query: HTTP error code 401

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Instaloader Python module
Scrape an Instagram page for videos only.

Expected behavior
I expected for the program to function correctly and download the videos.
Error messages and tracebacks
JSON Query to graphql/query: HTTP error code 401
Traceback (most recent call last):
  File "DRIVE:\PATH\.venv\Lib\site-packages\instaloader\instaloadercontext.py", line 352, in get_json
    raise ConnectionException("HTTP error code {}.".format(resp.status_code))
instaloader.exceptions.ConnectionException: HTTP error code 401.

Instaloader version
4.9.6
Additional context
It worked for a little bit today after similar behavior yesterday... maybe it's just Instagram cracking down on me?

#2000 #2001 #2002 are recent issues with the same problem, I think Instagram changed internally; sorry this is all information I can contribute.

Thanks for reporting. Indeed, this problem has been reported more frequently lately.
The seemingly most effective way to alleviate this is outlined here: https://instaloader.github.io/troubleshooting.html#too-many-requests – especially that restarting or reinstantiating Instaloader within short time should be avoided, to allow the rate controller to throttle requests.

Would love to see this fixed, if possible! It seems the suggested "solution" for now is just "wait".

Would love to see this fixed, if possible! It seems the suggested "solution" for now is just "wait".

I can confirm we can load cookies from browser and everything works like a charm.

Not working even after loading cookies, gives following error
JSON Query to graphql/query: HTTP error code 401. [retrying; skip with ^C]
JSON Query to graphql/query: HTTP error code 401. [retrying; skip with ^C]
Fatal error: JSON Query to graphql/query: HTTP error code 401.

Not working even after loading cookies, gives following error
JSON Query to graphql/query: HTTP error code 401. [retrying; skip with ^C]
JSON Query to graphql/query: HTTP error code 401. [retrying; skip with ^C]
Fatal error: JSON Query to graphql/query: HTTP error code 401.

That's probably related with our instance (unauthorized error message) and should be followed on a separate issue if you want to open it.

I am also facing this issue can anyone help me

I;m hgaving this same issue

Hi Everybody.
Same issue here since October, 1st.


Edit look and feel of slider to match pricing page

Colors are subject to change :)

Is this is still required for reference or should we close this? (Follow up issues in website#1617, this feels like a dupe at this point)


Send inbound AdvertiseTransactionIds broadcasts to the mempool download & verify stream

Is your feature request related to a problem? Please describe.
The inbound network service should handle AdvertiseTransactionIds requests correctly.
Describe the solution you'd like
We need to send advertised transaction IDs to the mempool download and verify service.
Additional context
Part of #889.

This may be the same as https://github.com/ZcashFoundation/zebra/issues/2637

This may be the same as #2637

Pinging @mpguerra about the duplicate

Yup, it looks like it is the same @dconnolly can you confirm and we can close this one as the duplicate

@conradoplg are there any other inbound requests other than AdvertiseTransactionIds that are implemented in #2637 ?

closed by #2679


allow hapi plugin to be register from argument

Which problem is this PR solving?
HAPI accepts loading a plugin with the server.register(plugin) format, in addition to the already supported server.register({plugin: plugin}).
See https://hapi.dev/tutorials/plugins/?lang=en_US#loading
The former currently raises exceptions because we try to load the .plugin key within the object, which doesn't exist.
This PR provides that support.
Checklist

[x] Ran npm run test-all-versions for the edited package(s) on the latest commit if applicable.

The test failure seems unrelated (and also failed in main).


User Research: Search Filter

Purpose
To get more confidence in filter direction and validate following

Which filter model suits their research needs best?
Usability: select/deselect, date entry
Filter options: terminology, grouping, order
(Part of #4693)

Methods
5x Internal (1:1 at their desk)
5x External (popup research in the viewing room)
Prototype
Behind the toggles

Refine filters prototype
Explore filters prototype

Tasks

[x] Check with devs re build of thing to be tested and set deadline
[x] Write script
[ ] Review script with Product Manager
[x] Pilot (optional)
[x] Schedule 1:1 with internal users
[x] Print research questions and ideas
[ ] Book testing room (Viewing Room)
[ ] Email LED about testing
[ ] Drink voucher

User Research Summary
https://www.notion.so/wellcometrust/4713-User-Research-Search-Filter-fb2c0fc36afd4f4680912c0eb6760f32


add binary for npx execution

Users now can run npx figlet "Hello, World!" to use it as CLI tool.

@patorjk , please review.

This looks good, sorry for the delay and thank you for the reminder. I can't publish it at the moment but will try to tonight. If you don't see anything by tomorrow just ping me again.


"Bot structure" JavaScript narrative is lacking Node.js overview

The C# docs has a good overview of how a bot is an ASP.Net Core app. This is missing in the JavaScript page, The JavaScript page just launches into .env file, etc. Is something missing from the JS documentation?

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

ID: 5bf8a24b-7029-247b-3c5c-3902befe0ccf
Version Independent ID: bcd01444-d332-29e6-2b81-5558bb2d576b
Content: Bot Activity in the Bot Builder SDK - Bot Service
Content Source: articles/v4sdk/bot-builder-basics.md
Service: bot-service
Product: bot-framework
GitHub Login: @johnataylor
Microsoft Alias: johtaylo

Duplicated the alert later in this same article, in the Bot structure section, and also in the first how to topic, Send welcome message to users. This update should go live in a few days.

Updated the JS intro paragraph in the Bot structure section. Update should go live in a day or two.
The Yeoman generator creates a type of restify web application. If you look at the restify quickstart in their docs, you'll see an app similar to the generated index.js file. This section mainly describes the package.json, .env , index.js, bot.js, and echobot-with-counter.bot files. Code in some files won't be copied here, but you will see it when you run the bot, and you can refer to the Node.js echobot-with-counter sample.


CASSANDRA-18987 Prohibit counter column updates in Accord transactions

patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-18987

Committed as https://github.com/apache/cassandra/commit/c876f6a01dd9ac254406898cef0727694b38d45a


Caching across matrix builds

According to the docs:

Drone keeps a separate cache for each Branch and Matrix combination. Let’s say, for example, you are using matrix builds to test node 0.11.x and node 0.12.x and you are caching node_modules. Drone will separately cache node_modules for each version of node.

This does not appear to be the case in actuality.
I am running Drone using the recommended .4 Docker image and all my matrix builds are sharing the same cache.
checking tree on /var/lib/drone/cache/ I only see two .tar.gz files.
I have 3 matrix builds, and 2 cached directories vendor and public/js/vendor
[jdonat@ip-172-31-11-250 cache]$ tree capdig
capdig
└── myon
    ├── cache.1de6ee7f09fb4a9ab871c7f959e726f7.tar.gz
    └── cache.e705f670ede890b82f286bd521fb3611.tar.gz

It would appear I have the same cache for every branch and every build.  This may end up being trouble.

good catch, fixed https://github.com/drone-plugins/drone-cache/commit/eda92b69ec91e943ba7d379f467e5c0921cb6b21


Add example for replacing template engine

Description
Please add an example showing how to replace Terra with something else maybe askama

Hi, we have this as an example:
https://github.com/loco-rs/loco/blob/master/examples/demo/src/initializers/hello_view_engine.rs
I believe a full example with askama may be nice, but perhaps outside of the main repo as to not confuse people with too many engines.
Would you like to follow the "hello" example and create such an example repo? We'd be happy to feature it under loco-rs or include a link to it in the docs


No strong name nuget package

Any chance you guys can post an official variant of the Newtonsoft.json nuget package without it being strongly named. It causes various issues which as far as I know can't be disabled using msbuild.
re: https://github.com/dotnet/project-system/issues/9599
I have seen other nuget packages do this. Doing this as a github issue since this a question to the package contributors. (And I also strongly dislike stackoverflow)

No chance. But someone else could do that.


Pinned tabs are scrolled along with normal tabs when scrolling

In the old version, pinned tabs were not scrolled along with normal tabs. In the new version, they scroll. Is it possible to return to the previous version? (I am attaching a screencast of the old and new versions).
Is it possible for the "New Tab" button to also be fixed and not scroll when scrolling through tabs?

Old version

New version

I will find ways to achieve it on new version


from2023to2021

Ⅰ. Describe what this PR does
change the copyright in  ./pkg/controllers/v1alpha1/goosefs/suite_test.go from 2023 to 2021
Ⅱ. Does this pull request fix one issue?

fixes #XXXX
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

look good to me

/approve


Skype Mac File Share

Wasn't file sharing for Skype Mac client made available in the December 2017 CU?
https://support.microsoft.com/en-us/help/4036625/enable-peer-to-peer-file-transfer-for-skype-for-business-on-mac-client

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

ID: 2b4299e6-ae5f-6776-9b6a-ff7cba8b2550
Version Independent ID: 757f4282-c94d-e60b-4523-87663199abd6
Content: Desktop client feature comparison for Skype for Business Server 2015
Content Source: Skype/SfbServer/plan-your-deployment/clients-and-devices/desktop-feature-comparison.md
Product: skype-for-business-itpro
GitHub Login: @jambirk
Microsoft Alias: jambirk

File sharing in peer-to-peer conversations was added with CU6 update to Skype for Business Server 2015.  Sharing files in meetings is not currently supported in Skype for Business on Mac.

If you have enabled the appropriate policies (as described in the KB article you reference) and file transfer is not working in P2P conversations, please work with your support team to open a case so we can look into it.
Phil Garding

Ah, I see. I saw "Upload files to share with others" but did not see it was under "Meeting Support". Maybe a separate line item under "IM Support" to show that in P2P sessions file sharing is available? Just to distinguish between the two.

Thanks for the suggestion, Jeff.  As I was looking at this topic, I was surprised to see that it wasn’t called out in the IM section.  I’ll update that.
Phil.
From: Jeff Brown<EMAIL_ADDRESS>Sent: Friday, August 10, 2018 2:09 PM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc: Phillip Garding<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Skype Mac File Share (#657)
Ah, I see. I saw "Upload files to share with others" but did not see it was under "Meeting Support". Maybe a separate line item under "IM Support" to show that in P2P sessions file sharing is available? Just to distinguish between the two.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F657%23issuecomment-412207177&data=02|01|phillipg%40microsoft.com|4c96a375c7e04910863c08d5ff058e87|72f988bf86f141af91ab2d7cd011db47|1|0|636695321691283047&sdata=F8oLzdaJLQSqvQCJVNe%2FkNz97K9Jk9n8KQMq6UtkTFg%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAkYGQ7-hvRy_ZGrwkU__aj5cmH44EceYks5uPfaGgaJpZM4V3Gxe&data=02|01|phillipg%40microsoft.com|4c96a375c7e04910863c08d5ff058e87|72f988bf86f141af91ab2d7cd011db47|1|0|636695321691283047&sdata=mjiVezX4erblY3%2BJpvDYm30isx2DHzaxlxLiwVdXMPM%3D&reserved=0.


Validate column size

In the schema, we specify the length of all columns. However, SQLite doesn't enforce those lengths.  We should figure out a way to make sure the database entries conform with what's specified in the schema.

We could use the database/table schema metadata to check the type:
from sqlalchemy import Column, String
from astrodbkit2.astrodb import Base

class Telescopes(Base):
    __tablename__ = 'Telescopes'
    name = Column(String(30), primary_key=True, nullable=False)
     reference = Column(String(30), ForeignKey('Publications.name', ondelete='cascade'))

# Instantiate an object of this Class
# don't need to specify name/reference here but showing it as an example
t = Telescopes(name='JWST', reference='my ref')
t.metadata.tables['Telescopes'].columns['name'].type
# This is of type: String(length=30); printing it out will look like VARCHAR(30) or similar

print(t.metadata.tables['Telescopes'].columns['name'].type.length)
# Prints 30

isinstance(t.metadata.tables['Telescopes'].columns['name'].type, String
# returns True; String is a sqlalchemy type here

@dr-rodriguez cool! I'm taking a stab at this on a local branch.
Are we thinking of including this as a test under the tests folder? Or do the data integrity tests live elsewhere?

And those ingest scripts would be included in this repo, not astrodb_scripts, right?

in astrodb_scripts...
On Wed, Feb 14, 2024 at 4:03 PM Arjun Savel @.***>
wrote:

And those ingest scripts would be included in this repo, not
astrodb_scripts, right?
—
Reply to this email directly, view it on GitHub
https://github.com/astrodbtoolkit/astrodb-template-db/issues/26#issuecomment-1944586342,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALATGLAETJ4ELFTJ5GDT6DYTURDFAVCNFSM6AAAAABDHFFFQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBUGU4DMMZUGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

I knew I had seen something with SQLAlchemy before on validation and was able to find it: https://docs.sqlalchemy.org/en/14/orm/mapped_attributes.html#simple-validators
This allows you to have simple verification built-in to the schema itself and I think is the proper way to go about doing things like validating specific inputs, not just for string sizes but also to constrain things like ra/dec ranges.

in that case, we could incorporate this into the template schema, as well.

Super cool!  So that is a change to schema_template in this repo.

I do wonder if it requires a different approach to how we do the ingest scripts, though. For example, to actually trigger the validation one would have to create a Telescopes object or similar and populate it, rather than do SQL insert commands.
I can look up how we used this in one of our projects and outline how this would look like here, if that helps.

Addressed by #32.


console.log not displaying in bash terminal

This may work for Powershell, not for Bash:
          @oliversalzburg if you do not want to switch to the "legacy" protocol, you can use a different console and continue to use the "inspector" protocol: just add a `"console": "integratedTerminal"` to your launch config.

Originally posted by @weinand in https://github.com/microsoft/vscode/issues/30842#issuecomment-323787963

adding @roblourens as he has context here. not sure what the problem is

I have an Angular web front-end.  I use VS Code and the Bash terminal, since I have to support Linux.  Javascript methods  console.log and console.debug has no effect (output) on the integrated Bash terminal in either Output, Debug Console, or Terminal windows.

thanks for that info. Can you pls provide simple steps to reproduce the problem and state your expectation vs actual?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

Hello,have you solved this problem? I have also encountered this issue.
I am currently using VS code 1.90.0 version. In simple JavaScript code, console. log() can output normally on the terminal, but in large projects I built with Nestjs, the terminal will not output the content of console. log. But I haven't changed my Nestjs version, nor have I changed any code. I just haven't changed the code for a while, and then updated the VS code version. However, during debugging, I found that the terminal no longer outputs console. log() content. I tried to lower the VS code version but it didn't work.


[$1000] Workspace - The welcome message in Spanish is very close to the edge of the page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
Preconditional: the language of account is Spanish

Open the app and login
Go to Settings -> Workspaces
Delete all workspaces if they present

Expected Result:
The welcome message is NOT very close to the edge of the page
Actual Result:
The welcome message in Spanish is very close to the edge of the page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~017201bf4137ca3d49
Upwork Job ID:<PHONE_NUMBER>032911360
Last Price Increase: 2023-01-27

I'm not really sure how to reproduce this given that the language of the account needs to be Spanish.

Please use expensifail account - change the language to Spanish and go to Settings - Workspace

Thank you @kbecciv!

Proposal
Apply the horizontal padding 20px to the common BlockingView component as same horizontal padding we have in most of the content screens.
diff --git a/src/components/BlockingViews/BlockingView.js b/src/components/BlockingViews/BlockingView.js
index 2cf6ff8262..1080db0eb0 100644
--- a/src/components/BlockingViews/BlockingView.js
+++ b/src/components/BlockingViews/BlockingView.js
@@ -27,7 +27,7 @@ const defaultProps = {

 const BlockingView = props => (
     <View
-        style={[styles.flex1, styles.alignItemsCenter, styles.justifyContentCenter]}
+        style={[styles.flex1, styles.alignItemsCenter, styles.justifyContentCenter, styles.ph5]}
     >
         <Icon
             src={props.icon}
@@ -36,7 +36,7 @@ const BlockingView = props => (
             height={variables.iconSizeSuperLarge}
         />
         <Text style={[styles.notFoundTextHeader]}>{props.title}</Text>
-        <Text style={[styles.w70, styles.textAlignCenter]}>{props.subtitle}</Text>
+        <Text style={[styles.ph5, styles.textAlignCenter]}>{props.subtitle}</Text>
     </View>
 );
diff --git a/src/styles/styles.js b/src/styles/styles.js
index ff9dd11901..26f6d040ce 100644
--- a/src/styles/styles.js
+++ b/src/styles/styles.js
@@ -1905,6 +1905,7 @@ const styles = {
        fontSize: variables.fontSizeXLarge,
        marginTop: 20,
        marginBottom: 8,
+        textAlign: 'center',
    },

Apply the horizontal padding 20px to the common BlockingView component as same horizontal padding we have in most of the content screens.

Apply the horizontal padding 20px to the common BlockingView component as same horizontal padding we have in most of the content screens.

Proposal
Apply some styling on both sides of the horizontal view by adding a style prop to the BlockingView component and applying it in the child component where the issue of the welcome message lies.
I can have this done and merged right away.

Proposal

In BlockingView:

    <View
-        style={[styles.flex1, styles.alignItemsCenter, styles.justifyContentCenter]}
+        style={[styles.flex1, styles.alignItemsCenter, styles.justifyContentCenter, styles.ph5]}
    >
        <Icon
            src={props.icon}
            fill={props.iconColor}
            width={variables.iconSizeSuperLarge}
            height={variables.iconSizeSuperLarge}
        />
        <Text style={[styles.notFoundTextHeader]}>{props.title}</Text>
-       <Text style={[styles.w70, styles.textAlignCenter]}>{props.subtitle}</Text>
+       <Text style={[styles.textAlignCenter]}>{props.subtitle}</Text>
    </View>

In styles.js

    notFoundTextHeader: {
        ...headlineFont,
        color: themeColors.heading,
        fontSize: variables.fontSizeXLarge,
        marginTop: 20,
        marginBottom: 8,
+       textAlign: 'center',
    },

Before:

After:

cc @shawnborton for your style uptake on this.

Also @mananjadhav and @francoisl can we select and assign a contributor?

I agree that we should be consistent here and just apply a padding of 20px to the view that wraps all of the empty state content.

-        <Text style={[styles.w70, styles.textAlignCenter]}>{props.subtitle}</Text>
+        <Text style={[styles.ph5, styles.textAlignCenter]}>{props.subtitle}</Text>

The above change I made bcoz the total width gets decreased by 40px(due to horizontal padding) and 70% width shrinked a subtitle, so I thought it's better to add some horizontal padding to the subtitle instead of a percentage which makes the width smaller for it compared to the title.

@daraksha-dk - seems like the header is left-aligned with your proposal, unlike the subtitle below.

@Elkaramany - friendly reminder that proposals should include a technical description of the changes you suggest - see Propose a solution for the job for more details. Thanks!
Other than that, @Pujan92 and @situchan's proposals are fairly similar, other than the first proposal adds another 20px horizontal padding on the subtitle. I think @situchan's proposal looks slightly better but that's a personal opinion. @shawnborton I'm curious if you have any preference.

@Pujan92's proposal
@situchan's proposal

Hmm I don't think we should add extra padding to the subtitle but not the title above it. So perhaps we could just wrap the whole thing in a view that has a padding of say 40px? I think that could look nice.

20px:

32px:

40px:

In Spanish:
20px:

32px:

40px:

@shawnborton I added screenshots with paddings of 20px (ph5), 32px (ph8), 40px.
We can use whatever is better looking

I think I like 40px the best, and it will match what we're doing with the new chat empty states as well which have 40px of padding.

Updated Proposal

In BlockingView:

    <View
-        style={[styles.flex1, styles.alignItemsCenter, styles.justifyContentCenter]}
+        style={[styles.flex1, styles.alignItemsCenter, styles.justifyContentCenter, styles.ph10]}
    >
        <Icon
            src={props.icon}
            fill={props.iconColor}
            width={variables.iconSizeSuperLarge}
            height={variables.iconSizeSuperLarge}
        />
        <Text style={[styles.notFoundTextHeader]}>{props.title}</Text>
-       <Text style={[styles.w70, styles.textAlignCenter]}>{props.subtitle}</Text>
+       <Text style={[styles.textAlignCenter]}>{props.subtitle}</Text>
    </View>

In styles.js

    notFoundTextHeader: {
        ...headlineFont,
        color: themeColors.heading,
        fontSize: variables.fontSizeXLarge,
        marginTop: 20,
        marginBottom: 8,
+       textAlign: 'center',
    },

In spacing.js, define new style:

+   ph10: {
+       paddingHorizontal: 40,
+   },

I think I like 40px the best, and it will match what we're doing with the new chat empty states as well which have 40px of padding.

@shawnborton I think for new chat empty state also we are having 20px as well.

Hmm I don't think we should add extra padding to the subtitle but not the title above it. So perhaps we could just wrap the whole thing in a view that has a padding of say 40px? I think that could look nice.

If we take out the width from the subtitle then in some cases it seems a bit overflowing compared to the title, I think that's why 70% width is given to it, and to replicate the same with the better way I thought to provide the padding.

@Pujan92 we have a new empty state design on the way that uses 40px: https://github.com/Expensify/App/pull/13647
Let's proceed with using 40px as the overall wrapper for this empty state content please. Thank you!

I can see @situchan actively posting updates on @shawnborton's requests. I see their proposal is inline with the expected behavior. It's good to go. What do you think @shawnborton?

Works for me if it works for @francoisl :)

Works for me, let's do it! @situchan let's go with your proposal. Thanks!

@francoisl @flaviadefaria are we okay to use the QA steps as a Regression proposal? or we expect @situchan send in another comment here in the issue?

Yes, using the QA steps to test for regressions moving forward works for me 👍

@flaviadefaria Can you please help with the payout? I've applied for the job post in the GH body.

@flaviadefaria @francoisl quick bump on the payout

I don't have payment access in Upwork, sorry! I'll check in with @flaviadefaria to make sure she saw this.

Sorry I was OoO last Friday and catching up yesterday. I'll issue payment today.
Also @francoisl @mananjadhav are you still going through this checklist? We can't close the issue until it's all checked off.

Thanks for the comment @flaviadefaria. The BlockingView component was added to the WorkspacesListPage in this PR. Hence I think it makes sense to tag this PR for regression.

@situchan was assigned to the issue on Jan 31st and their PR was merged on Feb 1st = 50% bonus
So both @situchan and @mananjadhav will receive a 50% bonus: $1000 + $500 = $1500

@mananjadhav you've been paid. @situchan I can't find you in Upwork, can you either apply for the job or share your first and last name in Upwork? Thanks!

@mananjadhav you've been paid. @situchan I can't find you in Upwork, can you either apply for the job or share your first and last name in Upwork? Thanks!

Situ Chandra Shil

@mananjadhav are these the QA steps you're suggesting we use in the regression test?

Login with any account
If language is English, switch to Spanish in Settings -> Preferences
Go to Settings -> Workspaces
Delete all workspaces if they present
Verify that title is centered and welcome message is NOT very close to the edge of the page
Verify that no errors appear in the JS console

@mananjadhav and @situchan you've both been paid.
@mananjadhav and @francoisl I've checked one of the tasks in this comment. Can you please look at the remaining ones with your names? Thanks!

👍 All done.


Publish to maven central

Can you publish this lib to maven central? It would:

Make it easier to add/update the dependency
Make it easier to manage transitive dependencies. ie: Depend on okhttp instead of shading it in the repo.

SDK published to maven central


removing root level python sols in favor of the python/ dir

as a final step in the effort to clean up the root directory, delete all the python solutions in root.
these all already exist in the python/ dir. ideally this happens ASAP to help avoid divergence with open/new PRs.
@neetcode-gh i'll let you handle merging this one because this will break links on the website, and you can make sure that things aren't broken for long!

Thanks for doing this, I'll merge it tomorrow after I update the links!

@neetcode-gh @mitchellirvin Love the new look and updates!
I am having an issue with this update though. I do like to look at the python and js code. Sometimes they're different and/or sometimes the javascript version does not exist.
This change makes it so that I now have to go back to the top and constantly switch between the two languages.
Any ideas on potentially adding an all option for the visible languages?
Once again, I'm super appreciate of all the hard work that's been put into this site!

hi @DanMossa ! i think that type of problem is maybe best solved by browser features (e.g. having two separate browser windows side by side), as opposed to trying to maintain duplicate solutions in different directory structures? I may be misunderstanding the problem, though!
if you type t in github, you can do a fast file search for the file you're looking for (if that helps at all!)


Cut v1.8.0

@grobie @brian-brazil @fabxc @juliusv @tomwilkie and whoever else.
Please also check if the wording in the CHANGELOG makes sense. I'm not overly familiar with some of the changes.

OK, all changes mentioned in the comments should be here now.

:+1:


⚠ Roblox TextFilter Api has degraded performance

In cc67035, Roblox TextFilter Api (https://textfilter.roblox.com) experienced degraded performance:

HTTP code: 503
Response time: 3642 ms

Resolved: Roblox TextFilter Api performance has improved in 14deb75.


Remove version: SBCL.SBCL version 2.2.4

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Package still available.;


other method in paper

other method in paper whether use the same four training dataset?
is it fair?

other method in paper whether use the same four training dataset?
is it fair?

Sorry but I am having trouble to understand your question.
You may use Chinese or othere languages if you find it's easier.

Since no further question is asked, I'm closing it for now.
Please reopen it or create a new issue if you have further question.


[BUG]Unexpected results if negative axis in mt.linalg.norm

Describe the bug
The result of mt.linalg norm is different from np.linalg.norm if axis is negative. See below for details:
In [21]: np.linalg.norm(np.random.rand(1330,3), axis=-1)
Out[21]:
array([0.8566685 , 1.31623791, 0.66768178, ..., 0.50399358, 0.51119494,
       0.74094714])

In [22]: np.linalg.norm(np.random.rand(1330,3), axis=-1).shape
Out[22]: (1330,)

In [24]: mt.linalg.norm(mt.random.rand(1330,3), axis=-1).shape
Out[24]: (1330, 3)

In [25]: mt.linalg.norm(mt.random.rand(1330,3), axis=-1).execute()
Out[25]: ---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
~/anaconda3/lib/python3.7/site-packages/IPython/core/formatters.py in __call__(self, obj)
    700                 type_pprinters=self.type_printers,
    701                 deferred_pprinters=self.deferred_printers)
--> 702             printer.pretty(obj)
    703             printer.flush()
    704             return stream.getvalue()

~/anaconda3/lib/python3.7/site-packages/IPython/lib/pretty.py in pretty(self, obj)
    392                         if cls is not object \
    393                                 and callable(cls.__dict__.get('__repr__')):
--> 394                             return _repr_pprint(obj, self, cycle)
    395
    396             return _default_pprint(obj, self, cycle)

~/anaconda3/lib/python3.7/site-packages/IPython/lib/pretty.py in _repr_pprint(obj, p, cycle)
    698     """A pprint that just redirects to the normal repr function."""
    699     # Find newlines and replace them with p.break_()
--> 700     output = repr(obj)
    701     lines = output.splitlines()
    702     with p.group():

~/anaconda3/lib/python3.7/site-packages/mars/core.py in __repr__(self)
    126
    127     def __repr__(self):
--> 128         return self._data.__repr__()
    129
    130     def _check_data(self, data):

~/anaconda3/lib/python3.7/site-packages/mars/tensor/core.py in __repr__(self)
    160
    161     def __repr__(self):
--> 162         return self._to_str(representation=True)
    163
    164     @property

~/anaconda3/lib/python3.7/site-packages/mars/tensor/core.py in _to_str(self, representation)
    148             threshold = print_options['threshold']
    149
--> 150             corner_data = fetch_corner_data(self, session=self._executed_sessions[-1])
    151             # if less than default threshold, just set it as default,
    152             # if not, set to corner_data.size - 1 make sure ... exists in repr

~/anaconda3/lib/python3.7/site-packages/mars/tensor/utils.py in fetch_corner_data(tensor, session)
    817             corners[indices] = tensor[tuple(slc)]
    818         # fetch together
--> 819         fetched = ExecutableTuple(corners.flat).fetch(session=session)
    820         for indices, f in zip(indices_iter, fetched):
    821             corners[indices] = f

~/anaconda3/lib/python3.7/site-packages/mars/core.py in fetch(self, session, **kw)
    675         if len(self) == 0:
    676             return tuple()
--> 677         return super().fetch(session=session, **kw)
    678
    679     def _attach_session(self, session):

~/anaconda3/lib/python3.7/site-packages/mars/core.py in fetch(self, session, **kw)
    377         if session is None:
    378             session = Session.default_or_local()
--> 379         return session.fetch(self, **kw)
    380
    381     def _attach_session(self, session):

~/anaconda3/lib/python3.7/site-packages/mars/session.py in fetch(self, *tileables, **kw)
    489             ret_list = True
    490
--> 491         result = self._sess.fetch(*tileables, **kw)
    492
    493         ret = []

~/anaconda3/lib/python3.7/site-packages/mars/session.py in fetch(self, n_parallel, *tileables, **kw)
    122         if n_parallel is None:
    123             kw['n_parallel'] = cpu_count()
--> 124         return self._executor.fetch_tileables(tileables, **kw)
    125
    126     def create_mutable_tensor(self, name, shape, dtype, fill_value=None, *args, **kwargs):

~/anaconda3/lib/python3.7/site-packages/mars/utils.py in _wrapped(*args, **kwargs)
    406                 _kernel_mode.eager = False
    407             _kernel_mode.eager_count = enter_eager_count + 1
--> 408             return func(*args, **kwargs)
    409         finally:
    410             _kernel_mode.eager_count -= 1

~/anaconda3/lib/python3.7/site-packages/mars/executor.py in fetch_tileables(self, tileables, **kw)
    970
    971         # if chunk executed, fetch chunk mechanism will be triggered in execute_tileables
--> 972         result = self.execute_tileables(tileables, **kw)
    973         for to_release_tileable in to_release_tileables:
    974             for c in get_tiled(to_release_tileable, mapping=tileable_optimized).chunks:

~/anaconda3/lib/python3.7/site-packages/mars/utils.py in _wrapped(*args, **kwargs)
    406                 _kernel_mode.eager = False
    407             _kernel_mode.eager_count = enter_eager_count + 1
--> 408             return func(*args, **kwargs)
    409         finally:
    410             _kernel_mode.eager_count -= 1

~/anaconda3/lib/python3.7/site-packages/mars/utils.py in inner(*args, **kwargs)
    500     def inner(*args, **kwargs):
    501         with build_mode():
--> 502             return func(*args, **kwargs)
    503     return inner
    504

~/anaconda3/lib/python3.7/site-packages/mars/executor.py in execute_tileables(self, tileables, fetch, n_parallel, n_thread, print_progress, mock, compose, name)
    878                                    n_parallel=n_parallel or n_thread,
    879                                    print_progress=print_progress, mock=mock,
--> 880                                    chunk_result=chunk_result)
    881
    882                 # update shape of tileable and its chunks whatever it's successful or not

~/anaconda3/lib/python3.7/site-packages/mars/executor.py in execute_graph(self, graph, keys, n_parallel, print_progress, mock, no_intermediate, compose, retval, chunk_result)
    688             print_progress=print_progress, mock=mock, mock_max_memory=self._mock_max_memory,
    689             fetch_keys=fetch_keys, no_intermediate=no_intermediate)
--> 690         res = graph_execution.execute(retval)
    691         self._mock_max_memory = max(self._mock_max_memory, graph_execution._mock_max_memory)
    692         if mock:

~/anaconda3/lib/python3.7/site-packages/mars/executor.py in execute(self, retval)
    569         # wait until all the futures completed
    570         for future in executed_futures:
--> 571             future.result()
    572
    573         if retval:

~/anaconda3/lib/python3.7/concurrent/futures/_base.py in result(self, timeout)
    426                 raise CancelledError()
    427             elif self._state == FINISHED:
--> 428                 return self.__get_result()
    429
    430             self._condition.wait(timeout)

~/anaconda3/lib/python3.7/concurrent/futures/_base.py in __get_result(self)
    382     def __get_result(self):
    383         if self._exception:
--> 384             raise self._exception
    385         else:
    386             return self._result

~/anaconda3/lib/python3.7/concurrent/futures/thread.py in run(self)
     55
     56         try:
---> 57             result = self.fn(*self.args, **self.kwargs)
     58         except BaseException as exc:
     59             self.future.set_exception(exc)

~/anaconda3/lib/python3.7/site-packages/mars/executor.py in _execute_operand(self, op)
    441             # so we pass the first operand's first output to Executor.handle
    442             first_op = ops[0]
--> 443             Executor.handle(first_op, results, self._mock)
    444
    445             # update maximal memory usage during execution

~/anaconda3/lib/python3.7/site-packages/mars/executor.py in handle(cls, op, results, mock)
    639                 # The `UFuncTypeError` was introduced by numpy#12593 since v1.17.0.
    640                 try:
--> 641                     return runner(results, op)
    642                 except UFuncTypeError as e:
    643                     raise TypeError(str(e)).with_traceback(sys.exc_info()[2]) from None

~/anaconda3/lib/python3.7/site-packages/mars/tensor/indexing/getitem.py in execute(cls, ctx, op)
     83         input_ = ctx[op.inputs[0].key]
     84         xp = get_array_module(input_)
---> 85         ret = xp.asarray(input_)[indexes]
     86         if hasattr(ret, 'astype'):
     87             ret = ret.astype(

IndexError: too many indices for array

Failed when displaying data, the execution should have finished. The possible issue is that the shape of norm is wrong.
For display purpose, Mars only fetch the corner data only, if the shape is wrong, the failure may emerge.

Failed when displaying data, the execution should have finished. The possible issue is that the shape of norm is wrong.
For display purpose, Mars only fetch the corner data only, if the shape is wrong, the failure may emerge.

Exactly, the wrong shape is the matter. Could you fix this please?

Failed when displaying data, the execution should have finished. The possible issue is that the shape of norm is wrong.
For display purpose, Mars only fetch the corner data only, if the shape is wrong, the failure may emerge.

Exactly, the wrong shape is the matter. Could you fix this please?

OK, I am working on it.

@YoshieraHuang I found that the master branch is fine, and I have checked that it's been resolved by #1499, maybe you didn't rebase the code?
Could you please check that again?

@YoshieraHuang I found that the master branch is fine, and I have checked that it's been resolved by #1499, maybe you didn't rebase the code?
Could you please check that again?

It works fine in the master branch. I will closs this issue. Thank you very much!!


iris.coords.Coord() gives me a TypeError

📰 Custom Issue

Hey guys, me again :grin: Silly question - I have this snippet:
import iris
print(iris.__version__)
import numpy as np

lat_coord = iris.coords.Coord(
    np.linspace(-90.0, 90.0, 100), var_name='lat',
    standard_name='latitude', long_name='latitude', units='degrees')

and in iris=3.0.1 gives me this malarkey:
/home/valeriu/miniconda3/envs/iris31/lib/python3.9/site-packages/iris/config.py:139: UserWarning: Ignoring config item 'Resources':'test_data_dir' (section:option) as '/home/h05/itwl/projects/git/iris-test-data/test_data' is not a valid directory path.
  warnings.warn(msg.format(section, option, c_path))
3.0.1
Traceback (most recent call last):
  File "/home/valeriu/ESMValTool/testcoord.py", line 5, in <module>
    lat_coord = iris.coords.Coord(
TypeError: Can't instantiate abstract class Coord with abstract method __init__

and in iris=2.4.0 it runs a-ok, with no warnings. First off, I don't understand the warning, it seems to be pointing to a location that's got nothing to do with me :grin: Second, why is it not constructing my coordinate? Looking at the latest documentation it seems support should be as previous version? Cheers muchly in advance, as usual, for great support :beer:

@valeriupredoi This is now the correct behavour.
The iris.coords.Coord is a base class and has now been made abstract i.e., you cannot create an instance of it, because you shouldn't.
Prior to iris 3.0.0 that wasn't the case. Essentially up to iris 2.4.0 we were allowing you to do the wrong thing. We've disallowed that not, for very good reasons.
You can only create a iris.coords.DimCoord or a iris.coords.AuxCoord. That's is.

@valeriupredoi This is now the correct behavour.
The iris.coords.Coord is a base class and has now been made abstract i.e., you cannot create an instance of it, because you shouldn't.
Prior to iris 3.0.0 that wasn't the case. Essentially up to iris 2.4.0 we were allowing you to do the wrong thing. We've disallowed that not, for very good reasons.
You can only create a iris.coords.DimCoord or a iris.coords.AuxCoord. That's is.

@valeriupredoi Does this help?
So either do:
lat_coord = iris.coords.DimCoord(
    np.linspace(-90.0, 90.0, 100), var_name='lat',
    standard_name='latitude', long_name='latitude', units='degrees')

or:
lat_coord = iris.coords.AuxCoord(
    np.linspace(-90.0, 90.0, 100), var_name='lat',
    standard_name='latitude', long_name='latitude', units='degrees')

@valeriupredoi Does this help?
So either do:
lat_coord = iris.coords.DimCoord(
    np.linspace(-90.0, 90.0, 100), var_name='lat',
    standard_name='latitude', long_name='latitude', units='degrees')

or:
lat_coord = iris.coords.AuxCoord(
    np.linspace(-90.0, 90.0, 100), var_name='lat',
    standard_name='latitude', long_name='latitude', units='degrees')

terrific! Cheers muchly @bjlittle - I would encourage you to either remove it from the latest API documentation or mention this explicitily there, I looked for this and the first point of entry was the API documentation :+1:

terrific! Cheers muchly @bjlittle - I would encourage you to either remove it from the latest API documentation or mention this explicitily there, I looked for this and the first point of entry was the API documentation :+1:

@valeriupredoi Will do - anything to stop confusion :+1:

@valeriupredoi Will do - anything to stop confusion :+1:

I'll keep this issue open until it's followed up with a suitable documentation change to clarify the abstract base class nature of iris.coords.Coord since iris 3.0.0

I'll keep this issue open until it's followed up with a suitable documentation change to clarify the abstract base class nature of iris.coords.Coord since iris 3.0.0

great! this is a pretty well-used function and changing its behaviour should have a few bright neon lights attached to it - at least for people like me that always forget the API and consult the manual oftentimes :grin:

great! this is a pretty well-used function and changing its behaviour should have a few bright neon lights attached to it - at least for people like me that always forget the API and consult the manual oftentimes :grin:

@valeriupredoi This issue has been closed by #3971.
The iris.coords.Coord doc-string has been updated to provide clarification that it is an abstract base class, and it is not possible to create an instance of it 👍

cheers @bjlittle :beer:


Any estimate on code release?

Hi,
at the end of january.
Marvin

Code is released. Sorry for the delay!


Offer R Client always when R is missing

I.e. ignore user setting if currently set R is not found.

https://github.com/Microsoft/RTVS/commit/828b4e3919cbed507a4d0f51b621b00a7fc8c25b


Align with Vaadin components naming convention

Align element class names, tag names and namespaces with the rest of Vaadin components.

This change is

Pull Request Test Coverage Report for Build 223

21 of 21 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 98.276%

Totals

Change from base Build 212:
0.05%

Covered Lines:
82

Relevant Lines:
82

💛  - Coveralls


cryptography.fernet.InvalidToken

If I try to login with my Account the Console gives me:
Traceback (most recent call last):
File "/Users/bwlok/Library/Python/3.9/lib/python/site-packages/cryptography/fernet.py", line 127, in _verify_signature
h.verify(data[-32:])
File "/Users/bwlok/Library/Python/3.9/lib/python/site-packages/cryptography/hazmat/primitives/hmac.py", line 72, in verify
ctx.verify(signature)
File "/Users/bwlok/Library/Python/3.9/lib/python/site-packages/cryptography/hazmat/backends/openssl/hmac.py", line 85, in verify
raise InvalidSignature("Signature did not match digest.")
cryptography.exceptions.InvalidSignature: Signature did not match digest.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/bwlok/Music/Matrix.py", line 18, in
bot.run()
File "/Users/bwlok/Library/Python/3.9/lib/python/site-packages/simplematrixbotlib/bot.py", line 84, in run
asyncio.run(self.main())
File "/Applications/Xcode-beta.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/Applications/Xcode-beta.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/Users/bwlok/Library/Python/3.9/lib/python/site-packages/simplematrixbotlib/bot.py", line 43, in main
self.creds.session_read_file()
File "/Users/bwlok/Library/Python/3.9/lib/python/site-packages/simplematrixbotlib/auth.py", line 89, in session_read_file
decrypted_session_data = fw.decrypt(
File "/Users/bwlok/Library/Python/3.9/lib/python/site-packages/fernet_wrapper/init.py", line 37, in decrypt
data = str(f.decrypt(token))
File "/Users/bwlok/Library/Python/3.9/lib/python/site-packages/cryptography/fernet.py", line 88, in decrypt
return self._decrypt_data(data, timestamp, time_info)
File "/Users/bwlok/Library/Python/3.9/lib/python/site-packages/cryptography/fernet.py", line 145, in _decrypt_data
self._verify_signature(data)
File "/Users/bwlok/Library/Python/3.9/lib/python/site-packages/cryptography/fernet.py", line 129, in _verify_signature
raise InvalidToken
cryptography.fernet.InvalidToken
Does anyone know how I can fix this?

I am experiencing a similar issue. Same token in js client library doesn't raise an error. Do you know how can I fix it?

Deleting session.txt should provide a temporary fix.


Channel down - can't reconnet to peer "Already have xx persistent connection requests for"

Background
I did upgrade of my Umbrel node to lightninglabs/lnd:v0.15.0-beta, after upgrade I had two people using MyNode offline. After 6 hours one channel was forceclosed (from my side) without any interaction and second channel is still offline. I cannot see peer in Peers and I cannot add it there.
Only information which I can find in logs toward offline channel is following:
2022-07-29 21:00:00.881 [WRN] SRVR: Already have 254 persistent connection requests for 032be0dd6f553c93ebb1b18520dfcc83d2b24d2c225b613434a59730762362051b@fmoyb3neophnklvkvl7u7jhl
66qtlofl5qwqsocjr4vezjyf4swakxad.onion:9735, connecting anyway.
2022-07-29 21:00:01.707 [WRN] SRVR: Already have 255 persistent connection requests for 032be0dd6f553c93ebb1b18520dfcc83d2b24d2c225b613434a59730762362051b@fmoyb3neophnklvkvl7u7jhl
66qtlofl5qwqsocjr4vezjyf4swakxad.onion:9735, connecting anyway.
2022-07-29 21:00:03.331 [WRN] SRVR: Already have 256 persistent connection requests for 032be0dd6f553c93ebb1b18520dfcc83d2b24d2c225b613434a59730762362051b@fmoyb3neophnklvkvl7u7jhl
66qtlofl5qwqsocjr4vezjyf4swakxad.onion:9735, connecting anyway.
2022-07-29 21:00:06.567 [WRN] SRVR: Already have 257 persistent connection requests for 032be0dd6f553c93ebb1b18520dfcc83d2b24d2c225b613434a59730762362051b@fmoyb3neophnklvkvl7u7jhl
66qtlofl5qwqsocjr4vezjyf4swakxad.onion:9735, connecting anyway.
2022-07-29 21:00:12.986 [WRN] SRVR: Already have 258 persistent connection requests for 032be0dd6f553c93ebb1b18520dfcc83d2b24d2c225b613434a59730762362051b@fmoyb3neophnklvkvl7u7jhl
66qtlofl5qwqsocjr4vezjyf4swakxad.onion:9735, connecting anyway.
2022-07-29 21:00:25.803 [WRN] SRVR: Already have 259 persistent connection requests for 032be0dd6f553c93ebb1b18520dfcc83d2b24d2c225b613434a59730762362051b@fmoyb3neophnklvkvl7u7jhl
66qtlofl5qwqsocjr4vezjyf4swakxad.onion:9735, connecting anyway.
2022-07-29 21:00:51.428 [WRN] SRVR: Already have 260 persistent connection requests for 032be0dd6f553c93ebb1b18520dfcc83d2b24d2c225b613434a59730762362051b@fmoyb3neophnklvkvl7u7jhl
66qtlofl5qwqsocjr4vezjyf4swakxad.onion:9735, connecting anyway.

This message increase the number if I try to add it to peers.
Your environment

lnd: 0.15.0-beta
Linux umbrel 5.10.103-v8+ # 1529 SMP PREEMPT Tue Mar 8 12:26:46 GMT 2022 aarch64 GNU/Linux
lncm/bitcoind:v22.0

Steps to reproduce
I did upgrade from Umbrel 0.4.18 (using LND 0.14.2-beta) to Umbrel 0.5.1 (using 0.15.0-beta).
Expected behaviour
Channels should be online
Actual behaviour
Channels are offline

I just tried connecting to that peer and it seems to be offline.
You seem to have some script running thats trying to add connections to that peer, which results in those spammy logs.
If you know the person running the node, maybe try contacting them if they experience any issues?

I see him online now.. Closing for now. Sorry :)


Height And Width Flex Playground Not Working

There appears to be some faulty Markdown causing an issue with rendering. Oddly, I swear this worked for me a few days ago and that document says it hasn't been updated in 28 days.

Not sure if the four tick marks means something special like a directive in Docosaurus, but usually code blocks are three ticks.

This is working fine on my computer, at least. Can you try in Guest or Private browsing mode?

I use the Brave browser, but in private mode still the same thing for me. I don't have Chrome installed so I can't say how that looks, but I have had issues rendering things with Chromium-based browsers that aren't Chrome before.
In Safari, the preview doesn't even show up for me.

I feel like this wasn't the case last week with the same browser. I'm not sure how often you run builds but looks like something changed.


Move the queueGettingStarted to the examples\samples folder

Move the queueGettingStarted to the examples\samples folder #56
@AlexGhiondea @ramya-rao-a

@ShivangiReja if what @ramya-rao-a doesn't work and the submodule gets added again, I suspect that your repo might be in a bad state. Let's take a look at it tomorrow!

The submodule gets added again, followed all the @ramya-rao-a steps but it didn't work.
@AlexGhiondea

@ShivangiReja I think it is time to try and re-clone the repo and try again!


Bump borsh to v1

Closes: #1244
Description

PR author checklist:

[ ] Added changelog entry, using unclog.
[ ] Added tests.
[ ] Linked to GitHub issue.
[ ] Updated code comments and documentation (e.g., docs/).
[ ] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

Thanks for taking care of this, Sean! Can you open an PR on basecoin side to test this update?


Automatically validate location data of POI model

Motivation

At the moment, it is possible to insert incorrect data for the exact position of POIs. Since there are many possible pitfalls when creating POIs, we should validate the input and auto-fill as much as possible.
And since the map feature of the app breaks when we deliver incorrect data, this should ideally be implemented before the initial production release.
Proposed Solution

Possible ideas (check effort vs. usability on each step):

[ ] Validate whether an address format is correct
[ ] Validate whether a street exists in the given city
[ ] Suggest available streets on the selected city
[ ] Auto-fill city after zip code has been inserted
[x] Auto-fill coordinates after address is complete
[ ] If coordinates are manually changed after auto-fill, check for consistency with the address data and raise a warning if the positions are completely off

Check which data sources and APIs can be used for this task.
Alternatives

Additional Context

Honestly, I do not think that this is that important. As with all content that is created in the app, the content creators need to take care that everything is "correct". I think it would be most important to show a preview of the location on a small embedded map to simply show where the location actually is on a map. I would also argue that this is not necessary for a release.

I agree with Sven, a validation is surely a nice thing to have, but the wordpress doesn't have it. Therefore I suggest to postpone it to Version 2.0 and add the prio:high label.

Alright, seems reasonable! :+1:

We could use our geocoding service for this:
http://nominatim.maps.tuerantuer.org/nominatim/search.php?street=Am Bühl&postalcode=86199
API documentation: https://nominatim.org/release-docs/develop/api/Overview/

Isn't that also related to #1035 ?

Isn't that also related to #1035 ?

Yes, it's related, but can be implemented independently of each other.

Since this is now mostly done, I decreased the prio of the remaining tasks and moved it back into the backlog


install instruction updates, harmonize w/ tools page

Edits to the "Getting Started" and "Toolkit" pages:

better use of tables to present lists of software
links to introductory tutorials
tweaks to theming

ready for re-review


RFC: bit32.countlz/countrz

Rendered link

Could this be expanded to include a bit32.popcount while you're at it?

We've discussed popcount internally last week yeah. The reason why this wasn't part of this RFC is that it's a somewhat less commonly used operation, and, crucially, it's not actually supported in hardware in a lot of the cases (e.g. x86 support for it requires SSE4), so our implementation would need to emulate it. Which is not the end of the world - it's still going to be faster than a Luau polyfill - but it makes it less attractive.
It could still make sense to do but that's why we didn't have this as part of the RFC.


jq is not installed

Getting an error that jq is not installed. When I try to install it, it says "trying to overwrite '/usr/bin/jq', which is also in package ubnt-util 0.1.29+t5274261-dev-v1.10.11-095c25c". I'm assuming this is installed as part of the base image and dpkg isn't recognizing that?
I'm on an Edgerouter-X running v1.10.11-095c25c.

The question is if it is there, why isnt it recognized?
Is /usr/bin/ part of your PATH? I think so. Everthing else would be crazy.
The onyl place where we use jq is at the firmware status collection. Is it working without firmware stats?

Could you find out whats wrong here?


[DataFactory]Added new features into 4.19.0

Support sheetIndex in excel and set sheetName from required to optional:https://github.com/Azure/azure-rest-api-specs/pull/14062

Support user-assigned managed identity in SSIS-IR :https://github.com/Azure/azure-rest-api-specs/pull/14114

Set filePattern to object type to allow expressions
-Improve enum with object type in LS and DS swagger  :https://github.com/Azure/azure-rest-api-specs/pull/14160

All SDK Contribution checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] Please open PR in Draft mode if it is:

Work in progress or not intended to be merged.
Encountering multiple pipeline failures and working on fixes.

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code. (Track 2 only)
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK. Please double check nuget.org current release version.

Additional management plane SDK specific contribution checklist:
Note: Only applies to Microsoft.Azure.Management.[RP] or Azure.ResourceManager.[RP]

[ ] Include updated management metadata.
[ ] Update AzureRP.props to add/remove version info to maintain up to date API versions.

Management plane SDK Troubleshooting

If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add new service label and/or contact assigned reviewer.

If the check fails at the Verify Code Generation step, please ensure:

Do not modify any code in generated folders.
Do not selectively include/remove generated files in the PR.
Do use generate.ps1/cmd to generate this PR instead of calling autorest directly.
Please pay attention to the @microsoft.csharp version output after running generate.ps1. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version.

Note: We have recently updated the PSH module called by generate.ps1 to emit additional data. This would help reduce/eliminate the Code Verification check error. Please run following command:
  `dotnet msbuild eng/mgmt.proj /t:Util /p:UtilityName=InstallPsModules`

Old outstanding PR cleanup
Please note:
If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.

@allenjzhang  Could you please help to review this pr?

@allenjzhang  Could you please help to review this pr again? Thanks.


Ensure attestation slot and target epoch are coherent

v0.9.3 (ethereum/eth2.0-specs#1509)

already resolved in https://github.com/ChainSafe/lodestar/pull/632


Istio ambient multi-cluster issue

Is this the right place to submit this?

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

Bug Description
Hello Istio Team,
I am encountering some difficulties implementing the multi-cluster mode with Istio, and I have found conflicting information between the official documentation and various online blogs. According to Istio's official documentation, it seems that the multi-cluster mode is not currently supported in ambient mode. However, I have come across some blogs that claim it is possible to configure Istio in ambient mode to operate with multi-cluster.
I would like to know:

If the multi-cluster mode is not supported, what are the technical limitations or main reasons preventing this functionality?
If the multi-cluster mode is supported, could you provide a guide or detailed example on how to properly configure the clusters?

Until now  I have installed Istio Ambient in two clusters. I managed to get communication working in Ambient mode within the same cluster and in Sidecar mode between the two clusters. However, when I try to communicate between a pod in Sidecar mode on cluster1 and a service in Ambient mode on cluster2, I receive a 503 error. Additionally, if I try to communicate between Ambient and Ambient or between Ambient and Sidecar, the service cannot be resolved.
Any clarification would be greatly appreciated, as this functionality is crucial for our current project.
Thank you in advance for your support.
Best regards
Roberto Di Stefano
Version
$ istioctl version
client version: 1.21.0
control plane version: 1.23.3
data plane version: 1.23.3 (21 proxies)

$ kubectl version
Client Version: v1.21.14
Server Version: v1.30.7

Additional Information
No response

https://docs.google.com/document/d/1Wg6sx9ZUJL4AsHj5wM1kMx3E436s5wg2qoMqoI-bqbQ/edit?tab=t.0#heading=h.ppr0kg59hrq3

Istio ambient does not support multicluster in any form currently. If you see any official docs stating otherwise let us know and we can fix those up.


ONSP-2040 Removes token from RESET response and fixes observation termination

Codecov Report

Merging #9 into master will decrease coverage by 0.05%.
The diff coverage is 87.5%.

@@             Coverage Diff              @@
##             master       #9      +/-   ##
============================================
- Coverage     78.68%   78.62%   -0.06%
  Complexity     1408     1408
============================================
  Files            99       99
  Lines          4190     4188       -2
  Branches        623      622       -1
============================================
- Hits           3297     3293       -4
- Misses          558      562       +4
+ Partials        335      333       -2

Impacted Files
Coverage Δ
Complexity Δ

...om/mbed/coap/server/internal/CoapExchangeImpl.java
88.31% <ø> (-0.15%)
19 <0> (ø)

...om/mbed/coap/observe/SimpleObservableResource.java
81.81% <100%> (ø)
7 <1> (ø)
:arrow_down:

.../mbed/coap/observe/AbstractObservableResource.java
70.54% <86.66%> (-1.77%)
26 <2> (-2)

...ap/transport/javassl/SSLSocketClientTransport.java
65.95% <0%> (-6.39%)
9% <0%> (ø)

...om/mbed/coap/server/internal/TransactionQueue.java
92.4% <0%> (+1.26%)
39% <0%> (+1%)
:arrow_up:

...-core/src/main/java/com/mbed/coap/packet/Code.java
89.74% <0%> (+2.56%)
8% <0%> (+1%)
:arrow_up:

...oap/server/internal/DelayedTransactionManager.java
94.11% <0%> (+5.88%)
8% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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


Organizational Question ?

Greetings,
Would it be possible to create an index.js file as a rollup export of all components.
This way we can use syntax in es6 like so :
`import { Button , Layout } from 'react-toolbox';
It's not a huge problem, but when doing rapid development. it's a lot easier than trying to remember which components are in which directory.

Isn't it this one? The problem with that kind of import is that you will be bundling all components even though you're not actually using them

yup, this already works.
try import { Button, Layout } from 'react-toolbox/lib'
The lib is an artifact of the way react-toolbox handles npm releases, but that is a separate issue.