[AAP-7174] Database defined default user roles

Drop configuration parameter EDA_DEFAULT_USER_ROLE in favor of database defined default user roles.
The roles database tables now has new is_default field. When is_default set to True, a role is automatically assigned to a user at user creation or registration.
Implements: https://issues.redhat.com/browse/AAP-7174
Testing instructions

Create an empty database

Execute:
python scripts/load_data.py tools/initial_data.yml

Login as root:
TOKEN=$(http -f POST http://localhost:9000/api/auth/bearer/login<EMAIL_ADDRESS>password=secret | jq -r .access_token)

Check roles, a new is_default field must be included in response.
http -A bearer -a "$TOKEN" http://localhost:9000/api/roles
[
    {
        "description": "Has full access to all resources",
        "id": "4ca9cd32-e11e-4634-875e-4acf7a5682e1",
        "is_default": false,
        "name": "admin"
    },
    ...

Check your roles, you should see default role in the list of roles.
http -A bearer -a "$TOKEN" http://localhost:9000/api/users/me/roles
[
    {
        "description": "Default role, that is applied to all users",
        "id": "12e9b549-e1eb-40cb-b84b-f289614439af",
        "is_default": true,
        "name": "default"
    }
]

Login as any other user, repeat steps 3 and 4.

@cutwater Just a small comment on this; I believe the PR description shouldn't go as part of commit message, especially if the description is too large. Before merging PRs, we could edit and shorten the description into a brief summary.

@Dostonbek1 @cutwater I Agree. This is configured at repo level. It can be just the title, or the commit message. We can discuss it the next sync meeting

@Dostonbek1 Thank you for this remainder. I forgot to remove the testing instructions from the commit message.


[error] Installing nodejs with Debian 11 and 12

Script
nginx-proxy-manager
Describe the bug
[error] Installing nodejs
/tmp/npm_install.sh: line 104: npm install --global yarn
command not found
System info:

Proxmox Version: 8.0.3
Alpine Version: nil
Debian version: 11 and 12

Screenshots

Additional context
may relate to issue #132
Add any other context about the problem here.
I think there are changes to yarn that might effect this.

Following this guide's instructions resolved the same error for me.


Support stylelint@11

Personally, I'd just bump the peerDependencies version and skip the whole thing for testing 10.x too. Beats the point of npm ci and the lock file.
The Node.js version is a good addition, though.
/CC @olegskl

@XhmikosR yeah, I thought about testing just stylelint 11, but thought I'd trying to avoid a breaking change

IMO this should be a major version bump without the custom stuff to test stylelint 10.x. npm ci should be used on CI.

@olegskl friendly ping

I agree with @XhmikosR. We should probably do a major release of gulp-stylelint for every major release of Stylelint.

Done!
I will be gone on vacations from tomorrow, please push any necessary changes :)

@perrin4869 please do npm i locally, commit and squash your patches into one.

@olegskl can you can merge this and #115 and release a new version (major) please?

Actually I pushed a few more patches; they should be fairly trivial to review. Feel free to CC me if needed in any of my PRs.


bug: cannot execute query with native python set parameter

Code like this:
prepared = await session.prepare(f"DECLARE $param as Set<Int8>; SELECT $param as value")
result = await session.transaction().execute(prepared, {"$param": {1, 2, 3}}, commit_tx=True)

throws an error:
AttributeError: 'set' object has no attribute 'items'
Would like to pass in execute native python set object.

Сurrently YDB presents sets as dictionaries with empty values, so you should use a dictionary with None values to pass a set.


[BUG] Installed package not updated

Describe the bug
I've installed in a fresh project but the installed is empty

I made a terrible mistake.
This bug was made in a new feature (asmdef auto-generation for Analyzer).
I will fix it ASAP.


[NEW ALGORITHM]  Dijkstra's Algorithm for Shortest Paths

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.

Name:
[NEW ALGORITHM]  Dijkstra's Algorithm for Shortest Paths
About:
Dijkstra's Algorithm is a famous algorithm used to find the shortest paths between nodes in a graph. It can be applied to weighted graphs where the weights are non-negative. The algorithm uses a priority queue to explore the shortest path from a starting node to all other nodes in the graph efficiently.
Labels:
new algorithm, gssoc-ext, hacktoberfest, level2

Assignees:

[ YES] Contributor in GSSoC-ext
[YES ] Want to work on it

Greetings!
I would like to take up this particular issue. Please guide me with the steps that need to be taken for contributing to this project in an efficient and correct manner.
Thank you.


[FEATURE REQUEST/Question] Whats best practice when doing findRelevant?

Is there a best practice when searching for relevant embeddings in the vector db?
I see in the examples, its just searching for the question. But imagine a case like this:
Q: How tall is it?
A: What do you mean by 'it'?
Q: The eiffel tower
A: I am not sure how tall it is given the current context.
This happens because in the second question, i am simply searching for "the eiffel tower" in the vector database and not finding relevant context.
Would be cool if we could have a method, that would actually descibe what the question is, that we could search for in the vector db.

@AbdullahGheith how do you see this method working? One of the simplest options could be to take into account X (configurable) previous messages (from user or AI or both) and then searching DB by the embedding of all messages combined (or by each message and then combining results). Might help in the situation like this, but might also degrade the performance for other use cases (regular full questions). Another option would be to have an agent that would summarize the question on each interaction (so it would be able to provide something like "How tall is the Eiffel tower?" after this interaction:

Q: How tall is it?
A: What do you mean by 'it'?
Q: The eiffel tower

Please share your thoughts

Afaik, every time a prompt is sent, all history is sent along with it (if memory is enabled).
Of course, memory has to be enabled for this to work. Agents are a good idea.
If we can (somehow) figure out when the model got confused, and send that part of the history to an agent that will summarize a question
For instance:
Q: hello!
A: hello!
Q: how tall is it?
A: I am not sure what you mean by 'it', can you be more specific? <- confusion starts
Q: the Eiffel tower
Then the following will be sent to the agent:
Q: how tall is it
Q: the Eiffel tower
And the agent will return: how tall is the Eiffel tower
And this will be what is searched in the vector db

I would suggest you to search langchain/openai/etc forums/reddits/discords and see what people say. I am sure htis problem has been solved in many ways already and most probably there is a good solution already.

I will try and find a solution and will report back how they do it

Hi @AbdullahGheith, this is now supported: https://github.com/langchain4j/langchain4j/pull/538
I am closing this issue, but feel free to reopen if needed.
Cheers!

Thanks for notifying me. This looks amazing. Good job!
ons. 31. jan. 2024 08.06 skrev LangChain4j @.***>:

Hi @AbdullahGheith https://github.com/AbdullahGheith, this is now
supported: #538 https://github.com/langchain4j/langchain4j/pull/538
I am closing this issue, but feel free to reopen if needed.
Cheers!
—
Reply to this email directly, view it on GitHub
https://github.com/langchain4j/langchain4j/issues/125#issuecomment-1918509719,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APJJKUPZM3EIGI5KX4T7C7TYRHUPLAVCNFSM6AAAAAA3Z3ZF6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJYGUYDSNZRHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Don't close a keep-alive connection on 204 (No Content) Response from server

Right now Hyper closes the connection when the server responds with status code 204 and the connection have the keep-alive header and the client have the keep-alive setting. This is a problem because even if the server says that there is no content the client may want to request more resources
Finagle had the same problem, for reference https://github.com/twitter/finagle/issues/563.

Thanks for the report! There used to be code to properly handle 204s and 304s, but it was lost in the redesign to async. I'm adding it back in. The fix will be included when 0.11.2 is released.


Expression has changed after it was checked

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior
Receiving the following error:
AppComponent.html:1 ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'true'. Current value: 'false'.
    at viewDebugError (errors.js:52)
    at expressionChangedAfterItHasBeenCheckedError (errors.js:28)
    at checkBindingNoChanges (util.js:127)
    at checkNoChangesNodeInline (view.js:555)
    at checkNoChangesNode (view.js:520)
    at debugCheckNoChangesNode (services.js:542)
    at debugCheckRenderNodeFn (services.js:486)
    at Object.eval [as updateRenderer] (VM286 AppComponent.ngfactory.js:58)
    at Object.debugUpdateRenderer [as updateRenderer] (services.js:463)
    at checkNoChangesView (view.js:363)

See the Stackblitz example for more details.
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/angular-ngxformly-repeat?file=app%2Fapp.component.ts

Angular version: 5.0.0

I'm also having a "cannot set length of undefined" issue here: https://github.com/formly-js/ngx-formly/blob/master/src/core/src/components/formly.form.ts#L122
Still have to investigate into that one.
As always, happy to help

ok thanks, I'm on it!

Awesome.
Related to my previous comment there's for sure a potential issue, which I'm experiencing on my app's setup, but cannot repro it on a Stackblitz as of now.
private resetForm(fields: FormlyFieldConfig[], newModel: any, modelToUpdate: any) {
    fields.forEach(field => {
      if ((field.fieldGroup && field.fieldGroup.length > 0) || field.fieldArray) {
        let newFieldModel = this.fieldModel(field, newModel),
          fieldModel = this.fieldModel(field, modelToUpdate);

        if (field.fieldArray) {
          >>>>> field.fieldGroup.length = 0;
          ...
        } else {
          this.resetForm(field.fieldGroup, newFieldModel, fieldModel);
        }
      }
    });
  }

The problem here is that by having us add || field.fieldArray in the if clause, the code potentially fails in a configuration like
{
   type: 'repeat',
   key: 'investments',
   fieldArray: { ... }
}

Because there's no field.fieldGroup and thus it's length cannot be set to 0.

What exactly is that line supposed to do?

What exactly is that line supposed to do?

clear the fieldGroup content without losing its reference, in order to create a new one based on model content.
it should be fixed by #783

released under 2.0.0-rc.37

@aitboudad you rock man. Will check at latest when back in the office monday morning. have a nice WE


When JavaScript loads for the first time in Web, all elements are briefly visible without CSS.

Current Behavior
When the JavaScript is first loaded on a web platform, the page briefly shows the structure of the page (HTML) without applying the CSS for about 1-2 seconds. This issue causes a flash of unstyled content (FOUC), affecting the initial user experience. A video of the issue has been attached for reference.
https://github.com/user-attachments/assets/4e8fa342-24b9-4ce0-a78c-3a59a5bb33a0
Expected Behavior
The page elements should render with CSS applied immediately, without a flash of unstyled content.
Tamagui Version
^1.101.7

  tamagui: ^1.101.7
  expo: ~51.0.9
  react: 18.2.0
  react-native: 0.74.1
  react-native-web: ^0.19.12

Platform (Web, iOS, Android)
Web (Browser)

Reproduction
you can use this project:

Open Project Link: https://github.com/astikdev/webtamagUI
HTTPS Clone Link: https://github.com/astikdev/webtamagUI.git

System Info
npmPackages:
  tamagui: ^1.101.7
  expo: ~51.0.9
  react: 18.2.0
  react-native: 0.74.1
  react-native-web: ^0.19.12

Expo doesn't support server rendered CSS, this is just a limitation of Metro as  far as I know due to the fact that we build CSS out at compile-time, and Metro has a bug where it doesnt pcik up files we compile as it builds:
https://github.com/tamagui/tamagui/pull/2920
If you use the flag here https://github.com/tamagui/tamagui/commit/83b9fca8abaf72eb9483b77fdcf0e9aab2566b66 and set to 0 it should try and output css and therefore not flash, so long as you set up the plugin right and turn on optimize, but no guarantee.
On Oct 3rd we'll be launching a better solution to this, see my ViteConf talk.

@natew Thanks for the info! Regarding the flag 83b9fca, could you provide more details on how to implement it properly? I'm interested in setting it to 0 to avoid the flash, but I want to make sure I set up the plugin and optimization correctly. Any specific instructions or documentation links you could share?

@natew, I'm really interested in the solution you'll be launching on October 3rd. Could you share a link to your ViteConf talk or any related resources when available? I'd love to check it out.

Just a heads up if you are encountering FOUC in your nextjs production build, I was able to resolve by commenting out // exclude: process.env.NODE_ENV === 'production' ? 'design-system' : null, in TamaguiProvider. I'm using the app folder, so may not apply to /pages

Hey @obonakdar2, thanks for sharing your insights! However, the issue I’m facing is on Expo, not on Next.js. The solution you mentioned applies to Next.js builds, so it won't resolve my problem here.
I’m currently looking into the workaround Nate suggested using the flag 83b9fca to prevent FOUC in Expo. If you have any additional tips related to Expo or Tamagui with Expo, I'd love to hear them!

@obonakdar2 if thats the case, likely you aren't generating the tamagui.css design system and importing it beforehand as we recommend. there's a variety of ways to fix this. don't quite have the time to write it out here right now but basically you can use either a compiler plugin to generate it at build-time or you can do a tamaguiConfig.getCSS() in your _document or similar if you're ok with it being inlined.

@astikdev one way to fix that is https://onestack.dev ;) lmk i can help you migrate

Hi @natew, thank you for pointing that out. I forgot to include it. I recommend adding this guide to the documentation, as the next.js guide under the App Router section (https://tamagui.dev/docs/guides/next-js) doesn't mention that we need to import tamagui.css, generated in the public folder, into the root layout. This is mentioned in the Page Router section, though.

Hey @natew, I tried using OneStack as you suggested. However, I encountered an issue when attempting to run it on Android.
Here's the error I received:
vbnet
Copy code
PS D:\other\New folder\app> yarn android
yarn run v1.22.19
$ one run:android
WARNING: UNSUPPORTED OS - It appears you’re using Windows, which is currently not supported. You may experience unexpected issues.
› one run:android
🚧  The android platform is not supported yet, we're still working on it and you might encounter unexpected errors. Please try iOS first, if possible.
It seems that Android support is still under development, and the platform isn't fully functional. Is there a recommended workaround or alternative approach I could try in the meantime? Thanks for any guidance you can provide!

Hey @natew, I tried using OneStack as you suggested. However, I encountered an issue when attempting to run it on Android.
Here's the error I received:
PS D:\other\New folder\app> yarn android
yarn run v1.22.19
$ one run:android
WARNING: UNSUPPORTED OS - It appears you’re using Windows, which is currently not supported. You may experience unexpected issues.
› one run:android
🚧 The android platform is not supported yet, we're still working on it and you might encounter unexpected errors. Please try iOS first, if possible.

It seems that Android support is still under development, and the platform isn't fully functional. Is there a recommended workaround or alternative approach I could try in the meantime?

@astikdev i was able to get expo router for web to work, while avoiding FOUC. but only for styled components

process.env.TAMAGUI_METRO_INLINE_CSS = '0' at top of babel config
import '../tamagui-web.css'
import<EMAIL_ADDRESS>at top of apps/expo/app/_layout.tsx


bootstrap_transformations on queries with external table used multiple times

Describe the bug
When the query involves an external table twice, arthur.py bootstrap_transformations fails because it creates the dependency twice in the produced design file, which fail table_design.schema validation.
To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/harrystech/harrys-data-warehouse/pull/1795
Checkout the branch
Run arthur.py bootstrap_transformations -u CTAS base__retail.daily_retailer_sales__v1
See error:

jsonschema.exceptions.ValidationError: ['external__ascendio__exports.daily_retailer_sales__v1', 'external__ascendio__exports.daily_retailer_sales__v1'] has non-unique elements

Failed validating 'uniqueItems' in schema['properties']['depends_on']:
    {'description': 'List of all dependency tables of this transformation',
     'items': {'$ref': '#/definitions/table_name'},
     'minItems': 1,
     'type': 'array',
     'uniqueItems': True}

On instance['depends_on']:
    ['external__ascendio__exports.daily_retailer_sales__v1',
     'external__ascendio__exports.daily_retailer_sales__v1']

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/src/arthur-redshift-etl/python/etl/design/load.py", line 108, in validate_table_design_syntax
    etl.config.validate_with_schema(table_design, "table_design.schema")
  File "/opt/src/arthur-redshift-etl/python/etl/config/__init__.py", line 288, in validate_with_schema
    raise SchemaValidationError("failed to validate against '%s'" % schema_name) from exc
etl.errors.SchemaValidationError: failed to validate against 'table_design.schema'

Expected behavior
The script should infer a single dependence on an external table.

Patch:
diff --git a/python/etl/design/bootstrap.py b/python/etl/design/bootstrap.py
index 0438337..a9a8a4a 100644
--- a/python/etl/design/bootstrap.py
+++ b/python/etl/design/bootstrap.py
@@ -242,8 +242,8 @@ def search_query_step(line: str) -> Optional[Dict[str, str]]:

 def fetch_dependency_hints(cx: Connection, stmt: str) -> Optional[List[str]]:
     """Parse a query plan for hints of which relations we might depend on."""
-    s3_dependencies = []
-    xn_dependencies = []
+    s3_dependencies = set()
+    xn_dependencies = set()

     logger.debug("Looking at query plan to find dependencies")
     try:
@@ -257,9 +257,9 @@ def fetch_dependency_hints(cx: Connection, stmt: str) -> Optional[List[str]]:
         if maybe is None:
             continue
         if "s3_table" in maybe:
-            s3_dependencies.append(maybe["s3_table"])
+            s3_dependencies.add(maybe["s3_table"])
         if "xn_table" in maybe:
-            xn_dependencies.append(maybe["xn_table"])
+            xn_dependencies.add(maybe["xn_table"])

     if s3_dependencies and xn_dependencies:
         # Unfortunately the tables aren't qualified with a schema so we can't use the info.


Dailymotion scrapper is not working properly.

I'm submitting a ...

[ ] bug report

Current behavior:
When we search for Dailymotion it gives 500 internal error
{
    "error": "Could not parse the page due to Internal Server Error",
    "status_code": 500,
    "type": "Internal Server Error"
}

Working on this bug to solve. WIll make a PR.

@daxeel I want to work on this issue..

Assigned to @moulikcipherX

@daxeel  @bhaveshAn can i work on this?

@bhaveshAn  @mariobehling  @vkartik97  will do it in few hours. I have figured out the problem.

I would like to work on this issue.


In-progress step duration is not being updated

Is this a BUG REPORT or FEATURE REQUEST?: BUG
What happened:
Navigate to any in-progress workflow in Argo UI, select any running step and check label. The label has duration at the moment when UI was opened.
What you expected to happen:
Duration should be updating every second as long as step is running. Same for timeline view: view should be re-rendered as long as workflow is running.
Environment:

Argo version:

$ argo version

2.1.1

Fixed


Properly disable the default site with nginx.org packages

nginx.org packages use the conf.d folder to store sites. The script we install does not expect the default site to be here. If we’re trying to disable the default site we should delete it from conf.d
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

Copy and paste fail. Solidly bad one there too


Generate coverage report in travis build and upload to codecov

I think this would really help in both providing you and the community feedback of the code quality of juniper and help you see where the library is missing tests.

You can see your coverage now at: https://codecov.io/gh/graphql-rust/juniper
You are at 87.61% which is great

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@625bac1). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #110   +/-   ##
=========================================
  Coverage          ?   87.61%
=========================================
  Files             ?       95
  Lines             ?    12565
  Branches          ?        0
=========================================
  Hits              ?    11009
  Misses            ?     1556
  Partials          ?        0

Continue to review full report at Codecov.

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

@sagiegurari wow awesome, thanks.
We wanted to do this already but didn't get around to it.


Has no favicon

There is one, and it's referenced in top.jsp. Need to determine if there is a problem with it.

According to https://github.com/audreyr/favicon-cheat-sheet and other web sites, the old SHORTCUT ICON link is not supported by many browsers. Modern browsers look automatically for a favicon.ico file in the root of the domain. So, I removed the link line from top.jsp and removed the favicon.ico file.


fix/optimize snapshot restore informer indexes

Signed-off-by: Michael Henriksen<EMAIL_ADDRESS>
What this PR does / why we need it:
Optimize indexes by including namespace in key.
Fix bug in vm indexes
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/lgtm


Fix build instructions

This will make them resilient against adding multiple opam packages to the repo.
And also, it will use the number of jobs as set by OPAM.

Looks like the build is failing because lambda-term deprecated support for 4.02.3. Do you think we could convince the maintainer to continue to support 4.02.3 for us? Here's the error:
Error: This expression has type bytes but an expression was expected of type
#          string

I think we should still merge this diff as is because it's clear the failure isn't related to your change.

Lambda-term supports 4.02.3 it just requires a new release of camomile to
do that. I believe we already discussed that
On Thu, Nov 9, 2017, 6:16 AM Jordan W<EMAIL_ADDRESS>wrote:

Looks like the build is failing because lambda-term deprecated support for
4.02.3. Do you think we could convince the maintainer to continue to
support 4.02.3 for us? Here's the error:
Error: This expression has type bytes but an expression was expected of type
string
I think we should still merge this diff as is because it's clear the
failure isn't related to your change.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/reason/pull/1609#issuecomment-342979267, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIe-9fpGsSIk72e_JBpRWp40le61oJhks5s0igwgaJpZM4QV1fs
.

Ah, I think I just misunderstood previously. Thank you. I'll merge this.


Authentication failed for Git repository - azure DevOps

Environment

OS: CentOS X.Y, RHEL X.Y, Ubuntu X.Y, Debian X.Y, ...
Kubernetes/K3s:  v1.29.5+k3s1
AWX Operator: 2.18.0

Description

Lack of information


Restart on short WiFi disconnects

Hello,
Is it possible to auto-restart scrcpy -c 1224:1440:0:0 -f instead of just:
WARN: Cannot terminate server Press any key to continue...
This happens to me at random times (sometimes minutes, sometimes hours) and it would be great to restart scrpy instead of opening a new cmd window and typing the scrcpy -c 1224:1440:0:0 -f again.
Thank you!

A workaround would be to make scrcpy exit by itself instead of asking to press a key. Any hint on how to do that please?

The message:

Press any key to continue...
is printed on Windows if "noconsole" is disabled when an error occurs: https://github.com/Genymobile/scrcpy/commit/140b1ef6a5f2de489f99c6f7f63dc2a49bc404f6

The purpose is to let the user see error messages.
I don't have a Windows right now to test, but maybe you could do something scrcpy-noconsole.exe (I don't remember what happens if you run it from a cmd terminal).

Thank you! Noconsole works for me.

This solution might work for you
https://github.com/Genymobile/scrcpy/issues/721#issuecomment-2143601259


[go] support go 1.13+

OTNS used to support Go 1.11+.
This commit changed OTNS to only support Go 1.13+.
Go 1.13 was released in 2019/09/03, so it has been quite a long time.

Codecov Report

Merging #114 (3a7921d) into master (9e423e2) will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #114      +/-   ##
==========================================
- Coverage   49.95%   49.86%   -0.09%
==========================================
  Files          38       38
  Lines        4604     4604
==========================================
- Hits         2300     2296       -4
- Misses       2122     2125       +3
- Partials      182      183       +1

Impacted Files
Coverage Δ

web/web.go
47.61% <0.00%> (-3.18%)
:arrow_down:

dispatcher/dispatcher.go
56.95% <0.00%> (-0.29%)
:arrow_down:

Codecov Report

Merging #114 (3a7921d) into master (9e423e2) will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #114      +/-   ##
==========================================
- Coverage   49.95%   49.86%   -0.09%
==========================================
  Files          38       38
  Lines        4604     4604
==========================================
- Hits         2300     2296       -4
- Misses       2122     2125       +3
- Partials      182      183       +1

Impacted Files
Coverage Δ

web/web.go
47.61% <0.00%> (-3.18%)
:arrow_down:

dispatcher/dispatcher.go
56.95% <0.00%> (-0.29%)
:arrow_down:

@jwhui could you review and merge this PR since it's required by https://github.com/openthread/ot-ns/pull/113, which is required by https://github.com/openthread/openthread/pull/6091

@jwhui could you review and merge this PR since it's required by https://github.com/openthread/ot-ns/pull/113, which is required by https://github.com/openthread/openthread/pull/6091


fix: add self contained config in dotnet publish

Description

Under linux environment, webapp bot couldn't be started up after dotnet publishing.
This issue only occurs at 'linux' env.
For runtime identifier: please refer to this doc: https://docs.microsoft.com/en-us/dotnet/core/rid-catalog
Task Item
fixes #4348

Screenshots

Can we add an param for deployment, and default it to windows? Later if customer want to have a customized deployment (for example, linux vm), they can just set the param in the script.

OK, I will add it today.

Coverage remained the same at 55.306% when pulling 1b871cc73d7f7d9039a11c52cac95d4de81bff5b on qika/fixRuntime into 00df46ceaa6ef7abbd02c75fe677a190dba4ea7e on main.

@zidaneymar @luhan2017 I'd like to verify that this won't break existing publishing profiles without this new shape, and allow users with old publishing profiles to add this new parameter.

Tested 4 different scenarios:
Composer hosting on linux publish to linux operating system.
Composer hosting on linux publish to windows operating system.
Composer hosting on windows publish to linux operating system.
Composer hosting on windows publish to windows operating system.

@zxyanliu, this may need a doc update, users needs to understand what this field means and how to use it.

luhan2017 commented 7 hours ago
@zxyanliu, this may need a doc update, users need to understand what this field means and how to use it.

No problem, let's discuss in detail offline.


Angular translate not working with IE 10

Subject of the issue
Hello,
I am using angular translate with chrome, firefox and IE Edge with no problem, but i need to run my app on IE 10 too, and when I try to do it it fails.
There is some solution for this?
Thank you
Your environment

version of angular-translate :   v2.8.1
version of angular: v 1.5.5
which browser and its version: internet explorer 10

It works with IE10 - I can guarantee that as I've running several setups with IE10. So without further details or an example, we're unable to help.

This is my translate file, where I define the options
`angular.module('app.translate', ['pascalprecht.translate'])
.config(['$translateProvider', function ($translateProvider) {
  $translateProvider.translations('es-ES', {
      TEXTO: 'fsdfdsfsd',
      INTRO_TEXT: 'And it has i18n support!'
  });

  $translateProvider.useStaticFilesLoader({
      prefix: '/Assets/strings.',
      suffix: '.json'
  });

  $translateProvider.registerAvailableLanguageKeys(['es-ES', 'en-EN', 'pt-PT'], {
      'es': 'es-ES',
      'en': 'en-EN',
      'pt': 'pt-PT'
  });

  PREFERRED_LANGUAGE = navigator.language || navigator.userLanguage || navigator.browserLanguage || navigator.systemLanguage || DEFAULT_VALUE;

  $translateProvider.useSanitizeValueStrategy('escape');
  console.log(PREFERRED_LANGUAGE);

  $translateProvider.preferredLanguage(navigator.language);

}]);
`
And this is how I show it on the view
 {{ 'INTRO_TEXT' | translate}}
On the screen of my IE10 I only see : INTRO_TEXT
but on chrome I see: And it has i18n support!
Thank you

And what does the developer console on IE10 say? Any errors?

No erros on developer console

Any idea?

Ok I found the solution for the issue. The problem was in this line:
$translateProvider.preferredLanguage(navigator.language);
Internet explorer 10 is returning different value for navigator.language than the other browsers

Same problem. Apparently the Edge also gets tweaked when trying to retrieve the language from the localStorage or localSession.


RebornCore patched versions available

See https://github.com/TechReborn/RebornCore/security/advisories/GHSA-r7pg-4xrf-7mrm

I would suggest denoting specifically the versions that fixed the patch in each MC version as mentioned in the table under "Patches" in that link. I think just "<4.7.3" could be misleading as that seems to be referencing 1.16 versions only even though patches were released in 1.15 and 1.12.


Can WandbLogger show the eval_images and result?

Can WandbLogger show the eval_images and result? In this way, the detection results can be seen intuitively.

Hey @JiayuXu0, you can try using MMDetWandbLogger for the same.


[Removal]: Please remove Sour Neon Seal

Hotspot Name
Sour Neon Seal
Hotspot b58 Address
11WCLPxji7oNGgNB3NWYqXNCm4PY7vouvqs3LbyTdbAbhWEKVy6
Discord Handle
No response
Hotspot Manufacturer
Bobcat
Removal Reason
The equipment is correctly installed. The equipment in my bedroom besides the window.
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information

Please provide:
a) a better view photo out of the window showing more of the area around
b) a satellite photo map showing your exact GPS location
these can then be compared to your asserted location

Please provide: a) a better view photo out of the window showing more of the area around b) a satellite photo map showing your exact GPS location
these can then be compared to your asserted location

![IMG_20221019_130835_ B@3906351](https://user-

images.githubusercontent.com/45411102/196638614-e440044d-34dc-48f1-9732-a0ba69eee827.jpg)

This was denied in https://github.com/helium/denylist/issues/6342

https://www.google.co.uk/maps/place/Xicheng+District,+Beijing,+China/@40.0709758,116.328899,840m/data=!3m1!1e3!4m5!3m4!1s0x35f0525303f10153:0x6b772a2a053ba4a0!8m2!3d39.9071099!4d116.37415
The photo you have provided is a match to the asserted location.
Taking a 60 day ETL query timeframe:

This shows a diverse set of makers witnessed, asserted over a long period, and the deployment layout looks natural
Crowdspot looks ok

RSSI/SNR a bit unusual but not very suspect:

It is odd that this was denied 6 weeks ago, but this is the first removal request?
@6CornerDefender This could be a valid removal request.
Could you please run an additional check on the cluster?

@aries9304
You are in the next PR #8196

Bobcat light should be green when connected successfully and online. Recommend taking two pictures 24 hours apart with a green light to indicate mining from the new location.


Item selection backgrounds are too bright compared to text color; most text becomes hard to read

HUD is fantastic all around, but I can't change loadouts without getting flashbanged. Text becomes completely unreadable when night color adjustment turns on. Turning off item quality borders did not affect the output
I would like to suggest an option for a darker background on backpack and loadout selection screens.
Arch Linux, 16x9 res
I made sure all folders are lowercase

Hiya!
Are you using the release version or one of the latest commits? If you're using the latter, I started changing the item rarity borders in this commit but did't finish it, which would result in those unpleasant looking grey rectangles when the item quality borders are turned off. Turning on the borders should turn the rectangles into their respective colors making the text slightly more readable, but it seems changing that option isn't taking any effect on your end so I will have to look into that. Also, now that you've mentioned it, I can imagine it may still be hard to see with night mode color adjustments even when the borders are working properly, so I'll take that into account whenever I pick this up again.
Finally, you mentioned you're on linux. Last week I launched tf2 with my hud on my linux machine for the first time in a couple of years and realized that the linux support needs some work... mainly with respect to fonts and some borders that are not working as intended, so you can expect some fixes in that regard in the next few days.

Yea I was using the latest commit, that makes more sense. The borders were not in fact changing the colors of the backgrounds so that's probably a bug lol. I look forward to seeing more fixes, I have notice a couple of icons are slightly cut off

as of the latest commit this problem also occurs on windows 16x9, but the entire item box is the color of the item quality, making unique items especially hard to read

https://cdn.discordapp.com/attachments/1231676321562624201/1317589192141705216/image.png?ex=675f3c0f&is=675dea8f&hm=2aadcaccc1504c0c5b41900096e9ca0a7f5b6499236b40ff5eaa302c1f33e40a&
also happening to me (win 11)

The item borders have been reverted to an older version to fix the readability issues ab3d7d58bce80baa1377f258d33b9ef8eba8f4d7
I will be closing this for now


Allow for httpoison options set in config

As discussed in #2, this allows for the request options to be set as config option.

LGTM 🚢

Awesome, thanks for your contribution 👍 Will be released as 1.1.0 shortly.

Released as 1.1.0 🎉


Class ScrollableViewHelper cannot be extended

You forgot to add the "open" modifier when converting kotlin

When you tell me where you miss it ?
I would rater say, I didn't need it till now.
Btw, this is a contribution repository, I'll approve almost any pull request

in com.sothree.slidinguppanel.ScrollableViewHelper.Just add "open", thank you very much
my english is poor......

Here you go https://github.com/hannesa2/AndroidSlidingUpPanel/releases/tag/4.4.0


op-viem & op-wagmi --> optimism viem/wagmi

Based on the meeting notes here, we need to make some updates to our viem and wagmi packages to ensure needed functionality remains available to developers.

[ ] Add in deposit withdrawal erc20 functions. Nick Italiano and DevEx hopefully by end of this quarter, the beginning of next quarter.
[ ] Find all references to op-viem in docs and remove, replace with viem op extensions and ecosystem viem library. Blessing/docs by deprecation date.
[ ] Add in actions for all predeploys and preinstalls in long run
[ ] Add in step by step migration guide for users moving off of SDK

Once these tasks are complete, we should also evaluate any places (if any) we're using op-viem internally so we can switch to our own implementation. There appear to be a couple of places we may want to check on.

@nitaliano to add additional details to this issue.


Feature/set wsk config file

I just tried the PR and I built it from scratch and does not look like it resolves the problem it should.
$ ./nuv wsk action list
nuv: error: The API host is not valid: An API host must be provided.

but if I set manually
$ export WSK_CONFIG_FILE=~/.nuvolaris/.wskprops
$ ./nuv wsk action list
actions
/guest/hello                                                           private nodejs:14

The variable WSK_CONFIG_FILE should be set every time you invoke the wsk subcommand.
SHould be as easy as adding it here

Hey @Deviad I am closing this PR since it should be solved with https://github.com/nuvolaris/nuvolaris-cli/pull/25


feat: port/CategoryTheory.Preadditive.Yoneda.Limits

Easy.

[x] depends on: #4299

This PR/issue depends on:

leanprover-community/mathlib4#4299
By Dependent Issues (🤖). Happy coding!

Thanks :tada:
bors merge


Update Microsoft.Data.SqlClient version

Fixes https://github.com/aspnet/AspNetCore/issues/12957. Verifying locally. Verified locally by running tool directly to create new tables on a local db.

Hmm looks like there's a new binary Microsoft.Identity.Client.dll that's now added to the dotnet-sql-cache tool package. It does look signed so maybe it's fine to ignore during signing? I'm looking why this is now being added to the tool package though. The version of that dependency should not have changed when updating Microsoft.Data.SqlClient.


eos build error (openssl error)

checking for SSL... no
checking for SSL_library_init in -lssl... no
checking for EVP_DigestInit_ex in -lcrypto... yes
configure: error: You must install the OpenSSL libraries and development headers to enable OpenSSL support.
Configuring MongoDB C driver has encountered the errors above.
Is there anyways to fix this error?

It looks like some libraries are missing. Depending on your Linux distribution, you'll need these packages:
Red Hat, Fedora, CentOS: openssl-devel
Debian, Ubuntu: libssl-dev
Arch: openssl

@eosinspace  install ssl package with apt command on ubuntu16.04
But still same error T.T


How to resize UI?

Is there any way that we can resize the boss gauge and character windows UI? I've looked through the files in the Windows folder and nothing seems to change.

There's no way to do it at the moment. I'm mainly focusing on performance and optimizations. It will be added in the future together with per-element settings.

I see, got it. Thanks. Also wondering to get updates for TCC, do we just update the TCC.UI folder or is there something else we have to do?

You can just replace the old version with the new one, at least for earlier versions. I'll add auto-updates at some point in the future.

Right, so you can just overwrite the TCC.UI folder? The link for the base files (https://drive.google.com/file/d/0B_Cqa6A1OUxdYURsQVNVNTN4cDQ/view) are all the same?


Fixes for esp32 flashing_script

Problem
Flash script for ESP32 throws an exception. Also, cmake code is duplicated in multiple projects.
Change overview

brings back default for bootloader offset (this is what's causing the crash in most cases)
puts cmake code into a macro in a common file rather than in each file.
adds a flashing flag to the build-all-clusters-app.sh script that checks for the required environment variables and warns on unset variables (will also cause a crash)

Testing

build (idf.py build) and created flashing script (idf.py flashing_script) in all clusters, pigweed and persistent storage

@woody-apple @bzbarsky-apple @saurabhst @jmartinez-silabs


Use javac's attribution of doc trees [phab:D1468]

Created by cushon at 2017-03-30 22:05:50:
to get the symbol for e.g. {link #someMethod}. The current approach
uses internal APIs that are changing in the next javac release.

schroederc accepted this revision at 2017-03-30 22:35:21

schroederc closed via commit fa1d039198b15299dc0c8908160089ee8c3c57a4 at 2017-03-30 22:35:47


add taints controller

Signed-off-by: JiaHaoWei<EMAIL_ADDRESS>Implement the Taints mentioned in  #https://github.com/open-cluster-management-io/community/issues/48, and add ut and integration tests

/assign @elgnay

/approve

haven't review the test code yet, I think we should make the controller code cleaner which some helper funcs

@JiahaoWei-RH you need rebase this pr

One last comment: if a ManagedCluster starts terminating, do not update it (In another word, just ignore terminating clusters). Here is an example: https://github.com/open-cluster-management-io/registration/blob/main/pkg/hub/managedclusterset/controller.go#L133-L136

The related task: https://github.com/stolostron/backlog/issues/18666

/lgtm


too_fast_travel_between_consecutive_stops isn't triggered

Describe the bug
This bug was initially reported by a user working at Consensus Systems Technologies.
The user currently uses Google's python validator, and noticed that for the Dutchess County Transit data, the python validator notice Too Fast Travel was present but that ourfast_travel_between_consecutive_stops or fast_travel_between_far_stops weren't there.
I had a look at the data, and it looks like our validator should have triggered it.
There are a few but for example, if we look at trip 133, the speed between stop_sequence 9 and 10 is 300km/h (10km traveled in 2min).
Steps/Code to Reproduce

download dataset
run on version 4.0.0 of the validator
no rule about fast travel is triggered

Expected Results
fast_travel_between_consecutive_stops should have been triggered for the entry described above.
Actual Results
Nothing about too fast travel.
Screenshots
FeedValidator report:

Canonical validator report (fast travel rule absent):

Files used
Dutchess_County_Transit-20200710T163547Z-706eac84-8c1a-475e-b31b-bd9247980062-d658f011-da20-40fd-9c89-e9d54ee179fd.zip
Validator version
4.0.0
Operating system
MacOS
Java version
No response
Additional notes
@bdferris-v2, @aababilov, do we have a problem with this rule?
Thanks in advance 🙏🙏🙏

Closing, this issue is replaced by https://github.com/MobilityData/gtfs-validator/issues/1484


[Heartbeat Logging] Refinements to how HeartbeatsPayloads are converted into header strings

This PR resolved two TODO's in HeartbeatLogging/Sources/HeartbeatsPayload.swift. I've added context around to how each TODO was addressed.
#no-changelog

CI should be fixed now. Waiting for green CI.


[BUGS-856] Mobile Safari Redirects are Weird?

It looks like the mobile safari site interprets any path /:x as intending to be /artist/:x, which is causing some confusing redirects for /collect.
We've identified where the redirects are happening, but it's not clear to us what the correct logic should be. We want to serve the responsive desktop view since there is no mobile-specific one.

Warnings

:warning:
The staging version of Metaphysics has breaking changes, this might not affect your build, but could mean your queries don't work the way you expect. See below for breaking changes:

:warning: Type 'MarketingImage' was removed

  Generated by :no_entry_sign: dangerJS against a9038f120b56b32a50f51c2b6b2216476fab51ad


Release/1.9.0

Had to create PR since I don't have admin privileges and 'git hf release finish 1.9.0' fails.

weird...PR Travis is missing


Struggling to install and use this library

I've attempted several ways to get this library to run but I can't even get a basic example working. I'm probably just not understanding a core concept and doing something silly but I'd really appreciate your help in resolving this.
My end goal is to execute the WASM binary in a Node.js process (on a cloud function) to convert HEIC images to JPG.
I've tried the following with the latest Node.js lts version (20.17.0) and the latest version (22.8.0). I am 2016 MacBook Pro (Intel Core i7) running OS 12.3.1.
Attempt 1: Following the instructions in the README
Step 1: Create a fresh directory and run npm install magickwand.js
Step 2: Add "type": "module" to the package.json
Step 3: Create an index.js file with the following code
import ImageMagick from 'magickwand.js';
const { Magick, MagickCore } = await ImageMagick;

Step 4: Run node index.js
Result: This gave me the following error: The requested module 'magickwand.js' does not provide an export named 'default'
Attempt 2: Grabbing the WASM files from node_modules
Step 1: Create a fresh directory and run npm install magickwand.js
Step 2: Add "type": "module" to the package.json
Step 3: Copy magickwand.js and magickwand.wasm from "node_modules/magickwand.js/lib/binding/emscripten-wasm32" into the root of the directory
Step 4: Create an index.js file with the following code
import ImageMagick from './magickwand.js';
import { fileURLToPath } from 'url';
import * as path from 'path';

const Magick = await ImageMagick;
const wizard = path.join(fileURLToPath(import.meta.url), 'test.HEIC');
let im = new Magick.Image(wizard);

Step 5: Run node index.js
Result: This gave me the following error: TypeError: Magick.Image is not a constructor
Request
If possible I would love help with the following:

Compiling an optimised version of the WASM binary that specifically handles HEIC to JPG conversion
How to run the WASM binary from a Node.js process

Also I'm pretty new to WASM so if what I'm trying to do makes no sense please let me know. My assumption is that a WASM binary should run anywhere (including in a cloud function if it's small enough) without the need for a complex build step, e.g. with Sharp I would need to create a docker container with the correct dependencies.
Thanks in advance for the help.

The WASM version does not have Node.js support as Node.js has its own native build which is much better in every way.
Additionally, adding Node.js support to the WASM loader confuses the bundlers and requires special configuration when building a web application.
You don't have to manually copy anything. You just have to import the module from its default location.
You can eventually build your own WASM binaries that support Node.js by modifying meson.build and removing this line:
'environments': ['web', 'webview', 'worker']

Thanks for the response. Good to know that the WASM version does not have Node.js support.
So just a few follow up questions:

How do I actually get this to work in a node program? (My original question posted the steps I followed when trying and the error I received when importing the module from it's default location)
To produce an optimised build with npm do I just have to do something like npm install imagemagick.js --disable-tiff --...? Will this rebuild imagemagick.js on my local device or is it pulling a prebuilt version? I'm mainly wondering if I have a cloud function with this dependency do I have to do anything to make it build correctly in a cloud environment
In what ways is the native build better?

What happens if you simply follow the instruction in Installation and Importing on the homepage?

@mmomtchev that's what I'm trying to do but it doesn't work. The exact steps I take are as follows:

Create a new folder for the test project
Run npm install magickwand.js inside this folder
Create an index.js file
Copy the following code into index.js

import ImageMagick from 'magickwand.js';
// ImageMagick will be either a native library
// (if called from a Node.js application)
// or a WASM bundle (when bundled by a web bundler)
const { Magick, MagickCore } = await ImageMagick;

Run node index.js

That gives me the error: Cannot use import statement outside a module

I added  "type": "module", to the package.json to resolve the above error
Run node index.js

Which now gives me the error The requested module 'magickwand.js' does not provide an export named 'default'.
I might just be missing something really obvious regarding how I'm supposed to be running node whilst using import instead of require.

You installed magickwand.js 1.x and you used the installation/usage instructions for the latest 2.x beta.
Check https://www.npmjs.com/package/magickwand.js - both versions have their own installation/usage instructions.
2.x features an automatic resolver that selects either WASM or Node.js depending on the environment.

The next release should come with prebuilt binaries built without libX11 and libXext. Currently, you have to rebuild from source.


feat: add additional ePIC UMC features, add Output Voltage to MinerData

Add Output Voltage of the PSU to MinerData
Fix ePIC PTune send_config

### Add some additional ePIC UMC features:

Add Vopt Throttle Step and Min Throttle Target
Add Shutdown Temp and Critical Temp
Add HB serial numbers

It's just the overall file, not worried about complex files anyway.

Im more worried about that passing self thing, let me look and see if I can figure that out.

Awesome, should be good to go, let me just check through one more time and make sure there aren't any more cases of that...

Same issue right below that other one you fixed, with the chip tune, Line 448.

good catch, tunnel vision. Just a note the change also includes adding voltage...we could make it more complete and add it per hashboard but i would say that all miners currently supported by pyasic have PSUs that bridge the output voltage for all hashboards


added filter event emitter

Codecov Report

Merging #128 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #128      +/-   ##
==========================================
+ Coverage   97.86%   97.87%   +<.01%
==========================================
  Files          13       13
  Lines         469      471       +2
  Branches       82       82
==========================================
+ Hits          459      461       +2
  Misses          4        4
  Partials        6        6

Impacted Files
Coverage Δ

src/lib/treeview.component.ts
96.92% <100%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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


Update Guideline DON’T Rule to Include Upcoming Features and Team Member Branches

This issue was created in response to the closure of #504 due to the following reason:

DON'T Submit strings from PRs that have the "New Strings" label until that PR is merged. The development team may need to update or change these strings as a part of their inclusion and this can cause conflicts. Wait till the PR is merged and THEN work on the new strings.

At the time of writing, the presence of a PR with the “New Strings” label for these particular strings does not exist. In fact, these new string keys only exist in the following branch: https://github.com/Yellow-Dog-Man/Locale/tree/Ryuvi/feat/TextureWizards .
It is completely understandable why the PR was closed since these keys are still in development. However, the rule as it stands does not make sense due to the absence of a PR with a “New Strings” tag.
Therefore, I recommend that this particular rule be amended to include something along the lines of “any upcoming features or team member branches” in addition to PRs with the “New Strings” tag. That way, this particular rule is clearer to those submitting.

Done: https://github.com/Yellow-Dog-Man/Locale/commit/d9b4f298511bdfe6f1d8e6ffe1a72f323e2a3f9b

@ProbablePrime Thank you.


Design/Develop tooling to map QASM to a Tensor Network Graph

We need to develop a class (that maybe becomes its own executable tool) that takes flattened QASM as input and constructs a graph of tensors (or tensor reference metadata). That graph will form the XACC GraphIR.

This has been implemented in https://github.com/ORNL-QCI/xacc/blob/master/tools/quantum/qasm2graphir.cpp


Connecting to AWS-IoT

Hello,
I am trying to use your MQTT client to connect to AWS-IoT using a presigned websocket url as outlined here: http://docs.aws.amazon.com/iot/latest/developerguide/protocols.html.
Here is my connection code (creds.presignedUrl contains the authentication headers needed as a query string):
            string CLIENT_ID = "notifications-test-mqtt-" + (new Random()).Next(1, 100000);
            var client = new MqttFactory().CreateMqttClient();
            var options = new MqttClientOptionsBuilder()
                .WithWebSocketServer(creds.presignedUrl)
                .WithClientId(CLIENT_ID)
                .Build();
            MqttClientConnectResult res = await client.ConnectAsync(options);

The issue is that client.ConnectAsync(options) never completes, it fails with a MQTTnet.Core.Exceptions.MqttCommunicationTimedOutException after about 10 seconds.
Any suggestions? Is what I am trying to do possible?
Thank you,
Rowan

Here are the trace logs:
>> [2017-11-14T16:17:42.7035500-05:00] [10] [MQTTnet.Core.Client.MqttClient] [Error]: Error while connecting with server.
MQTTnet.Core.Exceptions.MqttCommunicationTimedOutException: Exception of type 'MQTTnet.Core.Exceptions.MqttCommunicationTimedOutException' was thrown.
  at MQTTnet.Core.Internal.TaskExtensions+<TimeoutAfter>d__0.MoveNext () [0x000c0] in <bc11562943ca45afae7b876612b36c9e>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:151
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:447
  at MQTTnet.Core.Adapter.MqttChannelCommunicationAdapter+<ConnectAsync>d__7.MoveNext () [0x0008e] in <bc11562943ca45afae7b876612b36c9e>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:151
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:447
  at MQTTnet.Core.Client.MqttClient+<ConnectAsync>d__24.MoveNext () [0x0015b] in <bc11562943ca45afae7b876612b36c9e>:0
>> [2017-11-14T16:17:42.7147780-05:00] [10] [MQTTnet.Core.Client.MqttClient] [Warning]: Error while disconnecting from adapter.
MQTTnet.Core.Exceptions.MqttCommunicationException: Object reference not set to an instance of an object ---> System.NullReferenceException: Object reference not set to an instance of an object
  at System.Net.WebSockets.WebSocketHandle.CloseAsync (System.Net.WebSockets.WebSocketCloseStatus closeStatus, System.String statusDescription, System.Threading.CancellationToken cancellationToken) [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/external/corefx/src/System.Net.WebSockets.Client/src/System/Net/WebSockets/WebSocketHandle.Managed.cs:69
  at System.Net.WebSockets.ClientWebSocket.CloseAsync (System.Net.WebSockets.WebSocketCloseStatus closeStatus, System.String statusDescription, System.Threading.CancellationToken cancellationToken) [0x00006] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/external/corefx/src/System.Net.WebSockets.Client/src/System/Net/WebSockets/ClientWebSocket.cs:179
  at MQTTnet.Implementations.MqttWebSocketChannel+<DisconnectAsync>d__12.MoveNext () [0x00059] in <aa41199fd3b34235af33df430d7236ac>:0
   --- End of inner exception stack trace ---
  at MQTTnet.Core.Internal.TaskExtensions+<TimeoutAfter>d__0.MoveNext () [0x000f6] in <bc11562943ca45afae7b876612b36c9e>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:151
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:447
  at MQTTnet.Core.Adapter.MqttChannelCommunicationAdapter+<DisconnectAsync>d__8.MoveNext () [0x00091] in <bc11562943ca45afae7b876612b36c9e>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:151
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:447
  at MQTTnet.Core.Client.MqttClient+<DisconnectInternalAsync>d__33.MoveNext () [0x000c1] in <bc11562943ca45afae7b876612b36c9e>:0

Hi,
thanks for sharing your issue. Can you provide the values for the parameters (even randomized for security reasons)? I read the document and saw that the WebSocket connection must be encrypted. This requires a wss:// in front of the URI but the library only adds ws:// if the prefix is not there.
Best regards
Christian

By parameters I assume you mean the query string parameters. Here is an example of a presignedUrl that I am using:
ws://<iot-endpoint-id>.iot.us-east-1.amazonaws.com/mqtt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=<credentials>%2Fus-east-1%2Fiotdevicegateway%2Faws4_request&X-Amz-Date=20171115T190232Z&X-Amz-SignedHeaders=host&X-Amz-Signature=<sig-hash>&X-Amz-Security-Token=<aws-secturity-token>

When I use wss:// as a prefix instead of ws:// I get a MQTTnet.Core.Exceptions.MqttCommunicationException with error message Unable to connect to the remote server.
Thanks for you help,
Rowan

Thank you. I will have a look. We also have a bug in WebSocket handling probably it is related and will be fixed in the next version.

I just released a preview of 2.5.2 (available as nuget). Please test with this version again. It fixed several issues with WebSocket clients. If it does not work please let me know. We can investigate the issue then again.

@rowandempster Version 2.5.3 is already released. If the issue still exists please reopen this ticket or create a new one.

Hm, i've got the same URL from both JS and the mobile client, and have all the comments here. But its still not connecting.
Was there any special settings in AWS need to make this work?


Some edits

Made a few edits to the like, color, and life intents. Adds a new intent

Added few more tgings addes name intent and fixed some conflicting with other intents


Polyfit fails with few non-NaN values

What happened:
A linear DataArray.polyfit seems to fail if there are less than 3 non-NaN elements along the fitting dimension.
Traceback
TypeError: only size-1 arrays can be converted to Python scalars

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "polyfit.py", line 6, in <module>
    out = arr.polyfit(dim='x', deg=1)
  File "/home/stephan/venv/variogram/lib/python3.8/site-packages/xarray/core/dataarray.py", line 3455, in polyfit
    return self._to_temp_dataset().polyfit(
  File "/home/stephan/venv/variogram/lib/python3.8/site-packages/xarray/core/dataset.py", line 5962, in polyfit
    coeffs, residuals = duck_array_ops.least_squares(
  File "/home/stephan/venv/variogram/lib/python3.8/site-packages/xarray/core/duck_array_ops.py", line 625, in least_squares
    return nputils.least_squares(lhs, rhs, rcond=rcond, skipna=skipna)
  File "/home/stephan/venv/variogram/lib/python3.8/site-packages/xarray/core/nputils.py", line 239, in least_squares
    out[:, nan_cols] = np.apply_along_axis(
  File "<__array_function__ internals>", line 5, in apply_along_axis
  File "/home/stephan/venv/variogram/lib/python3.8/site-packages/numpy/lib/shape_base.py", line 379, in apply_along_axis
    res = asanyarray(func1d(inarr_view[ind0], *args, **kwargs))
  File "/home/stephan/venv/variogram/lib/python3.8/site-packages/xarray/core/nputils.py", line 227, in _nanpolyfit_1d
    out[:-1], out[-1], _, _ = np.linalg.lstsq(x[~mask, :], arr[~mask], rcond=rcond)
ValueError: setting an array element with a sequence.

I've played around with the degree a little bit and the error seems to occur as soon as (# of non-NaN values - degree) < 2
What you expected to happen:
The fit to succeed - I think two non-NaN values should be enough for a linear fit. I also noticed that there is no RankWarning: Polyfit may be poorly conditioned if the degree is larger than the number of non-NaN values.
Minimal Complete Verifiable Example:
import xarray as xr
import numpy as np

arr = xr.DataArray([np.nan, 1, 2], dims='x', coords={'x': [0, 1, 2]})
arr.polyfit(dim='x', deg=1)

Anything else we need to know?:


How to open a MD file from Notion

I was hoping to open, edit and save Notion pages using this plugin. I can see a markdown section in your readme. I can't figure out how to do this. I can only see an empty Results pane.

Can you help me edit a page in Notion please.

Could you send a screenshot / boilerplate of your notion setup?
With that, could you send me the result of running lua vim.print(require"notion".raw())
Thanks!

By notion setup I mean your documents inside the Notion app/website

Thanks for getting back to me. I'm afraid I don't know what you mean by Notion setup. My notion is setup like everyone else's i.e. a few pages, pages within those pages and a couple of databases. There's nothing special about it.  Is there something specific from Notion I can send that might help?
Here is the output you requested:
{
  "object": "list",
  "results": [],
  "next_cursor": null,
  "has_more": false,
  "type": "page_or_database",
  "page_or_database": {},
  "request_id": "d7deeecd-2c47-42b6-966a-c43350c0d477"
}

Thanks again
Antoine

The wrapper isnt getting information from Notion, the raw thing should be unreadable json of huge length if anything was received.
Could you verify:

The notion api key has correct acess
You have given it the specific page access (See below)

It sould appear as:

When it isnt linked

Thanks.
When I entered the Notion API key into your Neovim plugin, I thought that gave permission to all the pages in the workspace but I now understand that I have to give permission to each page. I did one test page which worked well so I gave permission to all my pages but now I get the following error:

When I run your script: lua vim.print(require"notion".raw()) I get a lot of data back.
All of my pages now have a connection to neovim:

Do you know what the error is? Should I start again? Sorry about this.

Weird, didn't think no title was possible in notion. I've pushed a temporary fix for this one

I think that's worked. Thank you.
When I choose a page from Telescope, is it possible to open the page in Neovim and edit it as a Markdown file? At the moment, it just opens the page in Notion. Thanks again.

You can edit the raw json, I am currently working on the editing straight from the markdown visual.
I'll close this one, if needs be reopen an issue.

I’m getting errors. Do you want me to open a new issue?
￼￼

On 31 Aug 2024, at 17:14, Aloden @.***> wrote:
You can edit the raw json, I am currently working on the editing straight from the markdown visual.
I'll close this one, if needs be reopen an issue.
—
Reply to this email directly, view it on GitHub https://github.com/Al0den/notion.nvim/issues/22#issuecomment-2322950032, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSDRKZGHHBK776CG6V42PTZUHTWVAVCNFSM6AAAAABNNXIN7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSHE2TAMBTGI.
You are receiving this because you authored the thread.


Batch img load Vram???

Not sure what I'm doing wrong but comfyui tries to load all the images from the folder at once. It's fine for 200 or so images but larger batches run out of Vram. How can the batch loader process the images one at a time? I have a ln RTX 2060 12GB. Am I missing something? Thanks everyone.

Load Image Batch only ever loads one image whether in single image mode or
incremental. You use multiple prompt batches to increment through them.
On Tue, Nov 28, 2023, 12:08 PM Echolink50 @.***> wrote:

Closed #286
https://github.com/WASasquatch/was-node-suite-comfyui/issues/286 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/WASasquatch/was-node-suite-comfyui/issues/286#event-11088233085,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIZEZOBKSPX7BJKEW7V5CTYGZADTAVCNFSM6AAAAAA76FRJMCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGA4DQMRTGMYDQNI
.
You are receiving this because you are subscribed to this thread.Message
ID: <WASasquatch/was-node-suite-comfyui/issue/286/issue_event/11088233085@
github.com>


Get-Help -Online opens help for 5.0, not 5.1/6.0.

The first related link in the help files links to online help for 5.0.
e.g. Get-Content Online Version: http://go.microsoft.com/fwlink/?LinkId=821583
The HelpUri hasn't been updated to 5.1 either:
e.g. Get-Content: https://go.microsoft.com/fwlink/?LinkID=113310

Now this is directing to 5.1, so we need to point to 6.0 by release time.

@joeyaiello We get duplicate Issue for this - it seems time to fix the Issue.
Currently we use short links for Help Uri - it would be great if we could use its with parameter like https://go.microsoft.com/fwlink/?LinkID=113280&view=powershell-6

After Update-Help we get help files in user profile and then we can get wrong help in PowerShell session.

Still repros in 6.1.  cc @sdwheeler

@SteveL-MSFT Adding the view to the query string will not fix the problem. The problem is that the FWLINK is wrong. There needs to be a new FWLINK created for v6. There may already be one, in which case, we just need to update the header in the markdown file with the proper FWLINK.

@sdwheeler can you create the fwlink and I'll update it in the code?

@SteveL-MSFT  I have never done it. These FWLINKs should be owned by the dev team. @adityapatwardhan may know how to do it. We should inventory all of the FWLINKs and validate that the accuracy across all of the cmdlets/versions.

Thanks, I'll follow-up offline.

This is still an issue in 6.2.0-preview.3.  Or at least it is with a few cmdlets I tested: Get-Content, ConvertFrom-Json, and ConvertTo-Json.  And they pointed to 5.0 documentation.

@adityapatwardhan we should probably bulk update the fwlinks

@SteveL-MSFT @adityapatwardhan We need to create a bunch of new FWLinks to point to the new version content. Or, if we reuse the existing FWLinks then we need new ones to point to the old content.


Sk reload all gives errors but reloading the skripts separatly works

Describe the bug
A clear and concise description of what the bug is.
When I execute /sk reload all when applying a custom public expression to a Skript, Skript doesn't recognize it. This is the bug because normally, Skript would recognize the expression.
Expected behavior
A clear and concise description of what you expected to happen.
I expected the skript to give no errors when reloading all the Skripts with /sk reload all. Instead, the Skript gave errors but when the Skripts were reloaded separately they suddenly worked. I ended up having to make a bunch of on skript events with "make console execute command "/sk reload duel" etc. so that the skripts could be reloaded separately.
Screenshots
If applicable, add screenshots to help explain your problem.
https://user-images.githubusercontent.com/63815615/103445671-640d9c00-4c45-11eb-8826-8e66ef90aa30.mp4
Server information

skript-reflect: 2.2alpha2 (tried in 2.1.0 as well)
Skungee: 2.0.0
Skript - 2.5.3
This server is running Paper version git-Paper-337 (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)

So you have 2 scripts:

duel.sk
gamemode.sk
In which of those scripts do you have the without itemflags expression (I presume it's that expression you're talking about)?
Also, please fill in the skript-reflect and Skript version.

So you have 2 scripts:

duel.sk
gamemode.sk
In which of those scripts do you have the without itemflags expression (I presume it's that expression you're talking about)?
Also, please fill in the skript-reflect and Skript version.

Updated versions

I have the expression in my "global.sk" skript, and yes that is the expression.

Updated versions

I have the expression in my "global.sk" skript, and yes that is the expression.

Skript loads files and triggers in a logical order, files alphabetical, triggers within that file from top to bottom. Script starts loading with duel.sk and gamemode.sk, and only then global.sk is loaded. So in the first 2 scripts, the without itemflags syntax doesn't exist yet. You can fix this by either renaming the global.sk file to be loaded first, or by enabling preloading in skript-reflect's config (the preloading feature was made for this exact issue).

Skript loads files and triggers in a logical order, files alphabetical, triggers within that file from top to bottom. Script starts loading with duel.sk and gamemode.sk, and only then global.sk is loaded. So in the first 2 scripts, the without itemflags syntax doesn't exist yet. You can fix this by either renaming the global.sk file to be loaded first, or by enabling preloading in skript-reflect's config (the preloading feature was made for this exact issue).

Thank you so much that really helped!

Thank you so much that really helped!


WarsawJS (https://twitter.com/warsawjs) (http://warsawjs.com/)

Europe
Poland

Warsaw - 350+ followers in twitter

I added PR https://github.com/FancyGrid/city-js-community/pull/5

Thank you for contributing.


Update docs

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
15

Relevant Lines:
15

💛  - Coveralls


Wrong nullability and internal type seen for myTask.state.failure

If you do a check like tasks.myTask.get().state.failure != null in a Kotlin DSL build script, you get a complaint that this is always false.
The reason is, that Kotlin does not see Task.getState() but DefaultTask.getState().
The @Nullable annotation is only on the Task method, not on the DefaultTask method.
Additionally you see the TaskStateInternal return type which is probably also not optimal.
If you instead do (tasks.myTask.get().state as TaskState).failure != null, the complaint is gone.
Expected Behavior
@Nullable also on DefaultTask.getState()
Maybe the TaskStateInternal hidden some way.
Current Behavior
Not the expected
Your Environment
Gradle 7.4.2

Thank you for providing a valid reproducer.
The issue is in the backlog of the relevant team and is prioritized by them.


Uses local error domain and local error generation function

Fairly simple patch to not leverage the now deprecated call to Alamofire's error system.

Thanks for this 👍

Glad to help 😄


Clarify how to send 'opts' when not using client.connect

Since you don't need to use client.connect to be able to use the client's methods, we need to add better documentation to that part so people can make simple calls without using connect if they want to. Even though client.connect will always be better for anything that needs more than 1 request, I think we can give a much better dev experience by documenting and pointing out how to easily use the methods without the partial application of the authentication strategy.

@guarilha how do you think we can achieve this?


[libvorbis] Fix UWP builds

This PR adds missing defines to build the UWP versions. The defines do not affect the windows builds as they will just remove warnings about deprecated functions.

To ensure this applies cleanly to users who already have the extracted and patched sources on their machine, could you add a new patch file instead of modifying the existing one?
Lines 36-42 in the portfile [1] should be replaced with
endif()
vcpkg_apply_patches(
  SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src
  PATCHES ${CMAKE_CURRENT_LIST_DIR}/0001-Add-vorbisenc.c-to-vorbis-library.patch
    ${CMAKE_CURRENT_LIST_DIR}/<your patch file here>.patch
)

[1] https://github.com/stammen/vcpkg/blob/f97caddb2fc0d643c551d2b2ec69aadb45e696c5/ports/libvorbis/portfile.cmake#L36-L42

I will make another patch. Thanks!

Replace by PR https://github.com/Microsoft/vcpkg/pull/622


Paths must be relative

In your example usage [This is the example-term](./terms/example-term), the path is relative. I've tried  [This is the example-term](/terms/example-term), which doesn't seem to trigger the popover (though the link works).
We pretty much always prefer to use absolute paths, or we find we move content around and everything breaks. Is it intentional that only relative paths are parsed?

Hi, in order to make sure that we can reproduce the issue that you are having, it would really help us if you'd share your docusaurus.config.js and package.json.
As a general remark, you can configure the paths for terms and docs in the plugin options, maybe that is something that would help if you haven't tried this already.


EqualSubstringString
24
26
+8.3%
0.92x (?)

RGBHistogram
22310
24045
+7.8%
0.93x

Improvement

CharIteration_korean_unicodeScalars_Backwards
285388
245781
-13.9%
1.16x

DictionaryGroup
5164
4488
-13.1%
1.15x

How to read the data
The tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false alarms. Unexpected regressions which are marked with '(?)' are probably noise. If you see regressions which you cannot explain you can try to run the benchmarks again. If regressions still show up, please consult with the performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 12-Core Intel Xeon E5
  Processor Speed: 2.7 GHz
  Number of Processors: 1
  Total Number of Cores: 12
  L2 Cache (per Core): 256 KB
  L3 Cache: 30 MB
  Memory: 64 GB

@swift-ci Please test

@swift-ci Please benchmark

Build failed
Swift Test Linux Platform
Git Sha - 05cbf13f519f58bf5c70ac78899fbb22da5b7c0b

Build failed
Swift Test OS X Platform
Git Sha - 05cbf13f519f58bf5c70ac78899fbb22da5b7c0b

(@stephentyrone  is planning to speed this all up anyways)

Build comment file:
Performance: -O

TEST
OLD
NEW
DELTA
RATIO

Regression

Dictionary2
798
949
+18.9%
0.84x

Dictionary2OfObjects
2093
2489
+18.9%
0.84x

CStringLongAscii
440
515
+17.0%
0.85x

Code size: -O

TEST
OLD
NEW
DELTA
RATIO

Improvement

DictTest2.o
15721
15257
-3.0%
1.03x

StringInterpolation.o
7355
7163
-2.6%
1.03x

Performance: -Osize

TEST
OLD
NEW
DELTA
RATIO

Regression

Dictionary2
791
953
+20.5%
0.83x

Improvement

InsertCharacterEndIndexNonASCII
59
55
-6.8%
1.07x (?)

Code size: -Osize

TEST
OLD
NEW
DELTA
RATIO

Improvement

DictTest2.o
14806
14342
-3.1%
1.03x

StringInterpolation.o
6628
6484
-2.2%
1.02x

Performance: -Onone

TEST
OLD
NEW
DELTA
RATIO

Regression

Histogram
5771
6955
+20.5%
0.83x

Improvement

CharIteration_chinese_unicodeScalars_Backwards
268755
205700
-23.5%
1.31x

CharIteration_russian_unicodeScalars_Backwards
281498
225400
-19.9%
1.25x

CharIteration_japanese_unicodeScalars_Backwards
401310
323338
-19.4%
1.24x

CharIteration_ascii_unicodeScalars_Backwards
326480
266459
-18.4%
1.23x

CharIteration_punctuatedJapanese_unicodeScalars_Backwards
57486
46966
-18.3%
1.22x

CharIteration_punctuated_unicodeScalars_Backwards
72804
59582
-18.2%
1.22x

CharIteration_korean_unicodeScalars_Backwards
322781
264755
-18.0%
1.22x

CharIteration_utf16_unicodeScalars_Backwards
266566
228668
-14.2%
1.17x

How to read the data
The tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false alarms. Unexpected regressions which are marked with '(?)' are probably noise. If you see regressions which you cannot explain you can try to run the benchmarks again. If regressions still show up, please consult with the performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 12-Core Intel Xeon E5
  Processor Speed: 2.7 GHz
  Number of Processors: 1
  Total Number of Cores: 12
  L2 Cache (per Core): 256 KB
  L3 Cache: 30 MB
  Memory: 64 GB

@swift-ci Please smoke test Linux platform


Created AES Encryption

Created AES Encryption

I can't view my PR in hacktoberfest . Assign me hacktoberfest accepted
label
[image: image.png]
On Mon, Oct 7, 2024 at 1:33 PM Satya Prakash @.***>
wrote:

Merged #20 https://github.com/saty-a/CryptoG/pull/20 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/saty-a/CryptoG/pull/20#event-14535918977, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BLXLGDFZHOANTHAQLSWDDNDZ2I56ZAVCNFSM6AAAAABPOTAZFCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGUZTKOJRHA4TONY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Update to solarnuana

I include some new entries to the output tree and allow for further constraints in the ind/col plane matching part of the algorithm. This is expected to ensure a better vertex reconstruction by ensuring a better match between the clusters detected by each of the tpc planes.

This is causing failures in c7 builds. Please address
https://dbweb8.fnal.gov:8443/LarCI/app/ns:dune/storage/docs/2023/08/17/buildDUNE%232S2Wmud.log

Next time you can run CI tests for e20:prof and c7:prof by commenting "trigger build" (lowercase) on the PR

Hi Jake! Thanks a lot for fixing the unused Run & SubRun variables. I see you have reformatted the code and fixed some wrong comments. Was there any other change needed? Should I test the code? Thanks again! Sorry about my late comments. I was on vacation this last weeks.


Error in folder where extension is disabled

Seeing: ERROR: Exception while linting with markdownlint-cli2: Error: Cannot find module '{adobeexl.adobe-markdown-authoring}/markdownlint-custom-rules/rules.js' in a folder where Adobe Markdown Authoring is disabled. If the extension is disabled globally, not sure why those custom rules are still running?

I installed the extension from the marketplace then disabled it globally. I have it enabled only in the workspace where I do AdobeDocs work. I would expect the markdownlint-custom-rules to only run in that workspace where the extension is enabled. Not sure what's happening under the hood here tho. Anyone?

Sorry for the delayed response.  I am able to reproduce this problem and am working to address it.

Thanks! 🙏

I'm working on automating this in the Adobe Markdown Authoring uninstall script, but in the mean time, you can manually edit your settings to eliminate this error message.
In Visual Studio Code (for Mac)

Open your User Settings  Code-> Preferences -> Settings (Cmd-,)
Under Extensions->markdownllint find Markdownlint: Custom Rules, remove the {adobeexl.adobe-markdown-authoring}/markdownlint-customer-rules/rules.js entry by clicking on the trash can next to the entry

If you want, restart Code to clear the output error message.   Or, you can use the "Clear Output" option under the markdownlint extension Output panel that displays the error message.
When the Adobe Markdown Authoring Extension is loaded, it automatically adds the Custom Rules entry to your user settings, but unfortunately, it does not undo that when uninstalling the extension.  I'm working on fixing that.

Thanks! Would really be cool to have the option to apply the Custom Rules entry to either Workspace, or User settings, and eventually, undo on Uninstall.  Regardless of that, I didn't Uninstall the extension, I disabled it globally, then enabled it in a workspace. This makes the extension Enabled only in the workspace where I do AdobeDocs work, but Disabled everywhere else. Not sure how Disabling or Enabling only in a Workspace impacts those settings at the User level tho?

This is a duplicate of Issue #5.  It has been fixed.


Storage layout validation errors are shown on create instead of upgrade

Reported by @abcoathup. Storage layout errors are thrown when running create on the new version on the contract, instead on upgrading. Steps to reproduce:
Run npx oz create A
pragma solidity ^0.5.0;
contract A {
    uint256 public a;
}

Edit the contract to add a variable
pragma solidity ^0.5.0;
contract A {
    uint256 public b;
    uint256 public a;
}

Running npx oz create again gives validation errors, shouldn't errors only be given for oz upgrade?
$ npx oz create
✓ Compiled contracts with solc 0.5.16 (commit.9c3226ce)
? Pick a contract to instantiate A
? Pick a network development
- New variable 'uint256 b' was inserted in contract A in contracts/A.sol:1. You should only add new variables at the end of your contract.
See https://docs.openzeppelin.com/sdk/2.6/writing-contracts#modifying-your-contracts for more info.
One or more contracts have validation errors. Please review the items listed above and fix them, or run this command again with the --force option.

This is caused by all validation checks being done on push, which is called behind the scenes to update all implementation contracts whenever create or upgrade is called. We should review this issue for 3.0, in case we effectively deprecate push.

Experiencing this currently during development.

Created a contract. Deployed upgradeable contract to dev network using deploy.
Turn off dev chain.
Add new variable to contract (not at the end).
Create new dev chain.
deploy throws the validation error that a new variable was added.

To my mind, this shouldn't happen, same as create since it is a clean deploy to a fresh chain. Should only happen on upgrade as mentioned above.
The only way to fix this is to delete .openzeppelin and then init again. Are there other ways to work around this for the time being?

Are there other ways to work around this for the time being?

If you spin up a new dev chain with a different id, then oz will recognize it as a different chain altogether, and not throw that warning. In case you want to reuse that particular id, instead of nuking the entire .openzeppelin folder, you can just remove the file .openzeppelin/dev-NETWORKID.json.
Alternatively, if you want for oz to just forget about the storage layout of a deployed contract, you can remove the storage info for that contract in the .openzeppelin/dev-NETWORKID.json file. Hope this helps!

Thanks @spalladino. This helps. :)


[Bug] Syntax highlighting

This happens with all Lite-based editors. But it's most serious with ecode. My machine is powerful enough. So, please don't tell me to upgrade 😄
When you open a shell script or a perl script (maybe other file types, too), and the file itself doesn't have to be large, sometimes some keywords are not highlighted. You have to close the file and reopen it again to have it correctly highlight them.
It's most serious with SmallBASIC. Some keywords, e.g., const, func, sub, etc., are not highlighted at all, even if you close the file and reopen it again. I found that if you type the keywords (const, func, sub, etc.) from scratch, they are correctly highlighted. So, I tried to insert a space after the keywords (const, func, sub, etc.) in existing code, and guess what? They are now correctly highlighted 😂

It also happens with C++ source file. For example, #include <iostream> is not highlighted. If I close and reopen the file, it is now correctly highlighted. If you want SmallBASIC example code then here you are:
https://github.com/smallbasic/SmallBASIC/blob/master/samples/distro-examples/graphics/3dtorus.bas

It also happens with C++ source file. For example, #include  is not highlighted.

That's very strange, I have never seen anything like that in C++. You're seeing it with my code?

If you want SmallBASIC example code then here you are:

This one I can reproduce it, it's selecting Visual Basic by error, so it's highlighted because it's actually using other grammar, but I already send a fix here so thanks for reporting it. But besides that MANY keywords are not being highlighted because SmallBASIC has incorrect definitions of the symbols, basically symbols are case sensitive, if you defined "Sub" but the file uses "SUB" it will not be highlighted. So SmallBASIC needs fixes. Checking the definition file many words are repeated, I think it's because they were in upper case and lower case and for some reason when you copied them all where transformed to lower-case, I corrected some of them, but please try to fix them and send a patch.

It also happens with C++ source file. For example, #include is not highlighted.

Also please send me an example, C++ should have really good highlighting since I used for many hours a day every single day. This must be something weird.

I can't give you the specific C++ source file. This happens randomly, but is very likely to happen. And it can happen with any C++ source file.

If you want SmallBASIC example code then here you are:

To clarify, also any new code was being highlighted correctly so you ended up with some mixed grammars between Visual Basic and SmallBASIC.

When you open a shell script or a perl script (maybe other file types, too), and the file itself doesn't have to be large, sometimes some keywords are not highlighted. You have to close the file and reopen it again to have it correctly highlight them.

Regarding this, please if you still encounter it send me the file.

Regarding this, please if you still encounter it send me the file.

It happens randomly (but is more likely to happen than not). I can't send you a specific file.

I can't give you the specific C++ source file. This happens randomly but is more likely to happen than not. And it can happen with any C++ source file.

My guess is that you're talking about .h files which can be interpreted as C or C++ source code, in that case there's an specific option for that in Settings -> Folder/Project Settings -> Treat .h files as C++ code..

It happens randomly (but is more likely to happen than not). I can't send you a specific file.

Whenever you find a find where it happens randomly and it's shareable please send it.

I can't give you the specific C++ source file. This happens randomly but is more likely to happen than not. And it can happen with any C++ source file.

My guess is that you're talking about .h files which can be interpreted as C or C++ source code, in that case there's an specific option for that in Settings -> Folder/Project Settings -> Treat .h files as C++ code..

No, it's a .cpp source file.

Btw, instead of inserting multiple versions of the keywords in different cases like you are currently doing on https://github.com/SpartanJ/eepp/commit/fdc9a55809fa53420fd55d8a679ecc155334dbeb#diff-cc2a4072b6f5f4fee64f71c08841e3ef1f61ab57e5241b0b1bf08bb583c375e2, why don't you add an option to treat the keywords as case insensitive? There are a lot of languages that are case insensitive. If it's broken for SmallBASIC, it's broken for these languages, too.

For performance reasons. Most languages are case-sensitive so it's not a big deal.

The problem with SmallBASIC is fixed. The problem of randomly missing some keywords from syntax highlighting is common to all Lite-based editors so I don't think too serious. You can mark this issue as solved. Btw, thank you.

Today I encountered this bug again. Take this very simple test.adept file:
import basics

func main() void {
	print("foo")
}

The import keyword is not highlighted. Even if you close and reopen the file again, it's still not highlighted. To have it highlighted, you need to put the cursor after it and press Space. This is a temporary workaround because if you close and reopen the file again, the keyword import is still not highlighted.

I noticed something similar, there seems to be a problem with the first line of the file, but it happens randomly for me, I cannot always replicate it, it must be something trivial to fix but I'm finding it hard to reproduce.


Add support for project liens

We would like Forseti to be able to check for the existence and correct configuration of project liens.

Still need to add scanner :)

If you reference the issue in your PR with certain wordings (maybe fix is one of them?), it will close the issue automatically when the PR is closed - I didn't close it manually :)

Today I learned... will keep that in mind


Set offSide to sql lang configuration to true

Got some user feedback about trailing lines being included in folding regions not being desirable (https://github.com/microsoft/azuredatastudio/issues/23167) which seems reasonable.
@alexr00 - Is there a way to have changes to our config file in the vscode-mssql extension be picked up here automatically? The update grammar stuff only seems to pick up actual grammar changes, but it seems to me like language config changes should come along with that too, right?

We need to go through PRs, but I guess there must be a way to automate PR. @TylerLeonhardt You do this with translations. How does this work?

@aeschli we could also consider adding it to the update grammar tooling.


Upgrade TestNG 7.10.1 -> 7.10.2

This PR contains the following updates:

Package
Type
Update
Change

TestNG (source)
compile
patch
7.10.1 -> 7.10.2

Release Notes

testng-team/testng (TestNG)
v7.10.2: TestNG v7.10.2
Compare Source
What's Changed

Bump gradle/wrapper-validation-action from 2.1.2 to 3.3.0 by @dependabot in https://github.com/testng-team/testng/pull/3113
Streaming working of listener comparator by @krmahadevan in https://github.com/testng-team/testng/pull/3118

Full Changelog: https://github.com/testng-team/testng/compare/7.10.1...7.10.2

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade TestNG 7.10.1 -> 7.10.2

See:
- https://github.com/testng-team/testng/releases/tag/7.10.2
- https://github.com/testng-team/testng/compare/7.10.1...7.10.2


History and Log Indexes

Rewrite and plug into syncloop of :

History Indexes
Log Indexes

These two stages have a lot in common (basically an index of roaring bitmaps) hence the implementation of IndexLoader in db\bitmap.hpp.
The size of bitmap shards to insert in tables is now computed dynamically on behalf of MDBX's page size
History index has two sub-stages : one for Account and one for Storage

If you want we can wait another day and also tx lookup stage will be plugged in


Perform exact word match on brew + grep

Example: if looking for “git” and there is “git” and “gitish” on the results list, this command will complain because grep encounters more than one match. This fix makes sure it matches on the whole word.
Without this flag, I was getting more than one matches with the words git and heroku:
✦  4. Installing Homebrew formulae…
└─────────────────────────────────────────────────────○
  [↓] Installing asciinema Updating Homebrew...
✓ installed!
  [✓] fish already installed. Skipped.
twirl: line 549: test: git: unary operator expected
  [✓] git already installed. Skipped.
twirl: line 549: test: heroku-node: binary operator expected

P.S.: Thanks for this repo, super useful to set up new MacBooks! 🙌

Hey @minamarkham, are you still supporting this project? I’d be happy to help as a maintainer, I really like it. 😃


NPE during k8s environment removal

Steps to reproduce:

Create an environment, pick k8s type
Add host
Delete the environment.

Bug: environment fails to be removed

@sangeethah @soumyalj we should add to the set of our validation tests

Verified in v1.1.0-dev2-rc6 that no NPE is thrown during environment removal for k8s.


Feat executive final_checks

add header.extrinsics_root().check_equal(&extrinsics_root);

Can you please give any description why you need this?

Code comparison.
above:
header.state_root().check_equal(&storage_root);

Code comparison.
above:
header.state_root().check_equal(&storage_root);

I know this. What you mean by code comparison?

Code consistency  or Symmetry

I thought again about this change and it is not required. The storage root will be different when the extrinsics root is different. Meaning we don't require this.


Compile error with boost 1.60

As far as i understood, shared_ptr_helper class is moved to serialization namespace from archieve::detail, and is now a template class. This breaks the compilation of the code.

Fixed, just pull the newest version.
To regain the feature for serialization to a compatible binary format please use https://epa.codeplex.com


[BugFix] Fix LimitPruneTabletsRule bug  (backport #13407)

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

run starrocks_fe_unittest