Release build for Cyber

Here is a release build for the Constellation Cyber version you could use. It has been sourced from constellation-app/constellation/.github/workflows/release-build.yml and updated according to steps mentioned in https://github.com/constellation-app/constellation-applications#readme
Note that the GH action for the Cyber release is here because my original idea was that the constellation-applications repository could hold the "building stuff" for all the different versions we choose to release. The only exception is the adaptors version which is still in the constellation repository mainly because that repository holds the downloads statistics.

@antares1470 actually thinking about things further I think that moving the "Constellation Nightly Build"  (.github/workflows/nightly-build.yml) and "Constellation Release Build" (.github/workflows/release-build.yml) files to run from the constellation-applications repository is something I would recommend we do so that all the "release build stuff" happens here. Why I didn't propose this sooner was because I preferred the download count continues (now over 10k) rather than start from 0. But I failed to realise that we can still build everything in this repo but still release from the constellation repo which will preserve the download statistics.
If this is something you support then it would be simply a matter of moving the 2 mentioned yml files to this repository.

@antares1470 actually thinking about things further I think that moving the "Constellation Nightly Build" (.github/workflows/nightly-build.yml) and "Constellation Release Build" (.github/workflows/release-build.yml) files to run from the constellation-applications repository is something I would recommend we do so that all the "release build stuff" happens here. Why I didn't propose this sooner was because I preferred the download count continues (now over 10k) rather than start from 0. But I failed to realise that we can still build everything in this repo but still release from the constellation repo which will preserve the download statistics.
If this is something you support then it would be simply a matter of moving the 2 mentioned yml files to this repository.

@arcturus2 I agree with your logic so that can probably be done at some stage as well


Instantiate AdminKernel

Questions
Answers

Description?
Instantiate the appropriate kernel based on the environment

Type?
bug fix

BC breaks?
no

Deprecations?
no

Fixed ticket?
Fixe issue #35029

Sponsor company
@PrestaShopCorp

How to test?

Why it should instantiate front kernel in dev mode? 🤔 Am I missing something? :D

I'm sorry I started investigating the ticket and I didn't fully understand the problem. The PR is in WIP I'm trying to resolve the problem as quickly as possible.

Hi @ga-devfront
Thank you for your PR, Currently, I tried to  test your PR. The installation going well until I want to go in my admin panel
This is the error showed :

Tested on 8.1.5 and 8.0.5
Do you know how we can improve this ?
Waiting for feedback


test

[Enter feedback here]

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

ID: 86ea2fee-da82-e02a-6928-9d089d2577df
Version Independent ID: 6dab70a5-e50f-248a-445a-7628a024e073
Content: Set up a resource owner password credentials flow - Azure AD B2C
Content Source: articles/active-directory-b2c/add-ropc-policy.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@aunghtet008900
Since this is a test issue I'll go ahead and close this out.
If you have any question, please feel free to create a new GitHub issue.
Thank you!


MeadMicroservice: Update Luarocks and make command improvement

Luarocks fails on version 2.4.4 installation and this PR is created.
Output error:
`Step 41/45 : RUN luarocks install long     && luarocks install lua-resty-jwt     && ldconfig
---> Running in ea0a00f2f0d4
Warning: The directory '/root/.cache/luarocks' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing /usr/local/openresty/luajit/bin/luarocks with sudo, you may want sudo's -H flag.
Installing https://luarocks.org/long-2.0.0-0.src.rock
Missing dependencies for long 2.0.0-0:
bit32 <= 5.3.2-0 (not installed)
long 2.0.0-0 depends on bit32 <= 5.3.2-0 (not installed)
Installing https://luarocks.org/bit32-5.3.0-1.src.rock
In file included from c-api/compat-5.2.c:6:0,
from lbitlib.c:17:
c-api/compat-5.2.h:149:0: warning: "luaL_newlib" redefined
#define luaL_newlib(L, l)
^
In file included from lbitlib.c:12:0:
/usr/local/openresty/luajit/include/luajit-2.1/lauxlib.h:125:0: note: this is the location of the previous definition
#define luaL_newlib(L, l) (luaL_newlibtable(L, l), luaL_setfuncs(L, l, 0))
^
gcc -O2 -fPIC -I/usr/local/openresty/luajit/include/luajit-2.1 -c lbitlib.c -o lbitlib.o -Ic-api
gcc -shared -o bit32.so -L/usr/local/openresty/luajit/lib lbitlib.o
No existing manifest. Attempting to rebuild...
bit32 5.3.0-1 is now installed in /usr/local/openresty/luajit (license: MIT/X11)
long 2.0.0-0 is now installed in /usr/local/openresty/luajit (license: Apache 2.0)
Warning: The directory '/root/.cache/luarocks' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing /usr/local/openresty/luajit/bin/luarocks with sudo, you may want sudo's -H flag.
Installing https://luarocks.org/lua-resty-jwt-0.2.3-0.src.rock
Error: Rockspec format 3.0 is not supported, please upgrade LuaRocks.
The command '/bin/sh -c luarocks install long     && luarocks install lua-resty-jwt     && ldconfig' returned a non-zero code: 1
`

BTW, tested on ARM and x86 platform


elasticsearch 5

the new version of ES doesnt work with docker OOtB so you need to do few changes to the process.
first, after you create a docker host (docker-machine) you need to ssh into the host and update the map
I called my machine "vertx"

docker-machine ssh vertx
Boot2Docker version 1.12.3, build HEAD : 7fc7575 - Thu Oct 27 17:23:17 UTC 201
Docker version 1.12.3, build 6b644ec
docker@vertx:~$ sudo sysctl -w vm.max_map_count=262144
vm.max_map_count = 262144

you also need to make some changes to the docker-compose.yml
  elasticsearch:
    image: elasticsearch
    ports:
      - "9200:9200"
      - "9300:9300"
    restart: always
    command:
      - "-E"
      - "network.host=<IP_ADDRESS>"
      - "-E"
      - "discovery.zen.minimum_master_nodes=1"
    environment:
      ES_JAVA_OPTS: "-Xms1g -Xmx1g -Des.path.conf=/etc/elasticsearch"

here is a working ELK stack I used as reference.
https://github.com/deviantony/docker-elk

Hi, I'd presented instructions for ELK container configuration here: Configuration for ELK stack.  That should work correctly.


Add resources about Cryptography .

In this section i want to add the resources about cryptography, it will help one about to understand the cryptography logics and algorithms . In this resources there will be a section where i will share the CTF for cryptography... and its connection to other CTF.

Please add your personal written Blogs


Allow setting variables using SET command

set query is not working and failing with

only 'select', 'with', 'create table x.y stored as orc' 'drop table', 'use database', 'show databases', 'show tables', 'describe myTable' statements are allowed

all right, thanks


Container query is not working as expected in Auro doc site

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to https://auro.alaskaair.com/components/auro/flightline#:~:text=See code-,Container query,-The auro-flightline
Resize the window to trigger container query
See error

Expected behavior
Flightline UI should trigger at parent container size, not media size.
Screenshots
Expected:

Current:

Desktop/Smartphone (please complete the following information):

OS: [macOS and iOS]
Device: [iPhone 12]
Browser [chrome, safari]
Version [current]

Additional context
The issue appears to be related to the Auro doc site in some way. Running a local demo does not repro this error.

This is because the doc site also loads a bundled version of auro-flight, which includes the old version of auro-flightline. Since the auro-flight version of auro-flightline is defined first, it wins out over the more recent version.
Possible mitigation is to load flightline before flight, but this is an inherent risk of using bundled versions of custom elements (only one version can be defined at a time).

Issue addressed with auro-flight commit https://github.com/AlaskaAirlines/auro-flight/commit/3d66bffc8a84e68f2978800a71bcd2a993404bf2
New issue created https://github.com/AlaskaAirlines/auro-flight/issues/22 to remove the nested dependency.

Screen shot from Auro doc site post release.


Add pre-generated publisher ids for testing

This adds a directory full of publisher ids to test/resources/publisher_ids, and loadPublisherId and savePublisherId functions to src/peer/identity
Doesn't actually use the pre-generated ids in any tests yet :)

Ok, this should be reasonably compatible with my branch, will merge this into mine in a little bit
Thank you!

Superseded by others, closing


Allow use of "audio-first-track-of-language" when "audio-language" unset

Hi. When transcoding a video, I would ideally like to include just the normal audio track in the intended language and nothing else (i.e. no dubs, no commentaries). The only way I can see the automator making this possible is to determine what the spoken language of a film is via IMDB lookup and map that to the available languages. I imagine this is a dicey proposition. So far I have been content just to include all languages.
Second best is to remove any commentary tracks by using the "audio-first-track-of-language" option (copy only "the first occurance of a specific language"). However this option only works for languages I've specified in "audio_language". I don't want to specify any languages in audio_language because I want to copy all languages (seeing as any language audio could be the original language of the film). Can "audio-first-track-of-language" be made to work even if "audio-language" is unset? Am I missing something that prevents this functionality?
I could set audio_language to every language code. But that's a bit of a hack and wouldn't it also then configure the automator to not copy over untagged audio tracks?
Thanks.

Late response but audio-first-track-of-language should work now without a language whitelist


Added download links to the workspace invite message

Details

Added app download page link to the Workspace invite page

Fixed Issues

$ https://github.com/Expensify/App/issues/5774
Tests

Tested the email invite from all platforms
Tested email link redirection
Edited message content removing link

QA Steps

Go to any workspace using sidebar
Click on Manage Members
Click on Invite button at the top
The default welcome note should have use.expensify.com/download link in the message
Enter any email address and click on Invite
You should also receive the email with the use.expensify.com/download as a clickable link

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

PR updated

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @Beamanator in version: 1.1.15-18 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @roryabraham in version: 1.1.16-10 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Start in a non-git directory takes about 400ms

When opening atom in a directory that is not a git repository, git-plus takes substantial time to activate. These are the samples taken when opening atom in an empty directory: 318ms, 388ms, 416ms, 405ms, 418ms, 566ms, 399ms, 395ms, 415ms, 400ms.
In comparison, opening atom with git-plus in a git repository takes always under 10ms.
I'm running atom 1.40.1 with git-plus 8.7.1 under Linux.
Steps to reproduce:

mkdir git-plus-empty-test && cd git-plus-empty-test
atom .
Open timecop

Whoa, that's really weird. Yea that's consistent on my computer too.
I just profiled the actual execution of this package's activation, it only takes at most 4ms in any window, regardless of whether there are any folders/repositories even though timecop reports a much bigger number. I'll have to investigate more but I imagine it's some of the auxillary stuff atom does around the package activation that might be padding the numbers.

Thanks for looking into this!


append the error in the internal server error

What does this PR do?
The assert errors are not returned to the client and hid by the 500 internal server error. Append the real error in the error message so the client can show it. Updates on the python client https://github.com/meta-llama/llama-stack-client-python/pull/44

[x] Addresses issue (#434)

Test Plan
Please describe:

tests you ran to verify your changes with result summaries.
provide instructions so it can be reproduced.

Kick off the server with llama stack run /Users/henrytai/.llama/distributions/llamastack-ollama/ollama-run.yaml --port 5050
Trigger an error case from client. The example is PYTHONPATH=. python -m examples.agents.client localhost 5050 from the llama-stack-apps repo. The issue details:  "This is a known issue with Llama3.2-3B-Instruct on ollama, where the model produces bad tool calling outputs. In this case, the server agent fails due to assert error that "code_interpreter" is not in the AgentConfig's tools field" but the code_interpreter is not really necessary as it is not needed in Llama3.1-8B.

client log:
inference> assistant<|end_header_id|>

Switzerland is a beautiful country with a rich history, stunning mountains, and vibrant cities. Here are three must-visit places in Switzerland:

1. **Geneva**: Geneva is a global hub for international diplomacy and is often referred to as the "City of Peace". It's home to ...

These are just a few examples of Switzerland's amazing attractions!
500: Internal server error: An unexpected error occurred. Tool code_interpreter not found
inference> brave_search.call(query="what is special about #1")...

Showing the real error in the client: Tool code_interpreter not found
Sources
Please link relevant resources if necessary.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[X] Ran pre-commit to handle lint / formatting issues.
[X] Read the contributor guideline,
Pull Request section?
[ ] Updated relevant documentation.
[ ] Wrote necessary unit or integration tests.

So this is actually not what we want. Because this would mean we are potentially exposing private server-side state (could be something sensitive too) directly to the user. The best you can do is log the exception (which I believe is already logged?)

Agree that reporting all exceptions in http 500 response is too much and might include some sensitive info from the server.
We have a bunch of asserts in llama_stack/providers/inline/agents/meta_reference/agent_instance.py, like assert name in tools_dict, f"Tool {name} not found" and these assert errors are not reported to the client. The server indeed logs those errors but the server is not sending the error message to the client. The client side has no idea what happens and only receives http 500.
I have updated to catch the AssertionError and return the details in the http 400 response. This ensures we only send important error instead of all errors.

@ashwinb Can you review this PR please?


Added the ability to retrieve the generated One-Time Password from the Login if available.

To test this feature you must use 1Password for iOS 5.4.1.BETA-1 or later.
This PR should resolve #163.

Whoo hoo!

:+1:


[Feat] Adding the support for setters

Description
This PR tries to handles #39
It's my first time touching to checker, so not sure if what I'm doing is exactly what is expected, so feel free to tell me if I'm mistaking somewhere

Hey @JulesGuesnon, apologies that there wasn't information on the issue prior to the PR. Let me know if you still want to work on this based on the new information in the issue, or want any more pointers or me to start the implementation off etc.

hey @kaleidawave really sorry for the delay, the end of this year has been a lot of changes in my personal life, so I've suddenly became quite busy.
I still want to work on this, but not sure when I'll have the time tho. So if you want to do it or have the time to do so, please feel free to do it, otherwise I'll do it once I find some time

Awesome, totally understand 👍 Closing this PR as I think it would be better for any second attempt to start afresh. Thanks for the attempt (and thanks for #91, have noticed the codebase feeling a lot less messy recently)


OSM Toilets exist

Sorry if this is the wrong repo.
A growing number of OSM POIs are now tagged with toilets:wheelchair=no, but are missing toilets=yes or amenity=toilets. It's impossible for an client of OSM to know whether there are toilets, just not accessible, or there aren't toilets at all. The inverse is also true, you get toilets:wheelchair=yes without toilets=yes/amenity=toilets so the client might not show that a POI would have any toilets, accessible or not.
This of cause leads to some odd issues, like a bus stop, without disabled toilets, but might have actual toilets. We of cause know that it should have toilets=no too, but a client may not. And here is a church, we don't know if it has toilets, but it does have disabled toilets.
There are thousands of occurrences of this, you can check with overpass:
nwr["toilets:wheelchair"="no"][!"toilets"]

It would be great if when collecting data from users you could ask them, and then add the tag to OSM.

Thanks for your input!
The first case you've linked is a bit older, this wouldn't happen with the current implementation anymore.
 Wheelmap displays a link to the next accessible toilet anyway since a while ago, even if it belongs to a different PoI - so you can still find it when starting from a bus stop.
We require a place to be tagged as wheelchair accessible before you can tag if it has an accessible toilet. This seems like a sensible default as there are real-world cases of 'accessible' toilets hidden behind non-accessible stairs and entrances, but showing them in the UI causes more confusion than it helps anyone.

We're currently working on an overhaul of the whole OSM backend to allow more complex attribute tagging, and to sync the more complex 'Add a place' survey content with other sensible OSM tags. This will allow us to add toilets=yes when a user adds a toilet in a survey. The whole project involves a huge effort with a lot of refactoring, so I hope you understand the current behavior will have to stay as it is for a while. I'll leave the issue open until have a better means to fix it.

the current behavior will have to stay as it is for a while

Yeah, that's fine, I just wanted to make sure you were aware of the problem.
I think your current workflow is good, but adding 1 question after the user says the toilets are not accessible might be the way to go:
Wheelchair accessible?
|-No
 |-Send OSM `wheelchair=no`
|-Yes/Limited
 |-Accessible toilets?
  |-Yes
    |-Send to OSM `wheelchair=yes toilets=yes toilets:wheelchair=yes`
  |-No
+  |-Are there inaccessible toilets?
+   |-No
+    |-Send to OSM `wheelchair=yes toilets=no`
+   |-Yes
+    |-Send to OSM `wheelchair=yes toilets=yes toilets:wheelchair=no`

Or you could tri state the "Accessible toilets?" question into:
Yes, toilets are accessible. (wheelchair=yes toilets=yes toilets:wheelchair=yes)
No, there are toilets but they are inaccessible. (wheelchair=yes toilets=yes toilets:wheelchair=no)
No, there are no toilets at all. (wheelchair=yes toilets=no)
Anyway good look with the refactoring, this is a great project. :)

Thanks for the detailled suggestion! I'll consider your flow when coming back to this feature's code again.


new web components page created and added to nav

This branch contains the new web components page that explains why we are building components based on the W3C web components specification v1 using custom elements

@aaronhans @zakiya Apologies, I completely neglected to include notes with each pull request. My primary focus has been to condense the bulleted Resources section, so you'll notice all of my edits are in that area.

Good to go @timothyshambra, Thank you!


Error on import CU 825

I confirm the error mentioned above there is a missing } at the end.

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

ID: 46b64094-643d-27c5-15c6-3bc5d8238dab
Version Independent ID: cedb5b8f-1b2b-4999-5933-1005e11fb4d2
Content: Mock Code for Codeunit 824 DO Encryption Mgt. - Dynamics NAV
Content Source: dynamics-nav/Resolve-Dynamics-Online-Errors-Database-Conversion.md
Service: unspecified
GitHub Login: @jswymer

Thanks for your feedback. This will be fixed in the next refresh of the documentation.


Add ref.semverFilter to OCIRepository API

To cope with the semver range limitation where it's not possible to select only pre-releases, I propose we introduce regex filtering capabilities similar to what we have in ImagePolicy.
Example of selecting only pre-releases:
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
  name: podinfo
  namespace: default
spec:
  interval: 5m0s
  url: oci://ghcr.io/stefanprodan/manifests/podinfo
  ref:
    semver: '>=1.0.0-0' # select latest version stable and pre-releases
    semverFilter: '.*-rc.*' # include only release candidates

hello @stefanprodan. Is it possible to add similar to GitRepository?


Implement some methods on Literal::Array

Implementation and tests for:

Literal::Array#*
Literal::Array#+
Literal::Array#-

Closes #152
Closes #151
Closes #153
Closes #156
Closes #160
Closes #162
Closes #184

I’m going to merge this and then take a look at +. I want to remove @__generic__. After benchmarking, it looks like it's not worth storing that object.


Form Field and/or Switch styling is different in IE/Edge vs Chrome/Firefox

I'm submitting a:

[x] bug report
[ ] feature request

What browser(s) is this bug affecting:

Edge and IE11
Current behavior:

IE11 and Edge looks like this:

Chrome and Firefox looks like this:

Expected behavior:

I'm not sure what how the spacing here is supposed to work, but it should be the same in all browsers. See also https://github.com/material-components/material-components-web-components/issues/380 which describes how the styling of Form Field seems is kind of odd in all browsers.
Steps to reproduce:

<mwc-formfield label="Label">
  <mwc-switch></mwc-switch>
</mwc-formfield>

Probably related to #380


Update index.scala.html

Starts minimized to the left now

Can u merge them all into this branch? :)
Simply click "edit" next to the title and change the base of the other PRs to this branch? :)

trying .. missing the css tho for some reason ..

Looking good! Merging and deploying soon


[Feature Request]: GCP Matching Engine Support

Feature Description
I would like to add support for GCP Matching Engine as a vector store.
Reason
I don't see GCP listed in https://github.com/run-llama/llama_index/tree/main/llama_index/vector_stores . We would have to write a custom vector store, but I feel like it could be include in the repo.
Value of Feature
Allow Google Cloud Users to easily integrate with Llamaindex.

torvalds.dev is analyzing the ticket

From the issue description and the provided code, it seems that the user wants to add support for Google Cloud Platform's (GCP) Matching Engine as a vector store in the Llama Index project.
The Llama Index project currently supports various vector stores as seen in the llama_index/vector_stores/__init__.py file. Each vector store has its own Python file in the llama_index/vector_stores/ directory, and they are imported in the __init__.py file.
The llama_index/vector_stores/opensearch.py file is an example of how a vector store is implemented. It contains a class that inherits from the VectorStore class and implements the required methods.
To add support for GCP Matching Engine, the following steps should be taken:

Create a new Python file in the llama_index/vector_stores/ directory for the GCP Matching Engine vector store. This file should contain a class that inherits from the VectorStore class and implements the required methods.

Import the new GCP Matching Engine vector store in the llama_index/vector_stores/__init__.py file.

Test the new vector store to ensure it works correctly with the Llama Index project.

Relevant files to this issue are:

llama_index/vector_stores/__init__.py: This file imports all the vector stores. The new GCP Matching Engine vector store should be imported here.

llama_index/vector_stores/opensearch.py: This file is an example of how a vector store is implemented. It can be used as a reference when implementing the GCP Matching Engine vector store.

llama_index/indices/managed/types.py: This file contains the ManagedIndexQueryMode class. It might be relevant if the GCP Matching Engine vector store needs to support different query modes.


Mirror will not work if there is a slash at the end of source URL

What happened?
Hi
I found that if I use "https://repo1.maven.org/maven2/" (with the "/" at the end), I can't fetch any depdency from reposilite.
It's hard to be aware of this limitation, and took me so long the debug.
I think it's good to emphasize what the URL should look like in web UI.
Or even better, reposilite can undertsand the URL with or without "/" at the end.
Reposilite version
3.x
Relevant log output
No response

Yup, we should definitely cover that case. Would you like to submit PR with a fix? :)


Add a basic README

Fill out a basic README.
Fixes #1
Notes to reviewer
I struggled a bit to come up with a decent description of this gem. I'm not sure if that's because it's not solving a well enough defined problem or if it's just a bit late on a Friday but any suggestions for improvements are welcome!

@tmtmtmtm 👀


Hub addition

Any chance you add the Flipr hub so that we can turn it on and off from HA?
Thanks.

Hi, I have not any Flipr hub and I do not plan to buy one since I use a sonoff to start and stop my pool pump.
One contributor has proposed a PR on the flipr api that handle the hub's api.
Feel free to propose a PR on this integration to add flipr's hub entity to homeassistant.

For information, I have a pull request on it that I will analyze : https://github.com/cnico/hacs-flipr/pull/5


chore(main): release 1.0.6

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

use bin from container to fix permission issues (#21) (af3c6c1)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.6
:sunflower:


Enhance curves and surfaces

Allow conversion from Curve to NodalCurve and same for Surface
Add applyPerturbation() to Surface

Reviewed post-merge.


No Licence

It would be nice if this project received a proper specification of the licence it falls under in its project Root.
Something like MIT, Apache, or GNU if you choose to keep it open source would be amazing.
Thanks for the nice project.

Thanks to you and apologize for the delay.

@diegomvh So what is the licence now?

Hi, @OrionDevelopment
How strange, I forgot to add the license.
Now yes, MIT license.
Thanks again


Integration Test - Release - 2019/03/14 21:01:11

Auto create for integration test. IssueCommandFlow

@PRMergerTest2 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


DiscordCanary fails to install

Create issues related to the winget.exe client here

Brief description of your issue
Discord.DiscordCanary fails to install.

Steps to reproduce
winget install Discord.DiscordCanary

Expected behavior
The Discord Canary application is installed succesfully.

Actual behavior
The DiscordCanary installer gives an error.

The winget CLI says the package was installed succesfully

When downloading the package via a browser using the link winget provides, the installation is succesfull.

Environment
[winget --info]
Windows Package Manager version v1.0.11451
Windows: Windows.Desktop version  v10.0.19042.985
Package: Microsoft.DesktopAppInstaller version v1.11.11451.0

Any other software?
No

I'm unable to reproduce:

I'm unable to reproduce:

Is this a corporate machine?

No, this is a personal machine

I can install the package normally when downloading the installer from that link via a browser.

Can you post any logs you have from the install attempt? winget --info will give you your log location.

2021-06-08 20:35:46.152 [CORE] Subkey 'Software\Policies\Microsoft\Windows\AppInstaller' was not found
2021-06-08 20:35:46.153 [CORE] Setting action: Get, Type: UserFile, Name: settings.json
2021-06-08 20:35:46.250 [CORE] Settings loaded from settings.json
2021-06-08 20:35:46.250 [CORE] Setting .visual.progressBar not found. Using default
2021-06-08 20:35:46.250 [CORE] Setting .source.autoUpdateIntervalInMinutes not found. Using default
2021-06-08 20:35:46.250 [CORE] Setting .experimentalFeatures.experimentalCmd not found. Using default
2021-06-08 20:35:46.250 [CORE] Setting .experimentalFeatures.experimentalArg not found. Using default
2021-06-08 20:35:46.260 [CORE] Setting .experimentalFeatures.experimentalMSStore not found. Using default
2021-06-08 20:35:46.260 [CORE] Setting .telemetry.disable not found. Using default
2021-06-08 20:35:46.260 [CORE] Setting .installBehavior.preferences.scope not found. Using default
2021-06-08 20:35:46.260 [CORE] Setting .installBehavior.requirements.scope not found. Using default
2021-06-08 20:35:46.260 [CORE] Setting .network.downloader not found. Using default
2021-06-08 20:35:46.260 [CORE] Setting .network.doProgressTimeoutInSeconds not found. Using default
2021-06-08 20:35:46.260 [CORE] Setting .installBehavior.preferences.locale not found. Using default
2021-06-08 20:35:46.260 [CORE] Setting .installBehavior.requirements.locale not found. Using default
2021-06-08 20:35:46.261 [CORE] WinGet, version [1.0.11451], activity [{98D320CE-5DE8-41A2-B143-DD0195C9621B}]
2021-06-08 20:35:46.262 [CORE] OS: Windows.Desktop v10.0.19042.985
2021-06-08 20:35:46.262 [CORE] Command line Args: winget  install Discord.DiscordCanary
2021-06-08 20:35:46.262 [CORE] Package: Microsoft.DesktopAppInstaller v1.11.11451.0
2021-06-08 20:35:46.341 [CLI ] WinGet invoked with arguments: 'install' 'Discord.DiscordCanary'
2021-06-08 20:35:46.341 [CLI ] Found subcommand: install
2021-06-08 20:35:46.341 [CLI ] Leaf command to execute: root:install
2021-06-08 20:35:46.341 [CLI ] Executing command: install
2021-06-08 20:35:46.348 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2021-06-08 20:35:46.354 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2021-06-08 20:35:46.355 [REPO] Default source requested, only 1 source available, using the only source: winget
2021-06-08 20:35:46.355 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2021-06-08 20:35:46.355 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2021-06-08 20:35:46.356 [REPO] Named source requested, found: winget
2021-06-08 20:35:46.415 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2021-06-08 20:35:46.415 [CORE] Found matching extension.
2021-06-08 20:35:46.502 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2021.608.1921.899_neutral__8wekyb3d8bbwe\Public\index.db'
2021-06-08 20:35:46.502 [SQL ] Opening SQLite connection: 'file:/C:/Program Files/WindowsApps/Microsoft.Winget.Source_2021.608.1921.899_neutral__8wekyb3d8bbwe/Public/index.db?immutable=1' [1, 40]
2021-06-08 20:35:46.505 [REPO] Opened SQLite Index with version [1.3], last write [2021-06-08 20:21:07.000]
2021-06-08 20:35:46.755 [CLI ] Found one app. App id: Discord.DiscordCanary App name: Discord Canary
2021-06-08 20:35:46.757 [REPO] Downloading manifest
2021-06-08 20:35:46.757 [CORE] WinINet downloading from url: https://winget.azureedge.net/cache/manifests/d/Discord/DiscordCanary/1.0.34/87b2-Discord.DiscordCanary.yaml
2021-06-08 20:35:46.864 [CORE] Download hash: 5d754acb8c91866e8efb35666bbfe8ed2b2c0f440df237227555920d338772b4
2021-06-08 20:35:46.864 [CORE] Download completed.
2021-06-08 20:35:46.866 [CLI ] Manifest fields: Name [Discord Canary], Version [1.0.34]
2021-06-08 20:35:46.872 [CLI ] Starting installer selection.
2021-06-08 20:35:46.872 [CLI ] Completed installer selection.
2021-06-08 20:35:47.004 [CLI ] Generated temp download path: C:\Users\daan_\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\Discord.DiscordCanary.1.0.34
2021-06-08 20:35:47.008 [CORE] Downloading to path: C:\Users\daan_\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\Discord.DiscordCanary.1.0.34
2021-06-08 20:35:47.010 [CORE] DeliveryOptimization downloading from url: https://dl-canary.discordapp.net/distro/app/canary/win/x86/1.0.34/DiscordCanarySetup.exe
2021-06-08 20:36:16.795 [CORE] Download completed.
2021-06-08 20:36:18.080 [CORE] Started applying motw to C:\Users\daan_\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\Discord.DiscordCanary.1.0.34 with zone: 3
2021-06-08 20:36:18.101 [CORE] Finished applying motw
2021-06-08 20:36:18.103 [CLI ] Installer hash verified
2021-06-08 20:36:18.103 [CORE] Started applying motw to C:\Users\daan_\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\Discord.DiscordCanary.1.0.34 with zone: 2
2021-06-08 20:36:18.104 [CORE] Finished applying motw
2021-06-08 20:36:18.105 [REPO] Creating PredefinedInstalledSource with filter [ARP]
2021-06-08 20:36:18.105 [REPO] Creating new SQLite Index [4294967295.4294967295] at ':memory:'
2021-06-08 20:36:18.105 [SQL ] Opening SQLite connection: ':memory:' [6, 0]
2021-06-08 20:36:18.211 [REPO] Examining ARP entries for Machine | X64
2021-06-08 20:36:18.275 [REPO] Examining ARP entries for Machine | X86
2021-06-08 20:36:18.331 [REPO] Examining ARP entries for User | X64
2021-06-08 20:36:18.627 [CLI ] Installer args: /s
2021-06-08 20:36:18.631 [CLI ] Successfully renamed downloaded installer. Path: C:\Users\daan_\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\Discord.DiscordCanary.1.0.34.exe
2021-06-08 20:36:18.634 [CLI ] Starting: 'C:\Users\daan_\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\Discord.DiscordCanary.1.0.34.exe' with arguments '/s'
2021-06-08 20:36:23.901 [REPO] Creating PredefinedInstalledSource with filter [ARP]
2021-06-08 20:36:23.901 [REPO] Creating new SQLite Index [4294967295.4294967295] at ':memory:'
2021-06-08 20:36:23.901 [SQL ] Opening SQLite connection: ':memory:' [6, 0]
2021-06-08 20:36:24.064 [REPO] Examining ARP entries for Machine | X64
2021-06-08 20:36:24.132 [REPO] Examining ARP entries for Machine | X86
2021-06-08 20:36:24.186 [REPO] Examining ARP entries for User | X64
2021-06-08 20:36:24.339 [CLI ] During package install, 0 changes to ARP were observed, 0 matches were found for the package, and 0 packages were in both
2021-06-08 20:36:24.339 [CLI ] No single entry was determined to be associated with the package
2021-06-08 20:36:24.340 [CLI ] Removing installer: C:\Users\daan_\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\Discord.DiscordCanary.1.0.34.exe
2021-06-08 20:36:24.365 [CLI ] Leaf command succeeded: root:install

Subkey 'Software\Policies\Microsoft\Windows\AppInstaller' was not found

I can see that's what causes the issue to not install the application... maybe try reinstalling app manager


Provide a new method to match the binary format ngx.var.binary_remote_address?

If the performance of this method is better, we can implement this.


redirect_uri in app

Hi Guys  first of all great tool
I am trying to get the full url or at least the redirect_uri in the login page ( in react) is there any way to do that? i tried different things but wasnt able to find it.
thank in advance

Hello @d-sooter,

Hi Guys first of all great tool
Thanks!

I am trying to get the full url or at least the redirect_uri in the login page ( in react) is there any way to do that? i tried different things but wasnt able to find it.

I assume that what you are trying to acheive is to get the refferer_uri so that when users click on the header they get redirected to the app that redirected the user to Keycloak.
Unfortunately Keycloak does define a way do do that. But I can show you how we do it:
https://github.com/InseeFrLab/onyxia/blob/0de661846a206f8fa02971b23cedefb7123530ca/web/src/keycloak-theme/login/tools/getReferrerUrl.ts#L1-L41
It's a bit hacky, we remove the /callback at the end of the path if it exist.
Without using any third party lib it should look something like:
function inferRefererUrlFromUrl() {
    const queryParams = new URLSearchParams(window.location.search);
    const redirectUri = queryParams.get('redirect_uri');

    if (redirectUri) {
        // Create a URL object from the redirectUri
        const redirectUrl = new URL(redirectUri);
        // Clear all query parameters from redirectUri
        redirectUrl.search = '';
        // Remove trailing 'callback/' or 'callback' from the path
        redirectUrl.pathname = redirectUrl.pathname.replace(/callback\/?$/, '');
        return redirectUrl.href;
    }

    return undefined;
}

const localStorageKey = 'theme-onyxia_refererUrl';

export function getReferrerUrl() {
    const refererUrl = inferRefererUrlFromUrl();

    if (refererUrl === undefined) {
        return localStorage.getItem(localStorageKey) ?? undefined;
    }

    localStorage.setItem(localStorageKey, refererUrl);

    return refererUrl;
}

Hope it helps

Thanks a lot i will try that out. My use case is actually a lot simpler. We have a multi-tenant thing going on but all happening in one realm. We have a custom theme, but allow custom background images or logos to be set per tenant.
then i use the subdomain in the redirect url to detect which tenant the request is coming from and load the proper logo an picture.
Or is there another way to pass a custom query param or header to the request and pick it up in keycloakify? We are only interested in the login page.

Ok I see,
For that usecase in perticualr we have the theme variant feature that you might want to consider.
https://docs.keycloakify.dev/build-options#extrathemenames
You can select the theme at the Keycloak client configuration level in Keycloak.
To load different global css file based on the theme name you can implement this strategy:
// src/keycloak-theme/login/useGlobalStylesheet.ts
import { useMemo } from "react";

export function useGlobalStylesheet(themeName: string){
    useMemo(() => {
        switch(themeName){
            case "keycloakify-starter":
                // @ts-expect-error
                import("./keycloakify-starter.css");
                break;
            case "keycloakify-starter-variant-1":
                // @ts-expect-error
                import("./keycloakify-starter-variant-1.css");
                break;
        }
    }, [themeName]);
}

// src/keycloak-theme/login/KcApp.tsx

import { useGlobalStylesheet } from "./useGlobalStylesheet";
// ...

export default function KcApp(props: { kcContext: KcContext; }) {
  const { kcContext }= props;
  // ...

  useGlogalStylesheet(kcContext.themeName);

  // ...

https://docs.keycloakify.dev/theme-variants


hide openseadragon until all tiles added

This closes #6 .
I've set the openseadragon element to bootstrap's d-none until all the tiles have been added, which is the soonest that we can set the viewport to the correct position.

merged into #16


help?

Why can't i find the help email address on the new site?  Shouldn't this be displayed prominently?  The issues with not having the email address on the website are  are 1) Unless the user is logged in or remembers to add their email address, you might not know who sent the feedback and 2) I sometimes want to pass the help email along to workshop participants or post it in tutorials.  I guess my main issue is the loss of the "contact us" form.

I was asked to remove the contact us form, but am happy to add it back.  In any case, I have added the ability to put your email in the report problem form as well as attach screenshots.

I don't remember the reason for removing the Contact Us form, but it
seems to me it should be there.  Any objections to Dustin adding it
back?  If so, please elaborate.
Thanks,
Ron
On 1/25/17 2:41 PM, Dustin Machi wrote:

I was asked to remove the contact us form, but am happy to add it
back. In any case, I have added the ability to put your email in the
report problem form as well as attach screenshots.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PATRIC3/patric3_website/issues/1402#issuecomment-275211436,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADCnWiuOy87Ca_rbQYGyVEkbbqC9TxiPks5rV6VzgaJpZM4Lec0F.Web
Bug from
https://github.com/notifications/beacon/ADCnWuGXfBJapdiqmIXSysPioYx6nuQgks5rV6VzgaJpZM4Lec0F.gif

--
Ron Kenyon
PATRIC Project Manager, patricbrc.org
Project Director, Biocomplexity Institute
Virginia Tech
<EMAIL_ADDRESS>

no objection. please go ahead.

@dmachi @hyoo
Looks like there is consensus here. Please make the change and close the ticket.


[META] encourage the use of StackOverflow

add the following to:

a sensible, central location
link to it in every project's README
suggest StackOverflow in pinned messages in all dev support channel

Have a Question about Anything NEAR?
(1) We're committed to learning in public
You'll find answers to popular questions about NEAR on StackOverflow tagged with nearprotocol as well as various FAQs in our Documentation.  Please feel free to ask us anywhere you find us and know that the first thing we'll do is point you to StackOverflow
(2) We're committed to developing our learning community
When we hear a new question, we'll ask you to post it on StackOverflow or offer to post it ourselves, always tagging questions with nearprotocol.  Once a new question is posted, we always want to bring it back to the channel where it was originally asked so anyone else following along knows where to look for the answer.
(3) We're committed to growing stronger together
No matter where or how we communicate, we will always trust your judgement and ours to know when to promote something to StackOverflow and tag it with nearprotocol.  Over time, we trust ourselves as a capable and curious community to identify the qualities of useful, helpful questions and answers that will ultimately add value to our collective effort.

This is framed from the NEAR perspective rather than the question-asker's perspective.  Would be more actionable / navigable to trim the copy and change the perspective, eg at least including a numbered list with the clear "how to ask your question" procedure and minimize the "We're committed to..." self congratulation.

rewrite -- how's this?

Have a Question about Anything NEAR?
(1) Is your question already posted on StackOverflow?
We pay very close attention to questions tagged with nearprotocol on StackOverflow.
(2) Do you need help posting your question on StackOverflow?
We understand that sometimes we don't know enough to ask a meaningful question -- what we need is a conversation to discover the right questions. In this case just find us on Telegram or Discord. We'll be happy to help and appreciate your support in reposting our discussion to StackOverflow afterwards.
(3) Should we be doing something differently?
If you have any recommendations for us on how to improve our community education and support channels, we're wide open to your feedback.

ok to go on the docs home page?
https://docs-pr-250.onrender.com (just above the footer)
see https://github.com/nearprotocol/docs/pull/250

Yes but it needs some design love.  Could deploy first then fix the design after.  The big problem for me is that it expands outside any bounding box on a wide screen which looks janky.  But not a bad idea to have @jakestutzman do a quick treatment in wordpress to keep it in alignment.

@amgando @eriktrautman why do we need to have the link to the Stack Overflow tag in a separate text? Could we just add a question button in the bottom right or similar?

If you mean add a button to the UI which says “ask a question about this on
stack Overflow” to every page that sounds great to me.
On Tue, Sep 15, 2020 at 2:20 PM AnaisUrlichs<EMAIL_ADDRESS>wrote:

@amgando https://github.com/amgando @eriktrautman
https://github.com/eriktrautman why do we need to have the link to the
Stack Overflow tag in a separate text? Could we just add a question button
in the bottom right or similar?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/near/docs/issues/222#issuecomment-692678158, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWW5HSJYNWLPQF3OXOWDJLSF5LZNANCNFSM4KVW6EZQ
.

--
—
Erik S. Trautman
CEO, NEAR Foundation
https://www.nearprotocol.com


Export refactor

This PR adds the refactored exportcalaccesscampaignfinance mgmt command and adds a new import_to_sql_server mgmt command as well. Docs and formatting are still needed so do not merge without Travis passing and docs. Thanks!

Changes Unknown when pulling a64101caa10b24b3cdb0a9f953024f839f2a2413 on export-refactor into ** on master**.


Lazy loading of command table data in interactive.

-this will allow the completers, which rely on the command_table, to kick in right from the get-go.
-parameter completers will not have to wait for full command table dump.
Environment summary
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)

add feature request.


Remove version: Insco.PicGuard version <IP_ADDRESS>2

Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/picguard/picguard/releases/download/v1.0.0%2B382/picguard_1.0.0+382_windows_x64_en-US.msi
OK
(Automated message - build 923)

Close with reason: Package still available;


[WIP] Fix pagination in the "list_nodes()" method in the GCE driver

This pull request is an attempt to try to fix an issue reported in #515.
Background / Problem Description
Currently list_nodes() method only returns up to 500 nodes (which is a page size value we use with our list requests and also a max page size limit set by Google).
This is true either when we are requesting nodes for all the zones (aggregated request) or when requesting nodes for a single zone.
Proposed Fix
This pull request fixes that by utilizing request_aggregated_items method in both scenarios (when we are requesting nodes in all the zones and also when requesting nodes for a single zone).
I tested the change by setting maxResults in the request_aggregated_items method to 1 and verified that all the pages are correctly retrieved since I don't have an account with more than 500 instances to test it out.

On a somewhat related note -  unless I'm missing something, it appears the same issue may also exist with other "list" API endpoints when retrieving items for a specific zone and that response contains more then max page size number of items (since we don't follow through pagination when requesting items for a single zone).
I tested the following scenarios:

List nodes for all the zones
List nodes for a particular zones with multiple nodes in that zone
List nodes for a particular zone with no nodes in that zones

As you can see in the diff, this change also allowed me to simplify list_nodes() method. If my assertion / observation above is correct, this would mean we can also simplify other list methods.
@erjohnso Please correct me if I'm wrong or missing something.

Codecov Report

Merging #1409 into trunk will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##            trunk    #1409      +/-   ##
==========================================
+ Coverage   86.46%   86.46%   +<.01%
==========================================
  Files         366      366
  Lines       76773    76770       -3
  Branches     7529     7528       -1
==========================================
- Hits        66378    66377       -1
+ Misses       7527     7525       -2
  Partials     2868     2868

Impacted Files
Coverage Δ

libcloud/compute/drivers/gce.py
76.9% <100%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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


set timeout for JsonMethodPlugin post requests

By default, angular httpClient has a timeout of 1min. But since OpenAI ChatGPT completion requests may take several minutes to respond, I've added in options parameter a way to specify a timeout in minutes. I'm sure it's not the best way to do it...

Are you sure this works? It seems to me that you are adding a timeout on top of the existing one (if any).
Looking at this post, it doesn't look like Angular has a default timeout for requests. You might be facing a default timeout of the server (maybe from sinequa or iis?).
https://stackoverflow.com/questions/45938931/default-and-specific-request-timeout
Either way, this problem will be solved soon, because we are implementing a streaming API, so that very long answers can be displayed right from the beginning.

Are you sure this works? It seems to me that you are adding a timeout on top of the existing one (if any). Looking at this post, it doesn't look like Angular has a default timeout for requests. You might be facing a default timeout of the server (maybe from sinequa or iis?). https://stackoverflow.com/questions/45938931/default-and-specific-request-timeout

I've been inspired by the above stackoverflow post to handle specific timeout per request (by using the options parameter).
Like suggest in this post, using an HttpInterceptor + HttpHeaders is much more elegant than my solution. ;-)
By default, angular httpclient kills the requests having a duration longer than 1 minute and set their http status to 504 (I was able to reproduce that).
Some are pretending it's 30s, but it's not what I've observed...
GLLM call are often longer than 1 min, since we are using the OpenAI API (not the Azure OpenAI service, we are still in the waitlist for Azure OpenAI GPT4 Preview).

Either way, this problem will be solved soon, because we are implementing a streaming API, so that very long answers can be displayed right from the beginning.

you mean WebSocket?

Are you sure it's the Angular HttpClient that kills the request and not Sinequa/IIS/dev proxy?
The solution you propose adds a timeout, but I don't think it can replace the existing one. (the pipe() method just appends operators, but it has no control over the upstream pipe)

you mean WebSocket?
No, Server-Sent Events https://developer.mozilla.org/fr/docs/Web/API/Server-sent_events/Using_server-sent_events

Are you sure it's the Angular HttpClient that kills the request and not Sinequa/IIS/dev proxy? The solution you propose adds a timeout, but I don't think it can replace the existing one. (the pipe() method just appends operators, but it has no control over the upstream pipe)

whoops... I have tested locally this "fix". Actually the timeout is triggered by AWS ELB...


Shelly WiFi module maintenance

17-12-2023

Firmware upgrades available.

17-12-2023

Shelly EM3 - Upgraded to Current version: 20230913-114244/v1.14.0-gcb84623
Shelly 1PM - Upgraded to Current version: 20230913-113709/v1.14.0-gcb84623


Feature different placeholder in input filter

Request by the users on #785  and stackoverflow:
https://stackoverflow.com/questions/52232701/how-to-update-placeholder-text-in-ng2-smart-table/53216634#53216634

@nnixaa Is there any plan to merge this one?

@RSginer - There are conflicts in this PR. Can you please fix the conflicts so that this can be merged?

@lagneshthakur yes, let me check

@lagneshthakur done

Any news??

PLEASE MERGE THAT ON MASTER :(

@backciro sorry but I can not do it, just a repository admin can. @nnixaa

can we set different placeholders now

Any news on this?

i have found a simple way to accomplish this, that could be used as a wark arround until this PR is merged.
i have explained the solution on the mentioned stackoverflow question, and the answer could be found here:
https://stackoverflow.com/questions/52232701/how-to-update-placeholder-text-in-ng2-smart-table/70960970#70960970

Please can this be merged, it is a basic requirement.

I also need this feature


Wont bypass

Describe the bug
It will not bypass what i am trying to do and just fails consistently
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-ud3wrwd2
Steps to reproduce
I wanted to create a platform and it would keep failing
Expected behavior
should just move forward easily
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 53890956,
  "usedJSHeapSize": 48509252,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = phenkel49
Chat ID = ddaf07b5f351

Additional context
No response

SyntaxError: The requested module '/node_modules/lucide-react/dist/esm/lucide-react.js?v=33f4f7ec' does not provide an export named 'Tool'


I don't understand why this dependency is not loaded

This is what I have. I tried all 4 combinations of modApi/modImplementation and with/without include, after each time running build again. build doesn't complain. However, I do not get any suggestions for Component or import dev. when I ask Idea, and searching in the external resources shows no Component interface.
What am I missing? (I'm new to gradle AND Idea, so it might be something obvious)

Okay, it seems to work when I load module by module.

No idea what you mean by "this" because that screenshot is unreadable, but guess you already fixed it


Option to not show icon in address bar

Hi. Love the extension, it's exactly what I was looking for!
IMO it would be even better without the bright red icon in the address bar, though. It really sticks out among the other, white, outline icons there, and I don't see the use for it.
An option to remove it, or just removing it completely if creating an option to turn off and on is too much work, would be appreciated!
Thanks so much for your work!

good point, thx


Use stacks-blockchain-api for all transaction calls

Extract the code to wait for a response into a transaction status component

done


Weave Net shows up twice in GUI in ECS

An option to view Weave Net shows up twice in the GUI, under Services and under Hosts.

A similar thing used to happen to me before (I think BY IMAGE Container sub-topology was also appearing under processes), but only when running Scope UI locally and I assumed it had to do with hot reloading... Two questions:

Does everything look good when you refresh the page?
What happens when you click on both Weave Nets:
a. Do they show the same topology?
b. Does it ever happen that the other WEAVE NET label is highlighted, and not the one you clicked on?

Also, a bit more info on how you got to that state might be helpful to reproduce the bug. :)
Feels a lot like a UI bug, but wouldn't put the tag before investigating more...

@fbarl apologies for the vague description.
I think this occurred when I was running the AWS Cloudformation template for AWS. But let me check that and I will update the issue.

@abuehrle Is it reproducible?

No seeing this with our cloudformation template.   This occurred when we were setting up the demo for DockerCon, and we were setting up a preview version of DockerSwarm in Cloud. I will close this one for now and if I see it again will log a new issue.


Remove DesignableGradientView

To keep the API simpler, remove DesignableGradientView
First breaking change, 😁😁
Reviewer @tbaranes
Refer to https://github.com/JakeLin/IBAnimatable/issues/86

:tada:

close #87

Is it really closing this issue? That make the API nicer but fix the layer issue: it doesn't rotate...

Sorry, you are right, reopen issue #86


Ci improvements

This is the second version of this. This will run the python lint, helm lint, kubernetes validation in parallel and does the docker build only if that succeeds. Besides that, it will only run deploy if all of that succeeds and we are on "master" branch.
This obviously does not call the deploy because that's still a bit broken, but it should work. Test run here: https://travis-ci.com/github/toolforge/paws/builds/179500608
Also, my only concern on this change is here: https://github.com/toolforge/paws/blob/ci-improvements/images/singleuser/user-config.py#L6-L10  That's necessary for linting to succeed, but I'd like to test it with pywikibot to make sure it doesn't care about the hack, if a kind reviewer has a good setup for testing that first, please do!

Also, my only concern on this change is here: https://github.com/toolforge/paws/blob/ci-improvements/images/singleuser/user-config.py#L6-L10 That's necessary for linting to succeed, but I'd like to test it with pywikibot to make sure it doesn't care about the hack, if a kind reviewer has a good setup for testing that first, please do!

I chickened out and changed that part so that it just uses comments to exempt those two values from linting for undefined names. It is likely an identical outcome, but I just don't have a very good setup to test.


Windows Support and some pytest changes

Added windows support, working on my local machine
I did run into an issue when testing hipDeviceSetLimit so I disabled it in tests for windows
Also modified the tests folder so that pytest can run all the test files using a simple command
pytest tests/

hipDeviceSetLimit error might be due to version on windows

Having an issue with one of the test. Can not push on main branch, will push in fix after this.


1.get schema info,return summary in header if summary exist

2.gov api, add service static, contain instance count under one service

Coverage decreased (-0.3%) to 71.614% when pulling e6853f6a7765f615f07703a1ea8607ccb9e1d82e on aseTo2016:aseTo2016 into 65a1b2b1aa4220d5cf94b2a6d189c7ef64bfb27b on ServiceComb:master.

Coverage decreased (-0.3%) to 71.614% when pulling 42eb73bec3ddf9269adbe99c4a0f14736f48adb7 on aseTo2016:aseTo2016 into 65a1b2b1aa4220d5cf94b2a6d189c7ef64bfb27b on ServiceComb:master.


Giraffe/feat/login page

Adding a login page for the reporting app, using the registration components

@joshgamache yes! I 100% agree that importing from outside the project scope is a little wonky. Once we merge giraffe-develop and develop, we'll be able to pull apart the registration code and extract modules and libraries. Until then I'm quite worried about minimizing the changes we make to the side moose is responsible for, so that the merge goes smothly


WebDeploy 1.9.1 errors

Hey,
In the web.config for a few modules assemblies have been added to other Orchard modules, which is causing the following error during webdeploy:
Error ASPCONFIG: Could not load file or assembly 'Orchard.Layouts' or one of its dependencies. The system cannot find the file specified.
So Orchard.DynamicForms web.config looks like this in 1.9.1:
<system.web>
        <compilation targetFramework="4.5.1">
            <assemblies>
...
                <add assembly="Orchard.Layouts" />
            </assemblies>
        </compilation>
    </system.web>

Is there something special I need to do for webdeploy to work or is adding these assemblies having an unintended side-effect of breaking webdeploy?

Don't pre-compile during the deployment. I ran into the same issue.

@dcinzona cheers buddy

:+1:


Pyhton refactor

Refactor the folder to include the formatters folder inside python technology. I have created a formatters folder to maintain the same style ad linter. But linters are optional and I use them to catch errors, on the other hand, formatters are to use the same style and need always to be used in a project.

During this issue, I will also develop these two issues: #7 and #5


Missing error on recursive reference in local function return type inference

Null safety changes how return types of local functions are inferred:

With null safety, local function body inference is changed so that the local function name is not considered available for inference while performing inference on the body. As a result, any recursive calls to the function for which the result type is required for inference to complete will no longer be treated as having return type dynamic, but will instead result in an inference failure.

According to that, this program should have a compile-time error:
void main() {
  g(bool c) {
    if (c) {
      return g(c);
    } else {
      return 3;
    }
  }
}

Unfortunately, neither CFE nor analyzer report an error. That's a bug according to the spec. The bug slipped through because the test for this wasn't run by the test runner. :(
Fixing it now is probably a breaking change. Filing this issue to discuss whether we want to ship that breaking change or not and, if so, to track the implementation work.
cc @leafpetersen @stereotype441 @lrhn @natebosch @eernstg @jakemac53

Why was that part added to the spec, what would be the consequences of not fixing this?
Would we be disallowing useful behavior by making this an error?

Why was that part added to the spec

I assume the goal was to eliminate a corner where an unexpected dynamic could sneak in.

what would be the consequences of not fixing this?

Users might be getting dynamic in places where they don't expect. The impact is probably minimal since apparently know one even noticed until I discovered the test wasn't being run.

Would we be disallowing useful behavior by making this an error?

Not unless you think implicit dynamic is useful.

Quick update that analyzer and CFE still each accept the program.


Can’t access RancherOS over ssh in the OpenStack based Open Telekom Cloud

RancherOS Version: (ros v1.5.3)
Where are you running RancherOS? (Open Telekom Cloud, VirtualBox)
Hi guys, I need to get RancherOS running in otc (OpenTelekomCloud). I’m currently using the rancheros-openstack.img v1.5.3. But I also tried other versions, even v0.5.0. I’m providing the following cloud-config.yml file as user_data:
#cloud-config
rancher:
  docker:
    tls: true
  network:
    interfaces:
      eth0:
       address: <IP_ADDRESS>/24
       gateway: <IP_ADDRESS>
       mtu: 1500
       dhcp: false
    dns:
     nameservers:
      - <IP_ADDRESS>
      - <IP_ADDRESS>

ssh_authorized_keys:
  - ssh-rsa xxxxxxx

The problem is, I always get asked for a password. Because I don’t have access to different OpenStack platform I don’t have a reference.
I’m mostly using the otc GUI which is based on Huawai cloud GUI I believe. I also created a rancheros instances using Terraform with the same result (asking for a password).
I also created a rancheros vm using the iso and VirtualBox on my macbook. The vm worked perfectly on my macbbook but when I uploaded the vdi image to otc and used it to create a (ECS) virtual server, it again keeps asking me for a password.
Is that the typical behavior of a RancherOS OpenStack Image. Am I missing something?
I would appreciate any ideas and workarounds?
Thank you!
gp

Currently, the openstack image can only support the configdrive datasource.
https://rancher.com/docs/os/v1.x/en/installation/running-rancheros/cloud/openstack/
I guess your userdata is injected using metadata, not configdrive.

@niusmallnan, thank you very much ! : )
I think you’re right. It feels like that’s the problem.
I edited my Terraform project and added the config_drive flag. The portion of my code in the root variables.tf file looks like this:
`variable "config_drive" {
default = "true"                  // "boolean" needs to be a string
}
variable "user_data" {
default = "~/path_to_my_config_file/cloud-config.yml"
}`
It’s still asking for a password, so it seems there’s still something wrong… hmh..
I already tried deleting everything except my ssh key from my cloud-config.yml leaving only two lines:
`ssh_authorized_keys:

ssh-rsa xxxxxxx`
but it didn't change the result. And yes my rsa key files work...

Did you add #cloud-config line to indicate it’s a cloud-config file?

yes, my first line was #cloud-config to indicate it's a cloud-config file. I only forgot to include this line in my last post and not in my cloud-config.yml, (copy & paste error) sorry! I corrected my last post! Thanks!

I don't have an OpenTelekomCloud account, so I cannot try it.
However, there is a way you can try it, you can set the default password of the rancher user. You don't have to use ssh key to access the vm.
You need to update these lines. https://github.com/rancher/os-packer/blob/d6571c5f88e4bc85840805acc462c2cb6220f8bf/scripts/install2disk#L97-L101
    "openstack")
        echo "building openstack"
        # sudo ros install -d /dev/sda --no-reboot --debug --append "console=tty1 console=ttyS0,115200n8 printk.devkmsg=on rancher.autologin=ttyS0"
        sudo ros install -d /dev/sda --no-reboot --debug --append "console=tty1 console=ttyS0,115200n8 printk.devkmsg=on rancher.autologin=ttyS0 rancher.password=<your-password>"
        exit 0
        ;;

Then use this command to build the OpenStack image, you should enable kvm before running this:
RANCHEROS_VERSION=v1.5.4 make build-openstack

Then you can use the password to access the vm via ssh.
After entering the vm, maybe we can find out why the cloud-config is not working.

Hi niusmallnan,
with the commands from your last post I was able to get RancherOS running in the Open Telekom Cloud. Thank you very much! I did the following:

I used the latest rancheros.iso and VirtualBox (later we're probably going to use KVM) to create a working RancherOS VM. My ros command was:
ros install -d /dev/sda --no-reboot --debug --append "console=tty1 console=ttyS0,115200n8 printk.devkmsg=on rancher.autologin=ttyS0 rancher.password=<your-password>"

I shut down the vm and just uploaded the vdi image located at ~/VirtualBox\ VMs/rancheros/rancheros.vdi to otc. Then I used otc’s Image Management Service to create a usable image.

With that image I created an ECS (virtual server) in which I was able to login to using the password.

We handle the rest of the configuration like inserting a public key with Terraform provisioner.
Still I’m having a little trouble rating this workaround. Does anyone know of downsides using this approach? Like Performance losses or security issues?
Thanks for your help! : )

Relates to the #2124


The depth measuring

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
D435I

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux (Ubuntu 16)

Kernel Version (Linux Only)
4.15.0

Platform
PC

SDK Version
librealsense2

Language
C++

Segment
others

Issue Description
My goal is to find the depth corresponding to the white pixels of the image. But the distance I found using the function get_distance() is incorrect. My box is about 0.5 meters from the camera.
The white pixels are the areas corresponding to the boxes and should all be about 0.5 meters deep.The last image is the partial coordinates and depth of the white pixels. Theoretically, the depth value should be 0.5 meters, why there are more than 30 meters of data. Before this I have matched the color image with the depth image. Thank you in advance

This is rather strange. What values are you getting when hovering over the box in RealSense Viewer?
Could you possibly share the min reproduction code?

Thank you for your answer, the question does appear in the code. I've corrected my code, and now the measured depths are roughly the same

Glad to hear. Closing the issue, feel free to open a follow-up issue if you have any more questions.

Hi @clear-zhu , can you please share the corrections you made to your code to solve this?


Service is down?

curl wttr.in
giving me 'ERROR'

No, it was not down, but there was a bug in the recent changes. Fixed now. Thank you for reporting!


Update version to 2.5

What does this Pull Request accomplish?
Update version of grpc-device to 2.5.
Why should this Pull Request be merged?
releases/2.4 has been created to release grpc-device need to update version in main.
What testing has been done?
N/A

Two things on this. First is I think you'll have to build locally. One of the generated files uses the version in the CMAKE so that's what the build is complaining about.
Second is we'll want to submit this after the final version of 2.4 is created (the files in the export from the AzDo pipeline). After that, we'll want to bump the version in AzDo and after that submit this to make sure all the versions align.

@maxxboehme Can you please tell by when this will be completed?
@reckenro

Two things on this. First is I think you'll have to build locally. One of the generated files uses the version in the CMAKE so that's what the build is complaining about.
Second is we'll want to submit this after the final version of 2.4 is created (the files in the export from the AzDo pipeline). After that, we'll want to bump the version in AzDo and after that submit this to make sure all the versions align.

Since the grpc-device release is independent of AzDO, I'd argue we should go ahead and bump versions here so that main is not blocked to accept submissions until AzDO branches for finals. This would mean AzDO mainline would be locked on the release version of grpc-device v2.4 until it branches for release, which I'm thinking is preferable to having grpc-device mainline blocked until then anyway.

Two things on this. First is I think you'll have to build locally. One of the generated files uses the version in the CMAKE so that's what the build is complaining about.
Second is we'll want to submit this after the final version of 2.4 is created (the files in the export from the AzDo pipeline). After that, we'll want to bump the version in AzDo and after that submit this to make sure all the versions align.

Since the grpc-device release is independent of AzDO, I'd argue we should go ahead and bump versions here so that main is not blocked to accept submissions until AzDO branches for finals. This would mean AzDO mainline would be locked on the release version of grpc-device v2.4 until it branches for release, which I'm thinking is preferable to having grpc-device mainline blocked until then anyway.
@maxxboehme @reckenro

@shastriUF , oh yes we shouldn't block mainline here for AzDo release process. To clarify, what determines the version for the adhoc exports is the AzDo pipeline's version.yml we have set up. We should update that version.yml file now that 2.4 has its final adhoc export. Then any new submissions to main (including this one) on this GitHub repo will trigger the AzDo pipeline to create 2.5 exports and not 2.4 ones.

Two things on this. First is I think you'll have to build locally. One of the generated files uses the version in the CMAKE so that's what the build is complaining about.
Second is we'll want to submit this after the final version of 2.4 is created (the files in the export from the AzDo pipeline). After that, we'll want to bump the version in AzDo and after that submit this to make sure all the versions align.

Since the grpc-device release is independent of AzDO, I'd argue we should go ahead and bump versions here so that main is not blocked to accept submissions until AzDO branches for finals. This would mean AzDO mainline would be locked on the release version of grpc-device v2.4 until it branches for release, which I'm thinking is preferable to having grpc-device mainline blocked until then anyway.
@maxxboehme @reckenro

@shastriUF , oh yes we shouldn't block mainline here for AzDo release process. To clarify, what determines the version for the adhoc exports is the AzDo pipeline's version.yml we have set up. We should update that version.yml file now that 2.4 has its final adhoc export. Then any new submissions to main (including this one) on this GitHub repo will trigger the AzDo pipeline to create 2.5 exports and not 2.4 ones.

@reckenro oh that makes sense.. I was worried our release will then pull in 2.5dx but I see now that's already hardcoded to 2.4/.newestExport, so we would still release with v2.4 finals

@maxxboehme Can you please tell by when this will be completed? We also need the latest export and if you are upgrading the version, then we would also need to. @reckenro

@ChiragKavdia  I'm working on it this week. The change in AzDO to bump versions is complete, so now I need to build locally to resolve the build failure.


Filter custom admin form ModelChoiceField based on import file data

I have added a ModelChoiceField to the  ConfirmImportForm form as per this.. I need to filter it based on the import file data. What may be the best way to do it?

Is this still an issue?  If so please can you raise on Stack Overflow.


Improved e2e test

What this PR does / why we need it:
This PR improves e2e test in the following fashion:

It adds failfast flag, thus if the installation portions fails, the rest will not be executed
It uses context.WithCancel over the integration/scenario tests, thus allowing easier debugging. (because the context time could run out while you are debugging a running cluster)

NONE

/lgtm

/retest

/retest

/lgtm


Fatal error

TEKKEN8 CBT, game popup Fatal error dialog when i launched game from Steam with v5.11.10.

Seems to be related to RTSS and other 3rd party (monitoring) SW.

Seems to be related to RTSS and other 3rd party (monitoring) SW.

Sorry that's my descripiton phault, The Fatal Error dialog is from Game isn't from TekkenOverlay.
So i'm sure don't running any RTSS or 3rd party monitorning SW.
By the way i use TekkenOverlay on Offline mod for CBT, i thought v5.11.10 is designed for Offline right? Because online is down now.

Yeah.. I had it running once (at 120 fps), but the moment I enabled RTSS, it crashed and continue to be crashing ever since. So that's where my assumption comes from.

Not relevant anymore. New version of the game and the overlay is out.

Awesome!

Yeah i use the newer version and it's awesome work on 1.01.03, thank you.


How can I use mpscnn in Caffe2?

In ios example yangqing said the mpscnn code has been pushed but no CMakeList.txt. Is there a way to use metal in Caffe2 now?
Thanks in advance.

We are doing another sync of our most recent ios code - stay tuned in the next few days.

Thank you for your commitment to efficiently run networks on the mobile platforms!
https://github.com/caffe2/caffe2/issues/669


Health Check returns success for exception with empty message

I rely on AWS SDK exceptions. For some errors aws-sdk returns empty exception, e.g. Aws::S3::Errors::Forbidden with no message.
      begin
        errors = HealthCheck::Utils.process_checks(checks)
      rescue Exception => e
        errors = e.message
      end
      # errors == ''
      if errors.blank?
        # acts as everything is fine even though the exception was thrown
      ...

I suggest either

having two variables: for status and message
errors = e.message.blank? ? e.class.to_s : e.message in rescue

@ianheggie Is it gem still maintained? I was thinking about contributing but had problems with running tests.

It is a while since I have put work into this gem, but I still have an active interest. What problems did you have running tests?

I looked at .travis.yml to figure out how to start. I run ./test/test_with_railsapp, I choose 4.2 and got the following message:
Checking .../health_check/test/bin/rails is present ...
Skipped rails since it already exists.
If you want to overwrite skipped stubs, use --force.
rails has no executables, but you may want one from a gem it depends on.
  railties has: rails
  bundler has: bundle, bundler
Test aborted (unable to create .../health_check/test/bin/rails)

ruby --version 2.2.1
gem --version 2.4.8
bundle --version 1.10.6

Released in v2.0.0 (used:  errors = e.message.blank? ? e.class.to_s : e.message.to_s)


Package scikit-learn update to 1.1.3

Running black for different python versions is not optimal, right? Any chance that coding style changes from Python3.x to Python3.x+?

Running black for different python versions is not optimal, right? Any chance that coding style changes from Python3.x to Python3.x+? It should probably run once.

Do not know. We had the approach "run everything in every version". Have no idea on if different Python versions will have different black output based on how the language evolves


NixOS taskserver module broken in nixos-unstable

I have in configuration.nix:
taskserver = {
  enable = true;
  fqdn = "taskserver.example.org";
  listenHost = "<IP_ADDRESS>";
  trust = "strict";
  organisations = {
    private = { groups = ["staff"]; users = ["peter"]; };
  };
};

and that used to work fine in 2839b10 and before, but after updating to the current nixos-unstable at c5badb123a, the task server is broken:
# systemctl stop taskserver.service
# systemctl start taskserver.service
Job for taskserver.service failed because the control process exited with error code.
See "systemctl status taskserver.service" and "journalctl -xe" for details.
# systemctl status taskserver.service
● taskserver.service - Taskwarrior Server
   Loaded: loaded (/nix/store/sjvqbh7l8za6gbg3bwmgz3vyv8whl9ns-unit-taskserver.service/taskserver.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2017-05-05 10:03:19 CEST; 2s ago
  Process: 2991 ExecStartPre=/nix/store/4b3i4nzqqgnqaslgky3g5pc12f6xx513-unit-script/bin/taskserver-pre-start (code=exited, status=1/FAILURE)
      CPU: 34ms

May 05 10:03:19 peti systemd[1]: taskserver.service: Unit entered failed state.
May 05 10:03:19 peti systemd[1]: taskserver.service: Failed with result 'exit-code'.
May 05 10:03:19 peti systemd[1]: taskserver.service: Service hold-off time over, scheduling restart.
May 05 10:03:19 peti systemd[1]: Stopped Taskwarrior Server.
May 05 10:03:19 peti systemd[1]: taskserver.service: Start request repeated too quickly.
May 05 10:03:19 peti systemd[1]: Failed to start Taskwarrior Server.
May 05 10:03:19 peti systemd[1]: taskserver.service: Unit entered failed state.
May 05 10:03:19 peti systemd[1]: taskserver.service: Failed with result 'exit-code'.

The journal says:
May 05 10:03:19 peti taskserver-pre-start[2991]: Traceback (most recent call last):
May 05 10:03:19 peti taskserver-pre-start[2991]:   File "/nix/store/ypqmj0d2zpvgl9c7229i4z9lra88qscq-nixos-taskserver/bin/.nixos-taskserver-wrapped", line 8, in <module>
May 05 10:03:19 peti taskserver-pre-start[2991]:     from main import cli
May 05 10:03:19 peti taskserver-pre-start[2991]:   File "/nix/store/ypqmj0d2zpvgl9c7229i4z9lra88qscq-nixos-taskserver/lib/python2.7/site-packages/main.py", line 16, in <module>
May 05 10:03:19 peti taskserver-pre-start[2991]:     IS_AUTO_CONFIG = true # NOQA
May 05 10:03:19 peti taskserver-pre-start[2991]: NameError: name 'true' is not defined
May 05 10:03:19 peti systemd[1]: taskserver.service: Control process exited, code=exited status=1

Ping @aszlig and @fpletz, who modified that module recently.
Personally, I assume<PHONE_NUMBER>93c5b81ba3ec9dd86f1422f4d1fcd3 and 3ab45f4b369c9c741b55ddedeaac4c797dc61c04 are to blame.

Looks to me like the boolToString helper turned what was previously a Python bool literal into a variable lookup (True turned into true).


Migrate users

Import users from users_antibody.csv.
Users need to be imported on keycloak
Need also to see if we can import passwords too -- only way being maintaining the same hashing method.
As users are migrated, also the association antibody-user should be -- See also #75

orcid users: the attribute orcid needs to be set on keycloak for the user to be recognized

banned users: no need to import

Potentially useful links:
https://stackoverflow.com/a/40355313/16197038
https://wjw465150.gitbooks.io/keycloak-documentation/content/server_admin/topics/login-settings/forgot-password.html
https://technology.first8.nl/programmatically-adding-users-in-keycloak/


Build Failed: Cannot find libc++ and libc++api

Thanks for sharing this tutorial.
I have downloaded pre-installed Open3D git and use the given cmake command ``cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=${HOME}/open3d_install .. to install, but I got this:
-- Searching in for libc++ and libc++abi
-- Searching /usr/lib/llvm-15/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-14/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-13/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-12/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-11/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-10/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-9/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-8/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-7/lib for libc++ and libc++abi
CMake Error at 3rdparty/find_dependencies.cmake:1317 (message):
  Cannot find matching libc++ and libc++abi libraries with version >=7.
Call Stack (most recent call first):
  CMakeLists.txt:486 (include)

However, I checked this path with ls /usr/lib/llvm-13/lib | grep -i libc++ and got libc++ and libc++api at this path.
Output:
libc++.a
libc++abi.so.1
libc++abi.so.1.0
libc++experimental.a
libc++.so
libc++.so.1
libc++.so.1.0

I appreciate for your reply.

Fortunately, I have found a solution:
sudo apt-get install libc++-13-dev libc++abi-13-dev


Creating custom libraries

One of the best features of JS/TS ecosystem is the ability to create and reuse code with npm packages.
Currently it's impossible to create consumable libraries for Lua.
While working on my transpiler I have investigated it, so that's what I came up with:
Variant 1 - Transpilation done by application developer

Enforces some strict project structure for library authors
Requires reimpementing some TypeScript's project organization features, like project references
Makes transpiler API less flexible, since new TS programs would be created for each library internally
Would make transpilation a lot slower, unless some caching would be added

Variant 2 - Transpilation done by library developer

TypeScript and Babel are doing this
Allows to create projects that compile to both Lua and JS
Allows library author to use different/patched version of tstl and use custom plugins
Allows library author to customize build phase as they want (cli, gulp, custom scripts)
Allows to use libraries written manually with Lua and .d.ts files
Requires development of standard library as a separate package (maybe in a monorepo), so multiple libraries would use only one instance and version conflicts would be avoided with semver. TS is doing the same thing with tslib.
Complicates import path resolving process (but also makes it more flexible)
Not allows to configure optimizations globablly. For example if #262 would be done as an option it won't be possible to use multiple libraries that are using different configurations
Libraries would be distributed like in TS - with a .lua and .d.ts files. To generate declarations tsc --emitDeclarationOnly could be used, but...
Some of semantics is lost on compilation phase. For example

export class A {
  get foo() {
    return 1;
  }
}

export declare class A {
    readonly foo: number;
}

So that would require customizing declaration generation to insert some metadata, similarity to what Kotlin is doing with generated java class files.
/** @TypeScriptToLuaMetadata {getters:["A.foo"]} */

export declare class A {
    readonly foo: number;
}

I personally prefer second variant, but it comes with more issues to solve.

I think it is possible to have a nice intermediate step here. I think if we allow other projects to extend and override our transpiler classes that would already add some nice extensibility. Additionally we should probably add a function to the public api that accepts a typescript AST instead of a string/file so people can  decide where they get their AST from and what else to do with it.

Additionally we should probably add a function to the public api that accepts a typescript AST instead of a string/file so people can decide where they get their AST from and what else to do with it.

That's actually how I'm planning to integrate it to my project. Won't already exported LuaTranspiler* classes be enough for that or am I missing something?

I think if we allow other projects to extend and override our transpiler classes that would already add some nice extensibility

Sorry, I don't quite understand how it's related to this topic. Do you mean that npm modules may be compiled with some extended transpiler to avoid enforcing some strict practice on this?

For the first point I mean we should have a transpileAST besides our transpileString and transpileFile, so that people choose how they get their typescript AST them self.
Second point I am indeed thinking of people that require specific transpiler functionality sould simply create their own transpiler class, extending for example our LuaTranspilerJIT like you mentioned, or did I missunderstand?

It's not something specific to my environement. Any Lua project may be able to use modules, just like importing regular files. The resulted code would have only simple Lua's requrie calls. What I want (for example with first variant since it's simpler) is that running tstl would generate a completely working project (unless there is something environment specific and considering that all code is valid). So one of it's steps should find all imported modules, look for them in node_modules, find their TS configs and run the same transpilation code on each module. So the generated lua directory would contain a node_modules directory that would contain already transpiled modules.
Actually, in my case it might be easier to implement it in my project first, since I would have to use API directly anyway.
But later it might be useful to move some of stuff I'll come up with to the core (and support it in API and CLI), so users of different environments won't have to write different transpilers for different environemnts even if there's no need to do adjustments to actual tranpilation phase. Also it would allow to make a unified standard for writing Lua modules (for example some specific key in package.json that defines all projects that should be handled by tstl)
Feel free to close this issue for now, since it's resolved in my specific case.


Fix source analyzer findings

These patches are fixing the findings which I found out with clang source code analyzer

Great stuff.  Running, and presenting results from, a static analyzer means this project is fulfilling the Code Quality policy for active projects on GENIVI GitHub ;-)
(still a few of the other projects need to be brought into alignment with the policy... ;-)

Review-by: Eugen Friedrich<EMAIL_ADDRESS>


Updated elgohr/Publish-Docker-Github-Action to a supported version (v5)

elgohr/Publish-Docker-Github-Action@master is not supported anymore

Dropped in favour of multi-arch build with docker/build-push-action


Unify code of forkSyncStateOnTipPointChange and syncWithLedger

forkSyncStateOnTipPointChange’s action is duplicating code defined in syncWithLedger
syncWithLedger is NOT used in production code (only in tests that disable forkSyncStateOnTipPointChange) so originally I thoight about removing syncWithLedger from the Mempool API, but turnout out to be quite tricky and cumbersome.
Eventually I’ve decided it’s just simpler to unify code from both functions.

bors merge


docs: rebranding changes

#309

Reviewers
Functional: @seve
Readability: @karenliang0 @seve

Changes

add
remove
modify
Changed text on doc pages for rebranding

QA steps (optional)
Notes for Reviewer
Changes made based on these rebranding docs:
https://docs.google.com/document/d/1N-xicGI6N9BqWrgg-kTTMPD8PZuSTFx4OudDZLP2LTY/edit#heading=h.hx5fcs26iybp
https://docs.google.com/document/d/1DNnZhUrcLNyg95D0GZx-CR7WvE9Tzf0UkJ_KQrN5lp4/edit#

I do not currently see changes to update the text in the browser tabs, but would like to see "cellxgene" --> "CELLxGENE" for all browser tab text.

All,
I've fixed some of the issues that were brought up in the comments, notably the "CellxGene" to "CELLxGENE".
I'm still a bit flaky on when to use "CELLxGENE Annotate" versus just "CELLxGENE", so I'm sure there are still places to fix.
Let me know your thoughts!

Ready for staging


Should probably by 'intersects' rather than 'bboverlaps'

https://github.com/djangonauts/django-rest-framework-gis/blob/8febe79fb8291f20b8f6e9c53ac8db8a24ceb26e/rest_framework_gis/filters.py#L65
The bboverlaps comparison will only return geometries whose boundaries cross over the bbox but it WILL NOT return any geometries that are wholly contained within the bbox (at least not for mySQL/mariaDB)

@joshuamaxwell do you have any suggestion regarding this?


Updated setuptools to v.71 to fix a security issue

Description
Fixed

Closes #128

How to test

Deploy and start locally
Make sure the image is pushed to Docker Hub

Review

[ ] Tests executed by CR
[ ] "Merge and deploy" approved by
Thanks for filling in who performed the code review and the test!

This version is a

[ ] MAJOR - when you make incompatible API changes
[ ] MINOR - when you add functionality in a backwards compatible manner
[x] PATCH - when you make backwards compatible bug fixes or documentation/instructions

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

Project coverage is 95.30%. Comparing base (ef00987) to head (7969c34).
Report is 33 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #129      +/-   ##
==========================================
+ Coverage   95.02%   95.30%   +0.28%
==========================================
  Files          11       11
  Lines         462      490      +28
==========================================
+ Hits          439      467      +28
  Misses         23       23

Flag
Coverage Δ

unittests
95.30% <ø> (+0.28%)
:arrow_up:

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

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

After upgrading the lib it is launching as expected:

And it's pushed to Docker Hub:


Copying text from various UI elements does not copy to the clipboard (Windows)

Does this issue occur when all extensions are disabled?: N/A - This issue affects extensions and other non-editor panes containing user-selectable text.

System information:
Version: 1.70.2 (system setup)
Commit: e4503b30fc78200f846c62cf8091b76ff5547662
Date: 2022-08-16T05:35:13.448Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044
and
Version: 1.66.0 (system setup)
Commit: e18005f0f1b33c29e81d732535d8c0e47cafb0b5
Date: 2022-03-30T05:50:14.623Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.18363
but not:
Version: 1.70.2 (Universal)
Commit: e4503b30fc78200f846c62cf8091b76ff5547662
Date: 2022-08-16T05:36:37.829Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 20.6.0
Steps to Reproduce:
Test 1:

Before opening VS Code, copy a small section of text from anywhere (Notepad, browser, etc) to the clipboard.
Paste the text somewhere to verify it was copied (back into Notepad, etc).
Open VS Code.
Open an extension that provides a custom UI pane (anything that uses a tab, but is not a text editor). Examples: Thunder Client, Git Graph, or any similar UI.
Select text from anywhere in the UI that allows it (especially fields where text selection and copy/paste is a core function). Examples: Thunder Client request URL field, Git Graph commit hash.
Right-click > Copy the selected text.
Open a new editor (or another application, for example Notepad) and paste the text. The original text copied in step 1 will be pasted instead of the text just copied from the extension.

Test 2:

Open one of the extensions referenced above (Git Graph, Thunder Client, or similar).
Open an existing file and drag this tab to the right side of the extension tab (side-by-side with the extension tab).
In the tab on the right side, select a word in the text file.
With that text selected, switch focus to the extension tab, and select some text from any user-selectable field that presents a Copy option when right-clicking.
Right-click > Copy the selected text.
Open a new editor window (or Notepad, etc) and paste. The selected text for the unfocused, not-copied text will be pasted.

Even though the editor on the right did not have focus and another section of text was highlighted in another tab (with focus), and the text was copied directly at its location using the mouse (eliminating the possibility of the wrong tab having focus), the selected text from the unfocused editor was copied to the clipboard instead of the focused text.
This might sound like an extension problem, but it appears it could actually be a VS Code issue for the following reasons:

Multiple, completely unrelated extensions exhibit the same problem with similar UI elements, only on Windows.
The problem is not present in the exact same version of VS Code on macOS. The same text within the same tested extension tabs always copies to the clipboard as expected.

Edit:
Further testing shows the following behavior:
The same behavior is present when copying text from an extension's page in the extension view:

Open a new VS Code window.
Open the Extensions sidebar and select any extension to view its detail page. Example: Microsoft C/C++ extension.
Select a line of text on the page. Example: "C/C++ for Visual Studio Code"
Right-click > Copy the selected text.
Open a new editor (or Notepad) and paste. Either an empty newline, or your previous clipboard contents will be pasted.

The clipboard works as expected (content is copied and pasted normally) when using the keyboard shortcut Control-C to copy the text instead of the right-click menu, so it appears the issues is isolated to the right-click menu action and the Edit > Copy menu.

Related issues:
https://github.com/rangav/thunder-client-support/issues/439
https://github.com/mhutchie/vscode-git-graph/issues/296#issuecomment-1117500753

Duplicate of #141080


Notification configuration uses CODEOWNERS on GitHub

@danieljurek commented on Fri Jun 14 2019
The notification service configures groups in a nested DevOps Team and syncs contacts listed in the CODEOWNERS file for relevant entries in the directory path of a pipeline's tests.yml file.
Rough procedure:

Get directory location of pipeline's tests.yml file
Download CODEOWNERS file
Look for paths that are some subset of the tests.yml file path

For this cut, consider excluding expressions like *.yml and focusing only on paths

Collect contact information associated with paths matching the above criteria
Get relevant nested Team entry from DevOps (create if does not exist)
Add contact entries that are not present, remove contact entries which are present in the nested Team but not present in the collected contact entries from the steps above

If a user wants to receive notifications but does not want to to be in the CODEOWNERS file they can add themselves to the top level team (instead of the nested team)

Encountered some trouble resolving aliases to appropriate identifiers. There is one path forward, exploring that today.


News / Updates (Subscribe to get updates)

I'll use this as a place to dump screen captures of new functionality that I add to this project.

The complete_from_line() functionality
This allows you to start a completion from the current line. In either a Mill or sbt build it will pull the org and artifact from the line and then allow you to continue from there. At the end of the completion you can either copy out the version, the full sbt dependency (like you see in the gif), the Mill dependency, or the dependency in the format for Metals worksheets.

The complete_from_input() functionality
Like the above, the same thing is possible from starting from whatever you enter into a prompt. This can be starting at the groupId stage, artifact, or already in the version.