[R] remove unused headers

Proposes removing some unnecessary headers in the R package's R-to-C/C++ interface.
These unnecessarily introduce a risk of name collisions and other types of compilation errors, and make it a bit more difficult to understand what the R package is relying on from R itself.
Notes for Reviewers
For background on how routine registration works in R packages (e.g. how the R-package/src/init.c works), see https://cran.r-project.org/doc/manuals/R-exts.html#Registering-native-routines.
For a summary of what's in <R.h> and <Rinternals.h> from R, see https://cran.r-project.org/doc/manuals/R-exts.html#Organization-of-header-files.

I'm not entirely sure what happened to GitHub actions, restarted a job for testing.

GitHub had a fairly significant outage today, which affected services like GitHub Actions: https://www.githubstatus.com/incidents/smdz34v7j8q0

Apologies for the slow response.

No problem at all, a 2.0 release is a lot more important than this PR 😂


Can you set the page, chapter or bookshelf to be private? I see many projects in China have this approach.

Describe the feature you'd like
Can you set the page, chapter or bookshelf to be private? I see many projects in China have this approach.
For example:
lifei6671/mindoc
TruthHun/BookStack
When creating a page or project, you can choose not to publish it. Because sometimes I don't want to publish my articles.
Describe the benefits this feature would bring to BookStack users
I don't know what's good for others, but I think in China, there are many people who will choose not to publish their own articles or codes.
Additional context

Hi @wzhz,
Thank you for your request. You can create groups for people and then assign permissions for your content for each of those groups. There are also a range of "-own" role permissions which could be utilised. Things in BookStack are generally designed to be shared though, so there's no specific "Private" switch on content, and I can't see there being anytime in the near future.
I may close this off soon as a duplicate, since the fundamental idea of "Private content" has already been requested in #747.

嗨@wzhz，
谢谢您的请求。您可以为人员创建组，然后为每个组的内容分配权限。也可以使用一系列“自有”角色权限。虽然BookStack中的内容通常设计为共享的，所以在内容上没有特定的“私有”切换，而且我看不到在不久的将来会出现任何情况。
我可能会一口气将其关闭，因为＃747中已经要求“私人内容”的基本概念。

Thank you very much for your answer, but I didn't find the relevant group settings.
Can you elaborate on the steps of group setting


Weird mouse detection problem

Hello, thank you for the great manipulater. However, I meet a weird mouse detection problem related to the viewpoint (view matrix). There are 3 situation for the detection.

The manipulater can work prefectly in some specific viewpoints. (Figure 1)
The manipulater cannot detect the mouse hovering for most of the viewpoints except for the center point. (Figure 2)
The manipulater can detect the hovering but move target object in inversed direction. (Figure 2)

Figure 1

Figure 2

Hi ! Thank you for your feedback!
Can you dump the matrix values for view/projection/model when you get the issue in fig 2? And rectangle x,y width, height as well.

Common:
Screen Rect: [ 0, 0, 1920, 1080 ]
zNear: 0.1
zFar: 10000000
ModelM: Identity
ProjM
0.562500, 0.000000, 0.000000, 0.000000
0.000000, 1.000000, 0.000000, 0.000000
0.000000, 0.000000, -1.000000, -0.200000
0.000000, 0.000000, -1.000000, 0.000000
Situation 1:
ViewM
0.882988274, -0.469395131, -1.15633075e-05, 8.27197838
0.156591877, 0.294544756, 0.942720711, -0.404474497
-0.442505121, -0.832413137, 0.333583057, -28.8341942
0.000000000, 0.000000000, 0.000000000, 1.00000000
Situation 2:
ViewM
0.707106769, -0.707106769, 5.56433077e-09, -0.000000
-3.93457578e-09, 3.93457578e-09, 1.000000, -10.0000000
-0.707106769, -0.707106769, -0.000000000, -28.2842712
0.000000000, 0.000000000, 0.000000000, 1.00000000
Situation 3:
ViewM
0.796562731, -0.604555845, -6.39259497e-06, 3.84020138
0.137807116, 0.181564331, 0.973675251, -3.34932351
-0.588639915, -0.775594354, 0.227939501, -29.5640812
0.000000000, 0.000000000, 0.000000000, 1.00000000

I've found a fix and pushed the change in master.
Let me know how it goes for you.

That really works fine for me. Thank you very much! But I found another small bug. When I use snapping for rotation, Guizmo will automaticly add an offset which value is 0.81.

Capture

I'm taking a look!

I improved the precision with a better clamp.

Everything goes fine now. Thank you very much!


Adds SQL support to the comment styles

I left out single line SQL comments so that I can comment stuff out without making it all documentation.

Oh, I also merged the title H1 using colspan=2 so that it flows across the page if it's too long. :)


Migrate Disk of size 2TB to different subscription present in another region.

Hello, I have been migrating Azure Disks by various methods:
Method - I
Snapshot of Disk > Copy the snapshot as '.vhd' to the target storage account > Create disk from the vhd (using azure cli)
I was success this way for migrating the disks.
But there are disks whose size is above 2 TB. For these disks, I am not able to create 'vhd' in the storage account.
The process starts copying while executing the command but ends up as "Failed" after a while.
Source for the above method:

https://learn.microsoft.com/en-us/azure/virtual-machines/scripts/copy-snapshot-to-storage-account
#55338

What could be the reason behind the failure ? - Is it due the size of the disk.
Method - II
I have used 'Azure Storage Explorer', using "copy and paste" of disk in the target destination; which ended up with an error as the disk is attached to a running VM. NOTE - We cannot the stop the VM or detach the disk.
Method - III
I used "Azure Resource Mover" to move the snapshots to the target destination. As there are azure policy restrictions which can't be modified as per provided access. So I cannot proceed further with this way.
So is there any other solution to copy and migrate huge size disks to other subscription present in other region.
Thanks in advance !!

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

ID: 85e5a6e7-7369-17d2-faa6-79ac1100d3bb
Version Independent ID: b411c6c4-2fbb-46c4-6df8-be39168ef433
Content: Copy a snapshot to a storage account in another region using the CLI - Azure Virtual Machines
Content Source: articles/virtual-machines/scripts/copy-snapshot-to-storage-account.md
Service: azure-disk-storage
GitHub Login: @ramankumarlive
Microsoft Alias: ramankum

@MallikarjunGattupally
Thanks for your feedback! We will investigate and update as appropriate.

Hello @MallikarjunGattupally
It's possible that the failure you're experiencing when copying large disks using Method I is due to the size of the disk. The maximum size for a VHD file is 2 TB, so if you're trying to copy a disk that is larger than that, you may run into issues.
One alternative approach you could try is to use Azure Site Recovery to replicate the VM and its disks to another region or subscription. Azure Site Recovery supports replicating disks up to 4 TB in size, so this may be a better option for your larger disks. To use Azure Site Recovery to replicate a VM and its disks, you'll need to set up a recovery services vault and configure replication settings for the VM. You can find more information about using Azure Site Recovery to replicate VMs in the official documentation.
Another option you could consider is using Azure Data Factory to copy the disks. Azure Data Factory supports copying data between different regions and subscriptions, and can handle large data sets. You can find more information about using Azure Data Factory to copy disks in the official documentation.
I hope this helps! If there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@MallikarjunGattupally
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.
#Please-close

Thanks @Naveenommi-MSFT for the input.
I'll look into the recommended approaches.


Use the new ContractExecutor API from cairo native

From #14 but updated dependencies
Corresponding Juno PR: NethermindEth/juno#2156

Do formatting changes comply with the cargo fmt rules of the sequencer?

Was this meant for the Juno PR? I fixed the formatting there with this commit.
I checked the formatting on these files and it looks fine (now at least). I'm using the rustfmt.toml at the root of the sequencer repo.

I checked the formatting on these files and it looks fine (now at least). I'm using the rustfmt.toml at the root of the sequencer repo.

cargo +nightly fmt -p blockifier is giving me different results than displayed here and it also makes use of the rustfmt.toml.

cargo +nightly fmt -p blockifier is giving me different results than displayed here and it also makes use of the rustfmt.toml.

Fixed. The rustfmt.toml uses nightly only options but there is no rust-toolchain.toml, so the formatting depends on your default toolchain selection. After setting to nightly it works.


Option to move the chat scrollbar back to the left

Idea
An option to move the chat scrollbar back to the left like it was before 1.19.
I assume this was done because that space is now used by the message bar thingy, but NCR removes those.
Reasoning
It looks better :)
Other Information
I'm not sure how this should behave if the bars are enabled.
Either:

Ignore it and still move the scrollbar
Don't move the scrollbar if any of them are enabled

Or something else entirely idk

Usually I leave encryption disabled so that wouldn't be a problem for me, if that's what you mean.
I guess it could simple hide the bars, as there's still the icon indicator that gives the same information.


Support per-namespace Kubernetes Ingresses

Right now Traefik handles all ingresses in all namespaces. It might be desirable to have Traefik running in multiple namespaces, with a different configuration per namespace. This would be enabled by passing the namespace into the Traefik container as an environment variable using the downward API.

linked to https://github.com/containous/traefik/issues/311

I have had a quick bash at this, seems like quite a good strategy, and I quite like it.
It might also be desirable to allow an instance to handle ingresses for a number of namespaces... but then again that might be overkill...

@mgoodness could this be closed now?

@errm Nice work! Shutting it down.


Stop running TypeGen every time

Because of an error in the path, Start-Build cannot find the powershell_xxx.inc file and generates it every time. This causes the entire project to be recompiled.

Thanks @iSazonov , I did not spot that.


zsh-prezto: 2019-03-18 -> 2020-05-02

Motivation for this change
Update zsh-prezto to the latest version. Probably the highlight of this
update is https://github.com/sorin-ionescu/prezto/pull/1734.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build zsh-prezto

Result of nixpkgs-review pr 88036 1

1 package built:
- zsh-prezto


Demonstrate usage using alternative packages

To show that nanomesh is generally applicable, create a notebook with a simple workflow using some other solver.

[ ] fenics

https://bitbucket.org/fenics-project/dolfin/src/master/python/demo/

[ ] SfePy

https://sfepy.org/doc-devel/examples/diffusion-laplace_fluid_2d.html
https://sfepy.org/doc-devel/examples/diffusion-cube.html
https://sfepy.org/doc-devel/examples/gallery.html

[ ] getfem

https://getfem-examples.readthedocs.io/en/latest/index.html

[ ] polyfem
[ ] ...?

Use data from #225

Installing Sfepy on Windows

Install C++ build tools (14) using VS build tools 2019

python setup.py build_ext --inplace
pip install -e .


iris_depth_from_image_desktop example hangs

I am using the provided Dockerfile and add the following line to build the iris depth example.
bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/iris_tracking:iris_depth_from_image_desktop

It built fine.  then from the docker image I ran:
GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/iris_tracking/iris_depth_from_image_desktop --input_image_path=<input image path> --output_image_path=<output image path>

Replacing the image paths with my desired images.
I get some output then it hangs:
I20200822 21:16:33.688568    53 iris_depth_from_image_desktop.cc:130] Get calculator graph config contents: # MediaPipe graph that performs iris distance computation on desktop with
# TensorFlow Lite on CPU.
# Used in the example in
# mediapipie/examples/desktop/iris_tracking:iris_depth_from_image_desktop.
...
# Renders annotations and overlays them on top of the input images.
node {
  calculator: "IrisAndDepthRendererCpu"
  input_stream: "IMAGE:input_image"
  input_stream: "FACE_LANDMARKS:face_landmarks"
  input_stream: "EYE_LANDMARKS_LEFT:left_eye_contour_landmarks"
  input_stream: "EYE_LANDMARKS_RIGHT:right_eye_contour_landmarks"
  input_stream: "IRIS_LANDMARKS_LEFT:left_iris_landmarks"
  input_stream: "IRIS_LANDMARKS_RIGHT:right_iris_landmarks"
  input_stream: "NORM_RECT:face_rect"
  input_stream: "LEFT_EYE_RECT:left_eye_rect_from_landmarks"
  input_stream: "RIGHT_EYE_RECT:right_eye_rect_from_landmarks"
  input_stream: "DETECTIONS:face_detections"
  input_side_packet: "IMAGE_FILE_PROPERTIES:image_file_properties"
  output_stream: "IMAGE:output_image"
  output_stream: "LEFT_IRIS_DEPTH_MM:left_iris_depth_mm"
  output_stream: "RIGHT_IRIS_DEPTH_MM:right_iris_depth_mm"
}
I20200822 21:16:33.690336    53 iris_depth_from_image_desktop.cc:136] Initialize the calculator graph.
I20200822 21:16:33.700639    53 iris_depth_from_image_desktop.cc:59] Load the image.
I20200822 21:16:33.707743    53 iris_depth_from_image_desktop.cc:63] Start running the calculator graph.

It worked today, I can't see anything that I'm doing differently.
docker run --rm -ti mediapipe
GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/iris_tracking/iris_depth_from_image_desktop --input_image_path=<input image path> --output_image_path=<output image path>

It seems that it depends on the image that is provided.  Some images I get:
E20200902 03:32:32.318114   256 iris_depth_from_image_desktop.cc:156] Failed to run the graph: Failed to get packet from output stream 'left_iris_depth_mm'.

Other images it hangs, and some images it runs just fine.

One case where it hangs is on images in which no face is detected.
I've worked on tracking down where it hangs and found that non-max suppression is given no detections, but it sends out a status ok and no output.  The letterbox_removal calculator takes its output to remove the image padding and runs process, this is where it hangs.  If I set the option on non_max_suppression to return an empty vector of Detections then it gets past the letterbox_removal calculator.
Without digging into how all the other pipelines use these nodes, I think the safest fix is to add an option on non_max_suppression that throws an error if the input vector is empty and the option is set.
I've created a pull request here:
https://github.com/google/mediapipe/pull/1102
Another case where it hangs is when only one eye is visible in the image.  I'm going to start looking closer at that, but I would appreciate feedback on my pull request.

Can you help me see how to solve this problem?https://github.com/google/mediapipe/issues/1450

Can you help me see how to solve this problem?https://github.com/google/mediapipe/issues/1450

Hi @shortcipher3, Could you please confirm your issue status. Reach us back if you still looking answer for the above query. Thanks!


[docs]: translate hertz/tutorials/basic-feature/network-lib

zh web page：https://www.cloudwego.io/zh/docs/hertz/tutorials/basic-feature/network-lib/
zh doc：https://github.com/cloudwego/cloudwego.github.io/blob/main/content/zh/docs/hertz/tutorials/basic-feature/network-lib.md
en folder：https://github.com/cloudwego/cloudwego.github.io/tree/main/content/en/docs/hertz/tutorials/basic-feature
Notes:

Do not change the original layout, code style or content sequence.
Software Translator is a tool, not god, do not use the result as the final result.
Translation principle: faithfulness, expressiveness and elegance.
Submit your PR here in this repo.

I'd like to translate it  :smirk: @GuangmingLuo

Hi, I want to try this, thank you

@GuangmingLuo @li-jin-gou hello, I have submitted a pull request at repo, hope you can review the translation, thanks


[1.3.0] Data class comments break indentation formatting

Expected Behavior

Formatting data classes with // comments should produce valid Kotlin code.

Observed Behavior

Auto fixing produces invalid Kotlin code that does not compile.
Steps to Reproduce

Run ktlint -f against the following Kotlin data class:
data class Foo(
    // Foo
    val foo: String,
    val bar: String,
)

Results in:
data class Foo(
    // Fooval foo: String, val bar: String,)

KtLint does not fail if you replace the // Foo comment with /* Foo */.
Your Environment

Version of ktlint used: 1.3.0
Relevant parts of the .editorconfig settings: An empty configuration reproduces this error.

Tnx for reporting. Next time please enclose your .editorconfig settings as well. It turns out that this problem only occurs with non-default code style android_studio.

Relevant parts of the .editorconfig settings: An empty configuration reproduces this error.

This is not correct. With an empty .editorconfig you're using ktlint_official code style which does not reproduces this problem. The .editorconfig below does reproduce the problem:
root = true

[*.{kt,kts}]
ktlint_code_style = android_studio

The problem could also reproduced with the other code styles given that additional .editorconfig properties are set. The fix is to explicitly check that the primary constructory does not contain any EOL-comment in the parameter list.


Optimize terminal operations

Terminal operations typically run on a single thread (excluding parallel reduction options -which make use of JDK parallel Streams).
Any processing in terminal ops (such as anyMatch, xMatch, noneMatch) that can be moved onto the Futures should be, that aren't already should be (it's currently available for forEach)

Most of these have been released, except for noneMatch which is completed on master


Stability updates

Changes

Core client

Wrapped authentication process with a retry wrapper for the "UnknownError2" auth problem
Removed legacy SK SignIn methods
Added http response object to auth method outputs - clients can use this for error handling
Added target environment ID as parameter to SSO sign-in methods
Added a backoff retry method to wrap every API call (including the environment switch request), to catch and handle transient server side errors (max 10 retries, typically duration incremented +2 seconds)
Added a mutex for each API call, as the environment ID needs to be switched prior to the API call, and without a mutex there can be race conditions where the wrong environment ID is used
Retryable conditions include:

"Too Many Requests"
"Internal Server Error"
"Bad Gateway"
"Service Unavailable"
"Gateway Timeout"
DaVinci specific error: user unauthorized for environment - typically seen as a race condition after environment creation
DaVinci specific error regex: ^http: ContentLength=[0-9]+ with Body length [0-9]+$
DaVinci specific error regex: error\=AuthenticationFailed\&error_description\=unknownError2

Handle the Retry-After header
Added a custom Unmarshal and Marshal codec for DaVinci flow export objects, similar to json encoding/decoding, but it's purpose is to encode/decode with filtering out what is configuration, source environment metadata, flow metadata, and flow version metadata based on parameter input

Can be overridden in client side structs with the MarshalDavinci and UnmarshalDavinci` interface methods

Added AdditionalProperties struct properties to handle exports that have changed schema, without stripping out unhandled properties on flow import.
Added custom methods to test DaVinci flow equality, which can filter out what is configuration, source environment metadata, flow metadata, and flow version metadata based on parameter input: see Equals, similar to cmp.Equals.
Added custom methods to test DaVinci flow differences, which can filter out what is configuration, source environment metadata, flow metadata, and flow version metadata based on parameter input: see Diff, similar to cmp.Diff.
Added custom methods to test DaVinci flow validity, which can filter out what is configuration, source environment metadata, flow metadata, and flow version metadata based on parameter input: see ValidFlow* similar to json.Valid
When an error is returned from any API call, attempt to decode into a new error object ErrorResponse.  This can be used by the client for DV contextual errors
Started mapping the internal DV Error codes so they can be used by clients, where the HTTP response code is mismatched with the intended error response
Most JSON based struct data models now use pointers (nil values) rather than blank values (""/0) if not present in the JSON
Data models that have a date epoch field now use a custom EpochTime data type with appropriate encoding/decoding to and from a date type.  This allows clients to perform time/date based functions on the field without having first to parse the int64 type.
Sporadic review of omitempty in most data models
DaVinci flow data types now include custom davinci tags for custom encoding/decoding, and also include custom JSON encoding/decoding to handle AdditionalProperties struct properties.  These align with OA3 code generator tools elsewhere for compatibility later.
Updated go to version 1.21 per support policy

Connections

Added methods to also return the HTTP response object for client error handling
Moved the company/environment ID switch to the retry method

Connectors

Added methods to also return the HTTP response object for client error handling
Moved the company/environment ID switch to the retry method

Environments

Added methods to also return the HTTP response object for client error handling
Added backoff retry for company/environment ID switching

Flow Policies

Added methods to also return the HTTP response object for client error handling
Moved the company/environment ID switch to the retry method

Variables

Added methods to also return the HTTP response object for client error handling
Moved the company/environment ID switch to the retry method

Known issues

The mutex used means that API calls are not issued in parallel.  The client might issue parallel requests, but will need to correctly handle the lock wait, especially if many parallel requests are issued at once.  The primary SDK client, Terraform, handles this natively.
The mutex used means that if an API call repeatedly fails, it will block other requests against the API.  The retry method is not cancellable, and must reach it's limit of 10 retries before further API calls can proceed
Currently, the retry method can handle re-auth, which is also wrapped with nested retry.  There can be a theoretical situation where the backoff retry method will spend an unreasonable amount of time retrying in the nested and outer retry methods
There are very sporadic "Authorization Failed" errors that cannot be recovered.  These happen infrequently, but the vast majority of "Authorization Failed" errors are recovered by the 5th attempt
Because JSON based struct models now use pointers in their data types, this is considered a breaking change to clients
Because of removal of legacy SK auth methods, this is considered a breaking change to clients (although these will be failing anyway)

Testing
Command:
go run ../internal/sweep/sweep.go
go test -timeout 300s -run ^ github.com/samir-gandhi/davinci-client-go/davinci

Result:
ok   github.com/samir-gandhi/davinci-client-go/davinci       108.050s


Java17

Will this make the new version incomaptible with projects that are not yet java17?


Add Aviabird to consulting companies list

Please review our Contribution Guidelines to ensure your changes abides by it.
Review your changes and complete the checklist below.

[x] Company name
[x] Company description
[x] Company location
[x] GitHub link
[x] How Elixir is used
[x] Sorted alphabetically

Thank you @kartikjagdale 👍


Disable fail-fast from test job

Motivation
If a test fail in some platform we still want to see how it went in the others.
Solution
Disable the fail-fast feature from the tests job.

This PR will fail until #1777 merges

I've cancelled CI, let's re-run once #1777 has merged

Included in #1777.


GetSharesByNamespace JSON RPC returns the the old representation of NamespacedShares

Celestia Node version
4b960224e735c7a7e2036f730b6ccc06f8688a2b
OS
Arch Linux
Install tools
No response
Others
No response
Steps to reproduce it
Do share.GetSharesByNamespace request.
Expected result
I was expecting to get the new protobuf representation (share.p2p.shrex.nd.NamespaceRowResponse):
[
    {
      "shares": [],
      "proof": {
        "start": 1,
        "end": 2,
        "nodes": [
          "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEinncqCRtmn9rQpzZu1bRShpoTh01mE75gkp9C68byu",
          "/////////////////////////////////////////////////////////////////////////////w81Htmj5E2p0vlhWgUHbEu+jHu0S74GbTWrHUPWC0NB"
        ],
        "leafHash": "AAAAAAAAAAAAAAAAAAAAAAAAAAwECTkh44s4pzQAAAAAAAAAAAAAAAAAAAAAAAAADAQJOSHjizinNErclwFCmkujstcQOiIunyB5edz+oREPWyE1GeDzvN9+",
        "isMaxNamespaceIgnored": true
      }
    }
]

Actual result
Instead I got the old representation (share.NamespacedShares):
[
    {
      "Shares": [],
      "Proof": {
        "start": 1,
        "end": 2,
        "nodes": [
          "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEinncqCRtmn9rQpzZu1bRShpoTh01mE75gkp9C68byu",
          "/////////////////////////////////////////////////////////////////////////////w81Htmj5E2p0vlhWgUHbEu+jHu0S74GbTWrHUPWC0NB"
        ],
        "leaf_hash": "AAAAAAAAAAAAAAAAAAAAAAAAAAwECTkh44s4pzQAAAAAAAAAAAAAAAAAAAAAAAAADAQJOSHjizinNErclwFCmkujstcQOiIunyB5edz+oREPWyE1GeDzvN9+",
        "is_max_namespace_id_ignored": true
      }
    }
]

Relevant log output
No response
Notes
I think the issue starts from here.

Relevant issues: #2427, #2423.
Also in the new representation can you rename the field in snake_case format?

Good catch, we will still return NamespacedShares but we will make the json fields match and be all in snake_case

Tested the latest release and I still get the old representation. I think this should be removed.

@oblique That makes sense - it is probably removing those fields on unmarshalling because they do not have the same name. Don't know why the original proof struct is not tagged with the json fields

@oblique The protobuf definitions from nmt have now changed so that the fields are snake case - so your old actual result should be the new expected result. Or am I missing something?

I'm using ghcr.io/celestiaorg/celestia-node:v0.11.0-rc11 and when I request blob.GetProof I get this result:
{
  "jsonrpc": "2.0",
  "result": [
    {
      "end": 2,
      "is_max_namespace_id_ignored": true,
      "leaf_hash": null,
      "nodes": [
        "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABLdBzzpUnHG99n3rFul1zuDC3/mibQH8Ics9I1EP3muK",
        "/////////////////////////////////////////////////////////////////////////////yVANEGwvveNvq0ylhBwcRNmpTd/hLmgSlPtjrMfJSMj"
      ],
      "start": 1
    }
  ],
  "id": 4
}

The is_max_namespace_id_ignored is from the previous representation. If masrhialing was done by the new protobuf definition it should be is_max_namespace_ignored. I believe this is because the custom MarshalJSON was not removed.

Yes, it should, didn't even catch that - thanks

related #2728


[Todo] Review Bulma docs for customization

https://bulma.io/documentation/customize/with-node-sass/


PSCustomObject Inline PSTypeName

Replace the Add-ObjectDetail with an inline PSTypeName for the PSCustomObject
$myObject = [PSCustomObject]@{
'PSTypeName' = 'My.Object'
Name       = 'Kevin'
Language   = 'Powershell'
State      = 'Texas'
}
https://kevinmarquette.github.io/2016-10-28-powershell-everything-you-wanted-to-know-about-pscustomobject/

Output types that have yet to been moved to the new method can be found in the Set-OutputTypes.ps1 script.
Remove the script from the module manifest and the script itself once done.


Enable DCO for all of k8gb (CNCF requirement)

https://github.com/organizations/k8gb-io/settings/installations/17617274

@somaritane @caniszczyk so looks like it's done and we can close this one?

@ytsarev , yep, I think DCO check at #524 proves it

@somaritane well, #524 does not fully prove it as DCO was already enabled specifically for k8gb repo. But I think we are good here anyway


Wrong graphics, color shifted. Xcode 5.1.1, Mac OS X 10.9.3, cmake <IP_ADDRESS>

Im getting strange picture on iOS 7.1, iOS 8.0.2, on different iOS devices (iPads/iPhones):

The same issue on different RDP servers, with different graphic setting.
May be I missing something obvious ? What Im doing wrong ?

@Elyas-Crimean Has this issue been solved?

@bmiklautz   “ looks for me like this is related to recent changes in GDI (CLRCONV_INVERT).  ”
How to solve ?

@bmiklautz   “ looks for me like this is related to recent changes in GDI (CLRCONV_INVERT).  ”
How to solve ?

@bmiklautz  i want to solve this problem,and i do not how to do. can you help me.

@palmoff  who has solved this problem ? can you give me a hand ?

No guarantees, but (in iOS client app)...
In:

ios_freerdp_ui.m

in:

static void ios_create_bitmap_context(mfInfo* mfi) { ... }

Change:

if (gdi->dstBpp == 16)

to:

if (gdi->dstBpp == 16 || gdi->dstBpp == 15)

@DonMag yes, it worked!  You are great! Thank you very much.

@DonMag works perfect.

@DonMag I'll see that we get your fix on master. Thank you.

@DonMag could you test if PR #2428 fixes this problem on master?

@bmiklautz looks good to me - I hadn't seen ->bytesPerPixel when I initially looked at the problem.

I have a similar issue now and it is on Artix x86_64 LXQt with OpenRC. The colors are off like the picture above and the server is running Win10. I have tried KRDC, Remmina and running xfreerdp in the terminal. Only Remmina have the right color from the start but it shifted if I track the window's size to change the resolution.
Should I submit a separate ticket for that?


"Crișan", "Gălbiori" are listed in the drop-down menu

Description:
When user writes "Crișan", "Gălbiori" the location appears in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Crișan"

Expected results
The location appears in the drop-down menu as "Sat Crișan, CONSTANȚA, (Crucea)"

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Gălbiori"

Expected results
The location appears in the drop-down menu as "Sat Gălbiori, CONSTANȚA, (Crucea)"


feat: Add openPortByName methods for input and output ports

Provide a name-oriented way to open ports, rather than an index, since the MIDI index is want to change.

You may have issues with this code, in the event that there are 2 devices with the same name. In my code, a number is added to the name if there is more than one. e.g. Uno-MIDI-1, Uno-MIDI-2 etc. (Not my idea, I think that was in the original code)
https://github.com/bitfocus/companion-module-generic-midi/blob/445eeeb1742d6bee93dd1b3b5ea4dc4f89c39a30/src/midi/midi.ts#L135-L167

I was pondering something similar - should/could openPortByName happen in two passes: first, check for an exact match, and secondly for an name.includes match?

In my case, I just scan for all the names when opening and make a list of the names matching the id, then when doing the actual open, match the name and use the matching id. (again, not my idea, but it seems to work well)
https://github.com/bitfocus/companion-module-generic-midi/blob/445eeeb1742d6bee93dd1b3b5ea4dc4f89c39a30/src/midi/midi.ts#L99-L118


Add TX-only uarte0

Some boards, such as the DWM1001-DEV, have this wired up to the on-board debugger, and is useful for outputting debug information.
This is based heavily on the SPIM driver

(I'm traveling through the end of this next week so will have unpredictable bandwidth for reviewing)

@hannobraun I have backed out the formatting, and cleaned up the remaining nits. Let's save the DMA API for another PR.
Ready to merge if you are happy.

Squashed (forgot I could do it through the UI), merging.


Run analyze

Since its a new table, post rename, executing
an analyze

Might be better to do before the swap, but 👍 .

Yeah i was thinking about that. It could probably happen after replay and before swap. However, if the analyze takes a while, the process will need to continue to replay and then swap. pg_repack also does analyze in the end (no worries of cleanup either). Lets have this way for now, can be a feature req in future. I am also curious to do some stress testing (maybe pg_bench or similar).
btw, really appreciate all the reviews, feel free to continue and I am more than happy to back-fill any feedback accordingly too 🙌🏾

I suspect that when pg_repack does it at the end, it at least has the stats from the original table because of the way it does the swap by manipulating the catalog. In our case, because we're swapping via rename, I suspect we have no stats until after the ANALZYE, so the planner will assume 1 row in the table and then have poor plans.

Thats true, pg_repack updates the ref file pointers which keeps other things a bit simple (relative) too. I was hoping to catch this on the stress test as well.
I was thinking - we analyze once after the copy and once after the swap. This way, we won't have to do in between replay and swap and losing any time which may increase the delta (rows to be replayed) beyond 20 (ref). What do you think?

Oh, I mentioned this in PR #8 but I think we can probably lean on autovacuum to do any analyzing that's required after the replay.


KeyboardAvoidingView is not adjusting correctly because the coordinate system mismatch

Description
You are comparing height using different coordinate systems.
The keyboard frame is in window system, and the view's frame is in parent view's coordinate system.
We have to convert the frame to the same coordinate system then do compare.
Here is how I fix it:
  _onLayout = (event: any) => {
    const measureCallback = (x: number, y: number, width: number, height: number) => {
      const wasFrameNull = this._frame == null;
      this._frame = { x, y, width, height };
      if (!this._initialFrameHeight) {
        // save the initial frame height, before the keyboard is visible
        this._initialFrameHeight = this._frame.height;
      }

      if (wasFrameNull) {
        this._updateBottomIfNecesarry();
      }
    };
    this.viewRef.current.measureInWindow(measureCallback);
  };

The buggy version:
  _onLayout = (event: ViewLayoutEvent) => {
    const wasFrameNull = this._frame == null;
    this._frame = event.nativeEvent.layout;
    if (!this._initialFrameHeight) {
      // save the initial frame height, before the keyboard is visible
      this._initialFrameHeight = this._frame.height;
    }

    if (wasFrameNull) {
      this._updateBottomIfNecesarry();
    }
  };

Version
0.66
Output of npx react-native info
don't needed
Steps to reproduce
don't needed
Snack, code example, screenshot, or link to a repository
No response

Possibly related, I'm seeing when keyboard is opened in landscape then rotated to portrait, the _initialFrameHeight is a different value than when it was opened in portrait so it doesn't resize correctly.

I'm having trouble switching from landscape to portrait and from portrait to landscape with KeyboardAvoidingView on android. Any idea how can i solve it?
https://user-images.githubusercontent.com/26281251/168608183-ba266ba1-df36-444a-9034-e73cef8d9ce4.mp4

Closing as stale


chore: update kwctl version

Description
We have policies which requires the latest kwctl version to access the new capability to fetch container image configuration. This is required to release the policies. Otherwise, the e2e tests run in the release process will fail.

Feel free to tag a new release of the GH actions on this is merged. Don't forget to update the internal references to the "about to the tagged" release


Hope Ctrl+Right click  and Ctrl+Left click can copy ALT mode display inf.

I have some same factory copy from blue print .
after I finished the build .I want to display the factory purpose l
I know I can set the display controller inside the factory building to display icon for ALT mode
but what I  struggled .which is I have to set the display controller One by One .
I try to use Ctrl+Right click and Ctrl+Left click but no use.
wish add this function make Ct.R+Ct.L useful?

This is already a feature. https://files.catbox.moe/aeaq4v.mp4


Image crop values

Where are you getting the values for meta.crop in pushed PMP image enclosures?
I see "thumbnail", "medium" and "original" in there.  Ideally, we'd at least attempt to map those to the best-practices image crops.  If possible.

Whoops, I thought I was doing this correctly. I would relabel this a bug.

Bug it is!

I'm moving this to Phase 2, as it's sort of a "media enhancement" kind of thing.

:+1:


⚠ Telly has degraded performance

In 4977104, Telly ($TLY) experienced degraded performance:

HTTP code: 200
Response time: 1710 ms

Resolved: Telly performance has improved in f50c2c9.


fix #1992: add/fix anims and improve docs for collapse

Added animations and fixed the border radius bug on the collapse component when it closes. I also changed this part of the documentation for collapse to use peer-checked like it suggests in the info box above the code box.
Example of new behavior:
https://github.com/saadeghi/daisyui/assets/54014569/7a1e96a4-920f-40d0-873d-746a7501c729

Thanks for the PR but I don't see how changes in collapse.css file are improving anything...?

.collapse-content > * is not a good idea at all. We shouldn't apply transform or any other styles to all elements inside collapse-content because someone may have other styles for their elements. We should only apply styles to the class names we provide.
Why add translate-y-0 to .collapse-content?
Why remove invisible class from collapse-content?
Why remove transition from collapse-content?

None of the changes in collapse.css make sense to me but I appreciate the changes in collapse/+page.svelte.md. If you reset the CSS file, I can merge the changes in collapse/+page.svelte.md
Thanks

Hi, thanks for the feedback. It could be that the main issue was specific to my system because this example is quite broken for me. Removing the invisible class fixed most of the issues with it. If this doesn't work, I'm not sure how to fix it because the behavior with animating grid-template seems kind of broken as the top row stretches out a bit when animating. When animating out (this animation going out is created by removing the invisible class, I'm not sure whether it would break anything though) without the translate, there was some sort of flicker because of the weird grid-template animation behavior.
I'll remove the changes to collapse.css but I think the issue still remains so I'll keep the issue open. Hopefully someone else finds a better solution to this.

https://github.com/saadeghi/daisyui/issues/1992#issuecomment-1600716477

@saadeghi I've removed the changes

Thank you


this.setState after removing entity doesn't apply

Do you want to request a feature or report a bug?
"Is this a bug?" I'd say
What is the current behavior?
I add an atomic block with this simple function
addEntity: function(type, mutability, data) {
    const editorState = this.state.editorState;
    const contentState = editorState.getCurrentContent();
    const contentStateWithEntity = contentState.createEntity(
      type,
      mutability,
      data
    );
    const entityKey = contentStateWithEntity.getLastCreatedEntityKey();
    const newEditorState = Draft.EditorState.set(
      editorState,
      { currentContent: contentStateWithEntity }
    );

    if (type === 'LINK') {
      this.setState({
        editorState: Draft.RichUtils.toggleLink(
          newEditorState,
          newEditorState.getSelection(),
          entityKey
        )
      })
    } else {
      this.setState({
        editorState: Draft.AtomicBlockUtils.insertAtomicBlock(
          newEditorState,
          entityKey,
          ' '
        )
      }, function() {
        this.props.addEntity(type, data)
      })
    }
  },

The customBlock renders this way

      <button onClick={this.remove} className="btn btn-neutral btn-fill btn-shadowed btn-sm"></button>

The remove function calls the removeEntity function
removeEntity: function(blockKey) {
    var _self = this,
        editorState = this.state.editorState,
        contentState = editorState.getCurrentContent(),
        block = contentState.getBlockForKey(blockKey);
    var targetRange = new Draft.SelectionState({
      anchorKey: blockKey,
      anchorOffset: 0,
      focusKey: blockKey,
      focusOffset: block.getLength(),
    });
    contentState = Draft.Modifier.removeRange(contentState, targetRange, 'backward');
    newState = Draft.EditorState.push(editorState, contentState, 'remove-range')
    newState = Draft.EditorState.forceSelection(editorState, contentState.getSelectionAfter())
    console.log(newState)
    this.setState({
      editorState: newState
    });
  },

What is the expected behavior?
The editorState doesn't update, the atomic block is therefore still in place. If I inspect newState blockMap and EntityMap before setting the new state they both show changes applied, but this.setState with the newState doesn't seem to work out.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
0.9.1

Closed, its fixed in newer versions, I noticed this old issue by chance only now, sorry


How to reloadData after fetching info from API?

Hi there
I tried using reloadData() with collapsible table view, but it doesn't work which method should i use?
Best Regards

I think u should use self.tableView.reloadData()...Because their is no IBOutlet we created for tableview

before the OnSucces for your api add this code when all of the variable is ok =
DispatchQueue.main.async {
self.sections = self.sectionsData1
self.tableView.reloadData()
}


Need help to index data from MongoDB (3.2.7) to Elastic Search (5.6.3)

I tried with MongoConnector with the following stack in my local environment.

Python 2.7.1
Elasticsearch 5.6.3
MongoDB 3.2.7
elastic2-doc-manager[elastic5]

Steps:
Installed the required plugins mongo-connector and elastic2_doc_manager.
Started MongoDB in 'singleNodeRepl' Mode.
Inserted record in Mongo DB to check whether the data is getting indexed into ES. But indexing is not taking place properly.
I could see the below error from mongo-connector.log
2017-10-31 09:30:41,467 [ALWAYS] mongo_connector.connector:51 - Starting mongo-connector version: 2.5.1
2017-10-31 09:30:41,470 [ALWAYS] mongo_connector.connector:51 - Python version: 2.7.1 (r271:86832, Nov 27 2010, 17:19:03) [MSC v.1500 64 bit (AMD64)]
2017-10-31 09:30:41,474 [ALWAYS] mongo_connector.connector:51 - Platform: Windows-7-6.1.7601-SP1
2017-10-31 09:30:41,474 [ALWAYS] mongo_connector.connector:51 - pymongo version: 3.5.1
2017-10-31 09:31:11,486 [ERROR] mongo_connector.util:106 - Fatal Exception
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\mongo_connector-2.5.1-py2.7.egg\mongo_connector\util.py", line 104, in wrapped
func(*args, **kwargs)
File "C:\Python27\lib\site-packages\mongo_connector-2.5.1-py2.7.egg\mongo_connector\connector.py", line 347, in run
self.main_conn.admin.command('buildInfo')['version'])
File "C:\Python27\lib\site-packages\pymongo-3.5.1-py2.7-win-amd64.egg\pymongo\database.py", line 513, in command
with client._socket_for_reads(read_preference) as (sock_info, slave_ok):
File "C:\Python27\lib\contextlib.py", line 17, in enter
return self.gen.next()
File "C:\Python27\lib\site-packages\pymongo-3.5.1-py2.7-win-amd64.egg\pymongo\mongo_client.py", line 904, in _socket_for_reads
with self._get_socket(read_preference) as sock_info:
File "C:\Python27\lib\contextlib.py", line 17, in enter
return self.gen.next()
File "C:\Python27\lib\site-packages\pymongo-3.5.1-py2.7-win-amd64.egg\pymongo\mongo_client.py", line 868, in _get_socket
server = self._get_topology().select_server(selector)
File "C:\Python27\lib\site-packages\pymongo-3.5.1-py2.7-win-amd64.egg\pymongo\topology.py", line 214, in select_server
address))
File "C:\Python27\lib\site-packages\pymongo-3.5.1-py2.7-win-amd64.egg\pymongo\topology.py", line 189, in select_servers
self._error_message(selector))
ServerSelectionTimeoutError: localhost:27017: timed out
Can anybody help me on this?

I think your config not set correct to connect to your mongodb server, if your mongo db has username and password auth, use config file for mongo-connector, see:
https://github.com/mongodb-labs/mongo-connector/blob/master/config.json


added documentation for get and release handle methods

Pull Request Test Coverage Report for Build 244

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.095%

Totals

Change from base Build 243:
0.0%

Covered Lines:
664

Relevant Lines:
737

💛  - Coveralls

Pull Request Test Coverage Report for Build 244

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.095%

Totals

Change from base Build 243:
0.0%

Covered Lines:
664

Relevant Lines:
737

💛  - Coveralls


Can we choose to skip the space role creation step?

Can we add this configuration item AddExistingUserToExistingSpace ?
So that the set-space-role step can be skipped when the existing user is already the space admin/develop/auditor of the existing space.
Because the set-space-role command is restricted in some of the cf environments.
And we are relying on cf-test-helpers to test our service.

@Changdrew
Sorry to bother you. Could you please take a look at the issue?
I have already raised a pr for this issue: https://github.com/cloudfoundry-incubator/cf-test-helpers/pull/43

@Changdrew Could you please take a look at the issue?

closed as approved and merged


Error occurred during deployment Invalid Token

Describe the bug
Error occurred during deployment
Invalid Token

To Reproduce
Steps to reproduce the behavior:

Add a Calculation Group 'Time Intelligence'
Add a Calculation Item called 'MTD' assign this formula CALCULATE ( SELECTEDMEASURE (), DATESMTD ( 'Date'[Date] ) )
Click on 'Model' then 'Deploy', Next, Next, Next then Deploy
See error

Expected behavior
Calculation Group items deployed to PBIX file without error.
Observed behavior
Before getting error

After Error

Application specifics

Tabular Editor 2.X version: [e.g. 2.22.0]
Semantic Engine used: [e.g. Power BI Desktop  2.124.2028.0 64-bit (December 2023)
Model Compatibility Level: Unsure

Additional context
Needing calculation groups for time intelligence formulas
Experienced on original report
Tried creating a brand new report with new queries and just one dax measure.
Tried deploying without calculation group (no changes)

It is not possible to perform a Deploy against Power BI Desktop. To make changes to a local pbix file loaded in Power BI Desktop, open the model in Tabular Editor, make the changes, then simply hit “Save” (Ctrl+S). The Deploy action is intended when you want to publish the model to the Power BI Service (through the XMLA endpoint).


flake8 unexpected output with Python 3.7

Hi,
I've recently updated to python3.7. Now when I use flake8 neomake spits the following error message:
Neomake: flake8: unexpected output on stderr: /usr/local/lib/python3.7/site-packages/pycodestyle.py:113: FutureWarning: Possible nested set at position 1
  EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')
Neomake: flake8: unexpected output. See :messages for more information.

Is there a way to avoid it? Thanks!

Thanks for the report, #1994 should fix it.

btw: pycodestyle 2.4.0 should fix it: https://github.com/PyCQA/pycodestyle/commit/368e62cb6c57ff386b5a08659a5a9d2866b80a2f

Thank you!


feat(Input): Update colors for error message, icon and border in dark mode.

Issue: #1423
What I did

Update colors for error message, icon and border in dark mode.
Screenshots:

Checklist

[x] changeset has been added
[x] Pull request description is descriptive
[ ] I have made corresponding changes to the documentation
[x] New and existing unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works

How to test

Open Input -> Set dark mode (isInverse prop) -> Add error message  -> Check message, icon, and border colors.

After reviewing it, I see the same thing Laura does. In addition to the inputs that Laura listed that still need to be updated, I also believe File Uploader (Dropzone) still needs to be updated.


enabled_clients attribute has been removed

This attribute has now been removed, updating to allow this TF to run.

Duplicate


Allow pre-releases to be created without modifying the base version

When I push a project with version 1.2.3, I have configured my CI to automatically pre-release it as 1.2.4-commithash.0, this is because I use release-it prepatch. I would prefer to create the release, without modifying the patch version, resulting in 1.2.3-commithash.0.

Maybe you can create a small script that resolves the desired version, and then run release-it with that.

True, but it'd still be nice to have it included in this library :-)

The core issue here is that node-semver (and by extension, release-it) only provides an API to increment the version, but 1.2.3-commithash.0 is a version decrement compared to 1.2.3. There's an undocumented pre command in node-semver that does exactly what you want, but per my comment in #59 its probably not safe to expose or document it in release-it (at least not without pinning the exact patch version of node-semver in package.json) since it could hypothetically vanish without notice...

Well, although you are right that it in fact decrements the version, this is only the case when the 1.2.3 version already exists. In our project, this is how we work:
master is stable, and as such any changes to any module or additions of new modules, must be tested before merging to master. To do this, we work from branches where every commit is released using release-it under a beta flag. What happens now is the following, assuming an example for a new module that is yet to be released: flying-dutchman.

Developers checkouts out master
Developers creates new branch module-flying-dutchman
Developers creates the module and gives it version 1.0.0
Developer pushes branch to origin
CI releases a beta of this module as 1.0.1-commithash.0
Tester tests the beta release in a testing environment
Developer 2 merges pull request into master
CI detects change in master and releases this module as 1.0.0

In other words, the beta release of 1.0.1 was released before the actual release of 1.0.0, which is a bit odd.


Linking error when building Tensorflow 2.1

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Centos 7 (Docker image)
TensorFlow installed from (source or binary):
Source
TensorFlow version:
r2.1
Python version:
3.6.8
Bazel version (if compiling from source):
0.29.1 (installed using bazelisk)
GCC/Compiler version (if compiling from source):
7.3.1 (installed via devtoolset-7)

Describe the problem
When building Tensorflow 2.1, the following linking error appears:
ERROR: /tmp/bazel/external/swig/BUILD.bazel:5:1: Linking of rule
'@swig//:swig' failed (Exit 1)
bazel-out/host/bin/external/swig/_objs/swig/allocate.o:allocate.cxx:
function Allocate::~Allocate():
error: undefined reference to 'operator delete(void*, unsigned long)'

Seems like an incompatibility issue when building some third party components caused when looking for that symbol.
Provide the exact sequence of commands / steps that you executed before running into the problem
$ docker run centos:7
Then inside the container:
# yum-config-manager --enable rhel-server-rhscl-7-rpms -y && yum install devtoolset-7 -y
# export PATH=/opt/rh/devtoolset-7/root/usr/bin${PATH:+:${PATH}}
# export PCP_DIR=/opt/rh/devtoolset-7/root
# export PERL5LIB=/opt/rh/devtoolset-7/root//usr/lib64/perl5/vendor_perl:/opt/rh/devtoolset-7/root/usr/lib/perl5:/opt/rh/devtoolset-7/root//usr/share/perl5/vendor_perl${PERL5LIB:+:${PERL5LIB}}
# rpmlibdir=$(rpm --eval "%{_libdir}")
# if [ "$rpmlibdir" != "${rpmlibdir/lib64/}" ]; then
#       rpmlibdir32=":/opt/rh/devtoolset-7/root${rpmlibdir/lib64/lib}"
# fi
# export LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root$rpmlibdir$rpmlibdir32${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
# export LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root$rpmlibdir$rpmlibdir32:/opt/rh/devtoolset-7/root$rpmlibdir/dyninst$rpmlibdir32/dyninst${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
# pythonvers=2.7
# export PYTHONPATH=/opt/rh/devtoolset-7/root/usr/lib64/python$pythonvers/site-packages:/opt/rh/devtoolset-7/root/usr/lib/python$pythonvers/site-packages${PYTHONPATH:+:${PYTHONPATH}}
# export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-<IP_ADDRESS>.b10-1.el7_7.x86_64
# git clone https://github.com/tensorflow/ && cd tensorflow && git checkout r2.1
# export OPTM=3
# export PYTHON_BIN_PATH=/usr/bin/python
# export USE_DEFAULT_PYTHON_LIB_PATH=1
# export CC_OPT_FLAGS="-march=${ARCH} -mtune=$TUNE"
# export TF_NEED_JEMALLOC=1
# export TF_NEED_KAFKA=0
# export TF_NEED_OPENCL_SYCL=0
# export TF_NEED_GCP=0
# export TF_NEED_HDFS=0
# export TF_NEED_S3=0
# export TF_ENABLE_XLA=1
# export TF_NEED_GDR=0
# export TF_NEED_VERBS=0
# export TF_NEED_OPENCL=0
# export TF_NEED_MPI=0
# export TF_NEED_TENSORRT=0
# export TF_SET_ANDROID_WORKSPACE=0
# export TF_DOWNLOAD_CLANG=0
# export TF_NEED_CUDA=0
# ./configure && bazel build --cxxopt=-D_GLIBCXX_USE_CXX11_ABI=0 //tensorflow/tools/pip_package:build_pip_package

Any other info / logs
Note this error message appears when building different components. Here are some examples:
ERROR: /tensorflow/tensorflow/compiler/mlir/tensorflow/BUILD:713:1: Linking of rule '//tensorflow/compiler/mlir/tensorflow:derived_attr_populator_gen' failed (Exit 1)
bazel-out/host/bin/external/llvm/_objs/tablegen/Main.o:Main.cpp:function llvm::cl::list<std::string, bool, llvm::cl::parser<std::string> >::~list(): error: undefined reference to 'operator delete(void*, unsigned long)'

ERROR: /tmp/bazel/external/com_google_protobuf/BUILD:406:1: Linking of rule '@com_google_protobuf//:protoc' failed (Exit 1)
bazel-out/host/bin/external/com_google_protobuf/_objs/protoc_lib/code_generator.o:code_generator.cc:function google::protobuf::compiler::ParseGeneratorParameter(std::string const&, std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > >*): error: undefined reference to 'std::__throw_out_of_range_fmt(char const*, ...)'
bazel-out/host/bin/external/com_google_protobuf/_objs/protoc_lib/command_line_interface.o:command_line_interface.cc:function google::protobuf::io::StringOutputStream::~StringOutputStream(): error: undefined reference to 'operator delete(void*, unsigned long)'

Update:
I was able to build TF 2.1 using Bazel 0.26.1 with no issues. I'm not sure what differences v0.27.1 introduces, but at least for my configuration, 0.26.1 works. I haven't found the root cause, though.

I tried that, but seems like failing. I will try your suggestion.

@DnPlas,
Is this still an issue?
Could you please update TensorFlow to the latest stable version v2.4.1 and check if you are facing the same error. Thanks!

I have not tried with 2.4, but seems like the problem is more related to bazel than it is to Tensorflow. Using @wdirons workaround worked for me, and some other folks that referenced this issue.

@DnPlas,
Thank you for the update. Can we please close this issue as it is resolved?

I'm posting here in case someone else encounters similar issue with centos 7 and Bazel 3.7.2 followed by when loading datasets:
"/home/external/tf_python_python3/lib64/python3.6/site-packages/numpy/lib/npyio.py", line 255, in __getitem__
    bytes = self.zip.open(key)
  File "/usr/lib64/python3.6/zipfile.py", line 1448, in open
    return ZipExtFile(zef_file, mode, zinfo, zd, True)
  File "/usr/lib64/python3.6/zipfile.py", line 781, in __init__
    self._decompressor = _get_decompressor(self._compress_type)
  File "/usr/lib64/python3.6/zipfile.py", line 701, in _get_decompressor
    return zlib.decompressobj(-15)
ValueError: Invalid initialization option

setting following fixed both of them:
TF_SYSTEM_LIBS=zlib,png
BAZEL_LINKLIBS=-lstdc+


Multiboot Util Funtions Needed

We have finally able to get correct multiboot information in kernel_main. But it would be nice and more good approach gettin multiboot information from some util collection like multiboot_util.c etc.

relevant documentation: https://www.gnu.org/software/grub/manual/multiboot2/multiboot.html

done


[zh_CN]translation style_guild

Signed-off-by: sc1000y<EMAIL_ADDRESS>translation style_guild #313

#313

@sc1000y Would you mind squash into single commits?


docs: add useCachedData param to useFetch and useAsyncData

🔗 Linked issue
Resolves #24694

❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Adds missing useCachedData param to useFetch and useAsyncData composable docs. Also adds a callout linking to an example video by @manniL

📝 Checklist

[x] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

Related: https://github.com/nuxt/nuxt/issues/22622
Do you think this change satisfies this issue, or is it worth adding some additional notes?

Oops! Didn't spot the typo! Thanks 👍
The auto fix CI keeps changing the italics markdown.


[fix] support etag W/ prefix

Remove W/ prefix from if-none-match header value before comparing with body hash.
Before submitting the PR, please make sure you do the following

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

Thanks — just to clarify, is this something you've encountered? From the MDN docs it seems like W/ is redundant, are you saying that there are user agents that add it anyway?
Also, mind adding a changeset to the PR so that it causes a version bump? Thank you

Thanks — just to clarify, is this something you've encountered? From the MDN docs it seems like W/ is redundant, are you saying that there are user agents that add it anyway?
Also, mind adding a changeset to the PR so that it causes a version bump? Thank you

Hi, Richard. Sorry for the delay in reply.
As I understood, it depends on server response, not user agent.
I have encountered it while using cloudflare workers. It returns weak etag if request contains "Accept-Encoding: gzip" header(I have not investigated the reason why they do this).
curl -v "https://postify.online/_app/error.svelte-315d5cf3.js" 2>&1 | grep etag
curl -v -H "Accept-Encoding: gzip" "https://postify.online/_app/error.svelte-315d5cf3.js" 2>&1 | grep etag

Thanks — just to clarify, is this something you've encountered? From the MDN docs it seems like W/ is redundant, are you saying that there are user agents that add it anyway?
Also, mind adding a changeset to the PR so that it causes a version bump? Thank you

Hi, Richard. Sorry for the delay in reply. As I understood, it depends on server response, not user agent.
I have encountered it while using cloudflare workers. It returns weak etag if request contains "Accept-Encoding: gzip" header(I have not investigated the reason why they do this).
curl -v "https://postify.online/_app/error.svelte-315d5cf3.js" 2>&1 | grep etag prints: < etag: "_app/error.svelte-315d5cf3.dcb826ff86.js"
curl -v -H "Accept-Encoding: gzip" "https://postify.online/_app/error.svelte-315d5cf3.js" 2>&1 | grep etag prints: < etag: W/"_app/error.svelte-315d5cf3.dcb826ff86.js"

Hi, @mkorobkov looks like Nginx converts your Etags into weak ones if you ask it to gzip your content.
https://github.com/nginx/nginx/blob/3334585539168947650a37d74dd32973ab451d70/src/http/modules/ngx_http_gzip_filter_module.c#L291 and https://stackoverflow.com/a/51975550

got it. thank you!


bin or bucket and shell sort |c++

bin | bucket  and shell sort   -
what will change -
addition of bin and shell sort
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Happy Coding,

please assign


Strange error

Sometimes biber will report an error like the following and then stop working:
data source /var/folders/m6/bn7r45zx6cx55rr9g4qh6s6w0000gn/T/par-agoldst/cache-87e533530c5239fb9f8e3ff008979f1f16ea0e5e//inc/lib/Biber/LaTeX/recode_data.xml not found in .

I don't know when this happens and therefore can't give a reproducible test case, but this happens to others as well (see http://humtex.wordpress.com/2011/11/29/biber-first-aid-for-data-source-not-found/ for example).
The solution is to delete the par-directory. Afterwards everything works fine again. Since this error message is rather cryptic and the remedy seems to be straightforward I was wondering whether this could be improved.

Wow, this is challenging. I had this failure immediately upon installing on a new Yosemite machine and there's no documentation to help you besides searching through closed issues and happening to find a link to this blog post. Maybe if this error happens, biber could at least suggest deleting that directory? That workaround worked for me.

Actually, it's almost impossible to detect internally due to the semantics of the PAR::Packer module but the authors of that module are aware of the issue and are looking into a fix (it's not a biber problem per se).


imgbot image optimization

This PR is :

[x] Improvement

Description :
Feature / Improvement changes :

optimize images
pointed to dev

Notes

I wasn't aware you weren't bundling your readme file. I guess I should update my makefile as well.

@imfx77

Please, don't let me repeat myself : 2, 3, 4.


Condition to allow for retrieval of anonymous wishlist and accompanying ...

...nullreference check

This is in relation to issue #16

Haven't opened in VS but I think the membershipUser == null is not needed, could you check?

Are you asking whether it is necessary for there not to be a logged-in user in order to retrieve the anonymous wishlist? If so, I guess not. Do you want me to amend the patch request?

I've removed the condition as it makes sense for it not to be there. For example, I would not only expect to be able to access my anonymous wishlist anonymously but also once logged in so that I could potentially convert it to a persisted wishlist.

I now see what you did, you allow a wishlist to be returned as a basket. Can you explain why you would want that? Why not just use the GetWishList API call? The interfaces IWishList and IBasket are nearly identical.

You're absolutely right and that is the issue I describe in #16, I am calling GetWishList() on the API. An anonymous call to Customers.GetWishlist() in turn calls Orders.GetOrder(wishGuid). It is here that currently ignores anonymous requests.

That provides some context I missed. I just did a small commit to the repo that fixes your problem while keeping Orders.GetOrder(Guid) clean: https://github.com/uWebshop/uWebshop-Releases/commit/bcaf1bfda19ab36636fcc34bceea9d280158bba8

Cool, thanks for that.

No problem, thanks for reporting the issue and suggesting a fix!


Publish main to live on 10/31 @ 10:30 am

Learn Build status updates of commit 691d729:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/filter-properties.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


fix: some stats and text in the figure

If the podium is supposed to be accurate, the third position should be a model since Llama-405b scored 0.56

But overall the new figure looks really nice to me, thanks @AdrianM0

@MrtinoRG nah, this is an illustration, we dont have to be accurate in it :D


Gradle build plus formatting (to the standard)

@elingg @adam-mesos the rebasing was getting to be too much to keep up with.  I would like to have this merged into the project.  It is just the gradle build + the defined standard.   The only code change is formatting.

Thanks, @kensipe. Could you update the readme with the build instructions? Also, can you update the version? We're at 0.1.0, which we blogged about. After that, once I have a chance to test, I will merge unless there are any objections from @adam-mesos.

LGTM. Just a few nits/questions, but I'll let you decide if you want to fix any before getting this merged. I didn't test the build out myself yet. Maybe tomorrow. Otherwise, :+1:

Thanks for looking it over @adam-mesos. Also, LGTM @kensipe! I'm waiting for the updated readme and version of 0.1.0. I would also prefer the name be changed to hdfs-mesos (as it is now). I will test it out at that point and then I will merge.

this PR is now resolved with https://github.com/mesosphere/hdfs/pull/135 and
https://github.com/mesosphere/hdfs/pull/136
and we are closing this one.


refactor tutorial menus

Codecov Report

Merging #480 into master will increase coverage by 1.23%.
The diff coverage is 41.09%.

@@            Coverage Diff             @@
##           master     #480      +/-   ##
==========================================
+ Coverage   53.35%   54.59%   +1.23%
==========================================
  Files          55       48       -7
  Lines        3707     3557     -150
==========================================
- Hits         1978     1942      -36
+ Misses       1729     1615     -114

Impacted Files
Coverage Δ

vent/menu.py
44.89% <100%> (ø)
:arrow_up:

vent/menus/tutorials/tutorials.py
25% <22.22%> (ø)

vent/menus/tutorials/tutorial_forms.py
34.54% <34.54%> (ø)

Continue to review full report at Codecov.

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


update fails on newer additions

Changing a hyper-parameter and calling fit! again gives an error for some reason. I'll investigate this.

Maybe try julia 1.3?

Closing the issue as this works now. Turns out it wasn't a julia issue, but a small error I'd been overlooking.


[New game]: Add a new game, Road Racer

🎮 Game Request
Game logic and basic description
A simple and fun driving game.
Point down the features
Game points
Use the arrow keys to move left and right.
Avoid the cars on road to increase the score.
Select program in which you are contributing
Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Vaibhav203 👋!
@kunjgit here,
Hope you are doing extremely well 😇
It's confirmed 🥳, GameZone is taking part in hacktoberfest and ready to have another 💥
Ready to have some amazing contributions once again also thank you for you support in GSSoC23 you have took us on top 5 ❤🔥
if you still haven't joined us join us on Discord
See you soon 😊

Hey @Vaibhav203 👋!
@kunjgit here,
Hope you are enjoying this hacktober 😀
We are excited to share that we are opening issue from our side where you will be going to add games on our website 🚀
Work on this issue 🔥
and help us building GameZone 💗
if you still haven't joined us join us on Discord
See you soon 😊

Hello @Vaibhav203, Time's up!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @Vaibhav203 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Added response.bodyRAW that needed if server returns binary data

Added response.bodyRAW that needed if server returns binary data instead of text response.
var crawler = new Crawler({
    callback: function (error, result, $) {
        if (result.headers['content-type'] == 'application/pdf'){//it's a PDF. Not text
                savePdf(result.bodyRAW).then(.....);
        }
  }
});

.bodyRAW      i can't find any document about it :(

Is there no way around that issue? I can't believe node has no method to convert it back to a buffer/binary.

I think that
response.body = response.body.toString();
is loses some data. And you can't convert it back.

+1 please merge this :)

There you go! thanks! Sorry I don't have more time to maintain this.

Thanks :)

Thank you!


ggfnfgn

Describe the bug
erhte
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-bfm94d
Steps to reproduce
thrth
Expected behavior
trhtrerghn etheh
Screen Recording / Screenshot
thrt
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 98764986,
  "usedJSHeapSize": 80508358,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = haman21
Chat ID = f6b7a4b77fd5

Additional context
gtth

rhr


Caddy service available now

https://caddyserver.com/docs/hook.service

Here's the issue from caddy's Github
https://github.com/mholt/caddy/issues/293

I'm not using valet anymore, as I switched to docker years ago (life is so much easier now)), but you're welcome to submit an update, I understand this might be a help to someone. cheers.


PYCC tests failing due to missing setuptools

Latent test failures due to missing setuptools revealed in "vanilla" config: https://dev.azure.com/numba/numba/_build/results?buildId=14917&view=logs&j=bda6963e-59cd-52f6-042b-2835f24868f2&t=c5723dd8-2190-5808-bf7a-548c716a08a4.
Failures occur when the tests are selected by gitdiff.

#8915 updates the module numba.tests.test_deprecations which contains the failing tests noted in the OP. The gitdiff testing spots the update and runs that module, in the "vanilla" configuration the log contains:
2023-04-25T09:06:37.9332791Z test_pycc_CC (numba.tests.test_deprecations.TestDeprecation) ... skipped 'Test needs setuptools'
2023-04-25T09:06:37.9333533Z test_pycc_module (numba.tests.test_deprecations.TestDeprecation) ... skipped 'Test needs setuptools'

I'm reasonably convinced that has already been fixed by 0d1969a in #8909.


Can I download these controls in npm?

Can I download these controls in npm?
Has it been placed in npm?
thank you

Sorry for late reply. Not yet since the controls are too early in development. I would discourage anyone from using them at this moment but once they are more or less stable I will  make sure to include them in package repos.

Sorry for late reply. Not yet since the controls are too early in development. I would discourage anyone from using them at this moment but once they are more or less stable I will make sure to include them in package repos.

ok! thanks


add ISO 8601 snippets

I added ISO 8601 snippets for Date & Time.

Thanks. I use them personally but name this snippet "now", "now-" locally.
this is public so I rename to sounds formal
yeah they look too hard to type...

haha yeah, maybe it's fine.
one last thing: can we update the text so it's contextual. Refer to other date snippets, eg: "1 Year from Today", etc.

sure, how about
Today is {date "yyyyMMdd"}.
Today is {date "yyyy-MM-dd"}.
or
I send you a Minutes{date "yyyyMMdd"}.pdf
I send you a Minutes-{date "yyyy-MM-dd"}.pdf

@nagauta Hmm, not sure they make sense. specially because {date "yyyyMMdd"} will output 20230125 which just looks like a long number. Not sure people read dates like this. This is more useful as a kind of timestamp.
If you cant think of real life use cases for this right now, we can close the PR and re-open later, but I think we need to make sure the snippets are clear and make sense at first glance to not confuse people.
Thanks!

You are right. let me close PR now.
I use this when I write some code or SQL but I cant think of real life use cases for this right now.


Bug: The likes/dislikes set to a comment are not displayed after the comments are reloaded (count.my always equal to 0)

Fixed by 42cd01a commit


Remove version: LutzRoeder.Netron version 7.7.2

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

URL: https://github.com/lutzroeder/netron/releases/download/v7.7.2/Netron-Setup-7.7.2.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 911)

https://github.com/microsoft/winget-pkgs/issues/142854


implement Clone trait for PathTree

I'm interested in what scenarios require clone the entire tree?

I'm interested in what scenarios require clone the entire tree?
For example, I have defined a routing tree. There is a method in this routing tree that needs the tree field to implement Clone trait

rebase codes, .idea .vscode .fleet should not be commited and fmt it.

@kotlin2018 Please rebase it? Thank you.

You can reopen it if you want to continue.


[react-i18n] adjusted types to better reflect runtime

Description
Fixes (issue): N/A
Found this issue during development, I had a type of string | undefined and used it as one of the replacements to i18n.translate. During runtime the returned type was of string but TS reported it as a react element.
This PR aligns the types to what is actually returned at run time.
Also when a react node is used in one of the replacements the return type is now correctly reported as (string | React.ReactElement<any>)[]. (it was just React.ReactElement<any> before)

Type of change

[x]  Patch: Bug (non-breaking change which fixes an issue)
[ ]  Minor: New feature (non-breaking change which adds functionality)
[ ]  Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] I have added a changelog entry, prefixed by the type of change noted above (Documentation fix and Test update does not need a changelog as we do not publish new version)

@melnikov-s Can you explain why this happens? I can't connect the dots...

The translate method has several overloads
  translate(id: string, replacements?: PrimitiveReplacementDictionary): string;
  translate(
    id: string,
    replacements?: ComplexReplacementDictionary,
  ): React.ReactElement<any>;

and based on whether or not you pass in a PrimitiveReplacementDictionary or a ComplexReplacementDictionary it will determine if the return type is a react element or a string.
Where those two types were defined as:
export interface PrimitiveReplacementDictionary {
  [key: string]: string | number;
}

export interface ComplexReplacementDictionary {
  [key: string]: string | number | React.ReactNode; // <-- I think this can be simplified to just `[key: string]: React.ReactNode`
}

since a ReactNode can be just about anything (boolean, undefined, null, string, number, etc etc) if we have a  type of string | undefined in our replacement dictionary it will fall into the ComplexReplacementDictionary since  it satisfies those constraints but not the PrimitiveReplacementDictionary as it's missing undefined . So TS will infer the return type to be a React.ReactElement<any> based on the overload rules.
During runtime though we use this to determine what to return
 const allReplacementsArePrimitives = Object.keys(replacements).every(
    key => typeof replacements[key] !== 'object',
  );

so if all replacement are primitives we return a string, otherwise an array of react nodes.  Thus the types vs runtime mismatch.
Looking at it again I think there's another type issue here, the translate method actually returns an array of react elements and not a single react element. It should really be:
 translate(     id: string,     replacements?: ComplexReplacementDictionary,   ): React.ReactElement<any>[];
probably went unnoticed since the vast majority of the time the results are used as a ReactNode which can be either

I did not run a beta but I ran it locally and the first commit (https://github.com/Shopify/quilt/pull/1839/commits/6805e9882460f8f89a420bf028a4fe30dd031f12) was OK. 3370f6f7ee1a906fb1bb742c05e2d7ac18569f80 Is the one that caused issues. About ~50 type check failures.
They're pretty much all because of
a) We specified a return type of JSX.Element where ReactNode was meant
b) () => [] to my suprise can't be used as a JSX element even though react will gladly accept it. (see https://github.com/microsoft/TypeScript/issues/33487). This is an issue because we have several components that are just
function MyComponent() {
   const i18n = usei18n();

   return i18n.translate(\* ...*\);
}

The fix here would be:
function MyComponent() {
   const i18n = usei18n();

   return <>i18n.translate(\* ...*\)</>;
}

So some effort will be required to fix all the type errors along with the PR that would bump react-i18n with these changes.

This PR has been stale for over 1+ year, therefore closing it for the moment. If you find that it's still necessary, please feel free to reopen and tag the Admin Web Platform Team for review. Thanks!


Display frequencies for high, medium, and low genome qualities

I wonder again about the architecture of this. Why is it loading a JSON file through Http.get? Isn't the point of using elm-pages to avoid that?


feat(net): use KiB/MiB/GiB instead of KB/MB/GB

Why should we prefer KiB over KB?

@patrick96 Because it's technically more correct and more relevant to computers than SI units. It is also the correct number one would get by dividing the Mbit/s rating by 8 to get MiB/s
I assume polybar users are technical enough for this.
this post is relevant and interesting.
The difference is minor, but the more correct display is better and should be standardized anyways.

It could be a setting to turn on/off such behavior if the user prefers so, but generally kibibytes etc. are never used in storage / networking, so I don't think it should ever be a default.

@vaygr Windows does use KB even though it refers to KiB: https://superuser.com/a/938433
However, Mac did use KiB but it recently switched to KB: https://superuser.com/a/493887
Thus yes, a configurable option would be a better option.


ci: make deterministic test work

Currently, we're using net::TcpStream for some part of the code, which is not supported by madsim. After madsim gains net support, we can make CI work again.
(There should be a tracking issue on madsim side, but I didn't find it.)

Tracked by https://github.com/singularity-data/risingwave/issues/4180


Rename path argument to "dataset" in hdf5_lookup

Checklist

[X] Add a Changelog entry
[ ] Add the ticket number which this PR closes to the comment section

Recent ophyd_async change renamed the internal HDF path parameter passed to the stream resource to dataset from path.
Required to merge this in sync with https://github.com/bluesky/bluesky/pull/1790.
See: https://github.com/bluesky/ophyd-async/blob/5ac94e283b170b603df42a7d5fe33fd7f2786524/src/ophyd_async/core/_hdf_dataset.py#L64

I agree the old name was confusing. This needs a SQL migration to update existing DataSource documents.

To create a migration script:
$ python -m tiled.catalog revision -m "Change 'path' to 'dataset' in HDF5 assets"
$ git status
On branch main
Your branch is up to date with 'origin/main'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

       tiled/catalog/migrations/versions/9cfb45fa2c30_change_path_to_dataset_in_hdf5_assets.py

add to the top of this list:
https://github.com/bluesky/tiled/blob/15abbc98df9bfd25f8c713656f664a558136e26f/tiled/catalog/core.py#L7-L17
In the migration file created above, you need to run an UPDATE command. Example from another migration:
https://github.com/bluesky/tiled/blob/15abbc98df9bfd25f8c713656f664a558136e26f/tiled/catalog/migrations/versions/e756b9381c14_add_structure_family_to_data_sources.py#L49-L53


ClientProxy.call can panic

If you try to use the ClientProxy after the Transport drops it, the code will panic: https://github.com/tokio-rs/tokio-proto/blob/dfd5a6b/src/util/client_proxy.rs#L74
This should probably instead return a BrokenPipe or similar.

This was fixed in #106.


Enable files.autoGuessEncoding by default

Testing #23322
This setting should be true by default, why isn't it?
As I open files from https://github.com/joaomoreno/encodings, most of them appear broken in our default state. Only by setting it to true do the files start making sense.

This is actually strange, since when this setting is false, there is some detection, but it doesn't work for every file. When it's true, it works pretty well.

Now I get it. We can even detect it, since when I try to reopen, you suggest the correct encoding:

Just make the good detection the default behaviour. Same as we automatically detect indentation.

@joaomoreno yeah we can make it the default, maybe we give it a month of testing though first.

One issue I see with setting it to be default is that jschardet might wrongly detect the encoding of a file and then you force the encoding on the user. The way it works now, it is an opt-in kinda thing.

Yeah but that would happen not so often. Right now we're getting it wrong with most of non-ASCII-similar encodings.

Yeah, but I have many cases in my small repo, most of them fail in the current approach. 😕

Never ever...

Never?!


Please remove optional wrappers from required dependencies

Hi,
I'm using this library through byjg/migration but I'm not using the AWS nor the SparQL wrapper, is it possible to move these dependencies to suggest instead of require?
Thanks!

Let me check and then I'll return to you.

Hello,
I removed the dependencies and put in a new branch - 3.0.6. Right now if in your composer file you define "minimum-stability": "dev",  you can get this new version.
I wont generate a new tag right now, because I want to refactory this project in several projects (one for Relational, other for Non-Relational, Other for Text Manipulation, SparQl and so on). Probably this weekend I'll start doing this.
Let me know if this helps you.

Is that worked?

I didn't try yet, sorry, I will tonight, thanks for your work!

I finally tried, and just adding "minimum-stability": "dev" didn't do the trick in my project, I'm still using byjg/anydataset version 3.0.5 because I'm requiring byjg/migration:^2.1.
Instead I tried creating a Composer project from scratch, and specifying "minimum-stability": "dev" before composer require byjg/migration selects the dev-master version and correctly loads byjg-migration:3.0.6.x-dev. I can verify that byjg/sparqllib and aws/aws-sdk-php are now in the suggestions.

Interesting, thank you for your work!

Hello, I upgraded all packages.
Please upgrade your migration version to 4.0.*. Will have less packages installed.

Thank you so much!


Release 23.4

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.596%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1273

Relevant Lines:
1285

💛  - Coveralls


UKNOW HOST

i set up everything but when i try to connect from another wifi, minecraft throws me uknow host

@SuparHacka its possible that the ISP is blocking the joinmc.link / ply.gg domain; you can try to use the numerical IPv4 of the tunnel instead, you can see it on the playit website (click on the tunnel, and you can see it at the top of the page below the .joinmc.link domain)

yeah but what do i have to do with that number, i put it in the direct connectrion to the server and cant join. i also tried joinmc.link:thenumber and didnt worked.

@SuparHacka can you ping that IPv4 (without port)
In your cmd?
The IP might get blocked by your ISP
Also check that no antivirus programs are causing problems

ping it and i get response but just after deleting the plugin and initializing playit directly into my server. honestly i have no idea why the pluging didnt work (it worked in 1.19 paper but in 1.20 forge did not.

ill close this issue because gettigns Unknown host is a client problem (so your ISP might block the domain)


Send out September newsletter

Date first reported: Sep 21
Description
Send out September newsletter via Sparkpost.
https://app.zenhub.com/files/19561322/41f34e76-cd0a-43a1-ad6d-7f099e200f44/download

Mailed Sep 22


check for data consistency

related to https://github.com/spine-generic/spine-generic/pull/171

This PR https://github.com/spine-generic/data-multi-subject_DO-NOT-USE/pull/27 should be ported to the new git-annex repos


operator.backup: update wal_prefetch() so that failed downloads are deleted

Resolves the issue in v0.8c1 detailed at:
https://groups.google.com/forum/#!topic/wal-e/8wwiDkrNLXQ

wherein (standby_mode = off) PostgreSQL recoveries were failing when
--prefetch > 0. Specifically, in cases where do_lzop_get() failed to
fetch an archive file (as would be the case when trying to fetch the
non-existent WAL file following the latest one in the archive) prefetch
was creating an empty archive file and then allowing AtomicDownload to
link that file into place. This causes PostgreSQL's recovery to fail.
PostgreSQL then shuts down and can't be started up until you remove
recovery.conf.
Sorry to not include a test for this; I've had difficulties getting tox up and
running in my environment. My best guess would be to add a test to
test_blackbox.py along the lines of test_wal_fetch_non_existent(). I'm
not certain, however.

Hi, the same problem with wal-fetch, when standby_mode = off
I use upstream wal-e, but do not understand, how to use prefetch - there is no documentation and i do not understand differences between fetch and prefetch

@evtuhovich prefetch is a clever, and expedient, feature, and it exists because of how PostgreSQL fetches WAL archives.
Basically, PostgreSQL runs the restore_command for one WAL file after another. This works, but it means that you will wait to download WAL archive 2 until after you've downloaded (and loaded?) archive 1.
You thus will delay your download of all the WAL archives, in the worst case, by the slowest download.
Hence, prefetch, which actually daemonizes a new process when the restore_command is executed, and that process goes out and tries to fetch future WAL files so that they'll be ready when it's time to restore them. (And of course, there's bookkeeping involved to make sure this process doesn't conflict with any other prefetch processes outstanding...)

@hblanks, thanx for answer, i'll try to use it


runtime: implement System.Runtime.LoadScript, fix #2701

Rebased this one as well.

And we need one more commit that updates NNS's neo-go dependency.

Do we? Anything changed in neo-go to affect NNS?


how to configure existing repositories in a github org?

https://github.com/openshift-pipelines/pipelines-as-code/pull/890
with this pull req we allow user to enable auto configure new repos but how do we support configuring existing repos in the org.
few of the ways discussed in the comments
https://github.com/openshift-pipelines/pipelines-as-code/pull/890#issuecomment-1284863422

we have 2 ways now...
if auto configure is enabled then list all repos which are attached to github app.. (I guess there should be some api) and then create repository Cr for it.
or when we get event from that repo, and we don't find a any repository cr for it. we create one. (not secure but we will have to check where the event is coming from using some regex/org name)

and https://github.com/openshift-pipelines/pipelines-as-code/pull/890#issuecomment-1285036911

(about importing existing repo since this PR handles only newly created repos).
maybe having a import flag in the CLI could solve this, it will :
tkn pac import organisation org
will go over every repos in the org organisation and create a namespace/repo using a template.
this could be used as well for other git providers too,

@chmouel whats the priority on this?

maybe having this command letting do a batch import would be useful even for non auto creation,

It would be nice from my perspective, if any form of batch import can be expressed in GitOps compatible form. This means, that repository CRs might be created on the filesystem as an alternative to just in-cluster. Especially since additional features on this CR like custom parameters seemed to be merged recently.


Deploy to QA and Production

Hi!
It's not a issue, but I need to know how to adapt this solution to deploy this to QA and Production environments using Pipeline Release.
I could follow the step, I adapterd a my own code, but I couldn't create a release pipeline.
Is there any document about it?

MOM, Can you Please, Please ask you co-workers, dog groomer, person that dose your taxes, neighbor, etc.. Looking for an Old Fix me upper VAN, preferably Cargo Van (There Cheap) but any van will do. Even a Car would work if that’s all that is available. We Can put 1000.00 down and make payments. PLEASE ASK EVERYONE YOU KNOW and contact me via email @.***
We need help. Will be willing to work or do what ever it takes to get some form of transportation. Thanks in advance for your support!!
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: @.>
Sent: Monday, July 5, 2021 1:48 PM
To: @.>
Cc: @.***>
Subject: [microsoft/MLOpsPython] Deploy to QA and Production (#372)
Hi!
It's not a issue, but I need to know how to adapt this solution to deploy this to QA and Production environments using Pipeline Release.
I could follow the step, I adapterd a my own code, but I couldn't create a release pipeline.
Is there any document about it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/MLOpsPython/issues/372, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AODJGD23YAOYA6AUOEP3ISTTWH5AZANCNFSM473GBLFA.


crash in dasync engine/rsa cipher

Steps to reproduce the crash in e_dasync.c
OPENSSL_ENGINES=../engines
OPENSSL_CONF=test.conf

$ cat test.conf
openssl_conf = openssl_init

[openssl_init]
ssl_conf = ssl_config

[ssl_config]
server = server_conf
client = client_conf

[server_conf]
Options = -EncryptThenMac

[client_conf]
Options = -EncryptThenMac

../util/shlib_wrap.sh ./openssl s_server -engine dasync -ssl_config server -cipher "AES128-SHA:@SECLEVEL=0" -tls1

../util/shlib_wrap.sh ./openssl s_client -engine dasync -ssl_config client -cipher "AES128-SHA:@SECLEVEL=0" -tls1
Engine "dasync" set.
Connecting to ::1
CONNECTED(00000003)
depth=0 CN=server.example
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN=server.example
verify error:num=21:unable to verify the first certificate
verify return:1
depth=0 CN=server.example
verify return:1
Segmentation fault (core dumped)

this crashes in the client:
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff6a4b9b3 in dasync_rsa_encrypt_init (ctx=0x7c99f0)
    at engines/e_dasync.c:868
#2  0x00007ffff762b750 in evp_pkey_asym_cipher_init (ctx=0x7c99f0,
    operation=512, params=0x0) at crypto/evp/asymcipher.c:145
#3  0x00007ffff762b812 in EVP_PKEY_encrypt_init (ctx=0x7c99f0)
    at crypto/evp/asymcipher.c:167
#4  0x00007ffff7b95ee9 in tls_construct_cke_rsa (s=0x7b7a30,
    pkt=0x7fffffffd270) at ssl/statem/statem_clnt.c:2861
#5  0x00007ffff7b97491 in tls_construct_client_key_exchange (s=0x7b7a30,
    pkt=0x7fffffffd270) at ssl/statem/statem_clnt.c:3287
#6  0x00007ffff7b8e606 in write_state_machine (s=0x7b7a30)
    at ssl/statem/statem.c:852
#7  0x00007ffff7b8d91b in state_machine (s=0x7b7a30, server=0)
    at ssl/statem/statem.c:451
#8  0x00007ffff7b8d36e in ossl_statem_connect (s=0x7b7a30)
    at ssl/statem/statem.c:265
#9  0x00007ffff7b70d66 in ssl3_write_bytes (s=0x7b7a30, type=23,
    buf_=0x704870, len=0, written=0x7fffffffd5d8)
    at ssl/record/rec_layer_s3.c:403
#10 0x00007ffff7b3bbb5 in ssl3_write (s=0x7b7a30, buf=0x704870, len=0,
    written=0x7fffffffd5d8) at ssl/s3_lib.c:4428
#11 0x00007ffff7b4c51e in ssl_write_internal (s=0x7b7a30, buf=0x704870, num=0,

but it will crash in the server when the client uses no dasync engine:
#1  0x00007ffff6a4ba5a in dasync_rsa_decrypt_init (ctx=0x7c8950) at engines/e_dasync.c:890
#2  0x00007ffff762b788 in evp_pkey_asym_cipher_init (ctx=0x7c8950, operation=1024, params=0x0) at crypto/evp/asymcipher.c:150
#3  0x00007ffff762bace in EVP_PKEY_decrypt_init (ctx=0x7c8950) at crypto/evp/asymcipher.c:209
#4  0x00007ffff7ba8777 in tls_process_cke_rsa (s=0x7ce510, pkt=0x7fffffffd550) at ssl/statem/statem_srvr.c:2909
#5  0x00007ffff7ba9c3a in tls_process_client_key_exchange (s=0x7ce510, pkt=0x7fffffffd550) at ssl/statem/statem_srvr.c:3306
#6  0x00007ffff7ba390c in ossl_statem_server_process_message (s=0x7ce510, pkt=0x7fffffffd550) at ssl/statem/statem_srvr.c:1199
#7  0x00007ffff7b8dec3 in read_state_machine (s=0x7ce510) at ssl/statem/statem.c:647
#8  0x00007ffff7b8d8db in state_machine (s=0x7ce510, server=1) at ssl/statem/statem.c:442
#9  0x00007ffff7b8d38d in ossl_statem_accept (s=0x7ce510) at ssl/statem/statem.c:270
#10 0x00007ffff7b501c5 in SSL_do_handshake (s=0x7ce510) at ssl/ssl_lib.c:3893
#11 0x00007ffff7b4ba2e in SSL_accept (s=0x7ce510) at ssl/ssl_lib.c:1735
#12 0x000000000046ca2e in init_ssl_connection (con=0x7ce510) at apps/s_server.c:2838
#13 0x000000000046c511 in sv_body (s=4, stype=1, prot=0, context=0x0) at apps/s_server.c:2702
#14 0x0000000000499d7b in do_server (accept_sock=0x6e7580 <accept_socket>, host=0x0, port=0x704710 "4433", family=0, type=1, protocol=0,
    cb=0x46b34c <sv_body>, context=0x0, naccept=-1, bio_s_out=0x715e10) at apps/lib/s_socket.c:386
#15 0x000000000046ae04 in s_server_main (argc=0, argv=0x7fffffffde80) at apps/s_server.c:2231
#16 0x000000000044c849 in do_cmd (prog=0x702c40, argc=8, argv=0x7fffffffde80) at apps/openssl.c:414
#17 0x000000000044c481 in main (argc=8, argv=0x7fffffffde80) at apps/openssl.c:295

Now it looks like a duplicate of #16738


configuration file "/var/db/postgres/compute/pgdata/postgresql.conf" contains errors

https://github.com/neondatabase/neon/pull/9843 is not fixed, see https://neondb.slack.com/archives/C04DGM6SMTM/p1732886142706659?thread_ts=1732885753.887279&cid=C04DGM6SMTM
Steps to reproduce
Expected result
Neon control plane and compute_ctl generate valid postgresql.conf
Actual result
configuration file "/var/db/postgres/compute/pgdata/postgresql.conf" contains errors; unaffected changes were applied
https://neonprod.grafana.net/goto/uFIPUqnHg?orgId=1
Environment
staging and prod
Logs, links

Note that in staging we had 230k of these errors in last day
https://neonprod.grafana.net/explore?schemaVersion=1&panes=%7B%22dab%22:%7B%22datasourc[…]221732886093418%22,%22from%22:%221732799693418%22%7D%7D%7D
2:16
in prod we had 400k in one day https://neonprod.grafana.net/explore?schemaVersion=1&panes=%7B%22dab%22:%7B%22datasourc[…]221732886156058%22,%22from%22:%221732799756058%22%7D%7D%7D

Ok, I figured out what our problem is. We initially write the extension server port into the postgresql.conf file, but on reconfigure, we remove it. I'll see what the best solution is.

good catch, thanks for reacting quickly @tristan957


Add sentry to backend

Add logging of exceptions with sentry so that we can track critical errors

Not doing this right now so closing


bug #50: upgrade to use debian:stretch as the base image.

because the debian:jessie apt mirror we needed has been deprecated.
resolves #50.
as part of submitting this PR, i have:

verified that the container builds and runs.
verified that the container sends email as expected.
verified that it still does the DKIM stuff correctly.
read over the Exim breaking-changes release notes from versions 4.83 through 4.89 (which is what it installs as of time of writing) and compared against the configuration in the repository for possible issues.

that said, i use this project for rather simple purposes and did not deeply exercise every corner, so if there are any known friction points that i did not look at please let me know and i can take a look.

@clint-tseng Tested it with simple mail, ses & gmail and works. Thanks alot!

@clint-tseng thanks :smile:sleek pr :tada: