Cannot create database with 2.1.7 release

Hello, I download<EMAIL_ADDRESS>and try to create a database but I got a server error. A database with the name null is created!
with 2.1.6<EMAIL_ADDRESS>it works.
Perhaps this is helpful:

2015-12-14 23:28:20:826 WARNI Not enough physical memory available for DISKCACHE: 2,001MB (heap=494MB). Set lower Maximum Heap (-Xmx setting on JVM) and restart OrientDB. Now running with DISKCACHE=256MB [orientechnologies]
2015-12-14 23:28:20:833 SEVER Can not change cache size in runtime because storage engine plocal was not registered [OGlobalConfiguration$1]

@StarpTech
which exception did you get?

by the way, you can create a database through the console.sh by issuing something like
CREATE DATABASE remote:localhost/db-name root root plocal

but yeah, it's very sad that such a essential thing has been broken.

I can confirm adding a DB to 2.1.7 through Studio doesn't work either.
Also see: https://groups.google.com/forum/#!topic/orient-database/vpaYj_-5Kq4
Unfortunately, I can't test 2.1.6 to double check to make sure the problem isn't with my setup, but will this evening.
Scott

Here's what I get when I'm trying to create a database through the Orient Studio:
2015-12-15 14:19:35:935 INFO  {db=null} Creating database plocal:/Users/mironaseev/Documents/orientdb-community-2.1.7/databases/null [OServerCommandPostDatabase]
2015-12-15 14:19:36:578 WARNI ->0:0:0:0:0:0:0:1: Command not found: GET.sqlProfiler/null [ONetworkProtocolHttpDb]

When I click on the create database button the client sends to the server a POST request to the following URL:
http://localhost:2480/database/null/plocal/graph

Even though I specified the database name (in my case it was test), the client sent null instead of test.
It seems that the problem on the client side (Orient Studio). It for some reasons sends null instead of the database name that user specifies in the form.

Actually, I just tested 2.1.6 (changing environments is relatively easy with spider-box) and it works fine.
Scott

@smolinari yes 2.1.6 works look at the issue description but 2.1.7 fails.

@StarpTech - please read my first reply to this issue, then you'll better understand my second reply.
Scott

Hi guys
sorry for this inconvenience, it's a problem in the packaging of Studio plugin.
We are working to quickly release a new hotfix.
In the meantime, could you please try to replace the Studio plugin (in the /plugins directory) with this?
https://github.com/orientechnologies/orientdb/blob/2.1.x/server/plugins/studio-2.1.zip?raw=true
Thanks
Luigi

Confirm. It works after I replaced old plugin with the one you provided @luigidellaquila. Now I can create a database with Orient Studio.

It is still an issue. I can't create a db in studio from the offical community/enterprise editions but with your seperate Studio plugin build I can fixed it.

This has been fixed by @maggiolo00 in 2.1.x branch. I'm going to release 2.1.8...


Java: build using sbt wrapper

This allows for enry-java build on machine, without assumption of having sbt installed

Thanks!


Use doublestar for glob matching

Enables glob patterns containing ** eg. **/*.go

Noticed excludePrefix wasn't working with glob matcher. Added implementation and tests as well.

@cespare could you kindly review?

@cespare Is there anything preventing this PR from being reviewed?

@shaxbee You may want to check out https://github.com/cortesi/modd


outof date ref effective identity

"For example, you could change the PowerBIEmbedded_AppOwnsData sample. Services\EmbedService.cs line 76 and 77 could be updated from"
These lines do not represent the code you are referring to anymore

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

ID: 61878b62-89e5-e60a-4995-74d9650ca3e6
Version Independent ID: 378733df-8807-3274-dcf3-3e2aa40a78c0
Content: Use row-level security with Power BI embedded content - Power BI
Content Source: powerbi-docs/developer/embedded-row-level-security.md
Service: powerbi
Sub-service: powerbi-developer
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Hi @rinso11,
Thank you for your feedback - I have noted it and will refresh this article shortly.


No indication kernel is starting if using run-by-line before starting kernel.

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

Open a notebook.
Start the first cell with run-by-line before running any other cell.

Seems to work, but there's no indication of what's happening.
VS Code Version
Version: 1.63.0-insider (user setup) Commit: a7104f13ff61bcd9f4c827d8fe3c0d27bb479fd8 Date: 2021-11-08T05:14:49.440Z Electron: 13.5.1 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.22494
Jupyter Extension Version
v2021.10.1001414422
Jupyter logs
No response
Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
No response

Could be auto start that's hiding the progress.
@greazer , please could you try this again, but open a python file, wait for a minute or so (you have some slow conda environments, hence I'd wait at least for a full minute) & then try this scenario again.
I'm certain you'll get the progress indicator
Note: we turned off auto start because of this exact same issue (you ran into) with notebooks, & we didn't turn it off for inteactive window as identified here https://github.com/microsoft/vscode-jupyter/issues/7624.

This is not an interactive window problem. This is notebook run-by-line. I still do not see any indication that a kernel is starting if you.

Load an ipynb
Click the run-by-line button as soon as it's available.

Looking into this now.

I can't repro this problem. It shows status regardless of if I use jupyter or raw.

May have been fixed by Don's recent kernel status changes.

@greazer can you try with the latest bits?

Works for me, I'll mark it as verified


Use grpc.SetHeader instead of grpc.SendHeader

Issue #, if available:
Description of changes:
We have a gRPC unary server interceptor that sends header metadata to a client:
func MyUnaryServerInterceptor(ctx context.Context, req interface{}, _ *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error) {
	resp, err := handler(ctx, req)
	if e := grpc.SetHeader(ctx, metadata.Pairs("foo", "bar")); e != nil {
		fmt.Println(e)
	}
	return handler(ctx, req)
}

When we use this interceptor along with the interceptor provided by xray.UnaryServerInterceptor
server := grpc.NewServer(grpc.ChainUnaryInterceptor(MyUnaryServerInterceptor, xray.UnaryServerInterceptor()))

grpc.SetHeader in MyUnaryServerInterceptor returns the following error:
transport: the stream is done or WriteHeader was already called

The interceptor provided by xray.UnaryServerInterceptor calls grpc.SendHeader, so the header is already sent when grpc.SetHeader is called.
This change should allow MyUnaryServerInterceptor to set header metadata.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kaorimatz Sorry for the delay - thanks for the help!

Thank you!


Rework DEM.vcrs to support any 3D transformation (and fix with PROJ update)

This PR reworks the vertical CRS attribute of DEM from .vref into .vcrs and uses more rigorously pyproj to define .vcrs as a vertical CRS (1D vertical axis) and ccrs as a 3D CRS (compound 2D + 1D, or promoted 2D to 3D CRS) required for vertical transformation.
The previous implementation stopped working because, since PROJ6, having 3D CRS as both input and output of a transformation is necessary to transform z (otherwise runs but without transforming). See: https://pyproj4.github.io/pyproj/stable/advanced_examples.html#promote-crs-to-3d.
Now, two methods are implemented in DEM: to_vcrs() and set_vcrs (very much like to_crs() and set_crs() in GeoPandas). The functionalities resides in a separate module vcrs.py.
I ran into some difficulties implementing the functionality because the function pyproj.CRS.to_2d() did not exist while pyproj.CRS.to_3d() does. This is now solved as it existed in PROJ and just needed to be wrapped, see related discussion: https://github.com/pyproj4/pyproj/discussions/1265 and related PR: https://github.com/pyproj4/pyproj/pull/1267.
Details
This PR:

Moves all vertical CRS operations in a vcrs.py module with his own tests test_vcrs.py,
Adds a _vcrs_from_user_input() function to parse any vertical CRS from either common names ("EGM96", "EGM08", "Ellipsoid"), or a PROJ grid path, or an EPSG code or a CRS object,
Adds a _build_vcrs_from_grid() function to consistently build a vertical CRS from a grid. If the grid does not exist locally, it attempts to download it from the PROJ fixed repo: https://cdn.proj.org/.
Adds a _build_ccrs_from_crs_and_vcrs() function to consistently build a 3D CRS from a 2D/3D CRS stored in .crs by Raster (dropping the 3D if needed), and a vertical CRS in .vcrs. Additionally, if the target is the ellipsoid, the function casts to 3D.
Adds a _transform_zz function that creates a TransformerGroup to list all possible transformers and, if the best_available is not there, downloads the grids automatically,
Re-works DEM.set_vcrs and DEM.to_vcrs using the previous functions of vcrs.py,
Adds an overridden DEM.from_array() to set vcrs during DEM creation from array,
Adds a detection of 3D CRS in DEM.__init__ to set a vcrs if the .crs is 3D,
Removes proj-data as a dependency,
Forces pyproj>=3.4 to ensure that Transformer.transform() returns a np.ma.MaskedArray,
Writes the documentation page on "Vertical referencing".

Issues
Resolves #344
Resolves #345
Resolves #331
Resolves #262
Resolves #311
Resolves #223

Thanks a lot for the review @erikmannerfelt! :smile:
I realized there was still a bit more to do to have everything practical and consistent!
What's new:

Added the automatic downloading of PROJ grids and removed the proj-data dependency (fixes #311 and #345 in one go),
Now, before transformation, pyproj.transformer.TransformerGroup is called to get all existing transformations for the area-of-interest sorted by best accuracy. If the best one is not available, it is downloaded automatically. Then it is used,
I added an overridden from_array that accepts vcrs,
I added a loop during DEM.__init__ that tries to estimate the vertical CRS from DEM.crs (in case it is 3D, which won't be the case for old archives, but is now getting more and more common! :smile:).

And, most importantly, wrote the documentation page! Here is it: https://xdem-rhugonnet.readthedocs.io/en/fix_vref/vertical_ref.html

Finally fixed the last little bit! All yours to review @erikmannerfelt!
One big question remains for me: Should we integrate the vcrs into the crs (overridding Raster.crs in DEM.crs)? This way the DEM would be written to file/read with the correct 3D CRS! :smile:
(only small downside I see, is that people unaware of 3D CRS might not understand why their DEM CRS has changed, but that should become obvious from the doc)

Thanks for the comments!

Regarding your suggestion to override crs with vcrs, do you mean to override crs with ccrs, or am I missing something?

Yes, exactly, overriding it with ccrs so that it's always 3D! (then I guess we could remove ccrs and have it just be crs).
@adehecq: Curious about your feedback on this PR as well!
FYI: It's a problem also of interest to the ICESat-2 SlideRule team that wants to integrate vertical transforms in their cloud processing, so we're discussing it a bit there too in parallel.

Merging as @erikmannerfelt is on fieldwork so I assume the review is finished! :smile:
Opening an issue for overridding crs.


Get Underlying Shell Exit code or get child process pid

Currently, I am working on an extension that enables the user to generate the compile and run command which is then passed in the integrated terminal by the Terminal.sendText method.
Problem is that extension is not able to know whether the program is running or not. I want to know if there is any way to get the child process id or we can implement a callback function that will be called when the child process stops executing.

Terminal.exitStatus now exists on the latest version:
https://github.com/microsoft/vscode/blob/eccf1354a9d22ca73619c4a1786f541dcbc27e58/src/vs/vscode.d.ts#L5759-L5759
You could also potentially use tasks.
If you want the exit code of a program running within the shell via sendText that's not possible


Fresh git clone is slow due to large files on stale branches

The repository source code is tiny (345kB zip), and the files on master aren't very large either.
Despite this, git clone takes quite a while:
dot|joshua@monarch:~/repos$ git clone git@github.com:axondeepseg/axondeepseg.git
Cloning into 'axondeepseg'...
remote: Enumerating objects: 7206, done.
remote: Counting objects: 100% (1184/1184), done.
remote: Compressing objects: 100% (511/511), done.
remote: Total 7206 (delta 770), reused 996 (delta 652), pack-reused 6022
Receiving objects: 100% (7206/7206), 361.13 MiB | 6.54 MiB/s, done.
Resolving deltas: 100% (4896/4896), done.

Running this magic command on the ADS repo, I get:
master|joshua@monarch:~/repos/axondeepseg$ git rev-list --objects --all |
  git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' |
  sed -n 's/^blob //p' |
  sort --numeric-sort --key=2 |
  cut -c 1-12,41- |
  $(command -v gnumfmt || echo numfmt) --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest
[...]
fd191fadbc9f   18MiB AxonDeepSeg/models/default_TEM_model_v1/model.ckpt.data-00000-of-00001
518f4ce79b78   18MiB AxonDeepSeg/models/default_TEM_model_v1/model.ckpt.data-00000-of-00001
18c7902e2998   18MiB AxonDeepSeg/models/default_TEM_model_v1/model.hdf5
c022760ddc1a   18MiB AxonDeepSeg/models/default_TEM_model_v1/model.hdf5
f9a5cea84f1b   22MiB AxonDeepSeg/models/default_SEM_model_v1/model.ckpt.data-00000-of-00001
6d6405655f20   22MiB AxonDeepSeg/models/default_SEM_model_v1/model.ckpt.data-00000-of-00001
9a6a80accd6a   23MiB AxonDeepSeg/models/default_SEM_model_v1/model.hdf5
27d52e20b311   23MiB AxonDeepSeg/models/default_SEM_model_v1/model.hdf5
319f00ad01bc   75MiB __tmp__/model_seg_mouse_axon-myelin_tem/model_seg_mouse_axon-myelin_tem.onnx
677f343e4907   75MiB __tmp__/model_seg_rat_axon-myelin_sem/model_seg_rat_axon-myelin_sem.onnx
971645af70a2   75MiB __tmp__/model_seg_rat_axon-myelin_bf/model_seg_rat_axon-myelin_bf.onnx
dd4cb4d7b239   75MiB __tmp__/model_seg_mouse_axon-myelin_tem/model_seg_mouse_axon-myelin_tem.pt
9810546ee276   75MiB __tmp__/model_seg_rat_axon-myelin_sem/model_seg_rat_axon-myelin_sem.pt
2a42b19c5ab7   75MiB __tmp__/model_seg_rat_axon-myelin_bf/model_seg_rat_axon-myelin_bf.pt

We can use these blob hashes to identify relevant commits. For example:
master|joshua@monarch:~/repos/axondeepseg$ git log --raw --all --find-object=2a42b19c5ab7b924cc2015b70230c677dc460c85
commit 408f7562c0f1e0cc3c578bca79db40ff06f92e7e
Author: Mathieu Boudreau<EMAIL_ADDRESS>Date:   Fri Dec 8 12:42:08 2023 -0400

    Remove temp files

:100644 000000 2a42b19 0000000 D        __tmp__/model_seg_rat_axon-myelin_bf/model_seg_rat_axon-myelin_bf.pt

commit 442da343ed21f70eff24e86469a3948e7cf46be9
Author: Mathieu Boudreau<EMAIL_ADDRESS>Date:   Fri Dec 8 12:41:03 2023 -0400

    Try editable pip install and commit instead of branch

:000000<PHONE_NUMBER>000 2a42b19 A        __tmp__/model_seg_rat_axon-myelin_bf/model_seg_rat_axon-myelin_bf.pt

The above commits belong to PR #739. The PR was merged using a squash commit, so master doesn't have the files. But, the associated branch (sia/738/image_loading_patch) wasn't deleted!
I'd recommend going through the currently open branches and deleting ones associated with merged PRs. This should speed up git clones.

Thank you @joshuacwnewton. I'll delete my old branches that aren't relevant anymore.
I invite the other devs to do so as well.

Thanks @joshuacwnewton ! Yes we should really regularly check the stale branches, I'll set myself a monthly reminder to check that, also find a mechanism to remind the person that merges/opens a PR to delete the branch automatically after merging (maybe there's a default option for that?)

Also, maybe a good idea to revisit #464, which was started to prevent the mistake I made in stoyan's branch of accidentally pushing large files. @joshuacwnewton do you guys have an implementation of this sort for SCT?

Cleaning up the branches cut down the repo size by slightly more than half:

(base) mathieuboudreau@Mathieus-MacBook-Pro cleanup % git clone https://github.com/axondeepseg/axondeepseg.git
Cloning into 'axondeepseg'...
remote: Enumerating objects: 6130, done.
remote: Counting objects: 100% (754/754), done.
remote: Compressing objects: 100% (349/349), done.
Receiving objects: 100% (6130/6130), 150.31 MiB | 462.00 KiB/s, done.
remote: Total 6130 (delta 524), reused 554 (delta 394), pack-reused 5376
Resolving deltas: 100% (4178/4178), done.
(base) mathieuboudreau@Mathieus-MacBook-Pro cleanup %

Beyond that, we'd have to use BFG repo cleaner on files from the main branch or rebase main, because now most of the big files are from some of the models that we used to host here instead of in another repo (and update regularly :/), but then we'd lose a lot of our history / ability to reproduce old versions. I don't think that's a good idea, unless we'd clone and archive ADS and it's current history in another repo, and then rebase this one, which I think we'd have to think about the pros and cons for a while. @joshuacwnewton do you have additional thoughts ideas?

Another thing we could do is for users, give them instructions in our docs to clone with a depth of 1, that should speed things up for them at least!

Beyond that, we'd have to use BFG repo cleaner on files from the main branch or rebase main, because now most of the big files are from some of the models that we used to host here instead of in another repo (and update regularly :/), but then we'd lose a lot of our history / ability to reproduce old versions. I don't think that's a good idea, unless we'd clone and archive ADS and it's current history in another repo, and then rebase this one, which I think we'd have to think about the pros and cons for a while. @joshuacwnewton do you have additional thoughts ideas?

I think your assessment is fair! SCT has tried to prune large files in the past as well, and we also settled on a combination of "backup repo" (https://github.com/spinalcordtoolbox/spinalcordtoolbox-dev) + BFG (https://github.com/spinalcordtoolbox/spinalcordtoolbox/issues/1823).
I think ~150MB is a fine size to pause at for now? You've handled the "low hanging fruit", and at this point the benefit may not be significant enough to be worth the effort.

Also, maybe a good idea to revisit #464, which was started to prevent the mistake I made in stoyan's branch of accidentally pushing large files. @joshuacwnewton do you guys have an implementation of this sort for SCT?

Not yet! This is a WIP for us as well: https://github.com/spinalcordtoolbox/spinalcordtoolbox/issues/2705
Though, I've personally had a renewed interest in git hooks recently (see https://github.com/spinalcordtoolbox/spinalcordtoolbox/issues/4399, as well as https://github.com/joshuacwnewton/dotfiles/tree/dot/.githooks), so I could see getting around to this soon? It would be nice to set aside an afternoon to come up with something that could benefit the lab as a whole.

@joshuacwnewton just discovered that Github now has this option: https://github.blog/changelog/2024-04-18-push-rules-public-beta/


Update requirements

Is your feature request related to a problem? Please describe.
Add specific versions to the requirements under docs/requirements.txt, e.g. numpy>=1.26.
Also, distinguish between user and dev libraries.
! Check first if the versions are compatible !
Describe the solution you'd like
Every library should have a specific version and user and dev should be separate.
Describe alternatives you've considered
/
Additional context
Requirements get imported in setup.py

what exact versions of library do you want to add ?

@Nikhil190804 hey, it would be nice to have the earliest versions that the code works on, but it could be current versions if there are no deprecations


Header With logo in middle

Hello , I am new to React and I am trying to use the Header with logo in middle. I am familliar with React Native , but React is a whole different story. I installed all the needed dependecies and I created a Navbar.tsx file. Added the code and so. I tried to use it but i get an error regarding links and nothing shows up . What is the correct usage? I even tried with dummy data creating a variable and adding the links from the example , but still no luck. Sorry if my question makes no sense feel free to delete it if so.
Thanks in advance!

Hello again, I also forgot to mention that my goal is to build a single page website and in links I would like to have sections . Clicking the ‘About’ will scroll you to this section

You need to provide them as arguments when calling it. Here is an example Example

Let me know if it works

Let me know if it works

thank you. Much appreciated it works perfectly.


DUPLO-19031 Azure> TF> Feature to add customized name for AKS and resource group via TF

Added support to pass aks name and resource_group_name to duplocloud_azure_k8s_cluster
Overview
... (don't forget to put your clickup ticket ID in the title) ...
Summary of changes
This PR does the following:

Updated resource schema added name and resource_group_name attribute
Updated docs

Testing performed

[ ] Using unit tests
[ ] Manually, on my local system
[✓ ] Manually, on a remote test system

Describe any breaking changes

...

Task linked: DUPLO-19031 Azure> TF> Feature to add customized name for AKS and resource group via TF


chore: update NOTICE year to 2022

https://github.com/apache/incubator-pegasus/issues/1118

@foreverneverer This patch need to be cherry-picked to branch 2.4


feat: implement unwrap_or in the OptionTrait

Feature Request
Describe the Feature Request

Hey all!
Following this conversation on Kakarot, https://github.com/kkrt-labs/kakarot-ssj/pull/322#issuecomment-1746103394
We wanted to see if it's possible to incorporate a unwrap_or method in the OptionTrait.
Describe Preferred Solution

Add one function in the OptionTrait:
unwrap_or
pseudo code:
fn unwrap_or(self: Option<T>, default: T) -> T {
    match self {
        Option::Some(x) => x,
        Option::None => default,
    }
}

Additionally, I can implement unwrap_or_default
fn unwrap_or_default<+Default<T>>(self: Option<T>) -> T {
    match self {
        Option::Some(x) => x,
        Option::None => Default::default(),
    }
}

Additional Context

If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[x] Yes
[ ] No

feel free to open a PR - sounds good.

Okay opening a PR soon (tm)


chore(deps): update renovate/renovate docker tag to v37.420.1

This PR contains the following updates:

Package
Update
Change

renovate/renovate (source)
minor
37.408.2 -> 37.420.1

Release Notes

renovatebot/renovate (renovate/renovate)
v37.420.1
Compare Source
Bug Fixes

deps: update ghcr.io/renovatebot/base-image docker tag to v2.22.3 (#29878) (91b3b98)

v37.420.0
Compare Source
Features

manager: runtime version (#29745) (c14e30a)

v37.419.1
Compare Source
Bug Fixes

manager/gradle: Add support for GCV 2.23.0 (#29874) (9026c2d)

v37.419.0
Compare Source
Features

datasource: add glasskube packages datasource (#29430) (bbde807)

v37.418.3
Compare Source
Bug Fixes

deps: update ghcr.io/renovatebot/base-image docker tag to v2.22.2 (#29867) (a023058)

Code Refactoring

cache: use rm.content to remove expired content (#29860) (a829d96)

v37.418.2
Compare Source
Bug Fixes

versioning/poetry: improve poetry2semver validation (#29858) (98e089b)

v37.418.1
Compare Source
Build System

deps: update dependency openpgp to v5.11.2 (#29862) (166054f)

v37.418.0
Compare Source
Features

versioning: same major (#28418) (e6a29bb)

Bug Fixes

deps: update ghcr.io/renovatebot/base-image docker tag to v2.22.1 (#29859) (36878e8)

v37.417.2
Compare Source
Miscellaneous Chores

deps: update dependency @swc/core to v1.6.3 (#29856) (f480578)
deps: update dependency @swc/core to v1.6.5 (#29857) (ecb6da6)

Build System

deps: update dependency glob to v10.4.2 (#29852) (ab39248)

v37.417.1
Compare Source
Bug Fixes

Only use GitHub releases to update Bazelisk (#29847) (f70cbc6)

v37.417.0
Compare Source
Features

deps: update ghcr.io/renovatebot/base-image docker tag to v2.22.0 (#29845) (23794fc)

v37.416.1
Compare Source
Bug Fixes

pypi: support additional file name extensions (#29839) (eaaeb47)

v37.416.0
Compare Source
Features

remove RENOVATE_X_IGNORE_NODE_WARN (#29835) (03f5c5c)

Miscellaneous Chores

deps: update dependency @types/node to v18.19.36 (#29829) (588c97e)
deps: update dependency @types/node to v18.19.39 (#29831) (a581f7b)
deps: update linters to v7.13.1 (#29824) (2de9dca)
deps: update linters to v7.14.1 (#29830) (3eecb0a)
deps: update pnpm to v9.4.0 (#29825) (6c286c4)

Code Refactoring

remove old code related to deprecationWarningIssues (#29743) (b6d2c4b)

v37.415.0
Compare Source
Features

datasource/custom: expose tags in result so that we can use followTag (#29806) (48e6aa4)

Documentation

update references to renovate/renovate to v37.414.1 (#29812) (1c3dbca)

Miscellaneous Chores

deps: update containerbase/internal-tools action to v3.0.96 (#29811) (4e7d60d)
deps: update dependency ts-jest to v29.1.5 (#29810) (08614c0)
deps: update dependency type-fest to v4.20.1 (#29808) (c9a53ab)

v37.414.1
Compare Source
Bug Fixes

config/presets: correct security-only preset matcher (#29801) (5c0b1e1)

Miscellaneous Chores

deps: update dependency memfs to v4.9.3 (#29803) (6c03fe2)

v37.414.0
Compare Source
Features

presets: Add radix-ui/primitives monorepos (#29794) (2d2880a)

Documentation

configuration options: rewrite minimumReleaseAge (#29570) (f5fc659)

v37.413.5
Compare Source
Bug Fixes

deps: update ghcr.io/renovatebot/base-image docker tag to v2.21.3 (#29796) (7b2f132)

Documentation

recommend users install the GitHub or Bitbucket Cloud hosted app (#29457) (2bc6e2d)

Miscellaneous Chores

regex: add additional logging for isValidDependency failures (#29791) (6b24abe)

v37.413.4
Compare Source
Bug Fixes

deps: update ghcr.io/renovatebot/base-image docker tag to v2.21.2 (#29788) (42cb0d9)

v37.413.3
Compare Source
Build System

deps: update dependency re2 to v1.21.3 (#29781) (6e05595)

v37.413.2
Compare Source
Miscellaneous Chores

deps: update dependency graphql to v16.8.2 (#29769) (434ba37)

Build System

deps: update dependency google-auth-library to v9.11.0 (#29771) (ae5b562)

v37.413.1
Compare Source
Bug Fixes

dashboard: check packageFiles validity  (#29765) (53d8e0b)

v37.413.0
Compare Source
Features

presets: add cspell monorepo (#29758) (61a9a41)

v37.412.2
Compare Source
Bug Fixes

deps: update ghcr.io/renovatebot/base-image docker tag to v2.21.1 (#29757) (1cfefaa)

Documentation

correct custom managers edit url (#29741) (25aed75)

Miscellaneous Chores

deps: update dependency @types/traverse to v0.6.37 (#29752) (a90c745)
deps: update peter-evans/create-pull-request action to v6.1.0 (#29753) (bd003e7)

v37.412.1
Compare Source
Bug Fixes

util/git: pass no-verify flag to deleteBranch (#29749) (4bc7414)

v37.412.0
Compare Source
Features

deps: update ghcr.io/renovatebot/base-image docker tag to v2.21.0 (#29748) (4a46ffd)

v37.411.0
Compare Source
Features

presets/custom-managers: Add Makefile custom manager preset (#29713) (3b56439)

v37.410.2
Compare Source
Bug Fixes

deps: update ghcr.io/renovatebot/base-image docker tag to v2.20.2 (#29731) (f16ae88)

Documentation

private packages: rewrite pip-compile section (#29725) (c8872ed)

Miscellaneous Chores

deps: update ghcr.io/containerbase/devcontainer docker tag to v10.11.7 (#29724) (a816f99)
deps: update pnpm to v9.3.0 (#29729) (f353641)

Build System

deps: update dependency @yarnpkg/core to v4.1.0 (#29732) (169ec6e)

v37.410.1
Compare Source
Bug Fixes

deps: update ghcr.io/containerbase/sidecar docker tag to v10.11.7 (#29722) (ec82850)

Documentation

semantic commits: capitalize Semantic Commits, style fixes (#29720) (7f5c450)

Build System

deps: update dependency simple-git to v3.25.0 (#29723) (ab0e241)

v37.410.0
Compare Source
Features

dashboard: show deprecated dependency warnings (#29694) (03c034f)

Miscellaneous Chores

deps: update dependency @swc/core to v1.5.27 (#29718) (0847f93)
deps: update dependency @swc/core to v1.6.1 (#29719) (4b8bede)

v37.409.2
Compare Source
Bug Fixes

datasource/npm: expose default registry urls (#29717) (d82ab67)

Documentation

update references to renovate/renovate to v37.409.1 (#29708) (d4c6919)

Miscellaneous Chores

deps: lock file maintenance (#29709) (c0f397e)
deps: update containerbase/internal-tools action to v3.0.95 (#29711) (25ca442)
label-actions: fix ordered list (#29702) (ab87d46)

v37.409.1
Compare Source
Bug Fixes

vulnerabilities: do not force exact patch version in GitHub alerts (#29700) (99cc62f)

v37.409.0
Compare Source
Features

leiningen: support lein-parent (#29552) (c3bd354)

Miscellaneous Chores

deps: update dependency @types/ini to v4.1.1 (#29697) (51e33da)
link to reproduction template, improve instructions (#29652) (3c49e85)

v37.408.3
Compare Source
Bug Fixes

vulnerabilities: strip equals for nuget in Github alerts (#29693) (32c9636)

Miscellaneous Chores

deps: update dependency @types/lodash to v4.17.5 (#29686) (f91b9cf)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

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


Move smartpanels static files from static/smartpanel to smartpanel/static/smartpanel

Closes #100

Note that @ijl is doing some work in this area (see ijl20-smartpanel-displays) which may need coordination to avoid merge problems.


Update appveyor.yml

This request contains the following changes for appveyor.yml.
Here are the list of changes:

Update compilers

dmd 2.074.0 -> dmd 2.075.0
ldc 1.1.0 -> ldc 1.3.0

Fix PATH for ldc

Remove installation of dub because it is bundled both of latest dmd and latest ldc.

Note that we do not specify Visual Studio 2017 image to test dlangui itself.
Related: #319

I confirmed dlangui master passed the unittest (dub test) in the following configurations by using AppVeyor.
Test result: https://ci.appveyor.com/project/tom-tan/dlangui/build/1.0.17

Target platforms:

Windows 32bit
Windows 64bit

Compilers:

dmd 2.075.0
ldc 1.3.0

Thanks!


SARAALERT-1354: Resolve HOH issue when populating demo data

Description
Jira Ticket: SARAALERT-1354
Some monitorees in the demo data generated through the populate script were being erroneously marked as HOHs. This PR fixes the issue in the demo script (root cause was a timezone issue) to ensure generated monitorees won't get into this state when generated.
Bug - How to Replicate
While on the v1.28.0 branch, complete the following:

If you haven't run the populate script to poplate your local database, do so: bundle exec rake demo:populate
In MySQL Workbench or through the rails console, query for the moniotrees who are in the erroneous HOH state:

If using MySQL Workbench:
SELECT id, first_name, last_name
FROM disease_trakker_development.patients
WHERE responder_id = id AND head_of_household = 1 AND id in (SELECT responder_id FROM disease_trakker_development.patients GROUP BY responder_id HAVING count(*) = 1);

If using the rails console:
sql = """SELECT id, first_name, last_name FROM patients WHERE responder_id = id AND head_of_household = 1 AND id in (
SELECT responder_id FROM patients GROUP BY responder_id HAVING count(*) = 1);"""
results = ActiveRecord::Base.connection.exec_query(sql)
results.rows

The monitorees returned are the ones who are incorrectly marked as HOHs. To validate this, go to any of their profile pages in the UI and verify they don't have an household members lists while they are show on the dashboard as an HOH.

Bugfix - How to Test
While on the 1354-demo-hoh-bug branch, complete the following:

(optional) If you want to re-use your existing database, be sure to save a copy of it through the demo:backup_database script. You can reload it after completeing this test by running bundle exec rake db:drop:all and then using the demo:restore_database script while referencing the SQL file that holds your database copy.
Drop your current databases by running: bundle exec rake db:drop:all
Run the following commands in order:

rails db:create
rails db:schema:load
bundle exec rake admin:import_or_update_jurisdictions
bundle exec rake demo:setup demo:populate

In MySQL Workbench or through the rails console, query to see if there are any moniotrees who are in the erroneous HOH state:

If using MySQL Workbench:
SELECT id, first_name, last_name
FROM disease_trakker_development.patients
WHERE responder_id = id AND head_of_household = 1 AND id in (SELECT responder_id FROM disease_trakker_development.patients GROUP BY responder_id HAVING count(*) = 1);

If using the rails console:
sql = """SELECT id, first_name, last_name FROM patients WHERE responder_id = id AND head_of_household = 1 AND id in (
SELECT responder_id FROM patients GROUP BY responder_id HAVING count(*) = 1);"""
results = ActiveRecord::Base.connection.exec_query(sql)
results.rows

Verify that the SQL query doesn't return any records, meaning there are no monitorees in this incorrect state of being erroneously marked as an HOH.

Bugfix - Cause of the Bug & the Solution
The root cause of this was a timezone issue on this line. The timestamp generated for the dummy monitoree's created_at value was automatically being converted to UTC when assigned to the montioree. This conversion resulted in some monitorees appearing to have been created on a future day instead of the current day the script was working on. So when the script tried to query for monitorees to group into households on this line, this timezone issue resulted in some monitorees being elidgible to place into households for two days, instead of the intended single day. This caused situations such as the following that resulted in the issue addressed by this ticket: While generating day 1 data, monitoree A was created with a created_at value on day 2 due to the timezone conversion issue. While still working on day 1 data, Monitoree A was marked as a household member for another monitoree created on day 1. When the script goes on to generate day 2 data, monitoree A was included in the list of possible monitorees used to create households with. As a result, moniotree A was assigned as a household member under a day 2 monitoree. This ultimately led to monitoree A's original day 1 HOH in the erroneous state that was being observed.
To resolve this, the create_fake_timestamp function used to generate the created_at timestamp was updated to validate that the returned timestamp falls within the desired window even after it was converted to UTC. This approach was used since it doesn't appear that the Faker between_dates function has a timezone arguement that can be set.
This issue shouldn't be possible to replicate through the UI due to work from this previous ticket. This issue would only be possible on the Production instance if somone forces the reassignement of a household member through a rails console session, so on Production this issue is not expected.
Important Changes
lib/tasks/demo.rake

Updated the create_fake_timestamp function so it only returns a UTC converted timestamp within the provided timeframe.

Checklists
Submitter:

[x] This PR describes why these changes were made.
[x] This PR is into the correct branch.
[x] This PR includes the correct JIRA ticket reference.
[x] Code diff has been reviewed (it does not contain: additional white space, not applicable code changes, debug statements, etc.)
[x] N/A If UI changes have been made, Chrome Dev Tools Lighthouse accessibility test has been executed to ensure no 508 issues were introduced.
[x] N/A Tests are included and test edge cases
[x] Tests have been run locally and pass (remember to update Gemfile when applicable)
[x] N/A Test fixtures updated and documented as necessary

@sgober :

[x] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[x] The tests appropriately test the new code, including edge cases
[x] You have tried to break the code
[ ] If applicable, you have tested changes against a large database, and considered possible performance regressions

@timwongj  :

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code
[ ] If applicable, you have tested changes against a large database, and considered possible performance regressions

@holmesie :

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code
[ ] If applicable, you have tested changes against a large database, and considered possible performance regressions

PR has been rebase. Reviewers please note that @timwongj  will be taking lead on this PR starting the week of April 19th.


fix: Request for Quotation address fix

Please provide enough information so that others can review your pull request:

Explain the details for making this change. What existing problem does the pull request solve?

Screenshots/GIFs

https://github.com/8848digital/erpnext/issues/88


add RadarAltitude to CKAN

@Marginal, Could you add .version file to your archive/repo ?
Example: SpeedUnitAnnex.version

Have added a .version file in https://github.com/Marginal/RadarAltitude/commit/86f5e43a059e986418892b959a53452fbf0a4ed6.

I am not familiar with ckan curseforge api ...
@HebaruSan

The .version file needs to be inside the download. Once that's done, replace ksp_version with:
    "$vref": "#/ckan/ksp-avc",

Sorry, I had misunderstood the purpose of the URL field. Corrected in
https://github.com/Marginal/RadarAltitude/commit/ae411ae140452f75776fe9bafc55243584fa6160

Released new version with .version file included.

Thanks for the changes @Marginal, and thanks for the metadata @yalov!


Integration Test - Release - 2022/01/20 02:38:59

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign PRMergerTest2

#reassign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#please-close

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign PRMergerTest1

#unassign NonAllowedUser


BE-7909: proof of concept

See gametimesf/guide#142 for full RFC context. I will be going through and leaving remarks on certain decisions.
also a reminder that this is a public repository

ideally we wouldn't need swagger.json and the generated client committed to this repository, but that requires obtaining swagger.json in an easy manner during the build process. might have to make mobileapi serve the file itself? I'll address it somehow in the coming weeks.

golangci-lint doesn't support generics yet, so disabling it


Rasa is not extracting Entity value with hyphen and space

Rasa version: Rasa:2.4.3-full
Rasa SDK version (if used & relevant): Rasa-sdk:2.4.1
Rasa X version (if used & relevant): 0.38.1
Python version: Python 3.6
Operating system (windows, osx, ...): CentOS
Issue:
Rasa is not extracting Entity value if it contains a hyphen and space.
NLU Data:-
intent: getcurrencyweight examples: |
What is the weight of AAL in GDS - Equity
Ex:- [{‘entity’: ‘account’, ‘start’: 29, ‘end’: 32, ‘confidence_entity’: 0.9999918937683105, ‘value’: ‘GDS’, ‘extractor’: ‘DIETClassifier’}, {‘entity’: ‘account’, ‘start’: 35, ‘end’: 41, ‘confidence_entity’: 0.9999841451644897, ‘value’: ‘Equity’, ‘extractor’: ‘DIETClassifier’}],
The model is trained with “GDS - Equity” (please note the space before/after the hyphen) entity but it is extracting as “GDS” and “Equity” instead of “GDS - Equity”. It doesn’t seem to be a problem with multiple words or hyphen in entity value as I can get the entity “AVIVA CAD1” / "GDS-Equity (no space before/after hyphen). The problem is clearly with the combination of Hyphen and Space.
Here is the version that we are using for Rasa/RasaX/RasaSDK. RasaX:- 0.38.1 Rasa:2.4.3-full
Rasa-sdk:2.4.1
Config.yml:-
language: en pipeline:
name: WhitespaceTokenizer
name: RegexFeaturizer
name: LexicalSyntacticFeaturizer
name: CountVectorsFeaturizer OOV_token: oov token_pattern: (?u)\b\w+\b
name: CountVectorsFeaturizer analyzer: char_wb min_ngram: 1 max_ngram: 4
name: DIETClassifier epochs: 200 ranking_length: 5
name: EntitySynonymMapper
name: ResponseSelector epochs: 100
name: FallbackClassifier threshold: 0.3 policies:
name: TEDPolicy max_history: 10 epochs: 20 batch_size:
32
64
max_history: 6 name: AugmentedMemoizationPolicy
name: RulePolicy core_fallback_threshold: 0.3 core_fallback_action_name: “action_default_fallback” enable_fallback_prediction: True
Please see the following thread for more details:-
https://forum.rasa.com/t/rasa-is-not-extracting-entity-value-with-hyphen-and-space/42401
Error (including full traceback):

Command or request that led to error:

Content of configuration file (config.yml) (if relevant):
language: en
pipeline:
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
  OOV_token: oov
  token_pattern: (?u)\b\w+\b
- name: CountVectorsFeaturizer
  analyzer: char_wb
  min_ngram: 1
  max_ngram: 4
- name: DIETClassifier
  epochs: 200
  ranking_length: 5
- name: EntitySynonymMapper
- name: ResponseSelector
  epochs: 100
- name: FallbackClassifier
  threshold: 0.3
policies:
- name: TEDPolicy
  max_history: 10
  epochs: 20
  batch_size:
  - 32
  - 64
- max_history: 6
  name: AugmentedMemoizationPolicy
- name: RulePolicy
  core_fallback_threshold: 0.3
  core_fallback_action_name: "action_default_fallback"
  enable_fallback_prediction: True

Content of domain file (domain.yml) (if relevant):

Thanks for the issue, @tttthomasssss will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

I was able to reproduce this, but I don't believe it is a bug. We sub out non-word characters (including "-") in WhitespaceTokenizer if there is a space before it and/or after it, see here.
This can be verified like so:
@pytest.mark.parametrize(
    "text, expected_tokens",
    [
        ("apple - banana", ["apple", "banana"]),
        ("apple-banana", ["apple-banana"]),
        ("apple- banana", ["apple", "banana"]),
        ("apple -banana", ["apple", "banana"]),
    ],
)
def test_whitespace_tokenizer_hyphens(text, expected_tokens):
    tk = WhitespaceTokenizer({})
    message = Message.build(text=text)
    tokens = tk.tokenize(message, TEXT)
    assert [t.text for t in tokens] == expected_tokens

At prediction time, DIETClassifier does not see the hyphen, and so cannot predict an entity that spans across the hyphen.
@HariTeneti there are a couple of different options here. You can:

write your own tokenizer, possibly based off of WhitespaceTokenizer, which does not perform this cleaning
write a custom component that comes before the tokenizer and removes whitespace around hyphens, meaning:
"apple - banana" would be converted to "apple-banana"
modify your training data to include the entities without hyphens. The result is that DIETClassifier will be trained on the data in the same form that it will see it during prediction.
- [apple banana](my_entity)

Please let me know if you have any questions!


cdc: integrate two phase scheduler

What problem does this PR solve?

Issue Number: ref https://github.com/pingcap/tiflow/issues/4757
What is changed and how it works?
Integrate two-phase scheduler and fix two bug

Fix duplicate topic handlers panic
Add From to messages from scheduler

Check List
Tests

Unit test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

Codecov Report

:exclamation: No coverage uploaded for pull request base (fb/latency@0b1c089). Click here to learn what that means.
The diff coverage is n/a.

Flag
Coverage Δ

cdc
62.4713% <0.0000%> (?)

dm
52.0374% <0.0000%> (?)

engine
58.7516% <0.0000%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff               @@
##             fb/latency      #5710   +/-   ##
===============================================
  Coverage              ?   56.9524%
===============================================
  Files                 ?        684
  Lines                 ?      80425
  Branches              ?          0
===============================================
  Hits                  ?      45804
  Misses                ?      30379
  Partials              ?       4242


[Hub Generated] Review request for Microsoft.HardwareSecurityModules to add version stable/2021-11-30

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
ARM API Information (Control Plane)
Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

/azp run unifiedPipeline

@xiaoxuqi-ms
We had received a S360 action item https://msazure.visualstudio.com/Swagger KPIs/\_workitems/edit/9470736
This change is for API 'GET/PROVIDERS/MICROSOFT.HARDWARESECURITYMODULES/OPERATIONS'.
Service is returning property 'isDataAction' as 'boolean' data type whereas it is defined as 'string' data type in swagger document.
In this case, service's behavior is correct and it should return 'isDataAction' as boolean. With this PR, we want to fix swagger document with 'isDataAction' as 'boolean' instead of 'string' data type.
As there is no service code change involved, our understanding is that it is not a breaking change.


Can I run PythonClient with CarlaUE4Editor

Dear all,
After editing the map and making some changes in the carla source code, how can I launch the carla simulation server through UE4Editor and connect it to one of the python clients (for example, ./manual_control.py)? When I hit 'play' in the UE4Editor, the simulation would directly start running under teleoperation mode.
Thank you very much!

Okay, I figured that I only need to change the 'UseNetworking' entry from false to true.

Hi,
the same question occurred to me,and I don't quite understand what you said above about changing the flag 'UseNetworking'. Do you mean that modifing the file '~/Unreal/CarlaUE4/Config/CarlaSettings.ini' with changing  UseNetworking = false to UseNetworking = true?  and then? Re-run Setup.sh?or Re-run the whole building process? Thanks a lot  if you could give me some help!

Hi,
How will we make sure that CarlaUE4 is listening on port 2000. Also I am using Windows-10. Is the behaviour diff in it?


Remove the timezone set.

Fixes #253 - as far as we can tell the timezone setting adds no benefit
other than removing a warning, which should be addressed in the system.

Looks like Google_Http_CacheParser::isExpired() uses strtotime() and Google_IO_Abstract->makeRequest() uses date().
Both strtotime() and date() can be affected by the value of date.timezone, so it seems that those uses of these functions may have relied on it being UTC.
Would it be worth changing date.timezone temporarily and then restoring the original date.timezone before and after the use of strtotime() and date()?

Yeah, sounds reasonable. Could you raise an issue with that comment?


File changes don't reflect in build if use Xcode 13

Description
File changes don't reflect in build if use Xcode 13
React Native version:
System:
    OS: macOS 11.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 68.57 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.9.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.21.1 - /usr/local/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 15.0, DriverKit 20.4, macOS 11.3, tvOS 15.0, watchOS 8.0
    Android SDK:
      API Levels: 23, 28, 29, 30
      Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3, 31.0.0
      System Images: android-28 | Intel x86 Atom_64, android-29 | Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom
      Android NDK: 19.2.5345600
  IDEs:
    Android Studio: 4.2 AI-202.76<IP_ADDRESS>51085
    Xcode: 13.0/13A233 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_292 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.2 => 0.64.2
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Run app on simulator from xcode 13
Make changes in files
Check if changes reflect in build

Expected Results
File code changes affect ios app on simulator
Expected Results
File code changes do not affect ios app on simulator

I thought it's xcode, cuz that's the only things that changed, but it's happening with android as well, not an issue in xcode, i'll investigate the issue more


IPv4 and IPv6 domain docs.

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

Other
Docs

Short description (up to few sentences):
IPv4 and IPv6 domains docs.
...

Also there are new errors in links integrity check:

INFO:root:Link to nowhere: #../../data_types/domains/IPv4/
INFO:root:Link to nowhere: #../../data_types/domains/IPv6/

(probably because files are named in lowercase)

Simplified documentation to meet style of other docs - removed superfluous sections.
Added doc files to toc_{ru,en,zh,fa}.yml
Added docs in other languages as symbolic links to English docs.
Added a script that helps in adding links.


Add Port scalar type

Add PortType scalar to Hotchocolate.Types.Scalars

https://github.com/ChilliCream/hotchocolate/issues/3207

Addresses: #2927

Thanks for the contribution!!


zms java client json/jackson serialize issue with timestamp

zms java client shades and relocations jackson classes. however, this seems like to cause problems when serializing object that include Timestamp fields which has its own custom serializer. the fix seems to be for zms java client not to shade com.fasterxml.jackson.core and not to relocate the other jackson classes it shades (e.g com.fasterxml.jackson.jaxrs)

this seems to be a shade issue, so we just need to reorganize how we include rdl-java and shade our utilities


Adds feature and updates testing API

The aim of this work is to simplify working with Cadence in testing scenarios. Building on the great foundation laid by @MaxStalker
TODO:

[ ] Example tests
[ ] Arguments to tx and contract init() functions

Highlights of this PR:
Loading Cadence files. Once configured, flow-js-testing can load Cadence files by name
const NFTContract = await contract("NonFungibleToken");
const FTContract = await contract("FungibleToken");
const MarketplaceContract = await contract("MarketPlace);

const tx1 = await tx("tx_01_check_nft");
const tx2 = await tx("tx_02_configure_user_account");

const script1 = await script("check_balance")

Simple API to create accounts for testing purposes.  Users can create a Flow account, and alias it for lookup later. In this case, If an account named "Bob" already exists, it returns the account.
let Bob = account("Bob")
let Alice = account("Bob")

Explicit functions for updating protocol state
Bob = await F.createAccount(Bob) // Bob is now a 'DeployedAccount' object

const DeployedNFTContract = await F.deployContract(Bob, NFTContract)
const DeployedFTContract = await F.deployContract(Alice, FTContract)
const DeployedMarketplaceContract = await F.deployContract(Alice, MarketplaceContract)

const txResult = await F.sendTx(tx1)

F.addBalance(Bob, 200);
F.addBalance(Alice, 200)

Easily replace imports (Done before execution / deployment)
tx1.importing({
   NonFungibleToken: DeployedNFTContract.address,
});

tx1.replace({
      "getAccount(0x01)": `getAccount(${Bob.address})`, // can also use regex replace
});

tx1.signers(Bob.address);

script1.importing({
   FungibleToken: DeployedFTContract.address
})

MarketplaceContract.importing({
  NonFungibleToken: DeployedNFTContract.address,
  FungibleToken: DeployedFTContract.address
})

any updates as to when this will be merged? we are starting to test soon

Closing because these changes have been superseded by:  #16 - #22 et. al.


Change plotter page title

Let client application define the title of the screen

It's necessary for developers give a title more related with the context of the information they are showing

Let client application define the title of the screen

It's necessary for developers give a title more related with the context of the information they are showing

validated


StringConversionSink.asUtf8Sink method should render this a NOP / throw

The documentation for StringConversionSink.asUtf8Sink says:
Returns this as a sink that accepts UTF-8 input.

If used, this method must be the first and only call to this. It invalidates this. All further operations must be performed on the result.

We no got a co19 tests that tries to validate that this is actually a NOP (i.e. considered closed), see tests/co19/src/LibTest/convert/StringConversionSink/asUtf8Sink_A02_t01.dart:
main() {
  bool called = false;

  var outSink = new ByteConversionSink.withCallback((accumulated) {
    called = true;
    Expect.listEquals(utf8.encode("12"), accumulated);
  });

  StringConversionSink inSink = utf8.encoder.startChunkedConversion(outSink);
  inSink.add("1");

  ByteConversionSink bcs = inSink.asUtf8Sink(false);
  bcs.add([50]); // [50] is utf-8 encoding of 2
  inSink.add("3");
  bcs.close();
  Expect.isTrue(called);
  inSink.add("4");
  inSink.close();
}

The call to inSink.add("3") should have no effect (or throw) - as the bcs = asUtf8Sink(false) call should make bcs the new and only sink.
Though the test currently fails with:
Unhandled exception:
deepEquals([49, 50], [49, 50, 51], ) fails
   [cause: Expect.equals(expected: <2>, actual: <3>Collection lengths are not equal: expected length=2, actual length=3) fails.]

meaning the inSink.add("3") was actually performed.
/cc @lrhn

We don't actually say that the underlying sink doesn't work, just that you mustn't use it.
It's more like unspecified behavior.


Add nightly evalutation comparing to MPFI and Mathematica

Can you add a PR description? I can merge.


I think 'break' is not breaking lists properly

Do I understand the operation of break correctly?
I think this demonstrates a bug in List.
-- Test --
testList : List(Int)
testList = nil 0 cons 1 cons 2 cons
testList 0 nat break dip(len? swap drop) len? swap drop == 0 nat 3 nat
testList 3 nat break dip(len? swap drop) len? swap drop == 3 nat 0 nat
testList 4 nat break dip(len? swap drop) len? swap drop == 3 nat 0 nat
testList 1 nat break dip(len? swap drop) len? swap drop == 1 nat 2 nat
ValueError: Assertion failed at line 7: input = [], LHS = [('_nat', 3) ('_nat', 0)], RHS = [('_nat', 1) ('_nat', 2)].
testList 2 nat break dip(len? swap drop) len? swap drop == 2 nat 1 nat

Definitely a bug! I'm taking a look.

Fixed now! The definition of n<= was wrong, which caused break to be wrong.
Thanks for finding this.


Change options after datepicker has been rendered

Hi I don't know how options could be modified after date picker has been rendered. It seems like it reaches the updateOptions method but they don't get updated. You can observe it in this Plunker:
https://embed.plnkr.co/jU3r1f/

Had the same issue. For me it a was problem in picker.date.js (v3.5.6).
If failed because calendar.queue doesn`t include key, which I tried to update in options.
    // The queue of methods that will be used to build item objects.     calendar.queue = {         min: 'measure create',         max: 'measure create',         now: 'now create',         select: 'parse create validate',         highlight: 'parse navigate create validate',         view: 'parse create validate viewset',         disable: 'deactivate',         enable: 'activate'     }
Failure method (type here is an option key)
calendar.queue[ type ].split( ' ' )
I fixed it just update updateOptions method from ng-pickadate.js (just exclude all unsupported key).


BUG: take ~10X times from different docker parameter

Describe your issue.
i use same docker image run same code, and take 10X times
ENV-1 (11.643s) : docker run -itd --cpus 2 --name docker_cpu_2 <docker-image>
ENV-2 (1.124s) : docker run -itd --cpuset-cpus 10,11 --name docker_core_cpu_2 <docker-image>
i want know what happen behind it, and can't get any message from the web.
Reproducing Code Example
import sys
import json
import time
import numpy as np
from sklearn import decomposition
from scipy.linalg.decomp_svd import svd
from scipy import linalg
import numpy as np

def main():
    start = time.time()
    num = 100
    x = np.random.standard_normal((num, num))
    y = np.random.standard_normal((num))
    #pca = decomposition.PCA()
    #pca_result = pca.fit(x)
    svd(x)
    # linalg.solve(x, y)

if __name__ == "__main__":
    start = time.time()
    for line in range(10):
        main()
        print(time.time() - start)

Error message
ENV-1:
         780828 function calls (764406 primitive calls) in 11.640 seconds

   Ordered by: cumulative time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
   1316/1    0.032    0.000   11.643   11.643 {built-in method builtins.exec}
        1    0.000    0.000   11.643   11.643 pca_demo.py:13(<module>)
       10    0.000    0.000   10.001    1.000 pca_demo.py:24(main)
       10    9.991    0.999    9.993    0.999 decomp_svd.py:13(svd)
    954/4    0.007    0.000    1.641    0.410 <frozen importlib._bootstrap>:978(_find_and_load)

ENV-2:
         781270 function calls (764848 primitive calls) in 1.121 seconds

   Ordered by: cumulative time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
   1316/1    0.030    0.000    1.124    1.124 {built-in method builtins.exec}
        1    0.000    0.000    1.124    1.124 pca_demo.py:13(<module>)
    954/4    0.006    0.000    1.065    0.266 <frozen importlib._bootstrap>:978(_find_and_load)
    954/4    0.005    0.000    1.065    0.266 <frozen importlib._bootstrap>:948(_find_and_load_unlocked)
    872/4    0.005    0.000    1.064    0.266 <frozen importlib._bootstrap>:663(_load_unlocked)

SciPy/NumPy/Python version information
scipy==1.5.4; 1.21.5==1.21.5

SciPy/NumPy/Python version information
1.5.4 1.21.5 sys.version_info(major=3, minor=7, micro=0, releaselevel='final', serial=0)

This code takes 1-4 milliseconds per loop iteration on my machine.
I think you're basically just benchmarking docker startup times, so this is unrelated to scipy.

Docker should have started by then, if you can run a Python script. My guess is that the svd call actually does take that much longer, because with --cpus vs. ``cpuset-cpusthere's a difference in how many CPUs appear to be available (one says2, one says n-cores-in-machine, and OpenBLAS suffers from oversubscription. To verify this, please try running both with export OPENBLAS_NUM_THREADS=1` and measure again (assuming you use OpenBLAS).
Either way, it's not a SciPy issue though.

I'll close this, because it's not something we can do anything about.


Rename Package to reflect VSTS -> Azure DevOps rebranding

Closed via https://github.com/swellaby/vsts-bump/commit/95dc67417fdce609216afa4d79fff4d1d9a8fba2


Ability to connect PIW to existing local kernel

It would be very useful to be able to connect the interactive window to an existing kernel. This could work the way Jupyter Lab does, where you can open a console connected to a notebook, or have an option in the PIW itself to select an existing kernel to connect to.
I'm currently running a Jupyter console in the integrated terminal next to my notebook, but it is of course missing many of the features of the PIW. This is really the only feature that forces me to still open up Jupyter Lab since I'm so used to experimenting in the console and using my notebook only for documentation purposes.

Thanks for filing this issue.
We do support this today, please could you try using the command Select local or Remote Jupyter Server for Connections from the command palette, then enter the Url of the Jupyter server.
Once done, in the interactive window you should be able to select an existing kernel.
Do let me know how this goes.


Artifacts or gray screen and stderr garbage for resolution <= 640x640 with AVC444

Connecting to windows 10 or windows server 2012 with AVC444 and a remote resolution smaller or equal than 640x480 causes a gray screen and a lot of errors on stderr. It happened after PR #5383
xfreerdp /v:<IP_ADDRESS> /u:jjk001 /d:xxx /w:640 /h:480 /gfx-h264:AVC444
the result is a gray background screen or some gray blocks, with a lot of errors on stderr.
In remmina we worked around this by calling
freerdp_settings_set_uint32(rfi->settings, FreeRDP_GfxCapsFilter, 0xFFF);  before connecting. But in this way we lost all RDPGFX_CAPVERSION_*
I opened this issue to leave it as a reference for the future, but...
what did we miss by disabling RDPGFX_CAPVERSION_* ? Performances? How much?
Cc: @antenore

There seems to be a bug in ms servers when newer caps are announced and certain resolution constraints are violated.
(Not exactly sure what they are, but classic 640x480 is one of those)
Started with caps >10.2
What you're missing:
Newer caps have some high dpi scaling options. Therefore currently you're not missing anything.

freerdp_settings_set_uint32(rfi->settings, FreeRDP_GfxCapsFilter, 0xFFF); seems to have a noticeable  performance loss. I can see it when opening the Windows 10 main start menu.
So, for now, the only solution I have found is to prevent the user to go under a minimum resolution when GFX is enabled (Remmina commit here).

@giox069 you can also try to enable a few caps (you disable all with that mask)

I have tried. For example, a mask of 0xE0 worked for the last windows 10 (still 1809) but not for Windows server 2012 R2. After 40 minutes wasted in testing... I gave up :smiley:
I noticed also that all stderror stuff comes from the h264 decoder, so I downloaded cisco's openh264 and compiled xfreerdp with ffmpeg=off and openh264=on. But I had the same problem: artifacts and  a lot of h264 decoder errors (different from the previous errors).
No problems, we will survive preventing the user to resize under 642x480.
If you will ever find a solution, just post on this issue :smiley:

Just to clarify the wont-fix label:
We can not change what the server is sending us, so need to wait for a fix there ;)


Depend on NPC Arduino rather than including in sources

Null Packet Comms was broken out into a dedicated repository  to be a generic Arduino library. This project should instead depend on releases from that repository rather than include it internally.
Documentation will need to be updated to reflect.

Closing as resolved via main branch commit:
https://github.com/CreatingNull/UOS-Arduino/commit/ae7964566bac51a1b41afc35ab59774f67d23a5e


compilation fix

@sam-byng if you could run the CI build for this and consider merging it into your branch that would be great.


spec: Add one-liner that apps in image dependencies are ignored.

Fixes #202
Short and sweet enough?

@cdaylward if this makes it clear enough for you it's fine with me...

lgtm


How to use javascript to add new hot spots?

I want to use javascript to add new hot spots, and can add it pitch yaw text in web
How can I do?

The addHotSpot method is what you're looking for. If you create your viewer with var viewer = pannellum.viewer(...);, you can add a hot spot to the current scene with
viewer.addHotSpot({
    "pitch": 10,
    "yaw": 10,
    "type": "info",
    "text": "some text here"
});

If you want to add it to a different scene, you can provide the scene ID as the second argument to the method.

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'push')


Fixes/Updates during Windows regression testing

NOTE: The beta v5 protocol is currently broken due to changes that are
going into the official v5 protocol on the Cassandra v4.0 development
work. In this PR is a commit to ensure that the result_metadata_id is not
handled.
https://issues.apache.org/jira/browse/CASSANDRA-10786
<EMAIL_ADDRESS>

Remember to merge this into your other PR first. :)

Landed 125e452


Uncaught error doesn't contain message in plugin-encryption

There's a scenario where an error message is not being associated with the relevant error.

The stack trace is hard to follow but it's sometime after fetchKey

just look for new KmsError() or any of the constructors derived from kms error. Ideally, we would never construct such an error without a message. moreover, we should improve KmsError's toString()  to maybe include the kms request parameters and (if possible), the webex tracking id.

I think I found a bug in the base Exception class which caused this. Hopefully should be fixed in the next few days.


feat: Remove usage of "token" from Local Storage

With this change, there would be no need of saving token in Local Storage. Instead api calls would have Cookie set on them for authorization.

Removes all references of usage of token from LS.
Fixes login, logout and signup pages.
Re-route user to Create Project page if no projects exist in account.

https://github.com/user-attachments/assets/6f9155fc-74ce-4304-b248-6dea8a8c4fbe

Last case in the video defaults to Steven M. as opposed to user 5 in the bottom left?

Last case in the video defaults to Steven M. as opposed to user 5 in the bottom left?

I think those are the default values? This would be when user info is not yet available in AppContext

Last case in the video defaults to Steven M. as opposed to user 5 in the bottom left?

Let me check

Last case in the video defaults to Steven M. as opposed to user 5 in the bottom left?

Was a genuine issue where user info was not getting set, fixed it now.
https://github.com/user-attachments/assets/e668d26b-b502-42d0-b716-23b23961d12e


How to make DaySize, so that width and height max out the view size?

Library information:

Version: 2.0.0
I'm using the View Module.

Hello Kitzito,
i really love your library and it helped me a lot to accomplish my goals.
But I can't really figure out, how to make the DaySize of each day, so that everything evenly spaces out.
I tried using the daySize:seventhWidth property, but it only spaces widthwise. I'd like to make a Calendar, that also spaces out heightwise automatically. To make things easier im using the endofGrid and scrollPaged=true property to make the pages even in every month. I only need to make the days fit to the screensize devided by 7 in width and by 6 in height.
Any help or idea would be much appretiated.

This is the Concept that comes to my mind. One would swipe from left to right to see the pages...

Hey, there is a new snapshot deployed with this feature:
In your project build.gradle file:
    repositories {
        google()
        mavenCentral()
        maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
    }

In your app build.gradle:
implementation "com.kizitonwose.calendar:view:2.0.2-SNAPSHOT"
There is a new daySize option: rectangle, if this is set and the calendarview's width and height are match_parent, you'd get the full-screen calendar.
Here's example 1 with this configuration:

This feature is not final, but with your help testing it, I can ship it in the coming days.

Hey Kitzito,
you are awesome! I couldn't have even imagined how fast you made this solution.
It works perfectly. Now evetything spaces out evently.

This is a quick demo I put together.
Note:
For everyone who wants to follow the implementation of the snapshot until the new version is issued:
Using the latest Android Studio (DOLPHIN) causes problems with the sonatype repo.
Just add the maven {url} not only in the buildscripts of the build.gradle(project) but also in settings.gradle under repositories in pluginManagement and  dependencyResolutionManagement. If done so, Android Studio recognizes the sonatype repo correctly.
All in all:
Thanks Kitzito for the quick response, which has gotten farely common with all issues in your library. We need more open-source devs like you. People that care about their libaries and the people who use them.
You rock!
PS: If you need anything specific in testing from me. Just get in touch. I can then help you push out the fix ASAP.

Hey, thanks for the kind words. I am glad that the update works as expected. I will now do some final checks on my end and also add some UI tests for this behavior and the release will be published. Keep an eye out for the next version - hopefully between now and the weekend.


Refactor and test readGenerator

Issue #296

This looks good @dcolligan, definitely a step in the right direction. I'm sorry I haven't had a chance to review it properly today, will try and get to it tomorrow.

I like this @dcolligan, but I'm afraid I don't have time to think about it properly now. Can we postpone this until after the feature freeze?

That's fine, but there's not much to think about here.  It's just breaking up too-long methods into more manageable chunks and adding tests.

Closing PR to make a new one against develop


Truncate the kata-runtime log file to avoid OOM

Description of problem
If you use containerd shim v1 to create a kata container, containerd-shim will pass a --log parameter to kata-runtime create command, the log file(we call it kata-runtime.log following) specified by --log parameter will be opened by beforeSubcommands() function and set file as the kataLog object output file.
Normally, if you call kata-runtime exec command to do some operation in the container, the kata-runtime exec process will write the log messages to the log file we described previously. However, if huge times of kata-runtime exec command are called, the file size of kata-runtime.log will increase rapidly and consume the memory footprint in the /run dir.
Moreover, if you put your containerd and containerd-shim processes in a separate limited memory cgroup, which may cause oom occurs and containerd process is killed.
Expected result
No matter how much time kata-runtime exec commands are executed, kata.log file will not be too large and never triggers oom.
Actual result
If I put dockerd/containerd in a memory cgroup which limit max usage memory is 4GB, and I do the about thousands of times docker exec  echo "hello" operations, which triggers
the oom event in the memory cgroup.

I think who use this log file who should process this log file(maybe should truncate it), so I recommend to do this modification in the containerd instead of kata-runtime.
I will close this issue.


[LekoArts/gatsby-starter-minimal-blog] - Cannot locate the src folder

Hey, there! Let me start by saying that I absolutely love the themes you created and I'm looking forward to using it in my personal blog.
What I'm trying to do is to change the contents in the hero section as well as the logo and footer. My problem is I cannot locate the src folder in the gatsby-starter-minimal-blog. I did read the documentation and I'm not sure how I can implement the changing the hero text part as I'm still relatively new to Gatsby and React in general.
Seeing two other issues like this one and that one suggests that there could be some way of accessing src files. The only clue I get so far is I have to do some "Shadowing" even though I'm not exactly sure what does this term mean.
Is there a way I can find the src folder so that I can change the things I want?
Thank you!

I second this. I cannot link the src folder either. I keep going round and round this. Would be helpful if more explanation was given.

https://github.com/LekoArts/gatsby-themes/issues/451#issuecomment-657096750

you can just add the src folder in the top level directory when you clone the gatsby-starter-minimal-blog
in the gatsby documentation - the file structure goes like this:
src/
src/components
src/templates
src/pages
in the pages directory you can create .js pages
I'd recommend taking a look at the docs here:
https://www.gatsbyjs.org/docs/themes/building-themes/#gatsby-theme-minimal
Although, it might be useful to have either 1) a note in the readme in the @LekoArts theme, or 2) mirror the directory structure of gatsby-default-starter or gatsby-theme-minimal so that it will be less confusing for new gatsby users.
I agree, it must have taken me several hours to figure out what was missing in the @LekoArts/gatsby-starter-minimal-blog theme.

@mohammedasker it looks you have to create the exact directory structure<EMAIL_ADDRESS>It also took me a few moments to understand but this issue led me in the right direct.

@mohammedasker it looks you have to create the exact directory structure<EMAIL_ADDRESS>It also took me a few moments to understand but this issue led me in the right direct.

Yeah, that worked out. Literally creating the exact file structures solved the problem. Does that mean if I want to change the logo, favicon, projects, and footers; I also have to do the same thing for them as well?

To change the header / footer you'd shadow the components here:
src/@lekoarts/gatsby-theme-minimal-blog/components
Favicons would go in the static dir.

I have two questions about modifying the theme. Here is my GitHub Repository  and the website deployed via Netlify.

Adding pages: I created pages and added them to the navigation in the gatsby-config.yml in the root folder. Why are they not being displayed in the navigation bar?

Changing the footer: I created a folder in src/@lekoarts/gatsby-theme-minimal-blog/components like @eskewj suggested. However I don't understand what kind of file goes in there. I found a footer.jsx file in the theme's "lekoarts" folder which I modified.  But I got a failed deploy when I added it to my repo.  I deleted it again.   So what do I need to do?

Update:
Chrome seemed to load an old version of the website. A few changes I made in the gatsby-config.js now appear in the navigation.
However, I still could not get the SiteTitle to display my name. Could someone take a look at my config and tell me what I am missing?
I'm also still trying to figure out how I can get the footer I created to work. Is this shadowed correctly in the /src ?

I've followed all the instructions in the above comments and still can't seem to change any of the text in the hero section. I've also read up on shadowing and overriding, and still can't seem to get it. Is there a better explanation out there? I really like this theme and don't want to give up on using it.

**Update: **
I figured it out. I just had restart my development server and the suggestions above worked out fine.


CE-180: Migrate to Transifex v3 API

Resolves

CE-180
https://github.com/LLK/scratch-l10n/issues/171

Proposed Changes
This PR pulls in the txPull helper function from scratch-l10n and uses it to pull strings from transifex instead of the old API. (ideally there wouldn't be code duplication, but I'm not sure if we want to export the helper functions from scratch-l10n or not. maybe good to discuss!)
Reason for Changes
The Transifex API we are currently using will be shut down on November 30th, 2022 and needs to be migrated off of before then.

@cwillisf looks like the txPull import doesn't depend on https://github.com/LLK/scratch-l10n/pull/175, so this should be good to go with those changes now!


Makes factorized tensor optional

Use factorized tensor only if factorization is not None.

Right now I'm also using TensorLy to cache the optimal contraction path and use opt-einsum under the hood - removing this will make it significantly slower.


shutdown of 400GB dbase  hangs

OrientDB Version, operating system, or hardware.

v2.2.7

Operating System

[x] Linux

Expected behavior and actual behavior
A single-node ODB server is not stopping, when using the gracefull "shutdown.sh" script.
This is a separate thread for the issue started in #6657; this new issue is strictly relating to the shutdown problems. Please see that issue #6657 for the previous communications about the subject.

First of all, as reference, the doc about shutdown:
http://orientdb.com/docs/last/Tutorial-Run-the-server.html#stop-the-server
If you run the shutdown script on the server where OrientDB is running, without parameters, it will send a kill signal and the waits for the process to finish:
echo "pid file detected, killing process"
    kill -15 `cat "$ORIENTDB_PID"` >/dev/null 2>&1
    echo "waiting for OrientDB server to shutdown"
    while ps -p `cat $ORIENTDB_PID` > /dev/null; do sleep 1; done
    rm "$ORIENTDB_PID"

You can stop the server passing parameters to the script, as stated in the documentation:
 ./shutdown.sh -h odb1.mydomain.com -P 2424-2430 -u root -p ROOT_PASSWORD

You need to provide the server root username and its password. This will not wait for the server to shutdown. This way you can better understand what the server is doing if it still stays online.

Hi @rdelangh  @robfrank is right, we recommend you to stop the server by passing parameters to the script.
If that solve the issue, and you have time to investigate the case when kill command hangs the database I will be glad to fix that problem too. If this approach does not work, please keep a database in the frozen state and we will gather additional information to identify an issue.


Add wPAW coin

Description
PAW Chain has launched the world’s first Layer 3-centric blockchain, enhancing scalability and inter-chain operability across networks. The roadmap features a decentralized exchange, merchant services, and a DAO, all optimized for high-volume, low-cost transactions. Leveraging smart contracts and EVM compatibility, PAW Chain is set to transform digital finance by providing secure, efficient solutions. This allows any project to go multi-chain, underscored by a community-driven governance model and rigorous security standards, including regular security audits.
Multi-chain - native $PAW on PAW Chain
Networks at the moment: Arbitrum, Base, BSC, Ethereum, Polygon
Token Address: 0xC11158C5dA9db1D553Ed28F0C2Ba1Cbedd42CfCb
https://etherscan.io/token/0xc11158c5dA9db1D553ED28f0C2BA1CbEDD42CFcb
CoinGecko (contract verified): https://www.coingecko.com/en/coins/paw
CoinMarketCap: https://coinmarketcap.com/currencies/pawswap/
Official Links
Docs: https://pawchain.net/docs
Website: https://pawchain.net
X: https://x.com/PawChain

Test are failing, it seems that you are missing closing bracket in JSON file

@sidrun69 if I am correct - the right EIP-55 format would be 0xc11158c5dA9db1D553ED28f0C2BA1CbEDD42CFcb


Replace fetch client with cross-fetch

cross-fetch is the better package to use in universal environment.

Universal WHATWG Fetch API for Node, Browsers and React Native. The scenario that cross-fetch really shines is when the same javascript codebase needs to run on different platforms.
— cross-fetch - npm

It's already accepted apollo-fetch.

— Dropped dependency isomorphic-fetch in favor of cross-fetch (React Native compatible) by lquixada · Pull Request #71 · apollographql/apollo-fetch

cross-fetch does not need any hack. (ex. browser field, dynamic-require)
It reduces the size of code base.
Cons: Increase bundle size (about 1-2kb)

https://github.com/octokit/rest.js/pull/858#issuecomment-388989644

LGTM. I'm wondering why our browser field of package.json in phenyl-http-client doesn't work as cross-fetch. Anyway, let's follow future standards! Thanks, @Leko


9693 q as ref support odk

Updates the ODK XML rendering engine to support questioning references as the right side of a conditional expression.

can I support this with manual testing or do you think that's better done in bulk after the rest of the changes?

Thanks for asking! I think we'll be fine with testing at the end. The edge cases of converting our model into XML are best covered by the model specs. If you think something is missing there, let me know.
As for whether the XML works on ODK, I have done some manual testing as part of this work and am feeling confident.


[stable/postgresql] make chart work on ARM / RPi

Is your feature request related to a problem? Please describe.
I have a K8S cluster running on some Raspberry Pis; I want to run Postgres but the chart for Postgres doesn't work on ARM architectures.
Describe the solution you'd like
There are other stable charts that offer options for running on ARM architectures, e.g. nfs-client-provisioner lets you set the image.repository variable to a different image that ends in a -arm suffix, and then things work.
Additional context
It seems there are some Postgres Docker images out there built for ARM; however the Postgres chart uses some derivative images by Bitnami. And apparently Bitnami didn't make any derivatives for ARM.

Hi, in the short term there are no plans from Bitnami to support ARM architectures in the images. But one thing is the chart and other the images.
From chart version 4.0.0, it is possible to use this chart with the Docker Official PostgreSQL image. Besides specifying the new Docker repository and tag, it is important to modify the PostgreSQL data directory and volume mount point. Basically, the PostgreSQL data dir cannot be the mount point directly, it has to be a subdirectory.
helm install --name postgres \
             --set image.repository=postgres \
             --set image.tag=10.6 \
             --set postgresqlDataDir=/data/pgdata \
             --set persistence.mountPath=/data/ \
             stable/postgresql

Using above installation parameters you can override the image repository bitnami/postgresql by postgres and the Bitnami tag 11.6.0-debian-9-r0 by the Docker Inc. one 11.6.
It seems there are a Docker Inc. Postgres image that supports ARM: https://hub.docker.com/r/arm64v8/postgres; you can try using this image with the above parameters. Please, take into account that this configuration was not tested in our side so feel free to create PRs or whatever is needed to make this chart compatible with this ARM image if needed.

Looking at the chart, it seems there's also an init-container running bitnami/minideb which is not compatible with ARM machines. Are there similar ready-made alternatives to that?

Those are the commands that this container execute: mkdir, chmod, find and xargs; any image with these packages is valid. We used minideb because it is released on a daily basis to avoid CVEs and it is light, but you can use other options just using: --set volumePermissions.image.repository and --set volumePermissions.image.repository.tag

Awesome, I got it to work. Thanks for your help. In addition to running it on a Raspberry Pi cluster, I'm also using a NAS file share for persistent storage. I'm using another stable chart (nfs-client-provisioner) to make that work. I'm going to leave my configuration YAML here for anyone else who might be wondering how to make it all work:
image:
  repository: arm32v7/postgres
  tag: 11.6

persistence:
  mountPath: /data
  size: 20Gi
  storageClass: nfs-client

postgresqlDataDir: /data/pgdata

volumePermissions:
  image:
    repository: arm32v7/alpine
    tag: "3.10"

securityContext:
  fsGroup: 999
  runAsUser: 999

livenessProbe:
  initialDelaySeconds: 300

readinessProbe:
  initialDelaySeconds: 300

Good news, thanks for letting us know!

@soapergem @dalekurt were you guys able to setup a master-slave using the postgres arm image? i'm also working on something simillar with my rpi clusters.
Appreciate your response on this.


Where is the AppImage?

https://s3.amazonaws.com/winds-2.0-releases/latest.html
The link is broken:
https://s3.amazonaws.com/winds-2.0-releases/releases/Winds-2.0.309-x86_64.AppImage
AccessDeniedAccess DeniedAD3DE14783048B44UXblsgSxutMinLzYia4v2DA7sHzbQxQRqBlHp35sTEC7D5hqVYzl1PgeSd1D0t8XRy+w9JI/ajA=

i meet the same problem.can't download the releases by 'https://s3.amazonaws.com/winds-2.0-releases/latest.html'

I think it's a typo in the filename... @nparsons?
On Sat, Jun 9, 2018, 19:32 Wangyutao<EMAIL_ADDRESS>wrote:

i meet the same problem.can't download the releases by '
https://s3.amazonaws.com/winds-2.0-releases/latest.html'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GetStream/Winds/issues/373#issuecomment-396012450,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQMweD_onJTVYbbi5kwmtkkXNBZ7RPsks5t7HcqgaJpZM4UhMV-
.

Looks like it's fixed. Can you try again?
https://getstream.io/winds/

It's fixed. :+1:


documentation

where i can get documentation?
i try connect and got error
Diagnostics:
  huaweicloud:Vpc:Vpc (my-vpc):
    error: 1 error occurred:
        * Error fetching Auth credentials from ECS Metadata API, AkSk or ECS agency must be provided: Error requesting metadata API: Get "http://<IP_ADDRESS>/openstack/latest/securitykey": dial tcp <IP_ADDRESS>:80: i/o timeout

solved, need to use variables


Rename Backplane to MultiClusterEngine

Signed-off-by: Zachary Kayyali<EMAIL_ADDRESS>
Description of the change: Rename Backplane to MultiClusterEngine
Motivation for the change: Rename Backplane to MultiClusterEngine

/hold

Saw jakob's comment and put a hold on this

PR is updated w/ changes!
There should be no more backplane references at all.

/unhold


Use fips=yes consistently in documentation

The documentation for EVP_default_properties_is_fips_enabled() uses
fips=yes in one place and fips=true in another place. Stick to
fips=yes like everywhere else.
Signed-off-by: Christian Heimes<EMAIL_ADDRESS>
Checklist

[X] documentation is added or updated

This pull request is ready to merge

Merged to master as 6763f9c7e6. Thank you.


Idea: multi-word mode as conjunction

Fzy has a really nice algorithm! One thing many other fuzzy file finders do is split the input on whitespace and use it as a conjunction, i.e. every word needs to match the line (but in any order).  Currently, it's a bit hard to use fzy because all letters would need to be in correct order...
E.g. you want to find a pdf in your home folder belonging to project bar, then you need to type "homebarpdf" currently, but with my proposal, you could type "pdf home bar"... as long as all words match somewhere.
Bonus points for negation, e.g. "pdf -bar home" to remove matches for "bar".

Thank you. This is an interesting idea. I'd like to give it more time for consideration, but I'm not sure it fits too well.
I've never found myself wanting to search for words out of order. Maybe others do (please let me know). Though it's something we could add, but it will be extremely tough to score correctly (either very, very slow or not carrying much meaning).
Negation is also a little awkward. When you say "remove matches for 'bar'", if that means removing matches which fuzzy match "bar" I don't think that's a good feature. Fuzzy finding by definition returns false positives. Negating means a user might exclude results by accident, which is bad.

One usecase is e.g. if you have a project structure lib/foo.rb, test/test_foo.rb, and you want to open foo, and then it shows two choices and you'd need to backspace to make them unique.

When you say "remove matches for 'bar'", if that means removing matches which fuzzy match "bar"

Presumably negation would be based on exact matching rather than fuzzy. I've no idea how difficult something like that would be to implement.

I appreciate the desire for this but it doesn't fit well with fzy's algorithm. It might be solved by a better editing interface as #24 proposes.


WIP: reference modules deterministically for core <> module interplay

also, is safe math really safe?! stay tuned for more!
@elsehow @ezekiiel @janitachalam

@bmorphism can you add a bit more context here? We've been tuned in for a while. : )

I believe I've added this as a placeholder for an issue referenced by @ezekiiel several iterations ago and called out during the Wednesday sessions, need to confirm if still legitimate

Seems to be resolved. Feel free to re-open if not.


Work on Javascript section to dynamically populate contents from the backend APIs onto the page

Work on Javascript section to dynamically populate contents from the backend APIs onto the page

Done


Magic spells are passing through sentinels (Citizens)

Hello,
It seems that sentinels are not considered as valid entities able to
take damages by your plugin.
All information about the issue are available by clicking this link :
https://github.com/mcmonkey4eva/Sentinel/issues/242
Magic version : 6.9.20
Can you check that ?
Thanks.

Not getting a whole lot of help over there, so I’d suggest you just make NPCs targetable. Add this to your spells.yml:
default:
  parameters:
      target_npc: true

I take that back, he turned out to be extremely helpful!
You can hold off on adding target_npc if you want, I'll improve my Citizens integration.

That's very nice, thank you !

Fixed in latest release!

@NathanWolf sorry to bump this, but there are actually still a few important issues with citizens/sentinel integration :
With the "target_npc" option set to true, the spell does affect sentinels... But normal citizens as well ! As a result, spells like "push", "pull" or spells that moves the target in general allow the player to move a static NPC from one place to another... They can push the citizens out of a town, for instance.
Also, a player can farm SkillPoints by spamming spells on a static, invincible, NPC.
An ideal solution would be for the spells to only work on sentinels, and to only reward SPs when they hit a Sentinel. But that's not all : some sentinels are allies of the player, who should therefore not be able to harm them. With spells that becomes entirely possible : the player just as to poison the friendly sentinel or set it on fire with a spell.
Which is why we can't simply disallow NPC targetting for the spells like push etc, because there would still be that issue.
To sum it up, it would be perfect if it were possible to only use spells on non-friendly, Sentinel-only, NPCs.
If that's possible, that would be great !

The latest dev build fixes most of these problems- and as a bonus, you also now have the option of creating Sentinels that can cast spells.
I do not have support in place for recognizing "friendly" sentinels, if there is an API method to do that I can look into it, though.

Really ? I didn't see it, that's very nice ! We'll try that as soon as possible.
As for the friendly sentinels, okay, we will try to find a way to protect them as much as we can in the mean time (if you can have a look sometime).

Yup! Unfortunately though I thought I had fixed this a while ago, I had not. I recently installed Sentinel and used it for the first time, and realized I still couldn't target them.
Spellcasting works by applying a magic mob template to the Sentinel, so you could make him cast spells on an interval, on death, or a few other triggers.
I will see what I can do about the friendly ones, but I'm not really familiar with Sentinel, I'd prefer not to build directly against it, but maybe there's a Citizens API that'll get me there.

Okay, please let us know if you get any progress on that matter, thank you !

Unfortunately this is not part of the Citizens NPC API.
I don't have any plans to build directly against Sentinel any time soon- I will rename and leave this issue open until I either do it or decide for sure that I am not going to do it. In the meantime I think you will have to work around it, sorry!
Also keep in mind that a player will always be able to hurt their sentinel if they try hard enough. Lighting them on fire, like you mentioned, for instance- there's no way to prevent that, the player is lighting a block on fire, the block is lighting the NPC on fire. Same with something like using Blob to suffocate them, any sort of indirect damage is impossible to prevent.

https://github.com/elBukkit/MagicPlugin/issues/384

We did a bit of testing and can confirm that you can still gain SkillPoints by firing spells like magic missiles at standard NPCs, thus allowing players to farm skillpoints on static NPCs.

Do you still have target_npc: true set in your spell configs?

Yes we do

I did open a separate issue to track that, referenced above, but it’s on me to implement, not Sentinels. I don’t expect I’ll get to it anytime soon though, so unfortunately you will have to plan to work around it in the meantime. Tell players to aim carefully I guess? 😄

Yes I saw, however the issue is not exactly as you see it ! On our server, friendly sentinels can't be hit by players (it's a config option from Sentinel : sentinels who ignore the player can't be hit by the player). That means that players can spam spells on town guards for instance, which will not receive any damage, but the player will still gain the SPs.
I don't think of a way we could really work around this unfortunately, so we'll just have to say it's forbidden and hope they do not exploit it too much...!


Update Directions.d.ts

Missing closing bracket for declare module Microsoft.Maps:
Error	TS1005	'}' expected.

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

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

Good catch. The intellisense in my Visual Studio didn't highlight this for some reason.


The "!details" command is bugged in replays, weird behavior

I think this is an error:

What exactly do you think an emoji react is supposed to mean? You've been using them inappropriately.

Also why would you report a replay bug without linking to a replay? :|

@Zarel I thought the screenshot will suffice, do you still want the replay? :|

I can't fix it without the replay. The screenshot only tells me what's broken, not how to fix it.

Ok, I'll deploy the replay: https://replay.pokemonshowdown.com/gen7randombattle-833167041 turn 16.
Note that this doesn't happens with /weak commands.