ConversationalRetrievalChain

System Info
I am facing an issue during the testing of my chatbot, here is below i attached a screenshot which can show you the exact issue.

But when i hit the api again with first small letter 'what' instead of 'What' then it return correct response.

Could someone please help me identify the exact issue? thanks
Who can help?
No response
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[x] LLMs/Chat Models
[x] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[x] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
{
"question": "what are the reactions associated with hydromorphone use in animals?"
}
Expected behavior

@abusufyanvu
Thanks for raising the issue. Could you also share  the code snippet and more details on the embedding model and the retriever being used.

Yes here is below the complete code which i am using ,  and i am also facing issue in follow up question. my model not returning the answer of follow up question . please also share insights on it. thanks
import os
import openai
import tiktoken
import datetime
from flask import Flask, request, render_template
from flask_restful import Resource, Api
from dotenv import load_dotenv, find_dotenv
from langchain.prompts import PromptTemplate
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.text_splitter import CharacterTextSplitter, RecursiveCharacterTextSplitter
from langchain.vectorstores import DocArrayInMemorySearch
from langchain.document_loaders import TextLoader
from langchain.chains import RetrievalQA, ConversationalRetrievalChain
from langchain.memory import ConversationBufferMemory
from langchain.chat_models import ChatOpenAI
from langchain.document_loaders import TextLoader
from langchain.document_loaders import PyPDFLoader
from langchain.vectorstores import Chroma
import chromadb.config
app = Flask(name)
api = Api(app)
Load environment variables from the .env file
load_dotenv(find_dotenv())
Access the environment variable for the OpenAI API key
openai.api_key = os.environ.get('OPENAI_API_KEY')
Created Chatbot class to encapsulate chatbot logic and components
class Chatbot:
def init(self):
# Determine the appropriate OpenAI model based on the date
current_date = datetime.datetime.now().date()
if current_date < datetime.date(2023, 9, 2):
self.llm_name = "gpt-3.5-turbo-0301"
else:
self.llm_name = "gpt-3.5-turbo"
    # Initialize OpenAI embeddings, vector database, and language model (llm)
    self.embeddings = OpenAIEmbeddings()
    self.vectordb = Chroma(
        persist_directory="/home/abusufyan/development/Vector_Database/docs/chroma",
        embedding_function=self.embeddings
    )

    self.llm = ChatOpenAI(
        model_name=self.llm_name,
        temperature=0
    )

# Method to answer a user's question
def answer_question(self, question):
    try:
        # Created a custom prompt template for the chat conversation
        custom_template = """Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question.
        At the end of standalone question add this 'Answer the question in German language.' If you do not know the answer reply with 'I am sorry'.
        Chat History:
        {chat_history}
        Follow Up Input: {question}
        Standalone question:"""

        CUSTOM_QUESTION_PROMPT = PromptTemplate.from_template(custom_template)

        # Create a memory for the chat conversation
        memory = ConversationBufferMemory(
            memory_key="chat_history",
            return_messages=True
        )

        # Build a Conversational Retrieval Chain
        qa_chain = ConversationalRetrievalChain.from_llm(
            self.llm,
            retriever=self.vectordb.as_retriever(search_type="similarity", search_kwargs={"k": 5}),
            memory=memory,
            condense_question_prompt=CUSTOM_QUESTION_PROMPT
        )

        # Get the answer to the user's question
        answer_of_question = qa_chain({"question": question})

        return answer_of_question['answer']
    except Exception as e:
        return {'error':'An error occurred while processing your request. Please try again later.'}, 500

Created ChatbotResource class to define the API endpoint
class ChatbotResource(Resource):
def init(self, chatbot):
self.chatbot = chatbot
# Defined the HTTP GET method to handle user questions in JSON format
def get(self):
    try:
        data = request.get_json()
        if "question" in data:
            question = data["question"]
            answer = self.chatbot.answer_question(question)
            response = {'answer': answer}
            return response
        else:
            return {'error': 'Please provide a "question" key in the JSON request.'}, 400
    except Exception as e:
        return {'error': 'An error occurred while processing your request. Please try again later.'}, 500

@app.route('/home')
def home():
return render_template('index.html')
if name == 'main':
# Initialize the Chatbot instance
chatbot = Chatbot()
# Added ChatbotResource as a resource for the API endpoint with versioning
api.add_resource(ChatbotResource, '/v1/chatbot', resource_class_args=(chatbot,), endpoint='chatbot_resource')

# Start the Flask application
app.run(debug=True, host="<IP_ADDRESS>", port=5001)

Could someone please help me identify the exact issue from my code? thanks


Performance: Use async calls for getTrackedFiles / getUntracked files

In the QuickOpen experience (Ctrl+P), there is a clear bottleneck with the synchronous git spawning:

I am looking into this

Awesome, thanks @cyansprite ! I hit this a bunch in my workflow

Yeah same and it overrided my old way of doing it and I think this is my favorite line of feature so glad to be working on it :)

Yeah same and it overrided my old way of doing it and I think this is my favorite line of feature so glad to be working on it :)

Nice, that's great to hear 😄

Pretty much done with this... just making some minor changes then I will push my commit to my PR and then you can let me know what you think.

Cool, I just checked the PR and I like how you consolidate the two calls.

Looks like this was addressed by #574 , closing.


GUI whitelabel runtime system

Description
1. Problem description
Currently ACS allows the GUI personalization (color changing, add a personalized logo, and so on); however, those configurations are set for the whole environment, which does not allow Apache CloudStack to have a personalized GUI by domain, account and so on. In a scenario of cloud providers reselling the infrastructure, the current behavior does not allow the operators to personalize the GUI for each use case (reseller, domain, account, and so on).
2. Proposed Changes
This spec introduces the concept of Runtime White Label to the Apache CloudStack GUI, which combines the market concept of White Label and enables it to be configured in runtime and by scope (domain, account, and so on). Briefly, we will introduce APIs to allow the operators to define GUI themes for a set of Internet common names (fixed or wildcard), a set of ACS domain UUIDs (also known as ID for the end-user), and a set of ACS account UUIDs (also known as ID for the end-user). The APIs will receive the CSS and JSON configuration as parameter and will store them into the database. When accessing Apache CloudStack, the UI will retrieve the CSS and JSON configurations according to the access definition and import them into the browser. If there are no themes match, the GUI will fallback to the current environment configuration.
Operations that create/modify/remove the themes will be registered with events in ACS.
2.1. Database model
A table named gui_themes will be created in the cloud schema and will have the following columns:

Name
Type
Nullable
Default
Description

id
bigint(20) unsigned
No
Auto increment
-

uuid
varchar(40)
No
null
-

name
varchar(2048)
No
null
A name to identify the theme.

description
varchar(4096)
Yes
null
A description for the theme.

css
text
Yes
null
The CSS to be retrieved and imported into the GUI when matching the theme access configurations.

Name
Type
Nullable
Default
Description

json_configuration
text
Yes
null
The JSON with the configurations to be retrieved and imported into the GUI when matching the theme access configurations.

common_names
text
Yes
null
A set of Internet common names (fixed or wildcard) separated by comma that can use the theme; e.g.: *acme.com,acme2.com.

domain_uuids
text
Yes
null
A set of [ACS] domain IDs separated by comma that can use the theme.

account_uuids
text
Yes
null
A set of [ACS] account IDs separated by comma that can use the theme

is_public
boolean
Yes
true
Defines whether a theme can be retrieved by anyone when only the common_names is informed. If the domain_uuids or account_uuids is informed, it is considered as false.

created
datetime
No
null
When the theme was created.

removed
datetime
Yes
null
When the theme was removed.

2.2. APIs
Right below there are the descriptions of the APIs to be introduced to allow the management of GUI themes by scope.
2.2.1. createGuiTheme
The API createGuiTheme will be accessible only by the operators (Root Admin accounts) and will allow them to create themes for several scopes. It will have the following parameters:

Parameter
Description
Mandatory
Type
Default value
Length

name
A name to identify the theme.
Yes
String
null
2048

description
A description for the theme.
No
String
null
4096

Parameter
Description
Mandatory
Type
Default value
Length

css
The CSS to be retrieved and imported into the GUI when matching the theme access configurations.
No
String
null
65535

jsonconfiguration
The JSON with the configurations to be retrieved and imported into the GUI when matching the theme access configurations. More details about the JSON configurations can be found in the JSON Configurations session.
No
String
null
65535

commonnames
A set of Internet common names (fixed or wildcard) separated by comma that can retrieve the theme; e.g.: *acme.com,acme2.com
No
String
null
65535

domainids
A set of [ACS] domain UUIDs (also known as ID for the end-user) separated by comma that can retrieve the theme.
No
String
null
65535

accountids
A set of [ACS] account UUIDs (also known as ID for the end-user) separated by comma that can retrieve the theme
No
String
null
65535

ispublic
Defines whether a theme can be retrieved by anyone when only the domainnames is informed. If the domainids or accountids is informed, it is considered as false.
No
Boolean
true
-

Either css or jsonconfiguration parameter must be informed for the GUI theme creation. If neither commonnames, domainids, and accountids is defined, the theme will be considered as the default; there can exist only one default theme and it automatically will be public. If there are no themes match, the GUI will fallback to the current environment configuration.
2.2.2. listGuiThemes
The API listGuiThemes will be accessible by anyone and will retrieve the themes according to the parameters and the caller access. It will have the following parameters:

Parameter
Description
Mandatory
Type
Default value
Length

id
The theme ID.
No
String
null
40

name
The name of the theme.
No
String
null
2048

commonname
The Internet common name to be filtered.
No
String
null
256

domainid
The UUID (also known as ID for the end-user) of the domain to be filtered.
No
String
null
40

accountid
The UUID (also known as ID for the end-user) of the account to be filtered.
No
String
null
40

listall
Whether to list all themes.
No
Boolean
false
-

listremoved
Whether to list removed themes.
No
Boolean
false
-

ispublic
Whether to list public themes. By default, it lists them all.
No
Boolean
null
-

listonlydefaulttheme
Whether to list only the default theme. If this parameter is true, than all other parameters are ignored.
No
Boolean
false
-

In order to allow the theme to be displayed yet in the login web page, it will be possible to call this API without authentication; however, there will be limitations and all the parameters will be ignored. An unauthenticated call to the API listGuiThemes will retrieve no entry or only a single entry; the single entry will be the default theme or the public, most recently, and active theme that matches the Internet common name requesting the API.
2.2.3. updateGuiTheme
The API updateGuiTheme will be accessible only by the operators (Root Admin accounts) and will allow them to update a theme. It will have the following parameters:

Parameter
Description
Mandatory
Type
Default value
Length

id
The ID of the theme to be updated.
Yes
String
null
40

name
A name to identify the theme.
No
String
null
2048

description
A description for the theme.
No
String
null
4096

css
The CSS to be retrieved and imported into the GUI when matching the theme access configurations.
No
String
null
65535

jsonconfiguration
The JSON with the configurations to be retrieved and imported into the GUI when matching the theme access configurations. More details about the JSON configurations can be found in the JSON Configurations session.
No
String
null
65535

commonnames
A set of Internet common names (fixed or wildcard) separated by comma that can retrieve the theme; e.g.: *acme.com,acme2.com
No
String
null
65535

domainids
A set of [ACS] domain UUIDs (also known as ID for the end-user) separated by comma that can retrieve the theme.
No
String
null
65535

accountids
A set of [ACS] account UUIDs (also known as ID for the end-user) separated by comma that can retrieve the theme
No
String
null
65535

ispublic
Defines whether a theme can be retrieved by anyone when only the domainnames is informed. If the domainids or accountids is informed, it is considered as false.
No
Boolean
null
-

By default, all the parameters are null; therefore, to remove one of the parameters, it will be necessary to explicitly pass it as an empty string. If commonnames, domainids, and accountids are passed as empty, the theme will be considered as the default; there can exist only one default theme and it automatically will be public. If there are no themes match, the GUI will fallback to the current environment configuration.
2.2.4. removeGuiTheme
The API removeGuiTheme will be accessible only by the operators (Root Admin accounts) and will allow them to remove a theme. It will have the following parameter:

Parameter
Description
Mandatory
Type
Default value
Length

id
The UUID (also known as ID for the end-user) of the theme to be removed.
Yes
String
null
40

If the default theme is removed and there is no match to a theme access configuration, the GUI will fallback to the current environment configuration.
3.0. Future works
With this proposal, it will be only possible to manage the themes via API; for the future, we plan to add support for the themes management on the GUI. We will extend the feature to comply with projects, identity federation and domains change. Also, we will extend the feature to allow domain admins and users to manage their own themes.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[x] Major
[ ] Minor

Screenshots (if appropriate):
There were two themes added with this PR: Dark theme and Apache Foundation theme. They can be used by anyone using the createGuiTheme API. They serve only to demonstrate the usage of this new feature, as presented in the screenshots below:

Apache theme:

Dark theme:

How Has This Been Tested?
I created multiple themes for specific accounts, domains and common names; they were correctly assigned.
How did you try to break this feature and the system with this change?

interesting

@blueorangutan package

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✖ debian ✔ suse15. SL-JID 9322

@blueorangutan test alma9 kvm-alma9

@blueorangutan test alma9 kvm-alma9 keepEnv

@DaanHoogland a [SL] Trillian-Jenkins test job (alma9 mgmt + kvm-alma9) has been kicked to run smoke tests

[SF] Trillian test result (tid-9917)
Environment: kvm-alma9 (x2), Advanced Networking with Mgmt server a9
Total time taken: 51841 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8942-t9917-kvm-alma9.zip
Smoke tests completed. 127 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_events_resource
Error
318.04
test_events_resource.py

test_01_events_resource
Error
318.05
test_events_resource.py

test_04_deploy_vm_for_other_user_and_test_vm_operations
Failure
96.36
test_network_permissions.py

ContextSuite context=TestNetworkPermissions>:teardown
Error
1.62
test_network_permissions.py

@blueorangutan package

@BryanMLima a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9365

@blueorangutan test

@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-9967)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 47193 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8942-t9967-kvm-centos7.zip
Smoke tests completed. 127 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_events_resource
Error
306.15
test_events_resource.py

test_01_events_resource
Error
306.16
test_events_resource.py

test_04_deploy_vm_for_other_user_and_test_vm_operations
Failure
92.52
test_network_permissions.py

ContextSuite context=TestNetworkPermissions>:teardown
Error
1.50
test_network_permissions.py

nice work @BryanMLima , haven't reviewed all of it, but I like it so far.

Codecov Report
Attention: Patch coverage is 5.90406% with 510 lines in your changes are missing coverage. Please review.

Project coverage is 15.13%. Comparing base (27124c1) to head (0432462).

Files
Patch %
Lines

...ache/cloudstack/gui/theme/GuiThemeServiceImpl.java
2.71%
179 Missing :warning:

...oudstack/gui/theme/dao/GuiThemeDetailsDaoImpl.java
1.81%
54 Missing :warning:

.../cloudstack/gui/theme/dao/GuiThemeJoinDaoImpl.java
4.08%
47 Missing :warning:

...a/org/apache/cloudstack/gui/themes/GuiThemeVO.java
12.76%
41 Missing :warning:

...ache/cloudstack/api/response/GuiThemeResponse.java
0.00%
38 Missing :warning:

...g/apache/cloudstack/gui/themes/GuiThemeJoinVO.java
9.09%
30 Missing :warning:

...api/command/user/gui/themes/UpdateGuiThemeCmd.java
0.00%
25 Missing :warning:

...api/command/user/gui/themes/CreateGuiThemeCmd.java
0.00%
24 Missing :warning:

.../api/command/user/gui/themes/ListGuiThemesCmd.java
0.00%
17 Missing :warning:

...pache/cloudstack/gui/themes/GuiThemeDetailsVO.java
10.52%
17 Missing :warning:

... and 5 more

Additional details and impacted files
@@             Coverage Diff              @@
##              main    #8942       +/-   ##
============================================
+ Coverage     4.27%   15.13%   +10.86%
- Complexity       0    12888    +12888
============================================
  Files          363     4886     +4523
  Lines        29549   325109   +295560
  Branches      5188    45670    +40482
============================================
+ Hits          1262    49193    +47931
- Misses       28145   269250   +241105
- Partials       142     6666     +6524

Flag
Coverage Δ

simulator-marvin-tests
15.13% <5.90%> (?)

uitests
?

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.

@blueorangutan package

@blueorangutan package

@BryanMLima a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 10372

@blueorangutan package

@BryanMLima a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 10465

@blueorangutan package

@BryanMLima a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15.  It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 10915

@blueorangutan test

@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

[SF] Trillian Build Failed (tid-11294)

[SF] Trillian Build Failed (tid-11306)

@BryanMLima it looks like the spring loading fails on this effort. Logs stop at:
2024-08-26T14:16:21,252 DEBUG [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:[]) (logid:) Trying to obtain module [redfish] context.
2024-08-26T14:16:21,252 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:[]) (logid:) Application context not found for module definition [redfish]

[SF] Trillian Build Failed (tid-11334)

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11077

@blueorangutan package

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11093

@blueorangutan test

@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

@BryanMLima a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11366

@blueorangutan test

@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

[SF] Trillian test result (tid-11707)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 73222 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8942-t11707-kvm-ol8.zip
Smoke tests completed. 132 look OK, 2 have errors, 7 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestCreateVolume>:setup
Error
0.00
test_volumes.py

test_01_root_volume_encryption
Error
1028.32
test_volumes.py

test_03_root_and_data_volume_encryption
Error
2068.99
test_volumes.py

test_03_root_and_data_volume_encryption
Error
2069.00
test_volumes.py

ContextSuite context=TestVolumeEncryption>:teardown
Error
2957.34
test_volumes.py

ContextSuite context=TestVolumes>:setup
Error
3095.23
test_volumes.py

test_01_verify_ipv6_vpc
Error
2386.50
test_vpc_ipv6.py

test_01_verify_ipv6_vpc
Error
2386.52
test_vpc_ipv6.py

ContextSuite context=TestIpv6Vpc>:teardown
Error
2975.22
test_vpc_ipv6.py

all_test_vpc_redundant
Skipped
---
test_vpc_redundant.py

all_test_vpc_router_nics
Skipped
---
test_vpc_router_nics.py

all_test_vpc_vpn
Skipped
---
test_vpc_vpn.py

all_test_webhook_delivery
Skipped
---
test_webhook_delivery.py

all_test_webhook_lifecycle
Skipped
---
test_webhook_lifecycle.py

all_test_host_maintenance
Skipped
---
test_host_maintenance.py

all_test_hostha_kvm
Skipped
---
test_hostha_kvm.py

@blueorangutan package

@BryanMLima a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11603

@blueorangutan package

Packaging result [SF]: ✖ el8 ✖ el9 ✖ debian ✖ suse15. SL-JID 11791


Don't unfold code when running gofmt

After upgrading to go-plus 4 and the new gofmt atom package the code is unfolded when gofmt is run.
Reproduce:
Run "Editor: Fold All"
Run "Golang: Gofmt"
Expected behavior:
The code stays folded.
Actual behavior:
All code is unfolded.

Please update to v1.0.4 and let me know if you are still experiencing the issue.

Works fine after upgrade to v1.0.4 and restart of Atom.
Thanks for a great Atom plugin, and such quick fix. Looking forward to see something like https://github.com/joefitzgerald/go-plus/issues/190 to really take advantage of the type system.


feat: upgrade husky to 9

Signed-off-by: donniean<EMAIL_ADDRESS>

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Use docker in machine

Is your feature request related to a problem? Please describe.
I want to use docker in machine to get a full working env
Describe the solution you'd like
generate ready to use docker config ?
Describe alternatives you've considered
Link host or docker context config ?
Additional context

This should work with OrbStack out of the box:
docker run -v ~/.orbstack/run/docker.sock:/var/run/docker.sock docker:dind docker ps
Are you looking for something different?

@gamerson That will work for Docker containers, but I believe this issue is about using OrbStack's managed Docker engine in full Linux machines. (You can also just use /var/run/docker.sock in the Docker case.)
@wenerme For now, you can install and run a Docker engine in the machine yourself.

How can I map the docker.sock to machine ?

It can be less efficient in some ways, but there is no performance difference between nested Docker and the managed OrbStack Docker engine.
Cache is a valid point. This feature is planned, just not yet implemented. It's not currently possible to use the docker.sock directly.
A hacky workaround is to uninstall the Docker CLI and link the macOS version instead:
orb link docker

This should do the job in a roundabout way as it uses the same Docker engine as macOS.

Thanks, will try to use the link as workaround.

Why doesn't this work (from within an orb linux vm)? I assume it has to do with out the Mac files are mounted
❯ docker context create orb --docker host=unix:///Users/landow/.orbstack/run/docker.sock
orb
Successfully created context "orb"
❯ docker context use orb
orb
Current context is now "orb"
❯ docker ps
Cannot connect to the Docker daemon at unix:///Users/landow/.orbstack/run/docker.sock. Is the docker daemon running?```

Yes, unfortunately that won't work. Unix sockets have an entry on the filesystem but that's not the actual socket itself, so it won't work across the OS boundary. (I think it's possible to make them work, but very long-term. See #62)
Even if mounting the socket worked, some Docker features would not work as expected, which is why this hasn't been implemented yet. orb link docker is the best solution for now.

$ orb link docker
...
link: missing operand afer 'docker'
Try 'link --help' for more information.
$

I'm running this inside the linux machine. Is that correct? Version 0.14.0

Ah sorry, it's mac link docker.

@neil-greenwood What distro, version, and architecture did you create your machine with? Can you run id and /opt/orbstack-guest/data/bin/cmdlinks? Permissions should be set to allow the default Linux user to create links.

It's an Ubuntu jammy machine, x86_64 running on an Intel Macbook.
> uname -a
Linux orb-ubuntu 6.3.12-orbstack-00210-ga4f4fae8883e #1 SMP Tue Jul 11 08:42:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
/o/o/d/b/cmdlinks> ls -l
total 4
lrwxrwxrwx 1 root root 30 Jul 12 16:48 docker -> /opt/orbstack-guest/bin/macctl*
/o/o/d/b/cmdlinks> ls -ld /opt/orbstack-guest/data/bin/cmdlinks/
drwxr-xr-x 1 root root 12 Jul 12 16:48 /opt/orbstack-guest/data/bin/cmdlinks/
/o/o/d/b/cmdlinks> id
uid=502(neilgreenwood) gid=502(neilgreenwood) groups=502(neilgreenwood),4(adm),27(sudo),44(video),50(staff),115(docker)

I added the docker group. I'm running the fish shell, although that shouldn't make a difference.

/opt/orbstack-guest/bin/macctl is owned by root, but not setuid/setgid. That's probably the reason that the link creation was denied.

@neil-greenwood Thanks, the permissions weren't being set correctly on new installs. Fixed for the next version.

running 0.7.1:
$> mac link docker
$> sudo docker ps -a
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?


[ansible/platform] Firewalld is not configured - communication failures.

Firewalld needs to be configured to allow communication between hosts otherwise tasks such as below will fail.
Alternatively, inform that firewalld is not supported in your documentation and that the user has to take care of it.
- name: Make sure xray is up and running
  ansible.builtin.uri:
    url: http://<IP_ADDRESS>:8082/router/api/v1/system/health
    timeout: 130
    status_code: 200
  register: result
  until: result is succeeded
  retries: 25
  delay: 5
  when:
    - not ansible_check_mode
    - xray_start_service | bool

@EmptyByte  Can you please share more info what was done in firewalld to allow communication b/w hosts . We internally test but never faced any issues before .

Hi @chukka I had to disable firewalld on all servers before executing the Jfrog Platform Play. Once completed, I re-enabled firewalld and allowed connections from the hosts in the inventory.
firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='x.x.x.x' accept"
firewall-cmd --reload

Also had to open port 80 and 443 on Artifactory server.
I could see a task that loops over inventory groups and configures the firewall with rich rules (ansible.posix.firewalld).


Docs remove dead code second attempt

This PR fixes https://github.com/Kong/docs.konghq.com/pull/1016 - which caused redirects to break because a necessary closing tag --- wasn't included after the front matter.

Fixes #1026


Merge development into master

Setting up the pricelist is now a lot faster (https://github.com/Nicklason/tf2-automatic/pull/172)
Added rate command and made bot always value keys using sell price (https://github.com/Nicklason/tf2-automatic/pull/176)
Stop heartbeat and inventory timers when stopping the bot (https://github.com/Nicklason/tf2-automatic/pull/181)
Added trades command (https://github.com/Nicklason/tf2-automatic/pull/182)
Added command that requests price check (https://github.com/Nicklason/tf2-automatic/pull/185)
Added way to update entire pricelist (https://github.com/Nicklason/tf2-automatic/pull/186)

Change version to 2.6

Version will be changed after merge, in a release


[bug]: Login and Register Alert Issue - No Redirection to Home Page

Issue Description
The login and register functionality is currently only displaying an alert message after successful authentication, but it is not redirecting the user to the home page as expected. This impacts the user experience by requiring manual navigation to the home page.
Steps to Reproduce

Go to the login or register page.
Enter valid credentials and submit the form.
Observe the alert that confirms successful login or registration.
Note that the user remains on the same page instead of being redirected to the home page.

Expected Behavior

After a successful login or registration, the user should be automatically redirected to the home page.

Actual Behavior

Only an alert message is displayed, and the user is not redirected to the home page.

Video
https://github.com/user-attachments/assets/f3f547eb-a01c-496b-bd14-e433c8d5086e
Please assign this task to me under gssoc 24 and hacktoberfest tag.

I will contribute by improving the login and registration process to ensure users are automatically redirected to the home page after successful authentication. Currently, users only receive an alert confirming the login or registration, but they must manually navigate to the home page. I will review the existing code to find where the success messages are triggered and then add logic to redirect users to the home page immediately after login or registration. After making these changes, I will thoroughly test the functionality to confirm that the redirection works as expected, providing a smoother and more user-friendly experience.


Remove SciMLBase dep

This PR removes SciMLBase from the package dep, to allow us to register a new version. Ref

bors r+


address already in use

The tool works perfectly (thanks a lot for it!). I'm just a bit confused by a message which I get when running the server:
[...] listen tcp :2000: bind: address already in use
My OS: ubuntu 18.04.

Hello,
Is this issue still relevant?


Fix constructor detection on Unity.

GetConstructors() does not find private constructors by default, causing us to be unable to find the constructor of ParseObject when running in the context of Unity.
Fixes #111.

Good catch. I wonder why it only fail on Unity :/

@hallucinogen This code branch is actually only executed for unity (which does not have TypeInfo, which is what we use for the PCL version of Parse, as it doesn't have GetConstructors() at all).


don't disconnect on unauthorized worker

MPH started having problems this am returning false authorization responses after getting successfully authorized.  I never noticed that the "normal" function is to stop mining in this case, rather than failover.
https://github.com/Genoil/cpp-ethereum/blob/110/libstratum/EthStratumClientV2.cpp#L310
I should have some time later to day to fix/test on my fork, to be merged upstream.

Sorry there was some internal problem today at mph. It's all solved now. I will compensate soon.
Claymore miner disconnects when job is not updated more than 5 minutes AFAIK.
Seems like some independent timeout thing in ethminer would be good too.

Took me a while to get around to it, but I just did a Linux build including a bug fix of the unauthorized worker disconnect (it does a failover instead of disconnect).
https://github.com/nerdralph/ethminer-nr/tree/110/releases
grab version 1.2.0nr


[Bug]: Can't launch game after 1.1.1 update.

Issue Summary:
Can't launch game after 1.1.1 update.
GBFRelinkFix & Game Version Numbers: 1.1.1

same here

Yeah same here, hopefully a fix will happen soon

Working on it right now.

Okay, v1.0.9 is out with support for the latest game update.
I'm going to keep this issue open and pinned for a bit. If anyone runs in to any issues with this update, please post them here and I will have a look. I obviously haven't had much time to test things out but I have gone through all the code and it should be fully-functional.

Hi, thanks for the update
I notice when I fought Lucilius, some HUD effects (like screen red when you're low life - AOE Attack, etc..) is still in 16/9
I didn't notice these of the precedent vers. of the fix
Maybe it's the game or the boss, don't know
I want to point it out

same here. and it's exists in v1.0.8
here is the screenshot and logs.
Thank you for making this patch♥
logs
GBFRelinkFix.log
screenshot

Yeah there's still quite a few UI elements that should be spanned to fill the screen. The problem with the way I'm doing it now is that I only span certain UI elements from a list of IDs. So if I want to add something, I need to encounter it in-game then find the ID for it and add it.
It's not the best approach and I would love to have a better way of doing it but just spanning stuff globally breaks so much stuff. I should probably dump the game files with GBFRDataTools and see if there's a way to view the actual assets outside of the game.

Not sure if 1.0.9 is also for 1.1.1 or just 1.1.0
But the game won't launch for 1.1.1
And the log seemed normal I guess?
GBFRelinkFix.log

Not sure if 1.0.9 is also for 1.1.1 or just 1.1.0 But the game won't launch for 1.1.1 And the log seemed normal I guess? GBFRelinkFix.log

It should work fine on v1.1.1. Is that resolution in your log a typo? Are you really playing at 777x437? That may be causing issues.

Yeah the issue is fixed, thank you so much!

Hmm, I still can't launch the game, mod 1.0.9 on v1.1.1. Default config using desktop resolution of 3440*1440. Interestingly I never have a dinput8.dll in my game folder in the first place.

it doesn't seem to work in 1.1.2

it doesn't seem to work in 1.1.2

You could try using d3d11.dll asi loader then replace winmm.dll with the original one. That fixed the game not launching in 1.1.1 and 1.1.2 for me.
You can find the link in this repo's readme. Saying this just in case anyone has the same problem.
Apparently for me the problem caused because I used steamless (Idk if it's allowed to mention it here), even though it worked without any issue in 1.0.5.

I just got the game and can't get it to work with 1.1.2 either. Not sure if I'm not following the instructions correctly, but I placed all the filles in the installation directory and tried to load the game. I still see black borders.

Installed the update few days ago and it worked. Launched the game today and its not launching again.

Installed the update few days ago and it worked. Launched the game today and its not launching again.

Try to delete old GBFRelinkFix files, launch game without fix, then close the game and extract GBFRelinkFix 1.0.9 in the main game folder as usual.
It worked for me, i don't know if lauching vanilla game is required, but this is what i've done.

it doesn't seem to work in 1.1.2

Installed the update few days ago and it worked. Launched the game today and its not launching again.

Try to delete old GBFRelinkFix files, launch game without fix, then close the game and extract GBFRelinkFix 1.0.9 in the main game folder as usual.
It worked for me, i don't know if lauching vanilla game is required, but this is what i've done.
GBFRelinkFix.log

I think I'm missing something in the instructions. I paste the files in the install directory. Then what do I do? So I simply launch the game from Steam or am I supposed to run something else?

I think I'm missing something in the instructions. I paste the files in the install directory. Then what do I do? So I simply launch the game from Steam or am I supposed to run something else?

Launch the game from Steam

I think I'm missing something in the instructions. I paste the files in the install directory. Then what do I do? So I simply launch the game from Steam or am I supposed to run something else?

Launch the game from Steam

It appears you need to put the GBFRelinkFix.ini and GBFRelinkFix.asi files in a folder name scripts. If you download the files from the master/main branch, that is not the case which is why it wasn't working. @Lyall, I would suggest either adding this part in the read me or fixing the file structure in the repo.


Tables article

:warning: Validation status: warnings

File
Status
Preview URL
Details

LauragraDocset0317235153/excel/excel-add-ins-tables.md
:warning:Warning

Details

LauragraDocset0317235153/excel/excel-add-ins-worksheets.md
:warning:Warning

Details

LauragraDocset0317235153/excel/images/Excel-range.png
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/images/Excel-table-add-calculated-column.png
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/images/Excel-table-add-column.png
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/images/Excel-table-add-rows.png
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/images/Excel-table-create-from-json.png
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/images/Excel-table-create.png
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/images/Excel-table-filters-apply.png
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/images/Excel-table-filters-clear.png
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/images/Excel-table-formatting-after.png
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/images/Excel-table-from-range.png
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/images/Excel-table-get-data.png
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/images/Excel-table-sort.png
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/excel-add-ins-tables.md

Line 3: [Warning] Invalid file link:(~/../reference/excel/tablecollection.md).
Line 3: [Warning] Invalid file link:(~/../reference/excel/table.md).
Line 289: [Warning] Invalid file link:(~/../reference/excel/rangeformat.md).
Line 403: [Warning] Invalid file link:(~/../reference/excel/table.md).
Line 404: [Warning] Invalid file link:(~/../reference/excel/tablecollection.md).

LauragraDocset0317235153/excel/excel-add-ins-worksheets.md

Line 3: [Warning] Invalid file link:(~/../reference/excel/worksheet.md).
Line 3: [Warning] Invalid file link:(~/../reference/excel/worksheetcollection.md).
Line 350: [Warning] Invalid file link:(~/../reference/excel/worksheet.md).
Line 351: [Warning] Invalid file link:(~/../reference/excel/worksheetcollection.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Occurred Error when I start up this project

I'm submitting a problem after I cloned your project and occurred a error while I installing the dependences by using NPM, the error occurred when gulp starting the task which 'check.versions' and show error type is told:
Current behavior

TSError: ⨯ Unable to compile TypeScript, tools/tasks/seed/check.versions.ts (18,36): Cannot find name 'NodeBuffer'. (2304)
tools/tasks/seed/check.versions.ts (18,56): Cannot find name 'NodeBuffer'. (2304)
tools/tasks/seed/check.versions.ts (29,36): Cannot find name 'NodeBuffer'. (2304)
tools/tasks/seed/check.versions.ts (29,56): Cannot find name 'NodeBuffer'. (2304)
    at getOutput (/Users/kuntang/Documents/learning/angular-seed/node_modules/_ts-node@6.0.2@ts-node/src/index.ts:330:15)
    at Object.compile (/Users/kuntang/Documents/learning/angular-seed/node_modules/_ts-node@6.0.2@ts-node/src/index.ts:516:11)
    at Module.m._compile (/Users/kuntang/Documents/learning/angular-seed/node_modules/_ts-node@6.0.2@ts-node/src/index.ts:403:43)
    at Module._extensions..js (module.js:671:10)
    at Object.require.extensions.(anonymous function) [as .ts] (/Users/kuntang/Documents/learning/angular-seed/node_modules/_ts-node@6.0.2@ts-node/src/index.ts:406:12)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)
    at Module.require (module.js:604:17)
    at require (internal/module.js:11:18)
✖ Install fail! Error: post install error, please remove node_modules before retry!
Run "sh -c gulp check.versions && gulp print.banner" error, exit code 1
Error: post install error, please remove node_modules before retry!
Run "sh -c gulp check.versions && gulp print.banner" error, exit code 1
    at ChildProcess.proc.on.code (/usr/local/lib/node_modules/cnpm/node_modules/runscript/index.js:65:21)
    at ChildProcess.emit (events.js:159:13)
    at maybeClose (internal/child_process.js:943:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
npminstall version: 3.0.1
npminstall args: /usr/local/Cellar/node/9.3.0_1/bin/node /usr/local/lib/node_modules/cnpm/node_modules/npminstall/bin/install.js --china --userconfig=/Users/kuntang/.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=http://registry.npm.taobao.org

Expected behavior

Normally start up the project.
Minimal reproduction of the problem with instructions

I am't not able to fixed it...
What is the motivation / use case for changing the behavior?

Normally start up the project.
Please tell us about your environment:

Mac os 10.12.6

Angular Seed Version: b766673

Node: node --version = v10.0.0

clone the project and try yarn install instead of npm install but first install yarn,

I noticed this issue as well.
Mac OSx 10.13.4 (17E202)
Node --version: v8.11.1
npm --version: 5.6.0

Did a little digging, and it looks as though it's caused by commit b766673836684296689b223a8df78e8f9e5c55b4
reverting "ts-node" in package.json back to "^5.0.0", then re-running npm install seems to resolve it for me.

This issue is resolved after migration to Angular 6.
@mgechev , we can close the ticket.


Use legacy Districtr painting color palette, which has good accessibility properties

From @mapmeld

color palette: we did some research into color blind palette and main idea was smaller 3-5 district maps would be visually distinct. Admittedly with 10+ districts this will be a problem no matter what

closed via #93


Graph convolution models don't handle --pretrained

None of the models/graph_convolutions handle --pretrained
There are two types of bugs here:

scripts that use argparse but don't support --pretrained, and crash when --pretrained is used
scripts that dont use argparse and therefore ignore --pretrained and the result is undefined (does it have weights or not? we dont know)

The reason things are implemented this way is because they are layers, not models, so it is expected that they wouldn't have weights.
Actions needed:

Properly identify these as layers, not models (create a layers directory that is a sibling of models?)
For the scripts with argparse, capture and ignore --pretrained
Make sure all the scripts have argparse

cc @danielholanda @ramkrishna2910

Closing as stale


[Bug] worker]  The task submission is always in the dispatch state

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
When I was running a task using Dolphinscheduler3.1.7, I was DolphinScheduler3.1.7. After the task was created, it was still being dispatched when it was online, and an error was reported in the background
The error is as follows:
[INFO] 2023-11-24 16:19:20.057 +0800 org.apache.zookeeper.ClientCnxn:[1025] - [WorkflowInstance-0][TaskInstance-0] - Opening socket connection to server dolphinscheduler-master-0.dolphinscheduler-master-headless/<IP_ADDRESS>:8116. Will not attempt to authenticate using SASL (unknown error)
[INFO] 2023-11-24 16:19:20.073 +0800 org.apache.zookeeper.ClientCnxn:[879] - [WorkflowInstance-0][TaskInstance-0] - Socket connection established to dolphinscheduler-master-0.dolphinscheduler-master-headless/<IP_ADDRESS>:8116, initiating session
[INFO] 2023-11-24 16:19:20.091 +0800 org.apache.zookeeper.ClientCnxn:[1299] - [WorkflowInstance-0][TaskInstance-0] - Session establishment complete on server dolphinscheduler-master-0.dolphinscheduler-master-headless/<IP_ADDRESS>:8116, sessionid = 0x30097c18ee20003, negotiated timeout = 30000
[INFO] 2023-11-24 16:19:20.091 +0800 org.apache.curator.framework.state.ConnectionStateManager:[251] - [WorkflowInstance-0][TaskInstance-0] - State change: RECONNECTED
[INFO] 2023-11-24 16:19:20.091 +0800 org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperConnectionStateListener:[48] - [WorkflowInstance-0][TaskInstance-0] - Registry reconnected
[INFO] 2023-11-24 16:19:20.091 +0800 org.apache.dolphinscheduler.server.worker.registry.WorkerConnectionStateListener:[46] - [WorkflowInstance-0][TaskInstance-0] - Worker received a RECONNECTED event from registry, the current server state is RUNNING
[INFO] 2023-11-24 16:19:20.091 +0800 org.apache.dolphinscheduler.server.worker.registry.WorkerWaitingStrategy:[96] - [WorkflowInstance-0][TaskInstance-0] - no need to reconnect, as the current server status is running
[INFO] 2023-11-24 16:19:22.811 +0800 org.apache.dolphinscheduler.server.worker.task.WorkerHeartBeatTask:[89] - [WorkflowInstance-0][TaskInstance-0] - Success write worker group heartBeatInfo into registry, workerRegistryPath: /nodes/worker/<IP_ADDRESS>:1234 workerHeartBeatInfo: {"startupTime":1700809944198,"reportTime":1700813962771,"cpuUsage":0.0,"memoryUsage":0.15,"loadAverage":0.12,"availablePhysicalMemorySize":13.25,"maxCpuloadAvg":16.0,"reservedMemory":0.3,"diskAvailable":26.68,"serverStatus":0,"processId":102707,"workerHostWeight":100,"workerWaitingTaskCount":0,"workerExecThreadCount":100}
[INFO] 2023-11-24 16:19:25.808 +0800 org.apache.dolphinscheduler.service.log.LoggerRequestProcessor:[79] - [WorkflowInstance-0][TaskInstance-0] - received command : Command [type=ROLL_VIEW_LOG_REQUEST, opaque=767900, bodyLen=42,body={"path":null,"skipLineNum":0,"limit":1000}]
[WARN] 2023-11-24 16:19:25.809 +0800 org.apache.dolphinscheduler.service.log.LoggerRequestProcessor:[189] - [WorkflowInstance-0][TaskInstance-0] - path is null
[ERROR] 2023-11-24 16:19:25.809 +0800 org.apache.dolphinscheduler.remote.handler.NettyServerHandler:[131] - [WorkflowInstance-0][TaskInstance-0] - process msg Command [type=ROLL_VIEW_LOG_REQUEST, opaque=767900, bodyLen=42,body={"path":null,"skipLineNum":0,"limit":1000}] error
java.lang.IllegalArgumentException: Illegal path: null
at org.apache.dolphinscheduler.service.log.LoggerRequestProcessor.process(LoggerRequestProcessor.java:112)
at org.apache.dolphinscheduler.remote.handler.NettyServerHandler.lambda$processReceived$0(NettyServerHandler.java:129)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[INFO] 2023-11-24 16:19:28.787 +0800 org.apache.zookeeper.ClientCnxn:[1158] - [WorkflowInstance-0][TaskInstance-0] - Unable to read additional data from server sessionid 0x30097c18ee20003, likely server has closed socket, closing socket connection and attempting reconnect
[INFO] 2023-11-24 16:19:28.888 +0800 org.apache.curator.framework.state.ConnectionStateManager:[251] - [WorkflowInstance-0][TaskInstance-0] - State change: SUSPENDED
[WARN] 2023-11-24 16:19:28.888 +0800 org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperConnectionStateListener:[52] - [WorkflowInstance-0][TaskInstance-0] - Registry suspended
[INFO] 2023-11-24 16:19:28.888 +0800 org.apache.dolphinscheduler.server.worker.registry.WorkerConnectionStateListener:[46] - [WorkflowInstance-0][TaskInstance-0] - Worker received a SUSPENDED event from registry, the current server state is RUNNING
[INFO] 2023-11-24 16:19:30.677 +0800 org.apache.zookeeper.ClientCnxn:[1025] - [WorkflowInstance-0][TaskInstance-0] - Opening socket connection to server dolphinscheduler-master-0.dolphinscheduler-master-headless/<IP_ADDRESS>:8116. Will not attempt to authenticate using SASL (unknown error)
[INFO] 2023-11-24 16:19:30.694 +0800 org.apache.zookeeper.ClientCnxn:[879] - [WorkflowInstance-0][TaskInstance-0] - Socket connection established to dolphinscheduler-master-0.dolphinscheduler-master-headless/<IP_ADDRESS>:8116, initiating session
[INFO] 2023-11-24 16:19:30.712 +0800 org.apache.zookeeper.ClientCnxn:[1299] - [WorkflowInstance-0][TaskInstance-0] - Session establishment complete on server dolphinscheduler-master-0.dolphinscheduler-master-headless/<IP_ADDRESS>:8116, sessionid = 0x30097c18ee20003, negotiated timeout = 30000
[INFO] 2023-11-24 16:19:30.712 +0800 org.apache.curator.framework.state.ConnectionStateManager:[251] - [WorkflowInstance-0][TaskInstance-0] - State change: RECONNECTED
[INFO] 2023-11-24 16:19:30.713 +0800 org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperConnectionStateListener:[48] - [WorkflowInstance-0][TaskInstance-0] - Registry reconnected
[INFO] 2023-11-24 16:19:30.713 +0800 org.apache.dolphinscheduler.server.worker.registry.WorkerConnectionStateListener:[46] - [WorkflowInstance-0][TaskInstance-0] - Worker received a RECONNECTED event from registry, the current server state is RUNNING
[INFO] 2023-11-24 16:19:30.713 +0800 org.apache.dolphinscheduler.server.worker.registry.WorkerWaitingStrategy:[96] - [WorkflowInstance-0][TaskInstance-0] - no need to reconnect, as the current server status is running
[INFO] 2023-11-24 16:19:31.810 +0800 org.apache.dolphinscheduler.service.log.LoggerRequestProcessor:[79] - [WorkflowInstance-0][TaskInstance-0] - received command : Command [type=ROLL_VIEW_LOG_REQUEST, opaque=767905, bodyLen=42,body={"path":null,"skipLineNum":0,"limit":1000}]
[WARN] 2023-11-24 16:19:31.810 +0800 org.apache.dolphinscheduler.service.log.LoggerRequestProcessor:[189] - [WorkflowInstance-0][TaskInstance-0] - path is null
[ERROR] 2023-11-24 16:19:31.810 +0800 org.apache.dolphinscheduler.remote.handler.NettyServerHandler:[131] - [WorkflowInstance-0][TaskInstance-0] - process msg Command [type=ROLL_VIEW_LOG_REQUEST, opaque=767905, bodyLen=42,body={"path":null,"skipLineNum":0,"limit":1000}] error
java.lang.IllegalArgumentException: Illegal path: null
at org.apache.dolphinscheduler.service.log.LoggerRequestProcessor.process(LoggerRequestProcessor.java:112)
at org.apache.dolphinscheduler.remote.handler.NettyServerHandler.lambda$processReceived$0(NettyServerHandler.java:129)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
What you expected to happen
Normal task submission
How to reproduce
I deployed the Dolphinscheduler using k8s. The error occurred when the task was submitted to the worker node outside the container. Communication has been resolved, but the above problems often occur when the task submission is running
Anything else
No response
Version
3.1.x
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

[INFO] 2023-11-24 16:19:28.787 +0800 org.apache.zookeeper.ClientCnxn:[1158] - [WorkflowInstance-0][TaskInstance-0] - Unable to read additional data from server sessionid 0x30097c18ee20003, likely server has closed socket, closing socket connection and attempting reconnect
[INFO] 2023-11-24 16:19:28.888 +0800 org.apache.curator.framework.state.ConnectionStateManager:[251] - [WorkflowInstance-0][TaskInstance-0] - State change: SUSPENDED
[WARN] 2023-11-24 16:19:28.888 +0800 org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperConnectionStateListener:[52] - [WorkflowInstance-0][TaskInstance-0] - Registry suspended

It seems the registry connection was closed or expired, please check the network for it.

In fact, the network communication between the worker node and zookeeper is normal

+1  i meet the same problem,and the network communication between the worker node and zookeeper is normal,my version is 3.1.8

+1 我将master，zk，api部署在k8s，worker部署在大数据环境的主机上并且worker节点和zookeeper之间的网络通信正常。执行任务的时候任务状态为派发，但是work日志显示延时执行并且可以执行成功，打印到logs目录下。我的版本是3.1.8

已解决，将k8s中master服务的listen-port暴露出来，存入zk。


Document backports

This describes how to request backports, and how to handle backports
of standalone PRs.
Fixes: #521
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

The added link fails because it only works for logged-in users on GitHub...

The added link fails because it only works for logged-in users on GitHub...

We can add it to this ignore file: https://github.com/submariner-io/submariner-website/blob/devel/.markdownlinkcheck.json


fix: permit weak imports

Adds the new directive added by homebrew team to get around the compile errors in 10.12 since weak imports are now disallowed by default.

This will not be needed when https://github.com/Homebrew/brew/pull/769 is merged (which should be in the next <24h).

I think that instead of doing this we should either add the relevant LDFLAGS to delve (but I don't have 10.12 so I can't do it) or wait for the upstream issue to be fixed, assuming it is fixed in a timely manner.
Thanks for looking into this.

great, thanks @MikeMcQuaid ... problem solved 👍 and a better solution than per formula exceptions

Actually, let me roll that back, something still awry here as the @MikeMcQuaid merge does not appear to be working .....
@aarzilli I'm unclear on what the implicit min os value is, I'm hoping @achivetta can clarify this but I'm making the assumption that there is some association with the value that Golang itself is built with being passed on to packages that are subsequently build.
i.e. If the go formula specifies 10.6 as the minimum base OS that this becomes implicit for delve when built with go?
That being said I am no expert on the intricacies of compilation so this is a best guess.

Actually, let me roll that back, something still awry here as the @MikeMcQuaid merge does not appear to be working .....

@mcphailtom Do you have a CI failure log or something I can see? Ran brew update? Can I see your brew config?

thanks @MikeMcQuaid .... I'm still trying to rapid wrap me head around how brew hangs together
HOMEBREW_VERSION: 0.9.9
ORIGIN: https://github.com/Homebrew/brew
HEAD: 5504e2c1320d52f8a92a33c90c313a47668979c0
Last commit: 6 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 1ba3616d554237099c95ee6f39c1d9c0511d6772
Core tap last commit: 5 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.9.3 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/tommcphail/.rvm/rubies/ruby-2.3.1/bin/ruby
Java: 1.8.0_92, 1.8.0_51
OS X: 10.12-x86_64
Xcode: 8.0
CLT: N/A
X11: N/A

Delve build error :=
go build -ldflags="-s -X main.Build=v0.11.0" github.com/derekparker/delve/cmd/dlv
# github.com/derekparker/delve/proc
ld: weak import of symbol '_voucher_mach_msg_set' not supported because of option: -no_weak_imports for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [build] Error 2

Hmm, weird, can you link me to the formula too?

@MikeMcQuaid https://github.com/go-delve/homebrew-delve/blob/master/Formula/delve.rb

@MikeMcQuaid This is what you mean right?

It is, weird. I'll dig in more on this (but feel free to beat me to it)

Cool, it's time for bed here but I will definitely take a look first thing tomorrow.

@aarzilli I'm unclear on what the implicit min os value is, I'm hoping @achivetta can clarify this but I'm making the assumption that there is some association with the value that Golang itself is built with being passed on to packages that are subsequently build.

Regardless of where the implicit value is coming from we should probably set our own, since we are using cgo.

Regardless of where the implicit value is coming from we should probably set our own, since we are using cgo.

I don't disagree with doing so at all, it's probably pragmatic to be explicit. As I understand it though that won't solve the issue. Specifically Homebrew links with LDFLAGS that disable weak links, the issue therefore is removing that flag rather than adding it. The directive from @MikeMcQuaid does this I believe on a per invocation basis

This should be fixed by https://github.com/Homebrew/brew/pull/769 with one small change

Looks like this won't be needed https://github.com/Homebrew/brew/pull/782


Migrate from awkward0 to awkward1

Companion PR to https://github.com/ssl-hep/ServiceX_Code_Generator_FuncADL_uproot/pull/11.

moved to #11


Buttons: fix icon aligment

closes: inveniosoftware/invenio-theme#335

Explanation of the change:
This issue is caused by the addition of the "labeled icon" class. My hypothesis is that the "position: absolute" is causing the problem, as now the icon is not centered in relation to the parent element but using a "transform: translateY(-50%) instead.
The previous solution was creating a misalignment because the height of the text and the height of the icon were different, causing the center to be in different places. While the height of the icon is equal to the line height defined for the parent element, the height of the text is equal to the line height plus two pixels; as far as I understand, this two pixels come from the white space of the text. The idea of the solution was to add those two pixels to the height of the icon element so it both elements have the same height and they get properly aligned.

closed as this won't be an optimal solution


Switch to Slack OAuth for setup

The current flow of manually ntering an API token is already deprecated and will be removed soon.

currently getting {:ok=>false, :error=>"missing_scope", :needed=>"client", :provided=>"admin,identify,team:read"} when trying to send out invites using an access token obtained via OAuth.

turns out inviting users is now an enterprise-only feature. we'll have to retire this app.


Adds .NET 8 support

Fixes ~130 warnings too, mostly related to nullability

@JustinWilkinson I appreciate your time reviewing!


[Android] weex page render error:1001 on device 4.4 version is  0.26.0

weex page render error:1001 on device 4.4 version is  0.26.0, bug can be shown when version is 0.24.0

Please follow the issue template and provide demo on dotwe.


Linux glu dependencies included with updated makefiles

Dependencies (.h, .so) for linux compilation are tracked in the repo to allow usage without requiring local installation of GLU/GLEW/GLUT and makefiles modififed to use the lib folder correctly.
Compilation for custom visualisations also fixed (.cpp not c.)
There is a possibility of runtime driver issues, but we will have to wait and see if this occurs.
@mozhgan-kch - can you test this on AWS? If successful we can merge and close #29

Fixes #30


How to use useSWRPages with graphql?

Anyone knows how to use useSWRPages with graphql, the examples just use rest api.

Here's a simple example.
It's not the best code or the most functional code, but it should at least get you started.
Obviously you need to change GRAPHQL_ENDPOINT_URL.
I am using graphql-request for GraphQL.
const App = () => {
  const FETCH_ALL_CATEGORIES_QUERY = `
query MyQuery {
  productCategories      {
    nodes {
      name
    }
  }
}
`;

  const { data, error } = useSWR(FETCH_ALL_CATEGORIES_QUERY, (query) =>
    request('GRAPHQL_ENDPOINT_URL', query)
  );

  console.log(data); // TODO pass this to a component or do something with it
  console.log(error); // TODO do error handling

  return
Example
;
};

@w3bdesign  thanks a lot, i want to know how to use useSWRPages , not useSWR.

Hi @jackyang1984 please take a look at our new API in #435

The new pagination API has launched: https://swr.vercel.app/docs/pagination. Feel free to reopen if you are still encountering an issue!


Alternative way of running doctests

Previously we had to disable doctests on ghc-8.10.x because doctest doesn't work on the new compiler.  Given that support for ghc-8.10.x is going away, we need some way of running these doctests with the new compiler.
This PR replaces doctests with cabal-docspec which does the same thing, except differently so it doesn't suffer the same problem.
One major difference is that everything that get tested in doctest comments must be exported and imported.  Some minor changes were necessary to the doctest comments in order for them to pass.
This PR will allow us to delete ghc-8.6.5 from all our CI.

There are some test failures, but I think they are just flaky tests.

Thanks!


pip command on centOS 7 requires /usr/bin/pip-python which is not installed by easy_install

I needed to create a symlink for pip-python in /usr/bin in order for the puppet module to install awscli.
For (at least) centOS 7, /usr/bin/pip is the pip binary. I had to add a link in the puppet-awscli module in order to get it to work.

As noted in #35, this is a bug with Puppet. I would setup a resource that is applied before you call you awscli class instance:
  # Workaround for PUP-4997/3829
  file { '/usr/bin/pip-python':
    ensure => 'link',
    target => '/usr/bin/pip',
  }```


Do not serialize optional fields with a container attribute

I know about field attribute
#[serde(skip_serializing_if = "Option::is_none")]

But it is very common, for example, for json, not to serialize fields if they are empty. I have big structures with many optional types and it is very noisy to add this attribute to each of these fields. I propose to add one container attribute instead:
#[serde(skip_optionals)]
pub struct A {
    pub field: Option<i64>,  // will not be serialized as same as if skip_serializing_if = "Option::is_none"
}

This is opportune, since there have been a few questions lately on SO around using serde with optional or null-like fields [1, 2, 3]. This includes a question of your own,  it seems. :slightly_smiling_face:
I wouldn't be against a new attribute to make this use case a bit more elegant. The more I think of it, the more I realize how hard it is to come up with a good one. Nonetheless, skip_optionals seems to work fine, with the drawback that it cannot represent mandatory fields with optional values (for instance: a field that can be either string or null in JSON, but must not be missing). It also won't work with the solution here, where a custom type was used.
With all this in mind, I'm certainly interested in hearing from the Serde developers on this subject. :slightly_smiling_face:

The problem is that we have no clue which fields have what type. This is similar to the serde borrow attribute. We only get a textual representation of the types. But that could be anything... a newtype with the same name, or a type alias, or some random type which looks like a known type.
We could do some best effort thing where we try to do the right thing for vec, option, boxed slice, string...

@oli-obk I don't quite understand what are you gonna say. With syn crate it is very easy to enumerate fields of a struct with their types. So, we do that and mark all the options with a boolean flag which says "skip serialization if it is Option and such key was not present in the json". I will do that by myself.

The concern was things like:
type MaybeString = Option<String>;

#[derive(Serialize)]
#[serde(skip_optionals)]
struct Vityafx {
    name: MaybeString,
}

It would be unfortunate to factor out the type of a field into a type declaration (which is never a breaking change) and realize later that it broke serialization because the field no longer looks like an Option.

In any case, I would be okay with adding a container attribute that does the best-effort version of this.

@dtolnay oh, okay, now I agree that this would be difficult to implement since we don't know what the real type is (if syn crate gives only name of the type as String)... Is there any chance to extend syn in that way?

@vityafx it is not a limitation of syn, but of the procedural derive macros offered by rustc. This won't change in the near future, but there are vague plans to improve it someday. I'm not sure if things like this will ever work, but there will be some improvements.

It is not possible to solve in general, and I don't know of any vague plans that involve this. You might have a derive like:
#[derive(Wow)]
struct Vityafx {
    name: MaybeString,
}

where the output of the derive is:
type MaybeString = Option<String>;

So in general it is impossible to know the type of anything until after macro expansion is all done. There is no API you could invent that would tell you the type of MaybeString because that type is defined later on by the macro.

I meant improving the derive macros to not work on strings anymore and having some form of communication with the compiler other than "please dump this text somewhere near the type declaration you gave me". No clue whether that will ever help in cases like these.

Wouldn't it be possible to implement this with specialization:
trait ShouldSkip { fn should_skip(&self) -> bool }
impl<T> ShouldSkip for T {
    default fn should_skip(&self) { false }
}
impl<T> ShouldSkip for Option<T> {
    fn should_skip(&self) { self.is_none() }
}

Now you can implement the attribute as just adding #[serde(skip_serializing_if = "ShouldSkip ::should_skip")] to all the fields, regardless of their type.

Is there any update on this issue? I think Diggsey's suggestion could be used in combination with the initial suggestion of using #[serde(skip_optionals)] on the struct to achieve our goal perfectly :-)

Also adding a ping here, as we use Rust and "JSON:API" at System76. Some JSON resources in our inventory system have dozens of possible attributes, most of which are Option<T> and should not be included during serialization.

+1 for this feature

https://docs.rs/serde_with/latest/serde_with/attr.skip_serializing_none.html


I can't seem to get anything to fail in a TS Playground

@geoffreytools i can't seem to get anything to fail in ts-spec
import { test } from 'ts-spec';

test('test description' as const, t =>
    t.equal(1)<string>() // no error
);

playground
Originally posted by @DetachHead in https://github.com/microsoft/TypeScript/issues/27024#issuecomment-1331451809

@DetachHead,
How were you able to import ts-spec in the playground? I was never able to import my own modules.
Do you have the same problem with<EMAIL_ADDRESS>? The same code works in a CodeSandbox, but it didn't in the previous version because I was exporting declare const test and CodeSandbox didn't like it. I wonder if it's related.

How were you able to import ts-spec in the playground? I was never able to import my own modules.

you can use any npm package in the playground by just adding an import from it.
import { test } from 'ts-spec'

this will make it download the package in the background

Do you have the same problem with<EMAIL_ADDRESS>?

nope, it seems to work on 1.0.2

Thanks for your feedback, I'll have to find a way to please both CodeSandbox and TS Playground.
I had tried to import my packages free-types and type-lenses in TS Playground before. I thought I was doing something wrong because it never worked.
There are errors in the console, It's finding t and not finding it at the same time ¯_(ツ)_/¯ I may file an issue
Adding file:///node_modules/type-lenses/package.json to runtime
> Object { code: "{\n  \"name\": \"type-lenses\",\n  \"version\": \"0.1.2\",\n  \"description\": \"Extract or modify pieces of arbitrarily nested types with type lenses\",\n...
> Uncaught (in promise) Error: Could not find source file: 'file:///file%3A///node_modules/type-lenses/package.json'

That's a little embarrassing XD
Yes, I would be curious to know your config so I can try to reproduce the problem locally.

something very strange is going on here... it works in the exact same project on my work PC, but not on my home PC. i will have to investigate more when i get home tomorrow

Yay, configuration issues, the best part of programming !

i'm stumped. it may be an issue with the playground, i can't get the issue to happen locally anymore

I made some progress: importing the dependency separately makes it work (playground).
import { test } from 'ts-spec';
import {} from 'free-types-core'

test('test description' as const, t =>
    t.equal(1)<string>() // error
);

It could be that TS Playground doesn't supposed resolving dependencies, or maybe I'm configuring it all wrong.
Now, in order to be able to do this I first had to build free-types-core (I also did the same with free-types so it can work in TS Playground as well). I noticed that it's what ts-toolbelt was doing (their out/index.js is empty)
Sadly, it had dire consequences:

ts-spec no longer works in Code Sandbox
free-types and free-types-core no longer work in Code Sandbox
it broke some imports in free-types (I can no longer import from 'free-types/experimental, I need to do it from 'free-type/dist/experimental', which is annoying)

I'm considering rolling back my changes but before that I'll ask for help

What resolved the issue eventually was to only import stuff from free-types-core's entry point.
For some reason the interface TypesMap imported from free-types-core'/dist/TypesMap was not imported correctly. It should have contained a bunch of stuff but was instead empty and produced any values when used, which messed with the equality checks.
I am not sure why adding import {} from 'free-types-core' was making it work but I would not be surprised if TS Playground's module resolution was a little rough on the edges considering there is no place to declare dependencies, it's importing stuff on the fly with heuristics. There have to be limitations.


Adam weight decay optimizer for TF 2.0

System information

TensorFlow version (you are using): 2.0
Are you willing to contribute it (Yes/No): Yes

Describe the feature and the current behavior/state.
I am looking to migrate some optimization code I forked from BERT to TF 2.0. The optimization involves the Adam weight decay optimizer and is implemented in TF 1.15 according to
https://github.com/artitw/text2class/blob/master/text2class/optimization.py
Will this change the current api? How?
For the TF 2.0 API, we can specify the Adam optimizer like below. However, it is unclear how the weight decay component can be implemented as it requires keeping track of the global step.
model.compile(optimizer=tf.keras.optimizers.Adam(
    learning_rate=2e-5,
    beta_1=0.9,
    beta_2=0.999,
    epsilon=1e-6,),
                loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),
                metrics=[tf.keras.metrics.SparseCategoricalAccuracy(name="acc")])

Who will benefit with this feature?
Researchers and engineers working with BERT and BERT-based models will benefit. The original BERT repo has almost 20k stars, but it has yet to be migrated to TF 2.0.
Any Other info.
If the capability to achieve what I describe above already exists, please let me know!

Hi @artitw,
sorry, I just saw your post now. AdamW has been migrated to tf-addons.
Regarding the global step: I'm not too familiar with the keras interface but the weight decay extension is just a wrapper around the vanilla Adam. The weight decay part doesn't need the global step. If you're using a learning rate schedule that depends on the global step, you should apply the same schedule to the weight decay.
Cheers,
Phil

Hi Phil,
Thanks for the update and tips! I'll close this now.
Best,
Art


Add tests to increase coverage and pass build.

Noticed that the build was failing due to coverage within locales.py and util.py.
This commit fixes the build based on this.
https://travis-ci.org/Irishsmurf/arrow

Current coverage is 100.00%

Branch #296 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.

Powered by Codecov. Updated on successful CI builds.

I believe someone actually fixed this back in September, but their pull request is yet to be accepted. I feel like this project has been abandoned by whoever the maintainers are...

Yeah I believe it so. I fixed it already.

Ah, that's a shame.
On Wed, 20 Jan 2016, 21:30 Philip Tzou<EMAIL_ADDRESS>wrote:

Yeah I believe it so. I fixed it already.
—
Reply to this email directly or view it on GitHub
https://github.com/crsmithdev/arrow/pull/296#issuecomment-173364954.

Yup it's still sitting there at #289

Looks like #289 has been merged, I'll go ahead and close this.


Support Podman for unorchestrated environments

Kubearmor connects to the container-runtime to get the mount-namespace and other details (for eg, container image details etc).
These details are used subsequently in the telemetry/log enrichment. For e.g -

Check if the process event is in the context of the container/namespace.
To check what is the container image ID for the event that is generated

The aim is to create Podman support for kubearmor for unorchestrated environments as podman does not implement the CRI.
Initial Scope:

[ ] Design points
[ ] Leverage OCI hooks for container information
[ ] Validate policy enforcement with Podman
[ ] Validate alerts/telemetry with Podman

Future Items:
Support for podman with socket mode as well
References:

https://www.redhat.com/en/blog/open-container-initiative-hooks-admission-control-podman
https://github.com/containers/podman/tree/main/pkg/bindings
https://www.redhat.com/en/topics/containers/what-is-podman
https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md

Hey @rootxrishabh , I am interested in the issue of creating Podman support for KubeArmor in unorchestrated environments. I plan to review the reading materials you provided and other resources available online related to Podman. I will come up with a proper plan and design for this project.

Hey @rootxrishabh,Exicted to work on this issue of creating Podman support for KubeArmor for unorchestrated environments.Currently going through the references you have shared.

hii @rootxrishabh  I would like to work for this project as it aligns with my skills and interests under the LFX mentorship programme

@rootxrishabh this would be an exciting project for me as i've worked closely with podman during my global certification training with RedHat for RHCSA and RHCE, i'll go through the resources and prepare a plan for the project.

hey @rootxrishabh are there any prerequisites for working on this particular project?


Spectrum Icons do not take value from color prop and are always displayed in grey

🐛 Bug Report
Spectrum icons are showing up as grey when the color prop is set. The color: var(--spectrum-semantic-negative-color-icon); part is not added as a style on the dom element. I don't understand why.
🤔 Expected Behavior
Semantic colors should work based on color prop
😯 Current Behavior
Icons show up as grey.
Codesandbox: https://codesandbox.io/s/rsp-alert-icon-colors-dp2st?file=/package.json
💻 Code Sample
<Provider theme={defaultTheme} colorScheme="light">
      <Flex gap="size-100">
        <Alert aria-label="Default Alert" />
        <Alert aria-label="Negative Alert" color="negative" />
        <Alert aria-label="Notification Alert" color="notice" />
        <Alert aria-label="Positive Alert" color="positive" />
        <Alert aria-label="Informative Alert" color="informative" />
      </Flex>
</Provider>

🌍 Your Environment

Software
Version(s)

react-spectrum
3.3.0

Browser
All browsers

Operating System
Mac OSX

🧢 Your Company/Team
🕷 Tracking Issue (optional)

Workaround I found was:

delete node_modules
Delete yarn.lock / package-lock.json
npm install / yarn

Then this works correctly

You likely had an older version installed which didn't have the color icon support yet. Glad you got it working.


Rename prod-devel-rcar-s4.yaml to prod-devel-rcar4.yaml

PR https://github.com/xen-troops/meta-xt-prod-devel-rcar-gen4/pull/115 should address this issue.


Data fetch failed (Invalid Config.) with Solutions/LastPass

Hello,
I think there is a problem with the solution, after deploying the solution from the content hub, I was able to go into the connector and configure the connection to LastPass, but the table never created.
And I have these two alerts that keep repeating:

Thanks

Hi - Are you still facing the issue?

Hello,
Thank you for your feedback, but I couldn't wait for the resolution.
We finally built our own solution.
Thanks
From: ashishsyal @.>
Sent: January 5, 2023 7:58 AM
To: Azure/Azure-Sentinel @.>
Cc: ChristopheDMTL @.>; Mention @.>
Subject: Re: [Azure/Azure-Sentinel] Data fetch failed (Invalid Config.) with Solutions/LastPass (Issue #6202)
@ChristopheDMTLhttps://github.com/ChristopheDMTL - Please check and let us know if the issue is still persisting for you.
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/Azure-Sentinel/issues/6202#issuecomment-1372183525, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXP5D4ZLTFUQGSAWHEAQQ4TWQ3AMPANCNFSM6AAAAAAQSNVFE4.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@ChristopheDMTL, Thanks for the confirmation, we are closing this issue.


[Sensory Characteristics: Settings>Keyboard Manager>Remap a Key]: Tooltip is not defined for 'Add key Remap' and 'Delete Remapping' buttons.

[Power Toys Settings- Keyboard Manager>Remap Key]
User Experience:
Sighted users will not be able to identyfy the icons if they don't have tooltips defined for them.
Test Environment:
"OS Version: 20221.1000
App Name: Power Toy Preview
App Version: v0.23.0
Screen Reader: Narrator"
Pre Requisites:

For deleting any row , minimum one row should be present.

Repro-steps:
"1. Open Power Toys Settings App.
2. Navigate to Keyboard Manager list item in left pane and activate it.
3. Navigate to Remap a key button present in right pane and activate it.
4. Remap Key window will open.
5. Navigate to 'Add key Remap' button and present in window verify the issue. "
Actual Result:
"Tooltip is not defined for 'Add key Remap' and 'Delete Remapping' buttons.
Note:
Same issue is repro in 'Remap a Shortcut'."
Expected Result:
Tooltip should be defined for 'Add key Remap' and 'Delete Remapping' button.
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={1823da5a-e8fb-4e63-b881-7eccb312c358}
14_Color Picker_MAS1.3.3_tooltip is not define.zip

Added in 0.25.  https://github.com/microsoft/PowerToys/releases/tag/v0.25.0


Dependabot not detecting yarn workspaces

Hello,
I've installed dependabot in this project where I'm using yarn workspaces (no lerna) but it has only detected the files in the root:

And that's what's happening with its PRs so far. In https://github.com/molant/hint/commit/d5ab8b48f7f75e3706647d6595140bb2d4d0893b there should be more packages updated.
After going through the issues in this repo it seems like this should just work without having to use lerna but I haven't found a definitive answer.
Thank you

Thanks for the heads up. Looks like Dependabot is getting confused by the "packages/!(connector-edge)" specification. Let me take a look at fixing that.

This should now be fixed. Thanks again!

Thanks a lot!


numeric solvers

@tramy1258, I've done some changes in LogPolynomialApproxSolver. Please let me know what you think about it.


Adding additional functionalities for GANs

Fixes #814
Proposed Changes

new function for creating optimizers
new function for creating schedulers
new managers and config parser

Checklist

[X] CONTRIBUTING guide has been followed.
[X] PR is based on the current GaNDLF master .
[X] Non-breaking change (does not break existing functionality): provide as many details as possible for any breaking change.
[X] Function/class source code documentation added/updated (ensure typing is used to provide type hints, including and not limited to using Optional if a variable has a pre-defined value).
[X] Code has been blacked for style consistency and linting.
[ ] If applicable, version information has been updated in GANDLF/version.py.
[ ] If adding a git submodule, add to list of exceptions for black styling in pyproject.toml file.
[ ] Usage documentation has been updated, if appropriate.
[ ] Tests added or modified to cover the changes; if coverage is reduced, please give explanation.
[ ] If customized dependency installation is required (i.e., a separate pip install step is needed for PR to be functional), please ensure it is reflected in all the files that control the CI, namely: python-test.yml, and all docker files [1,2,3].

Codecov Report
Attention: Patch coverage is 0% with 500 lines in your changes are missing coverage. Please review.

Project coverage is 89.63%. Comparing base (64962a1) to head (f6a007a).

Files
Patch %
Lines

GANDLF/GAN/parseConfigGAN.py
0.00%
324 Missing :warning:

GANDLF/GAN/training_manager_gan.py
0.00%
111 Missing :warning:

GANDLF/GAN/optimizers/__init__.py
0.00%
22 Missing :warning:

GANDLF/GAN/schedulers/__init__.py
0.00%
22 Missing :warning:

GANDLF/GAN/inference_manager_gan.py
0.00%
21 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
- Coverage   95.04%   89.63%   -5.41%
==========================================
  Files         119      124       +5
  Lines        8288     8788     +500
==========================================
  Hits         7877     7877
- Misses        411      911     +500

Flag
Coverage Δ

unittests
89.63% <0.00%> (-5.41%)
:arrow_down:

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.

Is there a reason why the current config_manager cannot be updated the support the synthesis parameters?

I wanted to keep the entrie (or nearly entrie) GAN pipeline separate for testing and reviews. I tought that if we decide that the initial pipe is complete then I will merge with exisitng functionalities


"Show my location" feature

It would be nice to have a feature that shows you where you are, just like on the osm.org website

Does this existing button work for you?
Note that there is a fix related to safari 15 users which has been merged but not yet deployed.

Maybe we should consider switching icons. The "compass arrow" icon seems to be more common than the "target" icon we're currently using.

This icon is good, I just haven't noticed it :) probably because of it's color when not available :) sorry for bothering you


Provide CLI argument for setting CI Server URL when publishing build information

currently the CLI sets the CI Server URL to blank when it uploads build information into artifactory. Please make this value settable via an argument, so that I can use the CLI from e.g. Jenkins. This would be really nice. I could just use the jenkins plugin, but I have a bunch of variables set in my bash script that I want to use when I publish, and I can't bring them out of the shell script and into the groovy portion of my Jenkinsfile.

@djhaskin987,
Version 1.14.0 has been released and includes a new build-url option for the build-publish command. You can use it to add the URL of your CI server build to the build-info, so that it can be viewed and accessed from the Artifactory UI.

YAY


[NEW]: All your apes belong to us... due to poor Web2 practices

Date
2022-01-24
Description
Attacker used OpenSea's API to buy an NFT for an older, much lower price that the current listing price (turns out OpenSea allows for sellers to edit listing prices) then flipped it.
https://therecord.media/hacker-abuses-opensea-to-buy-nfts-at-older-cheaper-prices/
Links
https://therecord.media/hacker-abuses-opensea-to-buy-nfts-at-older-cheaper-prices/
Agreement

[X] I irrevocably agree to release my contribution under the CC-BY 3.0 License

Attribution name
No response
Personal link
No response

Thank you! https://web3isgoinggreat.com?id=2022-01-24-1


Add documentation for new bitwise AND, OR and XOR operators

This documents new InfluxQL language features, which are currently in an open pull request to the main influx repo (link to follow), so please don't merge it until that one is also merged!  Thanks.
Also, these changes are currently in the InfluxDB 1.2 tree, but it is likely that they won't be released until 1.3.  However, there is currently no 1.3 doc tree to put them in.  Should I have created one?

Awesome! Thanks, @Tomcat-Engineering! We usually create a 1.3 directory closer to the 1.3 release. I'll keep this open for now and I'll port your changes over when we're ready!

Closing this because I ended up moving it over to a different PR for the 1.3 docs - you're mentioned in the commit message. Thank you again for submitting your work!!!


Add NS_DESIGNATED_INITIALIZER macro to RLMObjects init

This fixes https://github.com/realm/realm-cocoa/issues/2416 . It makes to be able to find the custom init method that has been added in the category from Swift. I'm not sure that this change reasonable or not. I'd like to hear thoughts of others. @bdash @tgoyne @segiddins

Should this also go on the other initializers as well?

initWithValue: also needs to be marked as a designated init since it calls a super init.

:+1:

:+1:

Thanks!


most requests fail with curl code 77 error

My code was working just fine until decision was made to start linking AWS SDK statically. Now most of requests (~80%) fail with (error 99) 'Can connect to endpoint' and log show this:
[ERROR] 2017-05-16 20:05:18 CurlHttpClient [140198444779264] Curl returned error code 77
I spent about half of day trying to figure it out, but so far no luck. Google is full of 'curl code 77' problems related to certificate storage access, but it can't explain why about 20% of requests work just fine (and why static linking could cause this).
I suspect it might be related to linker options I am using (order of some libs is wrong?). As of now end of that line looks like this:
-laws-cpp-sdk-s3 -laws-cpp-sdk-core -lcurl -lcrypto
I had to add curl and crypto after switching to static linking.
Here is how I built SDK (note we use v1.0.59):
- install AWS SDK:
	- install cmake v3.0+:
		cd ~
		wget https://cmake.org/files/v3.7/cmake-3.7.2.tar.gz
		tar xzf cmake-3.7.2.tar.gz
		cd cmake-3.7.2
		./bootstrap
		make -j
		sudo make install
		hash -r
	- install AWS C++ SDK v1.0.59 (and related dependencies):
		sudo yum -y install libcurl-devel openssl-devel libuuid-devel
		git clone https://github.com/aws/aws-sdk-cpp.git
		cd aws-sdk-cpp
		git reset --hard 1.0.59
		mkdir ~/aws-sdk-cpp-build
		cd ~/aws-sdk-cpp-build
		cmake -DCUSTOM_MEMORY_MANAGEMENT=0 -DBUILD_SHARED_LIBS=0 -DMINIMIZE_SIZE=1 -DBUILD_ONLY=s3 -DENABLE_TESTING=OFF -DCMAKE_INSTALL_LIBDIR=lib64 ~/aws-sdk-cpp
		make -j
		sudo make install
		sudo ldconfig

OS: CentOS 7 (minimal installation + few packages like 'Developers Tools', etc)
Help!

side-note: you don't need libuuid anymore.
Can you send me a trace output log that contains a request succeeding, and some failing?

Also, this just started happening? Was this perchance S3 in region SA-EAST-1 ?

you don't need libuuid anymore.

Since which SDK version?

Can you send me a trace output log that contains a request succeeding, and some failing?
Here: aws_sdk_2017-05-16-20.zip

Here you could see multiple threads executing PutObject. Most of them fail. All of them share same S3Client. These requests are parts of bigger tasks that execute undo actions (DeleteObject requests) if one of subtasks fail. Setting verifySSL to false causes problems to go away.

Also, this just started happening? Was this perchance S3 in region SA-EAST-1 ?

No, it is a Webscale demo account. I highly doubt it has anything to do with server side since I switched to static linking over course of few hours (it was working before the switch).

doesn't look like it starts failing until we make our 7th tcp connection. Can you try setting your client config to only have 6 connections? (This is for debugging, not for the solution).

6 / 30 connections == 20% success rate.
That is curious indeed.

We removed libuuid ages ago and moved to just hitting /dev/urandom. Unfortunately, we didn't remove it from the build dependencies on linux until this week.

hmmm max file handles on your CA file?

Log is probably a concatenation of multiple runs. Sometimes entire run is successful. Each test run -- 3 files to upload (3 tasks --> 6 PutObject requests). Each upload is executed (typically) on a new thread.
Another thing wanted to mention -- on linker line I ended up with both -lcrypt and -lcrypto. Probably unrelated (not sure exactly what these libs are doing).

hmmm max file handles on your CA file?

can you elaborate? Not sure what you mean

It fails when it opens the 7th tcp connection and all other connections will fail after that. So you keep succeeding 20% of the time, but fail on all others, because the original 6 are left open.
error code 77 indicates libcurl wasn't able to read the CA_FILE... just brainstroming here

I should note, we open a new connection for each concurrent request until we reach the maximum number of connections in the pool. Once a thread finishes, the connection is returned (still open) to the pool.

Pretty sure I've seen it failing on first connection. As well as not failing at all

You should be able to use:
pkg-config libcurl --libs pkg-config openssl --libs for your linker line.

Thanks. I'll give it a try tomorrow.

ok, i'll think on this some more. Maybe something will come to me.
My best guess, is you are linking to something that has different behavior than before.
Like maybe libnss ?
-lcrypto wouldn't be the culprit since that isn't where TLS resides.
LibCurl is likely the culprit. My guess is libcurl.a is linked against libnss (which is the spawn of satan) while libcurl.so is linked against openssl.

My best guess, is you are linking to something that has different behavior than before.

I was thinking maybe MINIMIZE_SIZE could cause change in behaviour -- it compines all cpp files into one to compile. C++ doesn't like stuff like that.

My guess is libcurl.a is linked against libnss

I am pretty sure I link against libcurl.so. Will check tmrw.

libnss (which is the spawn of satan)

:-) Once I had to write some logic that was calling into openssl -- after few days I was thinking smth along the same lines.

Spent entire day today dealing with this. It looks like a race condition in libnss.so. Here is what I've found:

problem happens regardless how SDK is linked

I reduced my workload to just one PutObject call -- it works. Well, few calls still fail with curl code 28, but it is fixed with connection timeout increase

I changed workload to execute two PutObject calls in parallel on threads that are not ones that initialized SDK -- problem now manifests in majority of cases. In fact it is hard to get both of them to succeed (but possible). File size in question -- zero bytes.

I read up on libcurl a bit and checked SDK code for MT-related issues. Everything seems ok. Discovered CURL tracing code that was commented out, put it back in, recompiled SDK, run my tests. Logs are here:
success_but_long_sleep.txt
bad.txt
good.txt

attempts to debug it show that we often sit in _nss_dns_gethostbyaddr4 (or smth similar). And from time to time it takes ~6 seconds for this function to return.

I've used strace and checked every file being touched -- they are all accessible under my account. Running test under root yielded same result.

I am running out of ideas here, tbh... Google is full of pages mentioning race conditions in libnss, but they all seem to be already fixed and my packages seem fresh enough:
$ yum list installed | grep curl
curl.x86_64                          7.29.0-35.el7.centos           @base
libcurl.x86_64                       7.29.0-35.el7.centos           @base
libcurl-devel.x86_64                 7.29.0-35.el7.centos           @base
python-pycurl.x86_64                 7.19.0-17.el7                  @anaconda
$ yum list installed | grep nss
jansson.x86_64                       2.4-6.el7                      @anaconda
nss.x86_64                           3.28.4-1.0.el7_3               @updates
nss-softokn.x86_64                   <IP_ADDRESS>-14.4.el7              @base
nss-softokn-freebl.i686              <IP_ADDRESS>-14.4.el7              @base
nss-softokn-freebl.x86_64            <IP_ADDRESS>-14.4.el7              @base
nss-sysinit.x86_64                   3.28.4-1.0.el7_3               @updates
nss-tools.x86_64                     3.28.4-1.0.el7_3               @updates
nss-util.x86_64                      3.28.4-1.0.el7_3               @updates
openssh.x86_64                       6.6.1p1-22.el7                 @anaconda
openssh-clients.x86_64               6.6.1p1-22.el7                 @anaconda
openssh-server.x86_64                6.6.1p1-22.el7                 @anaconda
openssl.x86_64                       1:1.0.1e-60.el7_3.1            @updates
openssl-devel.x86_64                 1:1.0.1e-60.el7_3.1            @updates
openssl-libs.x86_64                  1:1.0.1e-60.el7_3.1            @updates

Help!

Huh... I might have found it:
https://curl.haxx.se/mail/lib-2016-08/0119.html
https://bugzilla.mozilla.org/show_bug.cgi?id=1297397
Tmrw will try to find if there is a workaround...

My recommendation is to use libcurl linked against openssl. Libnss has too many issues.
Sent from my iPhone

On May 17, 2017, at 7:27 PM, crusader-mike<EMAIL_ADDRESS>wrote:
Huh... I might have found it:
https://curl.haxx.se/mail/lib-2016-08/0119.html
https://bugzilla.mozilla.org/show_bug.cgi?id=1297397
Tmrw will try to find if there is a workaround...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I am not particularly familiar with art of deployment on Linux. What do I need to do to ensure my app ends up using lubcurl+openssl on client's machine? Linking against them statically is likely possible but isn't smth I am looking forward to -- this means security patches/etc won't apply to my app...
Also, any ideas on these mysterious 6 seconds delays observe?

Ended up building latest libcurl (v7.54) from sources (with OpenSSL -- libNSS refused to compile due to some missing NSPR headers :D). Linked both AWS SDK and libcurl statically (this app is not going to talk to Internet, so security patches are not particularly necessary). Problem is gone!
Turned out there is another one which was largely obscured before. :-\ I'll submit it as another issue.