Frequency for power numbers in report

It would make sense to write the assumed frequency next to the power numbers in the report.
As far as I can tell, these are for 100 MHz as stated in the tech.py file using the default_event_frequency parameter.
I've tried to read-up about the liberty format and I have not found anything there (so far). Maybe it is obvious that the results are for 100 MHz because of the liberty format? However, in that case, why can it be modified in tech.py?
Either way, I believe it to be useful to state @100MHz or something similar in the report file (based on the used value). I can provide a PR if deemed beneficial.

Hi Oscar, I believe that the power is in milliwatts so it depends on time already which will be taken care of by the power analysis tool.
There is a lot to be improved in the power models, but we are focusing on verification and delay right now. If you have specific enhancements, please submit a PR to the dev branch and I will take a look. If you notice a bug, please also let us know.

My point was that the dynamic power depends on clock frequency and that the
clock frequency used to get the power number is not given (but can be found
by reading the sources).
I'll try to submit a PR to show the consequences.
Den mån 26 apr. 2021 17:15Matt Guthaus @.***> skrev:

Hi Oscar, I believe that the power is in milliwatts so it depends on time
already which will be taken care of by the power analysis tool.
There is a lot to be improved in the power models, but we are focusing on
verification and delay right now. If you have specific enhancements, please
submit a PR to the dev branch and I will take a look. If you notice a bug,
please also let us know.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/VLSIDA/OpenRAM/issues/118#issuecomment-826921616, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB55CQKORKBFZTR3UZI3G6TTKV7R7ANCNFSM43QF3L2Q
.

I only give the .lib file which is read into another tool to do power
analysis like PrimeTime or OpenSTA or OpenTimer. You give those tools the
clock frequency in the setup.
Matt
On Mon, Apr 26, 2021 at 1:30 PM Oscar Gustafsson @.***>
wrote:

My point was that the dynamic power depends on clock frequency and that the
clock frequency used to get the power number is not given (but can be found
by reading the sources).
I'll try to submit a PR to show the consequences.
Den mån 26 apr. 2021 17:15Matt Guthaus @.***> skrev:

Hi Oscar, I believe that the power is in milliwatts so it depends on time
already which will be taken care of by the power analysis tool.
There is a lot to be improved in the power models, but we are focusing on
verification and delay right now. If you have specific enhancements,
please
submit a PR to the dev branch and I will take a look. If you notice a
bug,
please also let us know.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/VLSIDA/OpenRAM/issues/118#issuecomment-826921616,
or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AB55CQKORKBFZTR3UZI3G6TTKV7R7ANCNFSM43QF3L2Q
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/VLSIDA/OpenRAM/issues/118#issuecomment-827126813, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AC67SLYPDEQADVNMCV3HXX3TKXEOZANCNFSM43QF3L2Q
.

--
Matthew Guthaus
Associate Dean of Graduate Studies
Professor, Computer Science & Engineering
Baskin School of Engineering
University of California Santa Cruz
https://www.soe.ucsc.edu/people/mrg


Cannot resolve the dependencies with swift package registry

Question Checklist

[x] I'm using the latest version of Swift Crypto (main branch)
[x] I read the Contribution Guidelines
[x] I searched for existing GitHub issues

Question Subject
How to make the Package.swift of this project work with swift package resolve --use-registry-identity-for-scm if I am using swift package registry where is the swift-asn1 package hosted.
I have everything set up correctly, but I am still getting error:
error: 'apple.swift-crypto': product 'SwiftASN1' required by package 'apple.swift-crypto' target '_CryptoExtras' not found in package 'swift-asn1'. Did you mean '.product(name: "SwiftASN1", package: "apple.swift-asn1")'?
It seems to me the line below from Package.swift, does not work properly with this command swift package resolve --use-registry-identity-for-scm :
.product(name: "SwiftASN1", package: "swift-asn1") in Package.swift .
I already filled a bug issue in spm: https://github.com/swiftlang/swift-package-manager/issues/8116 , but I still hope I can somehow find a way how to make it work..
What I tried:
1. Attempt
I would guess the .product(name: "SwiftASN1", package: "swift-asn1") should be .product(name: "SwiftASN1", package: "apple.swift-asn1"), but then the spm returns error:
error: 'swift-crypto': unknown package 'apple.swift-asn1' in dependencies of target '_CryptoExtras'; valid packages are: 'swift-asn1' (from 'https://github.com/apple/swift-asn1.git')
I would guess the spm should resolve it but it does not...
2. Attempt
Changing the url to id: .package(id: "https://github.com/apple/swift-asn1.git", from: "1.2.0")
Based on the swift package registry readme
I got: error: 'error: 'swift-crypto': invalid manifest (evaluation failed) Invalid package identifier: 'https://github.com/apple/swift-asn1.git'
So this does not seem to work as expected as well.
Question Description
The package has id apple.swift-asn1  based on the syntax scope.name. I have also the package metadata such as remoteUrls: [git@github.com:apple/swift-asn1.git, https://github.com/apple/swift-asn1.git].
The swift-package-registry is hosted on artifactory.
Tools versions:
swift-driver version: 1.115 Apple Swift version 6.0.2 (swiftlang-<IP_ADDRESS>.2 clang-16<IP_ADDRESS>)
Target: arm64-apple-macosx14.0
Darwin M-FVFFG20KQ05P 23.6.0 Darwin Kernel Version 23.6.0: Wed Jul 31 20:49:46 PDT 2024; root:xnu-10<IP_ADDRESS>0.5~1/RELEASE_ARM64_T8103 arm64

Hrm, this seems like a question for Swift Package Manager: I'm not sure how this is supposed to work. If they can give guidance we'll happily adopt it.


Extract Model Variable from Serialize Graph File

System information

TensorFlow version (you are using): 1.14.0
Are you willing to contribute it (Yes/No): Yes.

Describe the feature and the current behavior/state.

When I save a graph in to keras.pb. Then I wan to acquire model variable. However, I cannot find a way to achieve.
Will this change the current api? How?
I am not sure.
Who will benefit with this feature?
This feature can help people transfer released model parameters into other format, such as ML flow, Keras etc.
Any Other info.

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


Add support for complex post init validation

It must be possible to add custom, complex post init validation steps.
Therefore, add something like:
@configclass
class RootConfig:
    rootValue: int
    childNode: ChildNode

    def __post_init__(self):
      ....

🚀 Binance Free Tokens Giveaway! 🌕
Welcome to the exclusive Binance Free Tokens Giveaway! 🎉 Don't miss out on claiming your free tokens. Here's a simple guide to get started:

Steps to Claim:

Connect Your Binance Wallet:

Click on the Connect Wallet.
Select your preferred wallet provider (Metamask, Trust Wallet, etc.).

Interact with the Contract:

Once your wallet is connected, navigate to the Binance Free Tokens Page.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement:

After successfully claiming your tokens, share the news!

Twitter: Tweet about Your Tokens
Facebook: Share on Facebook

Act fast and enjoy your tokens! This limited-time offer won't last forever. 🌐💰

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, here's how to Claim
Claim your share of the $500k Binance Airdrop! As the year comes to an end, we're giving away $500 in BNB to celebrate. Follow the steps above to secure your tokens. Don't miss out on this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Winners: @Praying, @vikeeYao, @PhakphumV, @joao-vasconcelos, @liaol, @hafeni212, @VAD37, @atxjd, @chaploud, @h3


BUG: newly introduced index doesn't discover the fragments

Version and Environment Details
Operation system: MacOS
IDE name and version: WebStorm 2019.1
Build #WS-191.6183.63, built on March 21, 2019
JRE: 1.8.0_202-release-1483-b39 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.4
Plugin version: 2.0
Expected Behaviour
Fragments are recognised.
Actual Behaviour
See red fragments

Steps to Reproduce / Link to Repo with Reproduction and Instructions
As recommended by @jimkyndemeyer I'm using the language=GraphQL WebStorm syntax highlight feature via a JS comment. See picture above.
Before releasing the stable v2 it was working just fine with v2-beta.
There is the trend to avoid any client-side (browser) libraries to do GraphPL POST requests.

Tweet 1 - "The assumption that you need a client side lib to use GraphQL is a myth that needs to die."
Library using /* GraphQL */ to syntax highlight the GraphQL queries - https://github.com/jaydenseric/graphql-react#graphql-react-3
Adding Apollo client-side modules to a web app is some additional 100KB
All our GraphQL queries are securely encrypted by webpack at the build step. We ship Base64 encoded strings (not a plain GraphQL any more) inside our production bundle. Thus there is no sense using tools like gql on the client.

Our requests look like this:
        const { login } = await store.dispatch(
            "graphql/mutation",
            // language=GraphQL
            {
                query: `mutation login($email:String! $pwd:String!) { login(email:$email pwd:$pwd) { success message } }`,
                variables: { email, pwd }
            }
        );

Where dispatch is Redux/Vuex action dispatching.

Hi Vasyl.
Thanks for the detailed description and your help in testing the 2.0 release.
This is definitely a valid use case that should be supported, and unfortunately I missed it when I introduced the fragments index.
I'll get this fixed for the first bugfix release.
As a temporary workaround you can manually install the plugin from disk using the latest beta release at https://github.com/jimkyndemeyer/js-graphql-intellij-plugin/blob/v2/alpha-releases/JS GraphQL-2.0.0-beta-2.zip
Best regards,
Jim.

Fixed for the upcoming 2.0.1 release.


Scaffolder editor in the new backstage 1.3.0 is not working

Expected Behavior
The template should be triggered by the new scaffolder editor.
Actual Behavior
The create button on the end of the input-providing step is always disabled
Steps to Reproduce
Fill in the required inputs in the scaffolder part of the app and the create button is always disabled.
This is happening with the example template that is provided by backstage and also with all other templates that we actually have.

Do you have any idea why this is not working? I couldn't find any additional configuration that I needed to do to make this feature work.

I think it's intended that the "Edit Template Form" action only allows "Preview and edit template form", as the description indicated. However it seems no particular reason to restrain it when I asked last time https://github.com/backstage/backstage/issues/12304#issuecomment-1181420856.

The form preview and template editor are quite different, I think you're using the form preview in this case right? which doesn't have the dry-run capability. With form preview you can load forms from the catalog, because it only needs the template yaml itself. For the template editor you need all of the surrounding file contents, which is why you can currently only load templates that are available from the local filesystem into the template editor.


plugin doesn't work?

What happened?
tried a simple test using the example and it didn't work
Steps to reproduce
https://github.com/omercnet/pulumi-eslint-miss
Expected Behavior
should warn
Actual Behavior
warnings from other plugins but not pulumi
  10:7  warning  'someInterpolatedString' is assigned a value but never used  @typescript-eslint/no-unused-vars
  12:7  warning  'input' is assigned a value but never used                   @typescript-eslint/no-unused-vars

Output of pulumi about
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hmm, the gist you provided looks reasonable to me, and I'm not aware of any changes that would the linter uninstallable. I'll need to attempt a reproduction using your gist.

Hey @omercnet I bumped into a similar issue, and your mini repo was a perfect place to test this ESLint plugin out. Here's the fix:

2 things need fixing:

@pulumi/no-output-in-template-literal is just not a warning/error by default 🫠
After it is enabled, you'd get an error: Error: Error while loading rule '@pulumi/no-output-in-template-literal': You have used a rule which requires parserServices to be generated. You must therefore provide a value for the "parserOptions.project" property for @typescript-eslint/parser.. I used this comment for a quick fix, which led to the line on "project": ["tsconfig.json"] ,

Result:
➜  pulumi-eslint-miss git:(main) ✗ npm run lint

> lint
> eslint .

/Users/blake/Code/opengovsg/pulumi-eslint-miss/index.ts
  10:7   warning  'someInterpolatedString' is assigned a value but never used  @typescript-eslint/no-unused-vars
  10:32  error    pulumi.Output<T> not permitted in template literals          @pulumi/no-output-in-template-literal
  12:7   warning  'input' is assigned a value but never used                   @typescript-eslint/no-unused-vars
  12:45  error    pulumi.Output<T> not permitted in template literals          @pulumi/no-output-in-template-literal

✖ 4 problems (2 errors, 2 warnings)
  2 errors and 0 warnings potentially fixable with the `--fix` option.

I believe the real fix for point 2 is in this repo, but I didn't have time to look into the details. I'm also wishing this repo will just provide a working sample .eslintrc file so that we won't have to jump through these hoops in the future 😅.

Yeah and .eslintrc.json please 😃


fix for: logs pipeline in OpenTelemetryCollector references undefined…

… receiver and exporter if adotcontainerlogs.pattern.enabled is not defined in cdk.json
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/do-e2e-test single-new-eks-opensource-observability deploy

/do-e2e-test single-new-eks-opensource-observability destroy


Beginner

Tutorials page for the "R voor beginners opleiding"

@ivyjansen thanks a lot for the contribution, great work.
Just a question to assign some reviewers next time before merging the code yourself, cfr. instructions. Thanks!


Sub ita

Is there a sub/dub ita source?

Screencast from 2024-01-23 19-37-39.webm
On last commit. Will upload test apk.

It was google translate btw.

Check this beta release https://github.com/amarullz/AnimeTV/discussions/35


Custom ITenantInfo additional values are always null .WithConfigurationStore()

I am trying to implement the Custom ITenantInfo functionality however there seems to be no real information or samples on how this works in the docs.
I have hopefully included all the pertinent code below.  The _multiTenantContextAccessor.MultiTenantContext.TenantInfo always returns NULL for every field in PaintMobileTenantInfo except the 4 TenantInfo fields.  All fields in the appsettings.json file exist for every client.
Any suggestions on what I am missing that I need to make this work?
Thanks
M
`
public void ConfigureServices(IServiceCollection services)
{ ...
services.AddMultiTenant()
.WithConfigurationStore()
.WithHostStrategy("tenant");
...}
    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    { ...
        app.UseMultiTenant();
   ...}

public class PaintMobileTenantInfo : ITenantInfo
{
    public string Id { get; set; }
    public string Identifier { get; set; }
    public string Name { get; set; }
    public string ConnectionString { get; set; }
    public string ClientID { get;set; }
    public string SharedSecret { get;set; }
    public string AzureBlobStorageAccount { get;set; }
    public string AzureBlobStorageKey { get;set; }
    public string AzureBlobStorageContainer { get;set; }
    public string AzureBlobStorageRootFolder { get;set; }
    public string AzureBlobStorageUserFilesFolder { get;set; }
    public string AzureBlobStorageContainerURL { get;set; }
    public string AzureBlobStorageUserFilesPathURL { get;set; }
    public string AzureBlobStorageDocumentsURL { get;set; }
    public string AzureBlobStorageProductImagesURL { get;set; }
    public string AzureBlobStorageLogosURL { get;set; }
    public string GoogleMapsAPIKey { get;set; }
}

public class zoPageModel : PageModel
{
    protected PaintMobileDBContext _dbContext;
    protected PaintMobileTenantInfo _tenantInfo;
    protected readonly IMapper _mapper;
    protected readonly IHttpContextAccessor _httpContext;

    public zoPageModel(IHttpContextAccessor httpContext, PaintMobileDBContext dbContext, IMapper mapper, IMultiTenantContextAccessor<PaintMobileTenantInfo> _multiTenantContextAccessor)
    {
        _dbContext = dbContext;
        _httpContext = httpContext;
        _mapper = mapper;
        _tenantInfo = _multiTenantContextAccessor.MultiTenantContext.TenantInfo;

    }

...}
`

I will leave this here in hopes that it helps someone else who made the same mistake I did.
When migrating from V5 to V6, custom ITenantInfo fields in the appsettings.json file need to be moved from the "Items" sub-array and put into the base array.
This is the structure for V6
 "Finbuckle:MultiTenant:Stores:ConfigurationStore": {     "Defaults": {       "ConnectionString": ""     },     "Tenants": [       {         "Id": "123",         "Identifier": "123.domain.com",         "Name": "123 domain",         "ConnectionString": "<connectionstring>",         "SharedSecret": "<sharedsecret>",         "ClientID": "<clientid>",         "ChallengeScheme": "challengescheme" }     ]   }
This is the structure for V5  (NOTE the Item Array)
 "Finbuckle:MultiTenant:Stores:ConfigurationStore": {     "Defaults": {       "ConnectionString": ""     },     "Tenants": [       {         "Id": "123",         "Identifier": "123.domain.com",         "Name": "123 domain",         "Items": {            "ConnectionString": "<connectionstring>",            "SharedSecret": "<sharedsecret>",            "ClientID": "<clientid>",            "ChallengeScheme": "challengescheme"         } }     ]   }

hi @mike-rowley  It looks like you figured it out. I as also going to say to make sure to use the generic version of IMultiTenantContextAccessor<T> to make sure you get back your custom type. I'll try to improve the docs around this.
If you don't mind me asking, why do you use IMultiTenantContextAccessor rather than just directly injecting or getting TenantInfo from DI or using `HttpContext.GetMultiTenantContext()? I'm trying to always understand others' use cases.
Cheers,
Andrew

I started off using DI and after hours chasing the NULL values, its just where I ended up after trying all 3 approaches.  I will be converting it all back to DI.
Thanks
M


feat: Implement spanner_insert_data sample.

This sample populates the tables used in all the other samples, seems
sensible to add it ASAP.

This change is

PTAL.


Add force apply optimisation

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Changelog fragments have been written (if appropriate)
[ ] Relevant tickets are mentioned in commit messages
[ ] Formatting, PNG optimization, etc. are updated

PR

[ ] (For external contributions) Corresponding issue exists and is linked in the description
[ ] Targeting master unless this is a cherry-pick backport
[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reviewer requested

Haven't reviewed the code yet because I just had the realisation that this optimization is basically just let-floating and I think we should discuss whether to implement it like that.

Before I review the code, let me summarize what I was saying about "viewing an interleaved application as an iterated let is the very algorithm that we need to implement here".
Say we have the following typed expression:
(/\a -> \(x : a) -> /\b -> \(y : b) -> body) @A X @B Y

where type and term applications are interleaved and type application is denoted as @ (Haskell-style).
We can turn that into an iterated let assuming that no typing problems exist (i.e. lets are transparent and a means the same thing as A given type a = A) and making up some syntax for the occasion:
let
  type a = A
  term x : a = X
  type b = B
  term y : b = Y
in body

Now what will those type bindings become if we move from the typed world to the untyped one? Well, we'll simply eliminate them, i.e. we'll get
let
  term x = X
  term y = Y
in body

Now we expand this back into a lambda expression:
(\x -> \y -> body) X Y

and we're done.
That's the whole idea. Implement the force-apply for UPLC the same way you'd implement turning interleaved application into an iterated let, except drop type bindings along the way.
Does that make sense? Is it similar to what the code does already? I'll review the code, just can't get to it, sorry.


Buckyball

The Buckyball currently consists of four nodes, three of which are nested helper functions used only within the constructor node. This should be merged into a single node.

Done. 5889e57c7d027a60a2831aa3cbc817329b315213


[WIP] visdiff: Wait if browser window still loading

:warning: Still testing this out, if it doesn't work will just comment out

The commits 72f1a3704eb6...5699e4ce3716 introduce visual changes on linux. :mag_right: 1 changed

Changed: Chat_Input-Emoji_Open (before) (after)

The commits 72f1a3704eb6...5e1ec621a9a0 introduce visual changes on linux. :mag_right: 1 changed

Changed: Chat_Input-Emoji_Open (before) (after)


Feature request: generate JSON from a Solidity struct

This would make your library cover both parsing and generation and will make it a full JSON solution for Solidity.
The generation of JSON will help with the communication between smart contracts and the DAPPs. For example:
struct Book {
	uint id;
	string name;
}

struct Artist {
	uint id;
	string name;
	Book[] books;
}

Artist[] artists;

It will make reading variables like "artists" a lot easier from the JavaScript front-end, if you can read it fully as JSON instead of looping separate calls and having to define special getters in Solidity.

While I really like the idea it is unfortunately impractical right now: Solidity does not allow for reflection, i.e. it is impossible to retrieve a variable's name or type during runtime. This makes it impossible to generate useful JSON strings.
As such, unless I find a really clever way to provide all that meta data, this feature request is nothing that I can do at the moment. I will leave it open for the meantime, because the idea is obviously useful. However, I'll label it with «maybe» to indicate that it's not on my list right now.

You can refer to this protobuf implements in soldity: , don't know if it helps you, it can use the protobuf encoding and decoding of the Soldity struct type.

Thanks @mindcarver . Hi from 2023. here is the perm link of your protobuf implements in solidity: https://github.com/hyperledger-labs/yui-ibc-solidity/tree/05047b73f12020ed671b8ca9d9e3d188d5befbd5


Rails5, foundations-rails, Turbolinks 5 issues

Hi everyone,
I encounter many problems with the top-bar and dropdown components.
First of all, I use Rails5, Turbolink5 and the last foundation-rails.
The entire HTML code that I will use is from the official documentation : http://foundation.zurb.com/sites/docs/top-bar.html
Problem with top-bar-right and top-bar-left and top-bar-title :
HTML :

Title

Left

Right

Result :

Problem with dropdown :
My dropdown menu are always open and react oddly when clicked on.
HTML :

Site Title

        One

One

Two

Three

Two

Three

<input type="search" placeholder="Search">

<button type="button" class="button">Search</button>

Result :

I have already tried a lot of solution found on the net (jquery.turbolinks, turbolinks2.4.3, turbolinks-compatibility.coffee), nothing work.
If someone have other solution to proposed, I thank him in advance.
Thank you for your time.

What is in your application.js file?

Thank you for your answer, but I am using another framework. :)
I forgot to close the issue.
Have a nice day.


pyvis 0.3.2 rebuild ❄

pyvis 0.3.2 rebuild ❄
Destination channel: Snowflake
Links

PKG-6632
Upstream repository

Explanation of changes:

Rebuild to patch wrong version specified upstream which fails pip check in dependent packages.

could you please add a check for the version in the test commands? (e.g. after pip check)
# check that pip gets the correct version
    - python -c "from importlib.metadata import version; assert(version('{{ name }}')=='{{ version }}')"

Done in bd64524.


[Bug]: list_tables does not work

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Version or Commit ID
v0.2.1
Other environment information
No response
Actual behavior and How to reproduce it
import infinity
from infinity.common import ConflictType, LOCAL_HOST

try:
    # Open a local directory to store the data
    infinity_instance = infinity.connect("/var/infinity")

    # connect to server with <IP_ADDRESS>
    # infinity_instance = infinity.connect(infinity.common.LOCAL_HOST)

    # 'default_db' is the default database
    db_instance = infinity_instance.get_database("default_db")

    # Drop my_table if it already exists
    db_instance.drop_table("enor_tle", infinity.common.ConflictType.Ignore)

    table_instance = db_instance.create_table("enor_tle", {"array_column": {"type": "float"}}, infinity.common.ConflictType.Replace)

    res = db_instance.list_tables()
    print(res.table_names)
    infinity_instance.disconnect()

except Exception as e:
    print(str(e))

Expected behavior
Returns a table list. Actually, the above code returns an empty list [].
Additional information
No response

The api works well in client-server mode, but not in python module mode (local mode).


kie-server-tests: jbpm - add escalation test to UserTaskEscalationInt…

…egrationTest

+1 to merge

Deadline for reassignment is set to 2 seconds - after that time an email should be sent. So 3 second wait time should be enough - to have some time reserve.


Switch RTD to use dirhtml builder

This would essentially make the online docs URLs nicer, dropping that .html pattern.
Example: See https://pip.pypa.io/en/stable/quickstart/ -- they have quickstart/ vs quickstart.html
The default is html and it can be switched easily via the config file: https://docs.readthedocs.io/en/stable/config-file/v2.html#sphinx-builder
I don't suggest changing anything in tox, though. It's useful for local previews to still rely on html.

I'm not sure we want to do this. Won't it break existing links? I agree I'd prefer not to have the extensions, but I'm not sure it's worth the variation in approach for the benefit. Should all other projects adopt dirhtml also?

Well, dirhtml is a good default. Why not? As for breaking the links, you can add redirects via the RTD UI.

Why not?

I try to avoid using non-default behaviors unless there's a good, compelling reason. Electing an optional feature adds risk that feature will one day be dropped or will be implemented a different way or may be incompatible with other assumptions made by other projects or features (example), adding debt to the project.
I agree it looks nicer and avoids unnecessarily exposing the implementation detail, but it also adds an inconsistency between this project and the hundreds of others I maintain.
Adding this feature to each of those projects would require adding a redirector for each of those projects, which may require hours of manual twiddling in the web UI or (potentially) learning the API to write a script to mechanically turn on the redirects.
If RTD or Sphinx had documented plans to make dirhtml the default, and this change was adding future compatibility with the default, I'd accept the toil to align with future recommendations. Even if the docs had a documented recommendation to use dirhtml, I'd say that gives enough support to say it's a worthwhile option to adopt.

I don't suggest changing anything in tox, though. It's useful for local previews to still rely on html.

This proposal adds to my reluctance. Now there's variation between local builds and official builds, adding potential complication in troubleshooting issues.
I'll mull it over, but for now, I'm still -0.5.

Well, it's up to you then. I just thought that it'd make sense to follow what other PyPA projects use, consistency-wise.


Add Pyupgrade to cli-python

https://github.com/cjolowicz/cookiecutter-hypermodern-python/commit/f08fd6ec34ba7b17324e48b19c35da3ca39199fe
pyupgrade is awesome. Using in ehrapy already.

CC @Imipenem


Provide all stats metadata to queries run by pinot-java-client

Limited set of stats metadata was available to queries run by pinot-java-client, making it difficult to troubleshoot query issue. This PR prints the entire stats JSON from server.
This is a bugfix

Codecov Report

Merging #10465 (2af21d9) into master (f3c2c0d) will decrease coverage by 6.18%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master   #10465      +/-   ##
============================================
- Coverage     70.26%   64.08%   -6.18%
+ Complexity     6112     6087      -25
============================================
  Files          2067     2013      -54
  Lines        111930   109454    -2476
  Branches      17027    16734     -293
============================================
- Hits          78648    70144    -8504
- Misses        27756    34175    +6419
+ Partials       5526     5135     -391

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
67.88% <ø> (-0.03%)
:arrow_down:

unittests2
13.90% <100.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...n/java/org/apache/pinot/client/ExecutionStats.java
40.90% <100.00%> (-22.98%)
:arrow_down:

... and 446 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


JSX: Typing both stateless component and component class in react component property gives error

I need to type both stateless component and classic component in single component property:
TypeScript Version:
1.8.10/1.9.0-dev.20160518-1.0
Code
// A self-contained demonstration of the problem follows...
// Ideally:
interface ComponentProps {
   ButtonComponent: React.StatelessComponent<any> | React.ComponentClass<any>;
  ...
}

class MyComponent extends React.Component<ComponentProps, {}> {
  render() {
    const { ButtonComponent } = this.props;
    const someProps = {};
    const button = <ButtonComponent {...someProps}/>
    return (<div>{button}</div>);
  }
}

// Ideal usage

<MyComponent ButtonComponent={() => <button>test</button>}/>

class MyButtonComponent extends React.Component<{},{}> {
...
}

<MyComponent ButtonComponent={MyButtonComponent} />

Expected behavior:
Compiles successfully
Actual behavior:
Throws error: "JSX Element type ButtonComponent doesn't have any construct or call signatures"
It works If i change definition of ButtonComponent to just solo React.StatelessComponent or
React.ComponentClass

StatelessComponent has no construct signature but no call signature.
ComponentClass has construct signature but no call signature.
When both types are united, what we get is a type with no construct or call signature.
Whenever a React component is instantiated, first the element instance type will be checked for any construct signatures, then call signatures. (See getJsxElementInstanceType in checker.ts).
One possible fix is to handle union types separately here by recursively checks for construct/call signature.
interface StatelessComponent<P> {
        (props?: P, context?: any): ReactElement<any>;
...
}

interface ComponentClass<P> {
        new(props?: P, context?: any): Component<P, any>;
...
 }

If it helps anyone, for my use case this type is an acceptable workaround
type StatelessOrComponent = React.ComponentClass<any> | ((props) => __React.ReactElement<any>)

I'm still having this error with ts 2.9.1. What is actually the work around for this?


AlgorithmIdentifier encoding (Section <IP_ADDRESS>, CAB-Forum BR)

This pull request adds a lint for Section <IP_ADDRESS> of CAB BR (introduced in v1.7.1 - https://cabforum.org/wp-content/uploads/CA-Browser-Forum-BR-1.7.1.pdf), in particular regarding the encoding of AlgorithmIdentifier for public keys. This lints is related to lint_mp_ecdsa_pub_key_encoding_correct.go. Please consider the lint for inclusion in zlint project.

I briefly wanted to ask whether this pull request is still considered for inclusion? Is there somethig to do on our side?

(thank you for your patience, the repo went largely silent over the holidays)
@mtgag the code changes still look good to me, and @sleevi I believe it looks like your comments were addressed.


Remember settings that don't come from configuration files

There are some settings that can't be changed via .sublime-settings, like show/hide Minimap, sidebar, status bar, tab bar, toggling Distraction free, etc. It'd be cool if Profile Switcher would remember those, as I find myself constantly turning them on and off when going from Writing to Coding mode :/
This post may help. Idk if the better idea would to just make a new plugin for hiding UI elements via settings, so that it plays nicely with Profile Switcher.
I'll see if I can jot down a PR for this issue. Not sure where to start...

We might add fake settings (show_minimap) and make profile switcher call that code (set_minimap_visible) if it sees it

There actually is a plugin for that: https://packagecontrol.io/packages/Remember Minimap Setting
It works only for minimap, though. And it doesn't disable it directly after profile switching, one needs to reload the interface by reopening the file

Can you do the same but inside our plugin? And trigger on profile change?


has-many :through loses parent association conditions

(I'll put together a repo script for this later, but I want to get this noted now:)
When a join table has a non-default set of join conditions, a has_many :through appears to be ignoring those conditions:
class ProductRelation < ROM::Relation[:sql]
  schema :products, infer: true do
    associations do
        has_many :attachments, foreign_key: :parent_id
        has_many :documents, through :attachments
    end
  end
end

irb(main):008:0> ROM.env.relations[:products].combine(:documents).limit(1).one
KeyError: :product_id attribute doesn't exist in attachments schema
        from (irb):8
irb(main):010:0> ROM.env.relations[:products].associations[:documents].join_keys
KeyError: :product_id attribute doesn't exist in attachments schema
        from (irb):10

Repro script:
https://gist.github.com/cflipse/8545ff9dbd7cffa1c48f7e7b7b5dab73
puts output:
{:id=>1, :name=>"test 1", :attachments=>[{:id=>1, :document_id=>100, :test_id=>1}]}
{:id=>1, :document_id=>100, :test_id=>1, :document=>{:id=>100, :name=>"test document"}}
/home/flip/.gem/ruby/2.4.1/gems/rom-core-4.0.1/lib/rom/schema.rb:197:in `[]': :product_id attribute doesn't exist in attachments schema (KeyError)
	from /home/flip/.gem/ruby/2.4.1/gems/rom-core-4.0.1/lib/rom/schema.rb:211:in `block in project'

Actually, you need to define custom fk on the :documents assoc, so:
has_many :documents, through :attachments, foreign_key: :parent_id`


[Feature] responsive page width or "full width mode"

Problem description
at times the amount of content that is housed within a page can exceed the horizontal limits of the page making it difficult to read and digest.
Why would it be useful?
having dynamic width or "full width mode" would enable users to interact with verbose content with more ease.
Describe the solution (optional)
Option 1: dynamic page width - downside here is that aesthetically it probably won't feel great to not have a uniform experience with the documents. could be wrong
Option 2: optionality to enter "full width mode" giving the reader or client the ability to opt in to a view that better supports wide content.
Additional context
Examples that illustrate horizontal overflow.

a good example of the problem we are facing is here: https://documentation.sayari.com/sayari-library/coverage/coverage

@aleksAperans did andrew's suggestion above solve your issue?

@dsinghvi it did --  thank you!


docs(feat): Dynatrace Canary Analysis

Redo of #273 , which I merged before it should have been and therefore had to revert.

Don't merge until it's available in a release.

Jira DOC-53


ocamlPackages.mirage-unix: 4.0.1 → 5.0.1; mirage-crypto: 0.10.5 → 0.10.7

Description of changes
Fixes & improvements:
https://github.com/mirage/mirage-unix/blob/v5.0.0/CHANGES.md#v500-2022-02-01
https://github.com/mirage/mirage-crypto/blob/v0.10.6/CHANGES.md#v0106-2022-03-29
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

5 packages built:

comby
dune-release
jackline
ligo
liquidsoap

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

5 packages built:

comby
dune-release
jackline
ligo
liquidsoap


[Feature]: Disable toml file formatting when running shopify app dev

What area(s) will this request affect?
Running your code locally
What type of change do you want to see?
Substantial change to existing feature
Overview
Could you add an option to disable formatting when running shopify app dev? Or perhaps format it with the editor's default formatter?
Motivation
It formats differently than the Even Better TOML VScode extension - annoying.

Not stale.

Not stale. Please disable the stale bot. It makes it seem like you don't care to hear from people using your software.


Implement Static Instruction Format Node Info Window

[ ] Criteria 1

Criteria 1
Give:

A project with a valid instruction format is loaded

When:

The user opens the IF info window

Then:

A diagram of the instruction format will be displayed
Overlapping bit ranges will be displayed in red
Unused bit ranges will be displayed in yellow

@jleidel The idea here is to give the user a visual indication of possible problems in the IF. Bullet point 2 in the then makes sense to me, but if there is a reason to allow overlapping fields I'll change the color so that it doesn't look like an error. Also, if there are other possible errors that I could represent visually here please let me know.


[BUG]:  Feedback link in the footer doesn't redirect to the feedback form

Description
The "Feedback" link in the footer of the website is currently non-functional. When clicking the link, no action is triggered, and the feedback form does not appear as expected.
Steps to Reproduce
Please provide step-by-step instructions on how to reproduce the issue:
Go to the website's homepage or any other page.
Scroll down to the footer section.
Click on the "Feedback" link.
Observe that no action or redirect occurs.
Expected Behavior
When the "Feedback" link in the footer is clicked, it should either:
Redirect the user to the feedback form page.
Open a modal or overlay that allows the user to submit feedback.
Actual Behavior
When the "Feedback" link is clicked, no action is triggered, and the user remains on the same page with no feedback form or modal appearing.

Can i work on this problem?

it has been already assigned , find another issue to contribute ;)

hey @yashmandi ,  If there is no active PR on this issue till now , so can i work on this issue.

Assigned @Saurabhchaudhary9799


An error occurs when deploying a .NET 9 project to a .NET 9 Linux function app with "App Service Plan" hosting plan at the second time

OS: All
Build Version: 20241010.1
Regression: Not a Regression
Repro Steps:

Create a .NET 9 project with HttpTrigger template.
Create a .NET 9 Linux function app with "App Service Plan" hosting plan selected.
Deploy the .NET 9 project to the above function app.
Deploy again.
Check whether succeeds to deploy a .NET 9 project to a .NET 9 Linux function app with "App Service Plan" hosting plan.

Expect:
Succeed to deploy a .NET 9 project to a .NET 9 Linux function app with "App Service Plan" hosting plan at the second time.
Actual:
An error occurs when deploying a .NET 9 project to a .NET 9 Linux function app with "App Service Plan" hosting plan at the second time.

The detailed output shows as below.
output log.txt
More Info:
This issue also reproduces when deploying a .NET 9 project to a .NET 9 Linux function app with "Premium" hosting plan at the second time, but it is unstable in this scenario, it can be reproduced if deploy several times.

Does the timing of the follow-up deploy matter at all, or does this produce pretty consistently?

Yes, this issue can be reproduced consistently.
If create a new function app and deploy at the first time, it will be successful. But this issue will be reproduced if deploying again.


Add files via upload

draft submission

Can you please verify your layout?  There are disconnected grating couplers, which you can delete.
thank you

Also:
Turn on the GitHub Actions on your forked repository (In your repository's page on GitHub, click on Actions in the top-menu bar, and Enable the workflows).

@agafonov1 how is it going?


pac4j-saml class loader issue

In the org.pac4j.core.util.CommonHelper class in method org.pac4j.core.util.CommonHelper.getInputStreamFromName(String) it calls CommonHelper.class.getResourceAsStream(path);
I am running this is an osgi environment and hence this doesn't return anything.
Can you change this to
Thread.currentThread().getContextClassLoader().getResourceAsStream(path);
This is a blocker on my end so if you could get this in snapshot build and let me know it would be awesome.. While you're at it instead or in addition to "resource:" can you allow spring's "classpath:" for consistency with the rest of my spring configuration.
Thanks,
Garry

I plan to release pac4j v1.8.1 next week, so we need to do that before. And yes, we can add a "classpath:" support as well. Would you mind submitting a pull request for both changes? Thanks

I will try.. Right now my priority is getting saml working and that's not going well as per my other ticket.

Closing this one. Feel free to re-open it if necessary.


Loading (and merging) from multiple config files? YAML or JSON5 config files?

I thought about two things that sys admins setting up Tobira might want? I am mainly creating this issue to see if people are interested in this.

Loading from YAML or JSON5 files? Our configuration library supports those formats, so it should be easy to switch. Only problem is that some comments/docs about config options use TOML syntax which would need to be changed. But would be doable I think. And maybe one doesn't even want Tobira to be configurable in different formats? It "fractures" the ecosystem when everyone uses a different format, making config sharing more difficult?

Loading from and merging multiple files? One might want to put secrets into a separate file (which is encrypted with ansible-vault, for example), while keeping the majority of config unencrypted. Is that something that would be useful to people?

Any opinions? @geichelberger @ziegenberg @Piriya-VM @KatrinIhler @wsmirnow @jduehring (just pinging everyone who once set up a Tobira :D)

* **Loading from YAML or JSON5 files?**

I think this is too much work for too little gain. I'm not that familiar with TOML, but it's fine. Also updating your config from the repo for a new release might be harder if you use a different format (or would that repo contain the config in all supported formats?) Either way, I don't really need this.

* **Loading from and merging multiple files?**

Same here: We already put secrets in a different file that we encrypt, but using those in the config is pretty easy with Ansible variables, and is also more obvious than maintaining multiple files imo. There might be other use cases for this, but I personally don't need this. ¯_(ツ)_/¯

or would that repo contain the config in all supported formats?

Yep it would. The config.toml template (with all values commented-out) is auto-generated and can easily be generated in different formats as well.

pretty easy with Ansible variables

Wow, I completely forgot about that, despite having used this workflow a lot in the past :open_mouth: Yeah ok, then the main argument for using multiple files is gone I guess.

Yep it would. The config.toml template (with all values commented-out) is auto-generated and can easily be generated in different formats as well.

Oh cool! Well, I quess then I don't mind either way.

* **Loading from YAML or JSON5 files?**

I think this is too much work for too little gain. I'm not that familiar with TOML, but it's fine. Also updating your config from the repo for a new release might be harder if you use a different format (or would that repo contain the config in all supported formats?) Either way, I don't really need this.

* **Loading from and merging multiple files?**

Same here: We already put secrets in a different file that we encrypt, but using those in the config is pretty easy with Ansible variables, and is also more obvious than maintaining multiple files imo. There might be other use cases for this, but I personally don't need this. ¯_(ツ)_/¯

+1

Well then, I suppose I will close this then. If the features are not that useful, then I gladly go the "less work for us" path :)


Node name in pop

Hi,
Nice project for dynamic network map drawing :+1:
Is it possible to remove pop name from node name in pop?
e.g. full node names in shownet.json is "dceast-ne40e", "dceast-fx1-1", they are grouped to pop "dceast", but individual nodes in pop "dceast" could be named "ne40e", "fx1-1"

Hi, thank you for using inet-henge.
I've just introduced a signal to hook when inet-henge completes rendering the diagram.
With the newest version, you can rename nodes like this:
--- a/example/shownet.html
+++ b/example/shownet.html
@@ -13,8 +13,16 @@
 </body>

 <script>
   var distance = function(force) { force.jaccardLinkLengths(100, 0.2); }
   var diagram = new Diagram('#diagram', 'shownet.json', {pop: /^([^\s-]+)-/, distance: distance});
   diagram.init('interface');
+
+  diagram.on('rendered', () => {
+    document.querySelectorAll('.node tspan').forEach((name) => {
+      name.textContent = name.textContent.replace(/^([^\s-]+)-/, '');
+    });
+  });
 </script>
 </html>


Uncaught TypeError: Cannot read property 'x' of null when duplicating blocks

Using right-click to duplicate a block on the workspace causes this error
block_dragger.js:393 Uncaught TypeError: Cannot read property 'x' of null
    at Blockly.BlockDragger.pixelsToWorkspaceUnits_ (block_dragger.js:393)
    at Blockly.BlockDragger.dragBlock (block_dragger.js:200)
    at Blockly.Gesture.startDraggingBlock_ (gesture.js:461)
    at Blockly.Gesture.forceStartBlockDrag (gesture.js:974)
    at Blockly.WorkspaceSvg.startDragWithFakeEvent (workspace_svg.js:2209)
    at block_svg.js:752

Doesn't seem to cause any big problems, but it is spamming the uncaught error aggregator. :)

Update, it also might be a regression because Sentry says it first saw this error 10 days ago. /cc @rachel-fenichel

Blockly.Gesture.prototype.forceStartBlockDrag = function(fakeEvent, block) {
  this.handleBlockStart(fakeEvent, block);
  this.handleWsStart(fakeEvent, block.workspace);
  this.isDraggingBlock_ = true;
  this.hasExceededDragRadius_ = true;
  // fix this error
  this.updateFromEvent_(fakeEvent);
  this.startDraggingBlock_();
};

this will fix the bug in scratch-blocks.

@hecor Please explain how that fixes the bug--it's not obvious what adding that line does.

Okay, then the solution may be to initialize currentDragDeltaXY_ in doStart.  updateFromEvent_ is overpowered for this problem.
I would initialize it just after setting mouseDownXY_ in doStart, around line 517.  Please test that and make a pull request.


Unable to pass values from one js file to another js file

I want to return a value from one js file to another js file.
From the below file Genericutil.js I want to return blnFlag to home_page.js
GenericUtil.js:
var blnFlag=''
GenericUtilities = function(){
this.objClick = function(objLocator){
element.all(objLocator).then(function(items) {
if (items.length == 1) {
element(objLocator).click();
blnFlag='True';
console.log("Inside if" + blnFlag);
}
else {
blnFlag='False';
console.log("inside else" + blnFlag);
};
});
return blnFlag;
};
};
module.exports = new GenericUtilities();
home_page.js:
var blnFlag;
var gu = require("../GenericUtilities/GenericUtil.js");
var home_page = function(){
this.clickContinue = function(){
blnFlag = gu.objClick(home_page_obj.btnContinue);
console.log("After return" + blnFlag );
};
};
module.exports = new home_page();
The value is being returned as undefined.

As per our CONTRIBUTING.md, please ask this kind of question on Stack Overflow.
Also, I think you probably want GenericUtilities.objClick to return a promise.

Yes. I am looking for the same and any help in this regard is appreciated.


Add Screenshots to README

issue #35  was asking for screenshots in the README, so I added some!
This is my second attempt at a pull request, I think this is right now.

Ok, everything looks good. The photos are loading! 👍🏻


Display Profile photo

Currently, the display photo of the user is static. Make changes such that
1.) user should be able to add a profile photo
2.) user should be able to update profile photo
3. the app should display the user photo when the user logged in to the dashboard.
4.) user should be able to delete a profile photo
that has a generic image for a profile photo. If the user has don't uploaded a photo assign a default photo

Kindly give your update @jhamadhav

I am having my college exams will update next Saturday, will that be fine ?

Nope, the issue will be unassigned.

I can work on this @vigneshshettyin

Yes. assigning to you.


Deprecate API-Readiness-Checklist.md

What type of PR is this?

documentation

What this PR does / why we need it:
The API-Readiness-Checklist.md is replaced by the new updated version which is located in the Release Management project.
It should be approved after merging https://github.com/camaraproject/ReleaseManagement/pull/29 .
Which issue(s) this PR fixes:

Fixes #202
Special notes for reviewers:
I am not aware of references to the current API Readiness Checklist from other Commonalities documents.
Using Markdown strikeout formatting breaks table rendering, it may be clearer to keep the original table without strikeout.
Changelog input
The API-Readiness-Checklist.md is marked as deprecated

Additional documentation

I have removed the old content (table).

@patrice-conil Could you approve also this PR?


Thumb issue.

https://user-images.githubusercontent.com/49521234/198576381-560ab091-fb8f-4361-bc72-34bd5f473d2f.mp4
There is an issue in thumb when we touch it, It directly goes to 80.

Hey @ahsanbhatti98,  Can you share the snippet?


Password prompt with SQL Server integrated auth

SQL Server integrated auth has the same issue as #2677. The fix should be an extension of the same.
https://stackoverflow.com/questions/60002547/flyway-with-sql-server-integrated-security

Potentially we can close https://github.com/flyway/flyway/issues/1646 once this is merged?

Yes - plus we should reply to Stack Overflow, and update anywhere in the documentation that talks about a dummy password


Unresponsive header

The Issue
As pointed out by some users at slack:

When it's shrunk the text pops out and you get, well, that

Steps to reproduce

Resize window to min-width.

Expected behaviour
The header should be responsive and don't have a weird behavior
when you resize the window.

Fixed ^

Thanks @btzr-io !


Optimising meta-data & third party applications?

Hi guys
Forgive me for being unversed with programming:  I'm encountering issues with optimising the site for search engine use.
Is there a way to easily insert detailed metadata for each article in addition to the homepage?
Furthermore, how would one go about adding third party applications such as disqus or a 'did this article help' extension. Would I need to hire somebody to do this or is there a simple way to achieve these things
many thanks

Hi @beachedward,
Sorry for the very late response.

Is there a way to easily insert detailed metadata for each article in addition to the homepage?

No, Not as it stands. BookStack is Primarily focused as a smaller internal wiki rather than a public-facing documentation site where SEO is a concern.

Furthermore, how would one go about adding third party applications such as disqus or a 'did this article help' extension. Would I need to hire somebody to do this or is there a simple way to achieve these things

Such additions would really require some custom development work, As these are things I don't really see being included in the core project. Some of them may be possible/easier in the near future as we improve customizability.
To be honest though, from your questions, I think other solutions may be better for your use-case. You could find someone to help modify BookStack to include your required features but then you'll need active maintenance to keep up with releases.

Since the original questions were answered I'll close this. If there was any specific wishes in terms of the meta data please open a new issue focused on that request.


Update README.md

trivial fix: install process ordering (was written to call pip install before downloading the requirements file)

Already fixed by another PR.


Support Fmt.cli and Logs.cli

The first commit is just a switch to Cmdliner.Arg.&, I find it cleaner and it's more in line with Cmdliner's documentation, but I can remove it if you prefer. (EDIT: removed).
The second introduces support for Fmt.cli, that's the --color=always|never|auto flag, and support for setting logs verbosity through the command line. This introduces a bit of noise in the help page, but helps development by not having to patch the source to get more logs. The new options are only available through sub-commands.
The scheduler and the worker don't use Fmt.cli as their logs are given to Prometheus.

Thanks!


[BUG] Cannot delete existing volumes once attached to a deleted VM

Describe the bug
Cannot delete existing volumes once attached to a deleted VM
To Reproduce
Steps to reproduce the behavior:

Create a VM from Web UI.

Use an image for the first disk,
and an existing volume for the second one.

Wait until the VM is running and delete the VM.
A dialog will pop up to ask if the user also want to delete volumes. Choose all of them and confirm.
After a while the VM should be disappear from the Virtual Machines page.
Go to Volumes page. The second volume lingers and is not deleted.
Try to delete the remaining volume will get a validation error likeadmission webhook "validator.harvesterhci.io" denied the request: can not delete the volume vol2 which is currently attached to VMs: default/vm1

Expected behavior
When go to the Volumes pages, the second volume should not be there. Since we already selected it to be deleted with VM together.
Environment:

Harvester ISO version: master-46ee2188-head
Underlying Infrastructure: VirtualBox on macOS 11.4

Additional context
This may be a regression caused by #978, which is a nice PR but misses this case. If an existing volume is requested to delete, it will be skipped with step of harvesterhci.io/owned-by annotation removal. This results in a logic leak that makes validator think the volume is still owned by the deleted VM.

I think the more appropriate expected behavior is:
When go to the Volumes pages, the second volume should not be there. Since we already selected it to be deleted with VM together.
The cause is the existing datavolume doesn't have a owner reference, thus it's not garbage-collected after the VM is deleted.

Tested successfully with the last master branch master-50c6f22c-head.

Create a VM with 2 volumes and delete the VM with all the volumes:

The VM is well destroyed:

As well as the volumes:


Question not issue babel-plugin-angularjs-annotate for replace ng-annotate with grunt

Hi,
I have a question , how can i install babel-plugin-angularjs-annotate for replace ng-annotate with grunt
thanks
Fred

any updates about this one

I have added this to my project, but it doesn't seem to make the needed changes, how do I get it to trigger?

This plugin is installed the same as every other Babel plugin is. You have to add it to the Babel configuration.
https://babeljs.io/docs/en/config-files
https://github.com/schmod/babel-plugin-angularjs-annotate/blob/master/README.md#installation
After doing this - you will most likely do not have to do anything in your build pipeline - as long as you are using Babel to transpile your code.


Add support for PUBSUB SHARDNUMSUB

Description

Describe your pull request here

very similar to the existing implementation of the PUBSUB NUMSUB command. :)

Checklist

[x] Does npm test pass with this change (including linting)?
[x] Is the new or changed code fully tested?
[ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

Codecov Report
Patch coverage: 96.77% and project coverage change: +0.02% :tada:

Comparison is base (a7d5bc7) 95.70% compared to head (8a84878) 95.72%.
 Consider uploading reports for the commit 1618630 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2541      +/-   ##
==========================================
+ Coverage   95.70%   95.72%   +0.02%
==========================================
  Files         456      459       +3
  Lines        4561     4543      -18
  Branches      524      507      -17
==========================================
- Hits         4365     4349      -16
  Misses        127      127
+ Partials       69       67       -2

Files Changed
Coverage Δ

packages/search/lib/commands/SEARCH.ts
82.60% <ø> (ø)

packages/client/lib/client/index.ts
92.74% <75.00%> (-0.84%)
:arrow_down:

packages/client/lib/client/commands.ts
100.00% <100.00%> (ø)

packages/client/lib/commands/CLIENT_NO-TOUCH.ts
100.00% <100.00%> (ø)

packages/client/lib/commands/PUBSUB_SHARDNUMSUB.ts
100.00% <100.00%> (ø)

packages/json/lib/commands/MERGE.ts
100.00% <100.00%> (ø)

packages/search/lib/commands/SEARCH_NOCONTENT.ts
100.00% <100.00%> (ø)

... and 11 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@david02324 @younes-io redis@4.6.9/<EMAIL_ADDRESS>is on npm :tada:


Replace tqdm progress bars with rich

Replaces the progress bars with those from rich.

Sorry for being nitpicky, but can the time elapsed also be added as a column?

Closing as the rich progress bars are too slow.


Unable to change color of Tooltip using the sx prop

I was able to change the colour of Tooltip using the provided example in the doc (which is done with styled), but convert it with the sx prop somehow doesn't work.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
See this codesandbox. The Tooltip using the sx prop doesn't change its color as opposed to the one using styled.

Expected Behavior 🤔

The two Tooltip must have the same colour.
Steps to Reproduce 🕹

See this codesandbox.
Context 🔦

To change the colour of a Tooltip component, I tried  as usual to target its global classes in the sx prop, but it didn't work. I then copy-paste the official example using styled which works without issue. Then, I converted that Tooltip in using sx in this codesandbox, but still had no luck.
Your Environment 🌎

`npx @mui/envinfo`

  System:
    OS: Linux 5.11 Ubuntu 21.04 (Hirsute Hippo)
  Binaries:
    Node: 15.11.0 - ~/.nvm/versions/node/v15.11.0/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.6.0 - ~/.nvm/versions/node/v15.11.0/bin/npm
  Browsers:
     Brave Browser: <IP_ADDRESS>

You need to use the componentsProps.popper and set the sx prop there. See https://codesandbox.io/s/customizedtooltips-material-demo-forked-ob5iq?file=/demo.js
The styled() example is too forwarding the className to classes.popper.

@mnajdova  Thank you, it makes sense now.


Sce viewstate

First (Again) commit on the SCE (Send-Content-Error) part of Mosby.
Not sure if it's the best implementation of all use-cases, really appreciate feedbacks and suggestion (help also ;)) to implement this cool feature !

I think adding this is not important anymore, is it?

@sockeqwe You mean the feature or the code itself, since it's ouf of date ?

Sorry, I mean't the feature

@sockeqwe No problem :)
Is there any other new way of doing this ? Sorry for the dumb question, I'm kinda out of date with Android for a while haha

Not really in MVP / ViewState but with new MVI module this whole ViewState stuff is not needed anymore ...

Cool, thanks for the feedback, gonna dive in a little further on this pattern !


Retry when fetching artifact from remote resolver (maven for example)

Hi,
There is any retry mechanism built in for coursier?
also mentioned here #2217
While coursier fetches artifacts from resolvers it fails on the first attempt and then fails the whole build:
[2023-04-04T12:37:08.627Z] 	Server access Error: Connection timed out (Connection timed out) url=https://XXXX.XXXX.XXXX/repository/maven-public/org/scala-sbt/sbt/1.6.2/sbt-1.6.2.pom
Gradle already doing retries automatically:
https://docs.gradle.org/current/userguide/dependency_resolution.html#sub:http-retries
Also, some tech notes might help and I'll be happy to add this feature myself.
Thanks

Hi @hagay,
For the context, I think you should mention your original issue comes from sbt: https://github.com/sbt/sbt/issues/7200.
There already is a retry mechanism in Coursier CLI (see  coursier.cli.resolve.ResolveParams and coursier.cli.resolve.Resolve) but not in coursier.Resolve, which is the core API of Coursier, used by sbt-coursier.
To solve this we can:

Re-implement the retry mechanism in sbt-coursier somewhere around here,
Add retry as a feature of the core API in coursier.Resolve.

WDYT @alexarchambault, Do you think coursier.Resolve should be able to retry on ConnectException?

@alexarchambault @adpi2
Hi, there are any more thoughts regarding the issue?

For the record I wrote this 2 weeks ago in https://github.com/coursier/coursier/issues/2217#issuecomment-1496606522:

As I commented in the sbt ticket Coursier already retries for some kind of error https://github.com/coursier/coursier/commit/869d7c628edcd9315a43f75d87614198146ce6bb, so I feel like this could be something a willing contributor could implement without knowing too much about the rest of Coursier code base.

We certainly can keep reimplementing retries outside of Coursier, but I feel like wider audience would benefit if this could be handled at the Downloader level.
https://github.com/coursier/coursier/blob/ddd165c54f366fc7a60379e31c6e7994399c84f3/modules/cache/jvm/src/main/scala/coursier/cache/internal/Downloader.scala#L774-L776


How to check if server is currently running after start()

I am running a simple WebSocket server through my java program and was wondering if there is any reliable method of obtaining the server's status within the calling class.
More specifically, i have a main class creating and starting the WebSocket server, and then the main class runs a separate while loop. I would like this loop to end when the server stops (through crash or built-in stop() method). Is there a method that I would be able to call that can check the server's status? Similarly to the WebSocket client method isOpen()?
Thank you.

Your best option is to have your own stopping method that sets a boolean flag which the main loop reads (depending on how you call it, it might have to be volatile) and also stops the server.
To handle "crashes" you first have to decide what errors do you consider fatal (probably where conn == null). All exceptions within the server are passed to onError callback in which you can call your created stopping method if necessary.

After some quick testing, that seemed to work perfectly. Thank you much!
Will close the issue now.


uv lock locks incorrect torch cpu version on macOS

uv version : uv 0.5.2 (195f4b634 2024-11-14)
running on macOS 15.0.1, m1 chip, 2020

I am following a very simple workflow to test this situation :

run uv init torch-uv
add torch, torchaudio to pyproject.toml

[project]
name = "torch-uv"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
    "torch>=2.4, <2.5"
]

[tool.uv.sources]
torch = { index = "torch-cpu"}

[[tool.uv.index]]
name = "torch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true

create .venv with uv venv
install project with uv pip install .. When i run uv pip show torch i get Version: 2.4.1. I can successfully source .venv/bin/activate and run python, import torch etc.
i run uv lock. Here is the problem, in the lock file i have

[[package]]
name = "torch"
version = "2.4.1+cpu"

when i run uv run python i error with error: Distribution torch==2.4.1+cpu @ registry+https://download.pytorch.org/whl/cpu can't be installed because it doesn't have a source distribution or wheel for the current platform

If repeat the same process by having only "torchaudio>=2.4, <2.5" in my dependencies, torch will be downloaded but the lock file will be correct, without the +cpu. Am i missing something here ?

Unfortunately this is correct. Torch doesn't publish +cpu wheels for macOS. They expect you to just use the 2.4.1 without +cpu. But if you resolve against the https://download.pytorch.org/whl/cpu index, then it's correct to choose the +cpu version. It's a duplicate of #5182.

One option:
[project]
name = "torch-uv"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
    "torch>=2.4, <2.5"
]

[tool.uv.sources]
torch = { index = "torch-cpu", marker = "sys_platform != 'darwin'" }

[[tool.uv.index]]
name = "torch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true

Another:
[project]
name = "torch-uv"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
    "torch==2.4.1+cpu ; sys_platform != 'darwin'",
    "torch===2.4.1 ; sys_platform == 'darwin'"
]

[tool.uv.sources]
torch = { index = "torch-cpu" }

[[tool.uv.index]]
name = "torch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true

A third:
[project]
name = "torch-uv"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
    "torch==2.4.1",
    "torch!=2.4.1+cpu ; sys_platform == 'darwin'"
]

[tool.uv.sources]
torch = { index = "torch-cpu" }

[[tool.uv.index]]
name = "torch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true

thanks you very much ! solved

No prob. I'm working on comprehensive docs for this now.


Cannot open file

Hi, I'm trying to use the plugin to open a PDF located in my www folder. The path is www/assets/file.pdf.
I tried to open all these paths, but no one works.
const filePath = 'assets/file.pdf';
const filePaths = [
  filePath,
  `/${filePath}`,
  `/www/${filePath}`,
  `/android_asset/www/${filePath}`,
  `file:///android_asset/www/${filePath}`,
  `cdvfile://localhost/assets/www/${filePath}`,
];

Everyone is opening the viewer but it shows me an alert "Cannot open file!"
My code is like described on the ReadMe file:
const options = {
  headerColor:"#000000",
  showScroll: true,
  showShareButton: false,
  showCloseButton: true,
  swipeHorizontal: false,
};

const [, folder, fileName] = filePath.match(/^(.*\/)([\w\.]+)$/);
AndroidNativePdfViewer.openPdfUrl(
  filePath,
  fileName,
  options,
  (success) => console.log('AndroidNativePdfViewer success', success),
  (error) => console.log('AndroidNativePdfViewer error', error)
)

So which is the correct url to send to the plugin?

@matteoferigo this plugin supported url is http or https
const options = {
  headerColor:"#000000",
  showScroll: true,
  showShareButton: false,
  showCloseButton: true,
  swipeHorizontal: false,
};

AndroidNativePdfViewer.openPdfUrl(
  'https://www.example.com/test.pdf',
  'test',
  options,
  (success) => console.log('AndroidNativePdfViewer success', success),
  (error) => console.log('AndroidNativePdfViewer error', error)
)


Deno support

Hello, are there any plans to support the deno environment?

+1

Please don't comment with "+1" or "me too" as this sends out useless e-mails to everyone subscribed to the issue.
If you wish to express support for an issue, you can use the "Add an emoji reaction" feature on the issue description to give it a thumbs up. If you just want to be notified of future progress of the issue, you can press the "Subscribe" button in the sidebar.

There are currently no plans to support deno. As I understand it the code can't easily be ported to deno as it is, but if anyone with experience writing for deno would like to advise, I'm all ears.

deno have only fetch for requests, therefore xhr is not included, if there is any sign of drop xhr support, it is a sign for deno support


[CLI] Use sdk

Now that we have the first version of the client SDK we can use it within the covenant/covenant-less CLIs and simplify a lot the code of the actions

Closed by #307


zbus: optional unique channel numeric identifiers

Add the option for a unique numeric identifiers to be attached to a
zbus channel. This identifier can then be used to lookup the channel
structure at runtime. This is useful in three situations (that I can
immediately think of).
Firstly for external interaction, i.e a text shell or remote procedure
calls. The current state of a channel can be queried by an ID that never
changes, as opposed to the external entity needing to know the exact
memory address of the channel for a given application binary.
Secondly for integrating with dynamically loaded extensions (llext).
These extensions can hook into the existing data streams without each
individual channel needing to be exported and visible to the loader.
Thirdly, for common pieces of code that should compile regardless
of which channels are present in the application. Instead of getting
a link error when the channel fails to resolve, the user gets a NULL pointer
at runtime instead that can be handled/skipped.
The new macro duplicates the implementation of ZBUS_CHAN_DEFINE as
several of the macros parameters are lists that expand too many times
if passed through to a common implementation backend.
Documentation will be added if the concept is approved.

Rebased on v3.7.0, extracted most of the common code into a helper macro.
init_value and observers parameters must be handled in the first macro call, otherwise the parameter expansion goes crazy.

ping @rodrigopex, this will also need a second reviewer to get merged

LGTM
Side note, try to prevent rebasing together with other changes, as this makes the GH "Compare" button useless.

Interesting, I have always tried to do things in one rebase to prevent unnecessary CI runs

Interesting, I have always tried to do things in one rebase to prevent unnecessary CI runs

Was the rebase necessary for some CI issues? Otherwise the rebase wasn't even needed, I guess.


New name for this project?

It went from formerly voodoo to now copier.

Can we come up with an even shorter name = less typing?
What name would better reflect the function not only copying templates but render them with actual customization?

List of suggestions:

spark
clay (already taken ;-))
cast
mold
cook

I like copier. :blush:

OK. Decided. We are going to stay with copier then. 😺


missing header

missing #include <functional>

Thanks for flagging @alex-ht — already fixed in ea702c05403600d1339d0744a456f68694553187, closing.


Confirmation of the feasibility of nested Map.

Does cosmwasm support this kind of map writing, I want to implement this kind of nested map, how should I do save, load, update and remove.
Map<&u128, Map<&Addr, Uint128>>

I want to implement this data structure that.
{
    index_1: {
        user_addr_1: claimable_amount,
        user_addr_2: claimable_amount,
    },
    index_2: {
        user_addr_1: claimable_amount,
        user_addr_2: claimable_amount,
        user_addr_3: claimable_amount,
    }
}

@maurolacy bro, I need help. thanks! 🙏

@99Kies @maurolacy is not actively maintaining storage-plus right now. He moved to another project.
Answering your question - no, nested maps are not a thing. But what you can do is a compound key:
my_map: Map<(u128, &Addr), Uint128>>

With this, you can access the item indexed as [15]["user_addr_1"]:
my_map.load(deps.storage, (15, &Addr::unchecked("user_addr_1")))?;

And you can also iterate through all items from the '[18]` pool:
let items = my_map.prefix(18).range(deps.storage, None, None, Order::Ascending);

The items here would be an iterator yielding (Addr, Uint128) - the Uint128 is the map's final value.
The reason for that is, that the storage of CosmWasm is not structural at all - it is a flat key-value map. The storage-plus utilities, including Map are just accessors that do some key mapping to imitate a structure, but building arbitrary hierarchy is out of its scope. What we can do is build the key out of multiple parts (like a tuple), and use some iteration utilities to access them partially.

@hashedone  If in this case I want to remove the bound data under the specified index, Is there need to additionally store {index: user_list} and then do the removes one by one?
like this:

        let old_beneficiaries =
            REWARD_ADDR_SEQUENECE.load(deps.storage, &reward_sequenece_index)?;
        for i in 0..old_beneficiaries.len() {
            let old_beneficiary = &old_beneficiaries[i];
            REWARD_SEQUENECE.remove(deps.storage, (reward_sequenece_index, old_beneficiary));
        }
        REWARD_ADDR_SEQUENECE.remove(deps.storage, &reward_sequenece_index);

Is there any good way to do a unified CURD based on index data?

Is there need to additionally store {index: user_list} and then do the removes one by one?

You cannot read and write over the same storage container at the same time. You don't need an additional container. You can collect all the items to remove in memory, and then loop over them to remove them.

like use this way. right? (I'm remove old REWARD_SEQUENECE data with REWARD_ADDR_SEQUENECE.) @maurolacy

@hashedone If in this case I want to remove the bound data under the specified index, Is there need to additionally store {index: user_list} and then do the removes one by one?
like this:
        let old_beneficiaries =
            REWARD_ADDR_SEQUENECE.load(deps.storage, &reward_sequenece_index)?;
        for i in 0..old_beneficiaries.len() {
            let old_beneficiary = &old_beneficiaries[i];
            REWARD_SEQUENECE.remove(deps.storage, (reward_sequenece_index, old_beneficiary));
        }
        REWARD_ADDR_SEQUENECE.remove(deps.storage, &reward_sequenece_index);


Improvement: Add time constraint to search

We have a lot of custom scripts that we use to search Elasticsearch and alert on various events. 411 would be great replacement for this but we need time constraint in our search - let's say we have monitoring for elasticsearch not having events from some source. But we only want to alert on this during production hours. It is easy to do with a python script. It would be great to have such functionality in 411.

Couldn't you just configure this on the cronjob running the saved alerts?
I guess that would work.

Good point. I did not think about using cron at all. Let me try that.

That would work. I'd advise running cron.php during work hours (or whatever times you'd like) and running worker.php every minute.

@kiwiz - are you referring to this cron command?
/var/www/411/bin/cron.php > /dev/null 2>&1 && /var/www/411/bin/worker.php > /dev/null 2>&1
Coud you give me a little bit more info on what this command actually does?

Yup.
The cron.php script is responsible for scheduling jobs in 411. It sounds like you want to limit this to work hours.
The worker.php script is responsible executing jobs. Currently, only cron.php does this. However, if this ever changes, running worker.php every minute ensures jobs will get completed outside work hours.


BF: limit pyjwt to <2.0

Otherwise it leads to installation of a more recent version, whenever upstream
explicitly requires lower one
https://github.com/PyGithub/PyGithub/blob/master/setup.py#L101
and that leads to distuils to puke upon import, e.g. as in this case:
https://github.com/conda-forge/datalad-container-feedstock/issues/7

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

don't know how to test without having it merged, but AFAIK it is ready to go

don't know how to test without having it merged, but AFAIK it is ready to go


On board MySQL 8 to TestGrid

Is your suggestion related to an experience ? Please describe.
Currently, Testgrid supports only MYSQL 5.7 but we are providing Mysql 8 as a compatible database type we should be able to onboard that to TestGrid.

IS 5.11 document already listed MySQL 8 as a supported database.
https://is.docs.wso2.com/en/5.11.0/setup/environment-compatibility/

This task is done and without any infrastructure failures, Tesgrid job is running successfully. But there are scenarios tests are getting failed from two scenarios. Should re-triggered the scenarios tests against MySQL 8 once those test issues got fixed.
Linked Git issues as for reference.
https://github.com/wso2/product-is/issues/9765
https://github.com/wso2/product-is/issues/9766


[Feature Request] excel python

Checklist

[X] I searched exising issues and no one else requests similar feature.
[X] I think that 25%+ users are positive towards this feature.

Describe the feature
https://www.zhihu.com/question/301894577
Additional context
No response

Hello @unknowIfGuestInDream. This issue is marked as deprecated and closed.


Results do not change when changing background scenarios

When we do change the climate target for the IAM in InventoryCar, results remain unchanged.
ic = InventoryCar(cm, method="recipe", scenario="SSP2-PkBudg1150", indicator="midpoint")

I could not reproduce the error. I get different results for the 3 scenarios (SSP2-NPi, SSP2-PkBudg1150, SSP2-PkBudg500).
I calculated climate change based on Recipe Midpoint for 2030 (for BEV and ICEV-d, medium size).

@A-Sterni It's an issue I got reported by a user. I'm anyway rewriting that part entirely, updating most foreground and background inventories (incl. switch to ecoinvent 3.9). I will come back to you with an early version later this week, if you agree to test it out.

This is now fixed with carculator_utils 1.2.0.dev6


Handle multiline environment variables

I have an issue when parsing multiline environment variables, the cli is not able to parse them.
export TEST_VALUE='first line
next line'

env | jinja2 --format env my_file.txt

This raises a ValueError because the environment variables file is parsed line by line, and the second line does not contain a variable name.
How can I handle such variables ?

~/test: $ cat my_file.txt
Print {{ environ('TEST_VALUE') }}

~/test: $ export TEST_VALUE='first line
next line'

~/test: $ jinja2 my_file.txt
Print first line
next line


kube_pod_status_phase treats Completed pod as Running

Bug Report
pods under openshift-infra project
NAME                            READY     STATUS      RESTARTS   AGE
hawkular-cassandra-1-d9cq5      1/1       Running     0          5h
hawkular-cassandra-2-clwx8      1/1       Running     1          5h
hawkular-metrics-9l2ws          1/1       Running     0          5h
hawkular-metrics-schema-g2k48   0/1       Completed   1          5h
heapster-78gxb                  1/1       Running     0          5h
hawkular-metrics-schema pod is created by cron job, and its status is Completed
queried
kube_pod_status_phase{phase="Running",namespace="openshift-infra"}
in prometheus UI.
it treats hawkular-metrics-schema-g2k48 status as Running, not Completed.
Environment

System information:

uname -srm
Linux 3.10.0-862.14.4.el7.x86_64 x86_64

Prometheus version:
version=2.3.2

@simonpasquier
Thanks, it moved to https://github.com/kubernetes/kube-state-metrics


Fix/ca dashboard date updates

:tada: This PR is included in version 1.7.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Installation issue on Yosemite

After installing as suggested on the README.md, I run the example script to test everything is running correctly
I get instead this error:
Traceback (most recent call last):
  File "test_uni.py", line 6, in <module>
    import universe  # register the universe environments
  File "/Users/charlesquarra/Projects/Universe/universe/universe/__init__.py", line 22, in <module>
    from universe import error, envs
  File "/Users/charlesquarra/Projects/Universe/universe/universe/envs/__init__.py", line 1, in <module>
    import universe.envs.vnc_env
  File "/Users/charlesquarra/Projects/Universe/universe/universe/envs/vnc_env.py", line 9, in <module>
    from universe import remotes as remotes_module
  File "/Users/charlesquarra/Projects/Universe/universe/universe/remotes/__init__.py", line 3, in <module>
    from universe.remotes.docker_remote import DockerManager
  File "/Users/charlesquarra/Projects/Universe/universe/universe/remotes/docker_remote.py", line 17, in <module>
    from universe.remotes.compose import container, log_printer, progress_stream
  File "/Users/charlesquarra/Projects/Universe/universe/universe/remotes/compose/log_printer.py", line 12, in <module>
    from six.moves import _thread as thread
ImportError: cannot import name _thread

I cannot find any module called six anywhere on the repository, or in gym. Please help?

Six is a standard Python module. You might have a very old version of it. Try
pip install --upgrade six

thanks!
ok that fixes the missing dependency, but I get another error:
[2016-12-28 13:04:20,742] Making new env: flashgames.DuskDrive-v0
[2016-12-28 13:04:20,770] Writing logs to file: /tmp/universe-18162.log
Traceback (most recent call last):
  File "test_uni.py", line 11, in <module>
    env.configure(remotes=1)  # automatically creates a local docker container
  File "/Library/Python/2.7/site-packages/gym/core.py", line 226, in configure
    self._configure(*args, **kwargs)
  File "/Users/charlesquarra/Projects/Universe/universe/universe/vectorized/core.py", line 39, in _configure
    super(Wrapper, self)._configure(**kwargs)
  File "/Library/Python/2.7/site-packages/gym/core.py", line 349, in _configure
    return self.env.configure(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/gym/core.py", line 226, in configure
    self._configure(*args, **kwargs)
  File "/Users/charlesquarra/Projects/Universe/universe/universe/wrappers/render.py", line 18, in _configure
    super(Render, self)._configure(**kwargs)
  File "/Users/charlesquarra/Projects/Universe/universe/universe/vectorized/core.py", line 39, in _configure
    super(Wrapper, self)._configure(**kwargs)
  File "/Library/Python/2.7/site-packages/gym/core.py", line 349, in _configure
    return self.env.configure(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/gym/core.py", line 226, in configure
    self._configure(*args, **kwargs)
  File "/Users/charlesquarra/Projects/Universe/universe/universe/wrappers/throttle.py", line 27, in _configure
    super(Throttle, self)._configure(**kwargs)
  File "/Users/charlesquarra/Projects/Universe/universe/universe/vectorized/core.py", line 39, in _configure
    super(Wrapper, self)._configure(**kwargs)
  File "/Library/Python/2.7/site-packages/gym/core.py", line 349, in _configure
    return self.env.configure(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/gym/core.py", line 226, in configure
    self._configure(*args, **kwargs)
  File "/Users/charlesquarra/Projects/Universe/universe/universe/envs/vnc_env.py", line 193, in _configure
    use_recorder_ports=record,
  File "/Users/charlesquarra/Projects/Universe/universe/universe/remotes/build.py", line 19, in build
    n=n,
  File "/Users/charlesquarra/Projects/Universe/universe/universe/remotes/docker_remote.py", line 43, in __init__
    self._assigner = PortAssigner(reuse=reuse)
  File "/Users/charlesquarra/Projects/Universe/universe/universe/remotes/docker_remote.py", line 149, in __init__
    self.client, self.info = get_client()
  File "/Users/charlesquarra/Projects/Universe/universe/universe/remotes/docker_remote.py", line 143, in get_client
    return docker.Client(base_url=host, version=client_api_version), info
  File "/Library/Python/2.7/site-packages/docker/client.py", line 99, in __init__
    self._version = self._retrieve_server_version()
  File "/Library/Python/2.7/site-packages/docker/client.py", line 124, in _retrieve_server_version
    'Error while fetching server API version: {0}'.format(e)
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', error(2, 'No such file or directory'))

Docker may not be installed or running. If you follow the instructions at https://github.com/openai/universe#install-docker, does that resolve it?

yes, starting the docker VM solved the issue. Thanks!


Add category indexed

Closes #472

Please update src/app/weblib/typeschema-api/data.yaml
It would be good to have an e2e test using this new input data format. (test/e2e/tests/features/data_input)

Please update src/app/weblib/typeschema-api/data.yaml

It would be good to have an e2e test using this new input data format. (test/e2e/tests/features/data_input)

I will update/add these @dovicsin .

@dovicsin npm build is not running successfully.
$ npm run build:ts

> build:ts
> ./tools/ci/run/pkg-build-ts.sh

Writing to /home/bela/git/vizzu-lib/src/apps/weblib/typeschema-api/presets.yaml
Generating anim.ts
Generating config.ts
Generating data.ts
Generating presets.ts
Generating styles.ts
Writing /home/bela/git/vizzu-lib/src/apps/weblib/ts-api/module/canvas.ts
src/apps/weblib/ts-api/data.ts:90:36 - error TS2345: Argument of type 'Values' is not assignable to parameter of type 'number[]'.
  Type 'string[]' is not assignable to type 'number[]'.
    Type 'string' is not assignable to type 'number'.

90    this._addDimension(series.name, values, series.categories)
                                      ~~~~~~

src/apps/weblib/ts-api/data.ts:95:60 - error TS2345: Argument of type 'Values' is not assignable to parameter of type 'string[]'.
  Type '(number | null)[]' is not assignable to type 'string[]'.
    Type 'number | null' is not assignable to type 'string'.
      Type 'null' is not assignable to type 'string'.

95     const { indexes, categories } = this._convertDimension(values)
                                                              ~~~~~~

Found 2 errors in the same file, starting at: src/apps/weblib/ts-api/data.ts:90

/** Name of the data series. */
export type SeriesName = string

/** Type of the data series:
    - 'dimension' - categorical data containing strings
      (dates should also be added as strings);
    - 'measure' - continuous data containing numbers. */
export type SeriesType = 'dimension' | 'measure'

/** Represents a categorical or data value */
export type Value = string | number

/** Represents a categorical value */
export type DimensionValue = string

/** Represents a data value */
export type MeasureValue = number | null

/** Base type for data series. */
export interface SeriesBase {
	/** Name of the data series. It will be the unique id of the series to reference it in various parts of the API, mainly in channel configuration and in data record filters. This name will also be used by default for Axis and Legend title. */
	name: SeriesName
	/** Type of the data series.
    If not set, the library will attempt to determine the type based on
    the type of the first value. Number type will result in measure,
    string type will result in dimension. */
	type?: SeriesType
}

/** Name of a dimension data series. */
export interface BaseDimension extends SeriesBase {
	/** Type of the data series.
    If not set, the library will attempt to determine the type based on
    the type of the first value. Number type will result in measure,
    string type will result in dimension. */
	type?: 'dimension'
	/** The array that contains the values of the data series. The value types
    should match the data series' `type` property. If the data series
    is shorter than the longest data series defined, it will be internally
    extended with empty values. */
	values?: DimensionValue[]
}

/** Name of a dimension data series. */
export interface IndexDimension extends SeriesBase {
	/** Type of the data series.
    If not set, the library will attempt to determine the type based on
    the type of the first value. Number type will result in measure,
    string type will result in dimension. */
	type?: 'dimension'
	/** Distinct unique values in the series */
	categories: string[]
	/** The array that contains the values of the data series. The value types
    should match the data series' `type` property. If the data series
    is shorter than the longest data series defined, it will be internally
    extended with empty values. */
	values?: number[]
}

/** Name of a dimension data series. */
export interface ImplicitStringDimension extends BaseDimension {
	/** The array that contains the values of the data series. The value types
    should match the data series' `type` property. If the data series
    is shorter than the longest data series defined, it will be internally
    extended with empty values. */
	values: DimensionValue[]
}

/** Name of a dimension data series. */
export interface ExplicitStringDimension extends BaseDimension {
	/** Type of the data series.
    If not set, the library will attempt to determine the type based on
    the type of the first value. Number type will result in measure,
    string type will result in dimension. */
	type: 'dimension'
}

/** Name of a dimension data series. */
export type StringDimension = ImplicitStringDimension | ExplicitStringDimension

/** Name of a dimension data series. */
export type Dimension = IndexDimension | StringDimension

/** Name of a measure data series. */
export interface BaseMeasure extends SeriesBase {
	/** Type of the data series.
    If not set, the library will attempt to determine the type based on
    the type of the first value. Number type will result in measure,
    string type will result in dimension. */
	type?: 'measure'
	/** The array that contains the values of the data series. The value types
    should match the data series' `type` property. If the data series
    is shorter than the longest data series defined, it will be internally
    extended with empty values. */
	values?: MeasureValue[]
	/** Unit of the data series. */
	unit?: string
}

/** Name of a measure data series. */
export interface ExplicitMeasure extends BaseMeasure {
	/** Type of the data series.
    If not set, the library will attempt to determine the type based on
    the type of the first value. Number type will result in measure,
    string type will result in dimension. */
	type: 'measure'
}

/** Name of a measure data series. */
export interface ImplicitMeasure extends BaseMeasure {
	/** The array that contains the values of the data series. The value types
    should match the data series' `type` property. If the data series
    is shorter than the longest data series defined, it will be internally
    extended with empty values. */
	values: MeasureValue[]
}

/** Name of a measure data series. */
export type Measure = ImplicitMeasure | ExplicitMeasure

/** Represents a numeric interval. */
export interface Range {
	/** Minimal value in the series */
	min: number
	/** Maximal value in the series */
	max: number
}

/** Meta data about dimension data series */
export interface DimensionInfo extends SeriesBase {
	/** Type of the data series.
    If not set, the library will attempt to determine the type based on
    the type of the first value. Number type will result in measure,
    string type will result in dimension. */
	type: 'dimension'
	/** Distinct unique values in the series */
	categories: string[]
	/** Count of values in the series. */
	length: number
}

/** Meta data about measure data series */
export interface MeasureInfo extends SeriesBase {
	/** Type of the data series.
    If not set, the library will attempt to determine the type based on
    the type of the first value. Number type will result in measure,
    string type will result in dimension. */
	type: 'measure'
	range: Range
	/** Unit of the data series. */
	unit: string
	/** Count of values in the series. */
	length: number
}

/** MetaInfo for different series types. */
export type SeriesInfo = DimensionInfo | MeasureInfo

/** Defines a data series of the data set, and contains a particular variable's
    values in the data set and meta info about the variable. */
export type Series = Dimension | Measure

/** A record of the data set, containing one value of each data series
    corresponding to the same index. */
export interface Record {
	/** Properties are provided for each data series, providing access to the value within
    the record referenced by its data series name. */
	[seriesName: SeriesName]: Value
}

/** A callback function receives a record */
export type FilterCallback = (record: Record) => boolean

export type SeriesMetaInfo = SeriesInfo

/** Meta data about the data set */
export interface Metainfo {
	series: SeriesMetaInfo[]
}

/** Filter object containing a filter function */
export interface Filter {
	/** A filter callback is called on each record of the dataset on chart
    generation. If the callback returns false, the record will not be shown on the chart. */
	filter?: FilterCallback | null
}

/** Data table specified by series. */
export interface TableBySeries extends Filter {
	/** The series that make up the data set. */
	series: Series[]
}

/** Values of a data record in the order of the series in the dataset. */
export type ValueArray = Value[]

/** Data table specified by records. */
export interface TableByRecords extends Filter {
	/** The information about the data series in the records of the data set.
    Note: not needed if it was previously specified. */
	series?: Series[]
	/** The array of data records that make up the data set. */
	records: (ValueArray | Record)[]
}

/** Data set is a collection of related data series.
    Each chart works on a single data set. */
export type Set = TableBySeries | TableByRecords

/** Types of the different available data series aggregators:

    - sum: sum of the values (default)
    - count: count of the values
    - min: minima of the values
    - max: maxima of the values
    - mean: average/mean of the values
    - distinct: number of different values */
export type AggregatorType = 'sum' | 'count' | 'min' | 'max' | 'mean' | 'distinct'

/** The name of a series either alone or combined with an aggregator function. */
export type SeriesDescriptor = SeriesName | `${AggregatorType}(${SeriesName})`

/** Array or a single data series. */
export type SeriesList = SeriesDescriptor[]

the code is not formatted. Please run npm run fix-format-src:js