HF_HUB_OFFLINE environment variable breaks HuggingFaceEndpoints

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
export HF_HUB_OFFLINE="1"
Error Message and Stack Trace (if applicable)
| [2024-10-04 09:58:56,644] ERROR in app: Exception on /endpoint [POST]
| Traceback (most recent call last):
|   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1473, in wsgi_app
|     response = self.full_dispatch_request()
|                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 882, in full_dispatch_request
|     rv = self.handle_user_exception(e)
|          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/usr/local/lib/python3.11/site-packages/flask_cors/extension.py", line 178, in wrapped_function
|     return cors_after_request(app.make_response(f(*args, **kwargs)))
|                                                 ^^^^^^^^^^^^^^^^^^
|   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 880, in full_dispatch_request
|     rv = self.dispatch_request()
|          ^^^^^^^^^^^^^^^^^^^^^^^
|   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 865, in dispatch_request
|     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   //USER CODE
|
|   File "/usr/local/lib/python3.11/site-packages/celery/local.py", line 182, in call
|     return self.get_current_object()(*a, **kw)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/usr/local/lib/python3.11/site-packages/celery/app/task.py", line 411, in call
|     return self.run(*args, **kwargs)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^
|   //USER CODE
|
|
|   File "/usr/local/lib/python3.11/site-packages/langchain_core/vectorstores/base.py", line 277, in add_documents
|     return self.add_texts(texts, metadatas, **kwargs)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/usr/local/lib/python3.11/site-packages/langchain_postgres/vectorstores.py", line 885, in add_texts
|     embeddings = self.embedding_function.embed_documents(texts)
|                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/usr/local/lib/python3.11/site-packages/langchain_huggingface/embeddings/huggingface_endpoint.py", line 112, in embed_documents
|     responses = self.client.post(
|                 ^^^^^^^^^^^^^^^^^
|   File "/usr/local/lib/python3.11/site-packages/huggingface_hub/inference/_client.py", line 259, in post
|     response = get_session().post(
|                ^^^^^^^^^^^^^^^^^^^
|   File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 637, in post
|     return self.request("POST", url, data=data, json=json, **kwargs)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
|     resp = self.send(prep, **send_kwargs)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
|     r = adapter.send(request, **kwargs)
|         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_http.py", line 77, in send
|     raise OfflineModeIsEnabled(
| huggingface_hub.errors.OfflineModeIsEnabled: Cannot reach http://localhost:80/: offline mode is enabled. To disable it, please unset the HF_HUB_OFFLINE environment variable.
Description
Hi everyone,
I am using Langchain with TEI for embeddings. As I usually use it on-prem + offline, I would prefer it not checking HF repeatedly, while still being able to work locally.
At some point, huggingface_hub introduced environment variable "HF_HUB_OFFLINE", that should do approximately that, quoting the first line:

If set, no HTTP calls will me made to the Hugging Face Hub.

However, as noted later on -

"If HF_HUB_OFFLINE=1 is set as environment variable and you call any method of HfApi, an OfflineModeIsEnabled exception will be raised."

This seems to be consistent with observed behaviour, but I would argue it is not desired, as it pretty much disables langchain as well, as embedding functionality seems to be provided through Inference client.
I don't have a good idea how to solve this, aside from reworking Langchain to use REST APIs (did check, can retrieve the embeddings) or HF HUB blocking just calls to HF. I will also rise this issue in HuggingFace Hub repo as I am not sure how often do HF people frequent issues here and hopefully we converge somewhere.
System Info
System Information

OS:  Linux
OS Version:  #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2
Python Version:  3.11.10 (main, Sep 27 2024, 06:09:18) [GCC 12.2.0]

Package Information

langchain_core: 0.3.8
langchain: 0.3.2
langchain_community: 0.3.1
langsmith: 0.1.131
langchain_huggingface: 0.1.0
langchain_openai: 0.2.1
langchain_postgres: 0.0.12
langchain_text_splitters: 0.3.0

Optional packages not installed

langgraph
langserve

Other Dependencies

aiohttp: 3.9.5
async-timeout: 4.0.3
dataclasses-json: 0.6.6
httpx: 0.27.0
huggingface-hub: 0.23.4
jsonpatch: 1.33
numpy: 1.26.4
openai: 1.40.6
orjson: 3.10.3
packaging: 23.2
pgvector: 0.2.5
psycopg: 3.1.19
psycopg-pool: 3.2.2
pydantic: 2.7.4
pydantic-settings: 2.5.2
PyYAML: 6.0.1
requests: 2.32.3
requests-toolbelt: 1.0.0
sentence-transformers: 2.7.0
sqlalchemy: 2.0.30
SQLAlchemy: 2.0.30
tenacity: 8.3.0
tiktoken: 0.7.0
tokenizers: 0.19.1
transformers: 4.42.3
typing-extensions: 4.12.0

Closing as workaround is provided in HF_Hub repo


go-modules: simplify overriding

This is currently a proof of concept, pending a resolution to the discussion in https://github.com/NixOS/nixpkgs/pull/119942.
Please feel free though to offer feedback or test this out. ~I extracted a bunch of logic in default.nix into a separate go-modules.nix, hence the number of lines changed.~
Description of changes
The aim of this patch is to enable overriding attributes of Go modules,
such as src and vendorSha256, like:
  myGoModule.overrideAttrs (oldAttrs: {
    src = fetchFromGitHub {
      ...
    };

    vendorSha256 = "...";
  });

which is more idiomatic and what a novice Nix user would expect to work.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I extracted a bunch of logic in default.nix into a separate go-modules.nix

I'd very strongly prefer that we don't do this, I'd rather keep this as a single file.

I think this will lead to a lot of rebuilds because vendorSha256 was previously left out of the package derivation's attribute set.

I extracted a bunch of logic in default.nix into a separate go-modules.nix

I'd very strongly prefer that we don't do this, I'd rather keep this as a single file.

I only have a slight preference to keeping them separate, so I'll change that since you feel strongly about it.

Not sure I understand why only some of these are final/finalAttrs but not others?

Not sure I understand why only some of these are final/finalAttrs but not others?

Great question!
If an attribute is derived from another attribute (that could come from a rec, for instance), it should now depend on finalAttrs. If its value comes from somewhere else, such as an argument, it should not.
Some attributes, like vendorSha256, are only used by the go-modules derivation, but need to be set on the package derivation so that they can be overridden. These are then accessed by go-modules under finalAttrs since they now depend on those attributes from the package's derivation.
I hope this makes sense!

I'll be more specific, why allowGoReference and tags?

The intention behind finalAllowGoReference and finalTags was to use the default values of the parameters when they are not overridden in the expressions that follow. Otherwise, they would be null if referenced via finalAttrs.

Maybe I'm just too tired and I'm not seeing it but neither are used in go-modules derivation so I'm not really following.
While I realise some people want a way of being able to override this TBH I don't think is a good idea. Rather than introducing more complexity to address the non-default use case maybe we should try to find another approach that would hopefully be simpler even if it is a rewrite of buildGoModule (which I've been thinking about doing anyway).

Maybe I'm just too tired and I'm not seeing it but neither are used in go-modules derivation so I'm not really following.

finalTags and finalAllowGoReference specifically are not used in go-modules, but they are used when constructing the attributes needed by the mkDerivation call for the package itself. For instance:
GOFLAGS = lib.optionals (!finalProxyVendor) [ "-mod=vendor" ]
      ++ lib.optionals (!finalAllowGoReference) [ "-trimpath" ];

and
... ''${tags:+-tags=${lib.concatStringsSep "," finalTags}} ...

Rather than introducing more complexity to address the non-default use case maybe we should try to find another approach that would hopefully be simpler even if it is a rewrite of buildGoModule

I don't mind that but don't have any ideas. The standard way to override a derivation via an overlay is:
myPackage = prev.myPackage.overrideAttrs(oldAttrs: {
  src = ...;
  ...
});

which breaks completely when myPackage is a Go module and src and vendorSha256 need to be overridden. It's possible to introduce new arguments to buildGoModule that are the override hooks for these, but to me there is a desirable simplicity in overriding these packages through overrideAttrs like all other Nix packages.

btw
maintainability > rebuilds

btw
maintainability > rebuilds

btw maintainability > rebuilds

Don't understand what this means?

Hi! Are you still working on this!
The current buildGoModule overriding simply doesn't work (unless heavily hacked). I'm looking forward for this PR to get merged!

This is closed since https://github.com/NixOS/nixpkgs/pull/225051 containing a similar approach is merged. If you have any optimization on top of it, feel free to reopen and reuse this.


color needs to become initialzed independent from qsettings

fixes #1701

@joernu76 the bug is easyily  to reproduce when you set the env var  MSUI_CONFIG_PATH to a new dir and do nothing else as trying to load the widget.

Thanks, I will try.
The major point is that this particular get_settings should maybe not exist and certainly not load from disk. This is a bug introduced together with this feature.

Thanks, I will try. The major point is that this particular get_settings should maybe not exist and certainly not load from disk. This is a bug introduced together with this feature.

I also wanted to have an initial test definition so that more can be done.


reflect release 2.2.5

Codecov Report

Merging #6683 into master will decrease coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #6683      +/-   ##
============================================
- Coverage        83%   82.94%   -0.07%
+ Complexity    13376    13365      -11
============================================
  Files          1527     1527
  Lines         49696    49696
  Branches       5957     5957
============================================
- Hits          41252    41219      -33
- Misses         5603     5642      +39
+ Partials       2841     2835       -6

Impacted Files
Coverage Δ
Complexity Δ

...in/java/io/crate/lucene/match/CrateRegexQuery.java
43.47% <0%> (-39.14%)
4% <0%> (-5%)

...ration/aggregation/statistics/moment/Variance.java
66.66% <0%> (-33.34%)
5% <0%> (-2%)

...ion/aggregation/impl/GeometricMeanAggregation.java
59.09% <0%> (-21.22%)
11% <0%> (ø)

...o/crate/analyze/SafeExpressionToStringVisitor.java
83.33% <0%> (-16.67%)
7% <0%> (-1%)

...peration/aggregation/impl/VarianceAggregation.java
64.7% <0%> (-15.69%)
11% <0%> (ø)

...aggregation/impl/StandardDeviationAggregation.java
64.7% <0%> (-15.69%)
11% <0%> (ø)

core/src/main/java/io/crate/types/ShortType.java
80.76% <0%> (-11.54%)
16% <0%> (-3%)

...ration/collect/collectors/OrderedDocCollector.java
90% <0%> (-10%)
5% <0%> (-1%)

...ticsearch/indices/recovery/BlobRecoveryStatus.java
63.63% <0%> (-9.1%)
3% <0%> (-1%)

...ain/java/io/crate/lucene/GenericFunctionQuery.java
55.31% <0%> (-6.39%)
9% <0%> (-1%)

... and 38 more

Continue to review full report at Codecov.

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


Can't change nicknames

It seems that there is no option to change the nicknames that the villagers give you. I noticed this because I changed a villager, and the new villager used the nickname the old villager had for me, even though I checked the "set to default" option when changing the villager. I'm ok without it, since it can be changed through normal gameplay, but you may want to add that option in a future release.
Thanks!

I think that this fing will come soon

It's definitely possible.
Indeed, it's easy to find the nickname strings in the savegame. However, it needs more research since villagers remember previous players (even from other towns) and their nicknames.
I can't devote time for this right now, but I'll leave the issue open just in case anyone can contribute to this :-)


exploitdb: 2023-10-20 -> 2023-10-21

Diff: https://gitlab.com/exploit-database/exploitdb/-/compare/refs/tags/2023-10-20...2023-10-21
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 262578 run on x86_64-linux 1

1 package built:

exploitdb


BTable filter does not work - triggers error in itemHelper.ts

Describe the bug.
Filtering in Btable does not work and triggers errors in itemHelper.ts.
To Reproduce.

Open sandbox: https://4895tf-5173.csb.app/
Write something in the Filter box

Code for table:
https://codesandbox.io/p/sandbox/sandbox-bootstrap-vue-next-table-filter-bug-4895tf
Expected behavior.
Writing: "An" should filter out everything that does not contain "An"
Screenshots.

Environment (please complete the following information):
"bootstrap": "^5.3.0",
"bootstrap-vue-next": "^0.9.20",

Thank you for the reproduction, after testing it on my end this issue seems to be fixed with this PR https://github.com/bootstrap-vue-next/bootstrap-vue-next/pull/1262

Great @devhus - can you check if the prop that defines which fields to filter on also works?
:filter-included-fields="['name']"

old docs:
https://bootstrap-vue.org/docs/components/table#filtering

@JanBolmeson it's handled by filterable prop now

Test this on 0.15 then make a new issue if it persists


Update Working with Dependencies -> Learning the Basics Documentation

Details
This is a Documentation change ONLY.
Context
See https://github.com/gradle/gradle/issues/29580
Review
Link

@bot-gradle test BD

I've triggered the following builds for you. Click here to see all build failures.

Build Distributions (Pull Request Feedback)

@bot-gradle test BD

I've triggered the following builds for you. Click here to see all build failures.

Build Distributions (Pull Request Feedback)

@bot-gradle test BD

I've triggered the following builds for you. Click here to see all build failures.

Build Distributions (Pull Request Feedback)

The merge queue build has failed. Click here to see all failures.

The merge queue build has failed. Click here to see all failures.

The merge queue build has failed. Click here to see all failures.

The merge queue build has failed. Click here to see all failures.

The merge queue build has failed. Click here to see all failures.

@bot-gradle test BD

I've triggered the following builds for you. Click here to see all build failures.

Build Distributions (Pull Request Feedback)


Question about wallpaper cropping.

Hello.
When applying wallpaper manually, the app asks Would I like to use cropped wallpaper as visible on screen and the image fits perfectly. But when the same image is applied automatically it looks to be zoomed in much more.
Why is that?

auto

manual

There are more extreme cases.
Have a good day everyone.

The two works differently, when wallpaper is visible it's easier to crop the image since everything's laid out on the screen. The auto wallpaper doesn't know anything except it has the path to image file and it needs to set it as wallpaper. The auto wallpaper service also have to downscale the image before setting it so that it doesn't crash the system or so I have found that it crashes on large image files. In the end the resolution differs in both cases and hard to make sure they both apply the wallpaper same, that's probably why you're seeing more zoomed in wallpapers set by auto wallpaper service.

Makes sense.
Thanks for the explanation.


feat(avatar-group): Add avatar grouping

This PR just handles the grouping of visible avatars, handling the hidden avatars will following the next PR.
✅ Closes: COMUI-3049

time machine branch probably needs to be rebuilt on jenkins as its returning 403

https://apps.inindca.com/common-ui-docs/genesys-webcomponents/feature/COMUI-3049_v3

thanks for heads-up, it should be working now


Cannot request match when the request JSON body's element order is different from that specified in the Stub

WireMock Version: com.github.tomakehurst:wiremock-jre8:2.24.1
Framework: Spring Boot 2.0.3 - Release
JUnit Version: org.powermock:powermock-module-junit4:2.0.0-beta.5
WireMock Configuration:

    @Rule
    public WireMockRule wireMockRule = new WireMockRule(options().bindAddress(WIREMOCK_HOST).port(WIREMOCK_PORT).notifier(new ConsoleNotifier(true)));

Stub:

Stub
stubFor(post(urlMatching(URL))
                    .withHeader("Content-Type", equalTo("application/json"))
                    .withRequestBody(equalToJson(REQUEST_BODY_JSON.toString(), true, true))
                    .willReturn(aResponse()
                            .withHeader("Content-Type", "application/json")
                            .withHeader("Connection", "close")
                            .withBody(RESPONSE_JSON.toString())));

Issue Description
The following JSON object (which consists of a few key-value pairs and an array) is used in the withRequestBody() matcher.
{
  "key1": "value1",
  "key2": "value2",
  "key3": "value3",
  "key4": "value4",
  "arr": [
    "arrValue1",
    "arrValue2",
    "arrValue3",
    "arrValue4"
  ]
}

When the following JSON is sent in the actual request body switching the order of the elements in the JSON object, WireMock fails to match it with the Stub.
{
  "arr": [
    "arrValue1",
    "arrValue2",
    "arrValue3",
    "arrValue4"
  ],
  "key1": "value1",
  "key2": "value2",
  "key3": "value3",
  "key4": "value4"
}

Actual Error
                                               Request was not matched
                                               =======================

-----------------------------------------------------------------------------------------------------------------------
| Closest stub                                             | Request                                                  |
-----------------------------------------------------------------------------------------------------------------------
                                                           |
POST                                                       | POST
/mockStub                                                  | /mockStub
                                                           |
Content-Type: application/json                             | Content-Type: application/json
                                                           |
{                                                          | {                                                   <<<<< Body does not match
  "category" : "060",                                      |   "children" : [ {
  "date" : "20200312",                                     |     "id" : "9010946",
  "isRegistered" : true,                                   |     "age" : 1,
  "id" : "12302067",                                       |     "isRegistered" : false
  "children" : [ {                                         |   }, {
    "id" : "9405762",                                      |     "id" : "9405762",
    "age" : 1,                                             |     "age" : 1,
    "isRegistered" : true                                  |     "isRegistered" : true
  }, {                                                     |   }, {
    "id" : "9010946",                                      |     "id" : "9166586",
    "age": 1,                                              |     "age" : 1,
    "isRegistered" : false                                 |     "isRegistered" : false
  }, {                                                     |   }, {
    "id" : "7537984",                                      |     "id" : "7537984",
    "age" : 1,                                             |     "age" : 1,
    "isRegistered" : true                                  |     "isRegistered" : true
  }, {                                                     |   } ],
    "id" : "9166586",                                      |   "category" : "060",
    "age" : 1,                                             |   "id" : "12302067",
    "isRegistered" : false                                 |   "isRegistered" : true,
  } ]                                                      |   "date" : "20200312"
}                                                          | }
                                                           |
-----------------------------------------------------------------------------------------------------------------------

This issue exists in WireMock com.github.tomakehurst:wiremock-standalone:2.26.3 as well.

Is it possible that the issue lies in your JSON being used to match? The output for the second item in your array looks malformed.
{
  "id" : "9010946",
  "age"isRegistered 1,
  "splitFlag": false
}

Please try this with wiremock-jre8:2.26.3

@aaron-goff my bad, that was a copy-paste error - I edited it with the correct snippet.

@tomakehurst I'm getting the following error with this version when trying to init the Rule:
org/eclipse/jetty/util/ssl/SslContextFactory$Server
java.lang.NoClassDefFoundError: org/eclipse/jetty/util/ssl/SslContextFactory$Server
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at com.github.tomakehurst.wiremock.jetty9.JettyHttpServerFactory.getServerConstructor(JettyHttpServerFactory.java:35)
	at com.github.tomakehurst.wiremock.jetty9.JettyHttpServerFactory.<clinit>(JettyHttpServerFactory.java:30)
	at com.github.tomakehurst.wiremock.core.WireMockConfiguration.<init>(WireMockConfiguration.java:79)
	at com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig(WireMockConfiguration.java:109)
	at com.github.tomakehurst.wiremock.core.WireMockConfiguration.options(WireMockConfiguration.java:113)

Suggest you try the standalone equivalent in that case: wiremock-jre8-standalone:2.26.3

@tomakehurst it still happens in the standalone for 2.26.3. Do you think there's something wrong with my implementation of the Stub or if this is a known behaviour in WireMock?

@tomakehurst appears to be fixed in that version, any idea on the root cause of this?

@tomakehurst it appears to be fixed in that version, any idea on the root cause of this?

The JRE8 version of WireMock 2.26+ has a new underlying implementation for JSON equality that fixes some bugs regarding array order. The JRE7 version still uses the old impl because the library used by the new one is Java8+ only.

@tomakehurst understood, thanks for the explanation! I'll close this issue now and will reopen it if the problem surfaces again :+1:


setup.mdx: update cli version to 0.9.3

Preview is available here:http://soroban-docs-pr519.previews.kube001.services.stellar-ops.com/


Passing more data to the subcomponent

What version of React-Table are you using?
"react-table": "6.6.0"

What bug are you experiencing, or what feature are you proposing?
I would like to pass more data than just row to my subcomponent.
Precisely, I would like to send the function also in addition to data to my subcomponent. Is there a way to achieve this ?
const xyzTable = ({routes, onButtonClick}) => {
  return (
    <ReactTable
      data={routes}
      columns={columns}
      SubComponent={SubTable}
      className="-striped -highlight"
    />
  )
}

In the above snippet, I would like to pass the onButtonClick also to my subcomponent. How can I achieve it ?
Use https://codesandbox.io/s/X6npLXPRW (by clicking the "Fork" button) to reproduce the issue.
Then paste a link to your newly forked codesandbox here...
What are the steps to reproduce the issue?

list the steps
to reproduce
the issue

I'm having this same issue, was this solved?

How about something like this?
      SubComponent={row => (
        <MyComponent
          rowProps={row}
          someOtherProp={props.handleMyEvent}
        />
      )}

It's strange that row doesn't contain the same keys as when it's called from a column via Cell or Expander.
For example, if you extend ReactTableDefaults.column, the methods you add are available in Cell but not in the SubComponent callback.


Missing defaultDropAnimationSideEffects in @dnd-kit/core

Hi, i downloaded your examples and somehow defaultDropAnimationSideEffects is missing in @dnd-kit/core.
Module '"@dnd-kit/core"' has no exported member 'defaultDropAnimationSideEffects'

Repository example: https://github.com/JakubKontra/dndkit-piffles
package.json
`
{
    "name": "dndkit-piffles",
    "version": "0.1.0",
    "private": true,
    "scripts": {
      "dev": "next dev",
      "build": "next build",
      "start": "next start",
      "lint": "next lint"
    },
    "dependencies": {
      "@dnd-kit/core": "^5.0.3",
      "@dnd-kit/modifiers": "^5.0.0",
      "@dnd-kit/sortable": "^6.0.1",
      "classnames": "^2.3.1",
      "next": "12.1.6",
      "react": "18.1.0",
      "react-dom": "18.1.0"
    },
    "devDependencies": {
      "@types/node": "17.0.34",
      "@types/react": "18.0.9",
      "@types/react-dom": "18.0.4",
      "eslint": "8.15.0",
      "eslint-config-next": "12.1.6",
      "typescript": "4.6.4"
    }
}

`

fixed with major dependency on core


[tmf] increase default number of snoop address cache entries on BRs

This commit increases the default number of snoop address cache entries from 2 to 16 on BRs. To accommodate this increase, the default number of total entries is also increased by 16.

I was surprised why the code-size report for ot-cli-ftd-br does not show any changes -> Turns out the nordic config fixed the cache size to 32 here:
https://github.com/openthread/ot-nrf528xx/blob/main/src/nrf52840/openthread-core-nrf52840-config.h#L115-L123


Set color for specific domain, color picker

When setting a color for a specific domain the color picker doesn't work properly. The only the first character entered in the R, G or B textboxes is saved. So to enter a value in those, the color picker has to be closed and opened again for every character.

@cnieuweboer Thanks for reporting the issue, are you using Windows 10? It seems like a common issue with Windows 10.

I am using Windows 11.

@cnieuweboer @jathek I can replicate the bug now. I’ll fix it soon.

Hi, @cnieuweboer! I hope you are still around, and I’m more than exciting to tell you that the bug should be fixed now.


Feature request: Include a cluster identifier in notifications

It would be nice to have something like a clusterIdentity parameter that I could specify in the configuration and have that clusterIdentity included in the message sent to Slack or elsewhere.
For example, if I specified clusterIdentity: "my-cluster" in the configuration, the message in Slack would look something like this:
kubewatch
A deployment in namespace `kubewatch` in the `my-cluster` cluster has been created:
kubewatch/kubewatch

This way I can use the same Slack channel for multiple clusters and still distinguish between them.

Thanks for reporting it @CapKenR
Kubewatch doesn't support cluster name in the messages yet.
We need to add it.
Here as well, you can try Robusta which includes the cluster name in the messages as a workaround.


Favour getOrElse('default') over orNull ?: 'default'

@bot-gradle test QF

OK, I've already triggered QuickFeedback build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

Thanks!


download mapping file and biom tables associated with an analysis

It would be nice for the user to have the ability to download the mapping file and the biom tables associated with an analysis.

Isn’t this possible already? If not, it should be high priority…

On Aug 3, 2015, at 3:15 PM, clozupone<EMAIL_ADDRESS>wrote:
It would be nice for the user to have the ability to download the mapping file and the biom tables associated with an analysis.
—
Reply to this email directly or view it on GitHub https://github.com/biocore/qiita/issues/1401.

There was a closed issue saying it was now possible but looks like functionality got lost at some point.
Sent from my iPhone
On Aug 4, 2015, at 8:49 AM, "Rob Knight" <notifications<EMAIL_ADDRESS>wrote:
Isn't this possible already? If not, it should be high priority...

On Aug 3, 2015, at 3:15 PM, clozupone <notifications<EMAIL_ADDRESS>wrote:
It would be nice for the user to have the ability to download the mapping file and the biom tables associated with an analysis.

Reply to this email directly or view it on GitHub https://github.com/biocore/qiita/issues/1401.

Reply to this email directly or view it on GitHubhttps://github.com/biocore/qiita/issues/1401#issuecomment-127639336.

This is possible now and I have responded directly to Cathy and pointed to
the documentation.
Gail
On Tue, Aug 4, 2015 at 7:54 AM, clozupone<EMAIL_ADDRESS>wrote:

There was a closed issue saying it was now possible but looks like
functionality got lost at some point.
Sent from my iPhone
On Aug 4, 2015, at 8:49 AM, "Rob Knight"<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Isn't this possible already? If not, it should be high priority...

On Aug 3, 2015, at 3:15 PM, clozupone<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
It would be nice for the user to have the ability to download the
mapping file and the biom tables associated with an analysis.

Reply to this email directly or view it on GitHub <
https://github.com/biocore/qiita/issues/1401>.

Reply to this email directly or view it on GitHub<
https://github.com/biocore/qiita/issues/1401#issuecomment-127639336>.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/1401#issuecomment-127640706.

--
Gail Ackermann
Knight Lab
UCSD
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Just to clarify, this is a real issue and I'm going to start working on it.
I plan to create two links in the main analysis list where you can download the map and the biom files. Does this sound fine?

Sounds great. Thanks Antonio!
On Aug 6, 2015, at 10:54 AM, Antonio Gonzalez <notifications<EMAIL_ADDRESS>wrote:
Just to clarify, this is a real issue and I'm going to start working on it.
I plan to create two links in the main analysis list where you can download the map and the biom files. Does this sound fine?
—
Reply to this email directly or view it on GitHubhttps://github.com/biocore/qiita/issues/1401#issuecomment-128440405.

Yes, how did this functionality get lost and can we make sure regression
tests ensure that similar loss of important functionality doesn't happen in
future?
On Aug 6, 2015, at 12:54 PM, Antonio Gonzalez<EMAIL_ADDRESS>wrote:
Just to clarify, this is a real issue and I'm going to start working on it.
I plan to create two links in the main analysis list where you can download
the map and the biom files. Does this sound fine?
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/1401#issuecomment-128440405.

After chatting with @adamrp we realized that the original issue was closed when the internal functionality was created and it has never been possible via the GUI.

Ok so I guess that suggests a different set of problems and solutions...
On Aug 6, 2015, at 2:40 PM, Antonio Gonzalez<EMAIL_ADDRESS>wrote:
After chatting with @adamrp https://github.com/adamrp we realized that
the original issue was closed when the internal functionality was created
and it has never been possible via the GUI.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/1401#issuecomment-128470153.


Return a collection of frames from StackFrame>>stackOfSize:

Pharo implementation returns a collection of Contexts, definitely not just a string. We can just redirect to existing #getFrames:.

Thanks!


Remote code execution due to eval() of untrusted data CVE-2014-3700

Found in a past security audit, agreed with Tristan to make public and file issues here.
Please see https://bugzilla.redhat.com/show_bug.cgi?id=1152545
Summary:
Multiple eval() usages, leading to arbitrary code execution on servers and clients (in mitm type attacks).
Unsafe directory handling situations, filename handling. Should introduce whitelisting.
Solution:
Comprehensive security training, with initial targets identified by github commit
logs :-)
upload-health.py:        hw_items = eval(hw_file.read(-1))
upload.py:        hw_items = eval(hw_file.read(-1))
hw_file is specified to the cgi script via
$ curl -i -F name=test -F<EMAIL_ADDRESS>http://localhost/cgi-bin/upload.py
$ curl -i -F name=test -F<EMAIL_ADDRESS>http://localhost/cgi-bin/upload.py
respectively. allows arbitrary python code execution
matcher.py:        lst = eval('(' + _list + ')')
need to trace the code flow for _list, but .. probably vuln.

Fixed in 8259e7bc31edbf702ee0131cf9bd0b0ab09e93fb.


ACM-11659 - Update OADP to stable-1.4 channel

Description
Update ACM to OADP 1.4
Related Issue
https://issues.redhat.com/browse/ACM-11659
Changes Made
Updated ACM to OADP stable-1.4 channel
Screenshots (if applicable)
Add screenshots or GIFs that demonstrate the changes visually, if relevant.
Checklist

[ ] I have tested the changes locally and they are functioning as expected.
[ ] I have updated the documentation (if necessary) to reflect the changes.
[x] I have added/updated relevant unit tests (if applicable).
[x] I have ensured that my code follows the project's coding standards.
[x] I have checked for any potential security issues and addressed them.
[ ] I have added necessary comments to the code, especially in complex or unclear sections.
[x] I have rebased my branch on top of the latest main/master branch.

Additional Notes
Add any additional notes, context, or information that might be helpful for reviewers.
Reviewers
Tag the appropriate reviewers who should review this pull request. To add reviewers, please add the following line: /cc @reviewer1 @reviewer2
Definition of Done

[ ] Code is reviewed.
[ ] Code is tested.
[ ] Documentation is updated.
[ ] All checks and tests pass.
[ ] Approved by at least one reviewer.
[ ] Merged into the main/master branch.

/hold

/lgtm

/hold cancel


Identify implementation differences with GO

This issue is to capture and discuss any significant implementation differences between the GO and JS circuit relay implementations.
@vyzo @stebalien @whyrusleeping @lgierth @diasdavid

While debugging an issue with the js implementation on irc, we came to the realization that we can optimize secio handshake latency by having the relay immediately respond with OK, before receiving OK from STOP.
This allows the relay to immediately start piping the dialer's input, and saves a roundtrip in secio handshake -- half a roundtrip in each side of the connection.
This is a potentially important optimization; see https://github.com/libp2p/go-libp2p-circuit/issues/16

What differences are left?

The one that vyzo brought up here, is already implemented in js land. That's the only one I have come across so far.

@dryajov are there still differences? Parts where js-libp2p-circuit is not spec compliant?

No, we're 100% spec compliant.

Can this be closed then?


Failed to specify ip use dubbo:protocol.host.

服务器的 /etc/hosts 文件指定的机器码是 内网地址，但是有需求我们改  /etc/hosts文件里面的内容
想要早dubbo.xml 修改 host为外网地址 发现 一直提示绑定端口失败

是要在外网发布dubbo服务吗？

Hi, welcome to Dubbo community!
Please consider using English, Dubbo is a global community, and all the issues may be viewed and discussed by people all over the world.
Meanwhile, you can send email to<EMAIL_ADDRESS>or subscribe it, which is preferred way for discussing questions like this. And we will make sure that every email will receive a reply.
Github issues should be a pure place for tracking determined features, enhancements or  bugs.

Please send your full exception stack to<EMAIL_ADDRESS>and subscribe to it to receive any discussions.


Remove alert popup

Removes alert popup in favor of notification center and bumps version to 1.1.1.
@craigspaeth if you get a sec, could you publish to NPM so that I can pull latest into force?

Sorry I should have mentioned I was working on this already. I removed this and added linting in https://github.com/artsy/browserify-dev-middleware/commit/d255f28243d7cd22f478f5ca0807e73c5723b883 which is published to npm now. Thanks for the updates!

Ahh 👍


another ip address looks

The site is active after installation with install.sh file ....ip address of visitors to the site appears at the terminal...I tested myself and it seemed my ip address...but different ip addresses started to appear..
in this experiment first the french ip address was seen then the american ip address was seen...
I just opened the site yet new and the site has been active for only 20 minutes..there is no one who knows the name of the site other than me...
why does someone else's ip address look like on terminal ?? do somebody have the right to access this program ??can you access the information of people who use this program @ustayready
i think when my site is active you can see it and you can enter my site and look at the passwords @ustayready

People regularly scan the internet for web ports and unless you're on a dedicated IP address, IP addresses are rotated from customer to customer based on available resources. Another thing to consider is if you used an SSL certificate comma the certificate transparency project is regularly monitored by people and attackers alike which means when a new certificate is registered people know how to find the site. It's not uncommon for new credsniper instances to be visited by bots immediately after launching. This is especially true if you obtained an IP address that was previously used for a website where links to that website might still be active on other sites comma like a backlink.
GitHub does show me who forks and stars the project but that information is available for everybody on public repos. I do not have the ability to see how credsniper is used or any information it harvests.
Hope this helps!

thank you for everything....this program very nice.....When the sms code goes to the victim's phone, the last 2 digits of the phone number are misspelled. Is it because it is a phishing attack??
sms code send
**********80
my phone last numbers not 80. ...
can you change last numbers whith real last numbers ?
or can we change it because it is a phishing attack?

The SMS goes to whatever phone number is on file for the account being phished. The numbers displayed to the user are the same numbers that Google shows to the user when they are authenticating. CredSniper literally pulls out the numbers from the authentication on the back-end and renders it in the phishing page showed to the target.

yes ... sms code is coming...
now i try again the phone number does not write the last 2 numbers in the place
I tried in morning , the last 2 numbers of the phone number were 80 and it was wrong
wrong
*********80
true
**********79
it is not writing any numbers now...

other problem...
credsniper.py is not working true ??
only i am using install.sh

If the numbers are not showing up, it's because something with the back-end authentication that Google is doing. Something is causing Google to flag the authentication as risky and is possibly either locking out attempts or requesting more information before completing the authentication. This happens when the wrong credentials are supplied from an IP over and over, multiple failed attempts occur on an account, or if the IP is flagged as suspicious.
Side note, you only need to run install.sh once. After everything is up and running, you just use: python credsniper.py

python credsniper.py is not working.... i am using install.sh
root@CyberTheReapeR:~/CredSniper-master# python credsniper.py --module gmail --twofactor --port 443 --ssl --verbose --final https://www.youtube.com/c/teknolojivesavunma --hostname accounts.google.com.loginin.cf
Traceback (most recent call last):
File "credsniper.py", line 118, in
cs = CredSniper()
File "credsniper.py", line 25, in init
self.prepare_module()
File "credsniper.py", line 35, in prepare_module
loader=PackageLoader('credsniper', package),
File "/usr/lib/python2.7/dist-packages/jinja2/loaders.py", line 224, in init
provider = get_provider(package_name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 348, in get_provider
import(moduleOrReq)
File "/root/CredSniper-master/credsniper.py", line 118, in
cs = CredSniper()
File "/root/CredSniper-master/credsniper.py", line 25, in init
self.prepare_module()
File "/root/CredSniper-master/credsniper.py", line 39, in prepare_module
self.module = importlib.import_module(module_path).load(self.enable_2fa)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/root/CredSniper-master/modules/gmail/gmail.py", line 193
SyntaxError: Non-ASCII character '\xe2' in file /root/CredSniper-master/modules/gmail/gmail.py on line 193, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Not sure the environment you are operating in. Is this Kali? It's only been tested on Ubuntu 16.04. Also, make sure the Python virtual environment has been activated. For instance: source /root/CredSniper-master/bin/activate

OMG  ---  it is worked now >>>>>   source /root/CredSniper-master/bin/activate
i am usng kali linux....(kde desktop)

thank you for everything.... you are big man....

No problem. Glad it's up and working.


Chore/ CI & CD for backend and executor service

This PR is still in progress.

Configure serverless for the /backend and /services/executor folders
Setup Github actions to automatically test and deploy using branch-deploy, to the dev environment

This PR is done, needs to be merged first (?) in order to use the workflows created here

.deploy

.deploy

.deploy

.deploy

.deploy

.deploy

.deploy


Fix alignment

Calling a cfunc will automatically preserve temp var registers for us,
so there's no need to push ep in this case.  In fact the push is
misaligning the stack

Thinking about the variables preservation API, I'm a bit wary that the UX is troublesome, when autoalignment is disabled. This is because something happens behind the scenes (pushes to the stack), which can easily go unnoticed (besides breaking the code, in case, say, another temp variable is used).
I wonder if disabling variables preservations when autoalign is disabled is something sensible, or it's overkill (that is, it's fine to leave the burden to the caller).


Introduce new Judgment.validation_failure_messages method

This method returns a list of reasons why the judgment has failed validation and is not publishable, by iterating over a list of attributes of a judgment which must 'pass' in order for it to be considered publishable and appending their error message if they fail. This also means we can refactor is_publishable to lean on the same list of attributes to test, which reduces function complexity.
Take this opportunity to tidy up the organisation of tests, and to also make parser failure a publish-blocking condition.

@jacksonj04
Not sure if design of notification panel is just a placeholder or not. but we could set the current yellow panel up a bit more:

use the red colour, feels like the message is code red.
replace the word ‘judgment’ with ‘document’ to keep it neutral/scalable.
See what the panel looks like if it only was the width of the main content form below it. e.g. not right across the page. i’m not by that fussed about this last one, just might feel less aggressive when it’s in red.


Docker HASS HACS Error 500 on deps

Describe the bug

Unable to proceed, getting 500 Internal Server Error Server got itself in trouble in HASS. Under the hood, pip doesn't have permissions to install deps (see below)
Version of the custom_component

Using latest repo version.
Configuration

Using docker, amd64,  ghcr.io/home-assistant/home-assistant:stable
Debug log

2024-07-16 07:16:17.981 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package home-connect-async==0.8.0: ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/.local'
Check the permissions.
2024-07-16 07:16:20.205 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package home-connect-async==0.8.0: ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/.local'
Check the permissions.
2024-07-16 07:16:22.405 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package home-connect-async==0.8.0: ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/.local'
Check the permissions.
2024-07-16 07:16:22.406 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 210, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin
    return await func(self, request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
    return await method(view, request, data, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 172, in post
    return await self._post_impl(request, data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 179, in _post_impl
    return await super()._post_impl(request, data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 84, in _post_impl
    result = await self._flow_mgr.async_init(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1267, in async_init
    flow, result = await self._async_init(flow_id, handler, context, data)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1287, in _async_init
    flow = await self.async_create_flow(handler, context=context, data=data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1423, in async_create_flow
    handler = await _async_get_flow_handler(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2851, in _async_get_flow_handler
    await _load_integration(hass, domain, hass_config)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2828, in _load_integration
    await async_process_deps_reqs(hass, hass_config, integration)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 563, in async_process_deps_reqs
    await requirements.async_get_integration_with_requirements(
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 54, in async_get_integration_with_requirements
    return await manager.async_get_integration_with_requirements(domain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 170, in async_get_integration_with_requirements
    await future
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 159, in async_get_integration_with_requirements
    await self._async_process_integration(integration, done)
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 182, in _async_process_integration
    await self.async_process_requirements(
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 269, in async_process_requirements
    await self._async_process_requirements(name, missing)
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 307, in _async_process_requirements
    raise RequirementsNotFound(name, list(failures))
homeassistant.requirements.RequirementsNotFound: Requirements for home_connect_alt not found: ['home-connect-async==0.8.0'].

It looks like pip wants to write to /.local and not ~/.local or somewhere safe, and most containers (including the official one) aren't going to let you do that nor would it be persist anyways. The expected location is probably /config/.local/
I tried going into the container and making .local, but I got permission denied for the root user, so..
docker exec -it homeassistant bash
mkdir /.local
mkdir: can't create directory '/.local': Permission denied

Any suggestions on how to get this working? Thanks

Looks like something is messed up with your installation of HA. The easiest would probably be to reinstall it.

Hm, I'll keep that in mind. I have other HACS repos that work just fine, so I'm not going to reconfigure HASS (it's docker, so I'm not even installing it anyways). Thanks anyways tho!


UoW::scheduleOrphanRemoval() is called with an array argument

A new strange bug encountered with the latest master: an array gets passed to UnitOfWork::scheduleOrphanRemoval() instead of the proper embedded document object. The array itself seems to be a presentation of the embedded document in question. This eventually leads to PHP error spl_object_hash() expects parameter 1 to be object, array given inside scheduleOrphanRemoval().
This seems to be related to situations where we mix ORM and ODM (as documented in http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/cookbook/blending-orm-and-mongodb-odm.html#event-subscriber) and upon persisting an Entity, we use the Document in the ORM's prePersist listener.

@alcaeus: Any progress on creating a standalone test case? If you want to gist it and reply in a comment, I'll re-open this issue.

Sorry about the delay, we ended up changing the logic to avoid the issue. I've written the test - if you want I'll write a PR for it in order to track changes. I'm not quite sure about a solution for the issue though.

@alcaeus: Sorry, but I just saw your reply. If you can still cook up a PR, feel free to re-open this and link it to a corresponding PR. I'd definitely like to attempt a fix it if we can reproduce the error.


[hot-fix]: Rectify build folder in travis.yml

Description
Hotfix correcting error in path to build folder in travis.yml
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added necessary inline code documentation
[ ] I have added tests that prove my fix is effective and that this feature works
[x] New and existing unit tests pass locally with my changes

it did not pass


Auto-generated nested navigation

Hello,
I would like in a column to display navigation of each element. My problem is some of my element have a parent, and I would in the generated navigation that it would create a sub navigation to the parent element.
For example :
/*doc
---
title: parent
name: parent
category: test
---
*/

...

/*doc
---
title: child
name: child
parent: parent
---
*/

output (what I want):

      parent

            child

I know my code is wrong but for now I just copied the one in the hologram example project (header.html):

   <% @blocks.each do |block| %>

         <a href="#<%= block[:name] %>"><%= block[:title] %>

   <% end %>

Help, anyone?
Thank you!

Hi @hugodessomme, this is possible by modifying the header.html in the following way. You can see this in action in the example of the Cortana theme. Here's a snippet from Cortana's _header.html:
<% catWrappers = Array.new %>
<% @categories.each do |cat| %>
  <% catWrapperName = cat[0].split(nameScope).first %>
  <% if not catWrappers.include?(catWrapperName) %>
    <% catWrappers.push(catWrapperName) %>
  <% end %>
<% end %>

    <% if file_name.include?('index.html') %>

Home

    <% else %>

Home

    <% end %>

  <% catWrappers.each do |wrapper| %>

<%= wrapper %>

    <% @categories.each do |cat| %>
      <% if cat[0].include?(wrapper) %>
        <% catName = cat[0].split(nameScope).last %>
        <% if catName == title.split(nameScope).last %>

<a class="active" href="<%= cat[1] %>"><%= catName %>

        <% else %>

<a href="<%= cat[1] %>"><%= catName %>

        <% end %>
      <% end %>
    <% end %>

  <% end %>

In your hologram_config.yml file, you'd need to add:
name_scope: ' - '

The string - is used to separate the parent and child components in the category property. Finally, in your documentation, you'd need to use it as:
/*doc
---
title: Small text
name: typography-small-text
category: Scaffolding - Typography
---
*/
...
/*doc
---
title: Strong text
name: typography-strong-text
category: Scaffolding - Typography
---
*/

As you can see, each component needs to have a parent (in the above example, Scaffolding).
You can also give the Cortana theme a try, which support nested categories out of the box.

I will give it a try! Thank you :)

Closing this, you can do what you're looking for with a custom_renderer or as @rishabhsrao using the Cortana theme (which is the same method but packaged up for you)


Update README.md

Made some grammar corrections, added some enjoyable elements to enhance its appeal, and included a footer to initiate the repository.

Hello @kushal34712
Thank you for your contribution to our project! We truly appreciate your effort in trying to improve our codebase. However, this particular pull request appears to only make minor changes, which might not have a significant impact on the overall quality of the project.
We highly encourage you to take a deeper look into the project and consider contributing to some of the more critical issues or feature enhancements. Your skills and efforts would be greatly valued there. You can check our https://github.com/arc53/DocsGPT/issues for some suggestions on where to start. We have labeled some issues as "good first issue" or "help wanted" to help guide you.
Looking forward to more of your contributions!
Best regards,
Alex


Problem using angular2-google-maps

When I use https://github.com/SebastianM/angular2-google-maps (according to the doc https://angular-maps.com/docs/getting-started.html#package-installation) I get a bunch of warnings like:
WARNING in ./~/angular2-google-maps/core/index.js
Cannot find source file '../../../../src/core/index.ts': Error: Can't resolve '../../../../src/core/index.ts' in '/Users/me/_dev/___maps_test/node_modules/angular2-google-maps/core'
 @ ./src/app/app.module.ts 18:13-49
 @ ./src/main.browser.ts
 @ multi main

WARNING in ./~/angular2-google-maps/core/directives.js
Cannot find source file '../../../../src/core/directives.ts': Error: Can't resolve '../../../../src/core/directives.ts' in '/Users/me/_dev/___maps_test/node_modules/angular2-google-maps/core'
 @ ./~/angular2-google-maps/core/index.js 6:9-32
 @ ./src/app/app.module.ts
 @ ./src/main.browser.ts
 @ multi main
and so on...

When I do the exactly same in an angular-cli project no warnings occur...
Does anybody know what's wrong?

U need to exclude it https://github.com/qdouble/angular-webpack2-starter/blob/master/constants.js#L48

@DzmitryShylovich great -  thank you very much - this works perfectly


Updated group form layout

Coverage remained the same at 44.222% when pulling 8452b833d03af7f32a0102e82b563885fc6dbcd5 on group_form into a2bc658d8f9c6115cf136cfa50ea2e3696cb4364 on master.

I leave this open to allow updating based on my comments to the screenshot on slack...

I leave this open to allow updating based on my comments to the screenshot on slack...

Updates done.


fix inclusion of opus.dll in projects referencing the nuget package

With this minor csproj fix, nuget now includes the opus.dll in the output of projects referencing the nuget MumbleSharp package, thus fixing #68 and #67

merged directly as this cannot break anything


Telituich

Telituich created by<EMAIL_ADDRESS>on 2019-07-04 19:38:08

<EMAIL_ADDRESS>replied, Firefly

<EMAIL_ADDRESS>replied, Yep! Though some people use "teliluich"

<EMAIL_ADDRESS>replied, Iâ€™ve only known teliluich as the phosphorescent mushrooms.

<EMAIL_ADDRESS>replied, Hmm. Interesting. I've only known mushrooms, all types, to be obechad. ðŸ˜

In my experience teliluich is just the glowing mushroom and obechad is all other mushrooms. Except for the ones that look like half circles, I’ve heard them called dingal a obechad because they look like ears.  I have no idea what another name for that plant is.
souang

On Oct 16, 2022, at 18:37, John Bent @.***> wrote:

@.*** replied,
Hmm. Interesting. I've only known mushrooms, all types, to be obechad. ðŸ˜�
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.


[test] Add Python 3.6 to CI matrix

Does this just involve editing .travis.yml ?

Does this just involve editing .travis.yml ?

The tox.ini as well I think, (see https://github.com/bigchaindb/bigchaindb/blob/master/tox.ini#L3).

OK, so add 36 to the enlist   on that line, and what about the base and deps ? Do they remain the same?
And for travis.yml, I'd be adding 3.6 to  https://github.com/bigchaindb/bigchaindb/blob/master/.travis.yml#L7
Do I also add anything to the include section?

and what about the baseand deps ? Do they remain the same?

yes, for now, we can update them in a separate PR

And for travis.yml, I'd be adding 3.6 to https://github.com/bigchaindb/bigchaindb/blob/master/.travis.yml#L7
Do I also add anything to the include section?

Yes, we need to add two new blocks, one for rethinkdb and one for mongodb.

@sbellem Thanks! I am on it!


F#748 make datasets with multiple excel sheets

Description

Make datasets with multiple excel sheets at once.
Related Issue :

#748
How Has This Been Tested?

create excel file dataset -> select more than 1 sheet -> make dataset -> see if multiple dataset is created
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project. it will be added soon
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document. it will be added soon
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Additional Context

Found bug, reopening when fixed

run build
deploy to 1

found error closing issue for now


feat: Add drag and drop to Dashboard layouts

This PR adds a drag and drop functionality to Dashboard layouts (Vertical and Tall) in the edit mode.
How to test

Go to this link.
Add two additional charts, so that there are three in total.
Proceed to layout options.
Change layout to Dashboard.
See that there are drag handles next to charts metadata buttons.
See that it's possible to drag and drop the charts to change their order.
Change layout from Vertical to Tall.
See that drag and drop also works for this layout.

Code looks good, I saw no blocker. LGTM 👍  Some remarks after testing:

I wonder though about having a drag overlay since the drag overlay does not show exactly what's under it (since it is another re-rendering of the chart) and there is an animation inside the drag overlay.
I also wondered if it would not be better to directly move the chart while dragging (not the overlay, but really dispatch re-order events while we drag)
The tall layout goes below the fold on my tiny screen. Maybe it would be good to reduce the width of the whole layout so that the first chart does not take the whole screen. Below a screenshot of what I see

Hey @ptbrowne, thanks for reviewing and testing 💯
I adjusted the drag and drop behavior a bit to hide the dragged element and disable animations when creating an overlay, I think it is better now.
I initially tried with moving the chart instead of using overlay, but it was quite "messy", especially for Tall layout, when the thing you drag suddenly changes size in the middle of page scroll, I think it's more clean when we need to "confirm" the action. Let me know if the new behavior is still confusing, it would be also great to get @KerstinFaye's view on this 🎨
We've also discussed limiting the width of the edit / publish views with @KerstinFaye, I'll introduce the changes in later PRs 👍

Thanks a lot for your great work @bprusinowski and for your testing and feedback @ptbrowne.

Patrick, to your first point: I wasn't 100% sure what you meant with the drag overlay. Something like this?
https://github.com/visualize-admin/visualization-tool/assets/127507692/bd9a40e9-d85d-4e98-bfd1-3faa4c56d409
I think this could be a nice addition.

Patrick, to your last point: I think it could be beneficial for the user to see what will change before it actually changes.

Bartosz, I can imagine that the animation might feel a bit messy. I like the new version. I think it's very clear like this.


Done fix

The done condition is not correct for sims_per_step greater than one. Its possible a vehicle might have left during one of the steps. Additionally, fix the done condition to get set when a vehicle is on the exit edge.

I'm not sure why this isn't getting the histories right, this is built on top of I210 dev...


added ability to configure plugins

It is useful to be able to define plugins on a case by case basis, this commit allows you to do so by passing in a comma delimited string defining the selectize.js plugins you want to apply.
pass plugin='remove_button,other_plugin' to choose plugins
Signed-off-by: Laura Busl<EMAIL_ADDRESS>

This makes so much sense.
I prefer this to a global config.

your choice, I have realised that I need to modify the code slightly to support an empty string as a plugin choice, personally though I would prefer to have no plugins by default. We could check globals for 'default' plugins though? That way it wouldn't break anything? and you could specify globally that you want no plugins by default, or the remove_button?
Thoughts on this?

Well, normally I reopen the class for that kind of application-wide things.
But don't know how much of a good practice that is, but I don't see any problem with it.

Ok, so how about we leave the remove_button as a default plugin, and recommend that people reopen the component should they want to define any other application wide default plugins?
:)

On 30 Jan 2015, at 8:40 pm, Miguel Andrade<EMAIL_ADDRESS>wrote:
Well, normally I reopen the class for that kind of application-wide things.
But don't know how much of a good practice that is, but I don't see any problem with it.
—
Reply to this email directly or view it on GitHub https://github.com/miguelcobain/ember-cli-selectize/pull/15#issuecomment-72176386.

I just don't want to break any existing user's codebase by removing a default option.
Yes, a README section on this would be great.

it does work!
TIL a new syntax!

can you share on how to reopen this class when using it as an ember-cli plugin? I have tried in an initializer, but can't seem to get the imports right.

Probably:
import EmberSelectizeComponent from 'ember-cli-selectize/components/ember-selectize';

export default EmberSelectizeComponent.reopen({
  plugins:'remove_button, restore_on_backspace'
  //other options
});

ahh, the ember-cli resolver never fails to amaze me.

Did it work?

Worked perfectly.
ember g component ember-selectize
then copy and paste.

On 30 Jan 2015, at 10:12 pm, Miguel Andrade<EMAIL_ADDRESS>wrote:
Did it work?
—
Reply to this email directly or view it on GitHub https://github.com/miguelcobain/ember-cli-selectize/pull/15#issuecomment-72186376.

Ah, didn't know you could reopen a component by "creating" another component.
I need to know what the best practice for reopening in ember-cli is, to add that to the README.
Resources:
http://blog.seriousfox.co.uk/2015/01/02/ember-cli-where-to-reopen/
http://stackoverflow.com/questions/27154886/ember-cli-where-to-reopen-framework-classes

I anything that you specify in your own folders takes precedence over anything else. that seems to be by design with ember-cli. I assume this is the best practice then, it wouldn't work so easily if it were not I think?

On 30 Jan 2015, at 10:48 pm, Miguel Andrade<EMAIL_ADDRESS>wrote:
Ah, didn't know you could reopen a component by "creating" another component.
I need to know what the best practice for reopening in ember-cli is, to add that to the README.
Resources:
http://blog.seriousfox.co.uk/2015/01/02/ember-cli-where-to-reopen/ http://blog.seriousfox.co.uk/2015/01/02/ember-cli-where-to-reopen/
http://stackoverflow.com/questions/27154886/ember-cli-where-to-reopen-framework-classes http://stackoverflow.com/questions/27154886/ember-cli-where-to-reopen-framework-classes
—
Reply to this email directly or view it on GitHub https://github.com/miguelcobain/ember-cli-selectize/pull/15#issuecomment-72189988.

I guess it's a matter of personal preference.
Some people may prefer not to have external components in their components folder.
Another take is to create a ext/ember-selectize.js and import it in app.js.
I'll try to cover these things in the README.
Meanwhile, this PR is finished, right?

correct, I'm using it here with no problem.
my first PR!
:)

On 30 Jan 2015, at 11:23 pm, Miguel Andrade<EMAIL_ADDRESS>wrote:
I guess it's a matter of personal preference.
Some people may prefer not to have external components in their components folder.
Another take is to create a ext/ember-selectize.js and import it in app.js.
I'll try to cover these things in the README.
Meanwhile, this PR is finished, right?
—
Reply to this email directly or view it on GitHub https://github.com/miguelcobain/ember-cli-selectize/pull/15#issuecomment-72193425.


docs: updating roadmap

This PR updates the roadmap. I push against main because we build the docs from main

A couple more comments:

Core protocol

I would move "transaction recency conditions" and "foreign procedure invocation" to the top of the box. This way, they'll be closer to Oracles/Rate limits.

ZK L2

Block kernel should depend on batch kernel.


otbr-commissioner only working when debug_level>=7

I know this might be a bit of an extreme case, but we are trying to use otbr-commissioner as external commissioner to commission devices on a Silicon Labs border router.
This is because we haven't found anywhere guidance on how to implement our own external commissioner (the official Thread Commissioning white paper is too abstract to use as implementation guideline).
Important note: the whole commissioning chain works when we use the Thread Commissioning App for android as the external commissioner.
Anyway, using the code in commit 276d3682e5ff1ad0990feeea4b80a72abdc5568b we manage to commission a joiner if the command line debugLevel parameter is >= 7 (i.e. print everything including mbedtls output). It works reliably, but even just redirecting stderr to /dev/null will make it fail.
We never manage to commission with the latest commit (1b695ba322624f6642a7b07adda0454bbcf7b8c5), not even if we enable debug output.
In all cases, petitioning works and the joiner starts communication with otbr-commissioner.
The general architecture is that otbr-commissioner runs on the Border Router, talks to Silicon Labs' commissioning-proxy (i.e. the agent) which in turn uses a SiLabs EFR32 as NCP.
A MED is trying to join.
Here is an example output from a failed session (note: we added a debug line to print the coap payload in SendCoap)

otbr-commissioner[4975]: agent-address: <IP_ADDRESS>
otbr-commissioner[4975]: agent-port: 49191
otbr-commissioner[4975]: connecting...
otbr-commissioner[4975]: connecting: ssl-setup
otbr-commissioner[4975]: xpanid: 8D089926734E2573
otbr-commissioner[4975]: networkname: [MANUALLY REMOVED]
otbr-commissioner[4975]: passphrase: [MANUALLY REMOVED]
otbr-commissioner[4975]: note: calculating PSKc
otbr-commissioner[4975]: pskc: FE58229E83DE0D73756C04DAB43F509E
otbr-commissioner[4975]: connect: perform handshake
otbr-commissioner[4975]: connect: CONNECTED!
otbr-commissioner[4975]: COMM_PET.req: start
otbr-commissioner[4975]: COMM_PET.req: send
otbr-commissioner[4975]: SendCoap: [4202B94E0001B163026370FF0A0A4F70656E546872656164]
otbr-commissioner[4975]: SendCoap: ssl-write-lenth: 24
otbr-commissioner[4975]: COMM_PET.rsp: start
otbr-commissioner[4975]: COMM_PET.rsp: ignore-tilv: 10
otbr-commissioner[4975]: COMM_PET.rsp: session-id=21
otbr-commissioner[4975]: COMM_PET.rsp: state=accepted
otbr-commissioner[4975]: COMM_PET.rsp: complete
otbr-commissioner[4975]: COMM_PET.req: complete
otbr-commissioner[4975]: COMMISSIONER_SET.req: start
otbr-commissioner[4975]: COMMISSIONER_SET.req: session-id=21
otbr-commissioner[4975]: JOINER: Allow any ingore hashmac
otbr-commissioner[4975]: steering-len: 15
otbr-commissioner[4975]: steering-hex: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
otbr-commissioner[4975]: COMMISSIONER_SET.req: coap-uri: c/cs
otbr-commissioner[4975]: COMMISSIONER_SET.req: sent
otbr-commissioner[4975]: SendCoap: [4202B94F0002B163026373FF0B020015080FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF]
otbr-commissioner[4975]: SendCoap: ssl-write-lenth: 33
otbr-commissioner[4975]: COMMISSIONER_SET.rsp: start
otbr-commissioner[4975]: COMMISSIONER_SET.rsp: state=ready
otbr-commissioner[4975]: COMMISSIONER_SET.rsp: complete
otbr-commissioner[4975]: CommissionerServe: start
otbr-commissioner[4975]: commissioner-serve: device-pskd=[MANUALLY REMOVED]
otbr-commissioner[4975]: DTLS PSK:: 0000: 42 4c 55 45 42 45 4c 4c
otbr-commissioner[4975]: DTLS bound to port 49192.
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: COMM_KA.req: send
otbr-commissioner[4975]: SendCoap: [4202B9500300B163026361FF1001010B020015]
otbr-commissioner[4975]: SendCoap: ssl-write-lenth: 19
otbr-commissioner[4975]: COMM_KA.rsp: start
otbr-commissioner[4975]: COMM_KA.rsp: state=ready
otbr-commissioner[4975]: COMM_KA.rsp: complete
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: JoinerPort: 61616
otbr-commissioner[4975]: Router locator: 0
otbr-commissioner[4975]: Encapsulation: 417 bytes for port: 49192
otbr-commissioner[4975]: DEST: <IP_ADDRESS>
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: COMM_KA.req: send
otbr-commissioner[4975]: SendCoap: [4202B9510400B163026361FF1001010B020015]
otbr-commissioner[4975]: SendCoap: ssl-write-lenth: 19
otbr-commissioner[4975]: COMM_KA.rsp: start
otbr-commissioner[4975]: COMM_KA.rsp: state=ready
otbr-commissioner[4975]: COMM_KA.rsp: complete
otbr-commissioner[4975]: Trying to accept connection...
otbr-commissioner[4975]: DTLS handshaking...
otbr-commissioner[4975]: DTLS handshake failed: -0x6a80!
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: DTLS session destroyed: 4.
otbr-commissioner[4975]: relay from: <IP_ADDRESS>
otbr-commissioner[4975]: RELAY_tx.req: send
otbr-commissioner[4975]: SendCoap: [5202B9520500B163027478FF113C16FEFD0000000000000000002F030000230000]
otbr-commissioner[4975]: SendCoap: ssl-write-lenth: 92
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: JoinerPort: 61616
otbr-commissioner[4975]: Router locator: 0
otbr-commissioner[4975]: Encapsulation: 449 bytes for port: 49192
otbr-commissioner[4975]: DEST: <IP_ADDRESS>
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: Trying to accept connection...
otbr-commissioner[4975]: DTLS handshaking...
otbr-commissioner[4975]: DTLS handshake pending: -0x6900.
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: DTLS session[8] alive.
otbr-commissioner[4975]: relay from: <IP_ADDRESS>
otbr-commissioner[4975]: RELAY_tx.req: send
otbr-commissioner[4975]: SendCoap: [5202B9530600B163027478FF11FF01B516FEFD000000000000000101A80200019C]
otbr-commissioner[4975]: SendCoap: ssl-write-lenth: 471
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: DTLS session[8] alive.
otbr-commissioner[4975]: relay from: <IP_ADDRESS>
otbr-commissioner[4975]: RELAY_tx.req: send
otbr-commissioner[4975]: SendCoap: [5202B9540700B163027478FF11C116FEFD000000000000000200B40C0000A80002]
otbr-commissioner[4975]: SendCoap: ssl-write-lenth: 225
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: DTLS session[8] alive.
otbr-commissioner[4975]: relay from: <IP_ADDRESS>
otbr-commissioner[4975]: RELAY_tx.req: send
otbr-commissioner[4975]: SendCoap: [5202B9550800B163027478FF111916FEFD0000000000000003000C0E0000000003]
otbr-commissioner[4975]: SendCoap: ssl-write-lenth: 57
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: DTLS session[8] alive.
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: DTLS session[8] alive.
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: DTLS session[8] alive.
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: DTLS session[8] alive.
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: DTLS session[8] alive.
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: DTLS session[8] alive.
otbr-commissioner[4975]: CommissionerServe: Tick..
otbr-commissioner[4975]: DTLS session[8] alive.

We were testing with the default debug level, which should be 6. There's some big code cleaning up after the old commit you provided. And we'd prefer focusing on the latest version. Could you please try the latest commissioner and attach logs?

Of course, will do in a minute.
Meanwhile, it seems that on the old version things start working even without debug output if I add a delay in dtls_mbedtls.cpp, in the void MbedtlsServer::Process(const fd_set &aReadFdSet, const fd_set &aWriteFdSet, const fd_set &aErrorFdSet) method.
It definitely looks like a race condition on the file descriptor, similar to issue https://github.com/openthread/borderrouter/issues/87
Here is the modification I made:
    for (SessionSet::iterator it = mSessions.begin();
         it != mSessions.end();
         ++it)
    {
        MbedtlsSession *session = *it;
        int             fd = session->GetFd();

        usleep(500*1000);                       ///< ugly ugly kludge

        if (FD_ISSET(fd, &aReadFdSet))
        {
            otbrLog(OTBR_LOG_INFO, "DTLS session [%d] become readable.", fd);
            session->Process();
        }
    }

    ProcessServer(aReadFdSet, aWriteFdSet, aErrorFdSet);

    (void)aErrorFdSet;
}

Attached is a log from the version in HEAD. This is with full debug output and it still doesn't work.
To summarise:

commit 276d368 does not work out-of-the-box if debug out is disabled or piped to /dev/null
commit 276d368 works out-of-the-box if debug out is maxed out
commit 276d368 works regardless of debug level if I add a 500ms sleep before checking the DTLS fs
HEAD does not work in any case

It definitely looks like a race condition like the one @DuaneEllis-TI found in #87
new_otbr.log

@matteoscordino could you please try #196 ?

Just tried, similar behaviour...
otbr_from_pr196.log

@matteoscordino we have several enhancements recently, have you tried the latest code?

Close stale issue.


fix: publisher typo

This is in the vscode folder. Please fix it in vscode and the ADS repo will pick it up in a merge


change Arduino Mega256 with Node MCU ESP8266 along with connections

Can you merge my PR

This is majorly a hardware contribution.

This involved finding drivers, troubleshooting electronics and voltages. that deserves a point of 80

!bounty 80

I have made this change

!bounty 180

giving 180, bc pr was opened here for the second issue


Better Triage Notification System for Gold

The Flutter Gold dashboard does not currently support notifications.
This is a sticking point in the case where:

Pull request 1 lands, changing pre-existing golden file A
Triage is not completed to approve the change
The change ignore expires
Pull request 2 picks up change to golden file A from master
Pre-submit checks for PR 2 fail since there is no approved match for updated golden file A

This is not an often occurring case, as golden files are not changed often (they are visual constants!), and triage breakdown is also uncommon with considerate ignore practice.
To address this case, I would like to implement a notification system, likely through flutter/cocoon, that will ping PRs or directly email ignore owners before they expire, closing the potential gap for triage breakdown. This notification would encourage the owner to either

triage images (if change has landed)
extend ignore (if change has not landed)
delete ignore (if triage has been completed, or if the change is not actually ready to land)

With gold now able to run tryjobs in pre-submit from github, this may no longer be necessary. Triage can be completed before a change lands with tryjobs.


optimize eslint script

What kind of change does this PR introduce?
Fixes #9612

Did you add tests for your changes?
Yes

Does this PR introduce a breaking change?
No

What needs to be documented once your changes are merged?
Nothing

Please respect original configuration, that command only care about those specific tests.

@montogeek I know and I respect original configuration, this is my idea, just I think .eslintignore is friendly. if this config not suitable, I will be close it

@sokra test/helper/*.js should use code-lint script ?

@sokra test/helper/*.js should use code-lint script ?

yep

Thanks


Add Nong Song: Metalepsis

Song Name
Metalepsis
Artist Name
zohka（造花）
Source
Youtube
Youtube Link
https://youtu.be/loV2X24DVUg?si=4lYJhTFCSTmYDERq
Direct File Link
No response
Song ID
1004
Start Offset [ms]
0
Extra
Metalepsis by Excellent567
ID: 108270881

accept

accept
On Sun, 28 Jul 2024, 11:57 auto-nong[bot], @.***> wrote:

Thanks for contributing!
Someone will soon review your request.
Here is the JSON result for the reviewer:
{
"name": "Metalepsis",
"artist": "zohka（造花）",
"source": "youtube",
"startOffset": 0,
"yt-id": "loV2X24DVUg",
"songs": [
1004
]
}
To accept the request, a reviewer needs to write "accept".
—
Reply to this email directly, view it on GitHub
https://github.com/FlafyDev/auto-nong-indexes/issues/1940#issuecomment-2254456848,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKE4MAQ5JM2BKYRZX4AQXPDZOS6BZAVCNFSM6AAAAABLSVA4GOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGQ2TMOBUHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add diagrams and screenshots to DTR security scanning

Right now the docs are a wall of text and it's users need to read a lot to get a clear mental model of how security scanning works.
Adding diagrams and screenshots to the docs would help with this.

Current docs

set up vulnerability scans
scan images for vulnerabilities

#dibs


How to get any text  inside parentheses?

Just like get(any text), which is text inside,may be contains '('  ')',so can't use  (~")" any)* .
I can do it with regular expressions, but how can I do it with ohm?

It depends on exactly what your language needs to support, but does including end in your lookahead help?
E.g.:
Text = "get" "(" parenthesized ")"
parenthesized = (~(")" end) any)*

Great!
I didn't realize that ~ could act on Sequence, I tried many times before in ~(a|b), now I can continue
Thank you.

Note that
parenthesized = (~(")" end) any)*

can be simplified to
parenthesized = (~")" any)*

(The end is not necessary b/c any does not succeed at the end of the file.)


cast_str_to_numeric should check incoming type

if user provides numpy array of floats, could get strange results (since that would be converted into ints)

Columns. add_column_from_str() should also check

Here's a demo of the bug
from cogent3.util.table import cast_str_to_numeric
from numpy import array, arange

data = arange(4, step=0.1)
got = cast_str_to_numeric(data)
data.dtype, got.dtype

The first is float64, the second is int64.
But if you pass data as a list (i.e. cast_str_to_numeric(data.tolist()) you get back the correct type.


Disable SNI-DNAT (AUTO_PASSTHROUGH) clusters by default

Fixes https://github.com/istio/istio/issues/27749
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
78a5aca7e81fedf43a2aa601fb98db7b63712c69
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
2d29e365a44f90d1330bcb1c0e0762aa7969b25b
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
c2c8b8f3b4513241752c50a6746efa5c4f674990
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security-k8s-tests_istio

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
c2c8b8f3b4513241752c50a6746efa5c4f674990
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Unable to run the wasm version in other runtimes

Exception loading sqlite3 module: TypeError: fetch failed
    at node:internal/deps/undici/undici:13178:13 {
  [cause]: Error: not implemented... yet...
      at makeNetworkError (node:internal/deps/undici/undici:8961:35)
      at schemeFetch (node:internal/deps/undici/undici:10356:34)
      at node:internal/deps/undici/undici:10205:26
      at mainFetch (node:internal/deps/undici/undici:10224:11)
      at fetching (node:internal/deps/undici/undici:10172:7)
      at fetch (node:internal/deps/undici/undici:10041:20)
      at fetch (node:internal/deps/undici/undici:13176:10)
      at fetch (node:internal/bootstrap/web/exposed-window-or-worker:72:12)
      at lr (file:///Users/user/~Desktop/projects/project/node_modules/@antonz/sqlean/dist/sqlean.mjs:1:5051)
      at cr (file:///Users/user/~Desktop/projects/project/node_modules/@antonz/sqlean/dist/sqlean.mjs:1:5619)
}
node:internal/modules/run_main:129
    triggerUncaughtException(
    ^

TypeError: fetch failed
    at node:internal/deps/undici/undici:13178:13 {
  [cause]: Error: not implemented... yet...
      at makeNetworkError (node:internal/deps/undici/undici:8961:35)
      at schemeFetch (node:internal/deps/undici/undici:10356:34)
      at node:internal/deps/undici/undici:10205:26
      at mainFetch (node:internal/deps/undici/undici:10224:11)
      at fetching (node:internal/deps/undici/undici:10172:7)
      at fetch (node:internal/deps/undici/undici:10041:20)
      at fetch (node:internal/deps/undici/undici:13176:10)
      at fetch (node:internal/bootstrap/web/exposed-window-or-worker:72:12)
      at lr (file:///Users/user/~Desktop/projects/project/node_modules/@antonz/sqlean/dist/sqlean.mjs:1:5051)
      at cr (file:///Users/user/~Desktop/projects/project/node_modules/@antonz/sqlean/dist/sqlean.mjs:1:5619)
}

Node.js v20.17.0

It is possible to run the wasm version of SQLite in other runtimes with https://github.com/sqlite/sqlite-wasm/blob/main/sqlite-wasm/jswasm/sqlite3-node.mjs
The main benefit of using wasm is better cross-platform compatibility and better runtime support across various web-interoperable runtimes including Node.js, browsers, Cloudflare Workers, Deno, Bun, and others.

This package is provided as-is, and I have no plans to test or support other runtimes. Sorry about that.


Change label for room_number example x2

Changing the label from "calling_room" to "room_number"
keeping the labeling consistent (like directions, telephone_number, room_dialing)
This prepares for an additional 'quickstart' room_number example for the SDK docs
curl -X POST http://localhost:1234/process \
     -H "Content-type: application/json" \
     -d '{"intents":["room_number"], "transcript": "I am in five b"}'

Do you think it will confuse anyone that the intent name is the exact same as the entity name?

Yes that would be confusing, i noticed that too
Would another entity name work for this example? (room_id)
It would be nice to have the intent be the same as the folder name (room_number)
Another option is to rename the folder to calling_room (or room_id with the intent label also being "room_id")


Allow non-owners to access a shared resource with a web app of their own choice

Suppose Alice has a resource on her pod, and gives Bob read access to it. Bob wants to use a web app to view the resource. This is currently allowed if:

there is an ACL rule granting read access for that path, Bob's webid, and the app's origin, or:
with https://github.com/solid/web-access-control-spec#possible-future, Alice (who has control access to the resource has  listed the app's origin as an acl:trustedApp in her profile
Bob gets acl:control access to the  resource, meaning the acl:trustedApps in his profile also get whitelisted (but this option doesn't really count, since the premise was that Bob was only getting read access)

This means that Alice can only whitelist specific app origins for Bob to use, and she does not have a way to give Bob read access to the resource without making any restrictions on web app origin.
One possible way to service this use case would be to allow ACL rules  to have acl:origin "*", meaning that Bob is free to choose which web app he prefers, even if it's one that Alice has never heard of yet.
Another option might be to also check Bob's profile for trusted apps when a web app tries to read the resource on Bob's behalf.
Without this feature, sharing  a resource could feel like how sharing an office document worked in the 90's: you could only view the documents you receive if you used the same app as the sender, if you used a different app, you had to email back and forth asking them to export/convert the document.

Without this feature, sharing a resource could feel like how sharing an office document worked in the 90's: you could only view the documents you receive if you used the same app as the sender, if you used a different app, you had to email back and forth asking them to export/convert the document.

I cannot emphasize this strongly enough.
Solid promises app/data independence. Being too strict with app restrictions breaks that promise.
We need better mechanisms for specifying which apps can access data. For instance, things like:

I trust all apps that have received a certification from parties A, B, or C

Suggestion: can we turn this issue into a PR with a set of use cases?

I'll make PR with one or two use cases where person gives some global trust to specific app. Maybe you can make PR with use case for that:

I trust all apps that have received a certification from parties A, B, or C

?


⚠ HDBits has degraded performance

In d112cdd, HDBits ($HDB) experienced degraded performance:

HTTP code: 200
Response time: 1533 ms

Resolved: HDBits performance has improved in c1eae11 after 9 minutes.


Make behaviour the same as normal database services again

I have some changes for feathers-authentication/client incoming which does not require feathers-localstorage to behave differently than the normal feathers-memory. This reverts the changes we had to do and closes #6.

We'll need to test this React Native before we merge it.

This should work in RN as well since those changes were only hacks to work with arbitrary ids and creating when doing an update.
I think for authentication we should go back to a transparent storage abstraction like:
// use memory be default
// use localStorage
app.set('storage', window.localStorage);
// use AsyncStorage
app.set('storage', asyncStorage);
// use custom store
app.set('storage', {
  getItem(key) {},
  setItem(key, value) {}
});

For user and token storage so that we don't have to hack the behaviour of what is technically supposed to be a standard Feathers database service.

:shipit:


CRT Debug Assertion Failed - "Buffer too small"

I have an injector which calls the following (shortened) code:
var processes = Process.GetProcessesByName("target");
/* ... */
var process = processes[0];
/* ... */
process.Kill();
RemoteHooking.CreateAndInject(process.MainModule.FileName, string.Empty, 0,
    InjectionOptions.NoService | InjectionOptions.DoNotRequireStrongName,
    typeof(EntryPoint).Assembly.Location, typeof(EntryPoint).Assembly.Location,
    out injectedProcessId, null);

The corresponding DLL just has the following:
public class EntryPoint : IEntryPoint {
    public EntryPoint(RemoteHooking.IContext InContext) {}

    public void Run(RemoteHooking.IContext InContext) {
        RemoteHooking.WakeUpProcess();
        Thread.Sleep(5000);
    }
}

Unfortunately when running with the NuGet libraries the injector just crashes with the typical Windows Error Reporting tool showing up and no visual exception message at all. The error from the Event View is this one:
Faulting application name: TestInjector.vshost.exe, version: 14.0.23107.0, time stamp: 0x559b788a
Faulting module name: EasyHook64.dll, version: <IP_ADDRESS>, time stamp: 0x589704aa
Exception code: 0xc0000409
Fault offset: 0x0000000000091a9b

When running in debug mode, I am not able to step through the EasyHook code step by step, but I am getting at least one exception

Do you have any suggestions on how to further debug this issue and find out what's causing it?

I could resolve the error - the application that I was invoking was getting a command line argument as well (which is not in my sample code unfortunately) which is too long for the library. Therefore I increased the buffer size right here as well as the referring call to it right here and it works now without any issues.

This has also been fixed on the Develop branch


(minor) Coverflow widget doesn't have default Effect Selection

Open 1.1.5 Wearable sample
Add Coverflow widget
Coverflow->File Selection--> ads some files
Run Live Preview
Expected:
Coverflow effect is visible for selected images
Observe:

Note: After choosing Effect Selection coverflow widget is displayed properly

I need to resolve this issue first before I start work with #387

I think that we can close this issue.
@lslachciak please check is coverflow build by default.

works well, thank you


Deprecate SETTINGS.MINIFIED

In base.html we have a setting to switch between minified and full version of css/js, I feel that this might be an unneccessary setting, or is this widely used?

Totally agree! I actually talked about this with Martin a couple of weeks back, must have forgotten all about it. This commit removes MINIFIED (and the version flag). 6d84da3e4d5cf41563c1f9c70e5b2af51cd54cd0


Implement uniform recombination operator

Implement an operator that uses uniform recombination for exchanging genome values.

Added ops.uniform_crossover() and corresponding tests.