My errors after update

login failed... Response code: 401
2024-09-14 12:13:15 | INFO     | 889 - Sleep 286 seconds...
{"message":"sign is missing"}

2024-09-14 12:12:50 | ERROR    | 201 - +NUMBER| Unknown error during Authorization: Telegram says: [420 FLOOD_WAIT_X] - A wait of 246 seconds is required (caused by "contacts.ResolveUsername")
Traceback (most recent call last):
  File "/root/Rocky-Rabbit-Bot/venv/lib/python3.10/site-packages/requests/models.py", line 974, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/Rocky-Rabbit-Bot/bot/core/tapper.py", line 227, in acount_init
    print(response.json())
  File "/root/Rocky-Rabbit-Bot/venv/lib/python3.10/site-packages/requests/models.py", line 978, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

The sever is updating


community[minor]: Add SQL storage implementation

Hello @eyurtsev

package: langchain-comminity
Description: Add SQL implementation for docstore. A new implementation, in line with my other PR (async PGVector, SQLChatMessageMemory)
Twitter handler: pprados

@eyurtsev
It's correct now, but Merging is blocked because "@eyurtsev requested changes".
Please, can you check this other Add async mode for pgvector ? it has been blocked for 3 weeks because "@eyurtsev requested changes", but I can't find the changes I want, so I can't validate them


gateways from meshNetworks are not picked up when using ServiceEntries

Bug description
Gateways from meshNetworks are not picked up when using ServiceEntries.
I would like to route every request from a specific CIDR block via a remote gateway. For example, route every request to *.mycompany.local (cidr <IP_ADDRESS>/24) to a remote gateway <IP_ADDRESS>:443 inside the mesh.
Note than not everything undert *.mycompany.local will be routed via the gateway, only whatever resolves within the cird <IP_ADDRESS>/24. For example foo.mycompany.local (<IP_ADDRESS>) should be routed via the gateway but bar.mycompany.local (10.456.0.1) should not.
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Requests to *.mycompany.io should be routed via the gateway specified  in the meshNetworks settings when the resolved IP matches the given CIDR block.
Steps to reproduce the bug

I created the following entries:

---
# values.yaml
global:
  meshNetworks:
    remote:
      endpoints:
      - fromCidr: "<IP_ADDRESS>/24"
      gateways:
      - address: <IP_ADDRESS>
        port: 443
---
# se.yaml
# Here i am creating a foo.mycomany.local with hardcoded endpoints. In real life I am creating
# *.mycompany.local without specifying any endpoints (DNS resolution). The result is the same.
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: internal
  namespace: default
spec:
  addresses: []
  hosts:
  - foo.mycompany.local
  location: MESH_INTERNAL
  endpoints:
  - address: <IP_ADDRESS>
     ports:
       http: 443
  resolution: DNS
  ports:
  - number: 80
    name: http
    protocol: HTTP

Create a curl pod

kubectl run -ti --image tutum/curl --generator=run-pod/v1 curl --rm

Check the proxy endpoints

  istioctl pc endpoints curl | grep mycompany
  > <IP_ADDRESS>:443         HEALTHY     outbound|80||*.mycompany.local

Version (include the output of istioctl version --remote and kubectl version)

Istio 1.2.2

client version: 1.2.2
citadel version: 1.2.2
galley version: 1.2.2
ingressgateway version: 1.2.2
pilot version: 1.2.2
policy version: 1.2.2
sidecar-injector version: 1.2.2
telemetry version: 1.2.2

kops cluster with kubernetes 1.12.9

How was Istio installed?

Using helm

Environment where bug was observed (cloud vendor, OS, etc)

kops cluster
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

Anyone?


Setup Script Missing

Link on the readme.md seems to be broken.

Can you provide the line number and commit -ash, please?

No more details to add.


Simplify Balancer pool initialization.

This PR simplifies Balancer pool initialization to get rid of some duplicate code. Specifically, we no longer eagerly split graph_api::PoolData into one field for each factory. We now get a list of pool data and convert it into each of the factory's PoolInfo type (i.e. immutable pool information) when initializing each factory's registry.
Again this is in the spirit of making adding new pool types easier (so the boiler plate of splitting out the PoolData for a specific factory is no longer needed).
Test Plan
Added unit test for new registered pool grouping logic.

Codecov Report

Merging #1487 (02cbde3) into refactor-balancer-cleanup-0 (b1a24ac) will decrease coverage by 0.09%.
The diff coverage is 60.48%.

@@                       Coverage Diff                       @@
##           refactor-balancer-cleanup-0    #1487      +/-   ##
===============================================================
- Coverage                        66.07%   65.97%   -0.10%
===============================================================
  Files                              161      161
  Lines                            30545    30400     -145
===============================================================
- Hits                             20182    20057     -125
+ Misses                           10363    10343      -20


Google would like to have ico file with size 192x192 switch size in generation

This icon is already generated. Did I miss something?


cacert: remove dependency on LWP

Things done

[X] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

The mk-ca-bundle.pl script manages quite well using only curl but fails without LWP being present due to a use statement. This removes the Perl import of the LWP library and adds curl as a build input. This should reduce large rebuilds of unrelated packages when things like, for example, perlPackages.HTTPDate are touched.
I have not done a full nox-review wip on this but I have verified that it produces the same ca-bundle.crt file as before the change.
CC maintainer @wkennington

Any opposition to me merging this?

Since there were no opposition I've merged this in commit 96fc1e19b84469ab5822b03d3ce555cc5f7fb9c0.


Duplicate VM Names

Most of the xHyper-V resources use the VM name as the primary key. Unfortunately, it's possible to have 2 (or more) VMs on the host with the same name. Whilst supporting VMs with duplicate names can't be achieved with these DSC resources, we need to ensure that any occurrence is handled appropriately.
There should be a helper function added to HyperVCommon to handle checking and properly throwing an error if multiple VMs are found. Something similar to https://github.com/PowerShell/xHyper-V/blob/dev/DSCResources/MSFT_xVMHyperV/MSFT_xVMHyperV.psm1#L55-L59.
This function can then be retro-fitted into all resources that call Get-VM.

@bgelens I'll cover this one off in #31 and #66


?Format=plist Issues

So my file plist is not mapping correctly. If I do "myip/api/2/apps/appname?format=ipa" the file downloads perfect. If I do the same thing but ?format=plist I get this error.
This page contains the following errors:
error on line 2 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.
IE told me this :
XML5632: Only one root element is allowed.
Any Ideas?

Please check my answer in #182


[zh]Update concepts pages(part-4) for links with '/zh/' prefix, using new prefix '/zh-cn/'

relate issue: https://github.com/kubernetes/website/issues/34501, task-6

Yes. It is risky, given the number of files these PRs touch. We have to get these merged asap. Or else there will need a huge number of rebases.

Yes. It is risky, given the number of files these PRs touch. We have to get these merged asap. Or else there will need a huge number of rebases.

got it, on my way

/lgtm
/approve


Fix #1

Before this change, when generating composables for example:
<string name="welcome">Welcome back!</string>

Duplicates were made:
context(Context)
@Composable
@ReadOnlyComposable
public inline fun Strings.welcome(): CharSequence = stringResource(R.string.welcome)

context(Fragment)
@Composable
@ReadOnlyComposable
public inline fun Strings.welcome(): CharSequence = stringResource(R.string.welcome)

After:
@Composable
@ReadOnlyComposable
public inline fun Strings.welcome(): CharSequence = stringResource(R.string.welcome)

Would you mind updating the expectations in tests?

I'll take a look at it asap.


Adding a software packages object

Adding software packages object. To be used, not limited to, for representing details about a packages affected by vulnerabilities in a security finding event.
Signed-off-by: Rajas<EMAIL_ADDRESS>

Also, package may have direct vulnerability or vulnerability from dependency.

We may want to add "license" as an optional string attribute.

@irakledibm What description do you have in mind for that attribute? We can add one accordingly

@floydtree Something like "Apache 2.0" or "MIT" etc. Here are some examples:
https://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12/2.0.4
https://mvnrepository.com/artifact/org.webjars.bowergithub.polymer/lazy-imports
https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient


[Request] Enchanter Automation

It would be nice if the Enchanter would be able to take the required Experience from an Experience Obelisk or pipes/conduits (I think many other machines are already able to?).
While at it could it be changed so that the Enchanter accepts items from automation systems such as ME export / import buses?

Am I right that this issue is closed without any comments or fix?

Correct

nah, got a comment for you...

could you guys please implement this a automation would be really nice


[ZEPPELIN-51] Download link and release note to the first release

Vote for 0.5.0-incubating release has passed in general@ incubator mailing list (here's vote result).
This PR trying to update download page and add release note on website before the release announcement.
I have listed contributors since 0.4.0 (it was out side of Apache incubation) in release note. Please let me know if there're contributions i missed.

Congrat!!

+1

Congrats all!!

Congratulations, and looks awesome to me! Let's merge


Expose the Polars SQL API?

https://crates.io/crates/polars-sql
https://docs.rs/polars-sql/0.36.2/polars_sql/fn.sql_expr.html
https://docs.pola.rs/py-polars/html/reference/sql
I'm not a huge fan of python polars here with registering etc explicitly. It feels very... Spark-ish to me.
I like the way dplyr allows you to just write sql(...). https://dbplyr.tidyverse.org/articles/sql.html
We could have Explorer.DataFrame.sql(df|lf, "statement").
I'm very open to differing opinions on this!

At first, I am -1, unless we have a very strong use case for this. Explorer is meant to be agnostic, and we work hard for this to be the case, but the sql semantics would be necessarily tied to polars here.

It definitely is a big win for OLAP use cases. I'm not sure I understand why we'd be tied to Polars SQL semantics here -- for an explorer_sql backend it can just be passed through directly. Backends don't necessarily have to support it. And it can be documented that the accepted SQL queries depend on the backend.

In explorer_sql, sql is how you load data into memory. Polars SQL is a language for manipulating an existing in-memory dataframe. So they sit at different levels. And if I use Polars SQL to manipulate a Polars DataFrame, I won't be able to use to manipulate a Explorer SQL dataframe.

Ah but that's not how I'm imagining explorer_sql -- the idea is not  just to load the data into memory (in which case there's no point -- just use ADBC or whatever else) but to convert Explorer functions to SQL and run the queries on the database itself until you pull it down. dbplyr uses tmp tables. You can also fix to actual tables.
I don't see a problem with the SQL syntax being backend dependent -- since it's passing through it would be handled by the backend anyway. This is also how dbplyr works.

Interesting. That would indeed close the gap, so I am ok with going down this path, although I wonder if we should tackle Explorer SQL first to have a better of how it will all connect. :)

I'm cool with that! Though I'm pretty adamant that in explorer_sql this function would basically just act as a transparent 'passthrough' escape hatch, permitting you to run raw SQL on the db directly.

I'm super +1 on SQL interop, and if either exposing the Polars SQL API or working on Explorer SQL are the path forward, then I'm behind them.
I admit I'm still unclear on:

the specific use cases we want to prioritize
what roles the different layers (Explorer's API, Explorer's specific backends, Polars SQL API, SQL itself, etc.) will play

Wrapping my head around that those things is my personal barrier to +1 to either specific approach. I'm not against either! I just don't think I have all the facts yet.
In particular, I think outlining a few specific use cases with pseudo-code would be instructive. I can't tell, for instance, how lazy frames play with this feature.

I don't see a problem with the SQL syntax being backend dependent -- since it's passing through it would be handled by the backend anyway. This is also how dbplyr works if I'm not mistaken.

I have just realized that, we don't use the exact same names as polars. So if we expose polars_sql, it would start to feel very janky. For example, nil vs null and probably several others. So ultimately, I believe I am a -1 on this approach. If we want to go down this road, it may make more sense to introduce our own SQL that compiles down to dataframe operations.


Distinguish same foreign key constraint on multiple columns

When there are multiple constraints that refer to the same data in one table,
Ridgepole cannot distinguish between the two constraints and considers them as duplicate operations, and an error occurs.
e.g.
ActiveRecord::Schema.define(version: 2019_07_11_071444) do

  create_table "direct_messages", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t|
    t.bigint "sender_id"
    t.bigint "reciever_id"
    t.text "body"
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
    t.index ["reciever_id"], name: "index_direct_messages_on_reciever_id"
    t.index ["sender_id"], name: "index_direct_messages_on_sender_id"
  end

  create_table "users", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t|
    t.string "email"
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
  end

  add_foreign_key "direct_messages", "users", column: "reciever_id"
  add_foreign_key "direct_messages", "users", column: "sender_id"
end

Therefore, This PR makes Ridgepole distinguish from column name options as foreign key constraints.
Thanks for your great product.
Additional Information

https://github.com/nagamoto/sample-rails-app/pull/1
https://github.com/nagamoto/sample-rails-app/pull/2

*These link destinations are written in Japanese

Thank you!

v0.7.8 has been released.


Update change log

Update 7.2.4 change log.

Doc only change, merging.

Coverage increased (+2.7%) to 82.961% when pulling 90c84c3054d780da225c3ea14e6afe4c8ae68162 on changeLog into a1c2dc6d7c5652fbc1058c2d0609f756f9d0b5ee on 7.2-release.


subjects: fetch and cache long scheme names

closes https://github.com/inveniosoftware/invenio-app-rdm/issues/977
Note: if caching seems fine I will add tests for this functionality

I'm closing this PR as it needs another method to be used. Keeping issue open and it's still linked with this PR


Get string from event

How do I get the string from the event emitted by the server?

I figured it out by using
data->get_string();


how-to: move k8s guide into a dedicate how-to md

k8s how-to: rewrite intro and introduce cri-o RuntimeClass
Update the k8s Kata guide introduction, and specify RuntimeClass option
for CRI-O 1.12+.

how-to: improve landing README.md
Improve landing README.md by categorizing howto guides.

how-to: move k8s guide into a dedicate how-to md
Create a dedicate how-to guide for running Kata with k8s, and link to it
from the original guide location inside the Developer Guide.

Fixes: #333
Signed-off-by: Marco Vedovati<EMAIL_ADDRESS>

@jodh-intel I dont understand why the check-markdown is complainig about:
FATA[0000] file="how-to/run-kata-with-k8s.md": failed to find heading for link "kubernetes-runtimeclass-cri-o-v112" ({Doc:how-to/run-kata-with-k8s.md Address:kubernetes-runtimeclass-cri-o-v112 ResolvedPath: Description:Kubernetes RuntimeClass (CRI-O v1.12 ) Type:internal-link})  commit=5d201affb91ac8446d2a7a86b86deab517af8d85 name=kata-check-markdown pid=6601 source=check-markdown version=0.0.1

@jodh-intel I dont understand why the check-markdown is complainig about:
FATA[0000] file="how-to/run-kata-with-k8s.md": failed to find heading for link "kubernetes-runtimeclass-cri-o-v112" ({Doc:how-to/run-kata-with-k8s.md Address:kubernetes-runtimeclass-cri-o-v112 ResolvedPath: Description:Kubernetes RuntimeClass (CRI-O v1.12 ) Type:internal-link})  commit=5d201affb91ac8446d2a7a86b86deab517af8d85 name=kata-check-markdown pid=6601 source=check-markdown version=0.0.1

It's failing because the markdown checker does not like this:
> ```
> codeblock
> ```

# New section

Replace it with:
> ````
> codeblock
> ````

# New section

/test

@marcov - ugh. That might be another bug with the blackfriday markdown parser we use (our tool already has to work around some issues with that package).

the > ``` could be a render issue. Kudos @marcov for knowing about ```` ;-) - we have only had to use that once before I think to code block ```'s :-)

We need a review over here folks.


Update Reason syntax

Relevant to #47.

[ ] punned arguments

@chenglou what other stuff has changed since the highlighter was submitted for inclusion into linguist for github?

There might be a few coming up, but nothing set in stone yet.

Should be fixed now.


Do guest template expansion for provisioning scripts

The LIMA_CIDATA_* variables are not a supported API and can change without warning.
Fixes #2055

A nice thing about this change, is that we can do provisioning without implying cloud-init (cidata).


SQL Synk Implementation

Do you have a SQL Sink in PoshLog?

Hi, no, not yet. But I have prepared draft of this sink months ago, so I might publish preview in couple of days.

That would be great
Tks

Hi,
here is prototype that you can test out - https://www.powershellgallery.com/packages/PoShLog.Sinks.MSSqlServer/1.0.0-preview1
Install it with: Install-Module PoShLog.Sinks.MSSqlServer -AllowPrerelease
and use it like this(don't forget to change your ConnectionString):
Import-Module PoShLog
Import-Module PoShLog.Sinks.MSSqlServer

# Serilog's selflog just in case you get any errors
[Serilog.Debugging.SelfLog]::Enable({ param([string]$msg) Write-Warning $msg })

New-Logger |
	Add-SinkMSSqlServer -ConnectionString 'Server=.;Database=dummy;Integrated Security=SSPI;' -TableName 'LogEvents' -AutoCreateSqlTable |
	Add-SinkConsole | # You can ommit this sink
	Start-Logger

Write-InfoLog 'Test from {Where}' -PropertyValues 'PowerShell'

Close-Logger

The snippet above should create table LogEvents in your db and log single message into it.

Try it and let me know how it works 👍
Note
I had trouble implementing it on both Windows PowerShell and PowerShell Core because there is bug in Microsoft.Data.SqlClient.dll and I think even in System.Data.SqlClient.dll, see this issue. In the end I had to use different versions of Serilog.Sinks.MSSqlServer on each platform.

hm, no feedback 😞, closing the issue

Hi, here is prototype that you can test out - https://www.powershellgallery.com/packages/PoShLog.Sinks.MSSqlServer/1.0.0-preview1 Install it with: Install-Module PoShLog.Sinks.MSSqlServer -AllowPrerelease
....
Note I had trouble implementing it on both Windows PowerShell and PowerShell Core because there is bug in Microsoft.Data.SqlClient.dll and I think even in System.Data.SqlClient.dll, see this issue. In the end I had to use different versions of Serilog.Sinks.MSSqlServer on each platform.

Many thanks for developing this event sink - Unfortunately I have run into a slight conflict between it and the Microsoft Pnp-PowerShell module, any assistance in resolving would be much appreciated.
https://github.com/PoShLog/PoShLog.Sinks.MSSqlServer/issues/1


use non-vendor six lib

Django removed the vendor provided six library.
https://docs.djangoproject.com/en/3.1/releases/3.0/#removed-private-python-2-compatibility-apis
added it as a dependency so autofixture will continue to work.  fixes #112

This pull request creates 2 install_requires in setup.py, so AFAICS it won't work as-is.


Colab for dreambooth stopped working

The colab stopped working for some reason for me and others. I get this as the last message before it stops:
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '/content/diffusers/examples/dreambooth/train_dreambooth.py', '--pretrained_model_name_or_path=/content/stable-diffusion-v1-4', '--instance_data_dir=/content/data/joda', '--class_data_dir=/content/data/dog', '--output_dir=/content/models/joda', '--with_prior_preservation', '--prior_loss_weight=1.0', '--instance_prompt=photo of a joda dog', '--class_prompt=photo of a dog', '--seed=11111', '--resolution=512', '--mixed_precision=fp16', '--train_batch_size=1', '--gradient_accumulation_steps=1', '--use_8bit_adam', '--learning_rate=5e-6', '--lr_scheduler=constant', '--lr_warmup_steps=0', '--max_train_steps=1000', '--num_class_images=200']' returned non-zero exit status 1.
Something went wrong
It was working fine a day ago, and I did not change anything.... Any ideas?

disconnect the runtime and reconnect, if the same error copy the whole log

if the problem persists, try generating the class images externally then use the input path to specify the folder

I started getting this too with no config changes, fwiw locking these two dependencies to specific versions during install stabilized it for me:
!pip install git+https://github.com/TheLastBen/diffusers.git@916754ea5e053c2d3af7efe22ef12475e73488ab
%pip install accelerate===0.12.0

The issue is fixed in the latest colab, update it for a better experience


feat: integrate new loss and pooling options

This pr adds support for the newly added loss and pooling options from core, as well as a new page in the documentation explaining how to use them.

[x] This PR references an open issue
[x] I have added a line about this change to CHANGELOG

i feel the name Advanced Methods is a bit too general (think about our section name is Advanced Topics), can we rename it to something else? Such as advanced losses, optimizers and pooling layers

the documentation is not included in the docs anymore, please double check

the documentation is not included in the docs anymore, please double check

Ah, I forgot to update the index when I renamed the file, fixed now


Add documentation for Streams API functions

based on AWS API documentation examples.

cf. gleber/erlcloud#189 again.

@smilerlee I just re-pushed the commit with the fixes for the two issues you caught. Thanks again.

Thanks. I was supposed to squash all these commits on this preview branch together, since all changes was made by myself. But I changed my mind now, considered you made commits on this branch too. Thanks for the documentation again

@smilerlee I just re-pushed the commit with a fix for the errantly typed attributes in the get_records example. Hope it's ready now.

It seems perfect! Thank you, @nalundgaard


Remove z-index causing navbar overlap in the CMS

What does it do?
Removes the z-index which is apparently unnecessary.
Why is it needed?
The z-index causes the popover to overlap a navbar in the CMS
Berfore:

After:

How to test it?
Run yarn build in the DS
Head to the CMS and from the root run
yarn link -r ../<relative-path-to-strapi-design-system>

In examples getstarted yarn build && yarn develop
Go to the CM or Audit Logs or the Marketplace, make sure you have enough content to be scrollable, and scroll down the page.
(I'll update the strapi docs since it seem yarn link works differently now)

This should have been pointed at the release branch, i've changed it now but you've got a merge conflict – probably because we don't use snapshots or the popover component anymore 👍🏼 soon as we can get that resolved I'm happy to approve this :)


Slack invite form doesn't work

Describe the bug
I tried filling the Slack invite form over a day ago. Also tried a different email about an hour ago. Haven't received an email invite to either address (checked spam, etc).
Looking forward to joining the conversation and further evaluating the features!

@szimmer1 The link was changed recently to be a direct invite link, since the slack API that was used with the form is being deprecated. Can you go back to the "Getting Support" link on the docs site and see if that is the new link for you?
If not, a forced refresh of the docs site might fix it in your browser.
Either way, if you could please let me know what you find so I know whether to close this ticket.

The link in the getting support page seems to be expired. See attached screenshot. I also tried to join at https://nosqlbench.slack.com/signup#/ but it looks restricted to @datastax.com email domain.

Try this link, which is directly from the workspace settings, and is
flagged as good for 25 more days:
https://join.slack.com/t/nosqlbench/shared_invite/zt-hvavu1tu-CLX_w7plZrv_A8kDBCw_3A
On Tue, Oct 6, 2020 at 6:18 PM shahar z<EMAIL_ADDRESS>wrote:

The link in the getting support page
http://docs.nosqlbench.io/#/docs/nosqlbench/getting_support.md seems to
be expired. See attached screenshot. I also tried to join at
https://nosqlbench.slack.com/signup#/ but it looks restricted to @
datastax.com email domain.
[image: Screen Shot 2020-10-06 at 4 15 40 PM]
https://user-images.githubusercontent.com/8455475/95269941-5f288000-07ef-11eb-879c-402f2bf12f43.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nosqlbench/nosqlbench/issues/219#issuecomment-704602725,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQMT367WSYHLNC77A4J7SDSJOQUDANCNFSM4SEA2P5Q
.

Honestly, Slack has made it so difficult for OSS projects to manage this,
that I'm seriously considering moving the chat to Discord, which just
recently opened up their options more to support community servers.
I'll run it by the current members too, but I suspect that there may be
more of us in slack for work reasons and thus less inclined to jump to
discord for this. We'll see after taking a straw poll.
On Tue, Oct 6, 2020 at 7:46 PM Jonathan Shook<EMAIL_ADDRESS>wrote:

Try this link, which is directly from the workspace settings, and is
flagged as good for 25 more days:
https://join.slack.com/t/nosqlbench/shared_invite/zt-hvavu1tu-CLX_w7plZrv_A8kDBCw_3A
On Tue, Oct 6, 2020 at 6:18 PM shahar z<EMAIL_ADDRESS>wrote:

The link in the getting support page
http://docs.nosqlbench.io/#/docs/nosqlbench/getting_support.md seems
to be expired. See attached screenshot. I also tried to join at
https://nosqlbench.slack.com/signup#/ but it looks restricted to @
datastax.com email domain.
[image: Screen Shot 2020-10-06 at 4 15 40 PM]
https://user-images.githubusercontent.com/8455475/95269941-5f288000-07ef-11eb-879c-402f2bf12f43.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nosqlbench/nosqlbench/issues/219#issuecomment-704602725,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQMT367WSYHLNC77A4J7SDSJOQUDANCNFSM4SEA2P5Q
.

If this link doesn't work, I'll manually cycle the invite link and update the docs for it.

That worked, thanks. Agreed Slack has more synergy than Discord. I joined the channel, but I'll leave this issue open.

Closed since we're on Discord


[DUOS-1668][risk=low] Split out signing official console into 3 separate routes.

Added 3 new routes for each of the signing official console tabs, copy pasted the signing official console page and deleted all irrelevant code to the tab

Note: Found a bug in the submitter tab search, and will add a ticket for that later!
To test, enable the duos header in the javascript console:
localStorage.setItem('feature-flag:navstyle', 'DUOS-1668')

Another ticket I think we need is to standardize on title language, So, not for this PR, but we should add another ticket to clear this up with Jonathan/Yvonne. For example, we have:
Admin

DAR Requests -> Manage Data Access Request Collections

Chair

Manage DARs -> Manage Data Access Request Collections

Member

Manage Data Access Request Collections

SO

DAR Requests -> DAR Requests

Researchers

DAR Collections

The "Data Owner Console" has been removed, let's get rid of that link in the main nav.

The "Data Owner Console" has been removed, let's get rid of that link in the main nav.

Is this the same console in this ticket? https://broadworkbench.atlassian.net/browse/DUOS-1666 Just wanted to clarify (since I wanted to start on that one next)

The "Data Owner Console" has been removed, let's get rid of that link in the main nav.

Is this the same console in this ticket? https://broadworkbench.atlassian.net/browse/DUOS-1666 Just wanted to clarify (since I wanted to start on that one next)

That ticket refers to the Data Access Committee console. There are two flavors of DAC user, the Chairperson and the Member

Pinging @shaemarks - can you give an official 👍🏽 to this PR? Please and thank you!


Not a function

Current behavior
Any request done to Asyncstorage returns "not a function".
Expected behavior
Getting and setting data to storage
Repro steps
Added with yarn and followed with react-native link
Code being called when starting app
import React, { useEffect } from "react";
import { ActivityIndicator, View, StyleSheet } from "react-native";
import AsyncStorage from "@react-native-community/async-storage";
import { useDispatch } from "react-redux";
import PropTypes from "prop-types";
import nodejs from "nodejs-mobile-react-native";
import Colors from "../constants/Colors";
import { authenticate } from "../store/actions/auth";
const StartupScreen = props => {
const dispatch = useDispatch();
useEffect(() => {
const tryLogin = async () => {
try {
const userData = await AsyncStorage.getItem("userData");
if (!userData) {
props.navigation.navigate("Auth");
return;
}
const transFormedData = JSON.parse(userData);
const { token, userId, userMail, expirationDate } = transFormedData;
const expirationDateObj = new Date(expirationDate);
if (expirationDateObj <= new Date() || !token || !userId) {
props.navigation.navigate("Auth");
return;
}
			nodejs.start("main.js");
			nodejs.channel.addListener(
				"message",
				msg => {
					console.log("From node: " + msg);
				},
				this
			);

			props.navigation.navigate("App");
			dispatch(authenticate(userId, userMail, token, expirationDate));
		} catch (e) {
			console.log(e.message);
		}
	};
	tryLogin();
}, [dispatch]);

return (
	<View style={styles.screen}>
		<ActivityIndicator size='large' color={Colors.primary} />
	</View>
);

};
const styles = StyleSheet.create({
screen: {
flex: 1,
justifyContent: "center",
alignItems: "center",
},
});
StartupScreen.propTypes = {
navigation: PropTypes.any,
};
export default StartupScreen;
Environment

Async Storage version: ^2.0.0-rc.0
React-Native version: 0.59.10
Platform tested: Android
Logs/Error that are relevant:

_asyncStorage.default.getItem is not a function
D:\Local workspace\Projects\guide-share-native\node_modules\react-native\Libraries\YellowBox\YellowBox.js:67
Possible Unhandled Promise Rejection (id: 0):
TypeError: _asyncStorage.default.getItem is not a function
TypeError: _asyncStorage.default.getItem is not a function
at _callee$ (blob:http://localhost:8081/7ca2b190-cd81-4c2d-ba0e-719903711db9:94777:71)
at tryCatch (blob:http://localhost:8081/7ca2b190-cd81-4c2d-ba0e-719903711db9:41606:19)
at Generator.invoke [as _invoke] (blob:http://localhost:8081/7ca2b190-cd81-4c2d-ba0e-719903711db9:41781:24)
at Generator.prototype. [as next] (blob:http://localhost:8081/7ca2b190-cd81-4c2d-ba0e-719903711db9:41649:23)
at tryCatch (blob:http://localhost:8081/7ca2b190-cd81-4c2d-ba0e-719903711db9:41606:19)
at invoke (blob:http://localhost:8081/7ca2b190-cd81-4c2d-ba0e-719903711db9:41682:22)
at blob:http://localhost:8081/7ca2b190-cd81-4c2d-ba0e-719903711db9:41712:13
at tryCallTwo (blob:http://localhost:8081/7ca2b190-cd81-4c2d-ba0e-719903711db9:45331:7)
at doResolve (blob:http://localhost:8081/7ca2b190-cd81-4c2d-ba0e-719903711db9:45495:15)
at new Promise (blob:http://localhost:8081/7ca2b190-cd81-4c2d-ba0e-719903711db9:45354:5)

Same issue. TypeError: _asyncStorage.default.getItem is not a function.
"@react-native-community/async-storage": "^2.0.0-rc.0",
"react": "16.9.0",
"react-native": "0.61.5"

Fixed downgrading to 1.6.3
npm i<EMAIL_ADDRESS>

For me it was apparently an issue with the linking. Linking the latest version didn't work. But installing the version you said, then upgrading back to the newest one kept it linked and now it seems to be working again.

@RodolfoGS
Please try with the latest version now (1.7.3).
Simple @react-native-community/async-storage would work now.


RT-Linux distribution

Will you please tell me what RT-Linux distribution you are using for the pi with a link if possible.
Thank you

@nameoftherose, I did a post on this a while back for hackaday.  Here is the link:
https://hackaday.io/project/164992-bobble-bot/log/164951-get-realtime
We are hoping to release a SD card image in the future that has this all preloaded to make it easier to use.  Let us know if you are interested!

Thank you.Yes I would like to know when the image is released.On Nov 13, 2019 04:31, jjholleysoe<EMAIL_ADDRESS>wrote:@nameoftherose, I did a post on this a while back for hackaday.  Here is the link:
https://hackaday.io/project/164992-bobble-bot/log/164951-get-realtime
We are hoping to release a SD card image in the future that has this all preloaded to make it easier to use.  Let us know if you are interested!
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.


Orchestration core: data model, resolver

Description
Part of "Orchestration of SKR changes" epic.
Changes proposed in this pull request:

orchestration core: data model
orchestration core: RuntimeResolver implementation

/retest


Update README.md with link to DCO

@jeremiah : Looks like you missed the DCO signoff on this PR. Check out the DCO details under the checks for ways to fix.

On Wed, Nov 14, 2018 at 01:21:25PM -0800, Tracy Kuhrt wrote:

@jeremiah : Looks like you missed the DCO signoff on this PR. Check out
the DCO details under the checks for ways to fix.

Yes, I was too hasty. I'll fix.
Thanks!
Jeremiah


webview detection fail

# Edge Update - Remaining subprocess.run(['reg', 'delete', r'HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate', '/f'], startupinfo=hide_console(), stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
This should not do if keep webview,otherwise many application uses webview will not be able to  detect installed webview and ask you to install it.

FYI. The reg key records the installation path of the system wide webview.

You are correct. Broke the Xbox app, when testing.
Specifically
HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}\ pv
This will be omitted from the next update.
Thanks!

Should be working.
Removal tool has been converted to a batch script, due to how long it takes to report false positives to AV software, every time there is an update.

Try implementing a c# one and test it with AV?
I was using it in OOBE which does not have network yet,though I can place the setup.exe along with the bat.


chore(main): release 0.1.12

:robot: I have created a release beep boop
0.1.12 (2023-10-12)
Bug Fixes

mac compatibility (380bd9f)
Preparing for publication (#66) (6e84b99)

Documentation

ai assisted docs (20c6a0f)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/socialgene/sgpy/releases/tag/v0.1.12 :sunflower:


Website is returning 500 Internal Server Error

Website: https://nodedownloads.nodeland.dev/

Screenshot

Fixed


fix/program-size4: fix padding in edge cases

This bug was fixed then broken again in a cleanup attempt. 🤦
Note that the whole topic is being refactored in #624 so hopefully we won’t have this issue anymore.

Yes at the moment this problem only exists the program table because it has a separate configuration of max size versus content. In other places (e.g. NonVolatileTableConfig) we just required an exact match.
Although you’re right that there is a more elegant fix which is to require a tight fit of the size. This wasn’t possible in the original fix because the size was not configurable yet. Let me try that.

Thanks for trying to fix this.
Could we please add a test that would fail if/when this break again?

Better not introduce this problem in the first place: #638


Postgresql issue is still not resolved in 1809 (reopen #2628)

OS: Windows 10 Pro (1809)
Build: 17763.195
WSL Linux Distro: Ubuntu 18.04 (installed from the Store)
This is a duplicate of Issue #2628. I could not find how to reopen that issue.

I have the same on PostgreSQL 12.1

I have the same issue too.


phpldapadmin "This base cannot be created with PLA" with replication enabled

How can I prevent the following error "This base cannot be created with PLA" while also still using replication.
I know this was address in #97, but the solution was basically to disable replication, which I cannot do because of my requirements.

Hi @clayrisser
Can you post your values file please?

Hi @clayrisser
Can you post your values file please?

happy to provide mine. I get sensible error messages without replication enabled and just the PLA thing with it disabled
also happy to arrange financial compensation for timespent getting this to work with openldap 2.6.6 + replication as we need it internally at our company


Broken broadway.elasticsearch.client_factory

Class missing in service config -> just added ElasticSearchClientFactory

:+1:

thank you, @msvrtan !


Fix: do not double-wrap OpenSearchException.

Signed-off-by: dblock<EMAIL_ADDRESS>Description
Before:
org.opensearch.client.opensearch._types.OpenSearchException: Request failed: [http_exception] server returned 400
    at org.opensearch.client.transport.aws.AwsSdk2Transport.parseResponse (AwsSdk2Transport.java:542)
    at org.opensearch.client.transport.aws.AwsSdk2Transport.executeSync (AwsSdk2Transport.java:442)
    at org.opensearch.client.transport.aws.AwsSdk2Transport.performRequest (AwsSdk2Transport.java:246)
    at org.opensearch.client.opensearch.indices.OpenSearchIndicesClient.create (OpenSearchIndicesClient.java:248)

After:
org.opensearch.client.opensearch._types.OpenSearchException: Request failed: [resource_already_exists_exception] OpenSearch exception [type=resource_already_exists_exception, reason=index [movies/u0Qdo4UBHwS29ruw8Xao] already exists]
    at org.opensearch.client.transport.aws.AwsSdk2Transport.parseResponse (AwsSdk2Transport.java:534)
    at org.opensearch.client.transport.aws.AwsSdk2Transport.executeSync (AwsSdk2Transport.java:442)
    at org.opensearch.client.transport.aws.AwsSdk2Transport.performRequest (AwsSdk2Transport.java:246)
    at org.opensearch.client.opensearch.indices.OpenSearchIndicesClient.create (OpenSearchIndicesClient.java:248)

~Help me write a unit test for this? Is it worth it?~
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@VachaShah care for a 2PR? thanks!

@VachaShah need one more pls


chore: linting the codebase

Linting the codebase
Updating interchaintest to ibc v8
Adding conformance test for

wasmd (cuz ibc light client added)
tokenfactory

so with respect to interchaintest, we're moving away from it and towards starship.  We've found that having the additional go.mod, and the in-repo overhead, is not great.
Concerning starship, we think kube is not great... (heh)


validate row: Issue with strftime for BigQuery DATETIME column

This is a knock on effect of issue https://github.com/GoogleCloudPlatform/professional-services-data-validator/issues/680 which now uses strftime instead of cast when comparing date based columns.
Test table:
CREATE TABLE `dvt_test`.`dvt_dates`
(   id              INT NOT NULL
,   col_date        DATE
,   col_datetime    DATETIME
,   col_tstz        TIMESTAMP
);
INSERT INTO dvt_test.dvt_dates VALUES
(1,DATE '1970-01-01',DATETIME '1970-01-01 00:00:01'
,TIMESTAMP '1970-01-01 00:00:01+01:00');

If we validate col_date or col_tstz columns the status is success.
If we validate the DATETIME column col_datetime then an exception is thrown by BigQuery:
data-validation validate row -sc bq -tc bq -tbls=dvt_test.dvt_dates=dvt_test.dvt_dates --primary-keys id --concat 'col_datetime'
...
google.api_core.exceptions.BadRequest: 400
No matching signature for function FORMAT_TIMESTAMP for argument types: STRING, DATETIME, STRING. Supported signatures: FORMAT_TIMESTAMP(STRING, TIMESTAMP, [STRING]); FORMAT_TIMESTAMP(STRING, DATETIME) at [16:18]

This is because the ibis-bigquery package only caters for FORMAT_DATE or FORMAT_TIMESTAMP and BigQuery does not implicitly cast DATETIME to TIMESTAMP.

At the point where the SQL function is constructed we don't have access to the BigQuery schema, only the Ibis one which is Date or Timestamp. Therefore we don't know which format function to use.
There are a couple of potential fixes for this but they are both in ibis_bigquery/compiler.py compiles_strftime(), i.e. outside of the DVT repo.

Cast the expression argument of FORMAT_TIMESTAMP to a TIMESTAMP. For example:

    if isinstance(arg_type, dt.Timestamp):
-        return "FORMAT_{}({}, {}, {!r})".format(
+        return "FORMAT_{}({}, TIMESTAMP({}), {!r})".format(

This works for both DATETIME and TIMESTAMP inputs.
SELECT FORMAT_TIMESTAMP('%Y-%m-%d %H:%M:%S', TIMESTAMP(CURRENT_DATETIME()), 'UTC');
2023-02-16 17:22:16

SELECT FORMAT_TIMESTAMP('%Y-%m-%d %H:%M:%S', TIMESTAMP(CURRENT_TIMESTAMP()), 'UTC');
2023-02-16 17:22:37

Use FORMAT_DATETIME (which accepts a TIMESTAMP expression) and remove the time zone parameter unless one is specified:

-        return "FORMAT_{}({}, {}, {!r})".format(
-            strftime_format_func_name,
-            fmt_string,
-            arg_formatted,
-            arg_type.timezone if arg_type.timezone is not None else "UTC",
-        )
+        if arg_type.timezone is None:
+            return "FORMAT_DATETIME({}, {})".format(
+                fmt_string,
+                arg_formatted
+            )
+        else:
+            return "FORMAT_{}({}, {}, {!r})".format(
+                strftime_format_func_name,
+                fmt_string,
+                arg_formatted,
+                arg_type.timezone
+            )

Examples of FORMAT_DATETIME accepting both TIMESTAMP and DATETIME expressions:
SELECT FORMAT_DATETIME('%Y-%m-%d %H:%M:%S', CURRENT_TIMESTAMP());
2023-02-16 17:43:04

SELECT FORMAT_DATETIME('%Y-%m-%d %H:%M:%S', CURRENT_DATETIME());
2023-02-16 17:43:28

There seems to be an effect on running validate custom-query row commands too

Switching to commit #720
git checkout 0de823b

Running validate custom-query command:

data-validation validate custom-query --custom-query-type row --source-query-file source_query.sql --target-query-file target_query.sql -sc my_bq_conn -tc my_bq_conn   --hash '*' --primary-keys station_id

Source query:
select station_id from 'bigquery-public-data.new_york_citibike.citibike_stations'
Target query:
select station_id from 'bigquery-public-data.new_york_citibike.citibike_stations'
Here only station_id is selected which is of type STRING.
Same issue is caused when the following query is used:
select * from 'bigquery-public-data.new_york_citibike.citibike_stations'
Error:
Traceback (most recent call last):
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/bin/data-validation", line 8, in <module>
    sys.exit(main())
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/data_validation/__main__.py", line 600, in main
    validate(args)
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/data_validation/__main__.py", line 576, in validate
    run(args)
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/data_validation/__main__.py", line 532, in run
    config_managers = build_config_managers_from_args(args)
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/data_validation/__main__.py", line 304, in build_config_managers_from_args
    config_manager = build_config_from_args(args, config_manager)
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/data_validation/__main__.py", line 186, in build_config_from_args
    config_manager.append_calculated_fields(get_calculated_config(args, config_manager))
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/data_validation/__main__.py", line 128, in get_calculated_config
    fields = config_manager.build_dependent_aliases("hash", col_list)
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/data_validation/config_manager.py", line 822, in build_dependent_aliases
    col = self._apply_base_cast_overrides(column, col)
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/data_validation/config_manager.py", line 730, in _apply_base_cast_overrides
    k: v for k, v in self.get_target_ibis_table().schema().items()
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/data_validation/config_manager.py", line 346, in get_target_ibis_table
    self._target_ibis_table = clients.get_ibis_table(
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/data_validation/clients.py", line 147, in get_ibis_table
    return client.table(table_name, database=schema_name)
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/ibis_bigquery/client.py", line 425, in table
    t = super().table(name, database=database)
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/ibis/client.py", line 119, in table
    qualified_name = self._fully_qualified_name(name, database)
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/ibis_bigquery/client.py", line 440, in _fully_qualified_name
    project, dataset = self._parse_project_and_dataset(database)
  File "/usr/local/google/home/mohammedturky/Desktop/professional-services-data-validator/venv/lib/python3.10/site-packages/ibis_bigquery/client.py", line 409, in _parse_project_and_dataset
    raise ValueError("Unable to determine BigQuery dataset.")
ValueError: Unable to determine BigQuery dataset.

The same query is working successfully for previous commits
Eg: git checkout 47154b4

@mohdt786, I don't think this is related to the specific error you are seeing. If you copy and run the query from your file into a BigQuery console you'll see the same message:
select station_id from 'bigquery-public-data.new_york_citibike.citibike_stations'
...
Syntax error: Unexpected string literal 'bigquery-public-data.new_york_citibike.citibike_...' at [1:24]

I believe the problem is you have transposed backticks to single quotes.

I had just put the single quotes for readability, I actually used backticks in my query file

@mohdt786 OK thanks. I'm going to create a new issue for the problem you have discovered because the fix will be in the code changes I made for issue 680. This issue's fix relates to ibis_bigquery code which may be harder to work around.


Fix: [1] TypeError: Boom.wrap is not a function

Updated the boom method call

fixes: #3

Status update?

Apologies for the delay -- thanks!

It looks like this will need a package update as well. I'll go ahead and change the dependency and the code. Thanks for bringing my attention to this.


Disable pyright config?

I'd propose disabling pyright in the pyproject.toml file for now, since including it means that all errors show up in devs' vscode, which then makes it more difficult to work with the actual errors. It overrides local VS Code settings, so I don't think is possible to disable...

The pyright tests fail in CI.
A few choices:

Current state — makes working in VS Code much noisier — does no one else find this? Or is there a workaround? I have > 50 errors, almost every file is marked red
Fix the pyright tests — very difficult, would be a tax to make both mypy & pyright pass
Ignore the errors inline — noisy, may conflict with mypy
Turn off the tests in CI — would be my suggestion. Folks can still enable them locally if they like. We don't get much value from them now, I don't see a realistic path to getting them fixed so we can get value from them
Add a config to ignore pyright, including locally.

What do folks think?

I didn't check the details, but maybe one can add these options as command line options in CI instead?

How is the experience of Xarray contributors who use pyright as a LSP server but not from within vscode (pylance)?
Mine is pretty bad.
When running pyright version 1.1.349 on a recent commit in main with the following pyrightconfig.json:
{
    "useLibraryCodeForTypes": false,
    "exclude": ["./doc", "./asv_bench", "./properties", "./.eggs", "./xarray/util/generate_*.py", "./build"],
    "include": ["./xarray/**/*.py"],
    "ignore": ["./xarray/core/pycompat.py"],
    "reportMissingImports": "none",
    "reportMissingTypeStubs": false,
    "stubPath": "./xarray/core/",
    "typeCheckingMode": "basic",
    "strictParameterNoneValue": false,
    "analyzeUnannotatedFunctions": true,
    "reportGeneralTypeIssues": "information"
}

I get 1700 errors, 93 warnings, 41 informations.
Setting "analyzeUnannotatedFunctions": false I get 1015 errors, 82 warnings, 2527 informations .
If I exclude tests I get 335 errors, 73 warnings, 934 informations, which is still a lot.
I still use pyright as LSP server with emacs (+ native compilation and eglot) because it helps navigating / auto-completing the code, highlighting typing errors. I can hardly deal with the long list of diagnostics, though. And as soon as I have a few open buffers for large files like dataset.py or test_dataset.py, the LSP process constantly running in the background makes things laggy and my laptop fans are blowing as I type.
Am I configuring things wrong? Is there another LSP server that makes the overall experience much better (e.g., pylyzer, pylsp)? How does vscode (pylance) improves things? It would be a shame having to switch to vscode just for Xarray...
(cc @dcherian as I think you are also a emacs user)
Fixing all the pyright errors would be a huge task indeed. Disabling the tests (even locally) is not ideal since this is often where I catch typing issues or bugs before even running the tests. Ignoring pyright locally is not an option for me, unless there's another LSP server that provides a much better experience and that supports static type checking.

I still use pyright as LSP server with emacs (+ native compilation and eglot) because it helps navigating / auto-completing the code, highlighting typing errors.

Yes, in VS Code, pylance is extremely good at this, has made my life better!
@benbovy on this branch, do you still get all the errors? In my VS Code I get zero errors.
And for other VS-Coders, this is my config, super simple, zero errors reported on this branch. Notably changing typeCheckingMode to basic introduces some pyright errors (so I guess the default it to use mypy only and the config on main branch forces pyright to start showing errors.
  "python.analysis.autoImportCompletions": true,
  // "python.analysis.typeCheckingMode": "basic",
  "python.analysis.diagnosticSeverityOverrides": {
    // Xarray has try/expect-ed imports which we don't want to warn on; they're not
    // even installable on aarch64.
    "reportMissingImports": "information"
  },
  "python.analysis.exclude": ["build", ".trash", ".asv", ".venv", "target*"],
  "python.languageServer": "Pylance",

It would be a shame having to switch to vscode

No it wouldn't. (jk jk)

Who is most likely to object to the change? I strongly don't want to me interfering in others' work, especially since I'm a much less prolific maintainer these days. Would only make this change if it makes it better for others (and using my own experience as an example of others'...)

@max-sixty Yes I tried with the changes in this branch but I didn't notice any big difference.
(I'm wondering what pylance has on top of pyright to bring down the number of errors from hundreds (thousands) to zero!)
I don't have strong opinion about this PR... we can still customize the options locally in pyrightconfig.json, which I believe take precedence over the values defined in pyproject.toml

No it wouldn't.

Yes it would. 🙂

I don't have strong opinion about this PR... we can still customize the options locally in pyrightconfig.json, which I believe take precedence over the values defined in pyproject.toml

OK great!

Yes it would. 🙂

😀

The pyright tests fail in CI.
A few choices:
* Current state — makes working in VS Code much noisier — does no one else find this? Or is there a workaround? I have > 50 errors, almost every file is marked red

* Fix the pyright tests — very difficult, would be a tax to make both mypy & pyright pass

* Ignore the errors inline — noisy, may conflict with mypy

* Turn off the tests in CI — would be my suggestion. Folks can still enable them locally if they like. We don't get much value from them now, I don't see a realistic path to getting them fixed so we can get value from them

* Add a config to ignore pyright, including locally.

What do folks think?

They're still useful unless we only care about the green color. You of course have to go and check the details and make sure you don't see anything unexpected.
The CI offers different python versions. At least I don't bother having that on my computer.
If you can move the options to the CI workflow that would be fine with me. When I added the CI I couldn't figure out how to do it, but I didn't investigate a lot nor do I use vscode so I didn't notice these issues.

Actually, sorry, this doesn't change anything about pyright passing or not — it always fails, on main and this branch. I just opened https://github.com/pydata/xarray/pull/9578 as a test.
Any objections to this being merged, then?

Am I configuring things wrong? Is there another LSP server that makes the overall experience much better (e.g., pylyzer, pylsp)?

Also cc @keewis who I think is not using vscode / pylance as well.

nor do I use vscode

@Illviljan -- What are you using?
(I'm genuinely curious about what developer tools (LSP) other Xarray developers are using, how they configure it and how their experience is better than mine).
(We should probable better continue discussing that in https://github.com/pydata/xarray/discussions/5238).

Merging, hope that's OK, please feel free to revert if anyone has a strong view...


Update getting-started.md

Pull Request Test Coverage Report for Build 139

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 53.492%

Totals

Change from base Build 136:
0.01%

Covered Lines:
4124

Relevant Lines:
7139

💛  - Coveralls

Addressed.


When JDBC drivrer is added as a dependency in toml, it gets packed but still driver is not found when running

Description:
$Subject. Please note that, this happens only when running with ballerina command. Works as expected when running with java command
Sample toml file:
[project]
org-name= "manurip"
version= "0.1.0"

[platform]
target = "java"

    [[platform.libraries]]
    artafactId = "mysql-connector-java"
    version = "8.0.17"
    path = "/path/to/mysql-connector-java-8.0.17.jar"
    groupId = "mysql"
    modules = ["mymod"]

Following is the content of the created executable jar. This contains the mysql classes. The issue could be due to some resources not being included as expected.
output.txt
Following is the project this issue occurred with.
dependencyTestProject.zip
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

It's annoying build the module and in second moment run the jar.

There was a configuration issue in your toml. target should be target = "java8". But ballerina run has java spi loading issue which causing this.
We are working on https://github.com/ballerina-platform/ballerina-lang/issues/19554 which should solve this issue as well. We will fix this for next patch release.


Add Data Dictionary explanation page (learn page)

What are variables? What are domains? How to link data dictionaries with datasets? What type of checks are performed on existing datasets.

Closing in favor of doing future blog posts.
This Spout blog touches on some aspects of the data dictionary: https://sleepdata.org/blog/data-dictionary-management-with-spout


Strange behaviour on Ajax options

Version 2.1.3
I have very strange behaviour when I use AJAX for loading my options. When I type into the select box my AJAX function is called and options are populated. If I search "sirius" then the select box will populate search box with returned options. If I search "sirius stg" my ajax function still returns results but select shows 0 results, even though options are there. If I off focus and focus back to the select, I will see those options loaded.
I have no clues what is going on but here is the video:
https://www.dropbox.com/s/zjjlkihr2562gap/vue-multiselect.mov?dl=0
Here is my template code:
      <multiselect
            v-model="currentValue"
            :name="name"
            :options="localOptions"
            :label="labelKey"
            :custom-label="formatLabel"
            :multiple="multiple"
            :taggable="taggable"
            :placeholder="$t(placeholder)"
            :loading="loading"
            :disabled="disabled"
            :readonly="readonly"
            :select-label="$t('COMPONENT.SELECT.SELECT')"
            :deselect-label="$t('COMPONENT.SELECT.DESELECT')"
            :data-vv-as="$t(label) | lowercase"
            :hide-selected="false"
            :searchable="true"
            track-by="id"
            class="form-control form-control-select textarea"
            @input="handleInput"
            @select="handleSelect"
            @remove="handleRemove"
            @search-change="searchData"
            @tag="addTag"
          />

and my ajax function
    searchData: debounce(function(query) {
      if (this.async && query !== '') {
        this.loading = true
        this.$store
          .dispatch('api/get', {
            url: this.async,
            data: {
              params: {
                search: query
              }
            }
          })
          .then(r => {
            let data = r.data
            this.localOptions = data
            this.loading = false
          })
          .catch(() => {
            this.loading = false
          })
      }
    }, 400),

At first I thought that debounce function causes the problems, but even if I don't use it, I have the same behaviour. Any tip into right direction is appreciated...

Hey! I think you need to add the :internal-search="false" prop, so that the multiselect doesn’t run its own search on the results. I assume sirius stg just doesn’t match with any label.

@shentao legend! This is what I was missing. Thanks.

Happy to help!

Hey! I think you need to add the :internal-search="false" prop, so that the multiselect doesn’t run its own search on the results. I assume sirius stg just doesn’t match with any label.

This fixed it for me too, thanks!


Add-ons on top

I think add-ons should be actually more prominent now, thoughts?

Can we go a step beyond and say that these things are typically handled with add-ons, both official and third-party, and link to the docs? There's an incomplete list of official ones in the docs, and of course the current ddev get --list --all, a reference to that would be great.
I know it's more than you signed up for but it's what's needed here, to say that this repo is mostly obsolete.

I noticed we lost this, can you follow up and rebase and I'll pull?


Build the firmware locally

I noticed that you are using nix to build the keyboard firmware.
I tried to replicate what the github CI does locally and it seems to work fine.
I cannot test it on the keyboard because I have not yet received it.
What I did:
git clone https://github.com/moergo-sc/glove80-zmk-config.git
cd glove80-zmk-config
git clone https://github.com/moergo-sc/zmk src
nix-build config -o combined

This has properly generated combined/glove80.uf2.
My question is the following: is there any problem with doing this locally instead of relying on GitHub ?
I can't think of any reason why it wouldn't work.

None at all: you're free to build the firmware locally and use it with your keyboard, using either Nix or with the ZMK-native West build process.

None at all: you're free to build the firmware locally and use it with your keyboard, using either Nix or with the ZMK-native West build process.

Ok great !
For anyone interested, I forked this repo and embedded everything in a flake:
git@github.com:GaetanLepage/glove80-zmk-config.git


Remove external dependencies

External Dependencies that need be to removed are :

Google Fonts
Bootstrap
DataTables
Any other CDNs found

I want to work on this issue...  please assign me that

I want to work on this issue...  please assign me that

@chiraag-kakar

@chiraag-kakar

Can I work on this issue as a GSSOC 2021 participant.

can you please assign it to me?

Can you assign this issue to me! I'm a gssoc participant @chiraag-kakar @amanjha8100


Agent job reaping

@tgianos only the last 2 commits in this PR are relevant, the first 3 will disappear from here once the other PR goes in.

Coverage decreased (-0.04%) to 91.528% when pulling 8b44eee2cec912c194c6da46e58921d10afc7d63 on mprimi:agent-job-reaping into 18833601da0942dd2509884044d5363c95945940 on Netflix:master.


changed emoji 🇺🇸

🌎 -> 🇺🇸
closes #115

I think it's only supposed to be a flag if the card is JP Buffed

is it supposed to still display the globe for NA view of non-buffed card?

you know what, I lied in my ticket, this was only supposed to replace the emoji name, not add additional logic. I'm sorry about that

should I revert it back to the first commit then?

yeah, first commit was right


uleb128 decoding

First of all, thank you for writing this blog it's been a tremendus help. Now I've tried to run this code on an x86_64 Linux 18.04 machine and I didn't have any problem until v08. in v08 the personality function tries to access a weird memory location. On further inspection it turns out that the larger machine code produced by the 64bit architecture produces relative offset values (the ones that are stored in the LSDA call site) greater than 127 which requires 2 bytes for ULEB128 encoding and this is where it goes downhill. I know that you have mentioned ignoring this issue in your blog, that's why I have tried implementing a decoding function which works (for an extent) but for some odd reasons the start and len of the first entry are ignored and the readings shifts accordingly. Now, I am still working on it, but I would appreciate your help if you have any idea why this might happen.
PS. I am working with a group on a small university project and two of my colleagues have already contacted you previously, in case this issue seemed familiar.

The call site is now being parsed correctly with a proper uleb128 decoding function, but still the abi can't access catch_ti->name() in mycppabi.cpp:334

It's amazing that you're contributing a fix for this, thanks a lot! I'm sure we'll manage to figure why it isn't working.
If you traced the problem to uleb decoding, I guess my initial assumption is that any uleb's stored would be small enough to need no decoding at all. If that's the case, adding a proper decoder is a great first step. Have you verified if the types defined for the LSDA actually match those that are defined by a real libcpp? For example: https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/libsupc%2B%2B/eh_personality.cc#L49 - while somewhat less didactic than my own ABI version, is much more likely to be correct!

Well, you were right from the beginning about the types, they match the ones in the libsupc. The problem was the decoding and some pointer arithmetic. The entire call site now is being accessed correctly as stated in the previous commit along with the type table this time. The problem is the catch_type_info variable. It  contains the last 4 bytes in the LSDA as intended (more specifically the value represented by .long	DW.ref._ZTI14Fake_Exception-. from the assembly code. The only problem is what does it represent? It doesn't appear to be an address to something as far as I can tell from the objdump of app. It would be helpful if you have more info about how the types are stored in the type table and how to retrieve them from the assembly code as accessing the name() method is what causes a segmentation fault.

v08 now successfully works. After tracing the personality routine in libsupc, it turns out that type table entries are pc relative addresses (relative to the entry itself). After implementing a simplified version of the decoding function, the new address now points to a valid type_info object and the name() method can be invoked safely. I will try propagating the changes to later version to see what happens.

This is amazing work, thanks @IsmailShaheen. I doubt I'll be able to test your changes any time soon, but if you update it so that successive entries also work I'll be more than happy to merge the PR.

I'd like to include a note to the fixed version in the original blog post. Who should I credit this to? (Also, would you like to write up a short explanation about the problem to include in the post?)
I'm really really curious: what is your group using this project for?

Thanks again for the fix!

Sure thing, I will be updating later entries next week and I will make sure it has the "bare minimum" as you intended. As for the fixed version I have been working on it with @amroadel.
I am not much of a writer but I would be more than happy to write something you could edit for your blog. We will also document our findings on the except table and I can share it with you once it's done.
Regarding the project, we are basically building our own specific exception handling framework for a modified standard c library which is part of a larger project: building a unix-based specialized micro-kernel for a distributed architecture. I know you want more info but it's an ongoing research project in my university and I don't think I am entitled to give you details but I can share it with you once we are done after my professor's permission. Your blog was a great first step to understanding how the current exception handling framework is implemented so thank you again.

Well, that's it. v12 now finally works on an 86_64bit architecture. We will be doing some cleanup and commenting but you can review the changes now if you want. I have also written something for the problem and I would love to share our findings with you as well, if you could send me your contact info.

@IsmailShaheen this is awesome work, thank you so much! Would love to followup on this with your group. If you'd like we can get in contact by email and maybe even plan a video-call if you think it'd help. I believe I'm already in contact with different people from your group via Linked in, email and even Facebook, but feel free to reach out to my gmail account, nicolasbrailo, anytime.
Thanks again!

Thanks so much @IsmailShaheen for creating this PR! I was stuck on exactly the same problem of invalid type info ptr.
I was able to get it working by using your get_ttype_entry function to parse the info.
Also, thanks @nicolasbrailo for creating the excellent tutorial series!


Slave recipe searches for "nodes" instead of "node"

node.default['openldap']['slapd_master'] = search(:nodes, 'openldap_slapd_type:master').map {|n| n['openldap']['server']}.first

Should be:
node.default['openldap']['slapd_master'] = search(:node, 'openldap_slapd_type:master').map {|n| n['openldap']['server']}.first

I have a PR for this
https://github.com/opscode-cookbooks/openldap/pull/38/commits

This has been merged


Request to Publish Feature

This is an idea.  Move the request to publish process into Gogs, making use of Issues in a "rtp" repository.
Initial Components

JS frontend for the form, using the API to seed the language and published docs fields.  Minimal intrusion into Gogs code.
Requestor must have a Door43 account (be logged in)
Requests submitted as an Issue to the uW RtP repo (maybe https://git.door43.org/unfoldingWord/rtp/issues)
Requests are formatted in Markdown and look good in the issue queue.
The requestor receives and email that the issue has been created, with the link to the issue for future reference.
The issue is assigned to the approver (Perry in this case).
The approver may comment on the issue if anything is missing (requestor will be auto-emailed since they submitted the issue).
Approver may approve the request by adding a label and/or assigning to the publishing tech.
After publishing, tech asks requestor for approval of published material by comment on issue.
Issue is closed upon approval.

Later add-ons:

When the approver approves the issue, the publish process happens automatically and the requestor is automatically emailed to review.
Files may be attached to the request via the Gogs issue file attachment process

Benefits:

We are not locked into a database schema, we can change the form fields at any time.
The issues are persistent and public, even after closed.
The issues are easy to review.
Use existing infrastructure.

I like it. :+1:

Same here :+1:

We need the file attachment now, not later, for the signed documents. The files need to go into a repository where I can quickly and easily find them.

A quick and dirty prototype is available by visiting https://git.door43.org/unfoldingWord/rtp/issues/new .

Too bad the word 'issue' could not be changed for this repo. 'Issue' has a negative meaning for me. Do you know if the rest of the world will view it with the same meaning?

We'll find out @ChrisJarka ;)


Slow list / download for Azure Blob Storage

What is the problem you are having with rclone?
I have container on Azure Blob Storage with 30M files. Listing these files (and downloading them) is slow and limited to around 100/second. With simple ruby script I'm able to reach 1000/second for listing. It also affects download speed which is capped to around 100/second.
require 'azure/storage/blob'

client = Azure::Storage::Blob::BlobService.create(storage_account_name: 'yyy', storage_access_key: 'xxxx')

marker = nil
while true
  blobs = client.list_blobs('rails', max_results: 5000, marker: marker)
  marker = blobs.continuation_token
  puts blobs.map { |b| b.name }.join("\n")
  break if marker.nil? || marker.empty?
end

What is your rclone version (output from rclone version)
rclone v1.45-006-geb412537-beta
- os/arch: linux/amd64
- go version: go1.11.2

Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu 18.04.1 LTS
Which cloud storage system are you using? (eg Google Drive)
Azure Blob Storage
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone lsf --files-only --recursive azure://rails
or
rclone copy azure://rails /mnt/data/rails --transfers 100 --checkers 100
I tried different combinations of flags to speed it up but no results

Not to mention rclone uses thousands of transactions (practically one per file?) while ruby script is using few according to metrics dashboard (one per page).

Consider using --checksum or --size-only so rclone doesn't have to read the modification time from the metadata - this will reduce the number of transactions greatly.
How are the files arranged - are they in directories or are they all in one directory?
You could also use --fast-list but that will use a lot of memory perhaps 1k per object.

Listing these files (and downloading them) is slow and limited to around 100/second.

Yes the azure blob backend has a minimum time between transactions of 10ms hence the 100/second.
This is probably a mistake.  We implemented a pacer for s3 recently which in the happy case of things working properly doesn't delay.  This should probably be applied to all the enterprise class backends eg azure/googlecloudstorage/swift
This isn't user twiddleable at the moment alas.
You could try adjusting this to see what happens...
https://github.com/ncw/rclone/blob/50452207d912447197c149cb3aa96ae7c26ef838/backend/azureblob/azureblob.go#L38

@sandeepkru what do you think about reducing the minimum sleep between requests to 0?

In this bucket we have two kinds of directories, but I don't think it matters as files are copied the same speed for both of them: 1. directory with millions of directories inside, each of millions directories has around 5 files. 2. directory with millions of html files inside, flat structure
I tried all available flags that can potentially speed this up but they don't work (including --size-only, --checksum). Besides lsf is slow as well and it doesn't have these.

Yes the azure blob backend has a minimum time between transactions of 10ms hence the 100/second.

Why would you need 100 transactions to read 100 files? My ruby code reads 5000 files in one transaction. For lsf I don't need anything except filenames and for copying I enable all flags that require any metadata to be present so they just can use filenames.

(of course when it comes to copying it would be nice to have ability to go beyond 100/s but for file listing it's a must have) :)

I tried all available flags that can potentially speed this up but they don't work (including --size-only, --checksum). Besides lsf is slow as well and it doesn't have these.

I was wrong about needing an extra transaction to read the modification time - it is supplied in the directory listings so that explains your result.

Why would you need 100 transactions to read 100 files? My ruby code reads 5000 files in one transaction. For lsf I don't need anything except filenames and for copying I enable all flags that disable needing any metadata to be present, so rclone can use "List Blobs" instead of checking each file individually.

rclone will be reading directories in chunks of 5000 too.  It will buffer them in memory until it has read the whole directory before acting on it though.
So the answer is it shouldn't do...
Here is a beta for you to try.  I changed over to using the s3 pacer so it now doesn't sleep at all betwen requests.  I also enabled -vv --dump requests - you can use this to see how many HTTP requests rclone is really making.
https://beta.rclone.org/branch/v1.45-011-gba8aa73a-fix-2654-azureblob-client-beta/ (uploaded in 15-30 mins)
Note that if you want to speed up lsf, you can use --checkers with it too.

Thank you I'll try this after I'll deal with the upload of 30M of files I've downloaded from Azure (it took 4 days) to DigitalOcean. The upload speed seems even worse at 30/second and 5Mb/s which means it'll take next 10 days for me to upload everything.. Do you think it can be similar story?

btw. the command I use for uploading is: rclone copy /mnt/data/ada/rails s3://ada/rails --transfers=12 --checkers=1 --syslog --pr ogress --ignore-existing --size-only. I cannot increase transfers concurrency because upload speed slows down (maybe I'm being throttled), number of checkes doesn't matter. bwlimit and tpslimit don't matter as well.

Thank you I'll try this after I'll deal with the upload of 30M of files I've downloaded from Azure (it took 4 days) to DigitalOcean. The upload speed seems even worse at 30/second and 5Mb/s which means it'll take next 12 days for me to upload everything.. Do you think it can be similar story?

Great

The upload speed seems even worse at 30/second and 5Mb/s which means it'll take next 12 days for me to upload everything.. Do you think it can be similar story?

The s3 pacer is already unrestricted if you are using rclone 1.44 or the beta.
I suspect it is rate limiting somewhere, maybe DO or your ISP.

btw. the command I use for uploading is: rclone copy /mnt/data/foobar/rails s3://foobar/rails --transfers=12 --checkers=1 --syslog --progress --ignore-existing --size-only. I cannot increase transfers concurrency because upload speed slows down (maybe I'm being throttled), number of checkers doesn't matter. bwlimit and tpslimit don't matter as well.

  It might be that the --s3-upload-cutoff flag is what you want which I'm just about to merge.

The files are very small from 50kb to max 500kb

I've merged the fix to the azure pacer and it will be in the latest beta in 15-30 mins and in v1.46
If you try the latest beta you should find the s3 backend is faster too.

Great work @ncw, thank you :)


upgrade pget to 0.1.1

is there an easier way to get the updated hashes besides rebuilding twice?

nix-prefetch-github, but in practice it's not easier


#75 Example looking somewhat like what we're doing.

Please do NOT merge this.
I created this pull request as an example for issue https://github.com/serilog-tracing/serilog-tracing/issues/75

Closed #75, can pick this up again if needed. Thanks again!


Add migration to support z16 metatiling

Connects to #478
@zerebubuth could you review please?

:+1:


Move other projects into Seldon Server

This makes versioning and documentation easier.

Namely seldon-spark, js-lib, java-client.


feat: draft impl of semaphore verifier contract

Just a quick and dirty draft implementation which uses bls12_381 module from Soroban SDK.
What's missing:

Verification keys for bls12_381 (will try to generate them myself using semaphore circom scheme from their official repo)
confidence that it's implemented the right way and should work
tests
Also I would contact someone with good cryptography background to ask if it would work and if we're doing it right
Will close #2

Sorry, still haven't finished the implementation, will write about it in https://github.com/ZencypherSolutions/semaphore-stellar-docs/issues/14


Setup CI does not add runs-on for self-hosted runners properly

Describe the bug
I specified runner in .upptimerc.yml as [self-hosted, macOS, X64], but the Setup CI workflow set the runs-on entry in the workflows to self-hosted,macOS,X64, which fails to find a self-hosted runner. I manually changed the Graphs CI workflow to runs-on: [self-hosted,macOS,X64], and the self-hosted runner was found.
To Reproduce
Steps to reproduce the behavior:

Specify a self-hosted runner with multiple labels: runner: [self-hosted,macOS,X64]
Let Setup CI workflow run
Check the runs-on directive of any of the workflows
See error

Expected behavior
Same value from .upptimerc.yml to be copied to the workflows.
Desktop (please complete the following information):
NA
Smartphone (please complete the following information):
NA

I encountered the same problem
Seems that treating the value as a string fixes the issue.
setting
runner: [self-hosted, linux, X64, my-label]

results in
runs-on: self-hosted, linux, X64, my-label

which wont work as it see the entrire string as a single label
but setting
runner: '[self-hosted, linux, X64, my-label]'

results in preserving the array notation in the workflow file
runs-on: [self-hosted, linux, X64, my-label]


Fix code tag typo in class reference

One [/code] is missing its forward slash :smile:

I'm surprised this one isn't caught by our make_rst.py checks:
$ make rst
rm -rf "./_build/rst"
mkdir -p "./_build/rst"
python3 "./tools/make_rst.py" -o "./_build/rst" "-l en" "./classes/" "./../modules/" "./../platform/"
No PO file at "/home/akien/Projects/godot/godot.git/doc/tools/../translations/ en.po" for language " en".
Checking for errors in the XML class reference...
Generating the RST class reference...
WARNING: @GlobalScope.xml: Potential error inside of a code tag, found a string "x" that matches one of the parameters in method "atan" description.
WARNING: @GlobalScope.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/b]" in method "print_rich" description.
WARNING: @GlobalScope.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/color]" in method "print_rich" description.
WARNING: @GlobalScope.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/b]" in method "print_rich" description.
WARNING: @GlobalScope.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/color]" in method "print_rich" description.
WARNING: EditorImportPlugin.xml: Potential error inside of a code tag, found a string "generator_parameters" that matches one of the parameters in method "append_import_external_resource" description.
WARNING: NavigationServer2D.xml: Potential error inside of a code tag, found a string "map" that matches one of the parameters in method "map_get_obstacles" description.
WARNING: NavigationServer3D.xml: Potential error inside of a code tag, found a string "map" that matches one of the parameters in method "map_get_obstacles" description.
WARNING: Object.xml: Potential error inside of a code tag, found a string "signal" that matches one of the parameters in method "get_signal_connection_list" description.
WARNING: RenderingDevice.xml: Potential error inside of a code tag, found a string "allow_draw_overlap" that matches one of the parameters in method "compute_list_begin" description.
WARNING: RenderingDevice.xml: Potential error inside of a code tag, found a string "view_count" that matches one of the parameters in method "framebuffer_format_create" description.
WARNING: RenderingDevice.xml: Potential error inside of a code tag, found a string "view_count" that matches one of the parameters in method "framebuffer_format_create_multipass" description.
WARNING: RenderingServer.xml: Potential error inside of a code tag, found a string "use_16_bits" that matches one of the parameters in method "viewport_set_positional_shadow_atlas_size" description.
WARNING: RichTextEffect.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/example]" in class "RichTextEffect" description.
WARNING: RichTextEffect.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/example]" in class "RichTextEffect" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/b]" in class "RichTextLabel" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/i]" in class "RichTextLabel" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/i]" in class "RichTextLabel" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/b]" in class "RichTextLabel" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/i]" in class "RichTextLabel" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/center]" in class "RichTextLabel" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/url]" in signal "meta_clicked" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/hint]" in property "hint_underlined" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/url]" in property "meta_underlined" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/hint]" in method "push_hint" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/url]" in method "push_meta" description.
WARNING: SceneReplicationConfig.xml: Potential error inside of a code tag, found a string "path" that matches one of the parameters in method "property_get_watch" description.
WARNING: SceneReplicationConfig.xml: Potential error inside of a code tag, found a string "path" that matches one of the parameters in method "property_set_watch" description.
WARNING: String.xml: Potential error inside of a code tag, found a string "position" that matches one of the parameters in method "erase" description.
WARNING: String.xml: Potential error inside of a code tag, found a string "chars" that matches one of the parameters in method "erase" description.
WARNING: StringName.xml: Potential error inside of a code tag, found a string "position" that matches one of the parameters in method "erase" description.
WARNING: StringName.xml: Potential error inside of a code tag, found a string "chars" that matches one of the parameters in method "erase" description.
WARNING: Time.xml: Potential error inside of a code tag, found a string "weekday" that matches one of the parameters in method "get_datetime_dict_from_datetime_string" description.
WARNING: Time.xml: Potential error inside of a code tag, found a string "weekday" that matches one of the parameters in method "get_datetime_dict_from_datetime_string" description.

Generating the index file...

34 warnings were found in the class reference XML. Please check the messages above.
No errors found in the class reference XML.
Wrote reStructuredText files for each class to: ./_build/rst

(We should really find a way to silence the false positives so we can start treating these warnings errors.)

Thanks!

Cherry-picked for 4.0.4.


Specical handling for odd video width

In case the decoded width parsed from bitstream is
not 16bit aligned, mediasdk or onevpl will force it
to 16byte aligned. Use display width and height to
create surface to avoid failure for below test case.
android.media.cts.DecodeAccuracyTest#testSurfaceViewLargerHeightDecodeAccuracy[23]
android.media.cts.DecodeAccuracyTest#testSurfaceViewLargerWidthDecodeAccuracy[23]
android.media.cts.DecodeAccuracyTest#testSurfaceViewVideoDecodeAccuracy[23]
Tracked-On: OAM-101186
Signed-off-by: Chen, Tianmi<EMAIL_ADDRESS>

@dyang23 , @yuanjunhuang, @zhangyichix , could you please take a review?
Thanks,


scan id print out missing from scan launch text

The scan id used to print out on the screen when a scan is launched at the top of the data table. That doesn't happen anymore.

This is something beamline scientists can (and are generally hoped to...) customize on their own.
Start with this and customize it to your liking. Add it to your IPython profile, any place after gs.RE has been defined. The file called 99-whatever.py is a good bet.
def print_at_start(name, doc):
    "Take in 'start' Documents and print scan IDs."
    print('Scan ID: ', doc['scan_id'])
    print('Unique ID: ', doc['uid'])

gs.RE.subscribe('start', print_at_start)

Ok. I understand. But we had it working last week so I don't understand why that would have changed.  We will investigate further. Thanks.

Weird. Keep me posted. Thanks.
On Wed, Nov 4, 2015 at 7:45 PM ambarb<EMAIL_ADDRESS>wrote:

Ok. I understand. But we had it working last week so I don't understand
why that would have changed. We will investigate further. Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/NSLS-II/bluesky/issues/256#issuecomment-153917269.

There was a slightly different issue later with the live-plot during data collection. creating a new figure with "figure" did not result in live plot resuming.  quitting and restarting bluesky fixed the live-plot issue and the one above (print out of the scanid after scan launch).

Interesting. Without more information I doubt I can figure this one out. Soon we will be storing verbose log files from all the beamlines, and at that point there might be some hope of performing forensics.
I'll close the issue for now -- don't hesitate to reopen if you have more information.


Fix C4577 using Unreal Engine 4.21 with Visual Studio 2017.

Fixes compiler error C4577 using Unreal Engine 4.21 with Visual Studio 2017. The error occurs only when packaging a build, not when compiling the editor:
See https://answers.unrealengine.com/questions/348151/c4577-noexcept-used-with-no-exception-handling-mod.html for details.

Could you check again with latest changes from master? We recently added some features and improvements, so there shouldn't be a need to add the enable exceptions flag.

The latest version of the plugin should fix C4577 without requiring exceptions to be enabled.  Closing this PR.


Merged columns if values are empty strings

Observed behavior:
Two or more columns will be merged in the query result if filled with empty string.

Expected behavior:
All columns will have their own column regardless of content
Environment:

Ubuntu 16.04 with Gnome
Sqlectron 1.28

This could be a great bug for me to get started.
1. How do we treat these merges since we have a few values that might attribute to empty string?

NULL value
Real Empty String or '' value
An string filled with empty spaces

Should we merge them all as one?
I think this feature should be added as a feature flag in the setting page.


Windows: High CPU Usage when minimized

Describe the bug
When minimized a simple egui application will use up to 17% CPU on my CPU while using 0% when not minimized
To Reproduce
Steps to reproduce the behavior:

Take a very simple egui application:

use eframe::egui;

fn main() -> Result<(), eframe::Error> {
    let options = eframe::NativeOptions {
        viewport: egui::ViewportBuilder::default().with_inner_size([320.0, 240.0]),
        ..Default::default()
    };

    eframe::run_simple_native("My egui App", options, move |ctx, _frame| {
        egui::CentralPanel::default().show(ctx, |ui| {
            ui.heading("My egui Application");
        });
    })
}

Run it
Observe CPU usage while open, if the mouse cursor is not in the window it will drop to 0
Minimize window
CPU Usage will go up a lot

Expected behavior
CPU Usage should stay low or at least close to the same CPU Usage when not minized
Screenshots
When idle and not minimized:

After being minimized:

Desktop:

OS: Windows 10 21H2 (19044.3086)
Version: latest master (56bf8b7)

Additional context
This does not happen with 0.25

@SitiSchu
Please refer to patch #3985 to fix it.

That fixed the issue, thanks!


Add Oklab support

Oklab assumes the D65 colour space. In my first attempt at implementing this, the Oklab struct didn’t have a Wp parameter. This caused all FromColorUnclamped derives to not compile, so I added the parameter back with comments warning about how it doesn’t have any effect. Ideally this wouldn’t be needed.

I saw some of your comments over at pale-fire, by the way. Once again, don't hesitate to ask for help or clarifications! This library has a lot of complexity under the hood, as you noticed, and the conversion system is the worst of them all. It's like one of those frontend/backend meme pictures... but with three layers of increasing weirdness.

I saw some of your comments over at pale-fire, by the way. Once again, don't hesitate to ask for help or clarifications! This library has a lot of complexity under the hood, as you noticed, and the conversion system is the worst of them all. It's like one of those frontend/backend meme pictures... but with three layers of increasing weirdness.

Hi! I hope all is well. I just wanted to check in and ask if you are still interested in completing this, or if you would rather hand it over to me (or someone else) to finish it. Either option is fine and all I want to know is how to proceed with this PR. There's no shame in wanting to do other things! 😄
The things I think are left to do are:

Rebase on top of the latest master, to catch up and solve conflicts.
Make it pass the tests by removing the left-over white points in the random generation code.
Add an implementation of bytemuck::Pod and bytemuck::Zeroable. (support for them was added today)
Add an Oklch color space. This would more or less be a copy of Lch, but may need a bit more of poking around in the derive macro.

I will help and guide you if you need it, so don't worry about that.

Hey, thanks for the kind words! Sorry for disappearing for so long. I’d be interested in finishing this PR.
I just rebased on master, but the commit history is quite ugly and broken in some places; would you like me to squash? I’ve also fixed the tests and added the bytemuck trait implementations.
Do you think it would be better to keep an Oklch implementation in a separate PR, or add it in this one?

Great! Don't worry about being away. It happens. I should also have checked in earlier, but time ended up passing faster than anticipated. But then I thought that it would be a good idea to have this sorted out before I get around to make the next release and all.
Either way, a squash sounds like a good idea! And I think it would be good to have Oklch here in the same PR, mostly just to see that they work well together before merging, because of the special casing in the derive macro.

I’ve squashed the commits, brought the PR up to date with master and added an Oklch implementation. There are still some failing tests, though. @Ogeon would you mind taking a look?

Great! Thanks! I will have a look later when I get off work. 💼

I think it looks great! I had one question, above, but that should be all. 🎉

Oh, it looks like the random distribution is a bit off for Oklch. I didn't see it earlier because the connection to travis broke when they shut down the .org version. Here's a link until it starts working again https://travis-ci.com/github/Ogeon/palette/jobs/514952866

I have migrated the CI over to github actions, by the way, so you will need to rebase this branch again. Sorry about that, but the new setup should at least be more responsive.

@Ogeon any idea why GitHub Actions aren’t running?

I just have to manually approve them for first time contributors...

Alright, all the tests are passing and the code looks good! I think it's time to finally merge this. Thank you for all the work and also for coming back and finishing it!
bors r+

Thank you ❤


Add data for Puerto Rico senators

Overview:
The legislators endpoint is not returning data for Puerto Rico senators.
Acceptance Criteria:
Return data as listed here: http://senado.pr.gov/Pages/Senadores.aspx
Steps to Duplicate ( required for bug reports ):
https://api.civil.services/v1/legislators/?apikey=KEY&zipcode=00926
You can use any zip code in Puerto Rico.

@pgacv2 The US Senate Data for this project is pulled in from data in this repository:
https://github.com/CivilServiceUSA/us-senate
That repository pulls in data from a Spreadsheet we maintain online:
https://docs.google.com/spreadsheets/d/1sbkk-E9odeEa-AvmioYrrcmjgCZmOvZ_JlFlTiytzFY/edit?usp=sharing
Probably the simplest way to contribute to this project is to Request Edit permissions to that CSV file, and fill out any missing data ( in this case, pretty much all or Puerto Rico ) and let me know when that data is added.
From there I will also need to locate some reliable GeoJSON / Shapefiles for Puerto Rico, so if you know where I can find those, that will cut down a great deal of time.
Finally, for this project, I will also need 1024x1024px headshots for each senator in that area, so if those are not readily available on that website, then we'll need to track down some high quality ones for those as well.
Once all that stuff is collected, the rest is mostly just an automated process I can kick off.


Add disableContentType option, add an option to get upload progress, and add TypeScript support

This PR contains several changes:

Add disableContentType option to fix #19
Add an option to get upload progress
Add TypeScript support

Coverage decreased (-0.8%) to 92.523% when pulling 9a3bd3912bc9e68b2f43ec0fb28a33c20168308c on foisonocean:amc into 9a9a84f98eb0c44d2980bca53087ad91495a785f on eBay:master.

Can you please update the documentation README.md to reflect the two new options.

@senthilp Updated. Please check.

Thanks for the PR. Will publish a new version to npm.

Published<EMAIL_ADDRESS>


Add time into FFaker::Time

I search in FFaker::Time but i don't see FFaker::Time.time to add time in to my database.
Exam: FFaker::Time.time to generate time such as 10:00

he's right, there's FFaker::Time.date which returns a random date, but the time is always 00:00. Maybe there should be .datetime.