Command line version

This is an experimental patch that allows running from the command line instead of a web page. This is nice if (like mine) the archive is over, like, 20 GB.
Right now it does command line parsing, and progress-status is abstracted, but files are not yet read.
There are now two entry points, app.js (web) and exec.js (cmdline/node). exec.js requires npm to run, but the web version does not and can still be made by just copying files (although there is also an npm run dist command now to copy the web-only files into a dist/ directory while ignoring the command line files). app.js is included by exec.js, and parseZip is now split into a parseZip (abstracted) and a parseZipHtml (calls parseZip() to reproduce )
The big next task right now is that the File object is still nabbed directly from document.getElementById in parseZip (parseZip should not interact with document). I think the parseZip caller needs to turn whatever the input source is into a Readable/ReadableStream and pass it in as an argument. (I understood what a "Readable"/"Stream" is in js at one time, but have now forgotten.) I am also unsure if jszip.js can be used in a node context or if it must be replaced with something else. (For example I haven't yet determined what JSZip.loadAsync takes as argument and whether it could be a Readable instead of a File). It would be very inconvenient if I needed to write a wrapper object to devolve to two different zip libraries depending on context.
I changed the semantics of when the status box is appended to vs cleared and written into. But before they were possibly wrong anyway (they were inconsistent).
I had hoped to finish this early last week (I really want to delete or private my Twitter account) but another project is eating my time just now, so I thought I'd make a PR just to show upstream what I've got and look for comments. (Obviously the "modded version by andi" label shouldn't be in any accepted pull request).

Okay, major update.
The cmdline branch here now is able to load a zip, parse it fully, and write out a zip. I had to do some horrible black magic to make this work (Twitter's eval()ed code saves data in "window", so I had to make a fake "window" since that doesn't normally exist in the nodejs environment. However, there are three problems; the third is a showstopper.

Both input and output are loaded fully into memory. This creates … limitations, on how large a file you can load or save. I have not tested yet on files that are larger than 4GB.
In running with one of my test files, the field "tweets" from your code was named "tweet". I added code to address this, but it's a little alarming.
No images. This doesn't appear to be a problem with baseUrl or anything, the file listing for the out.zip simply fails to contain any images at all

Output currently looks like this— I assume the repeated word "link" is an image that failed to load.

In addition, some more comments would be nice. However the images are the killer problem.
@dariusk , or anyone else , do you know offhand why images might just be failing to get saved in the output zip at all?

Oh, also I haven't fully tested baseUrl, nor disableDirectories, nor whether I broke the original HTML-based implementation in the process (I tried not to).
Darius ,do you have any sample .zips I could use for testing? My smallest is a gigabyte.


[Feature] allow cross pkg generate

Issue
https://github.com/sunboyy/repogen/issues/41
Feature

add flag model-dir and dest-pkg
parse model package conditionally

FYI, I just pushed the new code yesterday, moving some e2e generation logic to internal/generation package. It made your PR conflict with my new changes, sorry for that too.

Looks mostly good to me. But after merging, I will consider refactoring the command line arguments. This may make breaking changes in the next release.

Ignore codecov comments in main.go for now.

i don't have the permission to merge :p


ENH: Updates to team compass

This PR adds the following changes:

:construction_worker: Updates to CI - make the messages more human readable
:construction_worker: Add HTML proofer - ensure we do not have broken links in our site
:memo: Add the following sections to the compass:

Contributing - instructions to set the development env for the compass
Add code of conduct (basically the same one from the repo)
Placeholder for the roadmap for @isabela-pf  😉

💅🏽  Also made some stylistic changes - mostly changing the font for one that has ligatures and make some colour changes
Deploy to Netlify:

Adds Pipfile to keep the versions consistent - only jupyter book atm
Update nox commands - one for CI one for local development
Adds previews (see PR comment here)

🙏🏽  I am sorry for sending so many changes in a single PR

Once this is merged - the site should be available at https://jupyter-a11y.netlify.app

The site preview looks really great!
I have two potential concerns, but maybe it's because I lack context:

When I see "contribute to this project" page, it makes me think that contributing to the project = working on the website. Perhaps the page should be retitled "Contribute to this website"? But then at some point, I imagine we want to write about how to contribute to the overall project, meaning a11y in JupyterLab, is that correct?
If I were to come to this website without much context, one of the first links I would probably click is "Learn more about the CZI grant," which takes me to the application, which is pretty big. Would it be useful to have a one-paragraph blurb on the index.html page at the top that summarizes what this website is, who it's for, and who the major players are? Again, apologies if I'm lacking context about where this site will live, how people will find it, etc.

When I see "contribute to this project" page, it makes me think that contributing to the project = working on the website. Perhaps the page should be retitled "Contribute to this website"? But then at some point, I imagine we want to write about how to contribute to the overall project, meaning a11y in JupyterLab, is that correct?

this is correct - we want to either write broader contribution guidelines for the whole initiative and point to actionable items folks can help with

If I were to come to this website without much context, one of the first links I would probably click is "Learn more about the CZI grant," which takes me to the application, which is pretty big. Would it be useful to have a one-paragraph blurb on the index.html page at the top that summarizes what this website is, who it's for, and who the major players are? Again, apologies if I'm lacking context about where this site will live, how people will find it, etc.

This makes sense - and would definitely benefit whoever stumbles with the site by chance - @gabalafou @isabela-pf  is this something any of you could add to the compass in my absence?

I gave it a quick try. I'm sure the word choice, language, and tone need to be workshopped:
Welcome! You have arrived at the homepage of an exciting project. We are Quansight Labs and we have an ambitious goal—to make JupyterLab accessible—and we would love your input and help.
In mid 2021, Quansight Labs received a two-year grant from the Chan Zuckerberg Initiative to work with Project Jupyter on making JupyterLab accessible. This website is part of our effort to stay transparent, accountable, and open to the community and the broader public.


Add prefixes to Signing and CoreDoc trees

Issue Link: #755

@lucasvo Will wait until identity updates are merged to merge this
cc @mikiquantum


chore: add explanations of destinations

Changelog

Sets up the destination configuration documentation

Except for that small comment, this LGTM!


Metrics/Comparison

Would suggest adding metrics for comparison against other validation frameworks (Joi for example) to see how much overhead this adds vs. no validation (just json stringify/parse) or input validation including valid/invalid data in both shallow and deeper object structures.  Using multiple simultaneous requests and measuring in requests per second over multiple seige runs on the same hardware.

Hi @tracker1, this is not a validation framework such as Joi.
jackson-js is about serializing JavaScript objects/values into JSON string and deserializing JSON string into JavaScript objects/values with JavaScript decorators.
This library can be useful in more complex cases, for example when you want preserves type information (similar packages are: class-transformer and TypedJSON), hide some properties for certain HTTP endpoints or some other external services, have different JSON response for some external applications or manage different JSON data coming from other applications (for example you need to communicate with a Spring Boot application that uses different JSON Schema for the same model or with other applications made with python, PHP, etc...), manage cyclic references, manage other javascript native types such as Maps and Sets, etc.
For sure there will be overhead over the basic JSON.stringify/parse. That's because, before calling native JSON.stringify/parse method (both methods are called internally by jackson-js), there is one step more to be called: the transform() method. This method is used to detect and apply the jackson-js decorators used on the JavaScript objects/values involved.
However, I could add Metrics/Comparison with basic JSON.stringify/parse (on both client and server side (Node.js)).

If there's no validation, then what does this actually offer over JSON.stringify and JSON.parse?

Does this framework validate the input at all?  I'm not sure I see the value in preserving the Object type structure in JS all that much... Of course I usually take a more functional approach to JS.

If there's no validation, then what does this actually offer over JSON.stringify and JSON.parse?

This:

This library can be useful in more complex cases, for example when you want preserves type information (similar packages are: class-transformer and TypedJSON), hide some properties for certain HTTP endpoints or some other external services, have different JSON response for some external applications or manage different JSON data coming from other applications (for example you need to communicate with a Spring Boot application that uses different JSON Schema for the same model or with other applications made with python, PHP, etc...), manage cyclic references, manage other javascript native types such as Maps and Sets, etc.

You can manipulate and manage, in a more simple way (using decorators and its options), your generated JSON and JSON data coming from other applications/services. You can customize your JSON content based on various contexts.
If you ever used the Java FasterXML/jackson annotations (probably on Spring Boot Applications), the use cases are much or less the same.
Instead, if you need to only parse and stringify basic objects/values, you can use simply JSON.parse/stringify methods.
There is a kind-of validation, for example using @JsonProperty({required: true}), but it is not  "The most powerful schema description language and data validator for JavaScript." as written on Joi website here.
So, to conclude, this library is about manipulating JSON, not validating it.

Java FasterXML/jackson annotation - http://tutorials.jenkov.com/java-json/jackson-annotations.html:

The Jackson JSON toolkit contains a set of Java annotations which you can use to influence how JSON is read into objects, or what JSON is generated from the objects.

Java tutorial and examples: https://springframework.guru/jackson-annotations-json/

Maybe still some performance comparison with https://github.com/marcj/marshal.ts? It don't have class polymorphism, but looks to be one of the fastest in this area

@maleet yes I will add performance comparison with it and others library. I'm already working on it but probably this library will not be the fastest one, also because it needs to do and check other things respect to, for example, marshal.ts.
However it seems, on my first try to improve my library, that I can achieve pretty good performance.
So, the focus of the next release is about improving performance.

@pichillilorenzo This library looks to be excellent (we've only just started with it) and should do wonders for those of us using Jackson to serialize JSON. Jackson is great at controlling the shape of the JSON it outputs and has allowed us to remove redundant fields in a number of places in our API. Unfortunately, that meant hand rolling our client side deserialization because of the limited capabilities of most similar libraries.
Thanks for the heavy lifting to get this bootstrapped 👍


Enable retain runs in Java repo.

Enable retain runs in Java pipelines.

Related: https://github.com/Azure/azure-sdk/issues/1059

/azp run java - core - ci


SpotLights with shadows enabled cause artifacts to appear in the editor

Operating system or device, Godot version, GPU Model and driver (if graphics related): Windows 10, Godot Git https://github.com/godotengine/godot/commit/409e58e67abde4e7af6e43b32c23338e119377fb, NVIDIA
SpotLights with shadows enabled cause artifacts to appear in the editor. This doesn't seem to occur in running projects, though. Also, SpotLights with very wide angles (over 90°) will look completely broken with shadows enabled, but they will look fine with shadows disabled. Tweaking the shadow bias doesn't seem to have any effect on these artifacts.
Narrow SpotLight with shadows (broken):

Wide SpotLight with shadows (broken):

Ultrawide SpotLight with shadows (broken):

Ultrawide SpotLight without shadows (working):

SpotLight in running project (working):

Spotlights should not work with angles over 90 degrees... that's probably
the bug.
If so, they are not expected to work with shadow mapping.
On Wed, Oct 11, 2017 at 12:50 PM, Hugo Locurcio<EMAIL_ADDRESS>wrote:

Operating system or device, Godot version, GPU Model and driver (if
graphics related): Windows 10, Godot Git 409e58e
https://github.com/godotengine/godot/commit/409e58e67abde4e7af6e43b32c23338e119377fb,
NVIDIA
SpotLights with shadows enabled cause artifacts to appear in the editor.
This doesn't seem to occur in running projects, though. Also, SpotLights
with very wide angles (over 90°) will look completely broken with shadows
enabled, but they will look fine with shadows disabled. Tweaking the shadow
bias doesn't seem to have any effect on these artifacts.
Narrow SpotLight with shadows (broken):
[image: spotlight_narrow_broken]
https://user-images.githubusercontent.com/180032/31451275-f9e702b0-aeab-11e7-98ab-37ac1b29ff94.png
Wide SpotLight with shadows (broken):
[image: spotlight_wide_broken]
https://user-images.githubusercontent.com/180032/31451280-fa53e4fc-aeab-11e7-85f8-5e08f0cf7058.png
Ultrawide SpotLight with shadows (broken):
[image: spotlight_over_90_broken]
https://user-images.githubusercontent.com/180032/31451277-fa07e6a6-aeab-11e7-9c59-ac856b686bdc.png
Ultrawide SpotLight without shadows (working):
[image: spotlight_over_90_working]
https://user-images.githubusercontent.com/180032/31451278-fa2d900e-aeab-11e7-8df1-0e362f4ae4e6.png
SpotLight in running project (working):
[image: spotlight_in_game]
https://user-images.githubusercontent.com/180032/31451273-f9c5ae3a-aeab-11e7-98cb-d59f46559205.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/12030, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z25fpy2UY8JAiotldZm5KE4gk78xCks5srOPXgaJpZM4P1tcn
.

Duplicate of #12028. ^^


item-name not found

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az backup protection backup-now
Errors:
Item not found. Please provide a valid item_name.
Traceback (most recent call last):
Temp\pip-install-1o1fsnhi\knack\knack\cli.py, ln 206, in invoke
azure\cli\core\commands\__init__.py, ln 608, in execute
azure\cli\core\commands\__init__.py, ln 666, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 659, in _run_job
Local\Temp\pip-install-1o1fsnhi\six\six.py, ln 703, in reraise
azure\cli\core\commands\__init__.py, ln 636, in _run_job
azure\cli\core\commands\__init__.py, ln 306, in __call__
azure-cli-core\azure\cli\core\__init__.py, ln 493, in default_command_handler
azure\cli\command_modules\backup\custom_base.py, ln 96, in backup_now
azure\cli\command_modules\backup\custom_help.py, ln 104, in validate_item
azure\cli\command_modules\backup\custom_help.py, ln 113, in validate_object
ValueError: Item not found. Please provide a valid item_name.

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az backup protection backup-now --resource-group test_recovery_vault --vault-name testvault --container-name master01 --item-name master01 --retain-until 18-10-2020 --backup-management-type AzureWorkload

Expected Behavior
Environment Summary
Windows-8.1-6.3.9600-SP0
Python 3.6.6
Shell: cmd.exe

azure-cli 2.0.81 *

Additional Context
The recovery vault and item-names are in different resource groups.

backup

@pvrk could you please advise somthing?

@hmi12 : Examples are provided here for SAP HANA. You can also use az backup item list' to get items and az backup item show` commands to view a particular database. The same parameters used for these commands will work for any item-name or container-name params in other commands.

Thank you.
How to specify the resource group of the backup item(VMs)?  because the recovery vault and VMs are in different resource group.

@hmi12 : Resource group of the VM is only required during enabling protection or first-time-backup. Once the VM is backed up, the backup item name is part of vault and hence doesn't require the resource group to be mentioned again.
In short, you don't require RG of the VM to list or show backup items.
Hope this helps.

@hmi12 Just wanted to check if the issue is fixed for you.

As there is no further action pending from the PG side, closing this issue, @hmi12 : Please feel free to reopen the issue incase its not yet fixed for you.


Simplify Chipmunk Code

@hmadej, when you are between jobs, you might want to revise the existing simplified Chipmunk code.  When we spoke the other day I mentioned that it would be nice to have a simple implementation of the 2d game physics.  This would provide us with a target for our code generation.  I forgot at the time that Luthfi implemented something last summer.  You can find it in /CaseStudies/gamephys/code.  Luthfi got a subset of the original chipmunk to work for the simulation of a simple physics simulation.  It isn't for game play anymore, just for setting up a scene and running it.
I had a quick look at the code and it still seems more complex that what we would target with code generation.  Can you have a look at the code to see what we could simplify?  As you refactor the code, you can test it be making sure that the test cases Luthfi wrote continue to work.  You might also want to add additional test cases.

do you want test cases for all the modules as well? right now I think there is only test cases for vector and bounding box.

Yes, we eventually want to test all of the modules.  I thought there was a test for an object falling under its own weight, but I might be mis-remembering.

Yes, we can close this issue.  Someday we might want a manual implementation of the game physics engine, since Chipmunk is more complicated than we want as a starting point.  This isn't a high priority though.  We don't even know for sure what direction we'll go in for the code generation for the game physics engine.  It makes more sense to get some of the other examples working first.


chore(deps): Dev dependencies updates

Update of dev dependencies and ran npm audit fix.
With this we've gone from over 50K vulnerabilities to:
found 417 vulnerabilities (415 low, 1 moderate, 1 high)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Publish 0.15.4 on OperatorHub

Publish 0.15.4 on OperatorHub
Similar to https://github.com/knative/operator/issues/156

/assign


More link fixes

Fixes broken links to nodejs documentation (fragments were renamed).
Stops resolving local fragment anchors in imported plugin/loader README's to https://raw.githubusercontent.com
Closes #2023

Thanks


travis: install solc dependencies if binary present in cache

solc has many library dependencies that are installed from package repositories, but are not cached by Travis between builds. The solc sources and built binary are cached, though.
Current custom installation script for solc skips installing the dependencies, which results in broken builds.
This PR attempts to install the dependencies.
FIXME: animal pic missing (will add if build passes).

Uh, I'll try to fix this in my own Travis first. Sorry for the noise, closing.

No problem.  I'd still recommend at least trying to copy/paste the setup from populus as it's what this evolved into.

Eventually... I've gotten through this, now the tests have a valid fail due to web3.py API changes (will file issue).


Same CSS is injected into HTML over and over again

I get the following output in my HTML, any ideas?

I think this is just how webpack performs HMR for styles, but may be wrong. Closing due to my inability to answer issues in a timely manner (and also based on the former assumption).


Normalise non-octal integer file modes

Describe the bug
When using files.directory with mode="u=rwx,g=rwx,o=rwx", the operation will always perform a chmod on the existing directory, even though the permissions are correct.
This is due to the fact that we compare the current permissions 777 to the requested mode u=rwx,g=rwx,o=rwx,  which are different strings.
To Reproduce
files.directory(
    name="Create directory",
    path="/home/mydirectory",
    mode="u=rwx,g=rwx,o=rwx",
)

--> Preparing operations...
    Loading: tasks/directory.py
    [pyinfra.api.operation] Adding operation, {'Create directory'}, opOrder=(0, 25), opHash=d01788291140ae301495a252443951382c4e61df
    [pyinfra.api.facts] Getting fact: files.Directory (path=/mydirectory) (ensure_hosts: None)
    [pyinfra.connectors.ssh] Running command on host07: (pty=None) sh -c '! (test -e /mydirectory || test -L /mydirectory ) || ( stat -c '"'"'user=%U group=%G mode=%A atime=%X mtime=%Y ctime=%Z size=%s %N'"'"' /mydirectory 2> /dev/null || stat -f '"'"'user=%Su group=%Sg mode=%Sp atime=%a mtime=%m ctime=%c size=%z %N%SY'"'"' /mydirectory )'
[host07] >>> sh -c '! (test -e /mydirectory || test -L /mydirectory ) || ( stat -c '"'"'user=%U group=%G mode=%A atime=%X mtime=%Y ctime=%Z size=%s %N'"'"' /mydirectory 2> /dev/null || stat -f '"'"'user=%Su group=%Sg mode=%Sp atime=%a mtime=%m ctime=%c size=%z %N%SY'"'"' /mydirectory )'
[host07] user=myuser group=users mode=drwxrwxrwx atime=1654053482 mtime=1654053482 ctime=1654053501 size=6 '/mydirectory'
    [pyinfra.connectors.ssh] Waiting for exit status...
    [pyinfra.connectors.ssh] Command exit status: 0
    [host07] Loaded fact files.Directory (path=/mydirectory)
u=rwx,g=rwx,o=rwx {'user': 'myuser', 'group': 'users', 'mode': 777, 'atime': datetime.datetime(2022, 6, 1, 3, 18, 2), 'mtime': datetime.datetime(2022, 6, 1, 3, 18, 2), 'ctime': datetime.datetime(2022, 6, 1, 3, 18, 21), 'size': 6}
    [host07] Ready: tasks/directory.py

--> Proposed changes:
    Groups: ** / **
    [host07]   Operations: 1   Commands: 1

--> Beginning operation run...
--> Starting operation: Create directory
    [pyinfra.api.operations] Starting operation Create directory on host07
    [pyinfra.connectors.ssh] Running command on host07: (pty=None) sh -c 'chmod u=rwx,g=rwx,o=rwx /mydirectory'
[host07] >>> sh -c 'chmod u=rwx,g=rwx,o=rwx /mydirectory'
    [pyinfra.connectors.ssh] Waiting for exit status...
    [pyinfra.connectors.ssh] Command exit status: 0
    [host07] Success

--> Results:
    Groups: ** / **
    [host07]   Successful: 1   Errors: 0   Commands: 1/1

Expected behavior
We should be able to see that 777 and u=rwx,g=rwx,o=rwx are the same.
Meta
v2.1

This should definitely work as expected; this part of the codebase hasn't been touched in a very long time; here's the attempted normalisation:
https://github.com/Fizzadar/pyinfra/blob/dfad6ef512781407187ef91434388e6d705f2d3c/pyinfra/operations/util/files.py#L12-L25
The files.* facts all output octal values so would be good to have the above function also convert other variants such as your example.

This should definitely work as expected; this part of the codebase hasn't been touched in a very long time; here's the attempted normalisation:

Do you mean that the existing code should be enough the have my example working ?

Do you mean that the existing code should be enough to have my example working ?

If/once #830 is resolved it should work, but that is required first to normalise the different mode style.

Updating this issue to reflect the need to parse non integer mode values for comparison with fact data to fix this. Currently mode must be an octal value for changes to be calculated correctly; otherwise chmod will always be executed.
Will first show a warning for this and document it. Actually doing the normalise is quite complex because it requires knowing the default values from umask.


require.js (AMD) support broken in 2.0.0(-beta1)

In src/core/core.js:
if (amd) {
	define(function(){
		return Chart;
	});
}

the amd variable is never defined. I propose a standard AMD check:
if (typeof define === 'function' && define.amd) {
	define(function(){
		return Chart;
	});
}

See jsfiddle for an example.

I'm not sure why that version doesn't have the require headers. In beta1 we moved to a slightly different build. If you try the lastest built files in Github, do they work?

Latest build from v2.0-dev branch is ok: jsfiddle

Closing since latest build in v2.0-dev branch works.


Language switch only starts to work on second request

The direct response does not use the new requested language.

Weird. In the frontend? Can't reproduce it right now on the MRMCD installation.

Hmpf. Seems to be fixed. Let's attribute it to a caching issue.


Where is this package naming exception coming from?

System.ArgumentException: The package ID 'company_public' contains invalid characters.
Examples of valid package IDs include 'MyPackage' and 'MyPackage.Sample'.
   at NuGet.PackageIdValidator.ValidatePackageId(String packageId)

Looks like I can't use an underscore, but where is that coming from? I've changed the solution name, the root namespace, removed all references to that name (except for filepaths), deleted the bin folder, and tried publishing with Delete all existing files prior to publish ... and it's still throwing.

Looks like it was coming from a filepath. Changing folder names and updating filepaths silenced it.

I had exactly the same problem from one day to another...
Note: I have stored the project on a mapped network-drive and load it in VS2015 (Update1) from there.
All to the project (directory on the network-drive, solution and project was named "MG_Test1" and have worked until Nov. 18 2015, but strange wise has stopped to work at Nov. 19 2015 (without any change from my side).
Yesterday, I have worked with the project without problems..
Today, I had the problem abruptly - very strange!
I then also first have tried to rename the project in VS without success and then found this message.
The solution (for now - hope this remains stable) was, to create a new project-directory without the underline (_) and then copy the content of the "old" directory (\MG_test1) to the new directory
(\MGTest1) and the reopen project from the new directory (note: the solution- and the project-name is still MG_Test1).
I cannot comprehend this behavior (maybe it's a VS2015 problem that will reappear).

I looked it up ... https://docs.nuget.org/create/package-conventions ... and it states:

Namespace-like names: Package IDs should follow a pattern similar to namespaces in .NET. For example, Ninject.Mvc3 instead of Ninject-Mvc3.

Unfortunately, https://msdn.microsoft.com/library/ms229026(v=vs.100).aspx and https://msdn.microsoft.com/en-us/library/ms229026.aspx don't talk about the actual allowed characters.
In General Naming Conventions at https://msdn.microsoft.com/en-us/library/ms229045.aspx, it states ...

X DO NOT use underscores, hyphens, or any other nonalphanumeric characters.

 I actually need these two libraries and I am sure the same thing is happening here.


stackit_dns_record_set enforces a valid IP Address always

stackit_dns_record_set can be used for multiple record types, and not all of them are IP Address (e.g: CNAME, TXT,..) but the resource requires always the IP validation:
https://github.com/stackitcloud/terraform-provider-stackit/blob/28907ba33e0a1211ff03ee5a44729d66eccf6ed2/stackit/internal/services/dns/recordset/resource.go#L154-L163
The problem is that the validation doesn't check if the type of the record requires it either:
https://github.com/stackitcloud/terraform-provider-stackit/blob/28907ba33e0a1211ff03ee5a44729d66eccf6ed2/stackit/internal/validate/validate.go#L59-L74
As result of this, I'm getting a validation error when I try to set a TXT record:
Attribute records[0] value must be an IP address, got: v=spf1 a mx include:xxxxxxxxx ~all
and almost the same for a CNAME record:
Attribute records[0] value must be an IP address, got: xxxxxxxxxx.stackit.org

you can assign it to me. I'lll work on it asap xD

This issue is fixed on the v0.13.0 release.


[docs] Update URL in net_api_plugin description

Change Description
Link was not linked to precise location and link text had room for improvement, added better link and link text.
Change Type
Select ONE

[x] Documentation

[ ] Stability bug fix

[ ] Other

[ ] Other - special case

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

Replaced by PR #9728 since it's currently impossible to pass all buildkite tests for forked PRs.


Context is skipped?

Hi,
Just a quick question just to be sure. Context of translation is skipped right? So if I will add translation to "statistics_page" context, it will be flattened/skipped on the end right?

Hi there,
Yes context will be skipped, if you would like to use context. I could add an optional feature to the package. You'd have to set a config option in order to get the context to be added in the translation.
Sven

Could you? 🙏 This would be awesome. That it would mean that your package is complete solution since context is pretty important if you have a lot of pages and you would like to prefix them all 👍

Yeah sure! Would be a great addition to it.


⚠ ClamAV has degraded performance

In f8a375f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 225 ms

Resolved: ClamAV performance has improved in f8efb4f.


Fixed command for installing python via apt-get and yum by using sudo

When I use a "Template 2: Bash Web Server" with non-root user and password-less sudo, I've got a error because I don't have any python installed. We should use sudo command for installing python.

@jongyoul thanks for fixing!
I presume you have already signed the apache Contributor License Agreement, when working on the Apache Zeppelin project? Therefore happy to merge.

@aledsage I've already signed CLA. Thanks for merging it. I'm trying to find the reason why CI fails.


Clean-up and consolidate pulse/channel parameters

[x] Move more sequence file boilerplate to parameter files
[x] No hardcoding of marker channels
[ ] Move to logical rather than IQkey keys
[x] Consolidate fixedPts and cycleLengths

PatternGen is now deprecated. Use QGL (in PyQLab) instead.


Remove illuminate

Pull Request
What does this PR do?
Fixes #<issue_number>

PR checklist
Please check if your PR fulfills the following requirements:

[ ] Does this PR fix an existing issue?
[ ] Have you read the contributing guidelines?
[ ] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Closed by https://github.com/meilisearch/meilisearch-symfony/pull/203


Link doesn't work on editor field on Firefox

Not linking itself, but when I click on the link button, it doesn't do anything.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31012972-link-doesn-t-work-on-editor-field-on-firefox?utm_campaign=plugin&utm_content=tracker%2F2030945&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2030945&utm_medium=issues&utm_source=github).

fixed with the new implementation of the editor field.


Added missing InputEvent documentation

An issue I stumbled upon is: How should one list all the relevant input event types if the list were to exceed three examples (e.g. xformed_by)?

An issue I stumbled upon is: How should one list all the relevant input event types if the list were to exceed three examples (e.g. xformed_by)?

I think the way you did it is fine as is.

Thanks!

Cherry-picked for 3.1.2.


Add windows to travis CI config

as I get a fault during cargo test when running locally and as appveyor did not start for #10 tying this.

hmm got the same fault as when I run locally

Thanks for the PR! I think there's an error on CI though?

yes I got the error on my computer also but can not find what the problem is. tried to use the rustc version and commit that was used in the latest appveyor run but got the same fault then also.

This error may just mean that there's software like make installed on AppVeyor and not on Travis? I'd personally prefer to stick to AppVeyor to add CI if necessary


[Feature][Master] master donot failover the yarn task

Search before asking

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

Description
The yarn task would run on remote cluster,  so it's not necessary to failover the yarn task when worker down.
If worker down,  other worker can continue to monitor the status of yarn task, but not kill yarn and rerun it.
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

I will complete this issue，please assign to me


More Drive things to do

[ ] Test NEO encoder resolution

[x] Write code to use the IMU!

[ ] Attempt to implement velocity PID

[ ] Tune turn to angle PID

[ ] Path following for autonomous

You can find some more details about the IMU:
http://www.ctr-electronics.com/sensors/gadgeteer-imu-module-pigeon.html

https://github.com/chopshop-166/frc-2019/blob/2020-Update/src/main/java/frc/robot/subsystems/Drive.java#L173 PID Controller from last year (ish)

With all of the free time you have now, trajectory following should really be a priority of yours. It's not terribly hard to get working in my opinion.

I agree that trajectory following is a priority, which is why we have it on this list. Unfortunately, due to the pandemic we are unable to meet to refine any trajectory code. We'll keep this in mind moving forward and into the summer.


add finetuning test for mpt-7b-chat with hpu

Type of Change
CI test for finetuning mpt-7b-chat with hpu

will you add test for multi-card?

will you add test for multi-card?

If it's a requirement, I can add it. @VincyZhang what's your opinion?


If port is not set on server, it would show a PHP warning

When running the command like this:
dbdiff --type=schema<EMAIL_ADDRESS>...

It would throw a PHP warning:
PHP Notice:  Undefined offset: 1 in /var/www/DBDiff/src/Params/CLIGetter.php on line 60
PHP Stack trace:
PHP   1. {main}() /var/www/DBDiff/dbdiff:0
PHP   2. DBDiff\DBDiff->run() /var/www/DBDiff/dbdiff:8
PHP   3. DBDiff\Params\ParamsFactory::get() /var/www/DBDiff/src/DBDiff.php:19
PHP   4. DBDiff\Params\CLIGetter->getParams() /var/www/DBDiff/src/Params/ParamsFactory.php:13
PHP   5. DBDiff\Params\CLIGetter->parseServer() /var/www/DBDiff/src/Params/CLIGetter.php:31
Notice: Undefined offset: 1 in /var/www/DBDiff/src/Params/CLIGetter.php on line 60
Call Stack:
0.0004     221848   1. {main}() /var/www/DBDiff/dbdiff:0
0.0642     884144   2. DBDiff\DBDiff->run() /var/www/DBDiff/dbdiff:8
0.0662     892920   3. DBDiff\Params\ParamsFactory::get() /var/www/DBDiff/src/DBDiff.php:19
0.0702     930520   4. DBDiff\Params\CLIGetter->getParams() /var/www/DBDiff/src/Params/ParamsFactory.php:13
0.1079    1202096   5. DBDiff\Params\CLIGetter->parseServer() /var/www/DBDiff/src/Params/CLIGetter.php:31

Another great PR @berlinger-peussen !
Will merge shortly after giving it a test locally ! (Just want to make sure the port is defaulting to 3306 !)


Entities not showing up on HA dashboard

Hi all,
I'm after setting up 5 of these ESPAltherma systems and I'm encountering a recurring issue.  The entities on the dashboard show "No Statistics" even though when I listen for the topic "#" on the MQTT configure page I see the correct data coming in for that specific entity.  Not sure what mistake I've made.
See below:

If you notice the Outdoor Air Temp value is sent by the M5 Stick to the MQTT Broker but when I look at the dashboard I get nothing.  Now I'd be happy to just extract the MQTT data directly through the SQLite Web method as described here: https://community.home-assistant.io/t/export-history-to-csv/46901/18
If anyone has any ideas I'd appreciate the feedback.  I hope I've explained it clearly!

have you created the template sensors: to pull the MQTT device attributes into HA as entities ?


updated the title

updated the title under the field ocean science, blog #2

made changes as per the requirement

This either needs fixed again or canceled & redone. It is showing that there are conflicts with the branch.

I'm looking into it.

I hope its fixed now.


receive feedback not working

error: received malformed connection status: CHG /MEDIA/XP/VIDEO.DestinationConnectionStatus=0;I2;I18;I18;I22;I22;I22;I24;I24;I17;I17;I18;I17;I5;I6;I1;I2;I14;I4;I7;I8;I6;I5;I4;
Companion 3.0.1 don't get any feedback of the Matrix via LW3.

For me the 'route' Feedback is not working in Companion 3.0.1+6068-stable-a05a9c89, connected to an MX2-24x24-HDMI20 with LW3.
Actions work fine as well as the select feedbacks.

Looks like the code doesn't take "unroutet" outputs into consideration when parsing messages.
if (inputs[0].match(/^I\d+$/)) (index.js, L832)
This currently only checks for elements starting with an "I", followed by any number.
To also check for empty outputs, it should additionally check for elements that are "0" within the regular expression.
if (inputs[0].match(/^(I\d+|0)$/))
@kaibueden to resolve this issue for now, you could try to route any input to output 1 so it's not "0" and raising the error.
@josephdadams (or any other contributor) could you please fix this directly? I'm not familiar with pull requests, unfortunately. Thanks a lot!

I have made the change you suggested and pushed that into v2.0.5


#2752 regrettably introduces a serious bug

What Ruby, Rails and RSpec versions are you using?
Ruby version: 3.3.3
Rails version: 7.1
RSpec version: 6.1.3 (vs working, 6.1.2)
Observed behaviour
The reset behaviour occurs in between the suite's config.around :each (e.g. in spec_helper.rb) and any context/describe block's before :each ... (or more generally, before examples thereafter run). This breaks any tests which had current attributes set up in the config, upon which tests subsequently rely. This bug is the reason for https://github.com/ErwinM/acts_as_tenant/issues/338.
Expected behaviour
We strongly suggest that the reset should happen either after all other "each"-style example hooks have concluded, or before any "each"-style example hooks start. It should never happen invisibly in between "each"-style hooks.
The inclusion of ActiveSupport::CurrentAttributes::TestHelper within RSpec::Rails::RailsExampleGroup is not IMHO all that wise, because it can only work if the implementation therein has a particular defined way of doing something that's directly compatible with any other callback chains and callback ordering in the wider scope of tests. That's simply not the case, as we can see. The ActiveSupport implementation seems to be over-zealous, resetting both before and after examples run (from RSpec's perspective):
  def before_setup
    ActiveSupport::CurrentAttributes.reset_all
    super
  end

  def after_teardown
    super
    ActiveSupport::CurrentAttributes.reset_all
  end

...and it seems to me that just the after_teardown callback is all you actually need to achieve the functionality that #2752 desired, without breaking existing tests; you could simply do that directly inside RailsExampleGroup in place of include ActiveSupport::CurrentAttributes::TestHelper. This would get around a lot of issues I suspect, but it is clearly still not perfect - you are not controlling callback order here - there's still an edge case chance that someone's spec_helper.rb might have its own after-example code in a config.around :each or config.after :each which expects to do things with whatever is expected to be still inside CurrentAttributes, other than just resetting. That's why we recommend making sure somehow that this action is either done first in the callback chain (or at least before any "user defined" callbacks run), or last, after any "user defined" callbacks, per example.
Can you provide an example reproduction?
Yes. A tiny stripped down almost-Rails application with README.md containing additional information and a replication test case is included.
rspecbug.tar.gz

Have you checked if the solution to clean only in after_teardown works?

@pirj I hadn't, so I just hacked that into the "live" gem via bundle open:
# ...
      if ::Rails::VERSION::MAJOR >= 7
        include RSpec::Rails::TaggedLoggingAdapter
        def after_teardown
          super
          ActiveSupport::CurrentAttributes.reset_all
        end
        include ActiveSupport::ExecutionContext::TestHelper
      end
# ...

(...which is ugly as sin and I'm not suggesting that code formatting style - comments would help, too!) and then:
$ bundle exec gem list rspec-rails

*** LOCAL GEMS ***

rspec-rails (6.1.3)

$ bundle exec rspec -f d

Reset of ActiveSupport::CurrentAttributes
==> RSpec: config.around :each
++> Class: Setting 'Current.canary' to "spec_helper.rb \"config.around\""
--> Tests: before :each
++> Class: 'Current' WAS RESET
  works

Finished in 0.00118 seconds (files took 0.87574 seconds to load)
1 example, 0 failures

...so that looks pretty successful, but do note the caveats that this doesn't really fix the problem, it just pushes it into a more unlikely edge case.

Will it push the problem even further if we use append_after?
It’s not the first time we have hook order issues.

@pirj
Sorry for delayed response - timezones; i'm in New Zealand.
Callback ordering can indeed be a royal pain! You need to put something on the tail of the around-each callback chain - since around-each is the "outermost" (according to this reference). In pseudocode, what we need to achieve is akin to:
append_to_tail_around :each do | example |
  example.run()
  ActiveSupport::CurrentAttributes.reset_all
end

RSpec Core should never be depending on anything to do with Rails' current attributes, and any "user" code that tries to append after RSpec Core & RSpec Rails's own callback chains is just asking for trouble anyway. Going to the end of the after-each callback chain is probably not sufficient because the around-each hooks run after those, which is why I think you need to append to the tail of around-each and that should be sufficient. You need to be the "outermost Russian Doll". Beware, though, I'm very much not an expert in the implementations of the RSpec family and, depending on how its internal callback chains actually map to what the API exposes as around-vs-after-hooks, append_after might be fine.

NB - If you wish I could try to work up a PR for this. The thing that I hesitate over is testing - I've no idea how to "prove" something breaks before, and works after this fix, given I'd need to do a config-level before-each then an example level before-each and can't figure out how to do emulate that within RSpec Rails's own test suite.

Right. So it’s a matter of the right loading of RSpec.config blocks that define config.around hooks.
But we config.include specific example groups, and some of them define hooks](https://github.com/rspec/rspec-rails/blob/8c17b4e5020a4d264e8a79e294c58b5c1ef2b005/lib/rspec/rails/example/system_example_group.rb#L173).
An around defined in such way would run before an around defined directly with config.around like it is in acts_as_tenant, so this won’t help.
You can check the ‘features’ directory, there are some examples on how to define config-level hooks.

A couple of things here, firstly rspec-rails is a way to bring test helpers and behaviour from Rails across into RSpec, this means that we try to adopt the same behaviours as testing apps in Rails own test helpers [which are minitest based], so this behaviour is an unfortunate side effect rather than serious bug in my opinion.
We implement minitest's life cycle like this:
    module MinitestLifecycleAdapter
      extend ActiveSupport::Concern

      included do |group|
        group.before { after_setup }
        group.after  { before_teardown }

        group.around do |example|
          before_setup
          example.run
          after_teardown
        end

This is because of our own precedence around hooks, around happen first because they can skip the example and don't have access to the instance, and before / after happen in the context of the hooks. See the documentation for around for warnings: https://rspec.info/features/3-13/rspec-core/hooks/around-hooks/

WARNING: around hooks do not share state with the example the way before and after hooks do. This means that you cannot share instance variables between around hooks and examples.

WARNING: Mock frameworks are set up and torn down within the context of running the example. You cannot interact with them directly in around hooks.

WARNING: around hooks will execute before any before hooks, and after any after hooks regardless of the context they were defined in.

So the problem is actually using an around hook to set state, really it should be before/ after to respect both our and Rails semantics...

@JonRowe I'm sorry but that's just not a good answer.
You're talking about RSpec Rails invisibly resetting some state in between hooks and doing this before a test runs. If you at least only did it after, that might help.
I really don't hope this turns into one of those depressing intransigent arguments about design patterns or ethos when what we have here is a bug that's breaking people's tests, is trivially easy to fix, and you have someone offering to do that work for you.
I would hope you'd jump at the chance.

It's really a question of whether or not we obey semver. The simple unfortunate fact is: a patch version broke working client code that's not doing anything the docs prohibit.
So, we can introduce a breaking change in a patch version and say "forget semver" - which I'd rather strongly object to, NPM shows us the hellscape that we enter if we do that! - or we can come up with a way to resolve the breaking changes. It won't just be our test suite or anyone using ActsAsTenant having issues here and it took us a long time to figure out what was wrong since, of course, you absolutely do not suspect going from 6.1.2 to 6.1.3 of just about anything to have caused the issue, and the manifestation was so bizarre - one minute in our test suite something is set, the next minute it's just gone, and this was invisible to our code.
Very hard to debug.
The short-term fix here would honestly be to keep things simple - remove this change and don't reset current attributes. Then the community can discuss how it might want to approach that, either by changing docs, version number strategies, etc. etc. and we can move forward without RubyGems holding a landmine that people might step on.
In the mean time I can produce a PR, but Jon has been pretty clear that he wants things to just call existing Rails code so I'm loathe to spend time on this unless he's open to the idea of seeing what the code looks like.  The gem's his baby after all.

just call existing Rails code

"just" is an exaggeration. If you glance over adapters or fixtures, you'll see it's not always that simple.
So please proceed with the PR with no doubts.

So please proceed with the PR with no doubts.

OK, no worries! I'll get onto it (and do the best I can to keep within the spirit of Jon's concerns).

@JonRowe / @pirj - I've implemented https://github.com/rspec/rspec-rails/pull/2774 which tries to keep within the spirit of implementation Jon describes and provides a compromise solution that should work for pretty much everyone. Details in the PR. Feedback very welcome! If the implementation isn't controversial, I can imagine that the test code might be...
Should I be updating the topmost 'development' section of Changelog.md in PRs too, or is that done by whoever merges stuff?

This seems related, but the related PR stalled.


Fix typos in "Helper Sass Mixins" code

Looks good. You can ignore the broken tests, they shouldn't be running on gh-pages - not sure why they are here.


[Task] Improve the unit test coverage of shenyu-plugin-dubbo

Description
At present, the unit test coverage of shenyu-plugin-dubbo is not high，and I will increase it.
Task List
No response

I assign for me, You can try other modules

it be merged， i will close this， thanks for contributor~


Exit on non Eth tokens requires addToken beforehand might have security issue

Issue Type

[ ] bug report
[0] feature request

Current Behavior
In the current contract design, for a non-ETH token to exit (SE or IFE) need to make sure it calls addToken beforehand.  If a mass exit happens, this might lead to users fail on their attempt to exit.
related PR: https://github.com/omisego/plasma-contracts/pull/76 (The PR added doc, but probably better to have a bit more action)
Expected Behavior
Either let users clearly understand this or not make this an issue at first hand.
Steps to Reproduce
N/A
Suggested Fix

Some possible solutions:

Provide warning, eg. on watcher status.get -> "event": "your_utxo_uses_unadded_token" So users could be aware of it.
Force a deposit to fail if not addToken already
Deposit magically addToken if not added already
Reimplement PriorityQueue that accepts multiple coins, then no more issue. (AddToken basically creates an empty queue for that token)

Motivation for Change
as explained in Current Behavior
System Specs
N/A

For future reference, a very old slackthread on this, that didn't make it to here:

boolafish  8 months ago
hmmm…BTW shall we allow deposit before addtoken?
the process feels a bit not so intuitive
piotr  8 months ago
yyyeah, well, true. The drawback would be that all new-comers would need to make this extra (and expensive) step do even start fiddling around. So usability vs security again (security because if one "forgets" to addToken and mass-exit-time comes, one'll be caught with their pants down)
so maybe, we could add it as something for the Watcher to watch :thinking_face: . status.get -> "event": "your_utxo_uses_unadded_token"
boolafish  8 months ago
ouch, haven’t thought of security part. hmmm yeah feel like at least need some way to handle it.
or can we just add it magically on deposit XDD
piotr  8 months ago
ah true that too, but then it is a confusingly expensive deposit (500K gas vs 80K gas IIRC)
so you have to handle that somehow
boolafish  8 months ago
does extra 420k only holds for first deposit or would be for all deposits?
piotr  8 months ago
for the first, this is the whole problem - you then need to
1/ call is_added_token
2/ gauge gas based on the response
to avoid sending 500K always and hoping for a refund of that 420K, which would be bad (edited)
but actually this pattern could be the least complicated
ah there's one more option: reimplement PriorityQueue so it holds multiple queues, problem gone

Except the multi-queue-PriorityQueue already got experimented with :point_up:

also note that today, with ALD, this applies to addExitQueue not addToken


Track Screen missing key information

The track screen only shows name of track and name of session.

In order to have a user experience that provides value to user, please implement a better user experience and keep number of clicks down.
The following screen shows one the session info on the track page of the OpenTechSummit web app

In the Android app implement the following:

[ ] Track name is not always fully shown
[ ] Add information on track page including

[ ] Date and Time of session
[ ] Name of session
[ ] Name of speaker/s
[ ] Microlocation

[ ] In click - implement expansion of area to show more info similar to web app here http://2016.opentechsummit.net/programm/

Ok @mariobehling I'll work on this.


Roll Packages from 0826798d73b8 to 32c120ff6af7 (4 revisions)

https://github.com/flutter/packages/compare/0826798d73b8...32c120ff6af7
2023-03-24<EMAIL_ADDRESS>Adding autosubmit configuration pointer file (flutter/packages#3521)
2023-03-24<EMAIL_ADDRESS>Manual roll Flutter from 250a6c294264 to d79f3aab0fa8 (18 revisions) (flutter/packages#3535)
2023-03-23<EMAIL_ADDRESS>Roll Flutter (stable) from 2ad6cd72c040 to 90c64ed42ba5 (3 revisions) (flutter/packages#3533)
2023-03-23<EMAIL_ADDRESS>Return value when pop (flutter/packages#3368)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Lazily connect to the Redis

Currently when a Redis instance is created, a connection to Redis server is established at the same time. Let's add an option to enable lazy connecting that the connection wouldn't be established until a command is invoked.

The feature has been implemented?

@adoyle-h Yes, refer to https://github.com/luin/ioredis/blob/master/API.md for lazyConnect

I get it. thanks

There is a bug right now, if u set lazyConnect = true, still Redis can connect itself without you calling .connect(), just use any redis commands.


Error: Plugin Geolocation failed to install, Intel XDK

I've removed the plugin and added again with Intel XDK and the build fails with the message Error: Plugin Geolocation failed to install.
I try to know why, but I couldn't find the solution. Then, I sow that recently you release a new tag (0.9.3) and the Geolocation Plugin Dependency was with the suffix ios-fix. So I suppose the error was in that new dependency.
When I specify the 0.9.1 tag, that builds OK.
Thank you

Actually in 0.9.3 dependency on cordova-plugin-geolocation was removed completely

Yeah, but it depends to another plugin, cordova-plugin-geolocation-ios9-fix and that was the build failed cause. I don't test building with local cordova command line. The error was in XDK.
Thanks.

No it does not in 0.9.3. Nuke everything and start fresh. Not sure how can be that done on intel XDK.
On pure cordova:
rm -rf platforms/ plugins/
cordova platform add android
cordova build android

Ok, I will try that way.
Thanks

Any news?

Sorry. I didn't try again. I'm using the 0.9.2 version without problem.
Later I will try becouse my timeline is to close, so I must to complete the first version.
Thanks!

Ok, no problem. Thank you for the update. Closing for now. You can reopen if needed.


prevent user overwrite default configuration

prevent user overwrite some default configuration.
fixes #421

Codecov Report

Merging #469 (2f4490d) into main (a2aa4bb) will decrease coverage by 0.27%.
The diff coverage is 8.16%.

@@            Coverage Diff             @@
##             main     #469      +/-   ##
==========================================
- Coverage   50.44%   50.16%   -0.28%
==========================================
  Files          72       72
  Lines        7835     7884      +49
==========================================
+ Hits         3952     3955       +3
- Misses       3534     3580      +46
  Partials      349      349

Impacted Files
Coverage Δ

file/validate.go
30.98% <8.16%> (-55.38%)
:arrow_down:

Continue to review full report at Codecov.

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

feedback from https://github.com/Kong/deck/pull/441 hasn't yet been addressed. Please add tests and resolve the nil reference issues.

feedback from #441 hasn't yet been addressed. Please add tests and resolve the nil reference issues.

Tests are added, and nil reference was removed if I understand correctly.


Implement kitsunet PoC

Implement the kitsunet PoC https://github.com/MetaMask/kitsunet-js/pull/2

@bdresser here is the issue

I actually posted an issue (not related to this) here: https://github.com/MetaMask/metamask-extension/issues/5776
I'll send a pull request in a few days to review.


Why while installing it is showing a segmentation fault ? I have all the requirements installed and checked.

Try the other forms of installation

I have the same issue on Arch linux. It does install inside a ubuntu 24.04 docker container. Not sure if this will lead to other issues later.

@leruaa

@mahmudsudo @joske We will publish a release that fix this issue soon, but in the meantime as a workaround you can install SP1 with the following command:
SP1UP_VERSION=v3.0.1-alpha-b976ea6e sp1up

It will uses a (fixed) pre-release.


registerAlias should return wildcard subdomain URL

Tangentially related to #152, we need the Go server itself to understand that wildcard subdomains are enabled, because room.registerAlias should return the alias URL in the format of alice.room.com if wildcard subdomains are used by the room.
A bare minimum solution is to have a CLI argument like -wildcardaliases which then informs the implementation that it can concatenate Alias.Name with h.roomDomain to create alice.room.com, instead of router.CompleteAliasResolve.
But we can consider other more elegant solutions.
The importance of room.registerAlias returning the subdomain is that this will be used by client applications to publish an about msg on SSB self-declaring their alias URL. Client apps can't independently guess what their alias URL is (concatenating the input name plus the multiserver address's host part) because not all rooms will support subdomains, so instead of the client apps doing guess work, the muxrpc should answer what is the truth.

But we can consider other more elegant solutions.

I'd say we should have this on the settings page just like the default language. I'd just wait for #143 to go through first while I lay some groundwork in #162.

@cryptix Yes, Settings page would be decent for this!


⚠ Bofrost.at has degraded performance

In 9490957, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1207 ms

Resolved: Bofrost.at performance has improved in 6bd42e2 after 14 minutes.


Fields with decimals throws an error

If we have decimals in the field num's then we get an exception.  This is a 'valid' ISO message scenario, for example in Postilion Payment Switch interface they do have this a lot and we need to cater for this.

To Reproduce
Use below config file
<?xml version="1.0" encoding="UTF-8"?>

<n8583-config>

    <header type="0100">0100</header>

  <template type="0100">
        <!-- Original Card Acceptor ID Code -->
        <field num="127.48" type="LLLVAR" />
        <!-- Dynamic Currency Conversion (DCC) status code -->
        <field num="127.49" type="LLLVAR" />
        <!-- Card Acceptor Additional Data -->
        <field num="127.59" type="LLLVAR" />
        <!-- Payment Token Identifier -->

    </template>

</n8583-config>

Expected Result
Works the same as if it was an integer
Observed Result
Logger.Error($"ISO8583 Cannot parse XML configuration {e}");

@Ricky-G I will take a look. Thanks for reporting this. Hopefully I can come up with fix in the weekend.

@Ricky-G The field number should be an int. That is the spec of the library. The num attribute is the field position in the iso message. This is not an issue. Please review the iso spec you are using.

@Ricky-G do you mind sharing your iso spec? Per the iso8583 standard here: https://en.wikipedia.org/wiki/ISO_8583, I cannot see any decimal data field.

@Ricky-G I believe this is what you are looking for https://github.com/Tochemey/NetCore8583#composite-fields to handle the field number 127 in your scenario

@Ricky-G closing this issue because there is no activity. I have not received any feedback from you. Feel free to reopen it


Characters now render correctly even if their scale is incredibly large or incredibly small.

There's a textfile that explains stuffs.

Character Scale related fixes having to do with rendering - Testing and Other Fun Information.txt

Updates:
kCullRadius has now been made a member variable of the movement object class.
'clamp' and 'max" are now used where appropriate.
There's that thing about avoiding multiple accessor-chain calls which is now in place, and I also went back through the "Disable Editor Tools In Media Mode" thing and did the same there too.


Error: invalid file magic when trying to import gte-Qwen2-7B-instruct gguf model to ollama instance

What is the issue?
I got this error:
root@bccf6f1eb00f:/data/models# ollama create gte_qwen2:7b -f Modelfile
transferring model data
Error: invalid file magic
This is my ModelFile:
FROM gte_qwen2.gguf
TEMPLATE "{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>
"
PARAMETER stop <|im_start|>
PARAMETER stop <|im_end|>
I transferred and quantized by the latest llama.cpp.
How can I import this model to ollama?
OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
0.1.48

What commands did you run to quantize the model?

I can confirm that the quantized model fails to load.
I downloaded the model from Alibaba-NLP/gte-Qwen2-7B-instruct, converted to GGUF with ghcr.io/ggerganov/llama.cpp:full-cuda--b1-de28008 and then quantized to Q4_K_M.  When trying to create the ollama model from the quantized model. ollama spends some time in 'transferring model data', and then fails with 'invalid file magic'.  Creating an ollama model from the unquantized model succeeds, although the quality of response is not great:
$ ollama show gte_qwen2:7b
  Model
  	arch            	qwen2
  	parameters      	7.6B
  	quantization    	F16
  	context length  	131072
  	embedding length	3584

  Parameters
  	stop	"<|im_start|>"
  	stop	"<|im_end|>"

$ ollama run gte_qwen2:7b "why is the sky blue?"
 Sky blue color sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky
blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky blue sky^C
$ ollama ps
NAME        	ID          	SIZE 	PROCESSOR      	UNTIL
gte_qwen2:7b	d0099597f2b1	15 GB	30%/70% CPU/GPU	Forever
$ ollama -v
ollama version is 0.2.8

The 'invalid file magic' error comes from a header check in llm/gglm.go: https://github.com/ollama/ollama/blob/ae27d9dcfd32b7fbaa0d5a1fb0126106873332bf/llm/ggml.go#L311
A brief reading of this function indicates that the error occurs because the first four bytes of the file don't match various magic numbers, but the source files match FILE_MAGIC_GGUF_BE:
$ hd Models-7.6B-F16.gguf | head -1
00000000  47 47 55 46 03 00 00 00  53 01 00 00 00 00 00 00  |GGUF....S.......|
$ hd ggml-model-Q4_K_M.gguf | head -1
00000000  47 47 55 46 03 00 00 00  53 01 00 00 00 00 00 00  |GGUF....S.......|

So it seems there's a transform happening during the 'transferring model data' phase which results in the file not being recognized.

What commands did you run to quantize the model?

i do make in llama.cpp and use this command:
llm/llama.cpp/llama-quantize converted.bin gte_qwen2.gguf q4_0
converted.bin is converted by this command:
python llm/llama.cpp/convert_hf_to_gguf.py ./model --outtype f16 --outfile converted.bin
that I clone gte_qwen2_7b_instruct into the model folder

I got similar error here: https://github.com/OpenBMB/MiniCPM-V/issues/634

The problem here is that the llama.cpp quantizer pads the output with null bytes until it's a multiple of 32 bytes long.  The llama.cpp inference engine doesn't care about the trailing bytes, but ollama does because it wants to be able to process concatenated GGUF files, and the pad bytes confuse it.
The solution is to remove the null bytes until the import succeeds.  In the case of this model, I had to remove 24 bytes.  I did this in three steps of removing 8 bytes each time, on the assumption that 64 bits is a natural underlying data size for a 64 bit machine:
# try importing immediately after converting with llama.cpp
$ ollama create gte_qwen2:7b-q4_k_m
transferring model data 100%
Error: invalid file magic
# check trailing bytes
$ xxd -s -32 ggml-model-Q4_K_M.gguf
117023ce0: a9a5 a552 9eac 6980 0000 0000 0000 0000  ...R..i.........
117023cf0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
# remove some bytes and check
$ truncate -s -8 ggml-model-Q4_K_M.gguf
$ ollama create gte_qwen2:7b-q4_k_m
transferring model data 100%
Error: invalid file magic
# didn't work, remove more bytes and check again
$ truncate -s -8 ggml-model-Q4_K_M.gguf
$ ollama create gte_qwen2:7b-q4_k_m
transferring model data 100%
Error: invalid file magic
# still no luck, try again
$ truncate -s -8 ggml-model-Q4_K_M.gguf
$ ollama create gte_qwen2:7b-q4_k_m
transferring model data 100%
using existing layer sha256:b403e0ff4ee7bfd31e8ca8a15fb175905be4765a52d6b5eb507016e0010c9f5d
using existing layer sha256:1d7b30221ae85347af6055c4b0a783cc6e3de68ffb6e665eb29eeaa6a332d8cd
using existing layer sha256:f02dd72bb2423204352eabc5637b44d79d17f109fdb510a7c51455892aa2d216
creating new layer sha256:5d60404947d0451b8a2150ebf065bd247eb15564f1a16b3b827bc09c7f9c8378
writing manifest
success
# see if the model works
$ curl -s localhost:11434/api/embed -d '{"model":"gte_qwen2:7b-q4_k_m","input":"Great success!"}' | jq '.embeddings=[.embeddings[]|length]'
{
  "model": "gte_qwen2:7b-q4_k_m",
  "embeddings": [
    3584
  ],
  "total_duration": 247745703,
  "load_duration": 2109291,
  "prompt_eval_count": 3
}

On Windows, you can use fsutil to remove bytes:
FSUTIL file seteof ggml-model-Q4_K_M.gguf <size>


How do I use rllib for the examples provided?

SO, I found out that sample-factory is not supported on Windows OS. And rllib is the only backend that successfully installed on my pc. So, how can I use rllib to run the examples provided and make my own RL environments with it.

To use with rllib:
pip install godot-rl[rllib]

To train, with the BallChase example (for example):
gdrl --trainer=rllib --env_path=examples/godot_rl_BallChase/bin/BallChase.exe

rllib parameters can be modified by changing / copying the ppo_test.yaml file
Windows support and docs is a bit minimal at the moment, so any feedback and contributions towards this would be great.

Ah I just found a but with the rllib wrapper, I just pushed a change. Please reinstall with:
pip install godot-rl[rllib]

OMG Thank you. I just managed to fix my issues with using sb3 and you replied. Thanks.
Which one would be better btw? sb3 or rllib?

It depends on your problem, I think sb3 is simpler and easier to get started with, but rllib has more complex rl algorithms for more challenging environments. I would start with sb3, the default parameters should work well on most problems. Only a few example envs (Ball Chase and FlyBy) are support with sb3, whereas they should all work with rllib.

Where should the ppo_test.yaml be kept? in which folder because I get this error which says it can not locate it.

Also, is there anyway I can make the training process run infinitely until I stop it in sb3?

Also, is there anyway I can make the training process run infinitely until I stop it in sb3?

I figured how to this.

Where should the ppo_test.yaml be kept? in which folder because I get this error which says it can not locate it.

Can you help with this?

gdrl.interactive will run 1000 step and you can load an example in the editor to see random actions being executed.
The ppo_test.yaml can be kept in the directory where you run your training. Alternatively, you can provide a path with --config_file

Error: No available node types can fulfill resource request {'CPU': 1.0, 'GPU': 1.0}. Add suitable node types to this cluster to resolve this issue.
I keep getting this error and the training fails. Can you provide some information pertaining to this?

Ah, this is related to rllib.  What are the specs of your machine, do you have an NVidia GPU? If not try setting the following in the yaml file:
num_gpus: 0

Training will be slower but from simple problems it should be fast enough.

FYI I updated the custom env doc a bit: https://github.com/edbeeching/godot_rl_agents/blob/main/docs/CUSTOM_ENV.md
I think it is still not so clear, would a video where I go through have to add an agent controller to a game be useful? I could try and look at that in the new year.

FYI I updated the custom env doc a bit: https://github.com/edbeeching/godot_rl_agents/blob/main/docs/CUSTOM_ENV.md
I think it is still not so clear, would a video where I go through have to add an agent controller to a game be useful? I could try and look at that in the new year.

yes please, that would be very helpful


Add nohlsearch package

Auto turn off hlsearch.
Relates #15039

@chrisbra should I update doc/tags too?

yes please!


ARROW-17738: [R] dplyr::compute should convert from grouped arrow_dplyr_query to arrow Table

Thank you for taking a look at this.
I am more concerned with dplyr::compute not returning a Table than whether the group will continue to remain.
mtcars |> arrow::arrow_table() |> dplyr::group_by(vs, am) |> dplyr::summarise(wt = mean(wt)) |> dplyr::compute()
#> Table (query)
#> vs: double
#> am: double
#> wt: double
#>
#> * Grouped by vs
#> See $.data for the source Arrow object

I noticed while creating this PR that using as_arrow_table instead of compute makes it a Table, but I think it would be difficult for users to notice that unless they read the documentation thoroughly.
I also believe that compute should always return Table for consistency with the behavior of dbplyr and dtplyr.

I believe saving groups is necessary to do so at this stage because it is counter-intuitive to have different results for data |> compute() |> collect() and data |> collect().

In that case, I think the change that is needed is a test_that("collect() is identical to compute() %>% collect()", {}) with grouped and ungrouped Tables and Datasets. Does that sound reasonable?

Thank you for your suggestion. I have added tests.
Is this also necessary for datasets?

Thanks for merging!


Do not install node if bun is present

Description to come, fixes #70

Looking at the test failure, the removal of packages from apt-get install is goodness, but the omission of bun install is problematic:
https://github.com/fly-apps/dockerfile-rails/actions/runs/7254654968/job/19766937517?pr=71#step:6:729
It is possible to run individual tests and to capture results.  See: https://github.com/fly-apps/dockerfile-rails/blob/main/README.md#testing

test_bun and test_minimal are passing on my machine. Can you run the workflow? I haven't test all of them

@rubys, thanks a lot for the collaboration invitation! I updated the PR description, is it fine to merge it?

If the tests pass and you are happy, merge when ready.  In general, you don't need to ask for permission, if you see something that needs fixed, fix it; and I and others will do likewise.
Thanks for the contribution and welcome aboard!

makes sense! I will give a try with the project I'm working with and if works as intended, I will merge


Broken link in repo description

https://playwright.dev/python/docs/test-runners/

Did you discover this on pypi or on GitHub? On GitHub its fixed and should be fixed on Pypi with the next release.

I was referring to the Github setting:

Thanks! Fixed and closing by that.


Added a Back 🔙 to top Button as the file was quite lengthy.

Title:

Brief Description of Changes
Added a back to top button to file
Description: (optional)
Detailed change 1
html anchor tag
Detailed change 2
Linking at the bottom
Motivation: (optional)
Why this change is necessary or beneficial
to save time and navigate easily

thks!


Refactor Surrealist::Builder

Surrealist::Builder requires refactoring, for instance method #take_values_from_instance takes in 6 arguments, that seems to be too much. Specs are already present, so it should not be too hard.

Hi! Can I tackle this one?

@tegon sure!

@nesaulov Hey, so I took a look at the code and I have some ideas:

We  can change the class to use instance methods and make schema and instance as instance variables they're passed throughout the code;

Create another abstraction (maybe a Schema class?) and move some of the logic to it - like assign_value method for instance. This way we can pass an object as a parameter instead of many of them.

WDYT of these options?

@tegon hey.
The problem with instance variables is that schema and instance are different throughout the call method, because the method is invoked recursively, so I don't actually see a way that instance variables could help here. Though Schema abstraction sounds interesting to me, I reckon it will do the right thing. And passing object is also a good idea, and we need not to forget to make sure that all attributes (ex parameters) are present. Thanks!

@tegon got you, thanks for engaging anyway!

Was resolved in #34 #41 and #43


Typed Arrays

I thought i remember this working. My goal is to deserialize a top level array.
        let items: TopicDTO[] = GenericDeserialize<TopicDTO[]>(action.payload, TopicDTO);
This is throwing:
Error:(41, 13) TS2322:Type 'TopicDTO' is not assignable to type 'TopicDTO[]'.
  Property 'includes' is missing in type 'TopicDTO'.

Is there a way to properly deserialize a top level json array into new class instances?

This doesn't work because the types don't match. Unfortunately this is a typescript issue and not a library issue. The 2nd argument to that function needs a concrete type (that you've passed correctly) but the generic type must match it, which isn't possible because SomeType[] is not a concrete type.

can you can overload the function to return both incarnations?

You mean have the signature look like this? GenericDeserialize<T|T[]>(data : any, type : typeof T) : T|T[]?
I'm not sure that works with type inference though the new version of TS may fix that


Invalid URI: The Uri string is too long.

Hello,
i am using the latest NetworkViewPCF managed solution.
On large accounts i receive the error message
"Invalid URI: The Uri string is too long."

Moved to NetworkviewPCF


Same parameters same data, how to get same 2D result

I was aware that UMAP is using SGD, therefore, even we apply same parameters on same data, the 2D results are various. Is there any way to fix the 2D results for the same settings? It may be related to some previous question posts, please then redirect me to there. Appreciate it.

There is a parameter random_state. You can set this ot a fixed numeric
value and UMAP will produce the same results.
On Wed, Feb 5, 2020 at 3:38 PM Pre-Dr.Jz<EMAIL_ADDRESS>wrote:

I was aware that UMAP is using SGD, therefore, even we apply same
parameters on same data, the 2D results are various. Is there any way to
fix the 2D results for the same settings? It may be related to some
previous question posts, please then redirect me to there. Appreciate it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lmcinnes/umap/issues/357?email_source=notifications&email_token=AC3IUBNAOWUETGWKHZEWNELRBMPTZA5CNFSM4KQRV2J2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILKKAKQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3IUBPCPR3WXHFSWSY5R53RBMPTZANCNFSM4KQRV2JQ
.

Thank you for noting me, sir. However, I did set it as 1 and ran multiple trials, but the graphs are very different. I left the rest of the params as defaults. Is there any part I ignored or operated wrongly?
 umap.UMAP(random_state=1).fit_transform(X)
This is the simply one line code I used. I ran 5 times, all visualizations regarding the 2D positions are different. I can see the clustering works similarly, in terms of same clusters clump together. But the graphs are so different. I am using tasic brain single cell dataset, which should be popular for UMAP exercise. Thanks

Have you solved this problem for #357? I had the same problem. I really appreciate your help, thanks.

Have you solved this problem for #357? I had the same problem. I really appreciate your help, thanks.
@Dadatata-JZ


Correct api-extractor config in azure release group

The api-extractor config for the azure packages wasn't correct after they were moved into the azure/ folder. This updates the config to correctly output the JSON files to azure/_api-extractor-temp and the report (.md) files to api-report/.

Should we add a shared base config for the azure directory to reduce boilerplate in the package configs?


Running az functionapp identity assign causes error 'NoneType' object has no attribute 'identity'

Hello everyone,
Running the command
# Generate managed service identity for function app
az functionapp identity assign \
    --resource-group $resource_group_name \
    --name $funcapp_name

as described in section "7. Assign access policies and roles" of Create resources for a cloud-based, serverless ETL solution using Python on Azure | Microsoft Docs causes the following error:
The command failed with an unexpected error. Here is the traceback:
'NoneType' object has no attribute 'identity'
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 658, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 692, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 971, in assign_identity
    webapp = _assign_identity(cmd.cli_ctx, getter, setter, role, scope)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/arm.py", line 718, in assign_identity
    resource = setter(resource)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 943, in setter
    if webapp.identity and webapp.identity.type == ResourceIdentityType.system_assigned_user_assigned:
AttributeError: 'NoneType' object has no attribute 'identity'
To open an issue, please run: 'az feedback'

Both variables are set as
funcapp_name='CloudETLFunc'
resource_group_name='rg_cloudetl_demo'

I am running the code on Azure's Cloud Shell. The output of  az --version:
azure-cli                         2.34.0 *

core                              2.34.0 *
telemetry                          1.0.6

Extensions:
ai-examples                        0.2.5
ssh                                1.0.0

Dependencies:
msal                              1.16.0
azure-mgmt-resource               20.0.0

Python location '/opt/az/bin/python3'
Extensions directory '/home/USERNAME/.azure/cliextensions'
Extensions system directory '/opt/az/lib/python3.8/site-packages/azure-cli-extensions'

Python (Linux) 3.8.12 (default, Feb 25 2022, 06:05:06)
[GCC 8.3.0]

Do I run into this error due to missing permission? Or do I have to use an old version of Azure CLI?
The tutorial seems very promising, what its usability as template for own ETL solutions is concerned. Unfortunately the promise is currently not kept. Thank you for your support.
Kind regards

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3bbb5dd1-f7fa-5ebe-1c47-1eef3182db5b
Version Independent ID: 97bc93df-959a-ffd6-a084-ffeb99a2d94c
Content: Create resources for a cloud-based, serverless ETL solution using Python on Azure
Content Source: articles/python/tutorial-deploy-serverless-cloud-etl-02.md
Product: azure-python
GitHub Login: @jess-johnson-msft
Microsoft Alias: jejohn

Thanks for the feedback - I will start to triage the issue and work on a resolution!

@diberry , Required minimum Azure CLI version is exposed on the Available Azure CLI extensions page, but not for Core commands.  az functionapp is an extension and requires Azure CLI version 2.0.46.  Please keep in mind that as a reference group matures, parameters are added that may require a higher version.
Other items that may be of interest:

This command group is owned by the Azure Functions engineering team and not by the Azure CLI engineering team.
The reference documentation instructions the user to install Azure Functions Core Tools by following these GitHub instructions.  This is not the standard way to install an Azure CLI extension.

@roodee It appears you might not have the azure-functions-ore-tools installed. Can you verify that by running the following command and posting of the results include azure-functions-core-tools and if it does, what version?
npm list -g --depth=0

@diberry: Thank you very much for your support. In the mean time I chose not to use az but the Python SDK instead. It worked fine. Thanks again.

@roodee Can you tell me more about that? Which Python SKD?

@diberry : The project I am working in is about implementing an ETL process for binary files, extract metadata to enable a later search and at the end move the files and the metadata files into a blob storage. In the beginning I was curious about using Azure functions and following the description I linked above: https://docs.microsoft.com/en-us/azure/developer/python/tutorial-deploy-serverless-cloud-etl-02#7-assign-access-policies-and-roles.
To answer your question I copied some lines out of our requirements-file. We implemented the whole process in plain Python also using Azure-libraries for Python in the versions as follows:
azure-common==1.1.28
azure-core==1.25.1
azure-identity==1.10.0
azure-keyvault-secrets==4.5.1

I hope this answer is what you wanted to know.


Binaries missing from the "frontpage"?

Hi,
The downloads for the latest RC which link to the ci domain all give me a 404 right now. I understand they may be CI builds that are somewhat superseded, but they cannot possibly be deleted so quickly, without more recent binary, can they?
Thanks!

Please go to Stack Overflow for help and support:
http://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug or a feature request.
The form below must be filled out.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Bazel version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

Which links are you having problems with?
Which frontpage are you mentioning?

https://github.com/tensorflow/tensorflow links to https://ci.tensorflow.org/view/Nightly/job/nightly-win/M=windows-gpu,PY=35/lastSuccessfulBuild/artifact/cmake_build/tf_python/dist/tensorflow_gpu-1.2.0rc2-cp35-cp35m-win_amd64.whl , for example. Not sure what to call the content of https://github.com/tensorflow/tensorflow, is there a canonical name better than "frontpage"?

www.tensorflow.org is more commonly referred to as our frontpage, or main page.
Anyway, the issue is caused by release tag update. Looks like we did not have a successful build since the latest release. Once all the build issues are resolved, the links will be back.
When there are issues such as this, you can always click the build history and manually download  a binary from the latest successful run. In this case, if you modify the version string from 1.2.0rc2 to 1.2.0rc1, it should work.

All right, to my surprise anaconda seems to know where to find them anyway!


Feature definition cannot be found running dev mode container with WebSphere Liberty

Hi,
I'm getting the following error message when running dev mode in container
Command
mvn liberty:devc -Ddb.server.name=<...> -Ddb.port.number=<...> -Ddb.name=<...> -Ddb.user=<...> -Ddb.password=<...> -DdockerRunOpts="--net=host" -Ddockerfile=target/Dockerfile-wlp-local

Error message
[ERROR] [ERROR   ] CWWKF0042E: A feature definition cannot be found for the jaxb-2.2 feature.  Try running the command, bin/installUtility install jaxb-2.2, to install the feature. Alternatively, you can run the command, bin/installUtility install defaultServer, to install all features that are referenced by this configuration.
[ERROR] [ERROR   ] CWWKF0042E: A feature definition cannot be found for the jsf-2.3 feature.  Try running the command, bin/installUtility install jsf-2.3, to install the feature. Alternatively, you can run the command, bin/installUtility install defaultServer, to install all features that are referenced by this configuration.
[ERROR] [ERROR   ] CWWKF0042E: A feature definition cannot be found for the cdi-2.0 feature.  Try running the command, bin/installUtility install cdi-2.0, to install the feature. Alternatively, you can run the command, bin/installUtility install defaultServer, to install all features that are referenced by this configuration.
[ERROR] [ERROR   ] CWWKF0042E: A feature definition cannot be found for the jpa-2.2 feature.  Try running the command, bin/installUtility install jpa-2.2, to install the feature. Alternatively, you can run the command, bin/installUtility install defaultServer, to install all features that are referenced by this configuration.
[ERROR] [ERROR   ] CWWKF0042E: A feature definition cannot be found for the ejblite-3.2 feature.  Try running the command, bin/installUtility install ejblite-3.2, to install the feature. Alternatively, you can run the command, bin/installUtility install defaultServer, to install all features that are referenced by this configuration.
[ERROR] [ERROR   ] CWWKF0042E: A feature definition cannot be found for the jaxrs-2.1 feature.  Try running the command, bin/installUtility install jaxrs-2.1, to install the feature. Alternatively, you can run the command, bin/installUtility install defaultServer, to install all features that are referenced by this configuration.

liberty-maven-plugin version: 3.5.1, I'm using this version to avoid issue #1246
My docker file, I'm using WebSphere Liberty
# WebSphere Liberty base image
FROM ibmcom/websphere-liberty:kernel-java8-openj9-ubi

# Add config, app and jdbc driver
COPY --chown=1001:0 liberty/wlp/usr/servers/defaultServer/server.xml /config/server.xml
COPY --chown=1001:0 liberty/wlp/usr/servers/defaultServer/bootstrap.properties /config/bootstrap.properties
COPY --chown=1001:0 ${project.artifactId}.war /config/apps/
COPY --chown=1001:0 liberty/wlp/usr/shared/resources/mysql-connector-java-8.0.20.jar /opt/ibm/wlp/usr/shared/resources/

# This script will add the requested XML snippets, grow image to be fit-for-purpose and apply interim fixes
RUN configure.sh

The command RUN configure.sh is supposed to install the features you need. Were there any error messages after the Docker build segment that begins with something like [INFO] Step 1/3 : FROM ibmcom/websphere-liberty:kernel-java8-openj9-ubi?

Hi @turkeylurkey ,
I didn't see anything interesting when running with -X. The image was built successfully, and the error message get printed out after the docker run command of the plugin.
[INFO] CWWKM2144I: Update server configuration file server.xml from /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/src/main/liberty/config/server.xml.
[INFO] CWWKM2144I: Update server configuration file bootstrap.properties from inlined configuration.
[DEBUG] server.env already exists
[DEBUG] Creating server.env file: /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target/liberty/wlp/usr/servers/defaultServer/server.env
[DEBUG] Successfully created liberty:dev server.env file
[DEBUG] execDocker, timeout=20, cmd=docker version --format {{.Client.Version}}
[DEBUG] Detected Docker version >20.10.10
[DEBUG] Dockerfile to use: /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target/Dockerfile-wlp
[DEBUG] Docker build context: /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target
[DEBUG] .war file lines: [COPY --chown=1001:0 javaee-cafe.war /config/apps/]
[DEBUG] .ear file lines: []
[DEBUG] COPY line=COPY --chown=1001:0 liberty/wlp/usr/servers/defaultServer/server.xml /config/server.xml, src=/home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target/liberty/wlp/usr/servers/defaultServer/server.xml, dest=/config/server.xml
[DEBUG] COPY line=COPY --chown=1001:0 liberty/wlp/usr/servers/defaultServer/bootstrap.properties /config/bootstrap.properties, src=/home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target/liberty/wlp/usr/servers/defaultServer/bootstrap.properties, dest=/config/bootstrap.properties
[DEBUG] COPY line=COPY --chown=1001:0 liberty/wlp/usr/shared/resources/mssql-jdbc-8.2.2.jre8.jar /opt/ibm/wlp/usr/shared/resources/, src=/home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target/liberty/wlp/usr/shared/resources/mssql-jdbc-8.2.2.jre8.jar, dest=/opt/ibm/wlp/usr/shared/resources/mssql-jdbc-8.2.2.jre8.jar
[DEBUG] Did not find RUN features.sh command.
[DEBUG] Detected RUN configure.sh command.  Skipping OpenJ9 Shared Class Cache.
[DEBUG] # WebSphere Liberty base image
[DEBUG] FROM ibmcom/websphere-liberty:kernel-java8-openj9-ubi
[DEBUG] COPY --chown=1001:0 liberty/wlp/usr/servers/defaultServer/server.xml /config/server.xml
[DEBUG] COPY --chown=1001:0 liberty/wlp/usr/servers/defaultServer/bootstrap.properties /config/bootstrap.properties
[DEBUG] COPY --chown=1001:0 liberty/wlp/usr/shared/resources/mssql-jdbc-8.2.2.jre8.jar /opt/ibm/wlp/usr/shared/resources/
[DEBUG] ENV OPENJ9_SCC=false
[DEBUG] RUN configure.sh
[DEBUG] Creating temp Dockerfile...
[DEBUG] temp Dockerfile: /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target/.libertyDevc/tempDockerfile12287727323040924730
[INFO] Building Docker image...
[INFO] docker build --pull -f /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target/.libertyDevc/tempDockerfile12287727323040924730 -t javaee-cafe-dev-mode /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target
[INFO] Sending build context to Docker daemon  95.61MB
[INFO]
[INFO] Step 1/6 : FROM ibmcom/websphere-liberty:kernel-java8-openj9-ubi
[INFO] kernel-java8-openj9-ubi: Pulling from ibmcom/websphere-liberty
[INFO] Digest: sha256:b3e51e75d66162f2e3023575f6901014cd8f65a69c77ab5bbb09cba9c0a27def
[INFO] Status: Image is up to date for ibmcom/websphere-liberty:kernel-java8-openj9-ubi
[INFO]  ---> 1749fd14c118
[INFO] Step 2/6 : COPY --chown=1001:0 liberty/wlp/usr/servers/defaultServer/server.xml /config/server.xml
[INFO]  ---> Using cache
[INFO]  ---> 98ac93026d16
[INFO] Step 3/6 : COPY --chown=1001:0 liberty/wlp/usr/servers/defaultServer/bootstrap.properties /config/bootstrap.properties
[INFO]  ---> Using cache
[INFO]  ---> 332ffca8e36f
[INFO] Step 4/6 : COPY --chown=1001:0 liberty/wlp/usr/shared/resources/mssql-jdbc-8.2.2.jre8.jar /opt/ibm/wlp/usr/shared/resources/
[INFO]  ---> Using cache
[INFO]  ---> ec2dd7736a93
[INFO] Step 5/6 : ENV OPENJ9_SCC=false
[INFO]  ---> Using cache
[INFO]  ---> 1559ad612342
[INFO] Step 6/6 : RUN configure.sh
[INFO]  ---> Using cache
[INFO]  ---> 1ed9b0ab86a1
[INFO] Successfully built 1ed9b0ab86a1
[INFO] Successfully tagged javaee-cafe-dev-mode:latest
[INFO] Completed building Docker image.
[INFO] Starting Docker container...
[DEBUG] docker container names list command: docker ps -a --format "{{.Names}}"
[DEBUG] execDocker, timeout=20, cmd=docker ps -a --format "{{.Names}}"
[DEBUG] containerName: liberty-dev.
[INFO] docker run --rm -p 9080:9080 -p 9443:9443 -p 7777:7777 -e WLP_DEBUG_SUSPEND=n -e WLP_DEBUG_ADDRESS=7777 -e WLP_DEBUG_REMOTE=y -v /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target/.libertyDevc/apps:/config/apps -v /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target/.libertyDevc/dropins:/config/dropins -v /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql:/devmode -v /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target/liberty/wlp/usr/servers/defaultServer/logs:/logs -v /home/zhengchang/.m2/repository:/devmode-maven-cache -v /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target/liberty/wlp/usr/servers/defaultServer/server.xml:/config/server.xml -v /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target/liberty/wlp/usr/servers/defaultServer/bootstrap.properties:/config/bootstrap.properties -v /home/zhengchang/workspace/zhengchang/open-liberty-on-aks/javaee-app-db-using-actions/mssql/target/liberty/wlp/usr/shared/resources/mssql-jdbc-8.2.2.jre8.jar:/opt/ibm/wlp/usr/shared/resources/mssql-jdbc-8.2.2.jre8.jar --user 1000  --name liberty-dev --net=host javaee-cafe-dev-mode server debug defaultServer -- --io.openliberty.tools.projectRoot=/devmode
[ERROR] WARNING: Published ports are discarded when using host network mode
[INFO]
[INFO] Listening for transport dt_socket at address: 7777
[INFO] Launching defaultServer (WebSphere Application Server <IP_ADDRESS>/wlp-1.0.59.cl211220211117-1256) on Eclipse OpenJ9 VM, version 1.8.0_312-b07 (en_US)
[INFO]  Parameters: [--io.openliberty.tools.projectRoot=/devmode]
[INFO] [AUDIT   ] CWWKE0001I: The server defaultServer has been launched.
[INFO] [AUDIT   ] CWWKE0100I: This product is licensed for development, and limited production use. The full license terms can be viewed here: https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/license/base_ilan/ilan/<IP_ADDRESS>/lafiles/en.html
[INFO] [AUDIT   ] CWWKG0093A: Processing configuration drop-ins resource: /opt/ibm/wlp/usr/servers/defaultServer/configDropins/defaults/keystore.xml
[ERROR] [ERROR   ] CWWKF0042E: A feature definition cannot be found for the jaxb-2.2 feature.  Try running the command, bin/installUtility install jaxb-2.2, to install the feature. Alternatively, you can run the command, bin/installUtility install defaultServer, to install all features that are referenced by this configuration.
[ERROR] [ERROR   ] CWWKF0042E: A feature definition cannot be found for the jsf-2.3 feature.  Try running the command, bin/installUtility install jsf-2.3, to install the feature. Alternatively, you can run the command, bin/installUtility install defaultServer, to install all features that are referenced by this configuration.
[ERROR] [ERROR   ] CWWKF0042E: A feature definition cannot be found for the cdi-2.0 feature.  Try running the command, bin/installUtility install cdi-2.0, to install the feature. Alternatively, you can run the command, bin/installUtility install defaultServer, to install all features that are referenced by this configuration.
[ERROR] [ERROR   ] CWWKF0042E: A feature definition cannot be found for the jpa-2.2 feature.  Try running the command, bin/installUtility install jpa-2.2, to install the feature. Alternatively, you can run the command, bin/installUtility install defaultServer, to install all features that are referenced by this configuration.
[ERROR] [ERROR   ] CWWKF0042E: A feature definition cannot be found for the ejblite-3.2 feature.  Try running the command, bin/installUtility install ejblite-3.2, to install the feature. Alternatively, you can run the command, bin/installUtility install defaultServer, to install all features that are referenced by this configuration.
[ERROR] [ERROR   ] CWWKF0042E: A feature definition cannot be found for the jaxrs-2.1 feature.  Try running the command, bin/installUtility install jaxrs-2.1, to install the feature. Alternatively, you can run the command, bin/installUtility install defaultServer, to install all features that are referenced by this configuration.

Hi,
I think I might posted a false issue, the actual problem is that I need to use the full base image: full-java8-openj9-ubi instead of kernel-java8-openj9-ubi.
Thanks and close this issue,
Zheng