Elixir LS not working for asdf installed elixir/erlang versions

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
When opening any project on Zed, I always get this error
Language server error: Elixir

no asset found matching "elixir-ls.zip"

elixir-ls works in VSCode, and I'm using elixir and erlang via asdf
> elixir -v
Erlang/OTP 25 [erts-<IP_ADDRESS>] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]

Elixir 1.14.5 (compiled with Erlang/OTP 25)

> asdf current
elixir          1.14.5-otp-25
erlang          <IP_ADDRESS>

Environment
Zed: v0.90.2 (stable)
OS: macOS 13.4.0
Memory: 32 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
...
2023-06-20T09:22:56 [INFO] starting language server name:elixir-ls, path:"/Users/bernardes/Developer/elixir/arcada", id:0
2023-06-20T09:22:57 [ERROR] crates/zed/src/languages/elixir.rs:105: no cached binary
2023-06-20T09:22:57 [ERROR] crates/project/src/project.rs:2455: no asset found matching "elixir-ls.zip"
2023-06-20T09:23:18 [ERROR] unexpected item event after pane was dropped
2023-06-20T09:24:21 [ERROR] crates/terminal_view/src/terminal_view.rs:264: view Terminal was dropped
2023-06-20T09:52:30 [ERROR] connection error: error reading rpc message from socket
...

asdf is maybe the most common way of installing and managing elixir versions in the elixir community, and I'm experiencing the same error. This bug will probably hit most elixir users.
Before I configured things in Zed I looked at the homebrew formula to make sure I was matching what it was doing. It makes sure the language server is compiled and that a symlink named elixir-ls points to the language server shell script, so I made sure I did the same and confirmed elixir-ls is in my path.
Not sure where elixir-ls.zip came into play, are more recent versions of the beta trying to download the elixir language server automatically without me having to install it globally? That would be nice, that's what vscode does and it would be a welcome improvement.
I'm excited that elixir-ls support is in progress though! It's the only thing standing between me and using Zed as my main editor :) Thanks for ya'lls efforts!

For the Zed folks: https://github.com/zed-industries/community/issues/1670 looks like a duplicate

As a hacky short-term fix I was able to get this working I think. I ended up creating a symlink in ~/matt/Library/Application Support/Zed/languages/elixir-ls named elixir-ls that points to language_server.sh from the elixir-ls release directory.
So to summarize:

I cloned the elixir-ls project
I compiled it and generated a release, which creates the release directory and the language_server.sh script
I created a symlink named elixir-ls in /Users/matt/Library/Application Support/Zed/languages/elixir-ls pointing to language_server.sh

❯ pwd
/Users/matt/Library/Application Support/Zed/languages/elixir-ls

❯ ln -s /Users/matt/code/elixir-ls/release/language_server.sh elixir-ls

I only tested jump to definition, find references, and that compile errors showed up in the file. I haven't actually done any significant coding yet so I can't say if surprises will crop up or not.
Hopefully this helps people get unblocked until the bug can be fixed! Excited to try out Zed full-time :)

today i'm getting this:
Language server error: Elixir

no asset found matching "elixir-ls.zip"

@mattbaker didn't work for me, zed doesn't start it up. maybe something with permissions, or the fact that i downloaded the zip and put it there?

asdf is maybe the most common way of installing and managing elixir versions in the elixir community, and I'm experiencing the same error. This bug will probably hit most elixir users.
Before I configured things in Zed I looked at the homebrew formula to make sure I was matching what it was doing. It makes sure the language server is compiled and that a symlink named elixir-ls points to the language server shell script, so I made sure I did the same and confirmed elixir-ls is in my path.
Not sure where elixir-ls.zip came into play, are more recent versions of the beta trying to download the elixir language server automatically without me having to install it globally? That would be nice, that's what vscode does and it would be a welcome improvement.
I'm excited that elixir-ls support is in progress though! It's the only thing standing between me and using Zed as my main editor :) Thanks for ya'lls efforts!

Feeling the same as you. I wanted to replace once in for all VSCode by Zed, but not having elixir-ls working correctly without to much of hacking around is a bummer.
Still, it's great to see that Elixir is talked on Zed docs, and hopefully it will be the best solution for Elixir development. I sometimes feel that VSCode is not 100% there.

As a hacky short-term fix I was able to get this working I think. I ended up creating a symlink in ~/matt/Library/Application Support/Zed/languages/elixir-ls named elixir-ls that points to language_server.sh from the elixir-ls release directory.
So to summarize:

I cloned the elixir-ls project
I compiled it and generated a release, which creates the release directory and the language_server.sh script
I created a symlink named elixir-ls in /Users/matt/Library/Application Support/Zed/languages/elixir-ls pointing to language_server.sh

If anyone's installed elixir-ls a different way the same solution should work (I think), you just need to find where your elixir-ls release is so you can symlink to the language_server.sh file it contains.
❯ pwd
/Users/matt/Library/Application Support/Zed/languages/elixir-ls

❯ ln -s /Users/matt/code/elixir-ls/release/language_server.sh elixir-ls

I only tested jump to definition, find references, and that compile errors showed up in the file. I haven't actually done any significant coding yet so I can't say if surprises will crop up or not. Also confirmed I can view the elixir language server log output via the "open language server logs" command.
Hopefully this helps people get unblocked until the bug can be fixed! Excited to try out Zed full-time :)

Unfortunately, this solution didn't worked for me. I've followed the steps you provided, but it didn't worked. @mattbaker I saw that you are on the Elixir Slack, if you can give me some sync assistance there I would be very much appreciated 🙂

I assume that the issue is caused by the recent change in the Release assets of ElixirLS on GitHub.
https://github.com/elixir-lsp/elixir-ls/releases/tag/v0.15.0
v0.15.0 is missing the asset elixir-ls.zip and now has the version number in the file name: elixir-ls-v0.15.0.zip.
In addition they changed the implementation to use Mix.install to make sure that the language server is compiled with the correct Erlang/Elixir combination to provide completions when using the use macro.
IMO zed should consider to start the launch.sh file instead of the language_server.sh file when starting up the language server. This ensures that the Erlang/Elixir version of asdf-vm is picked up when running the language server.

Thank you gents @ Zed for taking a look at this. I'm also waiting for this to land before giving Zed two weeks of solid attention. I love your mission and I am keen to use Zed instead of VSCode.

For what it’s worth elixir-ls has been working in Zed perfectly with the workaround so far.  I know @nbernardes wasn’t able to get it going (we’re not sure why) but I’d encourage you make an attempt if it means you get to start testing Zed a little sooner. Totally understand wanting to wait for a fix though, but I was impatient :)

❤ thanks @mattbaker, I just tried it and it works for me too, I've been without elixir-ls for 2 days and its been driving me crazy

Confirming that the workaround provided by @mattbaker is working for me. Thanks dude 🙇

I've got the same issue with the elixir-ls not working, unfortunately the fix isn't working for me either 😢

Just confirming that the workaround provided by @mattbaker is working for me. thank you 🙏🏻
I did an extra couple of things before the ln -s step

delete the elixir-ls in /Library/Application Support/Zed/languages
adding the LSP in the settings.json
"lsp": {   "Elixir": {} }
reload zed (everything will crash, but it should recreate the folder in /Library/Application Support/Zed/languages)
Finally do the ln -s ../elixir-ls/release/language_server.sh elixir-ls in Zed/languages

The fix worked for me after removing Zed from my system and installing the latest beta from the website. Adding
"lsp": {
  "Elixir": {}
}

to settings.json also seems to make a difference here, thanks @jvelez1 and @mattbaker 🥳

I finally managed to get it working - had to completely remove Zed and the Zed directory in ../Library/Application Support/, then re-install the latest beta.
Thanks  @zimt28, @jvelez1 and @mattbaker 😺

IMO zed should consider to start the launch.sh file instead of the language_server.sh file when starting up the language server. This ensures that the Erlang/Elixir version of asdf-vm is picked up when running the language server.

@benvp language_server.sh runs launch.sh:
#!/bin/sh
# Launches the language server. This script must be in the same directory as mix install launch script.

readlink_f () {
  cd "$(dirname "$1")" > /dev/null || exit 1
  filename="$(basename "$1")"
  if [ -h "$filename" ]; then
    readlink_f "$(readlink "$filename")"
  else
    echo "$(pwd -P)/$filename"
  fi
}

if [ -z "${ELS_INSTALL_PREFIX}" ]; then
  dir="$(dirname "$(readlink_f "$0")")"
  >&2 echo "Running ${dir}/launch.sh"
else
  dir=${ELS_INSTALL_PREFIX}
  >&2 echo "ELS_INSTALL_PREFIX is set, running ${ELS_INSTALL_PREFIX}/launch.sh"
fi

export ELS_MODE=language_server
exec "${dir}/launch.sh"

And launch.sh tries to figure out which Erlang/Elixir version to use (asdf-vm or something else)

Oh, I misread that. Sorry!

Side note:
The reason why the workaround might not work for some of us is that currently elixir-ls is broken with OTP 26 - the server does not start at all.
It should be fixed when OTP 26.0.2 is released.

After updating  OTP 26.0.2 and delete the zed from my system I still can not use Elixir-ls formatter and autocompletion
I use asdf erlang 26.0.2 and 1.15.0-otp-26

@shahryarjb That's because a new version of elixir-ls (0.15.1) that fixes OTP 26 coop has not been published yet.
Zed still downloads version 0.15.0 as of now.

Want to confirm without doing any "hacks" or anything like that, my ElixirLS is now working fine and I can cmd+click into modules. Thanks!

mine doesn't start :(

Want to confirm without doing any "hacks" or anything like that, my ElixirLS is now working fine and I can cmd+click into modules. Thanks!

Confirmed for me as well with Zed 0.92.4

Elixir-ls 15.1 has been released, Zed has got it, and now language server works with Elixir 1.15.0 OTP 26.0.2. 🥳

It seems like bugy, because if something crashed like there is no macro or sth you should delete the build and deps to compile again!!


How to shrink height of window when using Bottom option

First off, awesome plugin! Thanks for the hardwork :)
A couple questions:

when choosing the bottom position in config, how do I shrink the height? Everything I try still ends up with the undo window covering almost my entire screen.
when I have a large undo history, the "branches" or paths of the undo continues to grow more and more to the right adding new branches. Is this expected? Is this expected? Any tips?

I fixed this problem, now the height of the undotree window should be a normal size. And you also can set the height using the code below.

undotree.setup({
-- ......
position = "bottom",
window = {
    -- ......
    height = 30,  -- set the height of undotree window, and also set the height of diff window if you don't use float diff window
},
-- ......
})

If I understand correctly, the answer is yes. Because it is simple and clear to see the branches.

Thanks! it worked


Allows active users to change their name and avatar ?

I can't find a setting that allows users to change their name and profile picture. office 365 A1 Please help!

@tientv2019 Thank you for your feedback. Changing the name is usually done by the admins, however, if you are having trouble changing the profile picture, I'd recommend you contact support via the need help section on the admin center. So that our support engineer can contact you to fix this.
Hope this helps!
Thanks
Sri


TLS Certificate secrets show Root CA details instead of actual certificate details

Rancher Server Setup

Rancher version: 2.6.4 (also present on 2.6.3)
Installation option (Docker install/Helm Chart): Helm

EKS  v1.21.5
k3s  v1.21.7

Information about the Cluster

Kubernetes version:
Cluster Type (Local/Downstream):

If downstream, what type of cluster? Imported

User Information

What is the role of the user logged in? Admin

Describe the bug
In Rancher versions 2.6.3/2.6.4, TLS Certificate secrets containing the full chain (used for Nginx Ingresses) display the expiry date and subject for the root certificate, instead of the expiry for the actual/subscriber certificate.
To Reproduce
Request certificate via Let's Encrypt.
Create secret using the fullchain.pem (certificate + CA chain).
Result
Rancher displays details of Let's Encrypt's root CA:
"Domain Name ISRG Root X1
Expires: Mon, Sep 30 2024  8:14:03 pm"
Expected Result
Should display details of subscriber certificate. e.g:
Domain Name www.example.com
Expires: Tues, Jul 12 2022  8:14:03 pm
Screenshots

Additional context
Certificates were displayed correctly in Rancher 2.5
EDIT: It appears this is only present in the new Cluster Explorer view. Legacy/Cluster Manager view displays certificate expiry correctly.

Internal reference: SURE-5713

Reports from internal folks:

The certificates were displayed correctly in Rancher 2.5 and this does appear in the cluster explorer view. Although with Rancher 2.6 we only use the cluster explorer view.

@gaktive I think this is a duplicate of https://github.com/rancher/dashboard/issues/7081. A fix for that has been merged and is with QA.

@nwmac thanks! Looks the same to me so I'll close this as a duplicate and update info elsewhere.


add release notes for xbrl integration

Plz read! I tried to include all of the big PRs but not every single one of the PR's that went into #1665

@zaneselvans great suggestions. added them


Improve column selection by setting origin to clicked position

In conjunction with setting editor.multiCursorModifier to ctrlCmd, this yields a much more natural alt+click experience. The goofier shift+alt+click that is the default uses the prior cursor position as the start point of the column selection.
See #66444 - Resolve the column selection conversation

:+1: This works great and is blatantly simple! Thank you!


fix: pip cache key would be empty and couldn't use naked versions [APE-1179]

fixes: #24
Fixes: APE-1179

fix: Fixes an issue where the GitHub action would not use an updated version of Ape when it existed when you excluded ape-version-pin. This was quite problematic and explains some anomalies we have seen. Basically, the cache key was just pip-38- and if you updated Ape, it would not care and would use the Ape from the cache.

To fix this, now, if you exclude ape-version-pin, we will lookup the latest version from pypi and use that rather than an empty pip install command. This way, we can properly cache the version ahead of time as well as check for the existence of the key. Now, when an Ape is released in between when a PR is first opened and when subsequent pushes to the PR's branch are done, it will update and use the newer Ape.

feat: Allows for setting versions without constraints. Before, if you tried to use 0.6.12 as the ape-version-pin value, it would error because it was expecting something like ==0.6.12. That is not always obvious. It is nice that we support that but it is weird to not allow naked versions as well. So this PR allows setting versions normally.

test: add test matrices for each of the parameter types you can provider for ape-version-pin. These tests helped me immensely (TDD).

chore: run prettier and add a .prettierrc to try and match the existing style

and if you look at the test output for the (default) case, you will see the cache key is correctly including 0.6.12 in the key, so if 0.6.13 were to be released, it would not be a cache hit and would re-install ape

this still didnt fix my issue tho :(

Should probably release this as a new major?

Should probably release this as a new major?

ok but let me try to fix a few other things first then


iPad crash

iPad can't click share and menu button.
*** Terminating app due to uncaught exception 'NSGenericException', reason: 'Your application has presented a UIAlertController (<UIAlertController: 0x7febcd1c69e0>) of style UIAlertControllerStyleActionSheet. The modalPresentationStyle of a UIAlertController with this style is UIModalPresentationPopover. You must provide location information for this popover through the alert controller's popoverPresentationController. You must provide either a sourceView and sourceRect or a barButtonItem.  If this information is not known when you present the alert controller, you may provide it in the UIPopoverPresentationControllerDelegate method -prepareForPopoverPresentation.'

Fixed in version 0.2.9. Please note that due to Cordova's migration to npm, plugin ID has been updated to cordova-plugin-themeablebrowser.

Thanks. It's work.


Add VS Code setting for default .sln file

Now that there are two ,sln files in the project (LexBox.sln and backend/harmony/harmony.sln), VS Code asks you to choose a default. We should update the .vscode/settings.json file in the project to make LexBox.sln the default solution file when opening the lexbox repo's root dir in VS Code.

For minor stuff like this, especially DX stuff that doesn't effect the build, just make a PR, you don't need to make an issue just to make a PR


feat: node version check in yarn-project/bootstrap.sh

...
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to relevant issues (if any exist).

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit e83dd2b3 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
223,008
867,584
3,448,196

l1_rollup_execution_gas
842,095
3,594,692
22,203,858

l2_block_processing_time_in_ms
1,330
5,284 (+4%)
21,037

note_successful_decrypting_time_in_ms
348 (+1%)
1,050 (-10%)
3,785 (-1%)

note_trial_decrypting_time_in_ms
58.5 (+10%)
41.2 (+5%)
137 (-1%)

l2_block_building_time_in_ms
13,751 (+1%)
53,881
217,289

l2_block_rollup_simulation_time_in_ms
10,189 (+1%)
39,884
161,073

l2_block_public_tx_process_time_in_ms
3,535
13,942
56,043

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
15,317 (-2%)
29,196 (-1%)

note_history_successful_decrypting_time_in_ms
2,607 (+5%)
4,772 (-1%)

note_history_trial_decrypting_time_in_ms
79.0
177 (-8%)

node_database_size_in_bytes
3,777,007 (-3%)
4,083,321 (-3%)

pxe_database_size_in_bytes
29,940
59,499

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
200
43,109
20,441

private-kernel-ordering
115
25,833
9,689

base-rollup
2,062
244,144
881

root-rollup
82.4 (-2%)
4,088
889

private-kernel-inner
261
64,516
20,441

public-kernel-private-input
171 (-1%)
25,203
20,441

public-kernel-non-first-iteration
171
25,245
20,441

merge-rollup
9.72
2,608
881

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
10,331
26,317


streamBuilder lost data from web when scrolling and list.builder inside it, don't show widget

I saw many questions related to this topic. When I try to load some images from the web, the list.builder loads them, but when I scroll they disappear and don't load again. I saw some examples, but it loads them again. Try increasing the list.builder cache, cache_network_image, and reducing the image size, same result. The widget disappears, and does not load until I start the screen again.
The child PrimaryCard disappears. I think it may have to do with the streambuilder, since the widget disappears and the loading appears.
child: StreamBuilder(
         stream: news.newsStream,
         builder: (context,AsyncSnapshot<List<News>> snapshot) {
           if (snapshot.hasData){
             return ListView.builder(
               cacheExtent: 1500,
               itemCount: snapshot.data!.length,
               scrollDirection: Axis.horizontal,
               shrinkWrap: true,
               itemBuilder: (context, index) {
                 return InkWell(
                   onTap: () {
                     Navigator.push(
                       context,
                       MaterialPageRoute(
                         builder: (context) => ReadNewsView(news: snapshot.data![index]),
                       ),
                     );
                   },
                   child: Container(
                     margin: EdgeInsets.only(right: 12.0),
                     child:  PrimaryCard(news: snapshot.data![index]),
                   ),
                 );
               },
             );
           }
           return CircularProgressIndicator();
         },
       ),

In PrimaryCard I get the images like this:
child: CachedNetworkImage(
              fit: BoxFit.cover,
              imageUrl: news.url_image,
              maxHeightDiskCache: 100,
              maxWidthDiskCache: 100,
            )

flutter docotr -v output

[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [VersiÃ³n 10.0.18362.30], locale es-ES)
    • Flutter version 2.2.3 at C:\src\flutter
    • Framework revision f4abaa0735 (3 months ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at D:\xx\xxxx\xxx\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code
    • VS Code at C:\Users\myuser\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.25.0

[!] Connected device
    ! No devices available

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Please enable a way to hide Java examples and/or select your preferred programming language

This issue was created by @rdiazconcha from https://github.com/MicrosoftDocs/feedback/issues/736

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

ID: cf35b25c-4f4c-920b-320d-8282a79ad7d3
Version Independent ID: 07be307b-38b1-6cf2-46bf-7032d69648f2
Content: Reliable Services communication overview
Content Source: articles/service-fabric/service-fabric-reliable-services-communication.md
Service: service-fabric
GitHub Login: @vturecek
Microsoft Alias: vturecek

Thanks for the feedback! We are currently investigating and will update you shortly.

@rdiazconcha for any product feature suggestions such as this please leave your feedback here:
https://feedback.azure.com/forums/293901-service-fabric


Can you share an example of how to use your table with a custom toolbar?

I love your plugin and want to use it but I am not sure how to get it to work with a custom tool bar.
Do you have any advice?

Do you want to customize the content of this section?

You can use the option customSelect


Catching ObjectDoesNotExist exception and re-raise ValueError in ForeignKey widget

Related issue: #852
By default, the get method of queryset returns ObjectDoesNotExist exception. To make it more user-friendly to handle this error, the ForeignKey widget would ideally return ValueError.

@bmihelac What do you think about this? Should we reopen it?

this seems sensible things to do

Hey @edgabaldi ! Could you rebase this branch? That way we can allow the tests to pass and fix the conflicts. Thanks for the contribution (and sorry we let it linger)!

Sure! I will.


fix: Partially reverts #25007

SUMMARY
This PR partially reverts #25007 and reintroduces a simplified version of SavedQueryViewApi that is used by the application and was removed in the original PR.
Fixes https://github.com/apache/superset/issues/25117. Hat tip to @sadpandajoe for discovering and creating the issue.
TESTING INSTRUCTIONS
Check https://github.com/apache/superset/issues/25117 for instructions.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up

@sadpandajoe Could you help test the PR?


invalid unique_id

Seeing this error in the logs:
Config entry '**** ******' from integration polar has an invalid unique_id '15593274', please create a bug report at https://github.com/Aohzan/hass-polar/issues

I need more details, diagnostic of the integration and debug logs for example

Other than that log entry I am not seeing anything else.  The integration appears to be working fine.

Can you test to delete your configuration entry and add it again ?

Removed and added same error appears.

Enable debug logs, reload the integration and paste logs please

home-assistant.log:2024-11-03 12:32:47.831 ERROR (MainThread) [homeassistant.config_entries] Config entry '**** ******' from integration polar has an invalid unique_id '15593274', please create a bug report at https://github.com/Aohzan/hass-polar/issues
home-assistant.log:2024-11-03 12:32:53.141 DEBUG (SyncWorker_29) [custom_components.polar.polaraccesslink.oauth2] GET request to URL: https://www.polaraccesslink.com/v3/users/15593274
home-assistant.log:2024-11-03 12:32:53.390 DEBUG (SyncWorker_18) [custom_components.polar.polaraccesslink.oauth2] GET request to URL: https://www.polaraccesslink.com/v3/exercises
home-assistant.log:2024-11-03 12:32:53.505 DEBUG (SyncWorker_20) [custom_components.polar.polaraccesslink.oauth2] GET request to URL: https://www.polaraccesslink.com/v3/users/sleep/
home-assistant.log:2024-11-03 12:32:53.919 DEBUG (SyncWorker_12) [custom_components.polar.polaraccesslink.oauth2] GET request to URL: https://www.polaraccesslink.com/v3/users/nightly-recharge/
home-assistant.log:2024-11-03 12:32:54.098 DEBUG (SyncWorker_29) [custom_components.polar.polaraccesslink.oauth2] POST request to URL: https://www.polaraccesslink.com/v3/users/15593274/activity-transactions
home-assistant.log:2024-11-03 12:32:54.218 DEBUG (SyncWorker_29) [custom_components.polar.polaraccesslink.accesslink] No daily activity available, will try for the next sync
home-assistant.log:2024-11-03 12:32:54.244 DEBUG (MainThread) [custom_components.polar] Finished fetching polar data in 1.103 seconds (success: True)
home-assistant.log:2024-11-03 13:02:56.143 DEBUG (SyncWorker_15) [custom_components.polar.polaraccesslink.oauth2] GET request to URL: https://www.polaraccesslink.com/v3/users/15593274
home-assistant.log:2024-11-03 13:02:56.295 DEBUG (SyncWorker_26) [custom_components.polar.polaraccesslink.oauth2] GET request to URL: https://www.polaraccesslink.com/v3/exercises
home-assistant.log:2024-11-03 13:02:56.378 DEBUG (SyncWorker_60) [custom_components.polar.polaraccesslink.oauth2] GET request to URL: https://www.polaraccesslink.com/v3/users/sleep/
home-assistant.log:2024-11-03 13:02:56.837 DEBUG (SyncWorker_21) [custom_components.polar.polaraccesslink.oauth2] GET request to URL: https://www.polaraccesslink.com/v3/users/nightly-recharge/
home-assistant.log:2024-11-03 13:02:57.035 DEBUG (SyncWorker_18) [custom_components.polar.polaraccesslink.oauth2] POST request to URL: https://www.polaraccesslink.com/v3/users/15593274/activity-transactions
home-assistant.log:2024-11-03 13:02:57.119 DEBUG (SyncWorker_18) [custom_components.polar.polaraccesslink.accesslink] No daily activity available, will try for the next sync
home-assistant.log:2024-11-03 13:02:57.119 DEBUG (MainThread) [custom_components.polar] Finished fetching polar data in 0.977 seconds (success: True)
home-assistant.log:2024-11-03 13:27:27.234 DEBUG (SyncWorker_25) [custom_components.polar.polaraccesslink.oauth2] GET request to URL: https://www.polaraccesslink.com/v3/users/15593274
home-assistant.log:2024-11-03 13:27:27.417 DEBUG (SyncWorker_16) [custom_components.polar.polaraccesslink.oauth2] GET request to URL: https://www.polaraccesslink.com/v3/exercises
home-assistant.log:2024-11-03 13:27:27.504 DEBUG (SyncWorker_0) [custom_components.polar.polaraccesslink.oauth2] GET request to URL: https://www.polaraccesslink.com/v3/users/sleep/
home-assistant.log:2024-11-03 13:27:27.927 DEBUG (SyncWorker_51) [custom_components.polar.polaraccesslink.oauth2] GET request to URL: https://www.polaraccesslink.com/v3/users/nightly-recharge/
home-assistant.log:2024-11-03 13:27:28.117 DEBUG (SyncWorker_24) [custom_components.polar.polaraccesslink.oauth2] POST request to URL: https://www.polaraccesslink.com/v3/users/15593274/activity-transactions
home-assistant.log:2024-11-03 13:27:28.200 DEBUG (SyncWorker_24) [custom_components.polar.polaraccesslink.accesslink] No daily activity available, will try for the next sync
home-assistant.log:2024-11-03 13:27:28.200 DEBUG (MainThread) [custom_components.polar] Finished fetching polar data in 0.966 seconds (success: True)

should be fix in https://github.com/Aohzan/hass-polar/releases/tag/1.3.1 (need 2 restart)


Characters within a <> are cut and not displayed in normal view,  while the're in webview

Steps to reproduce
Go to source: novelpub
Go to novel: the author's pov
Go to chapter: midterms [3]
Read through the first bit then go to WebView and you'll notice that the rank characters  or anything inside a <> are missing
Expected behavior
What should happen is that these characters should be displayed without having to go into WebView mode.
Actual behavior
Anything inside of a <> is not displayed in normal view and only accessible in WebView
LNReader version
1.1.15 stable
Android version
Android 13
Device
Samsung A33
Other details
Perhaps make an option to turn this on and off, as I think this was developed to remove the annoying (read this at ____) message
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 1.1.15.
[X] I will fill out all of the requested information in this form.

Well actually it's much easier to notice chapter Midterms [4] as the sentence that is Missing the characters is the 5th sentence

I can confirm. I've also seen it while reading Mushoku Tensei. A lot of words are displayed as <>. Thought it was intended but then I've opened the web view and seen that the text was originally <> but it only displayed <>

I have the same problem but in a multiple novels and sources: all <[something]> disepear like in the exemple below

Became


unable to install this

https://registry.npmjs.org/conceptjs-video-helper
Getting NOT FOUND 404 error while installing this npm package

Working now...may be a glitch at my end.


fixed unexpected message: "I CONTROL  Hotfix KB2731284 or later updat…

…e is
installed, no need to zero-out data files" from mongo 3.3 win 7e commit message for your changes. Lines starting

Thanks for this PR. I will release an updated version later today.

Published a new version 0.3.1 to oss.sonatype.


Issue writing to folder

Hi, Awesome project, cant wait to get it running with my new dr900x
I have added it on my synology NAS, executed the docker-compose as root but I get the following error in the container logs

My Compose file

docker run -d --restart unless-stopped \     -v /volume1/docker/blackvue-sync:/recordings \     -e ADDRESS=172.xx.xx.xx \     -e PUID=$(id -u) \     -e PGID=$(id -g) \     -e TZ="Australia/Sydney" \     -e KEEP=52w \     --name Blackvue-Sync \ acolomba/blackvuesync

In my NAS, the folder is there

Not sure if you figured this out yet, but I ran into the same error message when first getting things setup on my Synology.
I did not use a docker compose file at all -- just found this project in the registry using the Synology UI.  So then I ssh-ed into the NAS as my normal user (which has RW access to the /BlackVue share), ran id to get that account's uid and gid, and then set those in environment variables in the container's settings:
[drakkhen@mbp ~] % ssh<EMAIL_ADDRESS>id
<EMAIL_ADDRESS>password:
Could not chdir to home directory /var/services/homes/drakkhen: No such file or directory
uid=1026(drakkhen) gid=100(users) groups=100(users),101(administrators)

After that it just started working perfectly!  My videos sync to the NAS's /BlackVue/XC40 share when the car's parked in the driveway.


Accessibility

Discussed in https://github.com/OpenSlides/OpenSlides/discussions/6364

Originally posted by 111phil February 17, 2022
We were contacted by participants with disabilities that it is quite hard for them to use OpenSlides, since it is not compatible with assistive technologies. This should be enhanced in the future.

Here is a resource and set of guidelines we may use :
https://developer.mozilla.org/en-US/docs/Learn/Accessibility
This section has a list of software used by people :
https://developer.mozilla.org/en-US/docs/Learn/Accessibility/What_is_accessibility#people_with_visual_impairments
It mentions Orca (https://wiki.gnome.org/Projects/Orca) on GNU/Linux for instance.
Good technical starters are :
HTML: A good basis for accessibility
CSS and JavaScript accessibility best practices
I consider this issue to be very important and have added the label "high".

One way to begin solving this would be to ask : which areas of the application are most critical (in this context))?
Meaning : areas heavy in text, for example. The voting area is another.

since it is not compatible with assistive technologies

That's a little contradictory to other information by blind people we have received before on the professional support level regarding OS3.4. Last time we checked, assisted access worked "somewhat" decently.
Anw, angular material is "usually" well compatible for screen readers and such, however, to verify that every single view works will involve a lot off effort. Especially voting might be critical.

This is some sort of a meta issue. I would propose to close it and open concrete issues instead.

With the new angular Version (#2810) there is now a new eslint plugin plugin:@angular-eslint/template/accessibility which could help a bit with that.
Currently we have 89 accessibility related errors when enabling the plugin.

I close this for now. If there are concrete problems, we can open issues for them.


Storage: Fix typo in cephobject.radosgw.endpoint* settings

Typo began in the spec https://discuss.linuxcontainers.org/t/lxd-object-storage-s3-api/14579 (also now fixed) and was propagated into the code and tests.

Documentation preview available at: https://linuxcontainers.org/lxd/docs/pr.10831/


Gemspec is invalid

The installation of the gem fails with
Fetching https://github.com/feedbin/feedkit.git
You have one or more invalid gemspecs that need to be fixed.
The gemspec at
/usr/local/bundle/bundler/gems/feedkit-d1c282922f52/feedkit.gemspec is not
valid. Please fix this gemspec.
The validation error was '"TODO: Put your gem's website or public repo URL
here." is not a valid HTTP URI'

This breaks the installation of feedbin. Please fix the gemspec.

Hi Jan,
I'm unable to replicate this error, but will happily accept a pull request that fixes it.
Thanks!
Ben

On Mar 5, 2018, at 4:15 PM, Jan Losinski<EMAIL_ADDRESS>wrote:
The installation of the gem fails with
Fetching https://github.com/feedbin/feedkit.git
You have one or more invalid gemspecs that need to be fixed.
The gemspec at
/usr/local/bundle/bundler/gems/feedkit-d1c282922f52/feedkit.gemspec is not
valid. Please fix this gemspec.
The validation error was '"TODO: Put your gem's website or public repo URL
here." is not a valid HTTP URI'
This breaks the installation of feedbin. Please fix the gemspec.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Update thrust tag to 1.17.0.

This PR updates Thrust to version 1.17.0 (to be released soon) for RAPIDS 22.08. The tag format has been updated as noted in #181.
See also: https://github.com/rapidsai/cudf/issues/10841
Checklist:

[x] Wait for Thrust 1.17.0 final release
[ ] Test packages with updates for header includes:

[x] https://github.com/rapidsai/cuml/pull/4675
[x] https://github.com/rapidsai/cuspatial/pull/539
[x] https://github.com/NVIDIA/cuCollections/pull/161
[x] https://github.com/rapidsai/raft/pull/678
[x] https://github.com/rapidsai/cugraph/pull/2310
[ ] Make updated PR to cuDF with an updated patch for the sort algorithm, benchmark cudf

Closing in favor of #231. I'll work on the libcudf changes separately.


Add server response and pagination

Still one more test to fix...

Minor changes pushed!
One more thing: maybe a code example for the new async data mode?

Great, thanks!
Will add an async example in the readme


Add brief description tooltips to EditorResourcePicker

https://github.com/godotengine/godot/assets/2223172/652351d9-e633-4021-a564-49746607aede
The implementation is very simple, so why not.

the value is taken from the documentation, as I understand it, the translation will not be applied?

They would, assuming the brief description is localized by the translators, which unfortunately is not a given.


Collage Campus Slagelse

Collage Campus Slagelse https://www.slagelse-gym.dk/

School address:
Willemoesvej 2A
DK- 4200 Slagelse
Denmark

@WolffDev First stage of verification passed, official domain is slagelse-gym.dk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@WolffDev Thank you for your patience while waiting for a review and processing your request. Pull request merged. Thank you!


Add support for distinct aggregation

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
Add support for the following aggregations. Note that COUNT(DISTINCT) is highest priority and others are optional. MySQL reference: https://dev.mysql.com/doc/refman/8.0/en/aggregate-functions.html#function_count

COUNT(DISTINCT expr)
AVG(DISTINCT expr)
SUM(DISTINCT expr)
MIN(DISTINCT expr)
MAX(DISTINCT expr)

PPL may also needs to support count distinct. Reference: https://docs.splunk.com/Documentation/SCS/current/SearchReference/Aggregatefunctions#distinct_count.28.26lt.3Bvalue.26gt.3B.29_or_dc.28.26lt.3Bvalue.26gt.3B.29
Describe alternatives you've considered
N/A

There may be limitation when there are more than one COUNT(DISTINCT) and they cannot be pushed down to OpenSearch aggregation API together. As I recall, it is translated to JOIN in other database such as MS SQL Server.


Uncaught ReferenceError: webpackJsonp is not defined

[x] I have searched the issues of this repository and believe that this is not a duplicate.

I built my Next app and deployed it as I usually do, but when loading the page, I got the following on the browser:
Uncaught ReferenceError: webpackJsonp is not defined in main.js 1:1
Also, all JS interactivity was broken, but the style/design of the website was looking okay.
Here is the beginning of main.js file:
module.exports =
webpackJsonp([0],{

I rebuilt and redeployed the application and it disappeared.
I believe it is because I had a running Next.js app while building, and I was changing the code on it, which trigger other rebuilds. It probably messed up the build process (the first main.js wasn't uglified at all, while the new/fixed version I have now is correctly uglified/onelined)
I'm reporting the issue because I could have not noticed it, maybe something should be done when a build is ran when another build is in process. The main issue is deploying a non-working app to production without noticing it. I agree that's a very particular use case, which is very hard to reproduce. People shouldn't be building while doing modification to the source code with a watcher enabled. =D

Not much we can do on our side. You can just build to a different directory and then move the directory to .next afterwards.


Fix pickling of _LazyModule

Since importing six automatically sets up six.moves, _LazyModule
instances can be unpickled by just importing them.
Fixes #194.

I think the CI failure is unrelated and caused by #182.


Feature: support type alias

It would be nice to extract type alias information like name
type ID = string | number;

@rezonant
I'm working on this, are we ok with breaking changes? Because i'm thinking about adding a new kind 'alias'.
Otherwise we could handle the aliases "transparently" adding something like this to the ReflectedTypeRef
.hasAlias()
.getAlias() -> return RtAliasType -> {name,identity,reflectedType}

kind will still be the aliased type (like before, as aliases were ignored).
any thought?

#85


dhcp request from dhcpd is not handled by Android based hotspot

I am trying to connect uplink to an Android based hotspot using dhcpcd.
My testbed consists of

Alix board with 256MB memory and 2 radio cards.

An off the shelf access point which serves as the uplink network node.

An android phone with Wifi Hotspot enabled.

An android tablet to log into webconf to be able to choose the uplink SSID easily and to test internet connectivity.

The dhcp client is based on LEAF http://leaf.sourceforge.net and is running dhcpcd 8.1.5
Dec 15 10:53:36 SALT syslog[7160]: wlan0: carrier lost
Dec 15 10:54:04 SALT kernel: [ 2062.390076] wlan0: authenticate with f8:1a:67:56:42:96
Dec 15 10:54:04 SALT kernel: [ 2062.390076] wlan0: authenticate with f8:1a:67:56:42:96
Dec 15 10:54:04 SALT kernel: [ 2062.400051] wlan0: send auth to f8:1a:67:56:42:96 (try 1/3)
Dec 15 10:54:04 SALT kernel: [ 2062.403615] wlan0: authenticated
Dec 15 10:54:04 SALT kernel: [ 2062.400051] wlan0: send auth to f8:1a:67:56:42:96 (try 1/3)
Dec 15 10:54:04 SALT kernel: [ 2062.403615] wlan0: authenticated
Dec 15 10:54:04 SALT kernel: [ 2062.414075] wlan0: associate with f8:1a:67:56:42:96 (try 1/3)
Dec 15 10:54:04 SALT kernel: [ 2062.416690] wlan0: RX AssocResp from f8:1a:67:56:42:96 (capab=0x431 status=0 aid=1)
Dec 15 10:54:04 SALT kernel: [ 2062.416900] wlan0: associated
Dec 15 10:54:04 SALT kernel: [ 2062.414075] wlan0: associate with f8:1a:67:56:42:96 (try 1/3)
Dec 15 10:54:04 SALT kernel: [ 2062.416690] wlan0: RX AssocResp from f8:1a:67:56:42:96 (capab=0x431 status=0 aid=1)
Dec 15 10:54:04 SALT kernel: [ 2062.416900] wlan0: associated
Dec 15 10:54:04 SALT syslog[7160]: wlan0: carrier acquired
Dec 15 10:54:04 SALT syslog[7160]: wlan0: connected to Access Point `scoobly'
Dec 15 10:54:05 SALT syslog[7160]: wlan0: rebinding lease of <IP_ADDRESS>
Dec 15 10:54:05 SALT syslog[7160]: wlan0: probing address <IP_ADDRESS>/24
Dec 15 10:54:09 SALT syslog[7160]: wlan0: leased <IP_ADDRESS> for 216000 seconds
Dec 15 10:54:09 SALT syslog[7160]: wlan0: adding route to <IP_ADDRESS>/24
Dec 15 10:54:09 SALT syslog[7160]: wlan0: adding default route via <IP_ADDRESS>
Dec 15 10:55:14 SALT kernel: [ 2132.235721] wlan0: deauthenticating from f8:1a:67:56:42:96 by local choice (Reason: 3=DEAUTH_LEAVING)
Dec 15 10:55:14 SALT kernel: [ 2132.235721] wlan0: deauthenticating from f8:1a:67:56:42:96 by local choice (Reason: 3=DEAUTH_LEAVING)
Dec 15 10:55:14 SALT syslog[7160]: wlan0: carrier lost
Dec 15 10:55:14 SALT syslog[7160]: wlan0: deleting route to <IP_ADDRESS>/24
Dec 15 10:55:14 SALT syslog[7160]: wlan0: deleting default route via <IP_ADDRESS>
Here everything looks fine (and is)
However, trying to connect to the WiFi Hotspot on the Android phone results in the following
Dec 15 10:56:00 SALT kernel: [ 2178.125545] wlan0: authenticate with 5a:e9:b2:a6:20:7b
Dec 15 10:56:00 SALT kernel: [ 2178.125545] wlan0: authenticate with 5a:e9:b2:a6:20:7b
Dec 15 10:56:00 SALT kernel: [ 2178.135677] wlan0: send auth to 5a:e9:b2:a6:20:7b (try 1/3)
Dec 15 10:56:00 SALT kernel: [ 2178.135677] wlan0: send auth to 5a:e9:b2:a6:20:7b (try 1/3)
Dec 15 10:56:00 SALT kernel: [ 2178.216124] wlan0: authenticated
Dec 15 10:56:00 SALT kernel: [ 2178.216124] wlan0: authenticated
Dec 15 10:56:00 SALT kernel: [ 2178.220230] wlan0: associate with 5a:e9:b2:a6:20:7b (try 1/3)
Dec 15 10:56:00 SALT kernel: [ 2178.220230] wlan0: associate with 5a:e9:b2:a6:20:7b (try 1/3)
Dec 15 10:56:00 SALT kernel: [ 2178.237796] wlan0: RX AssocResp from 5a:e9:b2:a6:20:7b (capab=0x431 status=0 aid=3)
Dec 15 10:56:00 SALT kernel: [ 2178.238017] wlan0: associated
Dec 15 10:56:00 SALT kernel: [ 2178.237796] wlan0: RX AssocResp from 5a:e9:b2:a6:20:7b (capab=0x431 status=0 aid=3)
Dec 15 10:56:00 SALT kernel: [ 2178.238017] wlan0: associated
Dec 15 10:56:00 SALT syslog[7160]: wlan0: carrier acquired
Dec 15 10:56:00 SALT syslog[7160]: wlan0: connected to Access Point `Mega'
Dec 15 10:56:01 SALT syslog[7160]: wlan0: soliciting a DHCP lease
So wpa_supplicant connects to the access point but dhcpcd fails to get an address as can be seen here
SALT# tcpdump -i wlan0
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on wlan0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
11:03:33.616568 EAPOL key (3) v2, len 95
11:03:33.617874 EAPOL key (3) v1, len 117
11:03:33.624471 EAPOL key (3) v2, len 151
11:03:33.625364 EAPOL key (3) v1, len 95
11:03:34.027803 IP <IP_ADDRESS>.bootpc > <IP_ADDRESS>.bootps: BOOTP/DHCP, Request from 00:1b:b1:b1:4d:25 (oui Unknown), length 326
11:03:39.021148 IP <IP_ADDRESS>.bootpc > <IP_ADDRESS>.bootps: BOOTP/DHCP, Request from 00:1b:b1:b1:4d:25 (oui Unknown), length 326
11:03:46.888539 IP <IP_ADDRESS>.bootpc > <IP_ADDRESS>.bootps: BOOTP/DHCP, Request from 00:1b:b1:b1:4d:25 (oui Unknown), length 326
11:04:03.848012 IP <IP_ADDRESS>.bootpc > <IP_ADDRESS>.bootps: BOOTP/DHCP, Request from 00:1b:b1:b1:4d:25 (oui Unknown), length 326
11:04:35.084820 IP <IP_ADDRESS>.bootpc > <IP_ADDRESS>.bootps: BOOTP/DHCP, Request from 00:1b:b1:b1:4d:25 (oui Unknown), length 326
11:05:39.156389 IP <IP_ADDRESS>.bootpc > <IP_ADDRESS>.bootps: BOOTP/DHCP, Request from 00:1b:b1:b1:4d:25 (oui Unknown), length 326
11:06:42.718712 IP <IP_ADDRESS>.bootpc > <IP_ADDRESS>.bootps: BOOTP/DHCP, Request from 00:1b:b1:b1:4d:25 (oui Unknown), length 326
^C
11 packets captured
11 packets received by filter
0 packets dropped by kernel
However, connecting to the Android based hotspot works fine using the Android tablet or a Winblows laptop.
Ideas anyone?
Thanks
ET

Does any other DHCP client connect?
If you have an IPv6 link local address, can you ping another IPv6 link local address on the other side?
Chances are this isn't a dhcpcd problem as according to your tcpdump a dhcp client is sending requests but no reply is coming.

Hello
Am 23.12.2022 um 14:39 schrieb Roy Marples:

Does any other DHCP client connect?
If you have an IPv6 link local address, can you ping another IPv6 link

It is IPv4 only and yes other dhcp clients e.g. Winblows and Adroid
connect seamlessly.

local address on the other side?
Chances are this isn't a dhcpcd problem as according to your tcpdump a
dhcp client is sending requests but no reply is coming.

Indeed that is what happens. It appears that the dhcp server on the
Andriod phone chokes on our discover packet. Now the question is the
famous 'why'.
Also the dhcpcd daemon connects seamlessly to another dhcp server
running on a NAS. So I guess you are right the problem is the behaviour
of the dhcp server on the Android Phone. I tried to understand the
internals of the discover message by comparing a successful connection
and the dump of the unsuccessful one. Not having access to the dchp
server code makes this of course pure guessing.
Is there a way to strip down dhcpcd to the pure minimal functionality to
see if then the server at least tries to reply?
Thanks
Erich Titl

Hello Am 23.12.2022 um 14:39 schrieb Roy Marples:
Does any other DHCP client connect? If you have an IPv6 link local address, can you ping another IPv6 link
It is IPv4 only and yes other dhcp clients e.g. Winblows and Adroid connect seamlessly.

No, I mean another DHCP client on the same host running dhcpcd? Like say ISC dhclient

Is there a way to strip down dhcpcd to the pure minimal functionality to see if then the server at least tries to reply?

Yes. You can remove clientid, duid, option rapid_commit, require dhcp_server_identifier and slaac private from the default /etc/dhcpcd.conf. If you've customised it, you should still get the idea - dhcpcd works fine without dhcpcd.conf as well.

Am 23.12.2022 um 19:51 schrieb Roy Marples:

Hello Am 23.12.2022 um 14:39 schrieb Roy Marples:
Does any other DHCP client connect? If you have an IPv6 link local
address, can you ping another IPv6 link
It is IPv4 only and yes other dhcp clients e.g. Winblows and Adroid
connect seamlessly.

No, I mean another DHCP client on the same host running dhcpcd? Like say
ISC dhclient

I tried pump, a very old dhcp client, it just resulted in a 169.x.x.x
address and no routing, so it was probably just discarded and configured
itself.
I have wireshark dumps from the windows client and tcpdumps from various
attempts from the small embeded linux box. Those are the two attempts I
was able to record. Unfortunately there appears to be no tool to record
traffic on the Android phone without rooting the device.

Is there a way to strip down dhcpcd to the pure minimal
functionality to see if then the server at least tries to reply?

Yes. You can remove |clientid|, |duid|, |option rapid_commit|, |require
dhcp_server_identifier| and |slaac private| from the default
|/etc/dhcpcd.conf|. If you've customised it, you should still get the
idea - dhcpcd works fine without dhcpcd.conf as well.

I did of course customize it. The thing that hit my eyes as the biggest
difference in the dhcpdiscover message was option 145 which (among
others) was not used on the Winblows packet.
I can trey with an empty dhcpcd.conf and see what is happening.
here is my current dhcpcd.conf
A sample configuration for dhcpcd.
See dhcpcd.conf(5) for details.
Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel
Inform the DHCP server of our hostname for DDNS.
hostname SALT
Use the hardware address of the interface for the Client ID.
clientid
or
Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per
RFC4361.
Some non-RFC compliant DHCP servers do not reply with this set.
In this case, comment out duid and enable clientid above.
#duid
Persist interface configuration when dhcpcd exits.
persistent
vendorclassid is set to blank to avoid sending the default of
dhcpcd-:::
vendorclassid
A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search
option classless_static_routes
Respect the network MTU. This is applied to DHCP routes.
option interface_mtu
Request a hostname from the network
option host_name
Most distributions have NTP support.
#option ntp_servers
Rapid commit support.
Safe to enable by default because it requires the equivalent option set
on the server to actually work.
option rapid_commit
A ServerID is required by RFC2131.
require dhcp_server_identifier
Generate SLAAC address using the Hardware Address of the interface
#slaac hwaddr
OR generate Stable Private IPv6 Addresses based from the DUID
slaac private
background
noipv4ll
broadcast
end of dhcpcd.conf
Thanks
ET

Hello
Am 23.12.2022 um 19:51 schrieb Roy Marples:

Hello Am 23.12.2022 um 14:39 schrieb Roy Marples:
Does any other DHCP client connect? If you have an IPv6 link local
address, can you ping another IPv6 link
It is IPv4 only and yes other dhcp clients e.g. Winblows and Adroid
connect seamlessly.

No, I mean another DHCP client on the same host running dhcpcd? Like say
ISC dhclient
Is there a way to strip down dhcpcd to the pure minimal
functionality to see if then the server at least tries to reply?

Yes. You can remove |clientid|, |duid|, |option rapid_commit|, |require
dhcp_server_identifier| and |slaac private| from the default
|/etc/dhcpcd.conf|. If you've customised it, you should still get the
idea - dhcpcd works fine without dhcpcd.conf as well.

I did as you suggested, stripped down dhcpcd.conf unfortunately without
success.
Using an empty dhcpcd.conf resulted in registering an IPv4LL address
which is not of much use in this environment.
Using a completely stripped down dhcpcd.conf did not get me nowhere
neither. Still a valid WiFi connection but no IP address.
SALT# wpa_cli status
Selected interface 'wlan0'
bssid=90:ee:c7:a7:02:9d
freq=2412
ssid=Mega
id=1
mode=station
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
address=00:1b:b1:b1:4d:1b
SALT# cat /etc/dhcpcd.conf
background
noipv4ll
broadcast

cheers
ET

Hello
here the wpa_cli status of two different stations, one successful one failed
SALT# wpa_cli status
Selected interface 'wlan0'
bssid=f8:1a:67:56:42:96
freq=2422
ssid=scoobly
id=0
mode=station
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
address=00:1b:b1:b1:4d:1b
and here without an IP address
SALT# wpa_cli status
Selected interface 'wlan0'
bssid=90:ee:c7:a7:02:9d
freq=2412
ssid=Mega
id=1
mode=station
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
address=00:1b:b1:b1:4d:1b
cheers
ET


Ignoring fully transparent pixels

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I'd like to use this to modify images to put in my wallpapers, that have transparent bgs
Describe the solution you'd like
A clear and concise description of what you want to happen.
to not fill up transparent pixels, but to ignore them
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
maybe just a option for it
Additional context
Add any other context or screenshots about the feature request here.

Definitely agree, transparency should be handled properly, although I've been a bit undecided on how to handle it. I think the easiest way would be to always use an alpha layer when reading and writing images, and retain the previous alpha values when writing to the new image. The only issue with that, is that the output image sizes might inflate even more, especially for non-transparent images

Check out https://github.com/ozwaldorf/lutgen-rs/tree/transparency

Transparency branch works great with icon themes, thanks. Would love to see it merged :+1:

Transparency branch works great with icon themes, thanks. Would love to see it merged 👍

That's a great idea, what icon packs have you tried?

https://github.com/vinceliuice/Fluent-icon-theme
Note: I converted svg to png first (svg panics as unsupported)

How are you using lutgen to ignore transparent background? I ran the cargo install command stated above and ran
lutgen apply *.png -p catppuccin-mocha

But the transparent background gets replaced still.

Bump

Transparent support is merged :+1:


Improve Servicebus log

Codecov Report

Merging #342 into master will decrease coverage by 0.41%.
The diff coverage is 56.52%.

@@             Coverage Diff              @@
##             master     #342      +/-   ##
============================================
- Coverage     54.41%   53.99%   -0.42%
- Complexity      377      388      +11
============================================
  Files           115      116       +1
  Lines          1641     1663      +22
  Branches         89       92       +3
============================================
+ Hits            893      898       +5
- Misses          688      701      +13
- Partials         60       64       +4

Impacted Files
Coverage Δ
Complexity Δ

...us/topic/support/ServiceBusTopicTestOperation.java
81.81% <ø> (ø)
4 <0> (ø)
:arrow_down:

...inder/properties/ServiceBusProducerProperties.java
75% <ø> (ø)
3 <0> (ø)
:arrow_down:

...rvicebus/converter/ServiceBusMessageConverter.java
48% <100%> (ø)
7 <0> (ø)
:arrow_down:

...us/queue/support/ServiceBusQueueTestOperation.java
80.95% <100%> (ø)
5 <0> (ø)
:arrow_down:

...inder/properties/ServiceBusConsumerProperties.java
66.66% <100%> (ø)
2 <1> (ø)
:arrow_down:

...tion/servicebus/topic/ServiceBusTopicTemplate.java
72.72% <25%> (-15.74%)
6 <0> (ø)

...tion/servicebus/queue/ServiceBusQueueTemplate.java
68.75% <28.57%> (-12.02%)
6 <0> (ø)

...tegration/servicebus/ServiceBusMessageHandler.java
65% <65%> (ø)
9 <9> (?)

...ing/integration/servicebus/ServiceBusTemplate.java
89.65% <71.42%> (-0.35%)
12 <2> (+2)

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 2182982...1beb271. Read the comment docs.


Is the project abandoned?

The project hasn't seen any official updates for the past 10 months. Many announced features, such as the EVCache server and remote cache invalidation never made it to the open source branch. Any plans on supporting these features soon?

For sidecar you can use Prana (https://github.com/Netflix/Prana) which was opensourced recently. You can bundle them together in an AMI. If you are using servo i can provide the groovy plugin which sends  server side metrics to it. Let me know if you need anything else.


[HUDI-1241][WIP] Generate configuration doc automatically

What is the purpose of the pull request
Generates the configuration doc automatically by scanning all class that extend HoodieConfig.
Brief change log

Add Reflections to get subTypes of ConfigProperty.

Generate tables for configs.

Write markdown to file.

Verify this pull request
Run the generate_config_docs.sh script in hudi_utilities by giving a branch name. It should produce an output file named config_doc.md. Alternatively, checkout a branch and just run HoodieConfigDocGenerator from IDE.
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #3260 (007435d) into master (ca440cc) will decrease coverage by 31.83%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #3260       +/-   ##
=============================================
- Coverage     47.71%   15.87%   -31.84%
+ Complexity     5527      493     -5034
=============================================
  Files           934      284      -650
  Lines         41456    11739    -29717
  Branches       4167      964     -3203
=============================================
- Hits          19782     1864    -17918
+ Misses        19916     9712    -10204
+ Partials       1758      163     -1595

Flag
Coverage Δ

hudicli
?

hudiclient
0.00% <ø> (-34.46%)
:arrow_down:

hudicommon
?

hudiflink
?

hudihadoopmr
?

hudisparkdatasource
?

hudisync
5.37% <ø> (-49.15%)
:arrow_down:

huditimelineservice
?

hudiutilities
58.70% <0.00%> (-0.56%)
:arrow_down:

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

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

Closing this in favor of #3302


chore(main): release pixels 0.23.1

:robot: I have created a release beep boop
0.23.1 (2024-10-06)
Bug Fixes

deps: update nextui monorepo (6367697)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

pixels-v0.23.1
:sunflower:


Error Message Appears Multiple Times Upon Form Submission

Description: When the form is submitted with incorrect answers, the error message "You have so much to discover about Tamil Nadu" is appended multiple times instead of appearing just once.
Steps to Reproduce:
Fill out the form with incorrect answers for one or more questions.
Submit the form.
Submit the form again with the same or different incorrect answers.
Expected Behavior: The error message "You have so much to discover about Tamil Nadu" should appear only once, even if the form is submitted multiple times with incorrect answers.
Current Behavior: The error message is appended every time the form is submitted with incorrect answers, leading to multiple duplicate messages.
Severity: Medium
This issue affects the user experience by creating clutter and confusion on the webpage.
Suggested Fix:
Add logic to check if the error message already exists before appending it to the DOM.
Ensure the feedback container is cleared or updated without duplicating messages.
Test the form submission process thoroughly to confirm the error message appears only once in all scenarios.

Hey @Kavinesh11 . you've been assigned this issue under Amrita Winter of Code! Please ensure to raise a PR by 29/12/2024, Best of luck! 🫡
A good issue that you have found out.

@SaranDharshanSP I would like to take the issue if there is no progress


feat: support nested templates

This adds support for nested templates since some syntaxes support that.
This also includes a fix to the placeholder strategy such that prefix-less expressions now have a comment placeholder rather than the default (i.e. are considered block-level).
DRAFT because once i add a test for nested templates passing through stylelint, that test should fail. we still have some fixing up to do here so that'll work as expected.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.07%) to 97.657%

Files with Coverage Reduction
New Missed Lines
%

lib/parse.js
1
90.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.07%

Covered Lines:
1218

Relevant Lines:
1224

💛  - Coveralls


fix: wrong transferable part calculation

Closes #1794

Calculation reference from Nova Wallet:
https://github.com/novasamatech/nova-wallet-android/blob/6fcc7f37cda8f98e540a18c196d0d60c1e69185c/feature-wallet-api/src/main/java/io/novafoundation/nova/feature_wallet_api/domain/model/Asset.kt#L39-L44
 fun holdAndFreezesTransferable(free: Balance, frozen: Balance, reserved: Balance): Balance {
      val freeCannotDropBelow = (frozen - reserved).atLeastZero()

      return (free - freeCannotDropBelow).atLeastZero()
  }

For each asset REGULAR and HOLDS_AND_FREEZES modes have to be added.


Unable to revoke docker credentials

Steps to repro:

put a .dockercfg in /root/.dockercfg with credentials for a private repository
run a pod that uses an image from that repository.  it will succeed.
stop the pod
delete the .dockercfg
restart the kubelet
remove the image with docker rmi -f [privateimagename]
docker logout
verify that you cannot manually pull the private image with a node-local docker pull.
run the pod again.   magically, the image is still pulled. :confused:

@deads2k

Repro'ed a second time to make sure I am not crazy.

The image clearly got pulled, but a straight docker pull still can't get the image:
root@gke-cluster-xxx:~# docker images
REPOSITORY                             TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
erictune/private-test                  v1                  501410a09546        2 weeks ago         226 MB
gcr.io/google_containers/fluentd-gcp   1.6                 b05d63f3454a        5 weeks ago         420.9 MB
gcr.io/google_containers/pause         0.8.0               2c40b0526b63        12 weeks ago        241.7 kB
gcr.io/google_containers/pause         latest              6c4579af347b        11 months ago       239.8 kB
root@gke-cluster-xxx:~# docker pull erictune/private-test:v1
Pulling repository erictune/private-test
FATA[0000] Error: image erictune/private-test:v1 not found

What is baffling is that, since docker can't pull the image, it seems like the kubelet must be passing the credentials.
But the kubelet was restarted, so it shouldn't be remembering any credentials.

This isn't terribly severe.  But it would be nice to know what is going on.

TODO: in pkg/kubelet/dockertools/docker.go around line 152, see what credentials are being used.

@erictune I can't reproduce this.  Are you sure you deleted /root/.dockercfg and not the one for your user?
[deads@deads-dev-01 origin]$ oc create -f ../secured-pod.json
pods/my-pod
[deads@deads-dev-01 origin]$ oc get pods
NAME      READY     REASON    RESTARTS   AGE
my-pod    0/1       Running   0          2s
[deads@deads-dev-01 origin]$ oc delete pod/my-pod
pods/my-pod
[deads@deads-dev-01 origin]$ sudo rm /root/.dockercfg
[deads@deads-dev-01 origin]$ docker rmi docker.io/deads2k/private-repo
Untagged: docker.io/deads2k/private-repo:latest
[deads@deads-dev-01 origin]$ oc create -f ../secured-pod.json
pods/my-pod
[deads@deads-dev-01 origin]$ oc get pods
NAME      READY     REASON                                               RESTARTS   AGE
my-pod    0/1       Error: image deads2k/private-repo:latest not found   0          3s

I'm sure I deleted /root/.dockercfg.
Thanks for trying.
Weird.


Upgrade to Babel6

I've created upgrade to Babel6. Please review.

Ohh, didn't see #1123. Closing.


added html tag in setHtml

Description of the change:
Reason for the change:
Link to original source:

Closes #

Please check out our open issues for changes that we’re looking for in this repo! We’re adding new ones from easy to difficult every day.


https://cg.cs.tsinghua.edu.cn/jittor/  请问这里展示的示例代码似乎无法直接运行啊？

Describe the bug
A clear and concise description of what the bug is. 使用中文也可以。
Full Log
Provide a full log of Jittor execution, Jittor will log environment information which help us to locate your bugs. Provide a screenshot is also acceptable.
Minimal Reproduce
Reproduce this error with a file or several lines of code.
If it is not possible, leave it blank.
Expected behavior
A clear and concise description of what you expected to happen.
If you are submitting an issue for the first time, please refer to our guideline

请给出更详细的报错信息

[w 0520 21:48:34.294000 20 compiler.py:1384] CUDA arch(89)>86 will be backward-compatible
Traceback (most recent call last):
File "d:\works\1.py", line 25, in
for i,(x,y) in enumerate(get_data(n)):
^
NameError: name 'n' is not defined
这是直接粘贴示例代码，使用jittor python环境，执行时报告的错误。我是在vscode中执行的。
此外，vscode还给出了一些警告：

这不是jittor的问题，以及你没有将示例代码复制完整，建议仔细检查


out of scope? atropine metabolic process

This doesn't seem to be a normal process?
http://www.ebi.ac.uk/QuickGO/GTerm?id=GO:1901049

synthesized by several plants in the nightshade family

;)


Map NBT classes

Also mapped a couple small things in TextComponent/TextFormat since they're used directly by NBT pretty printing.

Comments done

We still need to figure out if we want serialize/deserialize | toNbt/fromNbt | toCompound/fromCompound etc...

https://github.com/FabricMC/pomf/issues/172

But that's for another day. Let's merge.


Its not possible to do horizontal indent on LineEdits/RichTextLabel ?

Godot version:
latest
OS/device including version:
no matter
Issue description:
I creating complex UI system for my project, and Godot have a lot of required instruments..
What I need now is LineEdit(and RichTextLabel) to be Left Align but with some offset from beginning

It is possible with current system, or not ? If not somebody should implement it...

Maybe the theme or options for that LineEdit should have configurable inner margins?

Yeah, I tried most of them in theme settings and inspector but didnt find required one..

I think the Content Margin section of the StyleBox resource might do what you're looking for

@ibrahn Thanks ! That exactly what i need..


Storage: workspace identifier changed (URI.toString())

We are storing all workspace storage for folders with a prefix that is computed from the folder URI.toString(). This key has changed on Windows from encoding the colon at the drive letter to no longer encode. Given that, no workspace storage is found anymore.

@jrieken please advise what I can do here to get back the old behaviour. Maybe we need some utility function. I would also suggest to do a check of clients of URI.toString() to see if anyone is actually persisting this data and making assumptions about it and needs to take steps.
PS: the new storage solution will not suffer from this but even next milestone, all UI data will still go into local storage just in case.

Given that, no workspace storage is found anymore

Really? We have lost workspace storage and no one complained yet? Surprising...

please advise what I can do here to get back the old behaviour.

The general advise is to never use the string "as-is" but to go via Uri.parse(input) and then uri.toString(). That will generate the 'new' representation which is safe to be used

Really? We have lost workspace storage and no one complained yet? Surprising...
Well, windows only and insiders only and its very subtle, visually you just do not see the opened editors anymore. And its "fixed" once you continue to use that state because then you use the new form of the key.

The general advise is to never use the string "as-is" but to go via Uri.parse(input) and then uri.toString(). That will generate the 'new' representation which is safe to be used
In order to access an entry in local storage I need its full key (storage.getItem(key)). That key uses %3A for the drive letter. I do not have a full model of local storage in memory for the workspace (only the entire contents across all workspaces). I would prefer a way where I do not need to convert all keys in local storage to use the "safe" form if possible.

Hm, I see... Yeah, we can add an overload to toString that restores the old behaviour then. That should be the easiest.

@bpasero I have pushed a change that adds another argument to the URI#toString: https://github.com/Microsoft/vscode/blob/c537eaa14796b8e6be21b68d8ea5084e199cdb0e/src/vs/base/common/uri.ts#L349

Alternatively (maybe better), this regex can be used: file:\/\/\/([a-zA-Z]): and then replace $1 with %3A

I like the regex option better because it's more local. I will revert above commit changes

@jrieken I am fine using a regex in my case since that code will be thrown away at one point anyway.
I feel like we should maybe ping everyone and give some advice given this change has the potential of breaking bad if used in the wrong way. For example I see URIs stored in the old format (as toString()) in storage.json (e.g. list of recently opened folders on the main side) and backup service (/cc @aeschli).

Hm, that's what I was afraid of. we can also think about undoing the root case again...

@jrieken let's discuss in the office

I have reverted the uri changes that I have done for https://github.com/Microsoft/vscode/issues/58985.


#290 uid outdated and linux support for uid

uid outdated and linux support for uid
Also updated windows uid.exe

Coverage remained the same at 53.531% when pulling c2918eade01a6aa2eee4b6d4cf3b7579a378d8b2 on #290-linux-uid-support into 9f3725a5f738f56428d94f248ecfe83f6ecc29c5 on develop.

thanks a lot!


Registering 1.0.0

@rajendrant Can we release 1.0.0? The repo has reached a good stable state. I want to include the prebuilt binaries in the npm package, so the users don't have to rebuild

Fixed.


Add radiation diagnostics for mpi

PULL REQUEST
Purpose and Content
This PR adds radiation diagnostics when using mpi
Benefits and Risks
Linked Issues
PR Checklist

[ ] This PR has a corresponding issue OR is linked to an SDI.
[x] I have followed CliMA's codebase contribution and style guidelines OR N/A.
[x] I have followed CliMA's documentation policy.
[x] I have checked all issues and PRs and I certify that this PR does not duplicate an open PR.
[x] I linted my code on my local machine prior to submission OR N/A.
[x] Unit tests are included OR N/A.
[x] Code used in an integration test OR N/A.
[x] All tests ran successfully on my local machine OR N/A.
[x] All classes, modules, and function contain docstrings OR N/A.
[x] Documentation has been added/updated OR N/A.

bors r+


"ValueError: Index 'None' not found in your Pinecone project" in SemanticSimilarityExampleSelector.from_examples

I am trying to contruct example selector with SemanticSimilarityExampleSelector and Pinecone. I have already initiated my pinecone instance and loaded data into it. So far it can recognize the index 'options-adj-index' that I loaded in pineone. However, when I
text_field = ["text"]
embeddings = OpenAIEmbeddings()
vectorstore = Pinecone(pinecone.Index("options-adj-index"), embeddings, text_field)
example_selector = SemanticSimilarityExampleSelector.from_examples(
# This is the list of examples available to select from.
examples,
# This is the embedding class used to produce embeddings which are used to measure semantic similarity.
embeddings,
# This is the VectorStore class that is used to store the embeddings and do a similarity search over.
vectorstore,
# This is the number of examples to produce.
k=3,
)
It returns error :
ValueError: Index 'None' not found in your Pinecone project. Did you mean one of the following indexes: options-adj-index
Looks like the function SemanticSimilarityExampleSelector.from_examples cannot recognize the index that I declared in vectorstore

@dosu-bot  I do have set the environment variable correctly
index_name=os.environ["PINECONE_INDEX_NAME"]
index=pinecone.Index(index_name)
print(index_name)
the above does return 'options-adj-index'
I think the problem is how to set the vectorStoreCls for my case.
I tried the below with the same error
vectorstore = Pinecone(index, embeddings, text_field)

I'm using pinecone instead of HNSW. The question is, how should I set vectorStoreCls within SemanticSimilarityExampleSelector.from_examples so that it can recognise my pinecone index. Thanks.

This doesn't seems to work either...


<EMAIL_ADDRESS>

@fmeum , @meteorcloudy ,
This follows this discussion

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (io_opentracing_cpp, opentracing-cpp) have been updated in this PR. Please review the changes.


Handle unformatted spans across file boundaries

If we have files which don't get formatted then we end up with a span of 'missing' code which crosses file boundaries, that will throw an assertion in format_missing_inner. We should make this work properly

fixed


[error] The process '/usr/bin/git' failed with exit code 128

I'm unable to get my changes job to run which uses paths-filter within it. It always fails with the following error:

My workflow looks like this:
name: Deploy API server
on:
  push:
    branches: [master]

jobs:
  changes:
    runs-on: ubuntu-latest
    # Set job outputs to values from filter step
    outputs:
      apiServer: ${{ steps.filter.outputs.apiServer }}
    steps:
    - name: Checkout source code
      uses: actions/checkout@v1

    - name: Check for changes
      uses<EMAIL_ADDRESS>      id: filter
      with:
        filters: |
          apiServer:
            - 'packages/api-server/**/*'

  tests:
    runs-on: ubuntu-latest
    defaults:
      run:
        working-directory: packages/api-server

    if: ${{ needs.changes.outputs.apiServer == 'true' }}
    steps:
    - name: Checkout source code
      uses: actions/checkout@v1

    - name: Use Node.js 12.x
      uses: actions/setup-node@v1
      with:
        node-version: "12.x"

    - name: Install dependencies
      run: yarn

    - name: Tests
      run: yarn test

I don't know if it's paths-filter that's causing it but thought I'll open this issue just in case it helps.

I would say the issue is you are using v1 of the checkout action: uses: actions/checkout@v1.
It doesn't persist git authentication token so as paths-filter is trying to fetch additional commit, git command interactively asks for username/password which causes the error.
Please try it with uses: actions/checkout@v2 and let me know if it solved the issue.
Anyway I should improve the documentation and error message for this case.

That seems to have fixed it!
Thanks so much for your help. Would've never figured this out otherwise.

@dorny Sorry to trouble you, now I'm unable to echo the value of the output from the previous job:
name: Deploy API server
on:
  push:
    branches: [master]

jobs:
  changes:
    runs-on: ubuntu-latest
    # Set job outputs to values from filter step
    outputs:
      apiServer: ${{ steps.filter.outputs.apiServer }}
    steps:
    - name: Checkout source code
      uses: actions/checkout@v2

    - name: Check for changes
      uses<EMAIL_ADDRESS>      id: filter
      with:
        filters: |
          apiServer:
            - 'packages/api-server/**/*'

  tests:
    runs-on: ubuntu-latest
    defaults:
      run:
        working-directory: packages/api-server

    steps:
    - run: echo ${{ needs.changes.outputs.apiServer }}

    - name: Checkout source code
      uses: actions/checkout@v1

    - name: Use Node.js 12.x
      uses: actions/setup-node@v1
      with:
        node-version: "12.x"

    - name: Install dependencies
      run: yarn

    - name: Tests
      run: yarn test

Your tests job doesn't declare it depends on the changes job.
See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idneeds
You should have this structure:
jobs:
  changes:
    ...

  tests:
    needs: changes
    ....

Thanks again! That fixes it.
Can I make PRs for the following?

Document error which occurs when using checkout@v1
Update example code to include needs part

You are right, example in the README page is wrong. PR is welcome if you can make it now. Later afternoon I planned to significantly rework the README page to make it simpler and document incoming new features from develop branch.
Then I'm out for a vacation :)

@dorny, I have the exact problem with the latest version of your action and the checkout@v2. The complete output is the following:
Run<EMAIL_ADDRESS>  with:
    filters: backend:
    - 'multilevel_diacritizer/**'

    token: ***
    list-files: none
    initial-fetch-depth: 100
Get current git ref
  /usr/bin/git branch --show-current
  fatal: not a git repository (or any of the parent directories): .git
Error: The process '/usr/bin/git' failed with exit code 128

I am a beginner in GitHub Actions, and this is the first time I do continuous integration. Here is my workflow file. Could you please tell me where the error is?
name: Continious Integration

on:
push:
  branches: [ master ]
pull_request:
  branches: [ master ]

jobs:

changes:

  runs-on: ubuntu-latest

  outputs:
    backend: ${{ steps.filter.outputs.backend }}
  #      frontend: ${{ steps.filter.outputs.frontend }}

  steps:
    - uses<EMAIL_ADDRESS>      id: filter
      with:
        filters: |
          backend:
            - 'multilevel_diacritizer/**'
#            frontend:
#              - 'multilevel_diacritizer_ui/**'

backend:

  needs: changes
  if: ${{ needs.changes.outputs.backend == 'true' }}
  runs-on: ubuntu-latest

  steps:

  - uses: actions/checkout@v2

  - name: Set up Python
    uses: actions/setup-python@v2
    with:
      python-version: 3.7.10

  - name: Install Poetry
    uses<EMAIL_ADDRESS>    with:
      virtualenvs-create: true
      virtualenvs-in-project: true

  - name: Load the cached virtual environment
    id: cached-poetry-dependencies
    uses: actions/cache@v2
    with:
      path: .venv
      key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

  - name: Install dependencies
    if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
    run: poetry install --no-interaction --no-root

  - name: Run tests
    run: |
      source .venv/bin/activate
      python -m unittest discover tests/

Hi @Hamza5
You are using the checkout action only in the backend job.
In your changes job, there is no checkout of the git repository.
When the paths-filter action is executed, there's just an empty folder.
That's why you see the error: fatal: not a git repository (or any of the parent directories): .git.
It should work fine when the workflow is triggered by a pull request event.
But it can't work for push events - detecting changes in push events requires checkout of the repository.
So the solution is simple  - just add the checkout step before paths-filter.

g

Hello @dorny,
I'm also facing same issue despite of using checkout step before paths-filter
Below is my workflow file:
name: Python application
on:
  push:
    branches: [ "main" , "wip" ]

  pull_request:
    branches: [ "main" , "wip" ]

jobs:
  Deploy-UAT:
    runs-on: linux-21-uat
    steps:
      - name: Git checkout
        uses: actions/checkout@v2

      - name: Paths Changes Filter And Diff Stat
        uses<EMAIL_ADDRESS>        id: changes
        with:
          filters: |
            service_:
              - 'Resource/**'

      - name: Set up Python 3.8
        uses: actions/setup-python@v2
        with:
          python-version: 3.8

      - name: Upload a Build Artifact
        uses<EMAIL_ADDRESS>        with:
          name: ofac-screening-api
          path: ${{github.workspace}}/*

      - name: Copy ofac-screening-api files
        run: cp -avR ${{github.workspace}}/ $HOME/FGApp

      - name: Creating Virtual Environment
        run: |
          pip3 install --upgrade pip
          python3 -m venv $HOME/FGApp/OFAC-screening-api/env_ofac_screening

      - name: Activating Virtual Environment and installing requirements.txt file
        run: |
          source $HOME/FGApp/OFAC-screening-api/env_ofac_screening/bin/activate
          echo "VIRTUAL ENV:" $VIRTUAL_ENV
          pip3 install --upgrade pip
          pip3 install -r $HOME/FGApp/OFAC-screening-api/requirements.txt
          deactivate

      - name: Copy service file
        if: steps.changes.outputs.service_ == 'true'
        run: |
          echo '${{secrets.UAT_RUNNER_PASSWORD}}' | sudo -S cp /home/fgi1121113/FGApp/OFAC-screening-api/Resource/amlScreening.service /etc/systemd/system/amlScreening.service
          echo '${{secrets.UAT_RUNNER_PASSWORD}}' | sudo -S systemctl daemon-reload

      - name: Running python script
        run:
          echo '${{secrets.UAT_RUNNER_PASSWORD}}' | sudo -S systemctl restart amlScreening.service

Error :
Run<EMAIL_ADDRESS>  with:
    filters: service_:
    - 'Resource/**'

    token: ***
    list-files: none
    initial-fetch-depth: [1](https://github.com/FUTURE-GENERALI-INDIA-LIFE-INSURANCE/OFAC-screening-api/actions/runs/3214235346/jobs/5254480317#step:3:1)00
Get current git ref
  /usr/bin/git branch --show-current
  fatal: not a git repository (or any of the parent directories): .git
Error: The process '/usr/bin/git' failed with exit code 1[2](https://github.com/FUTURE-GENERALI-INDIA-LIFE-INSURANCE/OFAC-screening-api/actions/runs/3214235346/jobs/5254480317#step:3:2)[8](https://github.com/FUTURE-GENERALI-INDIA-LIFE-INSURANCE/OFAC-screening-api/actions/runs/3214235346/jobs/5254480317#step:3:8)

Please assist

also getting the same issue...

I’m seeing the same problem. I use checkout v3 to checkout the repo, followed by dorky/path-filter. The path filter step always fails with
The process '/usr/bin/git' failed with exit code 128

Why does it error?


Variable type in aes_gen_tables function

In the file library/aes.c there is a function called aes_gen_tables
When we compile the file with vs 2017 warning level 4 we get a warning
'C6262 Functions uses 2064 bytes of stack: exceeds / analyze:stacksize 1024'
We can change the code of the function
from
int pow[256];
int log[256];

to
uint8 pow[256];
uint8 log[256];

and do some other changes so it will be ok to use uint8 for pow and log.
The warning will disappear after those changes
(Actually we found such code in https://github.com/off-the-record/libotr/blob/master/toolkit/aes.c)
Before really using those change and run all the tests,
Can you tell us if there is a good reason that we are not aware of to use int and not uint8 ?

Hi Jeaden
I can see that there is pull request about a year ago
What is the reason that it was not merge to master yet
Is it because you still not sure that it is a good fix or
Just because you are waiting to new major version that will include this
fix ?
Thsnks
Amichay
בתאריך יום ה׳, 12 בספט׳ 2019, 07:35 PM, מאת Jaeden Amero <
<EMAIL_ADDRESS>
Hi @AmichayYuval https://github.com/AmichayYuval
Thanks for the suggestion.
We have a PR in-progress at #1853
https://github.com/ARMmbed/mbedtls/pull/1853 that you could test and
give your feedback on, made to fix #744
https://github.com/ARMmbed/mbedtls/issues/744
I believe your request can be considered a duplicate of #744
https://github.com/ARMmbed/mbedtls/issues/744. Please work from that
issue.
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ARMmbed/mbedtls/issues/2837?email_source=notifications&email_token=ANFQUL77EM6KAVV4UKYZCGTQJJVWVA5CNFSM4IWGSOD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6SPXHQ#issuecomment-530906014,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANFQULYBKO4CKCYTFNFPO3LQJJVWVANCNFSM4IWGSODQ
.


[KYUUBI #3650][UI] Add Operation Statistics Page

Why are the changes needed?

Close #3650
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

CC @turboFei @pan3793,
There is a question about how we should treat the interfaces that currently exist for some operations that are not under AdminResource, such like cancleOperation.

Codecov Report

Merging #4663 (688cfb4) into master (3815bc4) will increase coverage by 4.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4663      +/-   ##
============================================
+ Coverage     53.56%   57.59%   +4.02%
  Complexity       13       13
============================================
  Files           579      579
  Lines         31781    31964     +183
  Branches       4253     4269      +16
============================================
+ Hits          17025    18411    +1386
+ Misses        13169    11788    -1381
- Partials       1587     1765     +178

see 57 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks, merged to master


Dashing bug in the not-constantly-moving mode

Description of the bug
In the not-constantly-moving mode, when I press dash key, the dash doesn't work. It only works when I press one of the direction keys.
To Reproduce
Steps to reproduce the behavior:

Enable the not-constantly-moving mode by pressing 'e' key
Press dash key (space bar)
Press any direction key (w, a, d, up, left, right)
See error

Expected behavior
Dashing works properly by pressing dash key (space bar).
Desktop:

OS: Windows
Browser: Chrome

Also, I've noticed that when holding the space key in constantly-moving mode, dashing seems laggy. I'd like to suggest the feature that holding space key works the same as pressing space key. No dashing again, just dashing once.

To be honest, I'll be fine with doing away with dashing as a whole; it doesn't seem a very realistic feature for flying. Not that we're necessarily going for realistic but since you can already change your speed with a command, I don't see the use for dashing.

Ah I get it. So, no dashing function? I think I can work on removing the whole dashing function.

I'm fine with just the removal of the dashing function, I'll assign this issue to you. That being said, I know I just talked about realism, but maybe we can replace dashing with maybe a 'sprint' kind of feature where holding down the shift key increases movement speed.

Ahh that's a good idea! I'll try to implement that. Thanks for assigning this to me.

dashing has now been removed and replaced with movement speed changes with up/down directions

oh got it. Thanks for notifying!

dashing has now been removed and replaced with movement speed changes with up/down directions


getOwner polyfill

Might be worth to mention in the README that there is a getOwner polyfill available that makes this addon compatible with Ember 1.10+.
https://github.com/rwjblue/ember-getowner-polyfill

Thanks, in README now!


AGX Xavier missing fab

The 401 fab was added in dunfell-l4t-r32.5.0 but missing in this branch

@lfdmn I just cherry-picked over your patch from the 32.5 branch rather than merging this.


Security roles for the middleware and robot

Is your feature request related to a problem? Please describe.
The dashboard requires different permissions based on roles to delete redis relationships, modify policies etc.
Describe the solution you'd like
Admin role and simple user role needed. Also, the robot is below the system admin. Show if a policy set by system admin collides with a robot reject, the policy from system admin prevails.
Modify registration and login endpoints accordingly.

Consider thrid party provider:
https://auth0.com/

This is a duplicate.


[Bug] When I turned on vulkan in tvm, the model was incorrectly compiled

🐛 Bug

When I opened vulkan in tvm and finished tvm compilation, there was an error when I used mlc-llm to compile RedPajama.
To Reproduce
Steps to reproduce the behavior:
1.run python3 -m mlc_llm.build --hf-path RedPajama-INCITE-Chat-3B-v1 --quantization q4f16_1 --target cuda， I get this error：
Automatically using target for weight quantization: cuda -keys=cuda,gpu -arch=sm_75 -max_num_threads=1024 -max_shared_memory_per_block=49152 -max_threads_per_block=1024 -registers_per_block=65536 -thread_warp_size=32
Get old param:   0%|                                                                                | 0/388 [00:00<?, ?tensors/sSegmentation fault (core dumped)                                                                                | 0/518 [00:00<?, ?tensors/s]

Expected behavior

Environment

Platform (CUDA):
Operating system (Ubuntu):
Device (RTX 2060, ...)
 We migrated to a new workflow for model compilation. The flow under python3 -m mlc_llm.build is no longer maintained and will likely be removed soon.
Checkout the new three-step process: https://llm.mlc.ai/docs/compilation/compile_models.html

Closing this one for now. Feel free to open another issue if issues persist!


lib/vscode update to 1.56.2; script to patch vscode automatically

Hi there - we don't really want to make any major changes to our workflow right now, and your branch is nigh-impossible to review, since it mixes both toolchain changes and an update; would you be able to split this up?


submit queue should ensure CI results are fresh

The submit queue automatically re-runs Jenkins before merging, but it's possible for the Shippable and Travis results to be very stale. Because Jenkins doesn't run all of the same verifications and checks currently, it's possible for things to break.
Motivating example: https://github.com/kubernetes/kubernetes/pull/15608 was auto-merged, but it immediately broke the build, since some new docs had been added since its last CI run.
The GitHub API indicates when commit statuses were updated (see https://github.com/google/go-github/blob/master/github/repos_statuses.go#L34); it should hopefully be fairly straightforward to require these to be no more than N days old or retrigger CI if they are stale.
@brendandburns @eparis

Another breaking merge due to stale test results: kubernetes/kubernetes/pull/15674

Right now the bot is only 're-testing' e2e. Even if the unit test is being re-run, it is being ignored. It (obviously) does not care at all how old shippable/travis/jenkin-unit-test are.
We can force a re-test of the jenkins-unit test (if it is fast enough) like we do the e2e test (going to make the bot more complex but I'm sure I can figure it out).
Or I can just make another munger which re-tests jenkins-unit-test every however many days and leaves it 'independent' of the submit queue. That seems a lot easier to me from a code PoV. Every PR that is 'mergeable' and has test more than 2 days old (1 day old?) gets a re-test triggered....
That I can code in an hour or so....

Does the bot only look at the e2e result after triggering? I assumed it looked at all commit statuses, though I haven't looked at the code.
Right now saying "@k8s-bot test this" actually triggers both unit + e2e tests, so if it's looking at all commit statuses it's already re-checking verification/unit tests in the common case.

e2e only. (That can be changed quite easily actually)
But it looks like unit test also passed, so while I can fix the bot to check for both e2e and unit to go pending and come back green, didn't that happen in this case?

ok, now I get it. That was an e2e-not-required.

This is fixed by https://github.com/kubernetes/contrib/pull/287


Fix for ignored certificate information

_tlsOptions was never assigned when building an instance of MqttClientOptions using an MQttClientOptionsBuilder, and certificate information was being lost.
This was a part of the cause of issue #115.

Hi,
please fix the conflicts. Then I will merge the pull request.
Best regards
Christian

I did try to fix it but seem to have made more of a mess of things; I'm unused to the pull request process. Sorry for the hassle.
The effective changes are lines 122 and 126, where the TlsOptions of the active channeloptions needs to be set, instead of setting the channel options themselves (as that also happens later at line 130).
I'll try to fix the code up, if not I'll submit a clean PR. Or feel free to do it yourself if it takes too long.

Don't worry. I will fix the bug on my own. With the previous pull request you are added to the contributor list 😄

Glad I could help! 😃


[Add Issue #15692] Add .list-group-condensed functionality

[Add Issue #15692] Add .list-group-condensed functionality

Closing per my comment in #15692. We're not adding new features in v3 and I don't see this as something that adds much value to the whole project right now either. Thanks though!

Understood. Thanks for the feedback :+1:


PAR-Add-hide-if-function

Adds a hideIf function, which works in the opposite way as the existing showIf function. Sometimes it is easier to read code when it is phrased as hideIf as contrary to showIf.

LGTM 💯


Sync PR

Purpose
This PR is to sync the staging-4.3.0 branch with the 4.3.0 branch.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: DinithiDiaz:x: ChinthakaJ98You have signed the CLA already but the status is still pending? Let us recheck it.