ldc-1.17.0 fails to build

Describe the bug
The ldc package (1.17.0) is currently failing to build properly in the unstable branch.
It looks like the following is the culprit:
std/datetime/timezone.d(2013): Error: file "TZDatabaseDirFile" cannot be found or not in a path specified with '-J'
To Reproduce
Steps to reproduce the behavior:

Run nix-shell -p ldc
Job done!

Expected behavior
The package should build and install cleanly.
Metadata

system: "x86_64-linux"
host os: Linux 5.4.6, NixOS, 20.03pre206632.b0bbacb5213 (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.1
channels(root): "nixos-20.03pre207998.e0470e11c7a, nixos-small-20.03pre208117.8440abe7e6f"
channels(chrisaw): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

cc @matthewbauer

Right, looks like a012d5eebba466d778945573295b22b2a0a1f3fd is commit introducing the failure. The cmakeFlags relied on shell expansion which no longer happens, so we get this:
 -DD_FLAGS=-d-version=TZDatabaseDir;-d-version=LibcurlPath;-J$PWD

Instead of this:
-DD_FLAGS=-d-version=TZDatabaseDir;-d-version=LibcurlPath;-J/build/ldc-1.17.0-src

cc @ThomasMader

@hedning is right.
So a fix could be to use -J/build/ldc-${version}-src but I find the hardcoded /build quite ugly.
The path doesn't need to be in /build but I put it there to make sure it's not a file used by some other process.
Switching from /build to /tmp or whatever is for this reason not a good solution.

I'm not sure with the changes for structured attrs we could use shell expansion for $PWD like before.
Perhaps @globin @Ma27 @jtojnar could comment since the fix looks obvious.

Right CMake does not interpolate environment variable.
Looks like -J was added in https://github.com/NixOS/nixpkgs/commit/3ff636fb2e756ac57d7f0007dc2c6c2425401997 and I agree that hardcoding /build is not a good idea but the presence of -J$PWD feels like a hack too. What is ts purpose? If the string imports are generated by the build system, I would expect them to be found without any extra flags. And if they are generated us during bootstrapping, I would expect them to be in a separate derivation, making referencing them work without variable interpolation.
If we cannot get rid of the $PWD, we should move the flag to preConfigure until we can.

Looks like the -J flag is needed for https://github.com/NixOS/nixpkgs/blob/a012d5eebba466d778945573295b22b2a0a1f3fd/pkgs/development/compilers/ldc/default.nix#L53
Could we copy the file to a build system’s natural directory like src or something, so that the flag could be omitted?

The -J flag is the only possibility to get the tzdata path into the library.
See https://github.com/dlang/phobos/blob/v2.090.0/std/datetime/timezone.d#L2013 for the code in the library.
Where the file is doesn't matter but I don't see any better location as $PWD for now.

Is not it possible to put it to phobos/std/datetime/ directory or something?

Yes but I still need to get the full path to it for -J and there is no default directory so you could omit the -J if you mean that.
See point 3 in https://dlang.org/spec/expression.html#ImportExpression .


add link from the docs to the GitHub repo

This can be useful when people find the documentation but want to see the source code and go to the repo.

Yeah, it's the same for me. I think I once saw a discussion about such an issue, but I don't remember whether it was only on Discourse or whether such an issue was opened at Documenter.jl. Maybe you should have a look and say that you would really like this feature? If you do so, please tell me!

I'll merge this without tests passing since CI tests (except Documenter) are disable for changes of the docs that do not affect the source code.


Replace reStructedText with reStructuredText

:heart: Thank you for your contribution!
Description
Please describe briefly your pull request.
Fix https://github.com/zenodo/zenodo/issues/2204
After:

Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

[x] I'm aware of the code of conduct.
[x] I've created logical separate commits and followed the commit message format.
[x] I've added relevant test cases.
[x] I've added relevant documentation.
[x] I've marked translation strings (for relevant code).
[x] I've followed the CSS/JS and React guidelines (for relevant code).
[x] I've followed the web accessibility guidelines (for relevant code).
[x] I've followed the user interface guidelines (for relevant code).
[x] I've identified the copyright holder(s) and updated copyright headers for touched files (>15 lines contributions).
[x] I've NOT included third-party code (copy/pasted source code or new dependencies).

Third-party code
If you've added third-party code (copy/pasted or new dependencies), please reach out to an architect.
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

You license your contribution under the same terms as the current repository’s license.
You agree that you have the right to license your contribution under the current repository’s license.

Same result with new commit

changed the commit message :)


Return Retry-After header with status response if command is not finished (and for the initial 202 accepted)

ref

closed because of solution redesign


Please give me push access to the repo

I want to help out with the project (the last commit is from a year ago)

i do not have time to maintain it anymore. Maybe its better if you fork it

@spazziale well I dont know if I should do that (I hate fork trees)

@spazziale well I dont know if I should do that (I hate fork trees)

@spazziale soo yes or no?
(If you say no I'm going to fork the repo)

Done https://github.com/Twig6943/Wayland-Native-Games-Compatibility-List/

Done https://github.com/Twig6943/Wayland-Native-Games-Compatibility-List/

sorry I'm really busy this week. at this point I can archive the repo and direct people to yours as soon as I have time

Here's the PR https://github.com/spazziale/Wayland-Native-Games-Compatibility-List/pull/2

Pls merge and then add me as a contributor


jss autoprefixer

its actually included, using plugin https://github.com/jsstyles/jss-vendor-prefixer

Thanks @kof!
I saw the plugin but I didn't find a way to install it using react-jss.

you mean how to setup it?

or how to install it through npm

Since I don't have access to jss I can't call jss.use, right?

haha of course you have an access ... never thought its an issue do udnerstand .. react-jss is just a convenience function for jss, its using jss ... you can just require('jss') and do everything ...
Do you think its a common missunderstanding and worth noting in the documentation?

Now it's clear, thanks!
Maybe a little paragraph in the readme could help :)

looks great, thanks, added a note to react-jss

Also I am going to add css export via jss-cli so that I can fill all your checkboxes )))

Amazing :)

Amazing!


feat: Create development environment post

Added more configuration while I was writing the blog post, going to merge the configuration changes and continue working on the blog post in a new PR


Rename meme_cog.py to meme.py

Description

Renamed meme.py in cogs and respective changes made in main.py
Related Issue:
closes # (issue)
Type of change

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

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have read the contributing guidelines
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (if applicable)
[ ] My changes generate no new warnings

https://github.com/Vyvy-vi/TearDrops/blob/5a11525abbad37de9dda9f31fc54a4c4682b5656/bot/main.py#L30-L43
- 'cogs.meme_cog'
+ 'cogs.meme'

Thanks for opening this PR-!
Could you also make changes here?


adding feature profiler code and test

camel_case all the things (filename, method names, params, variables)
While the variable name df is used all over data science, I'd suggest dataframe since it is more readable and obvious to new users.
change the flag params to something more readable like display_plot or just plot
Nice on the exceptions, but let's go one step further and implement our own error class
minor dedupe:

if dateSpread.days < 90:
        end_date = dateSpread.days
    else:
        end_date = 91

    dateRange = [1 / 24, 2 / 24, 4 / 24, 8 / 24, 12 / 24] + list(range(1, end_date))

Thanks Taylor - I'll get these in soon.


bn_div

Any chance for an actual bn_div computation function?
I'm using the library for non cryptographic purposes and need this function.

Div is far too expensive to compute on chain for values greater than the word size. In all cases it would be better for you to compute beforehand.
Could you show me how you want to use it?

Closing, please re-open if you want guidance on usage of the verify function.


Test step sub-field ?

Hello, loving using the Testmo Reporter for Playwright, just wanted to know how it's possible to add to the report test subfields ?

        This is the description.

        And the expected results.

<test-step status="failed">
  <test-step-subfield name="Step">
    This is the description.
  </test-step-subfield>
  <test-step-subfield name="Expected">
    And the expected results.
  </test-step-subfield>
</test-step>

If not possible, can this be a new feature request please ?

Hello @rafael5g!
Thanks for logging this issue.
I assume you're referring to the following? https://docs.testmo.com/docs/automation/advanced/html-reference#example-test-steps

This is implemented differently in this package.
To enable this functionality, change the config of the reporter to include test steps like so:
...
reporter: [
    [
      'playwright-testmo-reporter',
      {
        embedTestSteps: true, // Optional: Embed test steps in the XML file. Defaults to true.
      }
    ]
]
...

Does this answer your question?
Kind regards,

Hello @jonasclaes , thanks for the quick reply.
Sorry if I wasn't clear, I have this option already on my playwright_config file :
reporter: [        ["line"],     [       "playwright-testmo-reporter",       {         outputFile: "testmo/chromium/testmo.xml", // Optional: Output file path. Defaults to 'testmo.xml'.         embedTestSteps: true, // Optional: Embed test steps in the XML file. Defaults to true.         //testStepCategories: ["hook","expect","pw:api","test.step"], // Optional: Test step categories to include in the XML file. Defaults to ["hook","expect","pw:api","test.step"]. Possible options are "hook", "expect", "pw:api", "test.step".         testStepCategories: ["test.step"], // Optional: Test step categories to include in the XML file. Defaults to ["hook","expect","pw:api","test.step"]. Possible options are "hook", "expect", "pw:api", "test.step".         testTitleDepth: 2, // Optional: Test case title depth to report in the XML file. Defaults to 1. Increase this to 2 include suite name. Increase this even further to include the path.       },     ],      ],
I wanted to add a subfield to my test step just like this example :

I tried to add a dubstep like this and didn't work:
await test.step("First step", async () => { await test.step("Sub step with Expected condition", async () => { }); });
Maybe I'm doing something wrong, but I couldn't create a substep to add an expected condition for example.

Hello @rafael5g,
I see what you're trying to do. At this point in time, steps in steps are not supported by this reporter.
I'll turn this issue into a feature request.
Timing wise, is this a blocker for you at the moment, or rather a nice to have?
Kind regards,

Hello @jonasclaes ,
Sorry for my late reply.
Definitely not a blocker but a very nice feature to have as in our project we usually add a lot of information to each step on manual tests, and we wanted to have the same using sub-steps when automating them.
Thanks for all the help and support!

Hi @rafael5g,
Thanks for informing me! I'll get started on this.
Soon, I'll release a new beta version. Would you like to try this out then?
Kind regards

Yes sure, let me know please when I can try :)
Best regards.

Hello @rafael5g,
I've added these changes. Can you try out this new build?
https://www.npmjs.com/package/playwright-testmo-reporter/v/1.8.5-add-substepping.0
You can install it by running:
npm i<EMAIL_ADDRESS>or
npm i playwright-testmo-reporter@add-substepping
Make sure to change the includeTestSubFields value to true in order to enable this new functionality.

Steps are automatically correctly reported.
Expects are also supported, but if you want meaningful names in your reporting, you should add a custom text to each expect. For example:
await expect(locator).toBeVisible() // This will report as "expect.toBeVisible"
await expect(locator, "Expect heading Projects to be visible").toBeVisible() // This will report as "Expect heading Projects to be visible"

Let me know what you think!
Kind regards

Hello @jonasclaes ,
Exactly what I was looking for, and the implementation on all the categories was an awesome idea.
Tested a bit and exported to Testmo, looks good.
Thanks once again for the help and support.
Best regards.

Hey @rafael5g,
That's great to hear!
It's now officially released as v1.9.0.
Please update your package.json accordingly.
Kind regards


s3 to ssh

How would I go about using ssh for the destination?

Please see the docs under the "usage" section:

SOURCE and DESTINATION can either be a local path to a directory or specific file, a custom S3 URI to a directory or specific key in the format of s3://bucketname/path/or/key, or a S3 to S3 transfer using two S3 URIs.

At this time you can only transfer files locally <-> S3 and S3 <-> S3. Remote ssh transfer is something that will probably not be supported.

Unfortunately with Akamai that is not an option for me.


introduce pnpm, fix build tooling

[x] migrate lockfile and workspaces config
[x] github actions
[x] tsc --build builds for all workspaces
[x] vite build
[x] webpack build
[x] eslint errors
[x] eslint warnings
[x] jest resolution bugs (skipped fetch mock for now)
[x] cypress?
[x] changesets
[ ] typedoc

I almost forgot to look at #232, which has plenty of the missing pieces to borrow from, and give credit to the author as well! For example, they have taken care of github actions/etc already

Just leaving a note here that dependabot still does not support pnpm: https://github.com/dependabot/dependabot-core/issues/1736
(They actually started looking into it just yesterday, but who knows how long that might take 😅 )

@thomasheyenbrock @renovatebot is much better than @dependabot and he support pnpm

indeed - we currently only use dependabot for automatic security patch PRs, which pre-dated the new security tab feature on github which now allows you to create similar security patch PRs and such. otherwise, we tend to follow the graphql-js approach of performing dependency and dev dependency updates manually, in groupings, this was one of the many things I learned from Ivan
renovatebot is more ideal for any kind of automated dependency management like @B2o5T says

@B2o5T if i recall, this is missing a bunch of my local commits that adds an entirely new build tool (tsup) and so much more, @B2o5T let's schedule a session to go over this later in the week? anyone else who wants to join is invited

@dotansimha and @B2o5T - i have pushed an additional commit that i had left on my local git stash from february, the very helpful review comments are still relevant. tonight after work I will clean it up and I'm available for a chat or async if you have any questions!

todo:

[ ] - cleanup errant find-replace changes
[ ] - rebase
[ ] - figure out tsconfig jsx recipe that prevents the need for react import
[ ] -

figure out tsconfig jsx recipe that prevents the need for react import

@acao I think @thomasheyenbrock found some issues with it https://github.com/graphql/graphiql/pull/3017

@B2o5T also, fwiw, feel free to push to this branch if you don't want to wait for me haha

@B2o5T also, fwiw, feel free to push to this branch if you don't want to wait for me haha

@acao these files not present in your branch, but exists in main branch, you should do a rebase :)

@B2o5T indeed, i will try to get to it after work, maybe around 19:00 UTC. i just wanted to push what i had during lunch break real quick for reference


Unify names of supported chains

Component
Forge
Describe the feature you would like
Currently we're using
https://github.com/foundry-rs/foundry/blob/ed4eb2de59ced6c8fc2ce84a101ec9d408b7a552/cli/src/opts/mod.rs#L40-L57
in several places, ideally, this should be a single function that's then set as argument in the clap attribute, if possible
Additional context
No response

Any reason we didn't use #[derive(ArgEnum)] (see here)? :thinking:

lol TIL
let's try that.
this would be an easy pick up if anyone's looking for an easy issue

I'd like to take this one today, will add PR soon


Remove the Tile, TileList, and TileSet components

We no longer use these within the docs, and they run the risk of making docs pages less textual (see https://github.com/gravitational/docs/issues/93). We also don't yet have a way to lint href attributes within Tiles (https://github.com/gravitational/docs/issues/100).

Note that we still use the TileList and TileSet components in v11 of the docs, so we can implement this after v14.

This PR removes the Tile component: https://github.com/gravitational/docs/pull/369

Closing as complete


Tags Validation

Hi guys!
is there a way to validate the tag that the user wants to add?
Thanks,

Hi @pola88
Yup, you can surely validate the tag -
handleAddition: function(tag) {
        var tags = this.state.tags;

        // sample validation
        if (tag.length <= 2) {
            return; // do nothing
        }

        tags.push({
            id: tags.length + 1,
            text: tag
        });
        this.setState({tags: tags});
},

Hi @pola88,
Since I haven't heard back I'm assuming this is working for you now. I'm closing this issue for now - if you face any issues feel free to re-open this.
Thanks!


apidocs: Add documentation of deactivate-my-account endpoint.

Fixes #16163
Testing plan:

Tested on localhost
Ran ./tools/test-api
Ran ./tools/test-backend

GIFs or screenshots:

@Hypro999 @orientor does either of you have time to review this?

@MSurfer20 thanks for working on this! deactivate-my-account seems a little bit out of the naming convention. For the rest of the endpoints of this type they are usually named as reactivate_own_user, etc. Hence I think you should change the operation ID of this endpoint in zulip.yaml and then change the filename accordingly. Other than that everything else LGTM.

Thanks for the review @orientor! I have made the required changes.

LGTM. @timabbott I think this is ready for a review.

@timabbott A ping regarding this PR, in case you lost track of this.

Thanks for all your work on this @MSurfer20!  This is pretty close, and I made the following minor manual changes in preparation for merging this:
diff --git a/templates/zerver/help/include/rest-endpoints.md b/templates/zerver/help/include/rest-endpoints.md
index 6ddb7a4732..d1b9f2d5ce 100644
--- a/templates/zerver/help/include/rest-endpoints.md
+++ b/templates/zerver/help/include/rest-endpoints.md
@@ -34,13 +34,13 @@

 * [Get all users](/api/get-users)
 * [Get own user](/api/get-own-user)
-* [Deactivate own user](/api/deactivate-own-user)
 * [Get a user](/api/get-user)
 * [Get a user by email](/api/get-user-by-email)
 * [Update a user](/api/update-user)
 * [Create a user](/api/create-user)
 * [Deactivate a user](/api/deactivate-user)
 * [Reactivate a user](/api/reactivate-user)
+* [Deactivate own user](/api/deactivate-own-user)
 * [Set "typing" status](/api/set-typing-status)
 * [Get user presence](/api/get-user-presence)
 * [Get attachments](/api/get-attachments)
diff --git a/zerver/openapi/python_examples.py b/zerver/openapi/python_examples.py
index 6b25f5c9db..9d241e5347 100644
--- a/zerver/openapi/python_examples.py
+++ b/zerver/openapi/python_examples.py
@@ -394,16 +394,17 @@ def get_profile(client: Client) -> None:

 @openapi_test_function("/users/me:delete")
 def deactivate_own_user(client: Client, owner_client: Client) -> None:
-
     user_id = client.get_profile()["user_id"]
+
     # {code_example|start}
-    # Deactivate the profile of the user/bot that requests this endpoint,
-    # which is `client` in this case:
+    # Deactivate the account of the current user/bot that requests.
     result = client.call_endpoint(
         url="/users/me",
         method="DELETE",
     )
     # {code_example|end}
+
+    # Reactivate the account to avoid polluting other tests.
     owner_client.reactivate_user_by_id(user_id)
     validate_against_openapi_schema(result, "/users/me", "delete", "200")

diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index e449f14874..db526abaf7 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -4555,7 +4555,12 @@ paths:
       operationId: deactivate_own_user
       tags: ["users"]
       description: |
-        Delete the requesting user from the realm.
+        Deactivates the user's account.  See also the administrative endpoint for
+        [deactivating another user](/api/deactivate-user).
+
+        `DELETE {{ api_url }}/v1/users/me`
+
+        This endpoint is primarily useful to Zulip clients providing a user settings UI.
       responses:
         "200":
           description: Success.

However, I have one code cleanup thing I need you to fix before it's ready (will comment inline).

I ended up deciding to merge this after posting https://github.com/zulip/zulip/pull/17014/commits/6e6e820f001845d0672eba0f92686491a632540f#r601173277, after some reflection on how much work it'll be to do something that's significantly cleaner.

@timabbott Thanks for the merge! Opened #17795 for the issue.


feat: Dynamic declaration of API Endpoints

Dynamically declare API endpoints based on the folder convention in place - modules/{endpoint}/api/{routes}
Link to issue this resolves

Screenshot of changes(if relevant)
Tests ran and everything still works.

Now this was just sexy to look at. Thank you @edwardsmoses for this top level clean up 👍 Happy Hacktoberfest


pip-compile --output-file=... requirements.in: This creates too much output

What's the problem this feature will solve?
I want to create requirements.txt.
I run pip-compile --output-file=requirements.txt requirements.in for the first time in my life and there is too much output.
This is confusing, because the output looks like a requirements file. Thus I think "the --output-file argument was ignored".
Is there a need for so much output?
Describe the solution you'd like
I like to run the command and get one line of output. Output like

requirements.txt was created

Alternative Solutions
An alternative solution would be to create no output.
Additional context
First-time user experience is important.
If you agree, then I can write a pull-request for this change.
But first I would like to know if you want the change.

You might find the -q argument helpful.


python311Packages.yalexs-ble: 2.2.3 -> 2.3.0

Diff: https://github.com/bdraco/yalexs-ble/compare/refs/tags/v2.2.3...v2.3.0
Changelog: https://github.com/bdraco/yalexs-ble/blob/v2.3.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] 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
[ ] 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 254340 run on x86_64-linux 1

6 packages built:

home-assistant-component-tests.august
home-assistant-component-tests.yalexs_ble
python310Packages.yalexs-ble
python310Packages.yalexs-ble.dist
python311Packages.yalexs-ble
python311Packages.yalexs-ble.dist


Have the problem to make extension

I'm a newbie in linux and have the problem to make the extension on Debian
Could you provide a list of all needed dependencies and full cmake command, please
At now I have installed

git
make
g++
build-essential postgresql-server-dev-14

but still have some errors. the last :
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Releas PostgreSQL_TYPE_INCLUDE_DIR=./usr/include/postgresql/
CMake Error: The source directory "/pg_ulid/PostgreSQL_TYPE_INCLUDE_DIR=./usr/include/postgresql" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

I don't what to do with it

Hi. I'll see tomorrow.


Wireframes: ACTI-014

Part of BlueBrain/nexus#1247

As a user
I can click on a work artifact
In order to access to work artifact page

Nothing to mockup, as all the activity cards should be clickable.


Features/417 WithAuthorization methods

I think we should redesign this method.
For ex:
UseCredentials()
Also add some  options for ntlm etc..

I think we should redesign this method.
For ex:
UseCredentials()
Also add some  options for ntlm etc..

I didn't see anything about ICredentials for use log\pass\domain. Or NTLM or etc...

I started a separate issue https://github.com/nclient/NClient/issues/437 for this. It is quite complex and requires a design discussion


[ENH, MRG] Add intracranial electrode contact location video

Adds video to tutorial.

Looks great! https://output.circle-artifacts.com/output/job/0654ff03-9376-461b-83e7-372248c43ab0/artifacts/0/dev/auto_tutorials/clinical/10_ieeg_localize.html#sphx-glr-auto-tutorials-clinical-10-ieeg-localize-py


Implement Singly Linked List

Implement Singly Linked List
Description
I implement Singly LinkedList class in singly_linked_list.py. The Singly Linked List has head, tail, and size. So add at start and end can be achieved and retrieving in constant time. I implement delete_first, delete_all, find_first, find_all.
Related Issue
Closes: #33

Testing
python3 -m doctest -v linked_list.py and pass all tests.
Author
Enxu Han (@Racso-3141 )

I did not change the LinkedList class in linked_list.py. Do you plan to rewrite LinkedList class as the singly linke list instead in the future? Also, are the files in test_data_structures non-editable. I originally tried to change test_linked_list.py but then the  build failed.


Project name: Astropile vs MultimodalUniverse

The project name has been changed on the public facing side, but a lot of the code still relies on astropile, both as a folder but also as a package name. I think the folder doesn't really matter, but the package should probably be called MultimodalUniverse. Thoughts? @EiffL @LTMeyer ? Am I missing why we can't / shouldn't be doing this?

In conversation with @EiffL the decision was made to move the package to be called as mmu, rather than astropile.

Being addressed by #143 .


ErrStr:no kernel image is available for execution on the device

Environment Info:
I have install CUDA 10.0, and use mxnet-numpy download from offical support http://numpy.mxnet.io
Runing the following code ,then i got the error info :
x = np.ones((2, 3), ctx=npx.gpu()) x
MXNetError: [11:41:41] src/operator/contrib/./.././../common/../operator/mxnet_op.h:794: Check failed: err == cudaSuccess (48 vs. 0) : Name: mxnet_generic_kernel ErrStr:no kernel image is available for execution on the device Stack trace:   [bt] (0) /home/pedro/miniconda3/envs/d2l-numpy/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x52f66b) [0x7f023876466b]   [bt] (1) /home/pedro/miniconda3/envs/d2l-numpy/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x32ca2fc) [0x7f023b4ff2fc]   [bt] (2) /home/pedro/miniconda3/envs/d2l-numpy/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x3bb1d64) [0x7f023bde6d64]   [bt] (3) /home/pedro/miniconda3/envs/d2l-numpy/lib/python3.6/site-packages/mxnet/libmxnet.so(mxnet::imperative::PushFCompute(std::function<void (nnvm::NodeAttrs const&, mxnet::OpContext const&, std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob> > const&, std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType> > const&, std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob> > const&)> const&, nnvm::Op const*, nnvm::NodeAttrs const&, mxnet::Context const&, std::vector<mxnet::engine::Var*, std::allocator<mxnet::engine::Var*> > const&, std::vector<mxnet::engine::Var*, std::allocator<mxnet::engine::Var*> > const&, std::vector<mxnet::Resource, std::allocator<mxnet::Resource> > const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, std::vector<unsigned int, std::allocator<unsigned int> > const&, std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType> > const&)::{lambda(mxnet::RunContext)#1}::operator()(mxnet::RunContext) const+0x307) [0x7f023aa1f067]   [bt] (4) /home/pedro/miniconda3/envs/d2l-numpy/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x2735e14) [0x7f023a96ae14]   [bt] (5) /home/pedro/miniconda3/envs/d2l-numpy/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x27437a9) [0x7f023a9787a9]   [bt] (6) /home/pedro/miniconda3/envs/d2l-numpy/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x2746c10) [0x7f023a97bc10]   [bt] (7) /home/pedro/miniconda3/envs/d2l-numpy/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x2746ea6) [0x7f023a97bea6]   [bt] (8) /home/pedro/miniconda3/envs/d2l-numpy/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x2741fb4) [0x7f023a976fb4]

What is the GPU you are using?

I am working on my laptop using GeForce GT 750M

Any suggestion?

Hmmm, that is strange - GT 750M has compute capability 3.0, which is in the list of known CUDA_ARCHs in the Makefile:
https://github.com/apache/incubator-mxnet/blob/master/Makefile#L434
Maybe the pip package does not include all of them?
@pedro-abundio-wang Could you try building MXNet from source?

OK I can try this.
One more question? Where can i find official reference to rebuild mxnet source code and use numpy interface?

Hmmm, that is strange - GT 750M has compute capability 3.0, which is in the list of known CUDA_ARCHs in the Makefile:
https://github.com/apache/incubator-mxnet/blob/master/Makefile#L434
Maybe the pip package does not include all of them?
@pedro-abundio-wang Could you try building MXNet from source?

Is this a bug?

@pedro-abundio-wang Seems like you're still using the pip package.
Are you using windows or linux?

@pedro-abundio-wang do you still have this issue using nightly build? if not can we close?

i am facing this issue on colab when I was using autogluon
!pip install -U pip
!pip install -U setuptools
!pip install -U wheel
!pip install -U "mxnet_cu110<2.0.0"

The model is trained on kaggle and inference is performed on colab, and I am getting the error


how do I get date and time in Epoch??

I'm only being able to get date and time in a string format eg: Tue Dec 28 16:55:00 GMT+05:30 2021  in onDateSelected method.
Can anyone tell me how to get date and time in epoch with this library!
Thanks in advance!

long dateInEpoch = date.getTime()


[BUG] MemoryError: std::bad_alloc: - with workflow.fit on 1 parquet file from Criteo dataset

Describe the bug
I am trying to run Workflow.fit on 1 parquet file from Criteo Dataset (day_1.parquet).
Here is the transformation:
  # Columns definition
  cont_names = ["I" + str(x) for x in range(1, 14)]
  cat_names = ["C" + str(x) for x in range(1, 27)]

  # Transformation pipeline
  num_buckets = 10000000
  categorify_op = Categorify(max_size=num_buckets)
  cat_features = cat_names >> categorify_op
  cont_features = cont_names >> FillMissing() >> Clip(min_value=0) >> Normalize()
  features = cat_features + cont_features + ['label']

This code works for nvtabular version 0.5.3, but when I upgraded to version 0.7.0 I started receiving the following error:
MemoryError: std::bad_alloc: CUDA error at: /opt/conda/include/rmm/mr/device/cuda_memory_resource.hpp:69: cudaErrorMemoryAllocation out of memory
I am using 1 x T4.
Steps/Code to reproduce bug

Create a workflow with following transformations:

  # Columns definition
  cont_names = ["I" + str(x) for x in range(1, 14)]
  cat_names = ["C" + str(x) for x in range(1, 27)]

  # Transformation pipeline
  num_buckets = 10000000
  categorify_op = Categorify(max_size=num_buckets)
  cat_features = cat_names >> categorify_op
  cont_features = cont_names >> FillMissing() >> Clip(min_value=0) >> Normalize()
  features = cat_features + cont_features + ['label']

Create a cluster

  device_size = device_mem_size()
  device_limit = int(device_limit_frac * device_size)
  device_pool_size = int(device_pool_frac * device_size)
  rmm_pool_size = (device_pool_size // 256) * 256

  cluster = LocalCUDACluster(
      device_memory_limit=device_limit,
      rmm_pool_size=rmm_pool_size
  )

run workflow.fit on 1 parquet file from Criteo dataset.

Expected behavior
Workflow.fit must generate the statistics and run without any problem on a T4.
Environment details (please complete the following information):
Google Cloud Vertex AI
1 x T4
conda install -c nvidia -c rapidsai -c numba -c conda-forge pynvml dask-cuda nvtabular=0.7.0 cudatoolkit=11.0
Looking at the stack trace, I seems to be a problem in the read_parquet from cudf.
I attached a print with some logs.

Sorry for all the questions here, still getting up to speed.  Is this data stored is on disk or from gcsfs/other remote sore ?
Rick recently made some for nvtabular in 0.7 https://github.com/NVIDIA-Merlin/NVTabular/pull/1119 which should result in better performance.   Would it be possible to test with device-limit-frac 0.75  and device-pool-frac 0.85 to see if things pass?  I'm asking folks to see if any other changes resulted in higher memory usage in read_parquet

@rjzamora @quasiben
I tried with 4 x T4 and only 1 criteo file.
Same error:
---------------------------------------------------------------------------
MemoryError                               Traceback (most recent call last)
/tmp/ipykernel_5336/4004743745.py in <module>
----> 1 analyze_dataset_op(datasets, workflow_path)

/tmp/ipykernel_5336/1001680271.py in analyze_dataset_op(datasets, workflow_path, split_name, device_limit_frac, device_pool_frac, part_mem_frac)
     31
     32     logging.info('Starting workflow fitting')
---> 33     criteo_workflow = etl.analyze_dataset(criteo_workflow, dataset)
     34     logging.info('Finished generating statistics for dataset.')
     35

/usr/local/lib/python3.8/dist-packages/preprocessing/etl.py in analyze_dataset(workflow, dataset)
    169 ) -> nvt.Workflow:
    170     '''Calculate statistics for a given workflow'''
--> 171     workflow.fit(dataset)
    172     return workflow
    173

/nvtabular/nvtabular/workflow/workflow.py in fit(self, dataset)
    227                 results = [r.result() for r in self.client.compute(stats)]
    228             else:
--> 229                 results = dask.compute(stats, scheduler="synchronous")[0]
    230
    231             for computed_stats, op in zip(results, ops):

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/base.py in compute(*args, **kwargs)
    566         postcomputes.append(x.__dask_postcompute__())
    567
--> 568     results = schedule(dsk, keys, **kwargs)
    569     return repack([f(r, *a) for r, (f, a) in zip(results, postcomputes)])
    570

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/local.py in get_sync(dsk, keys, **kwargs)
    558     """
    559     kwargs.pop("num_workers", None)  # if num_workers present, remove it
--> 560     return get_async(
    561         synchronous_executor.submit,
    562         synchronous_executor._max_workers,
~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/local.py in get_async(submit, num_workers, dsk, result, cache, get_id, rerun_exceptions_locally, pack_exception, raise_exception, callbacks, dumps, loads, chunksize, **kwargs)
    501             while state["waiting"] or state["ready"] or state["running"]:
    502                 fire_tasks(chunksize)
--> 503                 for key, res_info, failed in queue_get(queue).result():
    504                     if failed:
    505                         exc, tb = loads(res_info)

/usr/lib/python3.8/concurrent/futures/_base.py in result(self, timeout)
    435                     raise CancelledError()
    436                 elif self._state == FINISHED:
--> 437                     return self.__get_result()
    438
    439                 self._condition.wait(timeout)

/usr/lib/python3.8/concurrent/futures/_base.py in __get_result(self)
    387         if self._exception:
    388             try:
--> 389                 raise self._exception
    390             finally:
    391                 # Break a reference cycle with the exception in self._exception

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/local.py in submit(self, fn, *args, **kwargs)
    543         fut = Future()
    544         try:
--> 545             fut.set_result(fn(*args, **kwargs))
    546         except BaseException as e:
    547             fut.set_exception(e)

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/local.py in batch_execute_tasks(it)
    235     Batch computing of multiple tasks with `execute_task`
    236     """
--> 237     return [execute_task(*a) for a in it]
    238
    239

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/local.py in <listcomp>(.0)
    235     Batch computing of multiple tasks with `execute_task`
    236     """
--> 237     return [execute_task(*a) for a in it]
    238
    239

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/local.py in execute_task(key, task_info, dumps, loads, get_id, pack_exception)
    226         failed = False
    227     except BaseException as e:
--> 228         result = pack_exception(e, dumps)
    229         failed = True
    230     return key, result, failed

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/local.py in execute_task(key, task_info, dumps, loads, get_id, pack_exception)
    221     try:
    222         task, data = loads(task_info)
--> 223         result = _execute_task(task, data)
    224         id = get_id()
    225         result = dumps((result, id))

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/core.py in _execute_task(arg, cache, dsk)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/optimization.py in __call__(self, *args)
    967         if not len(args) == len(self.inkeys):
    968             raise ValueError("Expected %d args, got %d" % (len(self.inkeys), len(args)))
--> 969         return core.get(self.dsk, self.outkey, dict(zip(self.inkeys, args)))
    970
    971     def __reduce__(self):

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/core.py in get(dsk, out, cache)
    149     for key in toposort(dsk):
    150         task = dsk[key]
--> 151         result = _execute_task(task, cache)
    152         cache[key] = result
    153     result = _execute_task(out, cache)

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/core.py in _execute_task(arg, cache, dsk)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/dataframe/io/parquet/core.py in __call__(self, part)
     85             part = [part]
     86
---> 87         return read_parquet_part(
     88             self.fs,
     89             self.engine,

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/dataframe/io/parquet/core.py in read_parquet_part(fs, engine, meta, part, columns, index, kwargs)
    409             # Part kwargs expected
    410             func = engine.read_partition
--> 411             dfs = [
    412                 func(fs, rg, columns.copy(), index, **toolz.merge(kwargs, kw))
    413                 for (rg, kw) in part

~/.local/lib/python3.8/site-packages/dask-2021.7.1-py3.8.egg/dask/dataframe/io/parquet/core.py in <listcomp>(.0)
    410             func = engine.read_partition
    411             dfs = [
--> 412                 func(fs, rg, columns.copy(), index, **toolz.merge(kwargs, kw))
    413                 for (rg, kw) in part
    414             ]

/nvtabular/nvtabular/io/parquet.py in read_partition(cls, fs, pieces, *args, **kwargs)
     96                 # This version of cudf does not include optimized
     97                 # fsspec usage for remote storage - use custom code path
---> 98                 return _optimized_read_partition_remote(fs, pieces, *args, **kwargs)
     99             # Newer versions of cudf are already optimized for s3/gcs
    100             return CudfEngine.read_partition(fs, pieces, *args, **kwargs)

/nvtabular/nvtabular/io/fsspec_utils.py in _optimized_read_partition_remote(fs, pieces, columns, index, categories, partitions, **kwargs)
     68
     69     # Call optimized read utility
---> 70     df = _optimized_read_remote(path, row_group, columns, fs, **kwargs)
     71
     72     #

/nvtabular/nvtabular/io/fsspec_utils.py in _optimized_read_remote(path, row_groups, columns, fs, **kwargs)
    124     # Call cudf.read_parquet on the dummy buffer
    125     strings_to_cats = kwargs.get("strings_to_categorical", False)
--> 126     df = cudf.read_parquet(
    127         dummy_buffer,
    128         engine="cudf",

/usr/local/lib/python3.8/dist-packages/cudf/io/parquet.py in read_parquet(filepath_or_buffer, engine, columns, filters, row_groups, skiprows, num_rows, strings_to_categorical, use_pandas_metadata, *args, **kwargs)
    241
    242     if engine == "cudf":
--> 243         return libparquet.read_parquet(
    244             filepaths_or_buffers,
    245             columns=columns,

cudf/_lib/parquet.pyx in cudf._lib.parquet.read_parquet()

cudf/_lib/parquet.pyx in cudf._lib.parquet.read_parquet()

MemoryError: std::bad_alloc: CUDA error at: /usr/include/rmm/mr/device/cuda_memory_resource.hpp:69: cudaErrorMemoryAllocation out of memory

@devavret follows the profile with nsys.
This time I executed with a VM with 1 x A100 GPU, but I got the same error.
profile.out.qdrep.zip

@rjzamora Thank you for the clarification.
In this case, should I pass the client to the nvt.Dataset as well?

In this case, should I pass the client to the nvt.Dataset as well?

No - This is probably not necessary.
For now, NVTabular will not use the distributed Dask scheduler in fit/transform unless you define your Workflow with the  client= argument.  You do not need to pass the client to the Dataset API, unless you are planning to do operations on the Dataset (or write it to disk) before transforming it with the Workflow.  Note that Workflow.transform will output a Dataset object with the same client object that was used to create the workflow. So the most important place to define the client is usually Workflow.
Overall, I think the client behavior is unnecessarily confusing, and I'd like to simplify it before the next release (shouldn't be hard).

Perfect! 100% clear.
I will close this case.
Thanks again.


Render pass optimization

Added global VkRenderPass cache and removed VkRenderPass objects from the pipeline. Also added separate dirty flag specifically for render pass to reduce the amount of separate render passes between pipeline switches.

Closed due to the switch to VK_KHR_dynamic_rendering extension.


No batch size? No normalization?

I see. The normalization is located in the forward function.

Hello, may I ask if you have now solved the problem that the training set and the validation set in the data set METR-LA become 0 after a few epoches? Can you run out the effect in the paper?

Hello,
Unfortunately, I haven't resolved the issue with the training and validation sets in the METR-LA dataset becoming zero after a few epochs. I've been occupied with other projects recently. However, if I resume work on this, I will keep you updated on any progress.
Best regards,


All extensions and cookies are lost when switching between portabelized and installation versions of Supermium

On my Windows 10 LTSB 2016 (x64), I portabelized Supermium 126.0.6478.256 R5 (x86) using the following BAT file:
@echo off
start "" chrome.exe --disable-machine-id --disable-encryption --enable-ftp --disable-ech --user-data-dir="%~dp0\User Data"

But the problem is that when switching between portabelized version of Supermium 126.0.6478.256 R5 (x86) and installation version of Supermium 126.0.6478.256 R5 (x64) all extensions and cookies are lost in the latter. As a result, I have to reinstall extensions and re-login to websites.

@win32ss, does we solve issue with --disable-machine-id --disable-encryption? #770 is still actual and planed for 2024-09 :D
i assume that his profile was "plain" but then loaded as encrypted (Egor did not apply --disable-machine-id --disable-encryption or --revert-from-portable to installed Supermium). This is most likely case cuz non-local extensions should have stayed if proper arguments was supplied


Added lazyLoad option 'anticipated' to preload {n} images

Description
So that the user experience is better, the images should be loaded on demand, but anticipated, meaning, that the slider will always be one step ahead of the user, by pre-loading the 1 next and 1 previous image so that the loading is seamless, without ever making the user aware that the image was loading. On the other hand, this represents an improvement over loading all the images progressively, as the amount of data to load might not be worth causing also a poor experience, specially on mobile devices with slow connections.
Demo
http://jsfiddle.net/zeL1kmo3/12/
Process
There are a few edge cases in which lazyLoad === 'anticipated' might not work as expected, they are rooted on the nature of the current implementation, some bugs and limitations:

If slidesToScroll > 1, going from index 0 to -2 and index 8 to 10 only contains one cloned item, so scrolling 2 shows an empty image during the animation This can be see in line https://github.com/kenwheeler/slick/blob/master/slick/slick.js#L2034, as slidesToShow is used where slidesToScroll should be the amount of clones to set-up.
If slidesToScroll > 1 and the number of images is an odd number. Similar problem to 1.
When fade == true, the rangeEnd seems to be +1 count too much, this is either related to another bug or an implementation feature I am not aware of.

Credits to @AlaaSarhan for his collaboration bringing this feature to life.

Thanks for this - Very useful.
I'm using it on a site in development and it seems to be working well so far. (not using slidesToScroll > 1 or fade.)

@kenwheeler why is that not present in the CDN-ed version of slick.js - Version: 1.6.0
e.g. https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.js

@rafalf I have no rights to merge this PR.

@Rendez Thanks! we added these bits and pieces to 1.6.0 and stopped using cdn but cloudfront instead and working like a charm.

Please merge this as soon as possible!

thanks @Rendez

Can this feature be added to the documentation?


Allow extra parameters to be sent with the query

This should also get rid of all deprecations and clean up the code a bit. It breaks backwards compatibility and is therefore only for a new major version of the bundle.

sorry for the two force pushes, I accidentally rebased onto an old commit

Thanks for all this @DubbleClick . I only had a quick look but it looks great.
I'll take a closer look, hopefully in the next few days but within the next week at the latest.
There were a couple of minor PRs merged since the last release so I'll tag a final v2.10.1. Then I'll hopefully merge this and I guess I should immediately tag it as v3.0.0.

Sure, when you approve of the changes I'll rebase the branch to get rid of some superfluous commits. Also please check out https://github.com/DubbleClick/select2entity-bundle/pull/1 if it's something you'd approve of as default functionality.

@DubbleClick I tested this and it looks good but I found one small issue.
In Tetranz\Select2EntityBundle\Form\Type\Select2EntityType::finishView I had to add query_parameters to the array at line 108.
The default Symfony install has strict_variables: '%kernel.debug%' in twig.yaml so in debug more Twig will crash if a variable does not exist.
Otherwise it doesn't get through to the view and then {% if query_parameters %} crashes.

Sorry, I hit the wrong button, didn't mean to close. :)
I'm ready to merge. I can add that change above but it sounded like you wanted to rebase and tidy up.

Good catch, I'll rebase now and add it in there.

Should be fixed now, you're welcome to merge. :)
Might still add a few features soon and switch to using the bundle again.

Edit: Caught some spelling mistakes in the readme. Should be better now.

Thanks. I'll tag this as 3.0.0.
Hopefully not too many people on Symfony 2 or 3 have their composer version constraints set too wide.
I want to tidyup the installation instructions a little. It's a bit outdated now talking about assetic etc. Maybe next weekend.


esp32S3 as OTBR, " OPENTHREAD: Failed to get LL address, error: Invalid If index" (IDFGH-14237)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
TAG: 5.3.2
Espressif SoC revision.
Chip rev:  v0.1
Operating System used.
Windows
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
None
Development Kit.
esp32s3 chip
Power Supply used.
USB
What is the expected behavior?
i do not understand openthread, it is my fist run this example. after 10minutes, nothing happened.
What is the actual behavior?
i want it run as "https://docs.espressif.com/projects/esp-thread-br/en/latest/codelab/index.html"
Steps to reproduce.
only idf5.3.2 otbr example on esp32S3 and ncp example on esp32H2.
Debug Logs.
factoryreset

I (1017808) wifi:state: run -> init (0x0)
I (1017808) wifi:pm stop, total sleep time: 975447964 us /<PHONE_NUMBER> us

I (1017808) wifi:<ba-del>idx:0, tid:0
I (1017808) wifi:new:<8,0>, old:<8,1>, ap:<255,255>, sta:<8,1>, prof:1, snd_ch_cfg:0x0
 [0;32mI (1017828) example_connect: Wi-Fi disconnected 8, trying to reconnect... [0m
I (1017868) wifi:flush txq
I (1017868) wifi:stop sw txq
I (1017868) wifi:lmac stop hw txq
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40375c30
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2810,len:0x1870
load:0x403c8700,len:0x4
load:0x403c8704,len:0xce8
load:0x403cb700,len:0x2ed8
entry 0x403c8918
 [0;32mI (31) boot: ESP-IDF v5.3.2 2nd stage bootloader [0m
 [0;32mI (31) boot: compile time Dec 15 2024 13:41:06 [0m
 [0;32mI (31) boot: Multicore bootloader [0m
 [0;32mI (34) boot: chip revision: v0.1 [0m
 [0;32mI (38) boot: efuse block revision: v1.2 [0m
 [0;32mI (43) boot.esp32s3: Boot SPI Speed : 80MHz [0m
 [0;32mI (47) boot.esp32s3: SPI Mode       : DIO [0m
 [0;32mI (52) boot.esp32s3: SPI Flash Size : 8MB [0m
 [0;32mI (57) boot: Enabling RNG early entropy source... [0m
 [0;32mI (62) boot: Partition Table: [0m
 [0;32mI (66) boot: ## Label            Usage          Type ST Offset   Length [0m
 [0;32mI (73) boot:  0 nvs              WiFi data        01 02 00009000 00006000 [0m
 [0;32mI (81) boot:  1 phy_init         RF data          01 01 0000f000 00001000 [0m
 [0;32mI (88) boot:  2 factory          factory app      00 00 00010000 001c2000 [0m
 [0;32mI (96) boot: End of partition table [0m
 [0;32mI (100) esp_image: segment 0: paddr=00010020 vaddr=3c120020 size=496dch (300764) map [0m
 [0;32mI (161) esp_image: segment 1: paddr=00059704 vaddr=3fc9ba00 size=050a4h ( 20644) load [0m
 [0;32mI (166) esp_image: segment 2: paddr=0005e7b0 vaddr=40374000 size=01868h (  6248) load [0m
 [0;32mI (168) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=1191d0h (1151440) map [0m
 [0;32mI (379) esp_image: segment 4: paddr=001791f8 vaddr=40375868 size=16170h ( 90480) load [0m
 [0;32mI (408) boot: Loaded app from partition at offset 0x10000 [0m
 [0;32mI (408) boot: Disabling RNG early entropy source... [0m
 [0;32mI (420) cpu_start: Multicore app [0m
 [0;32mI (430) cpu_start: Pro cpu start user code [0m
 [0;32mI (430) cpu_start: cpu freq: 160000000 Hz [0m
 [0;32mI (430) app_init: Application information: [0m
 [0;32mI (433) app_init: Project name:     otbr [0m
 [0;32mI (438) app_init: App version:      78b930f-dirty [0m
 [0;32mI (443) app_init: Compile time:     Dec 15 2024 13:38:28 [0m
 [0;32mI (449) app_init: ELF file SHA256:  93dc03328... [0m
 [0;32mI (454) app_init: ESP-IDF:          v5.3.2 [0m
 [0;32mI (459) efuse_init: Min chip rev:     v0.0 [0m
 [0;32mI (464) efuse_init: Max chip rev:     v0.99  [0m
 [0;32mI (469) efuse_init: Chip rev:         v0.1 [0m
 [0;32mI (474) heap_init: Initializing. RAM available for dynamic allocation: [0m
 [0;32mI (481) heap_init: At 3FCAEED8 len 0003A838 (234 KiB): RAM [0m
 [0;32mI (487) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM [0m
 [0;32mI (493) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM [0m
 [0;32mI (499) heap_init: At 600FE100 len 00001EE8 (7 KiB): RTCRAM [0m
 [0;32mI (507) spi_flash: detected chip: gd [0m
 [0;32mI (510) spi_flash: flash io: dio [0m
 [0;32mI (514) sleep: Configure to isolate all GPIO pins in sleep state [0m
 [0;32mI (521) sleep: Enable automatic switching of GPIO sleep configuration [0m
 [0;32mI (528) main_task: Started on CPU0 [0m
 [0;32mI (558) main_task: Calling app_main() [0m
 [0;32mI (568) uart: ESP_INTR_FLAG_IRAM flag not set while CONFIG_UART_ISR_IN_IRAM is enabled, flag updated [0m
 [0;32mI (568) uart: ESP_INTR_FLAG_IRAM flag not set while CONFIG_UART_ISR_IN_IRAM is enabled, flag updated [0m
 [0;32mI (568) esp_ot_br: use the Wi-Fi config from NVS [0m
 [0;32mI (578) OPENTHREAD: spinel UART interface initialization completed [0m
 [0;32mI (588) pp: pp rom version: e7ae62f [0m
 [0;32mI (568) main_task: Returned from app_main() [0m
 [0;32mI(598) OPENTHREAD: [0;32mI (598) net80211: net80211 rom version: e7ae62f [0m
[I] P-SpinelDrive-: co-processor reset: RESET_POWER_ON [0m
I (618) wifi:wifi driver task: 3fcb2264, prio:23, stack:6656, core=0
 [0;31mE(618) OPENTHREAD:[C] P-SpinelDrive-: Software reset co-processor successfully [0m
I (628) wifi:wifi firmware version: b0fd6006b
I (638) wifi:wifi certification version: v7.0
I (638) wifi:config NVS flash: enabled
I (638) wifi:config nano formating: disabled
I (648) wifi:Init data frame dynamic rx buffer num: 32
I (648) wifi:Init static rx mgmt buffer num: 5
I (648) wifi:Init management short buffer num: 32
I (658) wifi:Init dynamic tx buffer num: 32
I (668) wifi:Init static tx FG buffer num: 2
I (668) wifi:Init static rx buffer size: 1600
I (678) wifi:Init static rx buffer num: 10
I (678) wifi:Init dynamic rx buffer num: 32
 [0;32mI (678) wifi_init: rx ba win: 6 [0m
 [0;32mI (678) wifi_init: accept mbox: 6 [0m
 [0;32mI (688) wifi_init: tcpip mbox: 32 [0m
 [0;32mI (688) wifi_init: udp mbox: 6 [0m
 [0;32mI(688) OPENTHREAD:[I] CslTxScheduler: Bus TX Time: 0 usec, Latency: 0 usec. Calculated CSL Frame Request Ahead: 20000 usec [0m
 [0;32mI (698) wifi_init: tcp mbox: 6 [0m
 [0;32mI (708) wifi_init: tcp tx win: 5760 [0m
 [0;32mI(718) OPENTHREAD:[I] ChildSupervsn-: Timeout: 0 -> 190 [0m
 [0;32mI (718) wifi_init: tcp rx win: 5760 [0m
 [0;32mI (728) wifi_init: tcp mss: 1440 [0m
 [0;32mI (728) OPENTHREAD: OpenThread attached to netif [0m
>  [0;32mI (728) wifi_init: WiFi IRAM OP enabled [0m
 [5n [0;32mI (748) wifi_init: WiFi RX IRAM OP enabled [0m
 [0;32mI (748) phy_init: phy_version 680,a6008b2,Jun  4 2024,16:41:10 [0m
I (788) wifi:mode : sta (f4:12:fa:43:67:ec)
I (788) wifi:enable tsf
I (788) wifi:Set ps type: 2, coexist: 0

 [0;32mI (788) ot_ext_cli: Start example_connect [0m
 [0;32mI (798) example_connect: Connecting to NNNNNNNNNNN... [0m
W (808) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2
 [0;32mI (808) example_connect: Waiting for IP(s) [0m
> I (3688) wifi:new:<8,1>, old:<1,0>, ap:<255,255>, sta:<8,1>, prof:1, snd_ch_cfg:0x0
I (3698) wifi:state: init -> auth (0xb0)
I (3698) wifi:state: auth -> assoc (0x0)
I (3708) wifi:state: assoc -> run (0x10)
I (3738) wifi:connected with NNNNNNNNNNN, aid = 8, channel 8, 40U, bssid = QQ:WW:EE:RR:TT:YY
I (3738) wifi:security: WPA2-PSK, phy: bgn, rssi: -17
I (3738) wifi:pm start, type: 2

I (3748) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (3748) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (3758) wifi:<ba-add>idx:0 (ifx:0, QQ:WW:EE:RR:TT:YY), tid:0, ssn:2, winSize:64
I (3798) wifi:AP's beacon interval = 102400 us, DTIM period = 1
 [0;32mI (5568) example_connect: Got IPv6 event: Interface "example_netif_sta" address: fe80:0000:0000:0000:AASS:DDFF:GGHH:JJKK, type: ESP_IP6_ADDR_IS_LINK_LOCAL [0m
 [0;32mI (6768) esp_netif_handlers: example_netif_sta ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS> [0m
 [0;32mI (6768) example_connect: Got IPv4 event: Interface "example_netif_sta" address: <IP_ADDRESS> [0m
 [0;32mI(6788) OPENTHREAD:[N] RoutingManager: No valid /48 BR ULA prefix found in settings, generating new one [0m
 [0;32mI(6798) OPENTHREAD:[N] RoutingManager: BR ULA prefix: fd16:7835:7d60::/48 (generated) [0m
 [0;32mI(6798) OPENTHREAD:[N] RoutingManager: Local on-link prefix: fdde:ad00:beef:cafe::/64 [0m
 [0;31mE (6828) OPENTHREAD: Failed to leave multicast group [0m
 [0;32mI (6838) OPENTHREAD: Platform UDP bound to port 49153 [0m
 [0;32mI(6848) OPENTHREAD:[N] Mle-----------: Role disabled -> detached [0m
 [0;32mI (6858) OPENTHREAD: Platform UDP bound to port 61631 [0m
 [0;32mI (6858) OT_STATE: netif up [0m
I (6868) OPENTHREAD: NAT64 ready
 [0;32mI(7338) OPENTHREAD:[N] Mle-----------: Attach attempt 1, AnyPartition reattaching with Active Dataset [0m
 [0;32mI (7568) example_connect: Got IPv6 event: Interface "example_netif_sta" address: (hidded), type: ESP_IP6_ADDR_IS_GLOBAL [0m
 [0;32mI(8188) OPENTHREAD:[N] Mle-----------: RLOC16 fffe -> dc01 [0m
 [0;32mI(8198) OPENTHREAD:[N] Mle-----------: Role detached -> child [0m
 [0;32mI (8208) OPENTHREAD: Platform UDP bound to port 49154 [0m
 [0;32mI (8228) OPENTHREAD: Platform UDP bound to port 49155 [0m
I (8248) OPENTHREAD: NAT64 ready
I (8248) OPENTHREAD: NAT64 ready
 [0;31mE (8588) OPENTHREAD: Failed to get LL address, error: Invalid If index [0m
 [0;33mW(8848) OPENTHREAD:[W] DuaManager----: Failed to perform next registration: NotFound [0m
 [0;32mI (9618) OPENTHREAD: Platform UDP bound to port 53536 [0m
I (9618) OPENTHREAD: NAT64 ready
 [0;31mE (12608) OPENTHREAD: Failed to get LL address, error: Invalid If index [0m
 [0;31mE (16628) OPENTHREAD: Failed to get LL address, error: Invalid If index [0m
 [0;31mE (17658) OPENTHREAD: Failed to get LL address, error: Invalid If index [0m
 [0;31mE (35248) OPENTHREAD: Failed to get LL address, error: Invalid If index [0m

More Information.
No response

Hi @githubworksonline ,Thanks for issuing this, I will investigate it later. For now, please use the recommanded code base shown in the docs: https://docs.espressif.com/projects/esp-thread-br/en/latest/dev-guide/build_and_run.html#set-up-the-repositories

Hi @githubworksonline ,Thanks for issuing this, I will investigate it later. For now, please use the recommanded code base shown in the docs: https://docs.espressif.com/projects/esp-thread-br/en/latest/dev-guide/build_and_run.html#set-up-the-repositories

Yeah, I just followed the recommended code base - 5.3.2 and got same error "OPENTHREAD: Failed to get LL address, error: Invalid If index"

I had the same error, also using esp32S3 as OTBR

I had the same error, also using esp32S3 as OTBR

Hi, I had the same issue. Did you can control from chip tool to end device ( ex: light, light_switch)?

Hi @giangnv1993 @GASEN1216 @Kris-Morrison @githubworksonline  Thanks for issuing this, we have fixed this issue in our internal branch and will sync to github very soon, I will let you know if the fix becomes available in release/v5.3 branch on GitHub.

@zwx1995esp could you please share what was the issue and fix?

@zwx1995esp could you please share what was the issue and fix?

Sure, it is a software issue. Our BR lib is a pre-built static binary library. Some structs used in BR lib is different between the branch v5.3.2 and the built branch master. This discrepancy leads to an ABI issue, as the data types are misaligned between the library and the code on branch v5.3.2.

@zwx1995esp any ETA on when the fix can be available? or possible to share the fix so we can apply it locally until 5.3/5.4 is updated?

Hi @gparvind @giangnv1993 @githubworksonline @GASEN1216 The fixed lib has been published, you can access the lib via the commit fde54d57185b33613f4b3f6d6aba151e31c33ba4 or the latest branch of release/v5.3


RegExp literal flag types

Search Terms
RegExp Regex literal flags as const narrowing
Suggestion
This is similar to the proposal for typing named capture groups https://github.com/microsoft/TypeScript/issues/32098
It would be useful to narrow RegExp literals based on their flags as well. This could be modeled as type parameter(s) as in that proposal, or as a type intersection, which I will use here.
const myRegExp = /hello/y; // has type RegExp & {dotAll: false, global: false, ignoreCase: false, multiline: false, sticky: true, unicode: false, flags: 'y'};

Use Cases
Regular expressions have different behavior when defined with different flags, and functions may have different behavior when they receive them, so they may want to distinguish the flags of a RegExp for overloads or allowed argument values.
Examples
In the standard library, String.prototype.match returns either the first match with its capture groups, or a list of all matches, depending on whether the argument is a global RegExp. This could be modeled as an overload:
match(str: string): RegExpMatchArray|null
match(regexp: RegExp & {global: false}): RegExpMatchArray|null
match(regexp: RegExp & {global: true}): Array<string>|null;
match(regexp: RegExp): RegExpMatchArray|null;

I recently wrote some functions which only work with sticky RegExps, so I had to put checks at the top of each function:
function match(regexp: RegExp) {
    if (!regexp.sticky) { throw new Error("Invalid argument -- RegExp must use the /y 'sticky' flag"); }
   ...
}

match(/sticky example/y); // compiles and runs fine
match(/non-sticky example/); // compiles fine, runtime error

I'd like to define the function instead as:
type StickyRegExp = RegExp & {sticky: true};
function match(regexp: StickyRegExp) {
   ...
}

match(/sticky example/y); // compiles and runs fine
match(/non-sticky example/); // compiler error

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

I've implemented the as const modifier for RegExp literals (https://github.com/webstrand/TypeScript/tree/regexp-literal-flags). This does not include support for const foo = /foo/g receiving the type RegExp & { global: true, ignoreCase: false, multiline: false, ... }. Since as const was not previously permitted on RegExp literals, this is not a breaking change.
I played around with adapting the type-freshness system to include regular expression literals, but it looks like that system was never designed to interact with non-literal types. Changing this would involve either adding regexps as a primitive type or comprehensive changes to the freshness system to allow non-literal types to have fresh types.
I would be willing to continue to work on this feature, if there's any continuing interest in it? I'll probably need a little guidance, so I don't make a mess of things. It looks like this needs to be added to the backlog, before I can make a pull request.

This would also be useful for String.prototype.replaceAll, which throws a runtime error if the first argument is a non-global regular expression. See https://github.com/eslint/eslint/issues/15073 for more context.


Implemented hascall()

Closes #187
Do you want tests for these?

Do you want tests for these?

Yes

Do you want them in this PR?

Do you want them in this PR?

They can be added in another PR


Relative local paths for dependencies

Problem description
I have a large monorepo with multiple sub-projects, each with their own pyproject.toml. Some of the subprojects depend on each other.
monorepo/
│
├── pyproject.toml         # Base pyproject.toml (for linting only)
├── libs/
│   ├── package_a/
│   │   ├── pyproject.toml  # pyproject.toml for package_a
│   │   ├── src/
│   │   │   └── package_a/
│   │   │       └── __init__.py
│   │   └── tests/
│   │       └── test_package_a.py
│   ├── package_b/
│   │   ├── pyproject.toml  # pyproject.toml for package_b
│   │   ├── src/
│   │   │   └── package_b/
│   │   │       └── __init__.py
│   │   └── tests/
│   │       └── test_package_b.py
│   └── package_c/
│       ├── pyproject.toml  # pyproject.toml for package_c
│       ├── src/
│       │   └── package_c/
│       │       └── __init__.py
│       └── tests/
│           └── test_package_c.py
│
└── other_dirs/            # Other directories in the monorepo

It would be nice to be able to have package A refer to a relative path to package B in its pyproject.toml. This is possible using hatch/uv, but I can't find any documentation to see if it can be done in pixi.

This can currently only be done for python projects using pypi-dependencies. See the following example: https://github.com/prefix-dev/pixi/tree/main/examples/pypi-source-deps this also works for pyproject.toml. Also see: https://github.com/Deltares/Ribasim

What happens if the local project being linked to is itself a pixi project
with conda dependencies? Will it properly install everything?
On Sat, Sep 7, 2024 at 11:41 PM Tim de Jager @.***>
wrote:

This can currently only be done for python projects using
pypi-dependencies. See the following example:
https://github.com/prefix-dev/pixi/tree/main/examples/pypi-source-deps
this also works for pyproject.toml. Also see:
https://github.com/Deltares/Ribasim
—
Reply to this email directly, view it on GitHub
https://github.com/prefix-dev/pixi/issues/2004#issuecomment-2336568475,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHDTFJUYXMFX5S37WH4UR3ZVPWSBAVCNFSM6AAAAABN2KZ3KKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWGU3DQNBXGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ah no it does not indeed, that is feature that we are working on now called 'pixi build'.

Exciting! Is there an issue I can track?
On Sun, Sep 8, 2024 at 10:15 AM Tim de Jager @.***>
wrote:

Ah no it does not indeed, that is feature that we are working on now
called 'pixi build'.
—
Reply to this email directly, view it on GitHub
https://github.com/prefix-dev/pixi/issues/2004#issuecomment-2336759244,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHDTFIKPYXPXRUTSHPOV7LZVSA47AVCNFSM6AAAAABN2KZ3KKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWG42TSMRUGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes here: https://github.com/prefix-dev/pixi/issues/1654

Closing this in favor of pixi build


testing: allow build.sh to run arbitrary commands in the container

It will allow running arbitrary commands in the corresponding container. Some examples:
ci/kokoro/docker/build.sh clang-tidy bash

ci/kokoro/docker/build.sh clang-tidy ls -al

This change is

I'll merge once the tests are green. I'll also make similar changes in -cpp and -common


Endorsement Policy: single endorser

Any chaincode transaction can have exactly one endorsing peer (enclave) but it could be any involved peer.
Requires #273, key distribution but does not yet require yet  deterministic (de-randomized) state encryption & randomness #183

See #273 and #275 for "sibling" features


Added a failing test case for hashids_encode

It seems like we're shuffling incorrectly somehow.
I'm not sure what's the cause of the issue though.

If we have a failing case ./src/test will return 1, which will break make check.

This PR is just to raise the issue. I have debugged this but I haven't found the problem yet.
Please reopen.

OK, I see your point but... Your PR seems to be wrong.
Here are the results from the JS version (which I consider "reference")
> new Hashids("ab'", 0, "cadjgbenkflqihmo").encode(5)
'qb'
> new Hashids("", 0, "dbomlfeagjkhcinp").encode(5)
'ab'
> new Hashids("", 0, "nb)1NCjag:?Fcs`H").encode(5555)
'abbbb'

And here's v1.1.0 CLI:
$ ./src/hashids -s "ab'" -l 0 -a "cadjgbenkflqihmo" 5
qb
$ ./src/hashids -s "" -l 0 -a "dbomlfeagjkhcinp" 5
ab
$ ./src/hashids -s "" -l 0 -a "nb)1NCjag:?Fcs\`H" 5555
abbbb

Let me check the python version again. I'll get back to you on that.


[analyzer/inline-classes] Missing warning.

As expected, the following code does not compile successfully, but the analyzer does not report any errors:
void main() {
  print(BadInt(0).j);
}

inline class BadInt {
  int i;

  BadInt(this.i);

  int j = 0;
}

Error compiling to JavaScript:
lib/main.dart:2:19:
Error: The getter 'j' isn't defined for the class 'BadInt'.
  print(BadInt(0).j);
                  ^
Error: Compilation failed.

Reproducible on DartPad
master channel
Use Flutter version 3.12.0-2.0.pre and Dart version 3.1.0-169.0.dev
+ Dart experiments: --enable-experiment=inline-class

We should get a compile-time error for i and for j because they are not final, and we should get a compile-time error because there is more than one instance variable in an inline class.
The analyzer does not report any errors, and the common front end reports one error which isn't any of the expected ones.
@scheglov, @johnniwinther, is this covered by existing issues or ongoing work? Is there a need to create two issues, one for the analyzer and one for the CFE?

I don't work on inline classes.
@bwilkerson, @srawlins for planning.

The work is not shared so it's probably best to have two issues.

Thanks, @scheglov and @johnniwinther, I created https://github.com/dart-lang/sdk/issues/52675 and https://github.com/dart-lang/sdk/issues/52676 to cover the analyzer and the CFE, respectively.
@bwilkerson, @srawlins: Planning should then occur in https://github.com/dart-lang/sdk/issues/52675.

The inline class experiment has been replaced with extension types.


405 not allowed

thanks for the code, i was just running the example code:
import gobnb
import json

currency = "MXN"
check_in = "2024-08-20"
check_out = "2024-08-28"
ne_lat = -1.03866277790021
ne_long = -77.53091734683608
sw_lat = -1.1225978433925647
sw_long = -77.59713412765507
zoom_value = 2
results = gobnb.Search_all(check_in, check_out, ne_lat, ne_long, sw_lat, sw_long, zoom_value, currency, "")
details_data = []
progress = 1
jsondata = json.dumps(results)
f = open("results.json", "w")
f.write(jsondata)
f.close()
for result in results[:10]:
    data = gobnb.Get_from_room_id(result["room_id"], currency, "")
    details_data.append(data)
    print("len results: ", progress, len(results))
    progress = progress + 1

details_data_json = json.dumps(details_data)
f = open("details_data.json", "w")
f.write(details_data_json)
f.close()

but got the following:
'\r\n<title>405 Not Allowed</title>\r\n\r\n
405 Not Allowed
\r\n
nginx\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n'

Any ideas?

but sometimes it works:
len results:  1 13
len results:  2 13
len results:  3 13
len results:  4 13
len results:  5 13
len results:  6 13
len results:  7 13
len results:  8 13
len results:  9 13
len results:  10 13

Hi, I'll check what happened, it will  be fixed probably next week, I'm busy at work

I was not able to replicate the issue, it works every time I run it even using vpn, do you still have the issue?

thanks for responding, and what found is that having copilot turned on in vscode sometimes would create this issue, not 100% sure, but turning off copilot (which sends bunch requests to their server I believe) no more errors then

It seems odd to me, if copilot sends requests to its servers shouldn't interfere with the bot.
One possible scenario could be copilot is trying to run the bot from its server and this server IP is been blocked by airbnb.
however "405 Not Allowed" means the method is not allowed, if airbnb is blocking the server's IP it's more reasable to send 5xx error or some other 4xx error, anyway I don't know what could be the issue there


games: deprecate phases

Motivation for this change
#28910
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase 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

[x] Fits CONTRIBUTING.md.

@ofborg build "90secondportraits" anki duckmarines dwarf-fortress mari0 mrrescue nottetris2 rimshot scrolls sienna vapor flightgear

Result of nixpkgs-review pr 132520 at 11ba3977 run on x86_64-linux 1

13 packages built successfully:

_90secondportraits
anki
ankisyncd
dwarf-fortress-packages.dwarf-fortress-full
dwarf-fortress-packages.soundSense
mari0
mnemosyne
mrrescue
nottetris2
rimshot
scrolls
sienna
vapor

16 suggestions:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/games/mari0/default.nix:41:3:
   |
41 |   meta = with lib; {
   |   ^

warning: missing-phase-hooks
buildPhase should probably contain runHook preBuild and runHook postBuild.
Near pkgs/games/dwarf-fortress/soundsense.nix:26:3:
   |
26 |   buildPhase = ''
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/games/dwarf-fortress/soundsense.nix:30:3:
   |
30 |   installPhase = ''
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/games/rimshot/default.nix:34:3:
   |
34 |   installPhase =
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/games/scrolls/default.nix:32:3:
   |
32 |   installPhase = ''
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/games/90secondportraits/default.nix:37:3:
   |
37 |   installPhase =
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/games/nottetris2/default.nix:31:3:
   |
31 |   installPhase =
   |   ^

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/games/scrolls/default.nix:8:3:
  |
8 |   meta = {
  |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/games/mari0/default.nix:31:3:
   |
31 |   installPhase =
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/games/vapor/default.nix:39:3:
   |
39 |   installPhase =
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/games/mrrescue/default.nix:36:3:
   |
36 |   installPhase =
   |   ^

warning: license-missing
Package is missing a license.
Near pkgs/games/dwarf-fortress/soundsense.nix:26:3:
   |
26 |   buildPhase = ''
   |   ^

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/games/mrrescue/default.nix:52:5:
   |
52 |     maintainers = with maintainers; [ ];
   |     ^

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/games/dwarf-fortress/soundsense.nix:26:3:
   |
26 |   buildPhase = ''
   |   ^

warning: build-tools-in-build-inputs
zip is a build tool so it likely goes to nativeBuildInputs, not buildInputs.
Near pkgs/games/mari0/default.nix:29:3:
   |
29 |   buildInputs = [ lua love_11 zip ];
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/games/sienna/default.nix:31:3:
   |
31 |   installPhase =
   |   ^


[GEN-2110]: update RBAC permissions for UI

This pull request includes significant updates to the role and cluster role definitions in the cli/cmd/resources/ui.go file. The changes primarily involve refining the permissions for various resources to better align with the required operations.
Changes to Role and ClusterRole Definitions:

cli/cmd/resources/ui.go: Updated the NewUIRole function to refine the permissions for accessing configmaps, secrets, and odigos.io resources. This includes adding comments to clarify the necessity of each permission set.
cli/cmd/resources/ui.go: Updated the NewUIClusterRole function to refine the permissions for accessing namespaces, services, pods, replicasets, and odigos.io resources. Comments were added to explain the purpose of each permission set.

Thanks @blumamir
I made changes based on all the comments 😃


Secure the AP with PASSWORD

Thank you for an amazing Library!
Scenario:

The device is now in AP mode.

Issue:

The AP is not secured

Request:

Is it possible to secure the AP with a PASSWORD?

Thanks!

No worries. This goes against most use cases, but it should be fairly straight forward to support. If I make a branch for this, would you be able to test it for me?

Sure, with pleasure.
Just let me know when.
Many thanks!
On Sat, Sep 22, 2018, 10:34 PM Nicholas Wiersma<EMAIL_ADDRESS>wrote:

No worries. This goes against most use cases, but it should be fairly
straight forward to support. If I make a branch for this, would you be able
to test it for me?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nrwiersma/ConfigManager/issues/31#issuecomment-423793214,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHYrgSNxvsVPMIo3_FBjE8Bb0-wg6nmxks5udx1qgaJpZM4W1h45
.

Sure, I'll do it today.
I'll post the results ASAP.
Thanks!
On Sun, Sep 23, 2018, 10:20 PM Nicholas Wiersma<EMAIL_ADDRESS>wrote:

Hi,
Awesome, thanks. Can you give this branch a try?
https://github.com/nrwiersma/ConfigManager/tree/ap-password
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nrwiersma/ConfigManager/issues/31#issuecomment-423878948,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHYrgV_NmXazaGEXVw2Jp21nsttgGKGCks5ueGuAgaJpZM4W1h45
.

I've tested the new branch -> works like a charm!
Thank you so much for the quick response/update.
Keep doing what you're doing :)

I've tested the new branch -> works like a charm!
Thank you so much for the quick response/update.
Keep doing what you're doing :)

Awesome, glad it works. I will then merge this into master and tag a new version. After that the branch will be deleted.


SECURITY: iam:PassRole is dangerous

Describe the Bug
The inline policy *-eb-default in main.tf line 138 is generally overreaching with all of it's permissions, but in particular Action: ["iam:PassRole"] with Resource: "*" is downright dangerous.  See Unit 42 Cloud Threat Report: Misconfigured IAM Roles Lead to Thousands of Compromised Cloud Workloads for details on how to exploit.
Expected Behavior
Privilege escalation should not be possible.  iam:PassRole (and iam:ListRole) should not be used.

@razorsedge what do you think is the best approach? Add inputs to specify a resource pattern for each class of permissions, or make the module more opinionated and specify the resource pattern using the module context?

@joe-niland My naive approach would be to completely remove those two actions.  I do not understand why they would be needed.
Otherwise, forcing a user to specify the role to be passed else not allow that action.

Closed via #215


Notification on messages sent to group

Hi, really many thanks for this project!
I have a "Info" notice in all messages sent to groups: "This message will not disappear from the chat. The sender may be on an old version of WhatsApp"

Hi @robvanderleek
I had no idea that this was referring to ephemeral messages, I think adding this flag would help

Hi @eliafino
I've looked a bit more into disappearing messages: it seems this is implemented in WA by configuring it per chat.
It's possible to configure the duration time in Baileys, but that's then for the complete chat, not just a single message.
I don't think this will be a useful addition to Mudslide. Of course, let me know if you do have a use-case for it.


Unit testing for client sdk generator

Fix spelling error lanugage->language in clientSDKGenerator
Use with notation for file opening
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I think this commit : https://github.com/awslabs/mxnet-model-server/pull/462/commits/6e6f6d595b1b3a728ce268f63380d4fbd2f5e958  will fix the CI for your PR


Fixing large text scenarios for TableViewCellFileAccessoryView.

Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
The Large Text scenario is broken for the TableViewCellFileAccessoryView.
The cause of this particular issue is that the customAccessoryView is not being considered to calculate the available width for the text. This interferes in the calculation as the height returned considers the entire row width and ends up to be a smaller value.
The fix is to ensure that the width of the customAccessoryView is considered so that the height of the labels returned is accurate.
Verification
Exercised the same repro steps demonstrated in the first screenshot and ensured those scenarios look correct as demonstrated in the second screenshot.

Before
After

Pull request checklist
This PR has considered:

[ ] Light and Dark appearances
[ ] VoiceOver and Keyboard Accessibility
[ ] Internationalization and Right to Left layouts
[ ] Different resolutions (1x, 2x, 3x)
[x] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)

Microsoft Reviewers: Open in CodeFlow

there is another issues where if the date time string is long, it won't grow correctly. isn't the date label always single line which might not be good for smaller screen?

nit: can we update the demo subtitle case to show all the text when the larger text size is increase without any truncation?

nit: can we update the demo subtitle case to show all the text when the larger text size is increase without any truncation?

Here are the screenshots of it (regular and large text respectively:

nit: are we missing a border between the cell?

there is another issues where if the date time string is long, it won't grow correctly. isn't the date label always single line which might not be good for smaller screen?

Yes. That's another issue that we also need to resolve. This fix does not address that issue.

there is another issues where if the date time string is long, it won't grow correctly. isn't the date label always single line which might not be good for smaller screen?

Yes. That's another issue that we also need to resolve. This fix does not address that issue.

ah thanks for the clarification. in the demo, we should definitely add cell selection toggle button too then where things get even more tighter

nit: are we missing a border between the cell?
Fixed:


error unmarshaling JSON: while decoding JSON: json: unknown field "shutdownGracePeriod"

I can use sealer (version 0.8.5) install kunernetes:v1.19.8 successfully, but when I install a custom cluster image it failed.
What happened:
2022-05-16 15:30:20 [INFO] [init.go:251] start to init master0...
W0516 15:30:20.463826   21044 strict.go:54] error unmarshaling configuration schema.GroupVersionKind{Group:"kubelet.config.k8s.io", Version:"v1beta1", Kind:"KubeletConfiguration"}: error unmarshaling JSON: while decoding JSON: json: unknown field "shutdownGracePeriod"
W0516 15:30:20.507629   21044 configset.go:348] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
[init] Using Kubernetes version: v1.19.8
[preflight] Running pre-flight checks
	[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
	[WARNING FileExisting-socat]: socat not found in system path
	[WARNING Hostname]: hostname "jone-all" could not be reached
	[WARNING Hostname]: hostname "jone-all": lookup jone-all on <IP_ADDRESS>:53: no such host
[preflight] Pulling images required for setting up a Kubernetes cluster
[preflight] This might take a minute or two, depending on the speed of your internet connection
[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
error execution phase preflight: [preflight] Some fatal errors occurred:
	[ERROR ImagePull]: failed to pull image sea.hub:5000/library/kube-apiserver:v1.19.8: output: Error response from daemon: manifest for sea.hub:5000/library/kube-apiserver:v1.19.8 not found: manifest unknown: manifest unknown
, error: exit status 1
	[ERROR ImagePull]: failed to pull image sea.hub:5000/library/kube-controller-manager:v1.19.8: output: Error response from daemon: manifest for sea.hub:5000/library/kube-controller-manager:v1.19.8 not found: manifest unknown: manifest unknown
, error: exit status 1
	[ERROR ImagePull]: failed to pull image sea.hub:5000/library/kube-scheduler:v1.19.8: output: Error response from daemon: manifest for sea.hub:5000/library/kube-scheduler:v1.19.8 not found: manifest unknown: manifest unknown
, error: exit status 1
	[ERROR ImagePull]: failed to pull image sea.hub:5000/library/kube-proxy:v1.19.8: output: Error response from daemon: manifest for sea.hub:5000/library/kube-proxy:v1.19.8 not found: manifest unknown: manifest unknown
, error: exit status 1
	[ERROR ImagePull]: failed to pull image sea.hub:5000/library/pause:3.2: output: Error response from daemon: manifest for sea.hub:5000/library/pause:3.2 not found: manifest unknown: manifest unknown
, error: exit status 1
	[ERROR ImagePull]: failed to pull image sea.hub:5000/library/etcd:3.4.13-0: output: Error response from daemon: manifest for sea.hub:5000/library/etcd:3.4.13-0 not found: manifest unknown: manifest unknown
, error: exit status 1
	[ERROR ImagePull]: failed to pull image sea.hub:5000/library/coredns:1.7.0: output: Error response from daemon: manifest for sea.hub:5000/library/coredns:1.7.0 not found: manifest unknown: manifest unknown
, error: exit status 1
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
To see the stack trace of this error execute with --v=5 or higher
Error: failed to init master0 init master0 failed, error: exit status 1. Please clean and reinstall

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
sealer run xxx --masters <IP_ADDRESS> --nodes <IP_ADDRESS> --pk /root/.ssh/id_rsa
Kuberfile:
FROM kubernetes:v1.19.8

COPY . .

Anything else we need to know?:
I use sealer version 0.7.0 is ok.
Environment:

sealer version (use sealer version):
{"gitVersion":"v0.8.5","gitCommit":"f9c3d99","buildDate":"2022-04-28 14:16:58","goVersion":"go1.16.15","compiler":"gc","platform":"linux/amd64"}
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):

NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

Kernel (e.g. uname -a):
Linux jone-all 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Install tools:
Others:

@laotoutou ,is your base image kubernetes:v1.19.8 built by version v0.8.5?you can use sealer inspect kubernetes:v1.19.8 to check it , and if not ,pls update the base image  and try again.

@laotoutou ,is your base image kubernetes:v1.19.8 built by version v0.8.5?you can use sealer inspect kubernetes:v1.19.8 to check it , and if not ,pls update the base image and try again.

base image kubernetes:v1.19.8 build by version v0.8.4
sealer inspect kubernetes:v1.19.8
- kind: Image
  metadata:
    annotations:
      sea.aliyun.com/ClusterFile: |
        apiVersion: sealer.cloud/v2
        kind: Cluster
        metadata:
          creationTimestamp: null
          name: my-cluster
        spec:
          image: registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.19.8
          ssh:
            passwd: Sealer123
            pk: xxx
            pkPasswd: xxx
            port: "22"
            user: root
        status: {}
    creationTimestamp: null
    name: registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.19.8
  spec:
    id: 46f8c423be130a508116f41cda013502094804525c1274bc84296b674fe17618
    image_config:
      args: {}
      cmd:
        current:
        - kubectl apply -f etc/tigera-operator.yaml
        - kubectl apply -f etc/custom-resources.yaml
    layers:
    - id: sha256:ebd0f721b47d5f7f3ea287fe0882613960deef376e5556b34baab95330aa6bad
      type: COPY
      value: rootfs/* .
    - id: sha256:1066d30573cf0f2ae4c8ddc2cbe24c989ea5407ad5c72a8648902dd0d737c074
      type: COPY
      value: ${ARCH}/* .
    - id: sha256:6af04e85d342bdf7188ce0b44bdb1879ca2720a4c028b45daab81210c08b5fb2
      type: COPY
      value: imageList manifests
    - id: sha256:869b45ef4055702aae0ed9a5650089f537851ebe7f873649c06398b338bc9673
      type: BASE
      value: rootfs cache
    - id: sha256:907a935ec2e7b3c45a7a6e2d8eef8b9cdef50e8d7d7baba4f6c0ee01609bcebc
      type: COPY
      value: tigera-operator.yaml etc/
    - id: sha256:70b6c7cb29b22680516dd9a36a746493ac869a4790f73609b961624aec578189
      type: COPY
      value: custom-resources.yaml etc/
    - id: sha256:b66e77105fb0a6350a5dc6818dd5dbc2ea94435e339577a533bff05aef7626e3
      type: COPY
      value: imageList manifests
    - id: sha256:bdfff9613bacbb57f7d28210919f3ccbaba73e4042d080033ab4dc44dff9a274
      type: BASE
      value: rootfs cache
    platform:
      architecture: amd64
      os: linux
    sealer_version: v0.8.4
  status: {}

[ERROR ImagePull]: failed to pull image sea.hub:5000/library/pause:3.2: output: Error response from daemon:
manifest for sea.hub:5000/library/pause:3.2 not found: manifest unknown: manifest unknown
, error: exit status 1

I found imageRepository: sea.hub:5000/library in the default kubeadm config in our documentation, but in fact imageRepository is sea.hub:5000.
You can try to execute docker pull sea.hub:5000/pause:3.2, if successful, it means the imageRepository value in kubeadm.yml is wrong and should be changed to sea.hub:5000.

[ERROR ImagePull]: failed to pull image sea.hub:5000/library/pause:3.2: output: Error response from daemon:
manifest for sea.hub:5000/library/pause:3.2 not found: manifest unknown: manifest unknown
, error: exit status 1

I found imageRepository: sea.hub:5000/library in the default kubeadm config in our documentation, but in fact imageRepository is sea.hub:5000. You can try to execute docker pull sea.hub:5000/pause:3.2, if successful, it means the imageRepository value in kubeadm.yml is wrong and should be changed to sea.hub:5000.

thanks, you are right


Get index/value@index on graph tap

Hey! Great work on this graph library.
Just wondering you know of anyway to return the data value when the graph is tapped.
Currently I have the standard scrollable graph, but I want a user to be able to tap on the graph too - and have a method spit out the closest point to that tap on the graph.
Having trouble on my own.
Thanks!

I would like to know about the dev-recommended way of implementing this feature
Thanks


how to implement a binarized PR curve for multi-class label

I'm using w&b to visualize results from experiments I'm running from simple transformers wrapper. It's a multi-class label. W&B displays PR curves by class but I need a binarized PR curve for the multi-class. any idea how to implement this? thanks

thanks.  I was hoping for something canned.  I'll look into the custom chart docs.

Because this issue has gone stale, we are closing it. Please comment to reopen.


Solved bug in ComponentExchange.exchange_items

A local list variable in the object was being modified on each call. This caused a bug where code calling this property will produce more elements each time it was called.

Github is being weird today. It's telling me that I can "Add more commits by pushing to the component-exchange-bug branch on juanitocalero/py-capellambse", but whenever I try I only get an "access denied" error. I'll just squash this straight in, I guess.


0.4.0 multiplatform template: "kotlin("multiplatform") // kotlin("jvm") doesn't work well in IDEA/AndroidStudio"

kotlin("multiplatform") // kotlin("jvm") doesn't work well in IDEA/AndroidStudio (https://github.com/JetBrains/compose-jb/issues/22)
That issue linked in the template seems to be fixed. Should that line in the template be updated now?

Is it fixed? Using the current v0.4.0 I tried to change the "desktop" part into a kotlin("jvm") and Android Studio 4.2.1 had a lot of weird problems compiling the gradle script. Unfortunately without giving any explicit error - just a low of red.
Which exact tools and settings do you use that this works for you?
( I'm on a Apple M1 by the way. That seems to cause a low of problems anyway. )

@ColtonIdle , @StefanOltmann do you have such issue now?

My bug was just pointing out the fact that someone should fix this in the template
https://github.com/JetBrains/compose-jb/blob/master/templates/multiplatform-template/desktop/build.gradle.kts#L5
You can see the template (which I copy pasted) now includes kotlin("multiplatform"), but I don't know whether kotlin("jvm") is actually what should be there.

My bug was just pointing out the fact that someone should fix this in the template
https://github.com/JetBrains/compose-jb/blob/master/templates/multiplatform-template/desktop/build.gradle.kts#L5
You can see the template (which I copy pasted) now includes kotlin("multiplatform"), but I don't know whether kotlin("jvm") is actually what should be there.

Why don't you test if that works now instead of guessing?
My "desktop" module is currently "multiplatform" because "jvm" did not work the last time I tried it.

@StefanOltmann why the downvote. Is this not a valid question?

You can see the template (which I copy pasted) now includes kotlin("multiplatform"), but I don't know whether kotlin("jvm") is actually what should be there.

In you do not know there is a way to find it out.
I suggest that you change it and test how well it works now.

That's not helpful because I'm not asking about my code. I'm asking about the template. This bug was created suggesting that the template should be updated if possible, similar to this TODO that was left in the code which was then subsequently removed.
https://github.com/JetBrains/compose-jb/issues/727

It is correct to use multiplatform in this case. I removed the comment.

@akurasov can you explain why multiplatform is correct to use? I'm just curious at trying to understand kmm projects better.

@ColtonIdle
desktop code could be compiled both for jvm and native (in future) platforms.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


clean up branches

Deleted the following 4:

278-define-identifier-alternative (merged)
278-define-identifiers (closed)
test-collapsible-sections (not a working implementation)
lax-and-strict-schema (disregarded setup)

Remaining for reasons:

test-encoding-test-bugfix (may be needed for cffconvert encoding bug? Delete if not needed please @jspaaks)
notes (implementation notes for GH feature)
gh-pages (index.html should perhaps be kept for forwarding to new site? The rest can go I guess...)


Add Mission Statement to website and Rebrand as 'Ride With Us'

This commit gives the website a new mission statement as well as a new
branding, 'Ride With Us'.
This is currently a WIP.

This was added outside of the PR.