Upgrade Tokio to version 0.3.0

[ ] Referenced an issue explaining the need for the change
[ ] Updated all relevant documentation in docs
[ ] Updated all code comments where relevant
[ ] Wrote tests
[ ] Updated CHANGELOG.md

Codecov Report

Merging #681 (71725d2) into master (bfcbf83) will increase coverage by 0.0%.
The diff coverage is 36.1%.

@@          Coverage Diff           @@
##           master    #681   +/-   ##
======================================
  Coverage    39.6%   39.6%
======================================
  Files         182     182
  Lines       12873   12873
  Branches     2944    2939    -5
======================================
+ Hits         5104    5110    +6
+ Misses       7522    7517    -5
+ Partials      247     246    -1

Impacted Files
Coverage Δ

light-client/src/components/io.rs
0.0% <ø> (ø)

light-client/src/utils/block_on.rs
0.0% <0.0%> (ø)

light-node/src/application.rs
0.0% <0.0%> (ø)

light-node/src/commands/start.rs
0.0% <0.0%> (ø)

tendermint/tests/integration.rs
0.4% <0.0%> (ø)

rpc/src/client/subscription.rs
72.9% <100.0%> (+0.2%)
:arrow_up:

rpc/src/client/sync.rs
56.5% <100.0%> (+6.5%)
:arrow_up:

rpc/src/client/transport/websocket.rs
73.0% <100.0%> (ø)

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 bfcbf83...71725d2. Read the comment docs.

Codecov Report

Merging #681 (0259dde) into master (bfcbf83) will increase coverage by 0.2%.
The diff coverage is 35.1%.

@@           Coverage Diff            @@
##           master    #681     +/-   ##
========================================
+ Coverage    39.6%   39.8%   +0.2%
========================================
  Files         182     182
  Lines       12873   12873
  Branches     2944    2939      -5
========================================
+ Hits         5104    5133     +29
+ Misses       7522    7494     -28
+ Partials      247     246      -1

Impacted Files
Coverage Δ

light-client/src/components/io.rs
0.0% <ø> (ø)

light-client/src/utils/block_on.rs
0.0% <0.0%> (ø)

light-node/src/application.rs
0.0% <0.0%> (ø)

light-node/src/commands/start.rs
0.0% <0.0%> (ø)

tendermint/tests/integration.rs
0.4% <0.0%> (ø)

rpc/src/client/subscription.rs
72.9% <100.0%> (+0.2%)
:arrow_up:

rpc/src/client/sync.rs
56.5% <100.0%> (+6.5%)
:arrow_up:

rpc/src/client/transport/websocket.rs
73.0% <100.0%> (ø)

light-client/src/utils.rs
20.1% <0.0%> (+2.7%)
:arrow_up:

Continue to review full report at Codecov.

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

It'd be really helpful if we could get another -rc release with #679 before this lands.
It's a breaking change to TMKMS to upgrade Tokio and we haven't done it yet, and we need to be able to test Stargate upgrades with production keys ASAP.

It'd be really helpful if we could get another -rc release with #679 fixed before this lands.
It's a breaking change to TMKMS to upgrade Tokio and we haven't done it yet, and we need to be able to test Stargate upgrades with production keys ASAP.

Sure - I'd say we should target v0.17.0-rc4 to upgrade Tokio 👍 (rc3 will release the fix for #679)

Codecov Report

Merging #681 (c92d0a7) into master (bfcbf83) will decrease coverage by 0.3%.
The diff coverage is 36.1%.

@@           Coverage Diff            @@
##           master    #681     +/-   ##
========================================
- Coverage    39.6%   39.2%   -0.4%
========================================
  Files         182     190      +8
  Lines       12873   12553    -320
  Branches     2944    3226    +282
========================================
- Hits         5104    4933    -171
+ Misses       7522    7287    -235
- Partials      247     333     +86

Impacted Files
Coverage Δ

light-client/src/components/io.rs
0.0% <ø> (ø)

light-client/src/utils/block_on.rs
0.0% <0.0%> (ø)

light-node/src/application.rs
0.0% <0.0%> (ø)

light-node/src/commands/start.rs
0.0% <0.0%> (ø)

tendermint/tests/integration.rs
0.4% <0.0%> (ø)

rpc/src/client/subscription.rs
72.9% <100.0%> (+0.2%)
:arrow_up:

rpc/src/client/sync.rs
56.5% <100.0%> (+6.5%)
:arrow_up:

rpc/src/client/transport/websocket.rs
73.0% <100.0%> (ø)

light-client/src/errors.rs
2.3% <0.0%> (-5.6%)
:arrow_down:

light-client/src/macros.rs
11.0% <0.0%> (-4.2%)
:arrow_down:

... and 75 more

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 bfcbf83...c92d0a7. Read the comment docs.

Codecov Report

Merging #681 (7c8f444) into master (bfcbf83) will decrease coverage by 0.3%.
The diff coverage is 30.3%.

@@           Coverage Diff            @@
##           master    #681     +/-   ##
========================================
- Coverage    39.6%   39.3%   -0.4%
========================================
  Files         182     190      +8
  Lines       12873   12549    -324
  Branches     2944    3226    +282
========================================
- Hits         5104    4934    -170
+ Misses       7522    7282    -240
- Partials      247     333     +86

Impacted Files
Coverage Δ

light-client/src/components/io.rs
0.0% <ø> (ø)

light-client/src/utils/block_on.rs
0.0% <0.0%> (ø)

light-node/src/application.rs
0.0% <0.0%> (ø)

light-node/src/commands/start.rs
0.0% <0.0%> (ø)

tendermint/tests/integration.rs
0.4% <0.0%> (ø)

rpc/src/client/subscription.rs
74.0% <100.0%> (+1.4%)
:arrow_up:

rpc/src/client/sync.rs
57.1% <100.0%> (+7.1%)
:arrow_up:

rpc/src/client/transport/websocket.rs
73.0% <100.0%> (ø)

light-client/src/errors.rs
2.3% <0.0%> (-5.6%)
:arrow_down:

light-client/src/macros.rs
11.0% <0.0%> (-4.2%)
:arrow_down:

... and 75 more

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 bfcbf83...7c8f444. Read the comment docs.

As a temporary workaround, the PR https://github.com/informalsystems/ibc-rs/pull/364 depends on branch romac/upgrade-tokio here. We'll delete this branch later once it's not needed anymore.


NEW [bridge] support rap + rh in MQTT V5 bridging

wait for https://github.com/nanomq/NanoNNG/pull/690


Submitting a request while the response is collapsed makes it impossible to see the response

When submitting a request while the response is collapsed makes it impossible to see the response
Reproduce:

Create any request and submit it
Collapse the response
Send the request again
Expand the response
-> response is no longer shown, instead an empty space is shown

I'm on MacOS 14.0 on an M1 Mac, VSCode is version 1.83.0.
https://github.com/AnWeber/httpbook/assets/66731536/a4a26c6b-da15-4766-a4aa-ac98ca8e2bd2

I would now guess a bug in vscode. I can not control the display. I only provide a NotebookOutput object. The display is then controlled by VSCode. And I could reproduce the same error in another notebook extension. Please create an issue at microsoft/vscode

I created an issue - in the jupyter repository - not sure if the vscode repository may have been better. Will attempt to follow up if someone there tells me that it's in the wrong place.
Intrestingly in Jupyter notebooks it works diffently and the output is shown despite the cell output being collapsed.

I think the output rendering, uses code from this folder, but we will see.


Switch to BCrypt

What's the problem?
Some of the Windows crypto interop is CAPI which is slow and unstable causing some customers to hit serious issues in prod.
This should rely on a newer implementation.

[ ] Bugfix
[X] New Feature

What's the solution?
Switch code to use BCrypt instead of CAPI.

[X] Includes unit tests
[ ] Requires manual test

What issue is this related to, if any?
This is a small fork of @gfoidl's work in #147. It doesn't include everything, just the BCrypt specific bits. Thanks @gfoidl!

@gfoidl P.S. this change shaves a good 1s off unit tests. Nice little perf bump.


Contributing a multistep optimizer for training big NNs/batches

I noticed a high demand in training big NNs/batches is to create a multistep optimizer. This means the optimizer accumulates gradients from batches until it reaches a desire batch and update model parameters.
This is similar to this, but for file keras.optimizer_v2 instead.
I can contribute to this. However, I noticed by doing this, the code optimizer_v2.py will need to change a lot. I can create a new similar python file (say, multistep_optimizer_v2.py) to avoid changing in optimizer_v2.py, but the optimizer_v2.py code it self is indeed very long.
I thus create a discussion here to see whether you (Tensorflow Team and community) feel it is worthy to do so, as well as how to do that, or any better solution for doing that, if there is.
Best,

FYI: I actually did investigation carefully, and found that we actually don't need to modify optimizer_v2.py at all. We rather just need to create a new optimizer (similar to and could inherit from Adam, RMSProp, SGD, etc).
This simplifies things a lot, so, again, if you want such a thing, pls let me know.

Thanks for the report! It might be nice to consider this since we're updating the optimizer interface lately. Would you mind emailing this to<EMAIL_ADDRESS>with this idea and see what is the response? We might need a public RFC before implementation.
Meanwhile closing it as this is not a real issue.


How to enrich Prometheus metrics with variable labels

Hi,
I am currently using Grafana with an ElasticSearch datasource to do variable queries based on my dashboard variables (e.g.: query for all or a specific node):
node:"$node.*" AND logfile:"docker" AND status:404

I wanted to switch to your prometheus-es-exported in order to unify everything in Prometheus without direct queries to other data source.
However, now I am unable to do variablized queries and I was asking myself if it is possible to somehow enrich the results with custom labels. Currently I only see two labels:

instance
job

Is it somehow possible to group those results based on custom labels such as:
test_404_access_logs_last_15_min_hits{node:"node1",instance="i", job="j"}   5
test_404_access_logs_last_15_min_hits{node:"node2",instance="i", job="j"}   4
test_404_access_logs_last_15_min_hits{node:"node3",instance="i", job="j"}   6
test_404_access_logs_last_15_min_hits{node:"node4",instance="i", job="j"}   8

This node would be a key from an elastic search query and the actual query definition would only count per unique node keys.
This way I could use those metrics in Grafana with variables on nodes and use a single dashboard to selectively show logs for all nodes or a very specific node.

Hi @cytopia,
If I understand your use case correctly, you should be able to achieve what you want using an Elasticsearch terms aggregation on the node field in your log documents.
See this test for an example of how terms aggregations are mapped to metrics. Note that it includes a sub-aggregation, which you probably don't need - the *_doc_count metrics produced by the terms aggregation itself will give you the number of logs in each node bucket.
Let me know if you have any issues getting that to work.
Braedon


fix: user consent flow

PR Checklist

[ ] Unit Tests have been added for new changes
[ ] API tests have been updated if applicable
[ ] All commented code has been removed
[ ] If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency.

What are you changing?

Anything the reviewer should know when reviewing this PR?
If the there are associated PRs in other repositories, please link them here (i.e. open-amt-cloud-toolkit/repo#365 )

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

GitHub release
v3.10.1

Your semantic-release bot :package::rocket:


Quick Accent

Description of the new feature / enhancement
It would be great for the Quick Accent character set to me multi selection. For example: I need available Currency, Greek, and Spanish. Having these selected simultaneously will give me access to these only... whilst leaving the rest out.
Scenario when this would be used?
Whilst typing on any document.
Supporting information
None.

/dup https://github.com/microsoft/PowerToys/issues/30160


Update doc urls inside the jaggery apps

Description:

Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Fix : https://github.com/wso2/carbon-apimgt/pull/5462/files


feat: hugr binary cli tool

Closes #1095
currently validates against std extensions
can read from stdin with echo "<json>" | hugr -
binary depends on optional feature to limit dependencies
add integration testing of binary behaviour
based on https://docs.rs/assert_cmd/2.0.14/assert_cmd/cmd/struct.Command.html#method.write_stdin

Does the cli need access to non-public stuff? It would be cleaner to have it as a separate subcrate instead;
Add a hugr-cli dir with the relevant code and a Cargo.toml with
[[bin]]
name = "hugr"
path = "src/main.rs"

This way we don't need to add a new feature that's useless to lib users.

After some discussion; if we want to be able to do cargo install hugr (instead of hugr-cli) then it's right that we'll need to define the binary there.
I still think the library should go in a subcrate. The cli feature here could be renamed to _cli so it doesn't appear in docs.rs and users that need the args definitions can depend on hugr-cli directly.
We can merge this PR as-is, and I'll propose the subcrate in a separate issue.


Error in forest example

On commit bcd4d46377850ffb8ae11dd78b0825aac2009aa2 the forest example shows the trees upside down 🙃
cargo run --example forest --release

vs docs

Thanks for reporting 👍 Should be fixed in 40fdce9. Note that a new model is used for the trees, so it looks slightly different. Will update the example readme soon 🙂


User-Assigned Managed Identity are not displayed properly in HTTP actions when referenced through Parameters

Describe the Bug with repro steps

Link existing user-assigned managed identity (UAMI) to Logic Apps (Standard or Consumption).
Add resource id of the UAMI to parameters (UAMI-Id)
Create HTTP action. Add Authentication property for the HTTP action. Choose Managed identity from the drop-down menu
Click on Switch to code view mode button and paste the code:
{
"audience": "https://management.azure.com",
"identity": "@{parameters('UAMI-Id')}",
"type": "ManagedServiceIdentity"
}
This HTTP action will work as intended, however Designer displays The entered identity is not associated with this Logic App error

What type of Logic App Is this happening in?
Consumption (Portal)
Are you using Preview Designer or GA Designer
Preview
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
{
  "type": "Http",
  "inputs": {
    "uri": "https://management.azure.com/...",
    "method": "PUT",
    "body": {},
    "authentication": {
      "audience": "https://management.azure.com",
      "identity": "@{parameters('UAMI-Id')}",
      "type": "ManagedServiceIdentity"
    }
  }
}

Screenshots or Videos
Preview Designer

GA Designer

Browser
MS Edge (Chrome)
Additional context
This issue is observed in both versions of Designer and for both Logic Apps tiers.
Why it is important to store UAMI resource id in parameters and not in the code? There is a need to have the same code in all environments (tenants), for which UAMI is different. Its resource id therefore should not be part of workflow's code but instead stored in parameters (Consumption) or Application settings and referenced in parameters (for LA Standard)
AB#24439960

I have same issue. And also it is not possible to add parameter via designer but via code edit.
Lastly why should system assigned identity must be enabled for this logic app. My company decided to only use user assigned for more control and since that works, either of 2 should be enabled and not System assigned.


patterns, analyzer reports empty statement when destructuring logical-or pattern

Dart SDK version: 3.0.0-edge.3d01b0aac3b5f143a2ccbefa8f9339272e1591a4 (be) (Tue Feb 7 18:24:54 2023 +0000) on "macos_x64"
This code is from the patterns spec.
String? describeList(List<String> list) {
  // Destructuring logical-or pattern in switch statement
  switch(list) {
    case ['a' || 'b', var c]:
      return 'a or b and $c';
    default:
      return null;
  };
}

The switch block is said to be empty. It is also marked as dead code.
The equivalent switch expression is analyzed correctly AFAIK.

This is a typo; closing.


execute "git" command in the right path

same reason to the last PR #169
somehow git2 doesnot find out the branch, so we execute the "git" command in the path where the top most repo resides

@baoyachi PTAL

Thx again.

In the future, can consider removing 2 crates. Currently, using Command for git can also meet the requirements.


mosquitto: Adding some updates and corrections

Mosquitto Tutorial was broken because the files from extra-container weren't accepted on the pull request.
I updated the extra container and sent a new pull request there as well.

Docs for ed8d19ba2de69446c0ffe911f5889354da03e461 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/621/docs/artifacts/html/index.html


rqt_plot: add checkboxes to toggle different topics

From @davetcoleman on July 25, 2013 21:8
it would be really nice to add checkboxes to toggle different topics on and off, similar to how the Publisher allows you to turn off different topics as you develop.
Copied from original issue: ros-visualization/rqt_common_plugins#106

From @130s on August 8, 2013 6:36
+1


chore(RHINENG-9387): update page titles

Associated Jira ticket: # https://issues.redhat.com/browse/RHINENG-9387
Updates page titles according to 'Current concept' column, single line treatment in this sheet

@AsToNlele strange. The new text does not include that "Red Hat Insights". I will investigate it

@AsToNlele Strange that platform adds a suffix if there is not. I have disabled it and also page title is applied on activities tab as well.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.73%. Comparing base (7ca8a88) to head (f1dd614).
 Consider uploading reports for the commit 94dca99 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #189   +/-   ##
=======================================
  Coverage   81.73%   81.73%
=======================================
  Files          75       75
  Lines        1621     1621
  Branches      521      521
=======================================
  Hits         1325     1325
  Misses        259      259
  Partials       37       37

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


newer K9 version isn't retrieving new mail

Expected behavior
K9 Mail  should retrieve read and unread imap messages.
Actual behavior
K9 Mail only retrieves imap messages in which another mail program has already retrieved and marked as read.   Therefor, I have to check my mailbox using anything else (webmail/Thunderbird/Outlook/etc.).  They get the new email fine.  Then K9 Mail will retrieve the newest emails but will not retrieve anymore beyond this point until, again, another mail program fetches the emails first.   This started happening sometime late 2017.
Environment
K9 Mail version:   Should be the latest.  K9 Mail is a hard program to determine what version I'm using.  There is no About K9 Mail menu option.
Android version:
7.1.1 - There is an About Phone option.  Nice.

There is no setting where K-9 Mail limits itself to downloading only read messages.
Please use the mailing list for support requests. Make sure to include information on how you set up your account, what email server you're using, etc.

cketti,  You did not read carefully.
I send email to my account.  K9 does not see the new email(s).   Once another mail program checks mailbox and gets the emails, then K9 can retrieve the email(s).   The server is self built sendmail server.  No other mail programs have problem.

You didn't fill out our issue template so it's unsurprising cketti is redirecting you to a help forum.
Sendmail is.. shockingly, used to send email.
What are you using on the server to receive it? What protocol are you using?
As cketti said, the fact that this works for everyone else and the fact that you are using a self configured setup suggests this a configuration problem.
In fact  I suspect it's a SELECT vs EXAMINE problem.
K-9 uses EXAMINE so that the read status of new messages aren't changed. However some servers misinterpret this as not fetching new messages at all.

It's an old version of http://www.washington.edu/imap/.   Perhaps all other programs use EXAMINE, and upon seeing no new email, they fall back to SELECT as a second effort.    I don't know.  K9 doesn't have to be backward compatible to everything or have legacy code in it forever to be polished.
For giggles, just now, I setup Windows 10 Mail.    Even it successfully pulled in my new email which K9 can not.  Now K9 can pull in the email since it was first pulled in via another program.   Astonishing.
I uninstalled K9 and reinstalled.   Re-setup my account - like I just did for Windows 10 Mail and still it can't see new email.    I don't know guys.  I'm just trying to report what K9 can't do.

See https://github.com/k9mail/k-9/issues/3022#issuecomment-355287881

A bit late to the party here but I ran into this and was able to confirm that this results from how some servers handle your system mail spool. uw-imap for instance will move your new mail from the spool (eg: /var/mail/$user) into your imap inbox the first time you issue a command against the inbox that allows writing, such as SELECT or when you mark any mail read/unread. If the app only ever uses EXAMINE to check for new mail, the imap server will never move your spooled mail over as this is a read-only command. Depending on your server setup and what sort of access you have you may be able to get around this by using a local delivery agent like procmail to kick your incoming mail into your inbox on receipt instead of waiting for an imap client to connect.

yes, I use uw-imap.  I guess they removed SELECT and only use EXAMINE.  I assume they used to fallback to SELECT.   Bottom line is that K9 is the only mail program I've ever uses that doesn't reliable retrieve messages.  And it used to work just fine.


⚠ Jenkins Plugins Artifactory has degraded performance

In 0d67ec2, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1202 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 401256b after 33 minutes.


Log chain cleanup events

I'm debugging our chain jobs. Need more logging to see if cleanup is to blame for broken chains.
https://vinted.slack.com/archives/CNVJ1QNBG/p1600274952291000
https://vinted.slack.com/archives/CNVJ1QNBG/p1600276088291900

@vinted/backend

You need to update gemfile.lock version too: https://github.com/vinted/chained_job/blob/master/Gemfile.lock#L4
I think you need to run bundle exec rake install

the lock has been updated


Feature langfuse tracker update

Changes Overview

Modified the Langfuse integration in gpt3.py to use decorators for better code organization and readability.https://github.com/stanfordnlp/dspy/pull/1186#discussion_r1816503177

Enhanced langfuse_tracker.py with additional metric collection methods for improved statistics tracking.(https://github.com/stanfordnlp/dspy/issues/1540?notification_referrer_id=NT_kwDOBHJY27QxMjU3MDM3NzAzODo3NDYwMjcxNQ)

If you're using LiteLLM, you can enable Langfuse's excellent metric collection features by simply adding these configurations:langfuse docs

litellm.success_callback = ["langfuse"]
litellm.failure_callback = ["langfuse"]

Key Features

Streamlined integration process
Enhanced metric collection capabilities
Ready-to-use statistics tracking functions

Usage
For LiteLLM users, simply add the callback configurations to enable Langfuse integration and utilize the pre-built metric collection functions from langfuse_tracker.py.
Related Files
gpt3.py
langfuse_tracker.py

@arnavsinghvi11 @okhat
Made some updates to the Langfuse integration - would love your thoughts on this!
Cheers

Thanks @xucailiang ! This seems incompatible with 2.5
https://github.com/stanfordnlp/dspy/blob/main/examples/migration.ipynb

Sorry, can I get more detailed information? I noticed that dspy2.5 integrates liteLLM, which makes me excited. Then the way to integrate langfuse is even simpler. This PR will also provide some more convenient functions in langfuse_tracker to count llm indicator data.

Basically you're editing gpt3.py but that file will be deleted next week and is not very actively used by anyone, since it's deprecated.

Basically you're editing gpt3.py but that file will be deleted next week and is not very actively used by anyone, since it's deprecated.

Yes, I changed the import method of langfuse in gpt3.py. It is a good idea to delete the old modules next week, but considering that some old projects may not be able to migrate directly to the new version, I made this change, but I can also cancel this part of the change if necessary. For the new LM, the changes in the langfuse tracker are also meaningful, and some methods will be provided here to facilitate users to obtain LLM parameters.
I don't know if I missed anything


Paging SlidesPerView Auto

I have a problem. At first loading, the paging does not match with the slide width. But , when i resizing the page, it perfectly work!
see with jsfiddle: http://jsfiddle.net/keisersuze/mr24nmpw/1/show/
Can you fix-it please ?

Problem is in your resize/fix script. Why you used it at all? CSS media queries are enough for that http://jsfiddle.net/tyrw28pd/

Thank you very much!


Python: Package variants break the parser

Required package variants like requests[security] aren't parsed correctly.
In the following example the dependency click is invisible to the setup file parser, because it stops at the first ] it encounters:
install_requires = [
    "requests[security] == 2.0",
    "click == 6.0",
]

Fixed in https://github.com/dependabot/dependabot-core/commit/9f750f9478850a337c7e6427487df7aa5e182f26, which I'm deploying now.


Fixed byte to string comparison TypeError in platform run config

File was open as binary but content was treated as string type.
Changed line split by binary delimiter and store parts as decoded utf-8 strings, as originally intended.

Merged in ad4435e


How does the client obtain data from the scrcpy service started on the mobile phone?

[ yes ] I have read the FAQ.
[ yes ] I have searched in existing issues.

Environment

OS: Windows
scrcpy version: 1.18
installation method: [e.g. manual build, apt, snap, brew, Windows release...]
device model:  Oppo Reno ACE
Android version: 10

Describe the bug
Hello, I pushed the scrcpy server to the Android phone and started the service.
It looks like the service is indeed started.
[server] INFO: Device: OPPO PCLM10 (Android 10)

I wrote a simple client to get the data pushed by the service, but I can only get dummy byte.
data == >  b'\x00'

The following is the client code I wrote. I wonder if you can help me find out why I can’t get the subsequent data. These three methods are called from top to bottom.

def client_socket():
    # client socket
    client: socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

    server_addr = ('<IP_ADDRESS>', 27183)
    client.connect(server_addr)

    data = client.recv(1)
    if not len(data):
        raise IOError('no data')
    print('data == > ', data)

    data = client.recv(64).decode("utf-8").rstrip("\x00")
    print('data == > ', data)

    data = client.recv(4).decode("utf-8").rstrip("\x00")
    print('data == > ', data)

In addition, this is my process of pushing the scrcpy service
def push_scrcpy():
    """
    push scrcpy.jar
    """
    # push file to /data/local/tmp
    cmd = r'adb push E:\MySoftware\scrcpy-server.jar /data/local/tmp/scrcpy-server.jar'
    process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    stdout, stderr = process.communicate()

    if process.returncode == 0:
        print('push successfully')

    else:
        print("push error")
        print("error:", stderr.decode())

def forward_scrcpy():
    """
    forward
    """
    cmd = 'adb forward tcp:27183 localabstract:scrcpy'
    try:
        output = subprocess.call(cmd)
        # output = output.decode('utf-8')
        print(output)
    except subprocess.CalledProcessError as e:
        print('forward error:', e)

def start_scrcpy_android():
    """
    start scrcpy server
    """
    cmd = ('adb shell CLASSPATH=/data/local/tmp/scrcpy-server.jar app_process / com.genymobile.scrcpy.Server 1.18 info '
           '1600 20000000 0 -1 true - false true 0 false false - - false')

    process = subprocess.Popen(cmd)
    process.wait()
    print('scrcpy-server end')

Looking forward to your answer very much

Please read: https://github.com/Genymobile/scrcpy/blob/master/doc/develop.md#protocol


Add Twitter v2 extension

Description
⚠ Work in Progress ⚠
Add Twitter V2 extension.

Login with Twitter (no API key needs to be provided by the user anymore)

Recent Tweets command

My Recent Tweets command

Send Tweet command

Search User command
There is no API in v2 to make it in Raycast directly. The current impl. use the input from the user and open twitter.com in the browser with the given search query.

Why?
Twitter don't offer all features like v1 API does (v2 is not finished). The v1 Twitter extension for Raycast could therefore not be upgraded to v2 because this would only work with adding error views or remove half of the feature set (Search User). This extension provide the feature which works with v2. If v2 get the missing features we can easily upgrade it. If a user miss some feature he/she can use the v1 extension.
UPDATE:

Twitter updated v2 to get the timeline, which is already added to this PR
Many features are now working, but following are missing

Like and Unlike are 2 actions, because there is no way in v2 if the current user liked a given tweet or not
Retweet works as before, but unretweet needs to be done on the retweet itself. In v1 it was done on the original one

I'm think about back-porting it to the original twitter extension, but based on the preferences from the user if would use the old impl. or the new impl., so both v1 and v2 live next to each other

Todo

[x] Add most features what v1 extension has

[ ] Add fixed clientid

[ ] Add Unretweet action

[x] Add refresh tweets option
The problem is that the v2 API use expansions, which sometimes don't work for every tweet and throw erros. Tweets need to remember which expansions they have used.

Screencast

Checklist

[ ] I read the extension guidelines
[ ] I read the documentation about publishing
[ ] I ran npm run build and tested this distribution build in Raycast
[ ] I checked that files in the assets folder are used by the extension itself
[ ] I checked that assets used by the README are placed outside of the metadata folder

Closed in favor of #2087


Add hooks for setting bounds and permissions on exported pointers.

On a CHERI system, the pointers into the Microvium heap give full read-write access to the entire heap.  This means that bounds errors (or passing string pointers to functions that try to mutate their arguments) will corrupt VM state.
The two hooks are:

Apply bounds to this pointer.
Remove the ability to load pointers or store through the pointer.

Both of these default to doing nothing, but no CHERI platforms they can be a csetbounds / candperms instruction.

(Rebased, now applies cleanly)

The change makes sense, but it doesn't look like this PR changes native-vm/microvium.c  which is the source of truth for the source code. The other microvium.c files are derived files that are generated during the build process.

I also didn't change that file in #78.  I guess I need to apply the same change from that as well?

I've pushed an update that hopefully fixes it for the previous commit as well.

Yeah, looks good. Sorry, I should have caught that in the other PR as well.


HDDS-3718: Improve OmKeyLocationInfoGroup internal data structure

What changes were proposed in this pull request?
OmKeyLocationInfoGroup changed to store a Map between versions and list of OmKeyLocationInfos
instead of storing all locationInfos in a list, by this change, the performance of getting the list of the latest version improved.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3718
How was this patch tested?
ozone common module tests

Thanks for the contribution @esahekmat. Do you know if this structure is passed on the wire or persisted to disk i.e. will the change be incompatible?
cc @bharatviswa504 @melek

I have tried to preserve the getProtobuf and getFromProtobuf methods and I have kept the KeyLocationList structure intact, does it enough to prevent incompatibility?

I agree the structure pass over the wire does not change with this PR. However, given the version support is not fully added, we should have only limited(one) version here. Change the list to map will not bring in much performance improvement. Should we postpone  the change when adding version support?

I agree the change can be postponed until the version support implementation, however storing different version in a heterogeneous List, and filter it for specific version led to poor design, for example, searching for specific version in the list, some use-cases of it had been done in OmKeyLocationInfoGroup itself and some of them had been done in other class (see getBlocksLatestVersionOnly in OmKeyLocationInfoGroup and addPreallocateBlocks in BlockOutputStreamEntryPool)

Codecov Report

Merging #1023 into master will decrease coverage by 0.01%.
The diff coverage is 65.15%.

@@             Coverage Diff              @@
##             master    #1023      +/-   ##
============================================
- Coverage     69.46%   69.44%   -0.02%
+ Complexity     9121     9110      -11
============================================
  Files           961      961
  Lines         48151    48132      -19
  Branches       4679     4675       -4
============================================
- Hits          33448    33426      -22
+ Misses        12489    12487       -2
- Partials       2214     2219       +5

Impacted Files
Coverage Δ
Complexity Δ

...main/java/org/apache/hadoop/ozone/OzoneConsts.java
84.21% <ø> (ø)
1.00 <0.00> (ø)

...apache/hadoop/hdds/utils/db/RocksDBCheckpoint.java
90.90% <ø> (+0.90%)
5.00 <0.00> (-3.00)
:arrow_up:

.../java/org/apache/hadoop/ozone/om/OMConfigKeys.java
100.00% <ø> (ø)
1.00 <0.00> (ø)

.../apache/hadoop/ozone/om/OMDBCheckpointServlet.java
66.26% <ø> (-4.27%)
8.00 <0.00> (-2.00)

...a/org/apache/hadoop/ozone/om/ha/OMNodeDetails.java
86.66% <ø> (ø)
12.00 <0.00> (ø)

...p/ozone/om/ratis/utils/OzoneManagerRatisUtils.java
67.44% <0.00%> (-19.13%)
39.00 <0.00> (ø)

.../java/org/apache/hadoop/ozone/om/OzoneManager.java
64.22% <12.50%> (-0.37%)
185.00 <1.00> (-1.00)

...adoop/ozone/om/helpers/OmKeyLocationInfoGroup.java
84.90% <88.23%> (+9.29%)
14.00 <10.00> (+2.00)

...adoop/ozone/om/ratis/OzoneManagerStateMachine.java
58.24% <90.47%> (+2.50%)
27.00 <4.00> (+1.00)

...op/ozone/client/io/BlockOutputStreamEntryPool.java
71.61% <100.00%> (-0.19%)
33.00 <2.00> (-1.00)

... and 36 more

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 78255dd...686dcfb. Read the comment docs.

@elek if you've confirmed there is no change to on disk structures and no potential incompatibility, then I am +1 to proceed.

@xiaoyuyao Thanks for reviewing it again, I have answered your concerns, would you please take another look to the it

+1, Thanks @esahekmat for the contribution. I will merge the PR shortly.


S3DownloadStrategy Support for STS Session Token IDs

Motivation
As a homebrew user in a corporate environment that builds custom tooling on top of open source components, I need a way to fetch artifacts from private S3 buckets. In some larger AWS deployments, users authenticate with an AWS bastion account and then assume roles into various other accounts. Similarly, users of tools such as aws-vault do not pass their raw AWS access key and id to applications, instead they lock the keypair away onto the OSX keychain and use STS to generate temporary access key pairs. In both cases, an additional variable is required to authenticate with the AWS SDK, called the session token.
The Ruby SDK included in the S3Download strategy supports this functionality natively by looking for an environment variable called AWS_SESSION_TOKEN, but because brew filters out this variable before running formulae, it's impossible to use without setting HOMEBREW_NO_ENV_FILTERING.
In this case, a simple incancation such as aws-vault exec myawsprofile -- brew install mycustom tool turns into aws-vault exec myawsprofile -- bash -c "HOMEBREW_NO_ENV_FILTERING=false brew install" in the best case, in the worst case if the formula depends on multiple other formulae, the polluted environment variables may prevent dependent components from building properly.
Proposal
My proposal is to include AWS_SESSION_TOKEN in the env var whitelist in the brew command, and to update the S3DownloadStrategy to lookup HOMEBREW_AWS_SESSION_TOKEN in addition to the access key and secret pair it's already looking up.
This seems like a minor change that could greatly improve usability. I'm also more than happy to make the PR.

My proposal is to include AWS_SESSION_TOKEN in the env var whitelist in the brew command, and to update the S3DownloadStrategy to lookup HOMEBREW_AWS_SESSION_TOKEN in addition to the access key and secret pair it's already looking up.

You can pass through HOMEBREW_AWS_SESSION_TOKEN as-is without it needing whitelist; the code will just need modified to use it. PR would be great, thanks!


Add cov to tasks.

Codecov Report

Merging #93 (e765f23) into main (0d344d2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #93   +/-   ##
=======================================
  Coverage   94.37%   94.37%
=======================================
  Files          20       20
  Lines        1848     1848
  Branches      198      198
=======================================
  Hits         1744     1744
  Misses        104      104

Flag
Coverage Δ

unittests
94.37% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 0d344d2...e765f23. Read the comment docs.


Burrow orphans pidfile on logger config error

If there is an error in the logger config, Burrow orphans it's pidfile preventing a restart:
Started Burrow at November 7, 2016 at 7:20pm (UTC)
Reading configuration from /etc/burrow/burrow.cfg
1478546422126907737 [Critical] Cannot start logger: root xml tag must be 'seelog'
Reading configuration from /etc/burrow/burrow.cfg
1478546422375687686 [Critical] Cannot write PID file: open /var/tmp/burrow/burrow.pid: file exists

While not a major problem as this issue will not resolve without intervention, I would still expect Burrow to clean up its pidfile in this scenario.

any updates on this?

This is a docker bug - it requires priv's.
docker run --rm -m 300M --name burrow --privileged -v /etc/burrow:/etc/burrow:rw -v /var/tmp/burrow:/var/tmp/burrow:rw -u root:root -p 80:80 -p 8080:8080 magnetme/burrow
That should work :)


Unstable posting position and incorrect voting activity on iPhone

Expected behavior

Voting: only available for logged-in user. If not, requesting log-in.
Smooth scrolling on the posting

Actual behavior

Voting: sometimes, it is possible to select like button without log-in
Scroll up/down makes unstable position for a posting

How to reproduce

Access to busy.org using Safari/Chrome on iPhone
Select a specific posting and scroll up/down
Click like button

Browser: Safari, Chrome 62.0.3202.70
Operating system: iOS 11.0, iPhone5S

Recording Of The Bug

Posted on Utopian.io -  Rewarding Open Source Contributors

Duplicate of #1589


RFC: Change cross platform API

Don't mind the test failing, I'll fix those later.
Regarding the changes themselves. The reason why I put those functions into a module named linux_windows was to make it explicit that those functions are only avaiable on Windows and Linux. But let's say that users don't need to refer to that module to access the functions. Now if someone uses them while developing on one of those platforms, they might expect that those functions will just automatically work on a Mac too, because trash "supports" the Mac OS. But this way it's much clearer what is supported where. And still if the user of the crate doesn't want to type that long module name every time, they can import it with a different name like
use trahs::linux_windows as trash_wl;

Or as you did in the PR simply just
use trash::linux_windows::*;

The reason I prefer it this way, is that the API is less likely to break if a platform is added or if support for listing, purging... is added to MacOS.
We just have to document, that some functions only work on certain platforms (I think there's even a way to have cargo doc do it for us). And if someone compiles for a platform that doesn't support it they'll have a compile error.

I see. You have a point there. With that I think it mostly comes down to how likely it is that the functions in question will be implemented on Mac OS, and if they will be, when will that happen. For example the Rust standard library places functions which are available only on a specific platform, to a module with the name of that platform (see here)
I'm a bit pessimistic about that happening anytime soon if at all and to be honest I don't mind breaking the API this way because it's quite easy to refactor when all items of a module are moved to a different module. Is there a more significant consequence of such an API breaking chage that I can't think of right now?

Is there a more significant consequence of such an API breaking chage that I can't think of right now?

not that I know of


Improve database design.

Iterative improvements of database design based on clients' feedback.

Physical E-R diagram
Conceptual E-R diagram


Flip reflects on Intrinsic

Hi,In transforms_3d.py,
why horizontal flip over point clouds would be [[1, 0, 0], [0, -1, 0], [0, 0, 1]] instead of [[-1, 0, 0], [0, 1, 0], [0, 0, 1]] on the transformation matrix, Is the flip of point clouds different from the flip of images?
https://github.com/mit-han-lab/bevfusion/blob/db75150717a9462cb60241e36ba28d65f6908607/mmdet3d/datasets/pipelines/transforms_3d.py#L254

If I remember it correctly, this is because we are using PIL to apply transformation on the images. In this case, the order of W and H are actually the exact opposite compared with X and Y in point clouds. So you may observe different transformation matrices.

Can it be understood that the difference in the transformation matrix of flip is due to the difference in the definition of XY in the coordinate system？

Yes, you are correct.

Closed due to inactivity. Please feel free to reopen if you feel it necessary.


LOC record support

Thanks for this - I had too make some small changes to run under Python 2.7 (which we still support) and also to fix a doctest format problem.


Site should have a favicon

Feels bad to have the favicon-less browser tab!

Here's a useful tool for this: http://realfavicongenerator.net

@sharkswithbraces ^^^


SRCH-681 Check search client still works with nxt

Closing as this was a PR for a light regression, no release needed


Using Fluent Validation 5.5 with angular

Hello,
We're trying to reuse the validation rules we have defined on the server in an MVC 5 application on the client side using Angular. If possible, we would like to avoid duplicating the validation rules defined in our Validator classes.
Ex.
We have this rule on the server
RuleFor(x => x.LastName).Length(0, 41);
How can we generate client script validation that will prevent excessive characters on the last name textbox?
Our objectives are to
Define validation rules in one place
Validate data on the client without contacting the server.
Any ideas?

So there isn't really a way to do this.
FluentValidation is only a server-side framework and doesn't have any way of generating clientside rules.
However, it does have a metadata api where you can obtain information about the validators.
This is how the ASP.NET MVC client-side integration works - it passes this metadata to ASP.NET MVC's client-side validation infrastructure. But it doesn't generate the rules itself - this is left to ASP.NET MVC. However this is very limited as MVC only supports a very small subset of the rules that FluentValidation can use.
In the end, I don't think there's any good way of doing what you're after - that's simply the limitation of having separate languages for client and server. As I see it, there are only really 3 options, but all of them are a compromise.

Use FluentValidation metadata with client-side framework

Use something like jquery validate to in conjunction with FV's metadata
This will only work with a very small subset of rules, so you will still have to call back to the server for any complex or custom rules
This is how MVC works, and is the compromise solution

Callback to the server for all rules

Full power of all of FluentValidation's rules
Slower performance than client-side rules (this may or may not be a problem depending on the number of validation calls you need to make)

Client-side framework

Use a client-side validation framework, and only use FV on the server side
Perfomant, but requires duplicating rules

Thanks for the info.


Make about dialog content copyable

Summary of the Pull Request
Make about dialog content copyable

References

PR Checklist

[x] Closes #1335
[x] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments
Wrap aboutText with a selectable text block.

Validation Steps Performed

Is that a ContentDialog?  Couldn't you just use the IsTextSelectionEnabled="True" property on the TextBlock?

It's a ContentDialog whose Content is a boxed HSTRING. This makes it the TextBlock you're suggesting we set IsTextSelectionEnabled on.

(Terminal doesn't use .xaml files, which is something we know we need to fix, etc.)

It's a ContentDialog whose Content is a boxed HSTRING. This makes it the TextBlock you're suggesting we set IsTextSelectionEnabled on.

I asked the question, checked the code change, and saw the property being used.  Can't normally understand C++ code, so I spoke before checking lol


Switch to 50 MHz harness

Currently xc7 targets 50 MHz, rather than the 100 MHz that the arty and basys3 harness's provide.  Update symbiflow-arch-defs to use a 50 MHz harness.
Steps:

[ ] Ensure that the 50 MHz harness exists for basys3
[ ] Change basys3 to use 50 MHz harness
[ ] Verify operation of scalable proc designs, murax, and picosoc in hardware using the 50 MHz
[ ] Verify that fasm2v works with new 50 MHz harness

Looks like 50 MHz harness in upstream prjxray-db (https://github.com/SymbiFlow/prjxray-db/tree/master/artix7/harness/basys3/swbut_50), but not included in the current prjxray-db submodule.  PR to update the submodule: https://github.com/SymbiFlow/symbiflow-arch-defs/pull/1009

This issue is soon to be over taken by the ROI breakout.  Closing it.


Improve update event predicates for ControllerInstallationRequired controller

How to categorize this PR?

/area quality
/kind enhancement
/priority normal
What this PR does / why we need it:
This PR improves the update event predicate inside the ControllerInstallationRequired controller to allow object-tailored predicate functions during the object registration.
Which issue(s) this PR fixes:
Fixes #2332
Release note:

NONE

/assign @danielfoehrKn

I totally agree with you, @danielfoehrKn. I was never a fan of having the DNS types separately, but I understand @mandelsoft argument that the dns-controller-manager can and is being used totally independent of Gardener. If you have a good idea for a solution combining these both requirements I would be more than happy to "fix" this.


Few fixes to customizeHLTIter0ToMkFit

PR description:
Needed to run HLT step in 11634.7, found out when preparing https://github.com/trackreco/cmssw/pull/15.
PR validation:
runTheMatrix workflow 11634.7 runs.

There isn't much to discuss so I'll just merge this.


Setup Prettier for auto formatting

A lot of lines... I know.
I was starting to dig into the code because I'm using Garph for a personal project and all the little formatting inconsistencies were kinda bothering me.
I tried to match the prettier config file as best I could to your companies style. That means 4 space wide tabs, no semicolons, and single quotes. A lot of the additional lines are from prettier breaking up statements, which I prefer, but you could change the prettierrc to something like below.
{
    "trailingComma": "es5",
    "tabWidth": 4,
    "semi": false,
    "singleQuote": true,
    "printWidth": 150
}

This tells prettier that lines should go to 150 characters wide where possible.
If you want to do the formatting yourself the configuration file is in the first commit, while the changes are in the second.
Some people also like to set up a tool like Husky or pre-commit to run this on git commits, which I could do if you're welcome to it.
Thanks for making a pretty cool library :)

Hey Kennan, thanks for your help! Formatting is a bit complicated given the nature of the library (heavy type), but I will try come up with a prettier config that resembles the current style and push a commit. Will let you know here when it is available.
Btw. Feel free to tell me more about your personal project.
Thanks 🙏


Revit2025 not working on Win11

Hello,
I tried to use your RevitTest Framework with Revit 2025 and couldn't get it working. Revit2024 has no issues.
The error is the same that GreenHeinz reported (with the tptrace).
Then I also tried it on another machine and it worked like a charm. Difference: The other machine was win10.
I repeated my investigation with two more machines and saw the pattern:
Win11 -> not working (same error)
Win10 -> no issues
I also watched closely and realized in your videos that your explorer looks alot like the one from win10.
Hope you can help. If you need some logs let me know.

Interesting, I'm using win10 and I didn't test in win11 machine.
You could try the last sample release and run dotnet test -v:d RevitTest.Samples.dll in the Debug folder for the version 2025.
This would force the run the tests with some detail logs, if that fails just share in here.

Hey Ricaun,
thats working!
Tried the test execution with nunit3-console.exe and got an error that the RevitAPIUI failed to load.

Hey Ricaun,
thats working! Tried the test execution with nunit3-console.exe and got an error that the RevitAPIUI failed to load.

That do you mean with thats working!
And if you run dotnet test -t -v:d RevitTest.Samples.dll that show all the tests in the assembly? Or something breaks? I kinda test in a virtual machine with win 11 without Revit just to check if works or not.
C:\Users\ricaun\Downloads\2025\net8.0-windows>dotnet test -t -v:d RevitTest.Samples.dll
Microsoft (R) Test Execution Command Line Tool Version 17.10.0 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

The following Tests are available:
TestAdapter: ricaun.RevitTest.TestAdapter       1.3.4   [Net Core]
    RevitTests_VersionName(*)
    RevitTests_VersionName(*)
    RevitTests_VersionName(*)
    RevitTests_VersionName(*)
    RevitTests_Application_VersionName
    RevitTests_ControlledApplication_VersionName
    RevitTests_UIApplication_VersionName
    RevitTests_UIControlledApplication_VersionName
    RevitTests_VersionName
    RevitTests_DocumentTitle
    RevitTests_TransactionAuthor("Author")
    RevitTests_TransactionAuthor("RevitTest")
    RevitTests_TransactionClientName_Expected("ClientName")
    RevitTests_TransactionClientName_Expected("RevitTest")
    RevitTests_VersionName
    RevitTests_FromInternalUnits_Meters(1,0.3048)
    RevitTests_FromInternalUnits_Meters(2,0.6096)
    RevitTests_FromInternalUnits_Meters(3,0.9144)
    RevitTests_FromInternalUnits_Meters(4.2,1.28016)
    RevitTests_FromInternalUnits_Meters(5.3,1.61544)
    RevitTests_FromInternalUnits_Meters(6.4,1.95072)

Seems normal, I gonna install Revit 2025 to check if runs.

That do you mean with thats working!
And if you run dotnet test -t -v:d RevitTest.Samples.dll that show all the tests in the assembly? Or something breaks?

If I run dotnet test -t -v:d RevitTest.Samples.dll, Revit2025 starts (usually it never starts) and all tests are executed succesfully.

That do you mean with thats working!
And if you run dotnet test -t -v:d RevitTest.Samples.dll that show all the tests in the assembly? Or something breaks?

If I run dotnet test -t -v:d RevitTest.Samples.dll, Revit2025 starts (usually it never starts) and all tests are executed succesfully.

if dotnet test is working fine, probably is something in your Visual Studio. What build version are you using the last version?

I created a virtual machine with the windows 11 install Revit 2025 and is working fine, I didn't test with VisualStudio yet.
I wonder why in your test output you have the NUnit Adapter <IP_ADDRESS>: Test discovery starting, the NUnit Adapter should not be there... Maybe your Visual Studio if adding the NUnit Adapter for some reason.

Thats my bad... I tried to add the adapter from your suggestion on the other post. I removed it again und build everything clean but the error stays the same without the line NUnit Adapter <IP_ADDRESS>: Test discovery starting (see above).
Here is also the log from testhost diagnostics:
TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.673,<PHONE_NUMBER>84, testhost.dll, AssemblyResolver.OnResolve: ricaun.RevitTest.TestAdapter.resources: Resolving assembly. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.673,<PHONE_NUMBER>06, testhost.dll, AssemblyResolver.OnResolve: ricaun.RevitTest.TestAdapter.resources: Searching in: 'C:\Users\xx\Downloads\RevitTest-1.0.3\RevitTest-1.0.3\RevitTest.Samples\bin\Debug\net8.0-windows'. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.673,<PHONE_NUMBER>43, testhost.dll, AssemblyResolver.OnResolve: ricaun.RevitTest.TestAdapter.resources: Assembly path does not exist: 'C:\Users\xx\Downloads\RevitTest-1.0.3\RevitTest-1.0.3\RevitTest.Samples\bin\Debug\net8.0-windows\ricaun.RevitTest.TestAdapter.resources.dll', returning. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.673,<PHONE_NUMBER>42, testhost.dll, AssemblyResolver.OnResolve: ricaun.RevitTest.TestAdapter.resources: Assembly path does not exist: 'C:\Users\xx\Downloads\RevitTest-1.0.3\RevitTest-1.0.3\RevitTest.Samples\bin\Debug\net8.0-windows\ricaun.RevitTest.TestAdapter.resources.exe', returning. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.673,<PHONE_NUMBER>14, testhost.dll, AssemblyResolver.OnResolve: ricaun.RevitTest.TestAdapter.resources: Failed to load assembly. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.681,<PHONE_NUMBER>27, testhost.dll, AssemblyResolver.OnResolve: ricaun.RevitTest.TestAdapter.resources: Resolving assembly. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.681,<PHONE_NUMBER>26, testhost.dll, AssemblyResolver.OnResolve: ricaun.RevitTest.TestAdapter.resources: Resolved from cache. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.683,<PHONE_NUMBER>68, testhost.dll, AssemblyResolver.OnResolve: ricaun.RevitTest.TestAdapter.resources: Resolving assembly. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.683,<PHONE_NUMBER>78, testhost.dll, AssemblyResolver.OnResolve: ricaun.RevitTest.TestAdapter.resources: Resolved from cache. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.684,<PHONE_NUMBER>73, testhost.dll, AssemblyResolver.OnResolve: ricaun.RevitTest.TestAdapter.resources: Resolving assembly. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.684,<PHONE_NUMBER>71, testhost.dll, AssemblyResolver.OnResolve: ricaun.RevitTest.TestAdapter.resources: Resolved from cache. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.720,<PHONE_NUMBER>03, testhost.dll, AssemblyResolver.OnResolve: ricaun.Security.WinTrust.1.0.1: Resolving assembly. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.720,<PHONE_NUMBER>63, testhost.dll, AssemblyResolver.OnResolve: ricaun.Security.WinTrust.1.0.1: Searching in: 'C:\Users\xx\Downloads\RevitTest-1.0.3\RevitTest-1.0.3\RevitTest.Samples\bin\Debug\net8.0-windows'. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.720,<PHONE_NUMBER>22, testhost.dll, AssemblyResolver.OnResolve: ricaun.Security.WinTrust.1.0.1: Assembly path does not exist: 'C:\Users\xx\Downloads\RevitTest-1.0.3\RevitTest-1.0.3\RevitTest.Samples\bin\Debug\net8.0-windows\ricaun.Security.WinTrust.1.0.1.dll', returning. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.720,<PHONE_NUMBER>96, testhost.dll, AssemblyResolver.OnResolve: ricaun.Security.WinTrust.1.0.1: Assembly path does not exist: 'C:\Users\xx\Downloads\RevitTest-1.0.3\RevitTest-1.0.3\RevitTest.Samples\bin\Debug\net8.0-windows\ricaun.Security.WinTrust.1.0.1.exe', returning. TpTrace Information: 0 : 16360, 11, 2024/07/02, 09:40:37.720,<PHONE_NUMBER>60, testhost.dll, AssemblyResolver.OnResolve: ricaun.Security.WinTrust.1.0.1: Failed to load assembly. TpTrace Verbose: 0 : 16360, 8, 2024/07/02, 09:40:38.625,<PHONE_NUMBER>02, testhost.dll, TcpClientExtensions.MessageLoopAsync: Polling on remoteEndPoint: [::ffff:<IP_ADDRESS>]:61217 localEndPoint: [::ffff:<IP_ADDRESS>]:61218 after 1014 ms TpTrace Verbose: 0 : 16360, 8, 2024/07/02, 09:40:39.639,<PHONE_NUMBER>28, testhost.dll, TcpClientExtensions.MessageLoopAsync: Polling on remoteEndPoint: [::ffff:<IP_ADDRESS>]:61217 localEndPoint: [::ffff:<IP_ADDRESS>]:61218 after 1014 ms TpTrace Verbose: 0 : 16360, 8, 2024/07/02, 09:40:40.645,<PHONE_NUMBER>10, testhost.dll, TcpClientExtensions.MessageLoopAsync: Polling on remoteEndPoint: [::ffff:<IP_ADDRESS>]:61217 localEndPoint: [::ffff:<IP_ADDRESS>]:61218 after 1006 ms TpTrace Verbose: 0 : 16360, 8, 2024/07/02, 09:40:41.656,<PHONE_NUMBER>82, testhost.dll, TcpClientExtensions.MessageLoopAsync: Polling on remoteEndPoint: [::ffff:<IP_ADDRESS>]:61217 localEndPoint: [::ffff:<IP_ADDRESS>]:61218 after 1010 ms TpTrace Verbose: 0 : 16360, 8, 2024/07/02, 09:40:42.671,<PHONE_NUMBER>97, testhost.dll, TcpClientExtensions.MessageLoopAsync: Polling on remoteEndPoint: [::ffff:<IP_ADDRESS>]:61217 localEndPoint: [::ffff:<IP_ADDRESS>]:61218 after 1014 ms TpTrace Verbose: 0 : 16360, 8, 2024/07/02, 09:40:43.679,<PHONE_NUMBER>24, testhost.dll, TcpClientExtensions.MessageLoopAsync: Polling on remoteEndPoint: [::ffff:<IP_ADDRESS>]:61217 localEndPoint: [::ffff:<IP_ADDRESS>]:61218 after 1007 ms TpTrace Information: 0 : 16360, 4, 2024/07/02, 09:40:44.456,<PHONE_NUMBER>22, testhost.dll, TestDiscoveryManager.RunMessage: calling TestRunMessage(Warning, DiscoverTests: Tests not found [C:\Users\xx\Downloads\RevitTest-1.0.3\RevitTest-1.0.3\RevitTest.Samples\bin\Debug\net8.0-windows\RevitTest.Samples.dll]) callback. TpTrace Warning: 0 : 16360, 4, 2024/07/02, 09:40:44.456,<PHONE_NUMBER>23, testhost.dll, DiscoverTests: Tests not found [C:\Users\xx\Downloads\RevitTest-1.0.3\RevitTest-1.0.3\RevitTest.Samples\bin\Debug\net8.0-windows\RevitTest.Samples.dll]

well, i don't know why i have this issue. But my machine is the only one having it, other win11 machines are working. So I guess i have an configuration error and it's not win11 dependent.
I'm closing this issue.

well, i don't know why i have this issue. But my machine is the only one having it, other win11 machines are working. So I guess i have an configuration error and it's not win11 dependent. I'm closing this issue.

I tested in some Win11 machines and work fine as well. if dotnet test runs normally probably is some configuration in your visual studio or you pc is blocking something.

Hi Ricaun,
first of all congratulations for this amazing framework: running unit testing inside VS is priceless!
But I think that I have the same issue reported by @red-angry-bird, even if I don't think that Win11 is the cause.
I have two workstations with Win11, running the same VS version. I'm testing again Revit 2025. In one workstation only, if I try to pass UIApplication or UIControlledApplication as argument in Setup method, VS warns me  that no test is available in the output dll and test can't be run in Text Explorer. But if I run the test with dotnet test everything is fine.
The other workstation doesn't give me any problem.
I've tried to replicate the same environment in both workstations but the issue still remains. It seems that UI, thus RevitAPIUI.dll  is the problem. I've read that RevitAPIUI needs C++ environment and I tried to install the latest version for VS but nothing changed.
Ok, UI is not so crucial for my purposes, but it's a pity because this framework is far better than the old Dynamo RevitTestFramework.

I probably know the problem, to read the test I kinda need to load the Revit dll outside Revit and in some version of Revit that breaks. To kind fix that I'm forcing to find the version 2021, 2022 or 2023 in the machine to use that dependencies.
I suppose that is the issue, I planing some update and gonna add some exception when the test discovery fail for some dll reason.


feat(c/driver/postgresql): Implement Postgres Get table types

I was hoping to add some more explicit testing in the base adbc_validation.cc implementation of the GetTableTypes test. Something like this:
  ...

  bool seen_table = false;
  bool seen_view = false;
  for (auto row = 0; row < reader.array->length; row++) {
    ArrowStringView val =
        ArrowArrayViewGetStringUnsafe(reader.array_view->children[0], row);
    auto str_val = std::string(val.data, val.size_bytes);
    if (str_val == "table")
      seen_table = true;
    else if (str_val == "view")
      seen_view = true;
  }
  ASSERT_TRUE(seen_table);
  ASSERT_TRUE(seen_view);

However it looks like Dremio might not provide back these values(?)

Possibly case-sensitive?
Or IIRC Dremio may not have implemented all of the metadata calls yet


Redesign tracker issue

Redesign overview

Clearly seperate preprocessing into a distinct set of operations
Move to outputting useful data that can then be pulled into a frontend explorer
[Optional] build said frontend explorer

#80 done, moving away from folium and pulling shapes dynamically through ONS APIs!

#85 done; breaking the link between pre-processing and runtime code.

#87 upgrades to latest Census and ONS PD

#94 removed ScoutData


[Question] How to adhoc setup an own dictionary

Hello,
I`m looking for a way to find entries out of a list from speach recognition result. For example I have a list of radio stations and the use would like to select one by voice... often the recognised speach, does not exactly matches the radio station name (for example "RaumeMusik.fm lounge" and "raute music lounge"... now I would like to find the closest defined radio station...
How can I setup my own "dictionary" with the list of defined radio stations to use symspell to find the closest?
thank you very much

//create object
int initialCapacity = 100;
int maxEditDistanceDictionary = 3; //maximum edit distance per dictionary precalculation
var symSpell = new SymSpell(initialCapacity, maxEditDistanceDictionary);

//load dictionary
symSpell.LoadDictionary("station_names.txt", 0, 1,new char[] { ','})

//lookup suggestions for single-word input strings
string inputTerm="raute music lounge";
int maxEditDistanceLookup = 1; //max edit distance per lookup (maxEditDistanceLookup<=maxEditDistanceDictionary)
var suggestionVerbosity = SymSpell.Verbosity.Closest; //Top, Closest, All
var suggestions = symSpell.Lookup(inputTerm, suggestionVerbosity, maxEditDistanceLookup);

//display suggestions, edit distance and term frequency
foreach (var suggestion in suggestions)
{
  Console.WriteLine(suggestion.term +" "+ suggestion.distance.ToString() +" "+ suggestion.count.ToString("N0"));
}

station_names.txt  (all dictionary entries in lower case, terms may contain white space, the word frequency in the dictionary is not important for your use case, but can be used to rank/prioritize suggestions, if their edit distance is equal)
raumemusik.fm lounge,10
energy berlin,10
star sat radio,10
antenne bayern,10

Thank you very much for your help...
I tried to adapt your sample (because I want to create the dictionary adhoc and would like a avoid creating / reading a file)...
        var symSpell = new SymSpell(100, 3);

        var dictionary = new StringBuilder();

        dictionary.AppendLine("raumemusik.fm lounge,10");
        dictionary.AppendLine("energy berlin,10");
        dictionary.AppendLine("star sat radio,10");
        dictionary.AppendLine("antenne bayern,10");

        using (var dictionaryStream = new System.IO.MemoryStream())
        using (var dictionaryStreamWriter = new System.IO.StreamWriter(dictionaryStream))
        {
            dictionaryStreamWriter.WriteLine("raumemusik.fm lounge,10");
            dictionaryStreamWriter.WriteLine("energy berlin,10");
            dictionaryStreamWriter.WriteLine("star sat radio,10");
            dictionaryStreamWriter.WriteLine("antenne bayern,10");

            dictionaryStreamWriter.Flush();

            dictionaryStream.Position = 0;

            symSpell.LoadDictionary(dictionaryStream, 0, 1);
        }

        string inputTerm = "raute music lounge";
        int maxEditDistanceLookup = 3; //max edit distance per lookup (maxEditDistanceLookup<=maxEditDistanceDictionary)
        var suggestionVerbosity = SymSpell.Verbosity.Closest; //Top, Closest, All
        var suggestions = symSpell.Lookup(inputTerm, suggestionVerbosity, maxEditDistanceLookup);

        //display suggestions, edit distance and term frequency
        foreach (var suggestion in suggestions)
        {
            Console.WriteLine(suggestion.term + " " + suggestion.distance.ToString() + " " + suggestion.count.ToString("N0"));
        }

But the result is an empty array of suggestions.
Ive noticed that the CreateDictionary-method does not have a char-array-parameter (Im using the latest nuget)... could that be to problem?

OK... I found the problem... maxDicEditDistance = 3 is not enough for the sample... 6 will work


Install LLVM

Create an environment variable to store LLVM path
Change the variable depending on the version selected
Store versions in ProgramFiles or AppData
Create a custom tab in settings
Download and install selected LLVM version (have a progression bar in the UI)
The script first checks if the environment variable is set, if now it checks the PATH variable
Make the installer silent or minimal UI
Inform the user in the LLVM tab where the versions are stored

Hi,
This issue was fixed and it is available in the new version of Clang Power Tools v5.3. Please check for updates.
Regards,
~Ionut


Opening - Redundant text on first page

Boot the game from the event disk and watch the opening. Note the text on the first page. "...the island of Romwoll and the and the much smaller island Sarthuai..."

Addressed by adf019a435df05e5fd7b2c2d3046dc1258681273.


a basic stack data structure with push and pop operations.


Bug 2070181: Add support for ServerGroupName

Looks like we've ommited ServerGroupName coming from OpenShift
OpenstackProviderSpec and only pass ServerGroupID. This commit
implements support for the former too. In case of server group not
existing a new one is created.

This won't even compile due to import cycle, we need to solve it, probably by moving conversion code into a separate module. Which we want anyway.

It's not a WiP, but to prevent accidental merging we should still hold. Anybody feel free to remove my hold when appropriate.
/hold

Here's where we currently delete server groups:
https://github.com/openshift/installer/blob/beefeacda123ed41ad8f486aa5f7435e2133e8ee/pkg/destroy/openstack/openstack.go#L267-L300
In short, we delete any server group whose name is prefixed with the cluster id. Looking at the server groups API it seems server groups doesn't support tagging, so I can't currently see a way to do better than this.
We should check that the naming prefix requirement is well documented for user-created machinesets, but this would not be a regression so I think we should merge this PR as-is.
Unfortunately I don't think there's a currently a way to implement this behaviour cleanly with our current architecture. IMHO we just document that this is a bit warty and investigate longer term ways to address it.
I don't think CAPI can do this either. I opened https://github.com/kubernetes-sigs/cluster-api/issues/6353 in the hopes of prompting some discussion. We could do this with a custom controller, but this feels like a general problem common to multiple providers, so I'd be disappointed to go down that route.

/approve

/test e2e-openstack

/test e2e-openstack

/hold cancel

passed: (3.9s) 2022-03-31T15:44:18 "[sig-installer][Feature:openstack] The OpenStack platform creates Worker nodes in a server group [Suite:openshift/conformance/parallel]"


Set up a "Hello world" project as one app with Webpack

Changes Introduced 😎

Create a new Rails app called 'hello-rails-react'
Install needed node dependencies.
Create a babel.config.js in the root folder.
Update webpack.config.js to include the babel loader.
Create an API endpoint.
Create the App component with react-router and render it
Display the random greeting in my Greeting component

Note :

Styles are not part of this pull request.

https://user-images.githubusercontent.com/69077061/189776091-79e315bb-fe69-4d67-a5cc-1d0868fcccd1.mp4

Thanks, @phelian23. Nice to have your approval.


V2X: add v2x traffic light support

V2X: add v2x traffic light support. Wait new HDMAP support to uncomment some code

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@QIU1995NONAME Please split the huge PR into small ones and submit them one by one to make it easier for reviewers to review the code. Please also add unit test for each .cc file.

Do not copy protos around

We mean the many proto definitions in your PR.

These proto files are copied from existing files and used as roadside information formats.Since the roadside software update frequency is slower than that of the main line, if the proto file of the main line is updated and the roadside software is not updated, the roadside message parsing will fail.So copy and fix these files and use the proto adapter module to convert to and from the main line message.
这些proto文件复制自已有的文件，用作路侧信息格式。由于路侧软件更新频率比主线慢，若主线proto文件更新，而路侧软件未更新，则会导致路侧消息解析失败。所以采用拷贝并固定这些文件并使用 proto adapter 模块与主线消息进行相互转换。

Please split the huge PR into small ones and submit them one by one to make it easier for reviewers to review the code

This PR has been splited into 4 pr: #12367  #12368   #12369  and this one.

/modules/v2x/v2x_proxy/obu_interface/grpc_interface:grpc_server_test    FAILED
please fix this unit test

//modules/v2x/common:v2x_proxy_gflags_cpp lint please fix. you'd better run ./apollo.sh lint before commit.

//modules/v2x/common:v2x_proxy_gflags_cpp lint please fix. you'd better run ./apollo.sh lint before commit.

I have run apollo.sh lint and passed


Hope to support the loongarch64 architecture soon

Steps to reproduce
I would like to ask when flutter can support loongarch64 architecture?
Actual results
loongarch64 architecture not supported
Logs

Logs

<!-- Paste your logs here -->

Flutter Doctor output

Doctor output

<!-- Paste your output here -->

Hi @ToKingl
Per https://www.kernel.org/doc/html/v6.4/loongarch/introduction.html:

LoongArch is a new RISC ISA, which is a bit like MIPS or RISC-V. There are currently 3 variants: a reduced 32-bit version (LA32R), a standard 32-bit version (LA32S) and a 64-bit version (LA64).

I see there's an open issue that requests support for Linux RISC-V at https://github.com/flutter/flutter/issues/99963. I will close this in favor of that one, so please follow up on it for further updates. Thanks!


Update CONTRIBUTING.md

Description of Changes

[ ] Wrote at least one-line docstrings (for any new functions)
[ ] Added unit test(s) covering the changes (if testable)

[ ] Included a screenshot or animation (if affecting the UI, see Licecap)

Issue(s) Resolved

Fixes #
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:

@goanpeca, please rebase to fix the errors in our tests.


Home, Location, & Search Style Update

This PR closes #10 . Closes #50. This PR adds content text to the home page, styles home page, updates location page styles, styles no events found message, and adds styles to the search bar.

This looks great!


The effect of VAE

Thank you for your work. I am confused about the effect of VAE here. Is VAE used as a speeder for the diffusion model? With the VAE, the diffusion model can learn the latent space z instead of the raw point clouds. is that correct? So ignoring the great computation cost, the VAE can be abandoned.

The VAE also helps with interpolation and smoother training of the diffusion model. Directly learning the point clouds or the triplanes would likely require additional regularization loss functions and diffusion architectures.


Rounded screen corners

To add rounding to the screen corners. Not the corners of a window, but corners of the screen of the monitor/display. Just like we have on pretty most every smartphone in the market. Reduces eye strain a little bit. Anyway, it's better than the LONG wait to get to see the rounded corner UI back in the Windows OS, which people are eagerly waiting for.

You can do that with physical stickers :P

You can do that with physical stickers :P

That's the perfect solution :smile:

I can't see us doing this

Yes you did. This is in the surface laptop studio. The corners are rounded.
It's just that, they are physically rounded and not by any software.
On Thu, 6 Jan, 2022, 2:24 am Clint Rutkas, @.***> wrote:

I can't see us doing this
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/8053#issuecomment-1006069202,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQPNNNU3H3ZJSKMYRQNQZQ3UUSVWZANCNFSM4TWHJXGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

That is via device, not software.


app.connectMicroservice hangs

Hey,
any idea on y does the  app.connectMicroservice hangs with no error thrown ?

unfortunately can't help without error message

version 3 is published, please try it and open new issue if you still have problems


Bootstrap table filter by Date

I tried to apply a date filter for condition "> 21-jul-2021", but i still see the result section with date value = "21-jul-2021". Not sure, on what should i do from my end to prevent rows with 21-jul-2021.
https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/index.html?selectedKind=Column Filter&selectedStory=Date Filter&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panell
Please note that in my APP, am using BootstrapTable4.

Additionally, "Date input field - how to setup width for date field, so that the selection is visible". In this case, i see only the first 3 characters like "07/2 followed by calendar icon/image".

Did you use a raw date object per the docs?

When you say raw date object - are you referring to data type of the date column in question. Yes, the API returns date value as String and i'm not doing any conversion @UI. I do specify column type as "date".


Handle graphql server error

renderError is never called when my GraphQL server return for example :
{"errors":[{"locations":[{"column":3,"line":5}],"message":"current transaction is aborted, commands ignored until end of transaction block\n"}],"data":{"category":null}}

How catch that and redirect the user to a specific page ?

If you want to redirect, see https://github.com/4Catalyzer/found-relay/blob/master/test/modern/render.test.js#L132
If you're looking to render errors in general, see https://github.com/facebook/relay/issues/1913
renderError only gets called if you throw HttpError from render

I'm not interested in redirect, but I am interested in seeing errors alongside data in my props.
The current version of <QueryRenderer> provides them:
  render={({error, props}) => {
    if (error) {
      return
{error.message}
;
    } else if (props) {
      return
{props.page.name} is great!
;
    }
    return
Loading
;
  }}

I'm guessing at the time you posted facebook/relay#1913, that was not the case? Based on that thread, it looks like the simplest workaround is:
if (result && result.errors) {
  return {data: null, errors: result.errors};
}

What do you suggest now, 7 months later?


Optimize polling

[x]  re-poll when balance changes
[x]  refresh browser when restoring private key

Solved here: https://github.com/althea-mesh/efectivo-web/commit/90d01c1de895b7e480726768f2c8f68eb0e449e7


Connection is unsuccessful when using SSL or TLS "Can't contact LDAP server"

Laravel Version: 5.2.* (Latest as of today)
Adldap2-Laravel Version: 3.0.* (Latest as of today)
PHP Version: 7.0.9
Domain controller: 2012 r2 with AD CS enterprice CA

Description:
When connecting with SSL \ TLS, i recive an "Can't contact LDAP server" error, if i run without it, there is no problem, I have connected with an 3rd party application called "LDAP Admin" and successfully connected with both SSL and TLS to the same server from the same server my Laravel app is hosted on.
Ports used
ssl@636
tls\nonsecure@389

Hi @tarreislam, unfortunately TLS and SSL can be difficult to configure in PHP.
When no contact can be made to your LDAP server when using SSL/TLS, this is most likely a configuration issue in PHP itself.
You may need to insert this into your AppServiceProvider in the register / boot method:
putenv(‘LDAPTLS_CIPHER_SUITE=NORMAL:!VERS-TLS1.2’);

As noted in the comment here:
http://php.net/manual/en/function.ldap-bind.php#118543
Or, you may need to insert this for TLS connectivity:
putenv("TLS_CACERT=/path/to/certificate");
putenv("TLS_REQCERT=never");

Your application you're utilizing is most likely not PHP based, but incorporates other solutions for connecting via SSL / TLS.
Can you try the following suggestions above?
I would also suggest reviewing the comments on the ldap_bind method in PHP docs as many commenters have resolutions for connecting via SSL / TLS:
http://php.net/manual/en/function.ldap-bind.php

Hello again.
I tried to put this in my boot\register in my AppServiceprovider
        putenv("LDAPTLS_CIPHER_SUITE=NORMAL:!VERS-TLS1.2");
        putenv("TLS_CACERT=c:/SS-ROOT.crt");
        putenv("TLS_REQCERT=never");
        $_ENV['LDAPTLS_CIPHER_SUITE'] = "NORMAL:!VERS-TLS1.2";
        $_ENV['TLS_REQCERT'] = "never";
        $_ENV['TLS_CACERT'] = "c:/SS-ROOT.crt";

Also I tried (Form my dev machine running windows) creating C:\OpenLDAP\sysconf\ldap.conf as suggested from http://php.net/manual/en/function.ldap-bind.php
TLS_REQCERT	never
TLS_CACERT	c:/SS-ROOT.crt

but still no luck.

Same here.
I solved it, disabling the tls request.
Add in the config\adldap.php inside the connection_settings on your server options, after use_tls:
/*
|--------------------------------------------------------------------------
| SSL & TLS
|--------------------------------------------------------------------------
|
| If you need to be able to change user passwords on your server, then an
| SSL or TLS connection is required. All other operations are allowed
| on unsecured protocols.
|
| One of these options are definitely recommended if you
| have the ability to connect to your server securely.
|
*/
'use_ssl' => true,
'use_tls' => false,

'custom_options' => [
    // See: http://php.net/ldap_set_option
    LDAP_OPT_X_TLS_REQUIRE_CERT => LDAP_OPT_X_TLS_NEVER
]

@Albvadi Hey, thats pretty good! I will try this asap.

Thanks so much @Albvadi, really appreciate your help here! Unfortunately I'm not experienced in OpenLDAP, so this is MUCH appreciated.

Im using successful in windows 7 with wamp64, But I move all my projects and database on Centos 7. It is not work.
BindException in Guard.php line 80: Can't contact LDAP server
Have you any idea?

@Albvadi this also worked for me, sorry for late answer :) +1

Thanks for following up @tarreislam.
@bahman2216, if you're still experiencing issues please create a new issue, thanks!


Please add mapnames and links to copylog

Hi Eric,
I am requesting a feature
What is the current behavior?
In the copy log names of files and links are provided
What is the needed behavior?
Please add a column with the link to the map and a column with the name of the map the file is in
This way the copylog can also act a an initial table of contents, and be sorted on map structure.
I think this would be great to check content in quick way.
Thanks
Pim

Can you specify what you mean by a "link to the map"? I'm guessing you want some way to correlate the new file/folder to the old file/folder? The map that is used internally is just a huge javascript object, I don't think there is a great way to surface that in a way that has a pleasant UX. But, it would be pretty easy to add a column for "old file link" if that would suit your needs.

For the new location of the file the URL of the destination map (the new location) and also the name of that map.
Rationale:
When copying a substantial treestructure with 2 levels of submaps you don't have a clue what it looks like and how the files are structured.
Thanks!
Verzonden door BlueMail
Op 27 nov. 2018 04:06, om 04:06, Eric Yancey Dauenhauer<EMAIL_ADDRESS>schreef:

Can you specify what you mean by a "link to the map"? I'm guessing you
want some way to correlate the new file/folder to the old file/folder?
The map that is used internally is just a huge javascript object, I
don't think there is a great way to surface that in a way that has a
pleasant UX. But, it would be pretty easy to add a column for "old file
link" if that would suit your needs.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/ericyd/gdrive-copy/issues/60#issuecomment-441882033

I'm still not following what you are requesting. The copy log already includes a link to the new file location. Can you be more specific about what you want me to add? I'm not clear what you mean by a map name.

Hi Eric,
Please have a look at this file, new exampledata links are clickable.
https://docs.google.com/spreadsheets/d/1OfSs0Kks92qC8Ao74OuWSOgMwtOnd3CdIdGYGPHJe8Q/edit#gid=0
Met vriendelijke groet,
Pim Holtz
tel 06-12 18 24 71
Op di 27 nov. 2018 om 16:35 schreef Eric Yancey Dauenhauer <
<EMAIL_ADDRESS>
I'm still not following what you are requesting. The copy log already
includes a link to the new file location. Can you be more specific about
what you want me to add? I'm not clear what you mean by a map name.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ericyd/gdrive-copy/issues/60#issuecomment-442102791,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ArNa8MMj3XmMR_BCwD8WArmWT-aL0AYBks5uzVu5gaJpZM4YxWjo
.

Ok, so it looks like there are a few things going on here

I am using the HYPERLINK Google Sheets formula to make a link to the file. It looks like this uses either a comma or semicolon delimiter based on locale, and if you're in the wrong one it will create a parse error which is what you're seeing. So, the ERROR text in your example sheet is actually supposed to be a hyperlink, I just didn't realize that it would break in different locations. I can fix that, I'll just put the URL and then the file name separately

From your example, it looks like you want me to include a link to the parent folder of the file. Is that correct? I'm not sure I see the benefit of writing "Map for Eric" next to every file, but I could see it being helpful to have a link to the parent folder.

As for implementation, number 1 is very easy and number 2 is potentially more challenging, I need to look at the code more.

Ad 1. That would be a good thing to do.
Ad 2. The 'Map for Eric' is just the name of the parent folder. When having
multiple directories this makes it easier to interpret where the file is
located, so if it is possible that would be great to have as it allows for
easier interpretation of the location.
I believe the order of the copy is not always per map. So having the name
would provide for easier sorting too. (I am not asking for sorting, I can
do that myself)
I certainly hope that you can consider providing these changes.
Thanks,
kind regards,
Pim Holtz
Op di 27 nov. 2018 om 19:40 schreef Eric Yancey Dauenhauer <
<EMAIL_ADDRESS>
Ok, so it looks like there are a few things going on here

I am using the HYPERLINK Google Sheets formula to make a link to the
file. It looks like this uses either a comma or semicolon delimiter based
on locale, and if you're in the wrong one it will create a parse error
which is what you're seeing. So, the ERROR text in your example sheet is
actually supposed to be a hyperlink, I just didn't realize that it would
break in different locations. I can fix that, I'll just put the URL and
then the file name separately
2.
From your example, it looks like you want me to include a link to the
parent folder of the file. Is that correct? I'm not sure I see the benefit
of writing "Map for Eric" next to every file, but I could see it being
helpful to have a link to the parent folder.
As for implementation, number 1 is very easy and number 2 is potentially
more challenging, I need to look at the code more.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ericyd/gdrive-copy/issues/60#issuecomment-442169740,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ArNa8PgbzvnjXNDzNLS1K8NNqGMbQzGPks5uzYcSgaJpZM4YxWjo
.

Great, thank you so much for your fast reaction.
Have a good day!
Op za 1 dec. 2018 om 22:26 schreef Eric Yancey Dauenhauer <
<EMAIL_ADDRESS>
I fixed the links in the Copy Log and included a link to the Parent
folder, so I'm going to close this.
I created a new issue #61
https://github.com/ericyd/gdrive-copy/issues/61 to add the parent
folder name. I think this is a good idea but will take some more
development effort and I don't have lots of time to spend on this project
these days.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ericyd/gdrive-copy/issues/60#issuecomment-443459791,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ArNa8JEwvcdE88N9mtUR-MU0vpQdiWqiks5u0vQLgaJpZM4YxWjo
.


Feature req: ion-img circular

Ionic version:
[ ] 1.x
[x] 2.x
I'm submitting a ...
[x] feature request
Hi i want to add small feature request with ion-img circular(rounded) in src/components/img/img.scss
ion-img[circular], ion-img[circular] img {
  border-radius: 50%;
}

I know <ion-avatar></ion-avatar> can be used for circular(rounded) images but it's not recommended with virtualScroll

Hi there!
This is actually already supported
https://ionicframework.com/docs/v2/api/components/virtual-scroll/VirtualScroll/#images-within-virtual-scroll
ion-avatar is the component responsible for styling the image correctly, and it does not care if the child element is an ion-img or regular img tag.

Thanks


Actually build core in core-build.yml

I noticed that the new workflow that builds the core just configures CMake, and doesn't actually build the core.
This should fix it.

This is my bad. Thank you for fixing it. 🙇


License for MVSEC dataset

Hello,
Does this dataset come with the license?

I've added the MIT license in #3.


Allow override message

Public API change proposal to address this issue: https://github.com/Microsoft/ApplicationInsights-dotnet-logging/issues/28

:shipit:


Added survey results

Coverage increased (+0.03%) to 74.213% when pulling fc96277173772a34739a9632277a1f68c6147014 on yitam:dev into 65daa7a481a61908b00a7bb7626334e1467515d0 on microsoft:dev.


Not fully compatible with python 3.12.0 yet.

When I first try running thefuck - I noticed that a deprecated python module is being used: imp.  I can see that it has been replaced by importlib in the latest version.

I can tell that no one has reported this issue as of yet.  Python 3.12.0 was just recently released.
  Since the latest version of thefuck is not working with 3.12, then I just get the same error:
Traceback (most recent call last):
  File "/home/usr/.pyenv/versions/3.12.0/bin/thefuck", line 5, in <module>
    from thefuck.entrypoints.main import main
  File "/home/usr/.pyenv/versions/3.12.0/lib/python3.12/site-packages/thefuck/entrypoints/main.py", line 8, in <module>
    from .. import logs  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^
  File "/home/usr/.pyenv/versions/3.12.0/lib/python3.12/site-packages/thefuck/logs.py", line 8, in <module>
    from .conf import settings
  File "/home/usr/.pyenv/versions/3.12.0/lib/python3.12/site-packages/thefuck/conf.py", line 1, in <module>
    from imp import load_source
ModuleNotFoundError: No module named 'imp'

but my shell version is the following:
fish, version 3.6.1
Oh My Fish version 7
Your system (Debian 7, ArchLinux, Windows, etc.):
CentOS 9 Stream.

If the bug only appears with a specific application, the output of that application and its version:
N/A
Anything else you think is relevant:
N/A

there's already a pr for this: #1415

There is indeed a PR (which is closed, because apparently a fix already exists in master), but since the latest release (3.32) of thefuck is of January 2022 (which indeed is over two years ago at the moment of writing), the fix has not been rolled out...
I guess the workaround is to install thefuck from source and update it manually every now and then?
Less then ideal imho.


OpenJ9 configure arguments broken on JDK14

Platform/Architecture
windows_x64 OpenJ9 builds

https://ci.adoptopenjdk.net/view/Failing Builds/job/build-scripts/job/jobs/job/jdk14u/job/jdk14u-windows-x64-openj9/
Failing since 03/04/2020

Running custom generated-configure.sh
configure: error: unrecognized options: --with-version-opt, --without-version-pre, --with-version-build, --with-vendor-version-string, --disable-warnings-as-errors

Tested all potential options on local instance and all exist so likely a machine issue.
For the record, the configure options are not being recognised on build-softlayer-win2012r2-x64-1

note that's a jdk14u build however console log thinks it is building jdk8u, hence why options not valid...
OpenJDK repo tag is jdk8u252-b08
Version: 252
Should have the source, I'm at /tmp/openjdk-build/workspace/build/src
OpenJDK repo tag is jdk8u252-b08

@gdams could this be a result of the different way we now use a shortened workspace path name?

This line does not check source out for JDK14:
https://github.com/AdoptOpenJDK/openjdk-build/blob/820ec4633433c821ba7634c93a3b7d50ec38b3bd/sbin/prepareWorkspace.sh#L50

Not sure why that line checks the version... why not do it for all..?

@johnoliver ?

I agree I am not sure why we need to check the version there, so I would remove that version check

https://github.com/AdoptOpenJDK/openjdk-build/pull/1657

@M-Davies Can you try a new run and see what happens please?

@M-Davies @lumpfish I've kicked off a 14 pipeline without publish or tests so we we can see how it goes https://ci.adoptopenjdk.net/job/build-scripts/job/openjdk14-pipeline/105/

Looks like https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk14u/job/jdk14u-windows-x64-openj9/32/consoleFull is running fine. Its passed the configure stage and is building. Thanks for this :-)


some document/properties does not appear when using laravel scout "search"

helo...
I have a problem...
when i use elasticsearch http://localhost:9200/ to get data...
All data is appear...

but when i using laravel "search", "prod_stock" is not appear...
"prod_stock" is suqbquery i made...
i import data to index using "searchable()".
how do i get "prod_stock" when using "search" on laravel...
sorry for my english...
thank you...

@sindhu13
Can you paste your query builder code in here?

$stock = Variant::join('inventories', 'inventories.var_id', 'variants.var_id')
->selectRaw('SUM(inventori_end_stock)')
->where('var_status', 1)
->whereColumn('variants.prod_id', 'product.prod_id')
->getQuery();
$products = Product::select('*', 'pcat_htname')
->selectSub($stock, 'prod_stock')
->where('prod_status', 1)
->paginate(20);
my query,..

you can try this;
$stock = Variant::join('inventories', 'inventories.var_id', 'variants.var_id')
->selectRaw('SUM(inventori_end_stock)')
->where('var_status', 1)
->whereColumn('variants.prod_id', 'product.prod_id')
->take(1);
$products = Product::search("")
->select('', 'pcat_htname')
->selectSub($stock, 'prod_stock')
->where('prod_status', 1)
->paginate(20);
you must use method "search" to use Elastic Eloquent

I added "search" but it still didn't work...

@sindhu13
You must inject it into you model, like this:
use ScoutElastic\Searchable;
class Product extends Model
{
    use Searchable;
...
When you use "search" method, it will be returned ScoutElastic\Builders\SearchBuilder.
If not it just returns Illuminate\Database\Eloquent\Builder normally, so you can not connect elasticsearch api


add rolearn and externalid for aws outputs

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area config

/area outputs

/area tests

What this PR does / why we need it:
Allow to set rolearn and externalid for AWS outputs
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 861052741dc236e7d5fcac65edfa7ff1425e518d


Error if pageorloc formatting deviates from expected format

I have experienced the following error:
Traceback (most recent call last):
File "kindle2notion.py", line 200, in
ch = KindleClippings(CLIPPINGS_FILE)
File "kindle2notion.py", line 13, in init
self.clippings = self._getAllClippings(clippingsFile)
File "kindle2notion.py", line 18, in _getAllClippings
return self._parseClippings(allClippings)
File "kindle2notion.py", line 96, in _parseClippings
self.addToNotion(lastClip)
File "kindle2notion.py", line 185, in addToNotion
title = "Page: " + lastClip['Page'] + "\tDate Added: " +  str(lastClip['Date Added'].strftime("%A, %d %B %Y %I:%M:%S %p"))
TypeError: must be str, not NoneType
The cause is that my Kindle is storing my strings as:

Your Highlight on Location

Which is a bit of a deviation from what kindle2notion expects.
I think its probably easier to make the parsing here a bit more robust, probably by doing the following:

convert case down to lower to make it case agnostic
attempt to find substring "page" or "location" in order to check if it is a page or a location
filter out all characters which are not digits or hyphens in order to get the meaningful information

May suggest this as a push.

@j-chan-hkust After looking at your suggestion, I was able to fix part of the code. However, I still get an error while executing. Would you mind looking at the other issue I raised? Thanks!

Hey, thanks for raising this! Sorry for the late reply! Will look into implementing a feature to take all these subtle variations in formats into account.

@paperboi linked the commit here #284021522ddcd65689cdc1858ddb8f5387fd54d3

#10

@j-chan-hkust implemented your suggestions as a fix. Thanks for the help!


[core] Prepare release for core-lro in Sep

Prepare release for core-lro in Sep

/azp run js - core - ci

API change check
API changes are not detected in this pull request.


CMake target file fix

The CMakeLists.txt no longer mandates both directxmath and directx-headers packages be found unless building with MinGW or for Linux. This fixes the behavior for CMake clients consuming this package from VCPKG.

Merging into the main release PR


Watcher does not sync with Eth node

Observed locally and on development env.
To reproduce: Run Watcher, call /status.get and remember last_seen_eth_block_number
Call endpoint again, notice the value does not change.
After Watcher restart it will sync until the current block and won't get newer.
Suspected culprit #772

Issue caused by inappropriate parity configuration. It was run with --no-ws but EthereumClientMonitor listens to web socket events.
After removing above flag, there was log message in parity Blocked connection to WebSockets server with untrusted host: Some("localhost")
It was solved by adding --ws-hosts=all optition.

note after discussions: issue seems 2-fold at first glance:
1/ improve docs/geth & parity invocations/scripts what not to always sport the required flags
2/ figure out why did the inability to open the websocket conn fail tacitly