2020 Oct. ~ Nov. Release Plan

Release Manager
@TobeyQin
End Game
code freeze: Nov. 16
Plan Items
P0 items for this release

Data -- @debuggy

[x] P0 Move NFS to Azure Blob as backend -- ETA: Nov. 5
[x] P0 Upload Job output to Azure Blob -- ETA: Nov. 9
[x] P0 Download data from azure blob to local -- ETA: Nov. 2
[x] P1 Use Azure storage SDK for privacy -- ETA: TODO
[x] P1 Refactor data use logic after change storage to blob

Service Deployment -- @yiyione

[x] P0 Start Local Rest Server -- ETA: Nov. 2
[x] P0 Deployed Rest Server in PAI -- ETA: Nov. 5
[x] P0 Start database and load items into webpage -- ETA: Nov. 9
[x] P0 Register in PAI pylon -- ETA: Nov. 5
[ ] P0 Figure out the cost of marketplace service -- ETA: Nov. 24

[x] Create marketplace item -- @yiyione

Documentation -- @TobeyQin @debuggy

[x] GitHub readme for users and developers -- ETA: Nov.25

[x] User Manual on readthedocs -- ETA: Nov.25

[x] Update all the description docs -- ETA: Nov.20

UI Layout

[x] Marketplace plugin default to toggle up -- ETA: Oct. 30

UI Design -- @yangou1988

[x] Add download button in Marketplace data template -- ETA: Oct. 30

Submission Related Backlog

[ ] P1 The defaulting should only be done after submission phase #4576 @debuggy ETA: TODO after 11/6

[ ] P2 Submit job ui should show protocol prerequisites parts https://github.com/microsoft/openpaimarketplace/issues/73 @debuggy  @yiyione @TobeyQin

[ ] P1 - Add feature to select dataset by click checkbox -- @hzy46

[ ] P2 - Refine Submit Job page layout -- @yangou1988

[ ] P0 - Fix data storage config mismatching issue -- @debuggy

[ ] P1 - add "Upload" feature for dataset, set upload standard and workflow
1.  For public dataset (Specify the source path)
2.  For private dataset (Could we store data to Azure blob? or GitHub?)

Other items

User create templates

[ ] P1 - Create from marketplace page (Provide protocol and description)

[ ] P1 - Save protocol from job submission page

[ ] P2 - Support filter and version control

[ ] P2 - Design create feature from job list -- @yangou1988

[ ] P1 - Job rotate to marketplace

Others

[ ] P1 - Survey of integrate GitHub project to Marketplace -- @yiyione

Bug Fix

[x] P0 - Add Distributed Job template -- @hzy46

Left items has been moved to #152


Now the dark mode is persisted with browser's local storage

Fixed #8

Dark Mode is persisted with local storage
integrated an option to automatically follow the browser's system default theme

Great work!


[hmac] Implement a SW reset

With the current RTL implementation, it's not possible to interrupt the current operations abruptly and move back into the initial state of the FSMs. Which means that if there is an alert somewhere or if something went wrong we'll have to perform some dummy operations to be able to restart from a suitable state.
Note: I have also heard that this could also be the case for other blocks.
Note: this could also auto-trigger a wipe_secret operation to be sure that nothing sensitive is left.
FYI: @vogelpi, @nasahlpa and @andreaskurth, do you have thoughts about this?

Hi @martin-velay ,
I think this would be inline with the enable/disable feature we have in the entropy complex blocks (ENTROPY_SRC, CSRNG, EDN). I can see the value of this and sometime ago also @gdessouky made a suggestion to add this at some point.
However, it's not realistic that we add this now as were close to completing D3/V3. This would actually be new feature that we may want to add for a future version. I am thus tagging the issue as such.
For the current version, there is no way of doing this super quickly e.g. by writing a single command. But software can set up another message to clear all internal state and move the module back into the idle states. It's not super quick but it's possible.


Introduce generic MAM fields capture I/F

Summary of changes
Introduce generic MAM fields capture I/F via ltfs.vendor.IBM.mediaMAM.XX.
XX shall be one of 00,  01 , IP or DP.

Fix of issue #256

Description
The new introduced VEA returns the MAM value by binary. You need to parse it by yourself.
Fixes #256
Type of change

New feature (non-breaking change which adds functionality)

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have confirmed my fix is effective or that my feature works

Merged to master by cherry-pick


Can I run the whole program on command line in R?

Can I run the whole program on command line in R/Rstudio instead of using the GUI?
Thanks!
Rini

Hi there. Yes, you can launch Cerebro from within R. Actually, that is the recommended method because the standalone version isn't up to date anymore. You can find the documentation here: https://romanhaa.github.io/cerebroApp/reference/launchCerebro.html
Let me know if you need to know anything else.


[FEATURE] better styling for Quote reply

Description
The styling looks bad, the quoted reply should take the whole width, have similar padding to the regular message, they also shouldn't be close to each other maybe a gap of 2(gap-2).
Screenshots

Additional information
No response
👀 Have you checked if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read and understood the rules in the Contributing Guidelines

Are you willing to work on this issue ?
None

Hey, I would like to work on this issue, would be great if you assign me this issue.

Hey, I would like to work on this issue, would be great if you assign me this issue.

Definitely, thanks for wanting to contribute, Make sure you follow the rules 👉🏽here👈🏽, else your PR will not be accepted and will be closed. Good Luck

@AKASH-PRASAD7 it's been 7 days and there's no update for this

I'm sorry, but it seems like there's no one available to chat on the local server at the moment. Unfortunately, this means that I'm unable to produce the issue you're experiencing locally. Is there anything else I can assist you with?

@AKASH-PRASAD7 it's been 7 days and there's no update for this

I'm unable to produce the issue you're experiencing locally. Because I can't chat with two accounts on the same server locally. Is there anything else I can assist you with?

@AKASH-PRASAD7 it's been 7 days and there's no update for this

I'm unable to produce the issue you're experiencing. Because I can't chat with two accounts on the same server locally. Is there anything else I can assist you with?

please read the readme, everything, and should have let me know a long time ago

Yeah I know, I've already read the README and successfully set up the project locally. However, I'm unsure how to initiate a conversation with someone else to reproduce the issue or obtain a quoted reply that seems to be unachievable locally.

@AKASH-PRASAD7 been inactive for too long

Can you please assign this issue to me?? I would love to work on this issue :)

Plzz assign me this

@Kritika30032002 according to the contributing guideline, your time is up and if there's a PR by the end of the day, you will be unassigned


We're sorry, but something went wrong. -Looking for dev to fix

We're sorry, but something went wrong. error shows after following the developement guide. looking for dev to fix the issue please drop mail below

you can simply follow my readme and install in 2 commands contact me at<EMAIL_ADDRESS>

@88888hesoyam  ///  I can help you. I am having a vast experience in Peatio, Crypto Currency exchange and trading platforms with FIAT currency based on Bitcoin, litecoin, Ethereum, XRP etc, Core Wallets and Daemons. I am having expertise in ICO ie Initial Coin Offering full system development, White Paper creation with full architecture and high level documentation, smart contract writing and many more skills.
My Skype : sushilraghav and email is<EMAIL_ADDRESS>

I've already developed and deployed 3 exchanges based on Peatio.
I can add more coins and customize exchanges with peatio.
Also have experiences in wlox.
Feel free to message me any time.
skype : live:apollo447722
mail<EMAIL_ADDRESS>Regards.


Error running bootstrap executable created by py2exe with Python 3.4

Fatal Python error: Py_Initialize: unable to load the file system codec
ImportError: No module named 'encodings'
This appears to be identical to Issue #72 that was closed as a result of fixing #71 - although that one was concerned with errors in creating the executable. #104 seems more relevant with a similar problem using py2app where work was done to ensure that the relevant modules were made accessible from the bootstrap executable.
To recap, the bootstrap executable produces the above error while the one inside appdata runs OK.
esky (0.9.10.dev0)
py2exe (<IP_ADDRESS>)
Python 3.4
Windows 10 64 bit

Sorry, I just discovered #131 raised last January that describes the exact same issue. What's the situation regarding the development and support of Esky at the moment?

Thanks for reaching out.  Unfortunately this project is no longer actively maintained, so I'm going to move it into archive mode:
https://rfk.id.au/blog/entry/archiving-open-source-projects/


Proguard

Hello, it is working on a signed minifyEnabled true apk, however the dots are not dilating.
I tried :
-keep class com.github.justzak.dilatingdotsprogressbar.**{ *; }
in proguardrules

I included it's different java classes and for proguard enabled ,i wrote
-keep class packagename.DilatingDotDrawable { *; }
and its working.

As @dharmita1990 suggested, adding the following line did the job,
-keep class com.zl.reik.dilatingdotsprogressbar.DilatingDotDrawable { *; }

-keep class com.zl.reik.dilatingdotsprogressbar.DilatingDotDrawable { *; }

This worked for me. :smile: :+1: Thanks. @rahulchowdhury


power-profiles-daemon: 0.1 -> 0.8

this update adds a dependency for python (with pygobject3) used for the
new commandline control application

Motivation for this change
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Ah OK, good to know. Do we need to ping some one else or can you merge it in?

thanks for the heads up, changed to refelect the update.

Thanks.


imporved bash syntax

@benmshapiro there is no difference from your PR to the existing sh script, except for removal of line 167.
So you can probably close your PR :)

@tobiasehlert On that basis you could also close #50.
Unfortunately this repository doesn't seem to be maintained anyway.


Reading custom ranges unit test fails intermittently

The unit tests sometimes fail with the following line in the logs
TEST-UNEXPECTED-FAIL | read custom ranges | Expected 1016315 to equal 32768. Expected 1016315 to equal 507.

We need to investigate why this happens. It only seems to happen on the Linux bot.

It only seems to happen on the Linux bot.

... and only in Chrome, as far as I can tell.

This one also fails sometimes, most likely for the same reason:
TEST-UNEXPECTED-FAIL | read ranges with streaming | Expected 1016315 to equal 32768. Expected 1016315 to equal 507.

I can work on this issue :smile:

I can work on this issue

The information thus far doesn't suggest that this is a bug in the PDF.js library, given that it's specific to a particular browser and platform (i.e. Google Chrome on Linux).
Hence the best course of action, given the current state of this issue, would be to create a reduced test-case which reproduces this issue and then submit a bug to the Chromium project.

Hi @Snuffleupagus. I will try to reproduce this error. Perhaps it has already been corrected indirectly.

Should we just close this as WFM, since those unit-tests seem to be working correctly now?

Yes, let's do that. We haven't seen it fail since the Chrome updates anymore.


object[] support

if i serialize object[]{1,2}
and deserialize it back i get doubles instead ints
for example in fastJson it will work because it saves type names in json as well as values

There is no plan to support type name embedding in the current roadmap.
https://github.com/neuecc/Utf8Json#which-serializer-should-be-used


Fix/2262

Fixes https://github.com/tinacms/tinacms/issues/2262
Starting to look at the code for the CLI audit command and doing this more well defined issue first to get a sense of the code.
I also added a better error message when validating the name field (should close https://github.com/tinacms/tinacms/issues/2182)
cc @jeffsee55

This looks good but it would be a good opportunity to add some tests, we have this file which you could probably copy from to see how to set things up https://github.com/tinacms/tinacms/blob/main/packages/%40tinacms/graphql/src/spec/build-schema/index.spec.ts


dropPrimaryKey fails on PostgreSQL

Environment
Liquibase Version: 4.4.0
Liquibase Integration & Version: gradle
Liquibase Extension(s) & Version: -
Database Vendor & Version: PostgreSQL 13
Operating System Type & Version: Docker image postgres:13
Description
Given the following databaseChangeLog for a table "camelCase":
<?xml version="1.0" encoding="UTF-8"?>

<databaseChangeLog
  xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
    http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">

  <changeSet id="add-camelCase-table" author="gjvoosten" dbms="postgresql">
    <createTable tableName="camelCase">
      <column name="id" type="int" autoIncrement="true" >
        <constraints primaryKey="true" nullable="false" />
      </column>
    </createTable>
  </changeSet>

  <changeSet id="drop-primaryKey-constraint" author="gjvoosten" dbms="postgresql">
    <dropPrimaryKey tableName="camelCase" />
  </changeSet>

</databaseChangeLog>

Liquibase 4.3.5 creates a primary key constraint "camelcase_pkey" (i.e. all lowercase), and dropping it works.
With Liquibase 4.4.0, the primary key constraint it creates is "camelCase_pkey" (i.e. camelCase), but the constraint it tries to drop is "camelcase_pkey" which fails with the error:
liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for change set migrations.xml::drop-primaryKey-constraint::gjvoosten:
     Reason: liquibase.exception.DatabaseException: ERROR: constraint "camelcase_pkey" of relation "camelCase" does not exist
  Where: SQL statement "alter table public."camelCase" drop constraint camelCase_pkey"
PL/pgSQL function inline_code_block line 7 at EXECUTE [Failed SQL: (0) DO $$ DECLARE constraint_name varchar;
BEGIN
  SELECT tc.CONSTRAINT_NAME into strict constraint_name
    FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS tc
    WHERE CONSTRAINT_TYPE = 'PRIMARY KEY'
      AND TABLE_NAME = 'camelCase' AND TABLE_SCHEMA = 'public';
    EXECUTE 'alter table public."camelCase" drop constraint ' || constraint_name;
END $$;]
        at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:124)
        at liquibase.Liquibase.lambda$null$0(Liquibase.java:265)
        at liquibase.Scope.lambda$child$0(Scope.java:166)
        at liquibase.Scope.child(Scope.java:175)
        at liquibase.Scope.child(Scope.java:165)
        at liquibase.Scope.child(Scope.java:144)
        at liquibase.Scope.child(Scope.java:228)
        at liquibase.Liquibase.lambda$update$1(Liquibase.java:264)
        at liquibase.Scope.lambda$child$0(Scope.java:166)
        at liquibase.Scope.child(Scope.java:175)
        at liquibase.Scope.child(Scope.java:165)
        at liquibase.Scope.child(Scope.java:144)
        at liquibase.Liquibase.runInScope(Liquibase.java:2363)
        at liquibase.Liquibase.update(Liquibase.java:211)
        at liquibase.Liquibase.update(Liquibase.java:197)
        at liquibase.Liquibase.update(Liquibase.java:193)
        at liquibase.Liquibase.update(Liquibase.java:185)
        at io.dropwizard.migrations.DbMigrateCommand.run(DbMigrateCommand.java:65)
        at io.dropwizard.migrations.DbCommand.run(DbCommand.java:55)
        at io.dropwizard.migrations.AbstractLiquibaseCommand.run(AbstractLiquibaseCommand.java:68)
        at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:98)
        at io.dropwizard.cli.Cli.run(Cli.java:78)
        at io.dropwizard.Application.run(Application.java:94)
        at mil.dds.anet.AnetApplication.main(AnetApplication.java:86)
Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set migrations.xml::drop-primaryKey-constraint::gjvoosten:
     Reason: liquibase.exception.DatabaseException: ERROR: constraint "camelcase_pkey" of relation "camelCase" does not exist
  Where: SQL statement "alter table public."camelCase" drop constraint camelCase_pkey"
PL/pgSQL function inline_code_block line 7 at EXECUTE [Failed SQL: (0) DO $$ DECLARE constraint_name varchar;
BEGIN
  SELECT tc.CONSTRAINT_NAME into strict constraint_name
    FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS tc
    WHERE CONSTRAINT_TYPE = 'PRIMARY KEY'
      AND TABLE_NAME = 'camelCase' AND TABLE_SCHEMA = 'public';
    EXECUTE 'alter table public."camelCase" drop constraint ' || constraint_name;
END $$;]
        at liquibase.changelog.ChangeSet.execute(ChangeSet.java:672)
        at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:49)
        at liquibase.changelog.ChangeLogIterator$2.lambda$null$0(ChangeLogIterator.java:111)
        at liquibase.Scope.lambda$child$0(Scope.java:166)
        at liquibase.Scope.child(Scope.java:175)
        at liquibase.Scope.child(Scope.java:165)
        at liquibase.Scope.child(Scope.java:144)
        at liquibase.changelog.ChangeLogIterator$2.lambda$run$1(ChangeLogIterator.java:110)
        at liquibase.Scope.lambda$child$0(Scope.java:166)
        at liquibase.Scope.child(Scope.java:175)
        at liquibase.Scope.child(Scope.java:165)
        at liquibase.Scope.child(Scope.java:144)
        at liquibase.Scope.child(Scope.java:228)
        at liquibase.changelog.ChangeLogIterator$2.run(ChangeLogIterator.java:94)
        at liquibase.Scope.lambda$child$0(Scope.java:166)
        at liquibase.Scope.child(Scope.java:175)
        at liquibase.Scope.child(Scope.java:165)
        at liquibase.Scope.child(Scope.java:144)
        at liquibase.Scope.child(Scope.java:228)
        at liquibase.Scope.child(Scope.java:232)
        at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:66)
        ... 23 more
Caused by: liquibase.exception.DatabaseException: ERROR: constraint "camelcase_pkey" of relation "camelCase" does not exist
  Where: SQL statement "alter table public."camelCase" drop constraint camelCase_pkey"
PL/pgSQL function inline_code_block line 7 at EXECUTE [Failed SQL: (0) DO $$ DECLARE constraint_name varchar;
BEGIN
  SELECT tc.CONSTRAINT_NAME into strict constraint_name
    FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS tc
    WHERE CONSTRAINT_TYPE = 'PRIMARY KEY'
      AND TABLE_NAME = 'camelCase' AND TABLE_SCHEMA = 'public';
    EXECUTE 'alter table public."camelCase" drop constraint ' || constraint_name;
END $$;]
        at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:393)
        at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:82)
        at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:150)
        at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1279)
        at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1261)
        at liquibase.changelog.ChangeSet.execute(ChangeSet.java:637)
        ... 43 more
Caused by: org.postgresql.util.PSQLException: ERROR: constraint "camelcase_pkey" of relation "camelCase" does not exist
  Where: SQL statement "alter table public."camelCase" drop constraint camelCase_pkey"
PL/pgSQL function inline_code_block line 7 at EXECUTE
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2552)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2284)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:322)
        at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:481)
        at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:401)
        at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:322)
        at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:308)
        at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:284)
        at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:279)
        at jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114)
        at com.sun.proxy.$Proxy34.execute(Unknown Source)
        at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:389)
        ... 48 more

Steps To Reproduce
Run the databaseChangeLog above on Liquibase 4.3.5 and 4.4.0 to see the problem.
Actual Behavior
Liquibase 4.3.5 works correctly, Liquibase 4.4.0 fails.
Expected/Desired Behavior
Liquibase 4.4.0 should work the same way as 4.3.5, i.e. use the same constraint name as before. Because it should work in all three cases:

constraint created & dropped with 4.3.5
constraint created with 4.3.5, dropped with 4.4.0
constraint created & dropped with 4.4.0

Hi @gjvoosten Thanks for the excellent write up of this issue.  We will add this to the list of issues that we are processing.

Added PR #1974 that should fix the issue

@nvoxland After checking out your postgresql-drop-pk branch, building locally with mvn -DskipTests install (-DskipTests because of a failing test where the expected result needs updating with the new SQL) and using org.liquibase:liquibase-core:4.4.2-local-SNAPSHOT as a dependency, I can confirm that this works for all three cases in the Expected/Desired Behavior above.


Questions on Envoy Proxy

Hi,
I am new to Envoy Proxy, please help in answering below questions.
1)Is there a documentation on Envoy observability that displays various graphs to show the performance of the application.If so please share the links
2)Is dashboard a different program other than envoy and is it to be installed separately to display the envoy histograms?
3)Where are the logs stored?
4)Does envoy can go alongside MongoDB and DynamoDB only? or can it support any other Databases also?
Thanks,
Sirisha

Matt Klein wrote a blog post related to stats dashboards a while back, you might find it useful.
There is no specific dashboard program for Envoy. Stats may be forwarded to a statsd-style collector and there are a number of ways that data can be stored and displayed. There were recent changes to support Prometheus stats scraping, which will eventually support histogram data.
By default, Envoy's internal logging is sent to the console. It can be configured to write to a file via the command line.
Access logs can be configured in the HTTP connection manager and TCP Proxy among other filters. Part of the configuration is where to write the files. In the future, these logs will be streamable via GRPC.
Envoy's mongodb and dynamodb filters provide enhanced statistics gathering for those databases. Envoy can proxy other databases (at either the HTTP or TCP level), but database-specific stats require someone to write a protocol-aware filter.

Thank you for your response!
Is there is a management UI for writing the scripts, if not are they written and executed at shell of Linux and if in Windows is it at cmd?

I'm not sure which scripts you're asking about.

Like Configuration scripts. Sample script from https://www.envoyproxy.io/docs/envoy/latest/install/ref_configs
Snippet:-
build/source/exe/envoy -c configs/google_com_proxy.json -l debug
curl -v localhost:10000
Another one:- mkdir -p generated/configs
bazel build //configs:example_configs
tar xvf $PWD/bazel-genfiles/configs/example_configs.tar -C generated/configs

There is no Envoy-provided UI for generating those scripts. There is an example config generator written in Python: https://github.com/envoyproxy/envoy/blob/master/configs/configgen.py (which is used to generate the configs during bazel build //configs:example_configs.

Okay. Can we install and run Envoy Proxy in Windows OS?

See envoyproxy/envoy#129

@sirishacse06 the Microsoft Envoy fork is at https://github.com/microsoft/envoy but doesn't look like it is being worked on.

@zuercher @moderation Thank you for sharing the information.

Closing for now. Please let us know if you have further questions.


253 - Fix do not show pagination if there is only 1 page + files results copy

What this PR does / why we need it:
This PR fixes 2 bugs in the Files Table:
1 - Pagination controls shouldn't be shown if the total number of files would result in just  1 page. The expected behaviour is showing the pagination controls when there is more than 1 page of files.
2 - When there is only 1 File in the table the results copy should be ✅  '1 File' instead of ❌ '1 to 1 of 1 Files'
Which issue(s) this PR closes:

Closes #253

Special notes for your reviewer:
Suggestions on how to test this:
Suggestions on how to test this:
Step 1: Run the development environment

Run npm I
cd packages/design-system && npm run build
cd ../../
Check that you have a  .env file such as the .env.example, with the VITE_DATAVERSE_BACKEND_URL=http://localhost:8000 variable
cd dev-env
./run-env.sh unstable
To check the environment go to http://localhost:8000 and check your local dataverse installation

Step 2: Test Dataset View mode with the implemented changes to download the files

Go to http://localhost:8000
Login as admin using username: dataverseAdmin and password: admin1
Create a new Dataset
Upload some files to the dataset
From the dataset view mode copy the search parameters from the url. Ex.: ?persistentId=doi:10.5072/FK2/LHGRHP&version=DRAFT
Go to http://localhost:8000/spa/datasets and paste the search parameters. Ex.: http://localhost:8000/spa/datasets?persistentId=doi:10.5072/FK2/LHGRHP&version=DRAFT
You are currently viewing the same dataset in the SPA. In the files table, check the copy and the pagination bugs. Upload or remove files as necessary to test the bug.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No
Is there a release notes update needed for this change?:
No
Additional documentation:

coverage: 97.922%. remained the same
when pulling 7dc6ec27be8d692afe0edfc4573b5c19ada66d1b on fix/253-do-not-show-pagination-when-there-is-only-1-page
into b7fa0f59d254b02dd5f6cb30bb4bf2ac4fd886dd on develop.

I would like to also explore hiding the buttons for "First" and "Last" if there are only two pages.

@M27Mangan Why would you want to hide those? They exist in the JSF frontend. Furthermore, it could be confusing for users to see the buttons change just for two pages. While the "First" and "Last" buttons may be redundant with only two pages, I believe it's better to maintain this redundancy rather than introduce too many exceptions to the User Interface, which can be confusing for users

Review complete, moving to Ready for QA!

looks good! Merging


provide more specific getting started help

Description

README

Add link to more information about the module structure
Update steps for creating from the template.
Replace developing section with contributing info to provide info about how to submit issues

Remove content from tests/readme.md and point to project docs.
Also remove pr template so that we use the default one in the .github repo.

Check the relevant boxes:

[ ] Bug fix (nonbreaking change that fixes an issue)
[ ] New feature (nonbreaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Examples or tests (addition or updates of examples or tests)
[x] Documentation update
[ ] CI related update (pipeline, etc.)

Checklist

[ ] If relevant, a test for the change has been added or updated as part of this PR.
[ ] If relevant, documentation for the change has been added or updated as part of this PR.

Merge

Merge using "Squash and merge".
Make sure to use a relevant conventional commit message that is based on the PR contents. The commit message determines whether a new version of the modules needs to be released, and if so, which semver number to use).

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


Use viz.json for named map in the embeds

Right now we're using the viz.json both in the editor and the embed to load/display a map. In the editor, we are setting the API_KEY so that requests to the Maps API can be authenticated. In the embed, we're not passing the API KEY (because we can't expose it the HTML/JS) and the Maps API is returning the following error when trying to instantiate an anonymous map:
Error creating the map instance on Windshaft: permission denied for relation cdb_analysis_catalog

Given that all maps have a "named map", we can use it in the embeds to solve this issue.
Right now the viz.json is generated based on the visibility of the map/datasets, so we'd need a way to force the generation of viz.json with the information about the named map.
I think this needs to be discussed before we start working on it? Thoughts?
cc: @xavijam @viddo @javierarce @juanignaciosl @rochoa

I think that adding the named map information at the vizjson makes sense, and we'd already spoken about the need for this for analyses.
This is an example template:
{:version=>"0.0.1",
 :name=>"tpl_3336135e_ffd9_11e5_acf4_080027880ca6",
 :auth=>{:method=>"open"},
 :placeholders=>{:layer0=>{:type=>"number", :default=>1}},
 :layergroup=>
  {:layers=>
    [{:type=>"http",
      :options=>
       {:urlTemplate=>
         "http://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png",
        :subdomains=>"abcd"}},
     {:type=>"cartodb",
      :options=>
       {:sql=>
         "SELECT * FROM (select * from twitter_t3chfest_reduced_1) AS wrapped_query WHERE <%= layer0 %>=1",
        :layer_name=>"twitter_t3chfest_reduced_1",
        :cartocss=>
         "/** simple visualization */\n\n#twitter_t3chfest_reduced_1{\n  marker-fill-opacity: 0.9;\n  marker-line-color: #FFF;\n  marker-line-width: 1;\n  marker-line-opacity: 1;\n  marker-placement: point;\n  marker-type: ellipse;\n  marker-width: 10;\n  marker-fill: #FF6600;\n  marker-allow-overlap: true;\n}",
        :cartocss_version=>"2.1.1",
        :interactivity=>"cartodb_id",
        "table_name"=>"\"\"."}},
     {:type=>"http",
      :options=>
       {:urlTemplate=>
         "http://{s}.basemaps.cartocdn.com/light_only_labels/{z}/{x}/{y}.png",
        :subdomains=>"abcd"}}],
   :stat_tag=>"3336135e-ffd9-11e5-acf4-080027880ca6"},
 :view=>
  {:zoom=>4,
   :center=>{:lng=>-5.625, :lat=>31.840232667909365},
   :bounds=>
    {:west=>-68.994140625,
     :south=>-16.55196172197251,
     :east=>57.74414062500001,
     :north=>64.01449619484472}}}

I'll wait for you to agree to begin.

Instead of adding more information to the viz.json... can't we just force the embed to use the viz.json for the named map? (i.e: generate the viz.json as if the visualization was password protected or had some private datasets here).

Ah, sure. I don't know the inners of the generation, if behaving like a named map is good enough I can do it very easily.
If "always generate named map vizjson for new embeds" is what you need I can branch and do it for you to test.

Closed by #7116.


add ding zhen chat

Description
Please provide a brief introduction to the purpose and features of your Pull Request.
Type of change

[ ] Bug fix
[x] Feature enhancement/new feature
[ ] Documentation change
[ ] Style/UI change
[ ] Performance optimization
[ ] Refactoring/code optimization
[ ] Other changes

Related Issues
Please list the Issue numbers related to your Pull Request (if any).
Specific changes
New feature for ding zhen
Note that, now the server uses flask again
may be buggy,
backend server now only supports ding zhen chats
Testing
Please describe your testing methods and results to ensure that your changes do not introduce new issues.
Screenshots
If your Pull Request includes UI changes or new features, please provide relevant screenshots.
Other Information
If there are other important matters to note, please add them here.

Added SignUp/SignIn and database


User Stylesheet Overrides Implementation

Also fixed a few typos in the default stylesheet, and moved into an embed.FS assets directory for any future web assets.

@BourgeoisBear Thanks for this PR. I'm some busy now and will make check it in a week.

@BourgeoisBear I will merge this PR soon, then make some small modifications.
Many thanks for the improvement.


Update app.js

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.

changes to hello world

change


Does not work with PHP version 7.0

Hi Oliver
Thanks for your work with the fotorama block. I really like it.
But I think there is a problem with PHP version 7.
I found this comment at the very bottom from Mesuva, which might help you:
http://documentation.concrete5.org/developers/assets/requiring-an-asset
I had all sorts of erros, poking around in the database. Anyway, after setting PHP version back to 5.6 I was able to save my website. But I thought you might like to know.
Regards, B.

Thanks, I'll take a look.

Fixed in the latest commit.

Oliver, thanks very much for your fast replay and fix. Have a good day.


bug(td-message): td-message inside ng if can not be hidden and duplicates it self

I found a strange bug in rc.0 release
If yout put ngIf on td-message component when variable inside ngIf becomes false component remains visible and if variable becomes true then there will be two components on screen and so on!
https://stackblitz.com/edit/covalent-pdntnj?file=app%2Fapp.component.html
I use:
ng-cli 1.5.0
ng: 5.0.0
material: 5.0.0-rc.0
covalent: 1.0.0-rc.0
PS: If I put ngIf instead of td-message on some parent div then everything works as expected

I' had similar experience with an
<td-message *ngIf="invalidError" ...

constract (a timer revoked the message after some secs with "this.invalidError=false"). it worked before the rc.0 release, and as a temp fix, now it works with the message element surrounded by a div:
<div *ngIf="invalidError>
  <td-message....
</div>

Yeah, i also noticed this issue.. not sure why its happening. Gonna add it into the backlog for RC's

Found the issue, opened a PR to fix this


private docker registry doc

Description
https://jira.mesosphere.com/browse/DOCS-1733
Note: once this page is live, the tooltip in the UI needs to be updated: https://jira.mesosphere.com/browse/DCOS_OSS-906
Urgency

[ ] Blocker
[X] High
[ ] Medium

Requirements

Test all commands and procedures.
Build content locally and test for formatting/links.
Add redirects to dcos-website/redirect-files.
Change all affected versions (e.g. 1.7, 1.8, and 1.9).
See the contribution guidelines.

@Gilbert88 I'm pretty sure this doc is correct -- I was able to test it successfully until the last step, when my cluster gave me this error:  Failed to launch container: Failed to fetch all URIs for container '89fcb0a5-fa19-4715-954e-ad893e507253' with exit status: 256
I'm assuming this is an error or oversight on my part?

@joel-hamill Changes made


fix sonar bug: null check & clean throw exception

What is the purpose of the pull request
fix sonar bug: null check & clean throw exception
Brief change log

fix null check
clean throw exception

Verify this pull request
This pull request is code cleanup without any test coverage.

Codecov Report

Merging #1690 into dev will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             dev    #1690      +/-   ##
=========================================
+ Coverage   16.3%   16.31%   +<.01%
=========================================
  Files        283      283
  Lines      13864    13860       -4
  Branches    2251     2258       +7
=========================================
  Hits        2261     2261
+ Misses     11343    11339       -4
  Partials     260      260

Impacted Files
Coverage Δ

...inscheduler/common/job/db/DB2ServerDataSource.java
0% <ø> (ø)
:arrow_up:

...nscheduler/common/job/db/ClickHouseDataSource.java
0% <ø> (ø)
:arrow_up:

...inscheduler/common/job/db/SQLServerDataSource.java
0% <ø> (ø)
:arrow_up:

...lphinscheduler/common/job/db/OracleDataSource.java
0% <ø> (ø)
:arrow_up:

...dolphinscheduler/common/job/db/HiveDataSource.java
0% <ø> (ø)
:arrow_up:

...phinscheduler/common/job/db/PostgreDataSource.java
0% <ø> (ø)
:arrow_up:

...dolphinscheduler/common/utils/ConnectionUtils.java
0% <ø> (ø)
:arrow_up:

...olphinscheduler/common/job/db/SparkDataSource.java
0% <ø> (ø)
:arrow_up:

...olphinscheduler/common/job/db/MySQLDataSource.java
0% <ø> (ø)
:arrow_up:

...phinscheduler/api/service/TaskInstanceService.java
0% <0%> (ø)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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


th39: done with 11 mails                                                                                11 sent (0.1 mail/s)

Hey Geek,
When sending is complete i didn't get which server sent emails in the terminal, I just got like this:
th39: done with 11 mails                                                                                11 sent (0.1 mail/s)
The the39 I guess should be the server where emails are sent from but In my case, it just shows me that the with a number.
Thanks again for your great tool

threads rotate lot of servers over their life, so, it's just thread. You want statistic about all smtp servers?

yeah if that's possible  !! we wanna keep track from which server we used to send more emails


RotativaConfiguration.Setup(env) issue with .Net core 3.0

RotativaConfiguration.Setup(env) , env expects IHostingEnvironment but .NET core 3.0 'IHostingEnvironment' is obsolete and has 'Microsoft.AspNetCore.Hosting.IWebHostEnvironment' .
How to resolve the issue to use Rotativa with .NET core 3.0

This should have solved it:
https://github.com/webgio/Rotativa.AspNetCore/pull/43
Does it work for you?

I could not find overload method on RotativaConfiguration.Setup(). I am using Rotativa.AspNetCore Version 1.1, downloaded from Nuget package manager.

This should have solved it:
#43
Does it work for you?

I could not find overload method on RotativaConfiguration.Setup(). I am using Rotativa.AspNetCore Version 1.1, downloaded from Nuget package manager.

use the pre-release (beta) package. I guess I could promote it to release if you can confirm it works for you. Thanks.

pre-release not showing in nuget

check "include prerelease"

Yes, Updated beta package. Thanks !!!

use the pre-release (beta) package. I guess I could promote it to release if you can confirm it works for you. Thanks.

RootPath given as "wwwroot", it works !!!


mweb/Desktop - Growl - User does not receive a growl when offline in workspace options

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Access staging.new.expensify.com on mweb (Or desktop app)
Sign into a valid account
Tap on Profile icon > Workspace > Reimburse Expenses (Can be any workspace option that should display a growl)
Turn off internet connection
Tap on "View all receipts" while offline

Expected Result:
User expects to receive a growl when offline
Actual Result:
The button does not seem to be responsive, as no growl is received even though it is being pressed.
Workaround:
Unknown
Platform:

Where is this issue occurring?

Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: No
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/186505018-9bb67eb8-5145-4cf6-9dfb-6e926065eadc.mp4
https://user-images.githubusercontent.com/93399543/186505020-1d6b787f-001e-46be-b527-3382d5516325.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

I cannot replicate this one, and there was another similar to this one that could not be replicated

Seems like @luacmartins can't replicate either I'm leaning on not a blocker

User expects to receive a growl when offline

I think since we're moving toward Brick Road error handling we are getting rid of growls, right?
cc @iwiznia

once we figure out if this should be Brick Road or Growl we can probably make it external, will leave as daily until we get more insight.

reviewing today :)

So it seems this isn't reproducible. Do we still want to export cc @bondydaa @sketchydroide ?

I think this is not always reproducible, maybe we can ask QA to try again, and see if this is still an issue
@kbecciv can you guys check if this still happens for your guys?

@sketchydroide Checking with team, will update you shortly.

@sketchydroide Unable to reproduce it for all environments.

thanks, I think we can close for now, if it's an issue we will reopen, it might be that a PR that was needed did not go toghether with another one, or a Web PR was not in Staging at the time of testing, and it was soon after.


Feature/appbar api change

Changes proposed in this Pull Request:

Make the isCollapsed prop a one-way event instead of a 2-way binding.

This was branched off of @jeffvg 's Doc change PR; I would merge his PR in before this one.

Changed your base branch to Jeff's feature branch...We can merge it in there and then have all the final cleanup stuff in one place


Feature Request: arbitrary precision arithmetic.

Reporting a bug
Same program segment wrap jit or not, but different result.
from numba import jit     # numba==0.57.1  Python 3.8.3 in Linux

def lucas_lehmer_check_Mersenne(n):
    p = n
    s = 4
    m = 2**p - 1
    for _ in range(p-2):
        s = (s**2 - 2) % m
    return s == 0

@jit
def lucas_lehmer_check_Mersenne_jit(n):
    p = n
    s = 4
    m = 2**p - 1
    for _ in range(p-2):
        s = (s**2 - 2) % m
    return s == 0

print(lucas_lehmer_check_Mersenne(64))    # False
print(lucas_lehmer_check_Mersenne_jit(64)).  # True

There is no arbitrary-precision integer in Numba
CPython does support this, but Numba supports max. 64 bit integers.
from numba import njit     # numba==0.57.1  Python 3.8.3 in Linux
import numba as nb

def lucas_lehmer_check_Mersenne(n):
    p = n
    s = 4
    m = 2**p - 1
    for _ in range(p-2):
        if s**2 > (2**64-1):
            print("Overflow! Can't work in Numba with uint64.")
        s = (s**2 - 2) % m
    return s == 0

print(lucas_lehmer_check_Mersenne(64))

@c2j thank you for submitting this! @max9111 thank you for triaging this. I have labeled this as a feature request for arbitrary precision arithmetic and updated the issue title accordingly.

Thanks for looking at this @max9111 @esc, I think this is a duplicate of #5005 which is asking for "big integer" support, closing as a duplicate.

@c2j thank you for submitting this! @max9111 thank you for triaging this. I have labeled this as a feature request for arbitrary precision arithmetic and updated the issue title accordingly.

If numba is not support big int, WHY there is no throw an ERROR?

Numba compiles functions based on the types of the arguments presented to the function and a lot of "rules" about various operations, it does not check whether the values presented to it at runtime will overflow those types. It's a bit like e.g. C language in this respect. The cost of doing an e.g. overflow check on every operation would massively impact the ability to do things like vectorize loops as there would be so many branches present. With NumPy's NEP-50 proposal it's possible that Numba will gain overflow checking as a mode of operation but the details are not worked out yet.


Add suport to Grid controls for ASP.NET Core projects http://mvc6-grid.azurewebsites.net/

Hi Laerte, I have placed the code. can you please look into it.

Attaching the Page's HTML source for reference.
Please change .txt to .HTML
view-source_localhost_49517.txt

Screen grab of the issue when the jquery code is applied.

Ok, I'll check this out.


Todoman and Khal not intergrating

I have been moving all my calendar and todo managing to khal+todoman+vdirsyncer+nextcloud lately, but can't seem to get the tasks I create with todoman to show up in the calendar.
Running Arch Linux with the following versions:
todoman, version 4.0.0
khal, version 0.10.3
vdirsyncer, version 0.16.9.dev0+gb5dd092.d20210416

and the following configurations
Todoman
path = "~/.calendar/*"
date_format = "%Y-%m-%d"
time_format = "%H:%M"
default_list = "personal"
default_due = 48

Khal
cat .config/khal/config
[default]
highlight_event_days = true
default_calendar = work
timedelta = 7d

[calendars]
    [[work]]
    path = ~/.calendar/work
    type = calendar

    [[personal]]
    path = ~/.calendar/personal

    [[social]]
    path = ~/.calendar/social

[view]
dynamic_days = false

and vdirsyncer
cat .config/vdirsyncer/config
[general]
status_path = "~/.vdirsyncer/status/"

[pair calendar]
a = "calendar_local"
b = "calendar_remote"
collections = ["work","personal", "social"]
metadata = ["displayname", "color"]

[storage calendar_local]
type = "filesystem"
path = "~/.calendar"
fileext = ".ics"

[storage calendar_remote]
type = "caldav"
url = "REDACTED"
username = "REDACTED"
password.fetch = ["command", "pass", "nextcloud"]

None of the following todos show up in khal
todo list
5  [ ]       2021-06-11 07:39  testing again @work
6  [ ]       2021-06-08 19:39  test 3 @work
4  [ ]  !    2021-06-09 19:38  test again @personal
7  [ ]  !!!  2021-06-09 22:00  Anki @personal

I am currently working without access to my remote Nextcloud instance, but that should not give this problem?
Running with the DEBUG flag for khal and todoman shows nothing out of the ordinary. Have I interpreted the expected behaviour wrong, or am I doing something wrong?

Ahh, just read https://github.com/pimutils/khal/issues/448 that VTODO's are not supposed to be rendered atm.


Issue with k8s.io/docs/concepts/cluster-administration/networking/

This is a...

 I came to the link for more information on getting k8s setup with an openvswitch backend. Your link from https://kubernetes.io/docs/concepts/cluster-administration/networking/#openvswitch literally just dumps me on the openswitch root site.
Proposed Solution:
Write better documentation- or any.
Page to Update:
https://kubernetes.io/...

@kbaegis Your experience sounds frustrating. It doesn't excuse abusive behavior.
This issue is closed and locked. You're welcome to re-submit your feedback after reviewing the code of conduct:

Examples of unacceptable behavior by participants include: ...
Trolling or insulting/derogatory comments


Package Virtual Client for Ubuntu 24.04

I noticed that VC is not in the noble or nightly channels for the Ubuntu package do not have virtualclient available from packages.microsoft.com.
The most recent is 23.04 it seems.
Given that 24.04 is an LTS, can you please package this for this distro?
fwiw, I'm an internal Microsoft employee. You can get in touch via Teams / email too.

Acknowledged. Working on that right now. At the time I made the linux release the 2404 wasn't available in PMC repo.

Addressed in PR https://github.com/microsoft/VirtualClient/pull/416


chore(deps): :arrow_up: update dependency ng-packagr to v15.0.3

This PR contains the following updates:

Package
Change
Age
Adoption
Passing
Confidence

ng-packagr
15.0.2 -> 15.0.3

Release Notes

ng-packagr/ng-packagr
v15.0.3
Compare Source

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

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

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will now ignore this update (15.0.3). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


Min/Max size window

Is it possible to limit the size of a resizable window?

Maybe this would help
fun main() {
    application {
        val winState = rememberWindowState(size = DpSize(500.dp,500.dp))
        Window(::exitApplication,winState) {
            LaunchedEffect(winState.size) {
                if(winState.size.width < 400.dp)
                    winState.size = DpSize(400.dp,winState.size.height)
            }
            Text(winState.size.toString())
        }
    }
}

But it sometimes has a bug like this: the winState.size.with is not the real width

Would be nice to add this to the windowState api.

        Window(...){
            window.minimumSize = Dimension(1080,720)
        }

Give it a try.

Yes it works. but I noticed another problem, maximumSize does not work, it does not limit window scaling in any way

        Window(...){
            window.minimumSize = Dimension(1080,720)
        }

Give it a try.

On Windows 11, compose 1.4.0, kotlin 1.8.20, scale 200%.
window.minimumSize = Dimension(1080,720)

sets the window to the passed size but the window can be resized to half of the passed size

sets the window to the passed size but the window can be resized to half of the passed size

The window.minimumSize is Swing API, not compose. Therefore it's values are (system; logical) pixels, not Compose dp.

@m-sasha

Swing API, not compose
I am aware of that but there does not seem to be way to set minimum size in compose.
And window.minimumSize does not seem to respect the system scale.

Hi All,
I faced the same challenge while implementing transparent and undecorated window with custom resize by dragging composable  in the right bottom corner. I worked out the translation from dp to pixels out with LocalDensity.
fun main() {
    application {
        val winState = rememberWindowState(size = DpSize(800.dp, 600.dp) * 1.2f)
        Window(::exitApplication,winState) {
            with (LocalDensity.current) {
            val minSize = DpSize(800.dp, 600.dp).toSize()
            window.minimumSize = java.awt.Dimension(minSize.width.toInt(), minSize.height.toInt())
        }
        }
    }
}

Since it is a Swing API, we only need to set it once. Check this out.
@Composable
fun FrameWindowScope.setMinimumSize(
    width: Dp = Dp.Unspecified,
    height: Dp = Dp.Unspecified,
) {
    val density = LocalDensity.current
    LaunchedEffect(density) {
        window.minimumSize = with(density) {
            Dimension(width.toPx().toInt(), height.toPx().toInt())
        }
    }
}

@Composable
fun FrameWindowScope.setMinimumSize(size: Dp = Dp.Unspecified): Unit =
    setMinimumSize(
        width = size,
        height = size,
    )

@Composable
fun FrameWindowScope.setMinimumSize(size: DpSize = DpSize.Unspecified): Unit =
    setMinimumSize(
        width = size.width,
        height = size.height,
    )

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


add author organization type

Preview environment images deployed!
The preview environment has been updated:
client image tag: preview-1116-7d29e91215d39bc9d52a5db9edd9a90140bb72a9-20230905.0557
storybook image tag: preview-1116-7d29e91215d39bc9d52a5db9edd9a90140bb72a9-20230905.0557
Client URL: https://pr-1116--epp.elifesciences.org
Storybook URL: https://pr-1116--epp-storybook.elifesciences.org
Note: Updated images can take a few minutes to roll out.

Preview environment created!
The preview environment has been deployed to the cluster.
Client URL: https://pr-1116--epp.elifesciences.org
Storybook URL: https://pr-1116--epp-storybook.elifesciences.org
Note: If this is a new environment, it can take a few minutes for DNS to update.


Low Contrast on React Native components diagram

Description

As a person who uses dark mode frequently, when I go to https://reactnative.dev/docs/intro-react-native-components and scroll to the diagram at the bottom, the "React Components" text is hard to see.

Documentation version
0.64

I'd be happy to work on this one.
Please let me know how I can help out.

I'd be happy to work on this one.
Please let me know how I can help out.

hi @brooksbecton thanks for the issue ,i think this is an image i don't know if it exist in dark mode
@Simek can answer this issue

Hi @brooksbecton, thank you for reporting this issue!
I have decided to fix the by myself, because there were a multiple options to handle this (besides ThemedIamge, we can also use CSS overwrite based on current theme, alter main image design etc.) and it was hard to tell which option will be the best to fix this case without experimenting by myself.
Also to edit the base design files you need a paid tool (Adobe Illustrator or Sketch), and usually we do not request such changes from the community. Hope you find the fix im PR satisfying! 🙂


bug: I was sniping signature star cards for 25k & for some reason it bought 2 Carlos Edwards for 63500 & a plain gold banega card for 10k!! - _- 🤔 thought I'd found the most amazing app & now I'm scared it's gonna take or buy accidental things with rest my coins, help 😣 I was well chuffed this worked & made me 18k earlier :/

Prerequisites

[X] I have searched for existing issues that already report this problem, without success.

Script Version
Top ls version
Platform
Android
Current Behavior
Just started buying Edwards at very high values :/
Expected Behavior
Im not sure what to write here
Steps to Reproduce
Im not sure what to write here
Additional Information
No response

you probably set the searchsettings wrong...


Some animals art need

for #60 and #61
frog
turtle
python
...another animal thal looks good in 2 dimensions

@cool-RR, you're replaced some clip arts with commit 9082629f4ab5696cbf93f7b8d73c7e58395b0c1e. Can you explain your thoughts and the reasoning behind it?
Personally, I like the green turtle and snake a lot! The brownish turtle and yellowish snake are a bit ... unusual. I'd love to see more coherence across all images in future, as it was before.

If I remember correctly, I removed clipart that wasn't licensed as open-sourced. I'll be happy to include more clipart with proper licensing.


4 set up package publishing

I had created a PR from a branch on a forked repo into an issue branch on the source repo (instructor-ai). That's confusing and not a great workflow. If it's okay, I'll just check out a branch directly from the main repo from now on just to make it simpler and not confuse myself or anybody else.


[Question]: Ollama connection error

Describe your problem
I tried to connect ollama LLMs models but I recive the following error: Fail to access model! Error 102 as you in screen shot.
Also I ried with varius model but it dosen't work.

I don't think the IP should be like this. How about <IP_ADDRESS>?

Dosen't work! I recive the following Error.
But in the debug console I see the add_llm response return 200.
I Have the same thins with other providers such as Anthropic and Mistral.

@KevinHuSh I just fix it on Windows I leave the guide bellow:
1)Set User Environment Variables for Ollama in :
Example:
Variable name: OLLAMA_HOST
Variable value: <IP_ADDRESS>:11434
link guide: https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-configure-ollama-server
2)Fin your IP Address using ipconfig from cmd line(don't use localhost) ex: 10.0...... or 192.168..... and set up it into URL base ex <IP_ADDRESS>:11434 and enter model name.


How to install?

Hello. I have no knowledge about using such things. I can use only exe programs (lol). Can you instruct me how to use it from scratch? I would be SOOOO grateful. Cheers :)

With this command you can get the JSON data for any word, just replace the word after the -g for the word you want:

npx migaku-wr-dict -f en -t ar -g anything
This could be use to test results for an specific word.

However I think this is not what you want, if you want to try and generate another dictionary with only the 891 words that weren't generated I recommend you copy them on a .txt file one word by line and save it somewhere like words.txt and use:

npx migaku-wr-dict -f en -t ar -w words.txt

Let me know how it goes for you.

Unfortunately I get this message "Request failed with status code 400".
The next thing I wanted to ask about is that when viewing created dictionary in Migaku addon the results are doubled. For example there is entry of a word "dog" one with a pronunciation and one without it.

Request failed with status code 400 could indicate the word doesn't exist on the dictionary.
The translations and entries are created based on the WordReference dictionary, if there's a duplicated entry that's probably also present on the WordReference dictionary, what is the exact command you are using ?
If you tell me your -f and -t and the word that is failing I can look it up on WordReference and explain why it gave you an error 400 and explain the duplicates for the word "dog".

I used this to create the dictionary: npx migaku-wr-dict -f en -t pl -n 100000
-f english -t polish
There are no duplicates of this word on Word Reference.
I get this message "Request failed with status code 400" when I just try to test this "npx migaku-wr-dict -f en -t ar -w words.txt" with two words e.g. water and dog. I get results for water, but do not get any results for dog.
Thank you for your time, I really appreciate it :)

That's weird, water and dog works just fine for me.  She's a dog!","pos":"n","examples":"I wouldn't go out with her. She's a dog!","audio":"https://www.wordreference.com/audio/en/us/us/en026602.mp3"},

{"term":"dog","altterm":"","pronunciation":"/ˈdɒg/","definition":"szmelc \n\nThat car of yours is a dog!","pos":"n","examples":"That car of yours is a dog!","audio":"https://www.wordreference.com/audio/en/us/us/en026602.mp3"},

{"term":"dog","altterm":"","pronunciation":"/ˈdɒg/","definition":"klapa \n\nHis latest film was a dog.","pos":"n","examples":"His latest film was a dog.","audio":"https://www.wordreference.com/audio/en/us/us/en026602.mp3"},

{"term":"dog","altterm":"","pronunciation":"/ˈdɒg/","definition":"zapadka \n\nWhen the dog engages, the gear is locked.","pos":"n","examples":"When the dog engages, the gear is locked.","audio":"https://www.wordreference.com/audio/en/us/us/en026602.mp3"}]

If those words are just examples I would need the exact words you're having issues with to investigate what is causing the problem, if you want you can attach your words.txt with the 891 that failed so I can investigate the issues.

So this is how it looks in my Migaku:

Here are the words my dictionary is missing:
https://drive.google.com/file/d/176jIyKzT_5hPXPfpmTni-aiw9e9P2rY_/view?usp=sharing
I tried creating dictionary once again and it missed some words, but these missing words were different than these from the file.

Haha, thats pretty weird!
I will look into it and troubleshoot for a bit, might have an update for you later on the day or tomorrow.

I hope I do not cause any trouble :) If it is not a problem, maybe you could just generate -f en -t pl with 100000 most frequent word for me? Whatever is the most conveniant for you. If you do not have time for such issues than do not bother, I do not want to be troublesome :)

I am generating one with npx migaku-wr-dict -f en -t pl -n 100000 to check for issues.
No worries! It's not a big problem but I might only have answers tomorrow due to the time it takes to generate the dictionary.

So, I just generated an EN-PL dictionary and installed it, I only had one word fail on me, that word didnt exist on WordReference.
For the word "dog" I get these results:

It seems to be working normally, try following the installation steps from the README using the attached .zip file.
migaku_wr_dict_enpl_enpl.zip
The script is very internet dependent so the errors you got might be due to instabillities on your network during the dictionary generation process.
If you have any other issues let me know!

Thank you!
So I still get doubled results and on top of that I cannot find any words that have different american and english spelling. I mean pairs like: behavior-behaviour, analyze-analyse.

That is weird, it seems we got behaviour there, but I also can't find any results when searching for "behaviour", for example:

The same happens for "analyse", I wonder if this is an issue with Migaku Dictionary, I feel like it should find those entries.
As for the duplicates it seems there were some changes to the website that could be causing this issue, I will have to investigate and update the code.
I should post an update for this soon.

Okay. I managed to find behavior. It works when using "Forward" mode in the browser. I was using "Exact" mode. This fixed the issue. There are still a lot of duplicates though.

Oh yeah, that was the case for me too, had to change it to "Anywhere" to find results searching by "behaviour".

I believe I fixed the issue with duplicates, I published the update to the command so next time you use it this problem shouldn't happen anymore.
I regenerated the dictionary after the fix, try using this .zip file:
migaku_wr_dict_enpl.zip
About the search for words with multiple spellings I recomend using the "Forward" mode or "Anywhere" mode as this is not something I can easily fix without changing the scrapping method and creating multiple entries.
Let me know how it works for you!

Great! Works like a charm :) The file is significantly smaller. Are these 100k words despite that? I mean there are no duplicates so that's probably that, but the file seems a few times smaller. If it is because of absence of duplicates, then everything is fine and I think we can close the topic. I really appreciate your help, thank you :)

Awesome! Yup! Those should be the top 100k most used words in English + a few combinations like "bad behavior" is also scrapped for the word "behavior".
I will close this topic for now, in case you have any other issues feel free to open a new one!


RecipeExportImport

hey,
I can't seem to find any "BepInEx\plugins\Lathrey-RecipeExportImport\DataFiles\RecipesToModifyAndAdd.jsonc" by default. I was wondering if you could provide a sample "RecipesToModifyAndAdd.jsonc" ? I just want to make "PulsarQuartz" craftable.
Thanks

[Info   :RecipeExportImport] Logging craftables list to D:\Steam\steamapps\common\The Planet Crafter\BepInEx\plugins\Lathrey-RecipeExportImport\DataFiles\CraftableList.txt
[Info   :RecipeExportImport] Modifying 'PulsarQuartz'
[Warning:RecipeExportImport] 	Unsupported override 'id'
[Info   :RecipeExportImport] 	Overriding 'associatedGameObject'
[Info   :RecipeExportImport] 	Overriding 'icon'
[Info   :RecipeExportImport] 	Overriding 'recipeIngredients'
[Info   :RecipeExportImport] 	Overriding 'hideInCrafter'
[Info   :RecipeExportImport] 	Overriding 'unlockingWorldUnit'
[Info   :RecipeExportImport] 	Overriding 'unlockingValue'
[Info   :RecipeExportImport] 	Overriding 'terraformStageUnlock'
[Warning:RecipeExportImport] Attempt to set 'terraformStageUnlock' to unknown stage 'None'
[Info   :RecipeExportImport] 	Overriding 'inventorySize'
[Info   :RecipeExportImport] 	Overriding 'value'
[Info   :RecipeExportImport] 	Overriding 'craftableInList'
[Info   :RecipeExportImport] 	Overriding 'equipableType'
[Info   :RecipeExportImport] 	Overriding 'usableType'
[Info   :RecipeExportImport] 	Overriding 'itemCategory'
[Info   :RecipeExportImport] 	Overriding 'growableGroup'
[Error  :RecipeExportImport] Caught exception 'The given key was not present in the dictionary.' trying to apply modifications/additions.

{
"Modifications": {
"PulsarQuartz": {
"id": "PulsarQuartz",
"associatedGameObject": "PulsarQuartz",
"icon": "PulsarQuartz",
"recipeIngredients": [
"Alloy",
"Alloy",
"Alloy",
"Alloy",
"Zeolite",
"Zeolite",
"Zeolite",
"Zeolite"
],
"hideInCrafter": false,
"unlockingWorldUnit": 0,
"unlockingValue": 0.0,
"terraformStageUnlock": "None",
"inventorySize": 0,
"value": 0,
"craftableInList": [
3
],
"equipableType": 0,
"usableType": 0,
"itemCategory": 0,
"growableGroup": "None",
"associatedGroups": [],
"assignRandomGroupAtSpawn": false,
"replaceByRandomGroupAtSpawn": false,
"unitMultiplierOxygen": 0.0,
"unitMultiplierPressure": 0.0,
"unitMultiplierHeat": 0.0,
"unitMultiplierEnergy": 0.0,
"unitMultiplierBiomass": 0.0
}
}
}

{
    "Modifications": {
        "PulsarQuartz": {
            "recipeIngredients": [
                "Alloy",
                "Alloy",
                "Alloy",
                "Alloy",
                "Zeolite",
                "Zeolite",
                "Zeolite",
                "Zeolite"
            ],
            "craftableInList": [
                1,
                2,
                3,
                4,
                5,
                6
            ]
        }
    },
    "ItemsToAdd": {},
    "BuildingsToAdd": {}
}

[Message:   BepInEx] BepInEx <IP_ADDRESS> - Planet Crafter (5/16/2022 5:18:50 AM)
[Info   :   BepInEx] Running under Unity v2<IP_ADDRESS>10196
[Info   :   BepInEx] CLR runtime version: 4.0.30319.42000
[Info   :   BepInEx] Supports SRE: True
[Info   :   BepInEx] System platform: Bits64, Windows
[Message:   BepInEx] Preloader started
[Info   :   BepInEx] Loaded 1 patcher method from [BepInEx.Preloader <IP_ADDRESS>]
[Info   :   BepInEx] 1 patcher plugin loaded
[Info   :   BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader]
[Message:   BepInEx] Preloader finished
[Message:   BepInEx] Chainloader ready
[Message:   BepInEx] Chainloader started
[Info   :   BepInEx] 10 plugins to load
[Info   :   BepInEx] Loading [Advanced_mode 0.0.1]
[Info   :   BepInEx] Loading [Better JetPack 0.1.1]
[Info   :   BepInEx] Loading [Craft From Containers 0.3.0]
[Info   :   BepInEx] Loading [Quick Store 0.3.3]
[Info   :   BepInEx] Loading [Show Next Unlockable Goal 0.1.0]
[Info   :   BepInEx] Loading [Storage Customization 0.3.2]
[Info   :   BepInEx] Loading [PluginFramework 2.1.0]
[Info   :PluginFramework] Plugin Lathrey-PluginFramework is loaded!
[Info   :   BepInEx] Loading [ImprovePerformance 2.5.0]
[Info   :ImprovePerformance] Plugin Lathrey-ImprovePerformance is loaded!
[Info   :   BepInEx] Loading [OreExtractorTweaks 2.1.0]
[Info   :OreExtractorTweaks] Plugin Lathrey-OreExtractorTweaks is loaded!
[Info   :   BepInEx] Loading [RecipeExportImport 2.2.0]
[Info   :RecipeExportImport] Plugin Lathrey-RecipeExportImport is loaded!
[Message:   BepInEx] Chainloader startup complete
[Info   :PluginFramework] Created index of previous group data. Size = 202
[Info   :RecipeExportImport] Logging craftables list to D:\Steam\steamapps\common\The Planet Crafter\BepInEx\plugins\Lathrey-RecipeExportImport\DataFiles\CraftableList.txt
[Info   :RecipeExportImport] Modifying 'PulsarQuartz'
[Info   :RecipeExportImport] 	Overriding 'recipeIngredients'
[Info   :RecipeExportImport] 	Overriding 'craftableInList'

nvm, I manage to make it work by adding "unlockingWorldUnit": 1, for anyone else who wants to modify the craft, here is the sample "RecipesToModifyAndAdd.jsonc" file, place it inside "BepInEx\plugins\Lathrey-RecipeExportImport\DataFiles" ad restart the game :)
{
    "Modifications": {
        "PulsarQuartz": {
            "recipeIngredients": [
                "Alloy",
                "Alloy",
                "Alloy",
                "Alloy",
                "Zeolite",
                "Zeolite",
                "Zeolite",
                "Zeolite"
            ],
            "unlockingWorldUnit": 1,
            "craftableInList": [
                1,
                2,
                3,
                4,
                5,
                6
            ]
        }
    },
    "ItemsToAdd": {},
    "BuildingsToAdd": {}
}

I added the example jsonc file that I ship in the Lathrey-AllPlugins.zip file. You can find it on the master branch here: https://github.com/TysonCodes/PlanetCrafterPlugins/blob/master/RecipeExportImport_Plugin/RecipesToModifyAndAdd.jsonc
It has comments on what to do for modifications or additions.


Implement PPU

Now that we have a working CPU, it's time to add the PPU so we can get some visual feedback

Closed by 8af55545412d0d0bbf1453f65a448de83c9db1b6


Some fixes which should be in current version

Fix event delegation in special events.
Fix assertions when running tests in java 8
Added a couple of utilities to make easier work with web component elements

Looks good!

LGTM


Error: Unbound module Prims

I'm trying to generate OCaml code from the file RPC.fst in /examples/crypto/ and I get the following error:
Error: Unbound module Prims
Here's the relevant  snippet from the makefile I've written:
ocaml: out RPC.fst
  $(FSTAR) --odir out --codegen OCaml --codegen-lib FStar RPC.fst --include $(LIB)
  ocamlopt out/RPC.ml $(LIB)/ml/prims.ml -o RPC.exe
  ./out/rpc.exe

Am I missing something obvious?

Looks like this was broken for a while.
There was an RPC.exe target in the Makefile in the /examples/crypto/ folder, but it hadn't been ported to the universes release of F*.
Should be fixed by 122aebc37d7d259efdbd4d33087cd953fd7cc8d4, once I get green to merge it into master.

@s-zanella  Please add this to the Makefile? Code that's not in the Makefile will get out of date and in fact should be removed from the repo if it can't be easily fixed.

Good idea.
I will clean up the mess in examples/crypto and add everything I can to the target that CI uses.

Running the tests would require to build OpenSSL from source in CI, which is prohibitively expensive. I modified the Makefile to run everything up to extraction.


Explicitly close connections to prevent server side timeouts

(That's for the "master" branch targeting diesel 2.0.0-rc.1, we cannot use that directly for the internal fix)

I will declare that as master branch now. Future updates should be based on this.


New version: jlqml_jll v0.6.1+1

Autogenerated JLL package registration

Registering JLL package jlqml_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/jlqml_jll.jl
Version: v0.6.1+1
Commit: a6092336f051b15cae82aef8115fc80f321ddf28
Revision on Yggdrasil: https://github.com/JuliaPackaging/Yggdrasil/commit/f6f09f19784882703835e106f0a3f0dc97949ec2
Created by: @barche

This can be closed, I will do a new PR to Yggdrasil to bump the version of jlqml_jll to 0.6.2, which is neede because of the update on the Qt6 compat bound.


Applying secret to namespace for authenticated registry

What type of PR is this?
/kind bug
/kind feature
What does does this PR do / why we need it:
The issue I am facing right now is, pulling registry from registry.redhat.io test fails on ocp cluster 4.2, 4.3 and 4.4 prow periodic job with unauthorized error, however same test passes in ocp 4.5 prow pr job
[oc] ! error: Import failed (InternalError): Internal error occurred: Get https://registry.redhat.io/v2/openjdk/openjdk
-11-rhel8/manifests/latest: unauthorized: Please login to the Red Hat Registry using your Customer Portal
credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication

So we need to copy the default secret to the namespace
Which issue(s) this PR fixes:
Fixes NA
PR acceptance criteria:

[ ] Unit test : NA

[x] Integration test

[ ] Documentation : NA

How to test changes / Special notes to the reviewer:
make configure-installer-tests-cluster
make test-e2e-images

Verified locally against 4.4 cluster.

Changes looks good to me 👍
/lgtm

/approve

/lgtm


More verbose output

I had to beautify a file over 5000 lines of code and it was really depressing to see no output at all. I killed the process a few seconds after because I didn't know if it had really started. We could add a progress bar or just some colored text that says something. This would help users to not kill the process and wait for a result.

In any case, you're right, having the usual -v / --verbose flag would probably be good also.

@lassik I pass in the --language html so my command is unibeautify table.html --language html. If you want to test it, here is the HTML, simply grab the HTML from the main content.

This is my list of installed packages globally:
→ npm list -g --depth 0
/usr/local/lib
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

More verbose outputs for certain actions are a good idea.  But I don't know how much I would do for a simple beautification of a file.
But it shouldn't hang like that.  That's something to look into.

@stevenzeck something like this would be great, especially when more files are being beautified: https://www.npmjs.com/package/cli-spinner.

@muuvmuuv I don't disagree, but the issue you described originally won't be fixed with verbose output. You are running unibeautify table.html --language html, which has two issues:

You need to specify --file-path (-f) before table.html, that is what is causing it to hang. The cli should handle this properly and exit, or pick up the file name without it.

Unibeautify core should be a little more flexible when passing in the language name.  In this case it won't find the language because html should be capitalized.

If you run unibeautify --file-path table.html --language HTML it should work

I've opened #106 to fix the hang issue, it will either return Cannot find language. or No text in the file or stdin.

@stevenzeck oh didn‘t know that, I assumed it works like prettier (passing the file and it just works). Thanks for the solution, but we may should change this so users don‘t need to capitalize letters in the CLI, not everyone knows the correct lettering of every language. But we discussed this already in another issue.
Anyway a verbose flag would be good to display some more info when debugging, fixing errors or when something did not work and we want the user to show us the verbose information.
Sent with GitHawk

Can you open an issue in Unibeautify core for the language issue?  Relevant lines are in LanguageManager.ts 18 and 25


addAttachment fails

I am using FME / PythonCaller to add attachments to a service. When I call FeatureLayer.addAttachment I get the error message "AttributeError: 'set' object has no attribute 'items' with a reference to following calls:
File "C:\Python27\ArcGIS10.3\lib\site-packages\arcrest\agol\services.py", line 1422, in addAttachment proxy_url=self._proxy_url)
File "C:\Python27\ArcGIS10.3\lib\site-packages\arcrest\web_base.py", line 466, in _post files=files)
File "C:\Python27\ArcGIS10.3\lib\site-packages\arcrest\web_base.py", line 96, in init for key,v in files.items():
Anyone a clue

Can you please post/share your code?
What version of ArcREST are you using?

This is the code:
`import arcrest, fmeobjects, fme
Template Class Interface:
class FeatureProcessor(object):
def init(self):
#PARAMETERS###########################
username = fme.macroValues['AGO_User']
password = fme.macroValues["AGO_Password"]
LayerUrl = fme.macroValues["AGO_URL"]
#PARAMETERS###########################
    #generate token#
    global AGOtoken
    AGOtoken = arcrest.security.AGOLTokenSecurityHandler(username, password)
    #generate FeatureLayer#
    global FeatureLayer
    FeatureLayer = arcrest.agol.services.FeatureLayer(LayerUrl, AGOtoken)

    #check FeatureLayer properties#
    if FeatureLayer.canModifyLayer == False:
        print "Error: layer not editable"
    if FeatureLayer.hasAttachments == False:
        print "Error: attachments not activated on layer"

#handle all features
def input(self,feature):
    FeatureID = str(int(feature.getAttribute("OBJECTID")))
    attpath = feature.getAttribute("att.path")
    UploadAtt = FeatureLayer.addAttachment(FeatureID, attpath)

    AttachID = str(UploadAtt["addAttachmentResult"]["objectId"])

    self.pyoutput(feature)

def close(self):
    pass`

And I'm using the latest version, only today (3/18/2016) I downloaded the master version.

@larsdevries - issue resolve, please pull the latest.


Document not saving into owncloud

Hello,
I have
owncloud server version 10.0.2 on Ubuntu Server 14.04.5 LTS
onlyoffice document server version 4.4.3-7 on another server, Ubuntu Server 16.04.3 LTS
onlyoffice app version 1.1.6
All same to work correctly, but document edited in onlyoffice is not saved to owncloud physical files.
For example if I download (from owncloud) excel file created with onlyoffice, file is empty. If this file is opened from onlyoffice, I have content ...
Can you help me ?
Thanks
Manuel

Did you close the document and waited a few seconds?
Documents are only saved back to cloud a few seconds after ALL USERS CLOSE the document.
So, even if you hit save, that gets saved only at the document server instance (not owncloud). It will get sent back to owncloud when the file is closed.
There is a issue asking for a force save (without closing) here: https://github.com/ONLYOFFICE/onlyoffice-owncloud/issues/116
Cheers!
Gus

Could you please specify if the problem recurs or we can close the topic.

Documents are only saved back to cloud a few seconds after ALL USERS CLOSE the document.

I know this is intended, but can someone explain this a little more?
We assume its about performance or something, but a save back to the owncloud every minute (or x) would already help a lot. Our users are totally irritated, that they get a start document after hours of editing with 5+ people.
We know that it's possible to download the current version from the editing menu, but it's still unintuitive.

I am not sure why it is done like that.
I think the auto-save to own/nextcloud was just not implemented yet...

@ManuelRighi
Could you please specify if the problem recurs or we can close the topic?

This issue was closed due to no response.


Add an option for compile-on-save to trigger VS pre- and post-build events

I have a TS project that's compiled to a single file, where I need to append some additional code to the resulting combined file. I added a VS post-build action to perform the processing every time I build the solution. It works fine when Build -> Build Solution (F6) or Build -> Rebuild Solution are used, but not following a compile-on-save, leading to the resulting .js file missing the expected additional code.
My current workaround is using a Grunt script that monitors the compiled .js file for changes and executes whenever it's modified. This might work fine for post-build actions in most cases (except perhaps in situations requiring tight VS synchronization with build start/completion) but doesn't support pre-build actions and generally isn't very elegant as it requires maintaining an additional background process.
It would be useful to have an option (which may or may not be enabled by default) to trigger the pre- and post-build events with this compilation method as well.
This (optional) behavior could be extended to other compiled-on-save languages such as LESS, SASS, Coffeescript etc. (though in these cases it's probably more of a Web Essentials suggestion).

Your current workaround would be my recommendation here. Using the a build tool like grunt or gulp and/or watcher should achieve the described scenario. The other option is to use the single file generator.  this gives the maximum flexibility and allows for different ways of composing the events that should occur on save.


Improve description of IXamlMetadataProvider

@ChrisGuzak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

@ChrisGuzak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ChrisGuzak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ChrisGuzak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jwmsft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Error occurred when retrieving time series data

Following error occurs when I execute a query with make-series clause.
Kind(KInternal): in row 0: column sum_value, conversion error: Column with type 'dynamic' was not stored as a string, was []interface {}

Example query:
 metrics
| where uuid == 'obs111bd266-cc3d-434f-99f1-122bdb53e16d'
| where callerConnectorType == 'ballerina/http/Caller'
| where timeSeriesId == 'metric_requests_total'
| make-series sum(value) on timestamp in range(datetime(2020-05-05), datetime(2020-05-07), 2h) by httpStatusCodeGroup

As I understood its because the generated column sum_value is of dynamic type. But it should be supported by the SDK and I believe this is a bug.
Further, I am able to execute the same query using both REST API and Azure query UI without any issue.

If it may help, here is the code I ran,
func Temp() {
        authorizer := kusto.Authorization{
		Config: auth.NewClientCredentialsConfig(ClientId, ClientSecret, TenantID),
	}

	kustoClient, err := kusto.New(Endpoint, authorizer)
	if err != nil {
		return err
	}

	iter, err := kustoClient.Query(context.TODO(), "choreopocadx-db", kusto.NewStmt(
		`metrics
	| where uuid == 'obs111bd266-cc3d-434f-99f1-122bdb53e16d'
	| where callerConnectorType == 'ballerina/http/Caller'
	| where timeSeriesId == 'metric_requests_total'
	| make-series sum(value) on timestamp in range(datetime(2020-05-05), datetime(2020-05-07), 2h) by httpStatusCodeGroup
	`))
	if err != nil {
		fmt.Println(err)
		return
	}
	defer iter.Stop()

	// .Do() will call the function for every row in the table.
	err = iter.Do(
		func(row *table.Row) error {
			fmt.Println(row)
			return nil
		},
	)
	if err != nil {
		fmt.Println(err)
	}
}

This indeed looks like a bug.  It is a conversion error from the REST JSON into the local type.
This must be something I broke in the last change where we updated how we do all the conversions.  I must have missed a test somewhere in that change, though its strange the etoe test passed.
I'll patch this in a release and look back at the etoe, see why that didn't fail on us.
There is one breaking change we want to do and it is going to be around how we handle Dynamic.  Right now we end up storing them as map[string]interface{}, but we are going to end up with just []byte and allow the user to do conversion.  This is going to give more freedom to the user that exists now for a minor cost on the client itself.

Thanks for the attention. When will you be able to fix this? My work depends on this, so my other option is to use the REST API and decode the response myself (which i will not enjoy doing)

I try for a 1 week SLA for bugs (this is not an official SLA, just mine for the Go SDK).  I will try to do this tomorrow, but we have companies holidays Thurs/Fri for my group, it could get delayed.
I don't imagine it going past the SLA.  Just want to set an expectation so that you can decide what you need to do.

It seems that this is my misinterpretation of the dynamic type. There are several pages on types and apparently I missed these items on the dynamic type:

"An array of dynamic values, holding zero or more values with zero-based indexing."
"A property bag that maps unique string values to dynamic values. The property bag has zero or more such mappings (called "slots"), indexed by the unique string values. The slots are unordered."

I don't think I can make the existing Kusto.Dynamic support this in a way that will work.  The current map[string]interface{} conversion was a flawed approach on my part.
The internal dynamics of conversion are complicated, but basically this isn't a simple patch.  I have a CL that I think will fix this in the works, but with a breaking change.

Thanks for the effort. Please do take your time and fix it properly. I am getting my work done through the REST API for now. I will visit Go SDK again when things are stable.
Let me interest you in something I came across when trying to parse the responses from the REST API. https://github.com/Jeffail/gabs is a really cool tool for parsing json data.

Its a cool tool.  The problem for us is it likely to be slow looking at its internals.
Go's JSON decoder (which gabs uses) is fairly general and works well when data follows certain rules.  Performance wise and in other ways, it falls apart when dealing with JSON that doesn't conform to its model.  And the Go author's consider the JSON library as locked for features.  This is a well known problem.
Third party packages that use Go's standard JSON lib fall prey to the same traps.  RawMessage, as an example, has to make copies of the bytes in the message for safety, but this is a huge cost over a large stream.
There are third party packages that do JSON encoding, but either they don't support streaming correctly or they require a lot of generated code in order to work.
We use a modified version of the stdlib that deals with our unique use case.  We want our allocs to be low for internal decoding.  We only want to alloc for values we pass to the user.
In this particular bug we, we have two decodes for dynamic:

We depack map[string]interface{}
We depack string

What we needed was an extra:

We depack []interface{}

Because I had missed the []interface{}, I exposed map[string]interface{}, which isn't going to suffice for that in any way that isn't absolutely hacky (like m["array"], yuck).
We are going to treat dynamic as we treat Decimal.  We are going to give you the raw data and let you decide how you want to unpack it.  So you should be getting []byte, in which you can covert as you see fit, including using gabs to do queries into the byte stream.
But again, thanks for brining the bug to our attention.  The preview release is mainly to find minor bugs that slipped through in testing.  Seems you found one!

I've updated dynamic at tip to handle what I think are all cases.  This converts Dynamic.Value into []byte.
We will be adding an integration test for this before we push this into a release.
But you should be able to give this a try using the commit hash.

Wanted to check in and see if you've had an opportunity to try tip yet?

We've released the new version at 0.2.0 that should have taken care of this problem.  As we've received no response on this bug, I am closing this assuming that the problem is resolved.


Fixes #10, added docker creation for core services

Signed-off-by: edgex<EMAIL_ADDRESS>

This is correct and should be merged.
But it doesn't build the dockers, it only added rules to generete them.
Tomorrow will fix the docker files and will create new PR for them.


part ownership and lending

One way to use InvenTree is to share parts among a group of people (friends, ..).
This means a part

has to have ownership,
can be lent to a user, with a start and end date

Is somebody else interested in this?

I don’t currently need this but could foresee it being useful in the future.
Would the “lent to a user” need an inventree account or would they just be added as a “client/supplier/contact”?

I don’t currently need this but could foresee it being useful in the future.
Would the “lent to a user” need an inventree account or would they just be added as a “client/supplier/contact”?

They need an InvenTree account since they can also add they own stuff, be parts owner, and lend parts.

I don't really get the "lend" part.
Isn't lending parts akin to lending firewood?

@chschlue I think its more for if you track things like your multimeters and dso and whatnots. As an asset management system.

You could pretty easily hack this in by creating a StockLocation tree like:
Stock/Friends/Bob which then contains all the things that Bob has selfishly never returned to you. This also allows automated history tracking of when something was transferred to Bob. The Stock/Friends location would then show all the items you have lent out.

You could pretty easily hack this in by creating a StockLocation tree like:
Stock/Friends/Bob which then contains all the things that Bob has selfishly never returned to you. This also allows automated history tracking of when something was transferred to Bob. The Stock/Friends location would then show all the items you have lent out.
i.e. if you instead encode a "who" as a "where" you should get all the features you are looking for, without scope-creeping the software :)

This is one way it could work, but I was more thinking about a shared stock management, where some stuff is owned by me, some by my friend Bob. So Stock/Friends/Bob doesn't really work unless we have the parts tagged with an owner.
Then there are parts like firewood as @chschlue pointed out, these are commonly owned or have no owner, just a location, an can be consumed. Nails, screws, and paint are more examples.

Ok, what if in addition to having a "virtual" location like "lent to friends", each Part can have an (optional) "owner" field. In a factory or business context this would be the person responsible for that part, for example.
I am very keen to not add single-use features which address a very slim problem but otherwise just add complexity. Maybe an "owner" field is simple (and useful) enough to be worthwhile...
@Chrescht  what do you think about that

Ok, what if in addition to having a "virtual" location like "lent to friends", each Part can have an (optional) "owner" field. In a factory or business context this would be the person responsible for that part, for example.
I am very keen to not add single-use features which address a very slim problem but otherwise just add complexity. Maybe an "owner" field is simple (and useful) enough to be worthwhile...
@Chrescht what do you think about that

Sounds great, I agree to keep it simple.

@SchrodingersGat I think ownership of parts, stock, build, purchase and sales order could be a nice addition to InvenTree, it may well be combined with the new permission-based system where specific objects assigned to users gives them more permissions than others. I'm thinking of a simple case scenario like: "John" created this sales order therefore "John" gets permission to update it, "Tim" won't have the option to update it until "John" passes ownership to him or "Tim" is added to list of owners.
Have you already thought into the actual implementation or want me to check our options based on your comments above?

@eeintech I can see that "ownership" as you suggest here could be useful, but I have not given it much thought in particular.
One related suggestion I have received is the ability to "loan" or "rent" stock items out. This was in particular for an A/V company which has a lot of equipment that is sent out to different music festivals. This feature request included such things as a booking calendar, etc.
I can see this being a great set of features to add - but have not yet made any effort to investigate how it would actually be implemented.

@SchrodingersGat Sounds good, I also only gave 5-10 minutes of reflexion myself but found the idea compelling, if well implemented. I do not have this on my "absolutely" needed list though 😄
Just a thought but what about having a simple "idea box" or "future features list" with requests needing more than just a couple hours of reflexion/work and use-case attached (like the one you mentioned). This could be stored in the docs like the build future features but on its own page.
With more and more requests coming in, we may have a better view of what InvenTree most demanded features are and manage priorities accordingly.

A "future features" list sounds like a great addition to the documentation! Under the "extend" directory would probably be a good place for it.

Great, I'll keep track of all those "extensive" feature requests there.

I started a list a while ago: https://github.com/inventree/inventree-docs/pull/26/files#diff-f005532afd58081f31152965122861a522abc1aff04ab65f76bb457ef325bd85
But it was tough to keep up with the rapid progress... so I think @SchrodingersGat decided it wasn't worth keeping at the moment.
I would be keen to see some kind of plan for the future release but I guess at this early stage, it is difficult to convey the "biggest" gaps and features other than listening to proposals made into issues here.

@eeintech some kind of indication what should be prioritised by people how want to help would be nice - there is the "help wanted" tag but those are 4 issues right now and I do not want to take away all of those in case somebody wants to help.

I've re-added the "upcoming features" page, I was thinking about doing that anyway :) we'll just have to ensure we keep it updated.
As for tags, I think the "help wanted" tag is appropriate to use in these cases

@SchrodingersGat In case you need help for triage and labelling, I'm sure @matmair and I could give you a hand.
Given InvenTree repo is under the InvenTree organization, seems like GH provides a different levels of permission:
https://docs.github.com/en/organizations/managing-access-to-your-organizations-repositories/repository-permission-levels-for-an-organization#repository-access-for-each-permission-level
The "Triage" one would let us add labels. Also we can officially ask you to review our PRs 😃

Focusing back on the OP, as InvenTree does not aim to become an assets management platform, the scope of the "lending" option should only apply to external interactions (eg. customers) as proposed in #1946
The ownership idea has already been implemented in #1155 and further improvements/fixes.


Imposible to match strings ?

/node_modules/node-dir/lib/readfiles.js:82
                    if (options.exclude && options.exclude.test(filename)) ret
                                                           ^
TypeError: Object node_modules,test has no method 'test'

My config was:
{ exclude: ['node_modules', 'test'] }

Doesn't seem to work with arrays at all, only regex is accepted ? In that case the docs need updating...

The error you have indicated appears to be from an early version.  Make sure you are using the latest version when installing from NPM. If your using this as a dependency in your package make sure you are using 0.1.8 or higher. There are tests now for both regexes and arrays of string and both work.


[Italian Translation] Critical Rendering Path: should _shared template be translated?

I've seen that in the Italian version of the Critical Rendering Path article, there's a paragraph written in English.
I would like to help with the translation in Italian but, being such paragraph taken from this shared file, I don't know how I could go about it.
Is it supposed to stay in English?

My inclination is that it should be translated, but I haven't tested it with our new infrastructure yet. Let me give it a shot today and see what happens. Will update the bug once I have a good answer.

SWEET - the answer is yes. Essentially you'll need to create a new _shared folder in language (ie src/content/it/) and drop the translated file in there. It should work on staging and DevSite!


Add zh-TW localization

leave comments if I've made any mistake.😘

@adamtow Please Review.

Thanks for contributing and apologies for the late reply to this.


Implement models for retrieving cards

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@9501b75). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             dev       #54   +/-   ##
=======================================
  Coverage       ?   100.00%
=======================================
  Files          ?        33
  Lines          ?       367
  Branches       ?         0
=======================================
  Hits           ?       367
  Misses         ?         0
  Partials       ?         0

Continue to review full report at Codecov.

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


Tag new stable release

The current stable version (1.3.2) is getting quite old, and does not include some important fixes: e.g. #316

#317 scares me a bit. I wouldn't want to tag something which hasn't been tested by  a lot of setups, but hey, let's try 1.4.0 and see

done

Thanks!


Add properties to install/disable NextCloud Apps

This allows us to install any NextCloud applications from their webstore
automatically. This will also allow us to disable applications we don't want
enabled.
In addition, add ability to install additional php packages that might be
required for apps (i.e. ldap).
Other fixes:

Update to testing on Cinc 18
Switch to using json InSpec resource to test status more easily

Signed-off-by: Lance Albertson<EMAIL_ADDRESS>

!bump minor ~

Jenkins has merged this PR into main and has automatically performed a minor-level version bump to v2.3.0.  Have a nice day!