Release 0.13.0: Add release notes and announcement blog post

Similar to previous releases, this PR adds the following two new pages to the site:

A new page with release notes from Bitcoin Core source tree (verbatim except for a Markdown formatting change described below)
A new blog post announcing the release and describing some of its many improvements.  Feedback appreciated.   Preview

Todo
Edit 2016-08-22: If 0.13.0 is released on August 23rd, then both of the todos below are done.

[x] Update dates in this PR to the actual release date

_posts/en/posts/2016-08-23-release-0-13-0.md should have its filename and the permalink field in its YAML header changed to the actual release date
_posts/en/releases/2016-08-23-release-0.13.0.md should have its filename changed to the actual release date

[x] If necessary, update _posts/en/releases/2016-08-23-release-0.13.0.md to the current release notes.  It is currently on https://github.com/bitcoin/bitcoin/commit/a402396dce64c42ea73535b7dde4a9164d430438

If you update, you can just paste the raw contents of the release notes from the Bitcoin Core source tree into the file below the YAML header.  After doing that you need to make the following substitution over the whole file to fix a difference between GitHub-flavor Markdown and whatever we use on BitcoinCore.org: s/- #/- \\#/

I'll try to keep on top of both of the above todos so that this stays ready for merge when 0.13.0 is released.

Nice work! Only a few nits above.

LGTM aside from all the links.

Pushed commit https://github.com/bitcoin-core/bitcoincore.org/pull/199/commits/751492941513758f37b56cb128a1b01ad516967a which I believe resolves all feedback from @sipa and @instagibbs .  Also pushed commit https://github.com/bitcoin-core/bitcoincore.org/pull/199/commits/10bb8e2b42b844131f232a09f0aff269ba7219d2 which updates the 0.13.0 release notes to the same content as https://github.com/bitcoin/bitcoin/commit/a402396dce64c42ea73535b7dde4a9164d430438 .
I also rendered the page locally and verified that all reference-style links ([text][reference]) were correctly rendered into hyperlinks.
Thanks for the reviews!

ACK the HD wallet part. The only thing that's missing is the possible xpriv export over dumpwallet, but not urgently required.

I think this should be ready to go.  Filenames and metadata have been updated to assume a release date of 2016-08-23 UTC, and I've tried to address the most recent feedback.

@harding Looks good, thanks!

Looks great, thanks!

ACK from me.
Once the announcement is made I would also like to add the signed PGP release announcement both to the website, and linked to the ML. I can do that post merge.

https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-August/013055.html


Validate Entity version when clicking "Edit" button

Note: this is a very small refinement idea, it's certainly not necessary. It's related to a broader theme of data updates for the frontend.
Problem description
https://github.com/getodk/central-frontend/pull/843 beautifully handles the case where two people or two tabs have the edit modal open at the same time and both make edits. 🎉
However, it's annoying in the case where one person made an edit, and the other person/tab just had the list of entities or a specific entity page open. In that case, the second person will make their edit and only get the message to refresh when they submit their edit. Then they'll lose  whatever changes they made and have to re-apply it which could lead to errors.
URL of the page
https://staging.getodk.cloud/#/projects/11/entity-lists/trees/entities/d2234801-fd76-4c78-8f3d-173b422cad14
Steps to reproduce the problem
Open that page in two tabs. Make an edit in one.  Come back and try to make an edit in the other.
Expected behavior
There's a backend request when the edit button is clicked. The data could automatically refresh (ideal) or the user could be prompted to do so.
Central version shown in version.txt
versions:
2011fdc00550b22269e67e75112a0be16b92e153 (v2023.3.1-7-g2011fdc)
+9e6643a088062cb3ac5063293e8a1312aa80ba5b client (v2023.3.0-20-g9e6643a0)
+cedadf298742dcf4c3c320ac27f2d0fff95b7476 server (v2023.3.1-40-gcedadf29)

Like the idea to update the row before showing the edit box


cue-api-rust: add support for using CUE from Rust

This is an umbrella issue for our Rust API for CUE.
Features we need to add:

cue-lang/cue#3088
cue-lang/cue#3089
cue-lang/cue#3090
cue-lang/cue#3091
cue-lang/cue#3092
cue-lang/cue#3093
cue-lang/cue#3094
cue-lang/cue#3095
cue-lang/cue#3097
cue-lang/cue#3098

Changes to cuelang.org:

cue-lang/docs-and-content#132

There is a WIP attempt at 4ad/cue-rs. Eventually this will be refined and moved to cuelang/cue/cue-rs.


codegen: Prefer use instead of type aliases.

r? @fitzgen

@bors-servo r+

:pushpin: Commit 0ceeaf8 has been approved by fitzgen

:hourglass: Testing commit 0ceeaf8 with merge 77278fc...

:sunny: Test successful - status-travis


Feature request: add optional media to the TokenMetadata type

The token extensions with metadata example uses this TokenMetadata
From @solana/spl-token-metadata/src/state.ts

export interface TokenMetadata {
  // The authority that can sign to update the metadata
  updateAuthority?: PublicKey;
  // The associated mint, used to counter spoofing to be sure that metadata belongs to a particular mint
  mint: PublicKey;
  // The longer name of the token
  name: string;
  // The shortened symbol for the token
  symbol: string;
  // The URI pointing to richer metadata
  uri: string;
  // Any additional metadata about the token as key-value pairs
  additionalMetadata: [string, string][];
}

Almost all the old things that used to be in the JSON file - name, symbol, description, key/value attribute pairs - are now in the TokenMetadata object.
Why not add image?
Use case
Someone wishes to make an SPL token with minimum features. Right now they need to make a JSON file with:
{
  "image": "https://raw.githubusercontent.com/solana-developers/opos-asset/main/assets/CompressedCoil/image.png",
}

As the only contents, and add that as a uri in their TokenMetadata instance.
Instead, we could allow image (or some other other equivalent) to the TokenMetadata instance and save people the effort.

It'll be a breaking change to add a new default field, so I don't think it's the best idea, but couldn't someone just use the additionalMetadata and add "image" there?


Create a fingerprint function that enable you to check if you are working on the same dataset

Create a simple function that creates a hash of the database. This fingerprint can be added to evaluations to verify that it has been run on the same data.

Implemented in #14.


Updated Data Share locations

Updated Data Share locations
Added "Create MAG functions" include.

Docs Build status updates of commit a3ab11d:
:warning: Validation status: warnings

File
Status
Preview URL
Details

academic-services/includes/define-mag-function.md
:warning:Warning

Details

academic-services/includes/ma-subscription-signup.md
:warning:Warning

Details

academic-services/graph/define-mag-function.md
:white_check_mark:Succeeded

academic-services/graph/samples-usql-analytics.md
:white_check_mark:Succeeded

academic-services/graph/samples-usql-network-similarity.md
:white_check_mark:Succeeded

academic-services/graph/tutorial-azure-search-org-patents.md
:white_check_mark:Succeeded

academic-services/graph/tutorial-azure-search-reference-parsing.md
:white_check_mark:Succeeded

academic-services/graph/tutorial-usql-hindex.md
:white_check_mark:Succeeded

academic-services/includes/define-mag-function.md

Line 4, Column 17: [Warning-file-not-found] Invalid file link: './get-started-setup-azure-data-lake-analytics'.
Line 6, Column 24: [Warning-file-not-found] Invalid file link: './define-mag-function'.

academic-services/includes/ma-subscription-signup.md

Line 14, Column 335: [Warning-file-not-found] Invalid file link: './resources-pricing'.
Line 99, Column 122: [Warning-file-not-found] Invalid file link: './get-started-receive-data'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


LumenAI Wishlist

Data table readable by Agent
JS ChatInterface buttons to download
Suggestion buttons initially
Outlier detection
Rename Assistant to Captain/Leader/Crew
Add intermediate steps to chat
Theming making it look slicker

It's not released, but if you want to try it out, it's available here: https://github.com/holoviz/lumen/pull/519

Thanks for your quick response! What LLM is it based on?

OpenAI or Llama-cpp-python models

Think most of this is done and anything else should be opened as distinct issues.


Cookiecutter

I wonder if you might prefer to make this project a cookiecutter template rather than using a copy script.
You can see my fork here for an example. To test it out, simply run
pip install cookiecutter
cookiecutter https://github.com/khornlund/cookiecutter-pytorch

If so, I'll submit a PR.

Thank you for the suggestion @khornlund, the cookiecutter project looks quite interesting.
I've tried your example, and got some questions for you.
I noticed initialization process asking a bunch of questions as following.
repo_name [my_repo_name]: trial_run_ckc
author_name [Karl Hornlund]: Seonkyu Park
author_email<EMAIL_ADDRESS><EMAIL_ADDRESS>github_username [khornlund]: SunQparK
package_version [0.0.1]: 0.0.1
package_description [Short description]: what these questions are for?
package_name [trial_run_ckc]:
package_url [https://github.com/SunQparK/trial_run_ckc]:

New project directory appeared after that, but the structure looked weird.
trial_run_ckc
  ├── trial_run_ckc
  │                  └─  why source code is in this nested directory??
  └─ other file, folders: what these files are for?

I think these things are quite uncomfortable. Are these features necessary for using cookiecutter templates? And, what are the advantages of using cookiecuter over copy script??
As I told in issue #43, I'd like to encourage people to save a copy of this template locally and customize when they need. Python script looks just fine for that purpose.

Hi @SunQpark ,
I've made a bunch of other changes to my repo, so that's why the structure is different. This is not necessary though - you could keep the structure the same and still use cookiecutter.
The advantage of cookiecutter is the ability to set a list of questions (with default answers) to be asked, and then use those answers to create the template. For example when you created the new trial_run_ckc directory, it would have created a setup.py file for you with all the relevant information filled in.
The addition of the setup.py file is just something I did to my repo - you wouldn't have to do the same. I'm just using it as an example for how cookiecutter can insert initialisation values into the template you create.
I actually found this repo while looking for a pytorch cookiecutter template. The best I could find was here, but it didn't have as good functionality. As you can see on the cookiecutter repo they link to lots of different templates for different kinds of projects, but there aren't any pytorch ones yet. I think this repo would be a good candidate to become the pytorch cookiecutter template :)

Currently I have two questions on this. cookiecutter seems to require a specific format to be used as template. Maybe we can maintain a branch for this.
Is it possible to filter out unnecessary files like readme, cache and data while having same directory structure as original repository(for easy maintenance)?
And is it possible to initialize little bit different code depending on python version(eg. can I use different code for python 3.6 and 3.5)?
If so, let's work on this after your PR #45 is done.


Margin and cost for pools

Context
We want to implement this endpoint for (the cardano-node-) Shelley.
https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/listStakePools
Pool margin and cost cannot be retrieved through the node's local state query.

Decision
It seems we have to traverse the chain for pool registration certificates, to get this data?

Acceptance Criteria

Stake pool margin must be available in API (and CLI)
Stake pool cost must be available in API (and CLI)

Development

QA

Superseded by #1761

That ticket seems more about the writing of it, so re-opening this for the reading-aspect.

lgtm


Unable to start Language Server

Using the CircleCI extension in VSCode on Ubuntu 20.04.6, an error notification reading "Unable to start the CircleCI Language Server". CircleCI log shows
[error] 2024-01-12T15:56:32.857Z Failed to start LSP server. Attempt 1: Error: Binary version mismatch: expected 0.9.2, got null
[error] 2024-01-12T15:56:39.820Z Failed to start LSP server. Attempt 2: Error: Binary version mismatch: expected 0.9.2, got null
[error] 2024-01-12T15:56:41.866Z Failed to start LSP server. Attempt 3: Error: Binary version mismatch: expected 0.9.2, got null
[error] 2024-01-12T15:56:44.228Z Failed to start LSP server. Attempt 4: Error: Binary version mismatch: expected 0.9.2, got null
[error] 2024-01-12T15:56:46.886Z Failed to start LSP server. Attempt 5: Error: Binary version mismatch: expected 0.9.2, got null
[error] 2024-01-12T15:56:51.890Z {}
Similarly after executing the "Update CircleCI Language Server" command.
Extension: v2.3.0
VSCode:

Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:47:11.635Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.15.0-91-generic

Thanks for reporting this. We've recently identified a bug in this area. I have a question: are you perhaps running VS Code inside a dev container?

No, VS Code is installed on my system as an apt package.

Hi @alex-gilman do you still have this issue ?
Do you have some setup evolving ssh into a remote machine or something similar ?

Yes, I still have the issue. There is nothing complicated about my setup. I am running VS Code (installed as an apt package) directly on my machine.

Thanks for your answer, can you run the following commands
ls -l ~/.local/share/CircleCI-language-server
md5  ~/.local/share/CircleCI-language-server/circleci-yaml-language-server.tmp
md5  ~/.local/share/CircleCI-language-server/circleci-yaml-language-server
~/.local/share/CircleCI-language-server/circleci-yaml-language-server --version
~/.local/share/CircleCI-language-server/circleci-yaml-language-server.tmp --version
and share with us the output of these commands

~$ ls -l ~/.local/share/CircleCI-language-server
total 34636
-rwxr-xr-x 1 agilman agilman 17876712 Nov 29 09:20 circleci-yaml-language-server*
-rwxr-xr-x 1 agilman agilman 17421792 Jan 23 09:06 circleci-yaml-language-server.tmp*
-rw-rw-r-- 1 agilman agilman    78608 Nov 29 09:20 schema.json
-rw-rw-r-- 1 agilman agilman    78608 Jan 23 09:06 schema.json.tmp
~$ md5sum ~/.local/share/CircleCI-language-server/circleci-yaml-language-server.tmp
722a45ab447a26bd2018fe0b7009b940
~$ md5sum ~/.local/share/CircleCI-language-server/circleci-yaml-language-server
54bf17b803097eb17f6fce00444caef4
~$ ~/.local/share/CircleCI-language-server/circleci-yaml-language-server --version
0.9.1
~$ ~/.local/share/CircleCI-language-server/circleci-yaml-language-server.tmp --version
/home/agilman/.local/share/CircleCI-language-server/circleci-yaml-language-server.tmp: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.32' not found (required by /home/agilman/.local/share/CircleCI-language-server/circleci-yaml-language-server.tmp)
/home/agilman/.local/share/CircleCI-language-server/circleci-yaml-language-server.tmp: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.34' not found (required by /home/agilman/.local/share/CircleCI-language-server/circleci-yaml-language-server.tmp)
Those last errors prompted me to check my libc6 installation. It is at version 2.31-0ubuntu9.14, and no updates appear to be available.

Thanks for reporting this. We've recently identified a bug in this area. I have a question: are you perhaps running VS Code inside a dev container?

Hi @loderunner, is there a solution if I am using a dev container?


Could you help upgrade the vulnerble dependency in atlite ?

Hi, @coroa , @FabianHofmann , I'd like to report a vulnerability issue in atlite_0.2.7.
Issue Description
I noticed that atlite_0.2.7 directly depends on rasterio_1.2.10.
However, rasterio_1.2.10 sufferes from the vulnerabilites which the C libraries exposed as following dependency graph shows.
Dependency Graph between Python and Shared Libraries

Suggested Vulnerability Patch Versions
rasterio has upgraded these vulnerable C libraries to patch versions refer to issue url.
Python build tools cannot report vulnerable C libraries, which may induce potential security issues to many downstream Python projects.
As a popular python package (atlite has 3,849 downloads per month), could you please upgrade this vulnerable dependency?
Thanks for your help~
Best regards,
Joe Gardner

Thanks @JoeGardner000 for bringing up this issue.
Do you have some best practice recommendations on how to tackle this (and similar issues) with research software?
My 2 cents: I don't think we should do anything to adress this issue for now:

The best option would be to pin rasterio to the current master branch version (as a new rasterio has yet to be released), but I don't consider that a good approach.
This is software for research with all its caveats.
We're researchers, not sofware engineers/security professionals. I don't consider me qualified to do any assessment or offer a trust-worthy fix. And I certainly don't want to make this impression on users, that we do security assessments and monitoring.

If someone is concerned with security vulnerabilities, atlite can always be build and installed from the GitHub repo with the most-up-to-date dependencies.
What do you think @FabianHofmann ?

I agree, my preference would be to wait for a new rasterio release and add a minimum requirement.


one warnning problem “ implicit truncation from 'int' to a one-bit wide bit-field ”

little problem


Add rector rule to remove ray calls from a codebase

2 ways of using it:

In your own Rector config, by adding the RemoveRayCallRector rule.
By using the package Rector config: ./vendor/bin/remove-ray.sh <path>

And does it also work on macros like collect()->ray()?

Does this also work for chained calls? Like ray()->clearScreen() and ray('Hello')->red()?

And does it also work on macros like collect()->ray()?

Now it should!

@timvandijck It doesn't seem to remove collection macro ray() call.

@Plytas good spot, it seems like it's not working when a macro line is not ending with ->ray() but with an other method.
I created an issue to track this, probably will be resolved next week: https://github.com/spatie/ray/issues/889


Change templates config parameter to be a list of tuples.

Its currently impossible to render one template multiple times using different contexts and destinations using just the settings configuration -- this IS possible using multiple invocations of renderstatic. The constraint on settings however is unnecessary.
Change STATIC_TEMPLATES['templates'] to optionally be a list of (template name, {config}) tuples.

Configurations will be backwards compatible. The breaking change is that the templates property on StaticTemplateEngine objects now returns a list of 2-tuple template name, configuration pairs instead of a dictionary mapping names to configurations.


Update Schedule

James, thanks for you code.
Do you know how I can create a ontime schedule object ?
Thanks

Hey @rcedros sorry for the lack of reply, should get some time for this later this week :)

Hey @jsimpso , I updade the code to GET, DELETE and UPDATE. This is functional for me, I just could not create yet.
def get_schedule_onetime(self, specific=False):
    api_url = self.urlbase + "api/v2/cmdb/firewall.schedule/onetime"
    if specific:
        api_url += specific
    results = self.get(api_url)
    return results

def delete_schedule_onetime(self, sched_name):
    api_url = self.urlbase + "api/v2/cmdb/firewall.schedule/onetime/" + sched_name
    result = self.delete(api_url)
    return result

def update_schedule_onetime(self, sched_name, data):
    api_url = self.urlbase + "api/v2/cmdb/firewall.schedule/onetime/" + sched_name
    # Check whether target object already exists
    if not self.does_exist(api_url):
        logging.error('Requested service category "{sched_name}" does not exist in Firewall config.'.format(sched_name=sched_name))
        return 404
    result = self.put(api_url, data)
    return result

Thanks

Apologies for neglecting this @rcedros, life's been extremely busy. I'm currently without access to a FortiGate to test this and work on the create function,  but I've reached out to some contacts to try and get my hands on one.


OTA-916: add SignatureStores to ClusterVersionSpec

SignatureStore will help us define custom signature stores which
can then be used in air-gapped environments. it'll also give admin
flexibility to remove one or more signature stores that they're not
comfortable using.
Enhancement: https://github.com/openshift/enhancements/pull/1485

LGTM. Is the implementation of this ready to be merged? I'm conscious we only have a 48 hour window to merge changes into 4.15 now, I would prefer not to merge the API if the feature isn't going to ship this release, and then merge once 4.16 opens next week

Is the implementation of this ready to be merged?

The implementation is up in openshift/cluster-version-operator#994.  It's currently WIP, while I wait for this pull, so I can drop a hack-testing commit and replace it with a vendor-bumping commit.  But the hack-testing commit is enough for me to have promising Cluster Bot testing already completed, so I expect post-vendor-bump QE pre-merge testing to go through fairly quickly.

now has featuregate and a mechanism to configure trust for the HTTPS URL.
/approve
/lgtm

/hold cancel

/retest

Quay issues seem to be settling.
/retest-required

/test integration

Which payload repository is responsible for bringing the ClusterVersion CRD into the payload? Can we test that the CVO/cluster bootstrap installs the correct version of the CRD? The CRD versions normally rely on being applied by the CVO, have we got this right for the bootstrap phase?
The E2E on this repo does not seem to be testing that, since the tech preview job passed, while the CRD schema is currently invalid.

retest

/retest

Which payload repository is responsible for bringing the ClusterVersion CRD into the payload? Can we test that the CVO/cluster bootstrap installs the correct version of the CRD?

It's the CVO applying the CRD, both bootstrap-time and post-install.  And yes, there will be more pre-merge testing in openshift/cluster-version-operator#994 to ensure that all works once this API pulls and I can reroll my CVO pull to vendor-bump.

It's the CVO applying the CRD, both bootstrap-time and post-install. And yes, there will be more pre-merge testing in https://github.com/openshift/cluster-version-operator/pull/994 to ensure that all works once this API pulls and I can reroll my CVO pull to vendor-bump.

Could you do a fake bump with this content for now, I'd like to see some in-payload testing that this actually applies the correct versions of the CRDs on bootstrap and within the running cluster, E2Es should show us that

/cc

/lgtm

/test ci/prow/verify

/test verify

/override ci/prow/verify-crd-schema
Overriding existing boolean failures caused by renames
/lgtm


Improved readability of java sms example

Separate TextMessage creation into new line
Use SMSClient  as this is the only client used
explicit static imports show new users where the methods come from

Thanks!


There's over two year worth of issues here -- will they ever get fixed?

Xamarin.Forms is harder to use than it needs to be due to bad and outdated documentation.
Just the reported bugs section contain over two years of open issues, and these are just the ones reported by users.
Will the Xamarin.Forms documentation ever be updated and the issues resolved? Is there even a point to reporting issues?
Mind you that because of the bad and outdated documentation people will report bugs unnecessarily and these open issues will then cross over to Xamarin bug reports.
Thanks.

Hi @Tommigun1980
There are only 27 open issues in this repo for Xamarin.Forms docs. They will largely be dealt with.


'SVProgressAnimatedView.h' file not found

Show in PNG.

I use pods. What should I do? I not doing anything,not delete.

It is working for me with Cocoapods. How did you integrate the component, please provide a sample project, or a more detailed description. Otherwise this issue will be closed.

For reference, I ran into this as well. I really have no idea why. I'm fairly green when it comes to CocoaPods and iOS dev in general.
I got around this missing file error by updating my Podfile and running pod install again.
-pod 'SVProgressHUD'
+pod 'SVProgressHUD', :git => 'https://github.com/SVProgressHUD/SVProgressHUD.git'

You're right,Thank you ~ @dcalhoun


[shopify-api] AWS Lambda runtime adapter

Overview
Our app's backend runs on AWS Lambda functions (using the node.js Lambda runtime).
The existing node.js adapter in this repo assumes the usage of express.js, while for AWS Lambda we're using AWS API Gateway.
We've written a runtime adapter for AWS Lambda and would love to contribute it back to this repo.

Hi there 👋
If you would like to contribute could you open up a PR? This PR doesn't have to be perfect, and fully documented just enough so we can get a better idea on what you have done, to decided if it makes sense to include it here.
Looking forward to reviewing!


Add API documentation, publish on Github pages

The API of ESPLoader is a pretty simple one, but that shouldn't mean that it doesn't have to be documented.
We could add TypeDoc-style comments in the code and push the generated docs to Github Pages (https://espressif.github.io/esptool-js/).

+1

+1


Update to support shorthand if-let

Companion of https://github.com/apple/swift/pull/61263
Fixes https://github.com/apple/swift-syntax/issues/816

https://github.com/apple/swift/pull/61263
@swift-ci Please test

https://github.com/apple/swift/pull/61263
@swift-ci Please test

Are there plans for a 0.50700.1 release that includes this? That would resolve https://github.com/apple/swift-format/issues/409.

Yes, absolutely. I need to wait for a toolchain snapshot to be created so I’ve got they parser library that I can include in the release. I still need to figure out what it takes to create a 5.7 snapshot toolchain as we don’t seem to be building them at this moment anymore.


No module named test.common error

I am trying to test the colors conversion using the script
test_gray.py running from every directory, kornia, kornia/test, and kornia/test/colors, the same error pops. what to do to run tests?
the error:
Traceback (most recent call last):   File "test/test_losses.py", line 5, in <module>     from test.common import device_type ModuleNotFoundError: No module named 'test.common'

You should run tests with pytest test_

thanks that worked


chore(k8s): Excise monolithic control loop

Closes #14
@arschles I thought I'd be deleting less when I did this, but there were more pieces than I realized that were ServicePlanClaim-specific.
fwiw, I fully expect this to be refactored further as we proceed with adding the three individual control loops.
Also, although tests pass, this PR transitions the framework into a non-effective state. Do we want to consider merging this to a feature branch instead of master, i.e. until #7 is fully resolved?

@krancour I think it's fine to merge this before we fully resolve #7, since we're gonna immediately get started on the new control loops

Current coverage is 66.66% (diff: 0.00%)

Merging #21 into master will increase coverage by 30.53%

@@             master        #21   diff @@
==========================================
  Files            31          4    -27
  Lines           880         36   -844
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            318         24   -294
+ Misses          536         11   -525
+ Partials         26          1    -25

Powered by Codecov. Last update 3305619...f929901


drive clock from tile_prci_domain clock node instead of implicit clock

Changed how the clock is being driven to accommodate https://github.com/sifive/federation/pull/27896

after this got merged, I need to merge mine. https://github.com/sifive/federation/pull/27896


Utility tariffs

Added tariff signal which can be used to calculate the cost of charging according to real-world tariff structures including TOU rates and demand charge.
Added tests and a small library of tariffs.

Added appropriate comments and disallowed tariff structures which did not start at hour 0 (midnight).


Conditionally trainable variables and stochastic depth neural networks

I came across with a task where I would like to apply stochastic depth regularization technique using Tensorflow (https://arxiv.org/pdf/1603.09382.pdf). Tensorflow doesn't provide enough settings to implement this one. I found closed issue  #1784 which is similar to this request, where guys finished the discussion with claim that [ tf.cond | tf.select ] primitives are enough for this task. But if you carefully read the paper it says that during training the depth changes for both directions: forward and backward propagation steps. Therefore number of tranable W parameters of the network changes too. The core conception of the Tensorflow is building computation graph before session of training is run. Currently, I can not create dynamic computation graph, so that depending on a boolean value W parameters of a layer were not engaged in optimisation process.
If tf.Variable accepted trainable parameter as a boolean tensor apart from built-in boolean value it would solve the problem. In this case, it would mean that Tensorflow operates natively with dynamic computational graphs, which in fact very powerful tool.
I would appreciate any suggestions and ideas, so that this question was closed for good and all.
@vrv, @martinwicke, @aselle

I am adding this to our list of models that we would like to make easier in TensorFlow. I don't have any personal knowledge of the paper, but as far as your comment about having a trainable flag. It seems like you could multiply by a vector of 0's or 1' to mask the variable dynamically to achieve the same effect. Let me know if that would be sufficient? Thanks!

Thank you @aselle,
I implemented cancelling in a residual block using multiplication by zero and tf.stop_gradient as well, and it only prevents the contribution of this particular gradient of residual block to the parent layers. But as far as I understood the parameters which are marked as trainable will be always updated regardless of procedures mentioned above.
Just clarify the idea a bit, let's say we have a graph a -> b -> c, and a, b, c trainable layers (tensors) are included in the list of tf.graph.TRAINABLE_VARIABLES. Some layers may disappear randomly from trainable list during training according to stochastic depth nets, but Tensorflow does not allow it in any case now.

I see. I think you could probably implement this using a custom optimizer that controls the update vector and disables it using knowledge of variables and their position in layers. This may not be easy, but it may be possible.

Closing due to inactivity. I'll reopen this issue if @awav indicates the previous suggestion was not sufficient.
Note: We have an on-call rotation for triaging issue. When filing issues, please let us take care of tagging team members for you.

@awav - correct me if I'm missing something, but is the goal to simply not update Variables that aren't used due to a conditional? TensorFlow already zeros out these gradients. Here's some sample code:
import tensorflow as tf

tf.reset_default_graph()

a = tf.Variable(10.0)
b = tf.Variable(10.0)
switch = tf.placeholder(tf.bool)
res = tf.cond(switch, lambda: tf.mul(2.0, a), lambda: tf.square(b))
opt = tf.train.GradientDescentOptimizer(0.05)
grads = opt.compute_gradients(res)
train = opt.apply_gradients(grads)
init = tf.global_variables_initializer()

with tf.Session() as sess:
    sess.run(init)
    print(sess.run(grads, {switch: True}))

If you adjust the {switch: True} dict to be set to false, you'll see that the gradient values will flip depending on which path is taken.
When  {switch: True}:
[(2.0, 10.0), (0.0, 10.0)]

When  {switch: False}:
[(0.0, 10.0), (20.0, 10.0)]

For completeness, if you apply the gradients with different switches set, you only update one or the other:
 {switch: True}:
with tf.Session() as sess:
    sess.run(init)
    sess.run(train, {switch: True})
    print(sess.run([a, b]))

>>> [9.8999996, 10.0]

 {switch: False}:
with tf.Session() as sess:
    sess.run(init)
    sess.run(train, {switch: False})
    print(sess.run([a, b]))

>>> [10.0, 9.0]

I think the most likely problem that might occur when trying to implement stochastic depth is that you may not see the reduced computation due to the less-lazy way tf.cond executes (see the last paragraph of the documentation before the "args" section).

The conditional statement does not seem to cut it for me. In my case, I have a model of the form data -> encoder -> intermediate result -> decoder -> result. I would like to be able to set the variables in the decoder and encoder as trainable during training by passing a boolean tensor. Is it possible to do it using 'tf.cond'? When I pass a boolean tensor as tf.get_variable(...,trainable = boolTensor) I get a TypeError.

I have same problem. In my case, I have the model input -> features -> decode1 -> loss1
|-------> decode2 -> loss2.
Loss1 and Loss2 are different loss function. When I minimize the loss1, I want to fix the weights in decode2. Also, when I minimize the loss2, I want to fix the weights in features and decode1. In training process, I need to iterative training two losses. I need the trainable flag to determine which part to train and which loss is needed to minimize. One of the solution online is to save and restore the weights every time. But it is not efficient at all.


Amend typo

Pull Request Test Coverage Report for Build 284

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

Totals

Change from base Build 283:
0.0%

Covered Lines:
2311

Relevant Lines:
2557

💛  - Coveralls


Add a rate limiting solution

I would like to have an easy to configure rate limiting solution, which allows for resource specific IP based rate limiting.
For this framework it will probably just use an in-memory counter, but should be easily extensible for cluster-level management (via Redis, etc...).

Having done some research, I think the best course here is to recommend the use of Bucket4J and the Bucket4J Spring Boot Starter.
There's a decent guide here: https://www.baeldung.com/spring-bucket4j
Essentially, using the Bucket4J Spring Boot Starter, you can use yaml configuration to setup complex rate limiting rules for specific URI resources, keying off of things like IP address, username (if authenticated), API-Keys in request headers, and much more, using SPEL syntax.  Bucket4J also integrates with various caches and cluster aware solutions.  This seems like the perfect solution for this need.


Make it possible to change the confirmation button.

In ES, B (down) is to confirm while A (up) is to cancel. This is different than the default in kodi, or retropie, or anywhere else. Could you add an option to reverse this?

Why don't you just reconfigure your controller to invert these buttons ?

@fabricecaruso Because I'd rather keep the labels correct to, I'm building one for someone else and having the b button in the interface not match the button label would be confusing. Also, AFAIK, that button binding propagates to emulators as well, which would not be ideal.

Agree with @ainmosni . It's so confusing...
Is it hard-coded, or is it defined in some config file? If it's possible to change the config file to swap these 2 button, at least there's a workaround. Any hints?
I've been searching for a solution for a while, but unfortunately haven't found one.

Done. See this PR https://github.com/batocera-linux/batocera-emulationstation/pull/577


Upgrade net.bytebuddy:byte-buddy 1.14.2 -> 1.14.3

This PR contains the following updates:

Package
Type
Update
Change

net.bytebuddy:byte-buddy
compile
patch
1.14.2 -> 1.14.3

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

Suggested commit message:
Upgrade Byte Buddy 1.14.2 -> 1.14.3

See:
- https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.14.3
- https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.2...byte-buddy-1.14.3

Rebased.


Panic processing batch_all extrinsic for Polkadot block 4230783

Im getting the following error when parsing the titled block:
runtime error: index out of range [7] with length 5
/usr/local/go/src/runtime/panic.go:88 (0x403ef64)
        goPanicIndex: panic(boundsError{x: int64(x), signed: true, y: y, code: boundsIndex})
/Users/gavinwoods/go/pkg/mod/github.com/itering/scale.go@v1.0.11/types/types.go:290 (0x4b8cc3e)
        (*Enum).Process: if subType := e.TypeMapping.Types[e.Index]; subType != ""

The issue lies at processing the type: "Address" at offsetStart 353
if subType := e.TypeMapping.Types[e.Index]; subType != "" {
			e.Value = map[string]interface{}{e.TypeMapping.Names[e.Index]: e.ProcessAndUpdateData(subType)}
			return
		}

It tries to access index 7 when there only 5 types for this in spec 28
I believe its related to the batch all extrinsic which I havent encountered before but im not sure what custom type I am missing from the config. Is there a guide somewhere to figuring these issues out?

I guess it’s because this is not defined, you can give it a try
  "Keys#28-?": {
    "type": "struct",
    "type_mapping": [
      [
        "grandpa",
        "AccountId"
      ],
      [
        "babe",
        "AccountId"
      ],
      [
        "im_online",
        "AccountId"
      ],
      [
        "para_validator",
        "AccountId"
      ],
      [
        "para_assignment",
        "AccountId"
      ],
      [
        "authority_discovery",
        "AccountId"
      ]
    ]
  }

That was it. Thanks. Is there a place where you gather this information so in future I could make some PR's for the polkadot networks file.

Here you can see some published information https://github.com/paritytech/polkadot/releases


[BUG] documented docker-compose.yml in official guides doesn't work

Hi,
I'm experiencing that documented docker-compose.yml in official guides doesn't work.
Environment:
OS - Ubuntu 22.04 LTS
Docker Engine - Community - Version:  20.10.15
Docker Compose version v2.5.0
$ cat /proc/sys/vm/max_map_count
262144
I followed this and then this.
Running "docker-compose up" with https://opensearch.org/samples/docker-compose.yml it always returns:
opensearch-node1       | [2022-05-11T15:09:35,744][WARN ][o.o.c.c.ClusterFormationFailureHelper] [opensearch-node1] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [opensearch-node1, opensearch-node2] to bootstrap a cluster: have discovered [{opensearch-node1}{HAXYh2n_TnSM-FiYgnZQDA}{sCEi7BXzSjy9AVRmUbfM5A}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}{dimr}{shard_indexing_pressure_enabled=true}]; discovery will continue using [<IP_ADDRESS>:9300] from hosts providers and [{opensearch-node1}{HAXYh2n_TnSM-FiYgnZQDA}{sCEi7BXzSjy9AVRmUbfM5A}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}{dimr}{shard_indexing_pressure_enabled=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
opensearch-node2       | [2022-05-11T15:09:45,308][WARN ][o.o.c.c.ClusterFormationFailureHelper] [opensearch-node2] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [opensearch-node1, opensearch-node2] to bootstrap a cluster: have discovered [{opensearch-node2}{n6ZaxN9zRtir4noIuiPkMg}{_2Q8WoCLSd2gEiC1dPRkLw}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}{dimr}{shard_indexing_pressure_enabled=true}]; discovery will continue using [<IP_ADDRESS>:9300] from hosts providers and [{opensearch-node2}{n6ZaxN9zRtir4noIuiPkMg}{_2Q8WoCLSd2gEiC1dPRkLw}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}{dimr}{shard_indexing_pressure_enabled=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0

I changed docker image tag from latest to 1.3.2 and 1.3.0 with same results.
Have i missed something?
Thanks in advance

Hi @dzeroc, thanks for your detailed steps to reproduce!
I followed the steps in the page https://opensearch.org/downloads.html and changed the docker image tag from latest to 1.3.2, but I didn't find the issue you described, and the cluster started finally.
Seeing from the error, looks like the 2 nodes can not detect each other.
In the sample configuration, there are only two master-eligible nodes, and they are both assigned to the setting cluster.initial_master_nodes, then they are both required for the first election. Thus if the 2 nodes can't find each other, the cluster can't be bootstrapped.
Some suggestions:

Double check the content of the docker-compose.yml file.
Clear all the data of the docker container that runs the image.

Docker Engine - version: 20.10.16

I've just upgraded docker engine as your environment and it works!!!!!  (tag 2.0.0)
Indeed I upgraded also kernel and rebooted vm but I can't figure out if it was related.
Thank you

@dzeroc I'm so glad that the cluster started successfully in your machine! 🎉
Well I don't believe the docker engine can be a matter with only a "patch" version difference. 😄
I will take a look at the output log, and give update if I got other ideas.

exact same issue here


[Addition]: Hummingbird selfwitnessing cluster

Hotspot b58 Addresses
112CPwWvTE6wm3t7wuiwQKyj8UL1tzFmJ3TRkdVwCfWKVFo7Z8Xs
112DQMuWFHQvamsY2Jae3dBSdGwryKRsckSZg3uSkSbmjVxGZUBj
112GHeVqQPNpGXm8AVr525dHgtHecZNoCAm8ayVyMHefFqQMwrR5
112jJe5HxFFU8BfWtjvcELmJ9p4o5t5CsKnAiQEzJyM4q1BukRtk
112mHvYEbBz6drZKHNGmuS1uRgKpEyVeDCUSRQ1k47ii18PuA2Lk
112NWGWiyWt2oT4pG4zZzEH5D8tHkCxGjcK8tTJ1Payzg8PyCho3
112qRzDwmEoZAquRbcT9qheEvAG9vZNHTeRdeCc484qHfEemCHCA
112raKT4CzY2bRVjSzgbAmt6Uw9RxYRQMcPPYVP1pQSWQscF1Yw2
112rzBF1yxzbLNfg2MqzruK4oS4qtnpAfe7fGGieRGEt4CobNqp2
112U8iiLZGEjKW7RxpaZ6mk1fecSBY9678KxtztpodkNuzA5W8Qz
112Wke3dFQzWWUskQQ3HRv4GhdDoMFGPtsvAw4U4L2Yb66LBc4UN
115e5cuFLEcRuUhXViktz7Myam4HeNcW8B2QzdBeUNoBywTKxYQ
11cUBk9pAxwLZNdX1gcB7wU6H7JTWvqCwfE8qhYxgLjtXipPuXV
11dXZchLAM5pnJtHpXQsz82d9SaTacoxLoyojS33knCPKUtAyui
11G3okPH6XqNF6xiYF75QWwipApxbVu6utL5mUyrvSTGLJyVSb4
11gdacMFNu4GsYNMmQT2WTsTRsH4qo24PyNjiuLhgAyqkMNPtqQ
11ghTcX2R33CU4CuEoRY817hnRDeZGBbQYAw9zGDjfNonktqTre
11H3tAKvMFekfxdvrHQSE3mDFtVfp4bpPELVqTBjh6uMpKs7BCQ
11mXSCgVaE7W3TpNYiFgohJwFSS6Eedt3Rzju8W8p1jeeukjjWU
11r1qXfCsxpgnKLecAq2i3msRYerebD7DpBDF3QivcsAiUyqkFh
Discord Handle
No response
Reason(s)

All but 1 account for all Hummingbird gateway's didn't show any data transfers.
So data transfer is possible! only 109 out of 3853 showed packet transfer data, all these 109 are in same account.
the gateway's in that account are part of a selfwitnessing cluster so they probably all heared the same
signal.

Most of all Hummingbird gateway's witness only Hummingbird gateway's.

We iterated the witnesses of the witnesses to find the clusters.
We used the node-red server we setup for this to get the results out of api.

All HNT stolen with the total amount of 21067 HNT as by todays date/time.

We conclude that out of the 3852 gateway's we inspected only 109 gateway's in 1 account showed accidental
data transfer. so data transfer for gateway's Hummingbird is possible.

We conclude that out of the 3852 gateway's we inspected only a couple of accounts showed communication with other makers. so communication with other makers for Hummingbird gateway's is possible.

Rssi/ distance / SNR calculations are to perfect, we have found some invalids -59 dbm but we suspect they are from cables touching eachother.

We haven't targetted any maker, it was the result of a count WHERE actors1.actor_role = 'witness'
AND actors2.actor_role = 'challengee' are in same account.

Resolved in https://github.com/helium/denylist/pull/4048


Error: Couldn't create temp file

It seems like the latest version of AI Render (0.10.0) may have introduced an occasional bug when trying to create a temp file to save the AI image.
@afecelis and @claychinasky, I think you both saw this bug. I'm wondering if it's an issue with special characters in the filename, or having too many characters in the filename (now that the prompt is saved in the filename by default).
@claychinasky, this would explain why you saw this error when you had the preset activated, but not when it wasn't activated.
Could either of you post what your prompt and preset were?

Prompt:
realistic modern [livingroom] very detailed, wide camera angle 20mm, hyper sharp focus, super resolution, stunning intricate detail, photorealistic, dramatic lighting, octane render, [white]  furniture, ultra realistic, 8k
Preset Style:
Product Shot
Thank you! Please let us know if you're able to fix it.
Regards,
Alvaro

@afecelis, great, thank you. I got it fixed and I'll push a release in a minute.

yesssssssssssssssssssssssssssssssssssss!!!!!!!   Thank you Ben!

Fixed in 1766f6722928423af596dae8016e4415fba1043b
Update AI Render in the add-on preferences and it should work now. Definitely let me know here if you still see an error!

@benrugg I will, looking forward to further development, hope to be able to contribute somehow soon.

Starting to get the hang of it!
Very simple cen in blender:
https://ibb.co/hdw9kJj
https://ibb.co/CwtcHqM
https://ibb.co/N38QTgx
https://ibb.co/7t3q4wv
https://ibb.co/yp2XYvd

@afecelis Really glad it's all working for you. It sounds like you figured it out already, but yes, you can set whatever command line flags you want. I don't think it works with Lora's, but let me know if you're getting it to work with a Lora model.

No Loras yet. Some animation tests
https://www.youtube.com/shorts/e6XhZPKfcvI?feature=share
https://www.youtube.com/shorts/L0_l0VkwFbU?feature=share


Error making extern call w/ native state field

e.g.
TokenGroupNativeBug:
    type OffsetAttribute = Native "OffsetAttribute"
    extern startOffset(att : OffsetAttribute) : Int = "{att}.startOffset()"
    state offset : OffsetAttribute

    query getStart()
        startOffset(offset)

produces this error:
D-173-250-185-41:cozy dgrant$ cozy --simple  --java out.java specs/TokenGroupNativeBug.ds
Checking assumptions...
Done!

_var12 : OffsetAttribute = offset

TokenGroupNativeBug:
  type OffsetAttribute = OffsetAttribute
  state _var12 : OffsetAttribute
  query getStart():
    startOffset(_var12)

Generating final concrete implementation...
# impls: 1
_var12 ~~> OffsetAttribute

[('_var12', TNative('OffsetAttribute'))]
Code generation failed!
Implementation was dumped to /tmp/failed_codegen.py
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.5/bin/cozy", line 11, in <module>
    load_entry_point('Cozy', 'console_scripts', 'cozy')()
  File "/Users/dgrant/Dev/cozy/cozy/cozy/main.py", line 139, in run
    out.write(codegen.JavaPrinter(boxed=(not args.unboxed)).visit(impl, state_map, share_info))
  File "/Users/dgrant/Dev/cozy/cozy/cozy/common.py", line 149, in visit
    return getattr(self, visit_func)(x, *args, **kwargs)
  File "/Users/dgrant/Dev/cozy/cozy/cozy/codegen/java.py", line 48, in visit_Spec
    s += self.visit(setup, INDENT + INDENT)
  File "/Users/dgrant/Dev/cozy/cozy/cozy/common.py", line 149, in visit
    return getattr(self, visit_func)(x, *args, **kwargs)
  File "/Users/dgrant/Dev/cozy/cozy/cozy/codegen/cxx.py", line 592, in visit_SEscape
    setups, args = zip(*[self.visit(arg, indent) for arg in args])
  File "/Users/dgrant/Dev/cozy/cozy/cozy/codegen/cxx.py", line 592, in <listcomp>
    setups, args = zip(*[self.visit(arg, indent) for arg in args])
  File "/Users/dgrant/Dev/cozy/cozy/cozy/common.py", line 149, in visit
    return getattr(self, visit_func)(x, *args, **kwargs)
  File "/Users/dgrant/Dev/cozy/cozy/cozy/codegen/cxx.py", line 585, in visit_Exp
    raise NotImplementedError(e)
NotImplementedError: ENative(ENum(0).with_type(TInt())).with_type(TNative('OffsetAttribute'))

Whereas if startOffset is called with a parameter of type OffsetAttribute, it works fine.

There are several places where Cozy expects to be able to produce a "default value" of a given type. That works fine for ints (default value zero) and collections (default value empty), but native types are trickier. (Well, they are easier in C++ where every sensible type has a zero-argument constructor.) Internally Cozy has a thing called ENative(...) which you see in the stacktrace that represents "something of this type", but it isn't sure how to actually make one concretely.
The right fix is for the Java codegen pass to implement visit_ENative to default-construct native types in the manner you expect:

unboxed native types like float get special values like 0.0f
boxed native types get null

The relevant line:
https://github.com/uwplse/cozy/blob/63924678462bee79558a2f4cf72bb446eb8d24f0/cozy/codegen/java.py#L47


Link that redirects user to Azure AD login page fails

The AD page that user redirects to says <We received a bad request - The request body must contain the following parameter: 'client_id'>. This happens in the new Bot emulator released a couple of days back and also in  the iFrame WebChat Channel. It continues to work on Skype and also in the old bot emulator.

Same issue with Skype for iOS and the web ui from bot framework. I guess the issue is coming from the encoding of the URL. All get parameters including "&" are html encoded such as "&". So Microsoft is not able to get all required parameters.

Same issue with Skype for iOS and the web ui from bot framework. I guess the issue is coming from the encoding of the URL. All get parameters including "&" are html encoded such as "&" for web ui or "252F&" for Skype for iOS. So Microsoft is not able to get all required parameters.

Hi @thelakkatmadhav, A fix for this issue has been made in the new WebChat control: https://github.com/Microsoft/BotFramework-WebChat/pull/180. We plan to make a new emulator release this coming Thursday (12/1). In addition, we will hotpatch the Bot Framework's WebChat channel so that IFRAME'd clients will pick up the fix.


Source distribution of pyo3-pack

Would it be possible to provide a source distribution of pyo3-pack? Pipenv cannot install it on NixOS which is not manylinux-compatible.

That depends on #2 being solved. There is however a (slightly outdated) nixos package (https://github.com/NixOS/nixpkgs/pull/46754) and you can also download pre-built binaries (https://github.com/PyO3/pyo3-pack/releases/latest)

:man_facepalming: I feel like an idiot, I completely missed the NixOS package! Thanks a lot!

I've sent a PR to update the NixOS package: https://github.com/NixOS/nixpkgs/pull/56032

The PR has been merged :confetti_ball: Closing this issue.


Bringing Dockerfile 71 up-to-date with 70

This is a try to bring the PHP-FPM PHP7 Dockerfiles up-to-date with each other.
Important: These changes haven't been tested. Do not merge before testing. (I'll test these changes at a later time)

@winfried-van-loon Is this the issue which fixes my reported issue of PHP71 not being installed?

No, these fixes are not related to any issue at the moment. They only merge the existing options in Dockerfile-70 into Dockerfile-71.

I'm running tests on the merged changes now, will then run tests on this issue's changes.

Okay, this shouldn't lead to additional warnings or errors. (tested)


Run multiple workflows in exe/floe

commits:

added Context#success?
added Workflow#name
workflows are passed as arguments rather than options.
(Which means: Multiple workflows can be passed)
drop blocking workflow and state methods

Context#success
I want to move all changeable state from Workflow to Context, so I put this on Context. But if you prefer this on workflow, we can do that.
Workflow#name
I had wanted the arguments of Workflow#new to match State#new but since the provider-workflow calls that method, I put at the end.

update:

fixed rubocops around spacing and changed state_name to remove overshadow

Update:

removed dependency on #147
dropped blocking methods
tweaked the exe/floe pruning for completed workflows


Provide a Docker-Compose migration example

Provide a example how to migrate from a existing Docker-Compose stack to kubernetes

#3 should address this. I want to fiddle with the wording a little, let me know what you find confusing about it, so we have an extra set of eyes.

I reviewed the text and I think it is very good. I only added the heading and made minor changes to the introduction.


Dataset/source example: peertube

https://joinpeertube.org/ is a p2p YouTube
Downloading from it is encouraged by the platform
We could download everything from it (100k videos)

https://framagit.org/framasoft/peertube/clients/python


Add to nimble packages

https://github.com/nim-lang/packages

Along the same lines, to nimble install this package you get
 Warning: Package 'nim_win_registry' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'nim_win_registry.nim', but a file named 'registry.nim' was found. This will be an error in the future.
      Hint: If this is the primary source file in the package, rename it to 'nim_win_registry.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'nim_win_registry', then move it into a 'nim_win_registry\' subdirectory. If it's a test file or otherwise not required to build the the package 'nim_win_registry.nim', prevent its installation by adding `skipFiles = @["registry.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.

Just saw the age of this project, my bad.

Don't worry, I'm not opposed to the PR. Though since I haven't done anything with Nim for ages, I'm not sure what the best practice is for the package structure. Move registrydef.nim into a subfolder? Merge everything into one file? You probably know more than me.


cannot reproduce readme amazon example in burp 2024.8

cannot reproduce readme amazon example in burp 2024.8
after refresh, still need capcha code.
same happend in chatgpt.com cloudflare verify you are human (infinity loop)

Hey @NEX-S
I tested the extension with burpsuite_pro_v2024.8.jar and it works as expected. The example www.amazon.com behaviour was not changed. Please make sure that:

Your IP address was not blocked, the simplest way to do that is to open www.amazon.com with any not proxied browser of latest version
If the www.amazon.com doesn't show the CAPTCHA without Burp Suite, try manually change the Network setting at Settings -> Network -> TLS Negotiation -> Use custom protocols and ciphers, according to your browser TLS handshake
If you would like to add the new browser to the extension please send the ja3 fingerprint in following format "4865-4866-4867-49196-49195-52393-49200-49199-52392-49162-49161-49172-49171-157-156-53-47-49160-49170-10" and User-Agent string.

Please note, the extension is designed to bypass simple TLS fingerprint block lists, it cannot bypass aggressive bot detection.


fix: use SYS_ADMIN and SYS_RESOURCE capabilities since SYS_PERFMON is not sufficient

Related to falcosecurity/falco#2487

What type of PR is this?
/kind bug
/kind chart-release
Any specific area of the project related to this PR?
/area falco-chart
What this PR does / why we need it:
SYS_PERFMON capability is not sufficient to run falco with leastPrivileged: true, see falcosecurity/falco#2487 for details
Which issue(s) this PR fixes:
I am not sure if falcosecurity/falco#2487 would be fixed since I believe some investigation will be done on why this is the case with SYS_PERFMON, but this makes the chart usable with  leastPrivileged: true
Checklist

[x ] Chart Version bumped
[x ] CHANGELOG.md updated

Welcome @jemag! It looks like this is your first PR to falcosecurity/charts 🎉

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jemag
Once this PR has been reviewed and has the lgtm label, please assign issif for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hey @jemag thank you for the fix! before merging it we would like to investigate more on how to proceed. The old bpf probe requires SYS_ADMIN but the modern one is able to use just PERFMON and BPF so probably we will have a different security context according to the driver we use...but as i said we need to investigate a little bit deeper :)

I thought the modern-bpf wasn't able to run without privileged, given that it seems to run with privileged: true in the helm chart:
https://github.com/falcosecurity/charts/blob/6fff4e1e75c43af742596f478bf86e7723aa08da/falco/templates/pod-template.tpl#L392-L402
and
https://github.com/falcosecurity/charts/blob/6fff4e1e75c43af742596f478bf86e7723aa08da/falco/values.yaml#L69-L76
I think it is definitely great to investigate it further. That being said, if you think the investigation required could take weeks to months, then it might still be worth it to provide end-users of the helm chart a working  leastPrivileged: true in the meantime (even if this means changing this again down the line or reverting).

Hi @jemag, #506 fixes the least privileged mode for the modern bpf.

@alacuku Thanks, been pretty busy but will definitely  take a look soon


DEPS.xwalk: Roll v8-crosswalk (7c73519->108d89f)

Fix debug build failure in runtime about XWALK-3517 and XWALK-3780

your checkout is very old, please sync with master and then update the patch.


Containing directory appears empty when opening code-workspace with open file in folder with query parameter in uri

Issue Type: Bug
Our extension contributes a FileSystemProvider for the isfs scheme. When opening a workspace that contains a file open in a virtual isfs folder with a query parameter in the folder uri, the directory that contains the open file appears empty in the file explorer. For example, if the code-workspace file contains this:
{
    "folders": [
        {
            "name": "iris5:USER",
            "uri": "isfs://iris5:USER/?type=cls"
        }
    ],
    "settings": {
        "objectscript.showExplorer": false
    }
}

and we have a file User.test.cls open in the workspace from our last session, the User folder in iris5:USER will look like this when the workspace is opened:

When the codeworkspace file contains this:
{
    "folders": [
        {
            "name": "iris5:USER",
            "uri": "isfs://iris5:USER/"
        }
    ],
    "settings": {
        "objectscript.showExplorer": false
    }
}

the User folder in iris5:USER will look like this when the workspace is opened:

We expect to see the files in the User folder whether the query parameter is present or not. Clicking the refresh icon causes the files in the directory to flash temporarily then disappear again.
I added some logging to our extension and noticed that when the open file upon workspace load is in a folder without a query parameter, I see that readDirectory() in the FileSystemProvider gets called on that file's parent folder. When the open file is in a folder with a query parameter, readDirectory() never gets called on the containing folder. I have verified that this happens with any query parameter, not just type.
This issue appears to have been introduced in 1.55.0. Another one of our developers confimed that he is unable to reproduce it in 1.54.3. I looked through all issues and PRs tagged with the March 2021 milestone but didn't find any that were clearly related to this. The following 3 are the closest I could find:

#115840
#116856
#117206

For full context, see the original issue
VS Code version: Code 1.57.1 (507ce72a4466fbb27b715c3722558bb15afa9f48, 2021-06-17T13:28:32.912Z)
OS version: Darwin x64 20.5.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2900)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
32.00GB (13.48GB free)

Process Argv
--crash-reporter-id 8728ef25-68c4-4e80-aafe-921e2dc7ba3b

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

servermanager
int
2.0.5

vscode-objectscript
int
1.0.12

language-server
int
1.2.2

vscode-docker
ms-
1.14.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255:30323308
vscorehov:30309549
vscod805:30301674
pythonvspyt200:30331937
vscextlang:30333561
binariesv615:30325510
vsccppwt:30329788
bridge0702:30334633

This needs a minimal reproducible extension generated via yo code for us to look into. This extension contains a simple fs provider (maybe based on the in memory one from us: https://github.com/microsoft/vscode-extension-samples/tree/main/fsprovider-sample).

@bpasero I was able to reproduce the issue using the fsprovider-sample extension. Here are the steps I followed:

Create this workspace file:

{
	"folders": [
		{
			"name": "MemFS - Sample",
			"uri": "memfs:/?test=1"
		}
	],
	"settings": {}
}

Open that workspace with the fsprovider-sample extension enabled and use the command to generate some files.
Once the files generate, open a file in folder in a non-preview editor tab.
Open a file in large or xyz. Your window should now look like this:

Now click on the tab for file.ts to make it active. You should see the 3 files under folder disappear, but the arrow next to it is still showing that it's expanded:

Clicking the refresh button causes the files to flash, then disappear again.
Clicking the arrow to collapse or expand folder has no effect.

I can provide more information if it would be helpful. Thanks for looking into this.

@jrieken need your advice here. Internally the file service is using a ternary search tree to figure out when to stop resolving a file tree:
https://github.com/microsoft/vscode/blob/994a6c197b5a15d7b9523cb6dfd17f1dbbcb7772/src/vs/platform/files/common/fileService.ts#L197-L219
The idea is that the explorer would give a set of URIs to resolve to based on which nodes are expanded in the explorer and the file service resolves all stats for all expanded nodes.
This works fine for URIs without query param, but seems to break otherwise. See this test:
test('TernarySearchTree - for URI with query (#128151)', function () {
	let trie = TernarySearchTree.forUris<true>();

	const uriWithoutQuery = URI.from({ scheme: 'memfs', path: '/large/somefile.txt' });
	trie.set(uriWithoutQuery, true);
	assert.strictEqual(Boolean(trie.findSuperstr(dirname(uriWithoutQuery))), true);

	const uriWithQuery = URI.from({ scheme: 'memfs', path: '/large/somefile.txt', query: 'test=1' });
	trie.set(uriWithQuery, true);
	assert.strictEqual(Boolean(trie.findSuperstr(dirname(uriWithQuery))), true);
});

If this is intentional, then I will have to change my usage of the ternary search tree to store and search URIs where the query (and possibly fragment too?) parts are set to undefined.

If this is intentional, then I will have to change my usage of the ternary search tree to store and search URIs where the query (and possibly fragment too?) parts are set to undefined.

It always depends on the scheme but generally the query-part of a uri is important and nothing that should be ignored, like http://duckduckgo.com/?q=blue is something different than http://duckduckgo.com/q=red, the same is IMO true for hierarchies, e.g foo://bar/bazz?includeDotFiles=true is different than foo://bar?includeDotFiles=false. @bpasero if you want to make that decision then that's up to you.

This issue appears to have been introduced in 1.55.0. Another one of our developers confimed that he is unable to reproduce it in 1.54.3.

I am unaware of any changes in this area but maybe file service or explorer folks do. I know that there are queries and fragments in the file protocol but for all other file systems it's up to the implementors of those (and the mem-fs sample is not good/complete in that respect).

@jrieken Thank you for weighing in. I originally found this bug on our extension along with @isc-bsaviano and some other developers. What would be the next steps here?

(and the mem-fs sample is not good/complete in that respect)

If this is not a good example, what would be a good way to debug further on either that extension, our extension or some other extension?
This bug is quite frustrating for our developers so would like to get to the bottom of it ASAP. Happy to help in any way I can!

/verified


Not Source Code...

This isn't source code retard, it's just decompiled. Don't call it "full source" when that is far from the truth.

You can see all the classes in it.  The full source leaked by the dev is out there.


Update appveyor.yml

Closes #
📑 Description

✅ Checks

[ ] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed

☢ Does this introduce a breaking change?

[ ] Yes
[ ] No

ℹ Additional Information

Summary by CodeRabbit

Chores

Enhanced build configuration for improved clarity and organization.
Updated paths and commands for test execution and coverage reporting.
Added commands for generating and uploading artifacts.
Reformatted deployment section for better readability.

@gstraccini appveyor build pr

@gstraccini appveyor build commit

@gstraccini appveyor build pull request

:x: Build VTEX-SDK-dotnet 2.4.1 failed (commit https://github.com/guibranco/VTEX-SDK-dotnet/commit/f39cd63186 by @guibranco)

:white_check_mark: Build VTEX-SDK-dotnet 2.4.3 completed (commit https://github.com/guibranco/VTEX-SDK-dotnet/commit/ca7c55d08d by @guibranco)


When using tokio and HuggingFaceRemote it breaks dropping the runtime

It seems that it's trying to connect to the outside but fails to do it so and it breaks.
[2024-02-08T17:39:28Z INFO  main] "Starting assistant"
thread 'main' panicked at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/blocking/shutdown.rs:51:21:
Cannot drop a runtime in a context where blocking is not allowed. This happens when a runtime is dropped from within an asynchronous context.
stack backtrace:
0: rust_begin_unwind
at /rustc/7ffc697ce10f19447c0ce338428ae4b9bc0c041c/library/std/src/panicking.rs:647:5
1: core::panicking::panic_fmt
at /rustc/7ffc697ce10f19447c0ce338428ae4b9bc0c041c/library/core/src/panicking.rs:72:14
2: tokio::runtime::blocking::shutdown::Receiver::wait
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/blocking/shutdown.rs:51:21
3: tokio::runtime::blocking::pool::BlockingPool::shutdown
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/blocking/pool.rs:261:12
4: <tokio::runtime::blocking::pool::BlockingPool as core::ops::drop::Drop>::drop
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/blocking/pool.rs:278:9
5: core::ptr::drop_in_placetokio::runtime::blocking::pool::BlockingPool
at /rustc/7ffc697ce10f19447c0ce338428ae4b9bc0c041c/library/core/src/ptr/mod.rs:507:1
6: core::ptr::drop_in_placetokio::runtime::runtime::Runtime
at /rustc/7ffc697ce10f19447c0ce338428ae4b9bc0c041c/library/core/src/ptr/mod.rs:507:1
7: reqwest::blocking::wait::enter
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.11.23/src/blocking/wait.rs:76:21
8: reqwest::blocking::wait::timeout
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.11.23/src/blocking/wait.rs:13:5
9: reqwest::blocking::client::ClientHandle::new
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.11.23/src/blocking/client.rs:1075:15
10: reqwest::blocking::client::ClientBuilder::build
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.11.23/src/blocking/client.rs:103:9
11: cached_path::cache::CacheBuilder::build
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cached-path-0.6.1/src/cache.rs:130:27
12: tokenizers::utils::from_pretrained::from_pretrained
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokenizers-0.13.4/src/utils/from_pretrained.rs:151:17
13: tokenizers::tokenizer::Tokenizer::from_pretrained
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokenizers-0.13.4/src/tokenizer/mod.rs:445:30
14: llm_base::tokenizer::TokenizerSource::retrieve
at /home/gaguilar/.cargo/git/checkouts/llm-679a994ae16a26de/00aaf4a/crates/llm-base/src/tokenizer/mod.rs:116:17
15: llm_base::loader::load
at /home/gaguilar/.cargo/git/checkouts/llm-679a994ae16a26de/00aaf4a/crates/llm-base/src/loader.rs:382:21
16: llm::loader::load
at /home/gaguilar/.cargo/git/checkouts/llm-679a994ae16a26de/00aaf4a/crates/llm/src/loader.rs:26:5
17: domain::services::build_model
at ./domain/src/services/mod.rs:48:17
18: <domain::services::AIModelProvider as core::default::Default>::default
at ./domain/src/services/mod.rs:39:20
19: infra::rest::router::build_router::{{closure}}
at ./infra/src/rest/router.rs:50:25
20: main::main::{{closure}}
at ./api/src/bin/main.rs:31:51
21: tokio::runtime::park::CachedParkThread::block_on::{{closure}}
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/park.rs:281:63
22: tokio::runtime::coop::with_budget
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/coop.rs:107:5
23: tokio::runtime::coop::budget
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/coop.rs:73:5
24: tokio::runtime::park::CachedParkThread::block_on
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/park.rs:281:31
25: tokio::runtime::context::blocking::BlockingRegionGuard::block_on
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context/blocking.rs:66:9
26: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/mod.rs:87:13
27: tokio::runtime::context::runtime::enter_runtime
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context/runtime.rs:65:16
28: tokio::runtime::scheduler::multi_thread::MultiThread::block_on
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/mod.rs:86:9
29: tokio::runtime::runtime::Runtime::block_on
at /home/gaguilar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/runtime.rs:350:45
30: main::main
at ./api/src/bin/main.rs:39:5
31: core::ops::function::FnOnce::call_once
at /rustc/7ffc697ce10f19447c0ce338428ae4b9bc0c041c/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

Hmm, that's quite odd. I don't think this is an issue with llm in particular; this looks to be more a strange interaction with tokenizers and your environment. (We don't explicitly do anything with async - it looks like tokenizers spins up a Tokio runtime to fetch the file and doesn't clean it up properly).
If this is an issue for your application, I'd suggest fetching the tokenizer or storing it yourself. The remote functionality is provided as a convenience, but it comes with a fair few caveats; this appears to be one of them 😦


sometimes line breaks aren't saved in studio

Steps to Reproduce

Create a page
Add a table (with at least two rows)
In the first (non-header) cell, enter some text with line breaks, for example:

one

word

per

line

Enter the same text in the 2nd cell (in the same row).  Both cells should look the same now.
Save the page
open it again

Expected Behavior

When the page is re-opened, both cells should still look the same.

Actual Behavior

in the first cell, the extra line breaks are removed.
If you publish this page as is, all the words will be run onto one line.

Screenshot or Screencast
https://user-images.githubusercontent.com/430126/156170821-15a69403-af1b-49a5-ba5c-943c369a94b5.mov

I figured out what's going on, there was something we added as part of our Markdown table support (w/ custom shortcodes) that transformed \n\n to \n on save - this was done in order to avoid an issue I was seeing before with text with leading \n\n in table cells being duplicated. Happily, I removed the substitution and that issue doesn't seem to be happening! So we must have changed something else which fixed it.

@gumaerc I'm interested in your thoughts on this. I experimented a bit with different line-break replacements and looked at how they render in Hugo, and I think there's a bit of a weird thing going on.
Basically, the issue relates to Hugo rendering empty paragraphs in some circumstances where the Markdown libraries (showdown and turndown) that we're using in Studio don't do so. For instance, the following markdown string:
{{< tdopen >}}

line

break

{{< tdclose >}}{{< tdopen >}}

- and
- a
- list

{{< tdclose >}}

is transformed by Showdown (md -> html) into this:

line

break

and

a

list

which I think is basically what we want - there is not anything weird inserted around the list, it's basically cleanly transformed into normal semantic HTML.
The problem with that is that when we go to render the same Markdown string in Hugo it ends up inserting extra blank paragraphs in, like this:

line

break

and

a

list

Note the extra empty
 tags around line\n\nbreak and the empty tags before and after the
. This leads to a bit of a weird display --- since our
 tags have margin-bottom: 1rem the empty tags add whitespace.
So one idea for dealing with this might be do replace leading \n\n in the table contents with \n, but this leads to other problems - we still get some empty tags, but the HTML gets weirder. This markdown string:
{{< tdopen >}}
line

line

line
{{< tdclose >}}{{< tdopen >}}
- list
- of
- things
{{< tdclose >}}

is rendered by Hugo to this HTML:

  line

line

line

list

of

things

which also renders somewhat strangely.
possible solution
I don't see a great way to get Hugo to do exactly what we want here, but I think there is an easy workaround that would get rid of the weirdness @pdpinch that you noticed in CKEditor and also not cause any rendering / display issues with extra whitespace.
I think we should:

leave leading and trailing \n\n on table cell content by getting rid of the substitution that we currently do and
add some CSS in ocw-hugo-themes which targets td > p:empty to set display: none

Together this will mean that we have predictable empty
 tags around table cell content --- empty paragraphs will appear before and after
 tags for instance --- but we can eliminate any whitespace in the rendered content with the CSS rule.
@gumaerc I'm wondering in particular if you may know of another way we could address this, or if there's a better workaround we could do.


Updated DPC++ compiler to 2023.1.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-admin, please rerender

@conda-forge-admin, please rerender

It appears the windows build got stuck.

@conda-forge-maintainers, please restart the windows job