Add a "Getting USD" Topic

Currently, the book lacks any information on how to get and start using USD as an artist.
As there are a myriad of different ways to get started via many different tools, this topic should list the most common ways of getting USD.
Write a short description for each and link to the individual pages.

Prebuilt binaries (NVidia offers these on https://developer.nvidia.com/usd but lacks OSX builds)
MayaUsd
Solaris
NVidia  Omniverse
DIY builds for developers

Not the intended target audience, but add for the sake of completion

Created, and merged to main.


Adjust drop shadow on flyout for darkmode

On lightmode, a drop shadow is visible (example from OnyxSelect):

In darkmode, this can't be seen

Thats intended by UX because shadows do not work in dark mode in general, see https://onyx.schwarz/tokens/shadows.html

after talking to jannick I created https://github.com/SchwarzIT/onyx/issues/1309


Agar Io patch

With this patch your custom agar Io server can be configured.

Update: Do not merch in the current state. I am fixing the patch real quick.

I have fixed the latest issue with the template. This pull request could now be merched.


Fix api env variable port parsing

@madninja is there a rough ETA on when this will make it to a release?


Tool does not migrate private datasets

The API used by the tool to migrate datasets will not include any private datasets.
Acceptance

[ ] All datasets in a CKAN instance are migrated including private ones
[ ] Optionally, add a command line option to decide whether to include private datasets

Analysis
Possible solution is to switch from the package_list API to fetching a list of organizations (organization_list) and then calling group_package_show for each org. Need to validate that this works.

@uwaheed88 could you look into this.

Implemented in #14


[nem.core] Can't install with Maven

I see that there is no Maven repository, but why can't I build nem.core with Maven locally?
I just clone repository to my disk, start building and catch this response

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:13 min
[INFO] Finished at: 2018-10-30T23:55:08+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project nem-core: There are test failures.
[ERROR]
[ERROR] Please refer to D:\src\NEMPH\nem.core\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Is it currently possible to use this package?

@Wayonb As discussed, let's get Maven artifacts hosted this week, as well.


Not working in node.js version > 5.12.0 <v7.1.0 ??

Hi,
I have not been watching the repo for a while. Now I wanted to update and get weird error in node.js v6.8.0:
v6.8.0:
(node:92867) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
path.js:7
    throw new TypeError('Path must be a string. Received ' + inspect(path));
    ^

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.dirname (path.js:1324:5)
    at Liftoff.run (/usr/local/lib/node_modules/verb-cli/bin/verb.js:133:27)
    at Liftoff.<anonymous> (/usr/local/lib/node_modules/verb-cli/node_modules/liftoff/index.js:192:16)
    at module.exports (/usr/local/lib/node_modules/verb-cli/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
    at Liftoff.<anonymous> (/usr/local/lib/node_modules/verb-cli/node_modules/liftoff/index.js:185:9)
    at /usr/local/lib/node_modules/verb-cli/node_modules/liftoff/index.js:159:9
    at /usr/local/lib/node_modules/verb-cli/node_modules/v8flags/index.js:108:14
    at /usr/local/lib/node_modules/verb-cli/node_modules/v8flags/index.js:36:12
    at /usr/local/lib/node_modules/verb-cli/node_modules/v8flags/index.js:47:7

Strangely the same solution works in node.js v7.1.0 and v5.12.0.
In all cases I did a:
$ npm cache clear
npm install --global "verbose/verb#dev"
npm install verb-generate-readme -g

Any ideas?

Looks like that error is coming from verb-cli (which isn't needed with the verb dev branch).
Uninstall verb-cli and try reinstalling verbose/verb#dev like you did  before.


The product packaged by Vite. The System.import on ie does not support absolute paths

Describe the bug

IE11: Unhandled promise rejection Error: js/index-legacy.76c5b3be.js, http://<IP_ADDRESS>:55842/ (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#8)
Reproduction
npm create vite@2
Steps to reproduce
npm run build
System Info
IE11: Unhandled promise rejection Error: js/index-legacy.76c5b3be.js, http://<IP_ADDRESS>:55842/ (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#8)

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.


[CORE][YARN] SPARK-6011: Used Current Working directory for sparklocaldirs instead of Application Directory so that spark-local-files gets deleted when executor exits abruptly.

Spark uses current application directory to save shuffle files for all Executors. But when Executor gets killed abruptly not allowing DiskBlockManager.scala shutdownhook to get executed. These files remain there till application is up.
This is causing out of disk space error for long/infinitley running applications.
In this fix i used current working directory, which is inside executor's directory, to save shuffle files instead of application's directory. So that Yarn clears those directories when executor gets killed.
-Pankaj

Can one of the admins verify this patch?

@pankajarora12 Data generated by DiskBlockManager cannot be deleted since it may be used by other executors when using the external shuffle service. You may be able to optimize to delete these things when not using the external service, but that sounds like the wrong approach.
If it's the shuffle data that is accumulating, maybe the right fix is for the block manager to properly clean up shuffle files that are not used anymore. The executor doesn't have enough information for that, as far as I can tell, and the driver would need to tell executors when RDDs are gc'ed so that their shuffle data can be cleaned up. Maybe that's already done, even, but I don't know.
Well, long story short, this change seems to break dynamic allocation and anything that uses the external shuffle service, so it really cannot be pushed.

There is also a second thing that is broken by this patch: YARN_LOCAL_DIRS can actually be multiple directories, as the name implies. The BlockManager uses that to distribute shuffle files across multiple disks, to speed things up. After this change, everything will end up on the same disk.

I thought about that case too. Since we will be having many executors on
one node. So yarn will use different local dir for launching each executor
and that will use up other disks too.
On Thu, Feb 26, 2015 at 1:39 AM, Marcelo Vanzin<EMAIL_ADDRESS>wrote:

There is also a second thing that is broken by this patch: YARN_LOCAL_DIRS
can actually be multiple directories, as the name implies. The BlockManager
uses that to distribute shuffle files across multiple disks, to speed
things up. After this change, everything will end up on the same disk.
—
Reply to this email directly or view it on GitHub
https://github.com/apache/spark/pull/4770#issuecomment-76045346.

Also using multiple disks for each executor provides speed but failure of
any of the disk will fail all executors of that node.
on other hand using one disk per executor and having as many disks
available as there are executors will provide fault tolerant against disk
failures.
I think quite debatable.
On Thu, Feb 26, 2015 at 2:30 AM, Pankaj Arora<EMAIL_ADDRESS>wrote:

I thought about that case too. Since we will be having many executors on
one node. So yarn will use different local dir for launching each executor
and that will use up other disks too.
On Thu, Feb 26, 2015 at 1:39 AM, Marcelo Vanzin<EMAIL_ADDRESS>wrote:

There is also a second thing that is broken by this patch:
YARN_LOCAL_DIRS can actually be multiple directories, as the name
implies. The BlockManager uses that to distribute shuffle files across
multiple disks, to speed things up. After this change, everything will end
up on the same disk.
—
Reply to this email directly or view it on GitHub
https://github.com/apache/spark/pull/4770#issuecomment-76045346.

So yarn will use different local dir for launching each executor

But that leaves the case of a single executor being tied to a single local disk after your patch. You're removing that feature. Disk failures are not an issue here, if one can fail more than one can also fail, and the block manager will figure things out.
I don't see how any of this is debatable.

Yes, do you mind closing this PR? I think the same underlying issue of temp file cleanup is discussed in https://issues.apache.org/jira/browse/SPARK-5836 and I think the discussion could take place there.


drill: 0.7.0 -> 0.7.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/fcsonline/drill/releases.
meta.description for drill is: "HTTP load testing application inspired by Ansible syntax"
meta.homepage for drill is: "https://github.com/fcsonline/drill"
meta.changelog for drill is: ""
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/cy1b9bxh482gs24964lzr3kazzixzvqb-drill-0.7.2/bin/drill passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 0.7.2 with grep in /nix/store/cy1b9bxh482gs24964lzr3kazzixzvqb-drill-0.7.2

found 0.7.2 in filename of file in /nix/store/cy1b9bxh482gs24964lzr3kazzixzvqb-drill-0.7.2

directory tree listing: https://gist.github.com/7cc0ea61fbc61ed55dc468ad4b381db2

du listing: https://gist.github.com/7e8b099da78e2b8bdcf74c5010a1a365

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
drill

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/cy1b9bxh482gs24964lzr3kazzixzvqb-drill-0.7.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A drill https://github.com/r-ryantm/nixpkgs/archive/8dc3de1244e0a80713b55dc8ef875f1137161969.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/cy1b9bxh482gs24964lzr3kazzixzvqb-drill-0.7.2
ls -la /nix/store/cy1b9bxh482gs24964lzr3kazzixzvqb-drill-0.7.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

drill

Maintainer pings
cc @Br1ght0ne for testing.

darwin build is failing

Obsolete after #157656


Player missing from league table

https://courageleague.azurewebsites.net/division/Division Two/player:Mac docherty@Lamb Paulton/Winter 24-25

A restart allowed the player to appear.
The cache didn't appear to be invalidated when the player was added


Compile Error in Mac -

Can you please clarify what might be the issue: A compile error when running in Mac with a simple rest api call without user credentials. Works in Windows.
Compile error:
Can't find project or library
(WebHelpers 1054:7)
Code highlights in: Public Function JoinUrl(LeftSide As String, RightSide As String) As String
Thanks,
Subbu.

Hmm, that line's been in there a while (added in v1.0.3), but maybe it's the un-namespaced VBA calls? Do you mind updating it as follows (adding VBA.)? If it works I'll update the library.
Public Function JoinUrl(LeftSide As String, RightSide As String) As String
    If VBA.Left(RightSide, 1) = "/" Then
        RightSide = VBA.Right(RightSide, VBA.Len(RightSide) - 1)
    End If
    If VBA.Right(LeftSide, 1) = "/" Then
        LeftSide = VBA.Left(LeftSide, VBA.Len(LeftSide) - 1)
    End If

    If LeftSide <> "" And RightSide <> "" Then
        JoinUrl = LeftSide & "/" & RightSide
    Else
        JoinUrl = LeftSide & RightSide
    End If
End Function

Yes, adding VBA worked and also please add to VBA to Format methods in request and response


feat: support --{tla,ext}-{code,str}-file flag in "tk eval"

Convert the flag values to import/importstr @"verbatim ""quoted"" string",
pretty much like go-jsonnet does it.
Implements https://github.com/grafana/tanka/issues/848

@zerok can you take a look please? :)

This didn't get merged for some reason...
@zerok Could you PTAL?

Sorry, missed that on my list. Thank you again 🙂


profile should not cache profile content because the profile may not be a full profile

…
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


http operator

@komamitsu PTAL

@danielnorberg  Cool. I added some comments. Can you take a look at them?


Example for ... RETURNS Text[] AS ... please

Can you please give a example how to make a text[] return.
I am new in Rust so I have no idear but what I want is something like this.
CREATE FUNCTION concat_rs(text, text) RETURNS text[] AS 'path/to/crate/target/release/libstrings.dylib', 'pg_concat_rs' LANGUAGE C STRICT;

I'm a little confused by the result type your going for here, based on the function name (maybe that's just a quick example you have here though?).
These examples are close: https://github.com/bluejekyll/pg-extend-rs/blob/master/examples/strings/src/lib.rs#L30
If you really want an array perhaps @auterium might have something? I know that was an area he was working in.

Unfortunatelly I recently lost all my un-published progress regarding arrays as my laptop was stolen on my way back home. I'm slowly rebuilding the private code I was working on, so until that's done, I won't be able to work again on this.

I'm sorry for you @auterium that your Laptop was stolen. As a work around I give it now as a json string over.
@auterium it would be great if you can share your code but no rush. I have time :)

Thanks @TssT16. Most of the code that I must rebuild is actually propietary, so I won't be able to share it. However, some parts that can be pushed up to pg-extend-rs I would definitely send out as a PR as soon as I have some time to build it up :)


AR MongoDb insert/update - prepare of data before insert/update

https://github.com/yiisoft/yii2-mongodb/blob/master/Collection.php#L379
https://github.com/yiisoft/yii2-mongodb/blob/master/Collection.php#L437
and other such places should do something like this:
\yii\helpers\ArrayHelper::toArray($data)
use \yii\helpers\ArrayHelper;
$this->tryResultError($this->mongoCollection->insert(ArrayHelper::toArray($data), $options));
This will help to correct the insert or update data when transferred to an object or an array of objects. Also to gain control over the data before inserting in Mongo.

This does not make sense. If you with the data be processed by ArrayHelper::toArray() you are able to so in your code.


Source code generation fails under 1.0.0-M1

Thank you for providing such a great tool! I also use it for my work. :)
When running under the following conditions, an error occurs, and the source code generation fails:

Version: 1.0.0-M1
Scala Version: 2.12.18 (intended for use with sbt-guardrail)
JDK: Corretto-<IP_ADDRESS>.1

(I have masked the type names.)
    FooBarType:
      type: string
      enum:
        - A
        - B
        - C
        - D
    foo_type:
      type: array
      nullable: false
      items:
        allOf:
          - $ref: '#/components/schemas/FooBarType'

sbt:my-project> guardrail
Error:Unknown type for the following structure (No type definition, class: io.swagger.v3.oas.models.media.ComposedSchema, .components.schemas.foo_type.items):
  Tracker(class ComposedSchema {
      class Schema {
      }
  }, Vector(.components, .schemas, .foo_type, .items))

[error] (Compile / guardrail) dev.guardrail.sbt.CodegenFailedException
[error] Total time: 1 s, completed 2024/09/05 16:20:55

Here is the code to reproduce the issue:
https://github.com/aoiroaoino/guardrail/commit/199dc9fd3b20cc88528942c5072c128135a67589
Could you please take a look? Thank you for your assistance.

Thank you for the reproducing test case! Please pardon the delay in response, looking now. I'll follow up


API

We need an API for third party clients to be able to connect. This issue should track that activity.

currently have a bug with getpubkeyhash


Version 2.3.3-12 unreachable via aMuledGUI

As in the subject, after upgrading to the latest 2.3.3-12 version I'm not able to connect to the container via aMuledGUI... on the other hand, downgrading to the old 2.3.3-11 version fixes the issue.
Iade

Could you share the log traces?


docs(samples): updated samples code to use async await

Fixes https://github.com/googleapis/google-cloud-node/issues/2869 (it's a good idea to open an issue first for discussion)

[ ] Tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Looks like the system tests are still failin

Yes, working to fix those failure
On Tue, Oct 23, 2018 at 7:27 AM Justin Beckwith<EMAIL_ADDRESS>wrote:

Looks like the system tests are still failin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googleapis/nodejs-spanner/pull/385#issuecomment-432057517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiYqSN68nVPP-xrKF9Duwe44BG68ZA9eks5unneVgaJpZM4XzSYr
.

@vijay-qlogic I sent you an invite to the googleapis org.  If you accept that, sample and system tests will run automatically on these PRs :)

@JustinBeckwith  Yes, I accepted that invitation Thanks!, also enabled 2-factor authentication as well
Few tests are still failing for me, working on it to fix the issues, will update the PR as soon I resolve those


When a pipe uses parameters, their values do not stand out

When a pipe has <Param> elements, the values of these parameters are difficult to see.
In the old Ladybug GUI, you see the parameter value immediately.

In the new GUI, your eyes are drawn to the table with properties about the parameter. You need to look carefully to see the parameter value above the table.

Are these not two different checkpoints and therefore have a different message?

Het gaat hier om de rechterkant van de screenshot. Met de boomstructuur links is niets aan de hand.
Aan de rechterkant zie je bovenaan de waarde van de parameter staan, maar je oog valt eerder op wat eronder staat, properties "Name", "Thread name", "Source class name" enzovoorts.

This looks a lot different now with all the changes made to ladybug the last few months, I don't think this is still relevant. Can you confirm @mhdirkse ?

I will close this and make a reminder to test again.


gulp.watch('app/app.js') seems to be watching for more than that file

Hi, I've found some strange behavior with watch.
In my gulpfile besides watching files for changes I'm doing validation, etc. And I had troubles with some watch being fired multiple times when it wasn't supposed to. So I've narrowed it down to having this in my code:
gulp.watch([
  'app/app.js'
]).on('change', function(event) {
  console.log('File ' + event.path + ' was ' + event.type);
});

And looking at the console I'm getting messages like:
File c:<myproject>\app\tmp was deleted
File c:<myproject>\app\tmp\partials\ was renamed
File c:<myproject>\app\tmp\partials was deleted
File c:<myproject>\app\tmp\partials\ was renamed
Here's a sample of project's files structure (if it helps):
app/
assets/
controllers/
directives/
app.js
constants.js
index.html
gulpfile.js
package.json
Shouldn't I get notified only when that specific app.js file changes?
BTW: I'm using
node v0.12.0
gulp 3.9.0

Duplicate of #651 - please upgrade to gulp 4 for any issues with the file watcher, we've completely switched it to an actively maintained module.

Thank you @phated for clarify that and sorry for the noise. We completely missed that one out (#651).


consider adding something more automated for version bumping

Description
See https://github.com/kumahq/kuma-gui/pull/2424

We should see if we can only have the hardcoded version in the package.json and everything else sources from there. Then there are 2 choices:

Say "just manually bump in the one place" - its only one place so 🤷
Add some sort of package/Makefile script to bump for us, and potentially cut the release branch. Extra points if we can do that either by running locally or via CI.

There's some work towards this here https://github.com/kumahq/kuma-gui/pull/3049 (centralising the version number to the package.json)


Make sure method name matches

The method name must match the patron group name exactly as it is in folio and in the config settings in order to work.

Need to change the config to be undergrad in shared_configs.


ethpy: get HyperdriveMarketAction type from the HyperdriveInterface

The hyperdrive_account is a core object in the bot workflow. One of it's principal outputs is a HyperdriveMarketAction, for example a list of these is returned from the get_trades function, which is used heavily.
However, the interface functions, such as open_long, should be able to return these actions, putting them entirely behind-the-scenes.

Resolved by https://github.com/delvtech/agent0/pull/1221


Add snowpark-python 0.6.1

Changelog: https://github.com/snowflakedb/snowpark-python/blob/v0.6.1/CHANGELOG.md
License: https://github.com/snowflakedb/snowpark-python/blob/v0.6.1/LICENSE.txt
Requirements: https://github.com/snowflakedb/snowpark-python/blob/v0.6.1/setup.py
Actions:

Skip py<38 or py>=39 or win32 or s390x
Remove noarch: python, and make it arch-specific
Add setuptools and wheel in host
Add license_family
Add dev and doc urls

The dependent package snowflake-connector-python is not currently available on linux-aarch64, linux-s390x, osx-arm64, and win32

For adding support on arm64 and aarch64 I've rebuild https://github.com/AnacondaRecipes/snowflake-connector-python-feedstock/pull/4

Updated to v0.7.0

should we specify the pip version? https://github.com/snowflakedb/snowpark-python/blob/v0.6.1/tox.ini#L25
should we modify the version of setuptools? https://github.com/snowflakedb/snowpark-python/blob/v0.6.0/recipe/meta.yaml#L28
https://github.com/snowflakedb/snowpark-python/blob/v0.6.1/recipe/meta.yaml#L28
We probably need to verify if the package can build for linux-aarch64 and osx-arm64

@varlackc I'm not sure if setuptools is needed in run. It's already in host. I think the upstream setup.py is incorrect in that place.
pip pinning is needed for testing but we don't run test commands

snowflake-connector-python 2.6.2 added on linux-aarch64 and osx-arm64 platforms

It's ready for testing. We can merge it


Remove 'Lazy' declaration

Lazy is no longer exported since 9.0.0, 2023-02-01
But it still exists in the d.ts file. This can be confusing.

Merged, thanks!

You're welcome, thank you!


[python] move parse input functions to input_parser.py

Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

can you rebase with master? i merged the 3p changes earlier and those should be incorporated

can you rebase with master? i merged the 3p changes earlier and those should be incorporated

Got it, Done!


Wav2Vec 2.0 Large (LV-60) Path is broken

The link for Wav2Vec 2.0 Large (LV-60) model is broken.

Thanks for pointing this out!  Should be resolved when #2906 gets merged

We've renamed the file in the S3 bucket.  Downloads should work now.


installation with one line terminal command

I often see some opensource projects have easy installation with one line terminal command. Using cURL or wget with bash, that method compresses installation into one line. It's more easy than copy/paste more lines.
As an alternative installation method, I'll add this feature.
Example, :point_right: here Installation and Update

I preferred another method because of a discussion at :point_right: here
Also, this method fixed my interactivity problem. Installation process requires some answers from user interactively, yes | no or password when sudo.


Input HTML The co-operative bank CREDITLINE support

Add HTML The co-operative bank CREDITLINE input support for credit cards.

There were two main The Co-operative Bank credit card statement formats, one of which had a minor variant. Added support for both:
HTML/CPBKGB22/Personal/CreditCard/V_2011_04_09
HTML/CPBKGB22/Personal/CreditCard/V_2015_05_27


Setters and deletes always return false

The functions i'm experiencing this with is hset, hdel and del though it could be an issue with others too. They always return false, redis cli returns 1 if the set/delete was successful and 0 if there was nothing to set/delete. It would make sense to do the same with booleans

You'll get the 1/0 response in the callback, not as a returned value.
client.del('something',function(err,resp) {
  //`resp` will be 1 if something existed, 0 if it didn't.
});


Binary data output allowed in EDR?

Another question for the EDR standards authorities:
In addition to numeric data in various human-readable formats we also distribute a lot of binary data, e.g. GRIB files, radar images, vertical profile plots, satellite images et al. Initially we thought these could easily be downloaded using EDR, but then I found this passage in the OGC API Common guide:

8.1. Definition [...]

An OGC API Collection may only contain data. It does not encompass non-data resources (but the Collection resource may still have related auxiliary resources, such as schemas, or processes, as sub-resources).

Can't find the definition of "data" anywhere, but in 5.1 there is a definition of "dataset":

A dataset can be a vector feature collection, a coverage/imagery, or a collection of datasets (therefore potentially a mix of any of these things).

Wondering if it implies that a non-queriable blob that can only be downloaded as a complete file is unsuitable for spatial/temporal search using EDR or not?

@geira The EDR Items query can be used to download non-queriable blob's and supports spatial/temporal search query parameters (bbox and datetime).


JS Error: Ajax Reveal within an Ajax Reveal

Was getting a JS error when trying to open a reveal within a reveal (both being ajax requests).
This was from version 5.5.1 - maybe there is already a fix.
Found the problem was in foundation.reveal.js on line 210 & 212:
if (open_modal.length > 0) {
                if (settings.multiple_opened) {
                  this.to_back(open_modal);
                } else {
                  this.hide(open_modal, settings.css.close);
                }
              }

the use of "this" in there should be "self" instead.
Should be this:
if (open_modal.length > 0) {
                if (settings.multiple_opened) {
                  self.to_back(open_modal);
                } else {
                  self.hide(open_modal, settings.css.close);
                }
              }

Since this is referring to the ajax event, not the reveal modal object.
Cheers.

Nevermind.
This was fixed here: https://github.com/zurb/foundation/commit/f379a79af0c61c2760846861713b58a726ca5fcf
But it's not updated in version 5.5.1.
What is the release schedule like for Foundation?  How soon does this repo update the latest bower version - or is it one and the same? What am I missing?

Changes staged on the master branch are available to get by using bower to target update.
In your bower.json file
{
"name": "foundation-libsass-template",
"dependencies": {
"foundation": "master"
}
}
The fully tested versions are the tagged releases. The milestone on 5.5.2 is scheduled to be pushed out on Tuesday the 28th.


Missing underscores in REPL

It appears the REPL is obscuring the underscores for some of us (see also #485). As you can see in the attached image, underscores appear correctly in the editor, but are 1 pixel  below the letters (default fonts on Ubuntu based OS). This appears to cause an issue in the REPL where the lines are spaced closer together and the underscore does not appear. Hopefully just tweaking the line spacing for the REPL fixes it, but I don't know enough about Atom to actually identify the exact cause and possible solutions.

That's an upstream bug (see https://github.com/xtermjs/xterm.js/issues/1138). You can work around it by just using a different font for now.


tsc --watch doesn't work in docker container

Bug Report
🔎 Search Terms
watch container
🕗 Version & Regression Information

I have conducted testing under Typescript 5.0.4.
Environment for testing:

Windows 11: tsc --watch functioned correctly.
Host mahicne Windows11, Docker container node:20 ->  tsc --watch was unsuccessful
Host mahicne Windows11, Docker container mcr.microsoft.com/devcontainers/typescript-node:0-20  ->  tsc --watch didn't work either

vscode devcontainer image from Microsoft, designed for developing with Typescript

⏯ Playground Link
this is not about code.
💻 Code
this is not about code
🙁 Actual behavior
It appears that tsc is unable to detect file changes in the container.

run tsc --watch
Initially, it ran without any issues and produced the following output.[12:43:12 AM] Starting compilation in watch mode...

[12:43:18 AM] Found 0 errors. Watching for file changes.
``

make change in ts files which should be compile
nothing happens. no changes in the js output
make change in ts files which makes error
nothing happens. doesn't show error message

🙂 Expected behavior
it works fine with my windosw11

Initially, it ran without any issues and produced the following output.

[12:43:12 AM] Starting compilation in watch mode...

[12:43:18 AM] Found 0 errors. Watching for file changes.

Made changes in the TypeScript files, which were required to be compiled.
Verified that the changes were reflected in the corresponding JavaScript files.
Introduced an error by making further changes in the TypeScript files.
Confirmed that the error message was displayed appropriately.[오전 9:53:48] File change detected. Starting incremental compilation...

src/app.ts:19:5 - error TS1440: Variable declaration not allowed at this location.

19     let's make syntax error
       ~~~

src/app.ts:19:5 - error TS2304: Cannot find name 'let'.

19     let's make syntax error
       ~~~

src/app.ts:19:28 - error TS1002: Unterminated string literal.

19     let's make syntax error

[오전 9:53:48] Found 3 errors. Watching for file changes.

Are you changing files that are located inside of docker container or mounted from hist system?
In later case I don't think that mounts provide reliable file change notifications so most watchers would break.

If your OS isn't providing watch events, then you can use a polling based watch strategy in your TS config or command line: https://www.typescriptlang.org/tsconfig#watchOptions

The issue originated from a binding mount with the Windows host filesystem.
As advised by @RyanCavanaugh , the polling method can also be used.
In my case, I resolved the problem by moving the files to the WSL2 file system. I first created the project on the WSL2 file system, then mounted the directory to the container. This allowed for tsc --watch to function as expected. Additionally, the WSL2 filesystem can be directly accessed (\\wsl2$) by the Windows file browser, resulting in a seamless experience for me.

I have the same problem on Windows. Watch won't work for files in src even if I change them inside the container itself (i.e. using vscode or the shell).
There is a lot of confusion about bind mounts on Windows: do the bind mount completly screw the watch functionality of all tools relying on watch events (TypeScript, Rollup, and many more...)... when editing from withing the container and Windows itself?

Same here, currently using a nodejs devcontainer with vscode, and npx tsc --watch don't detect any change....

I'm running Node inside Docker on my Windows computer, and configuring these settings fixed the issue for me.
  "watchOptions": {
    "watchFile": "dynamicPriorityPolling"
  }

I'm currently having the same issue. Windows 11 host running a docker container with volume mounts.
Running   tsc -w and modifying the file within IDE or the container results in no change detected.
This is with polling enabled
  "watchOptions": {
    "watchFile": "dynamicPriorityPolling"
  }


Test Auto build on patched Ruby version

I tested this and it does not to pull down the latest ruby patches. Expected testing against ruby 2.17 & 2.2.3.
Travis output:
$ rvm use 2.1 --install --binary --fuzzy
Using /home/travis/.rvm/gems/ruby-2.1.5
$ export BUNDLE_GEMFILE=$PWD/Gemfile
$ ruby --version
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]

@jnicklas, is this working as intended? I see an older ruby version in the build logs (https://travis-ci.org/elabs/pundit/jobs/102368741)

See https://github.com/rvm/rvm/issues/3512 for why this is not working.


Ft/reset password page

What does this PR do?
This PR contains a code for working preview pages for reset-password feature and forgot password features.
Description of the task to be completed?
The tasks involves setting up layouts for authentication related pages and building the clean UI and per the Figma prototype provided.
How should this be manually tested?
Run the codebase as a Next application
Navigate to https://localhost:3000/reset-password and https://localhost:3000/forgot-password

fixed @iradukundairenee


Will Pony allow bare methods to use 'this'?

Sorry, I'm new to Pony and maybe I got this completely wrong. Is using 'this' in bare methods no good idea because of memory safety reasons or is it rather not yet implemented?
If bare methods could pop the first argument away from the actual list that is provided in Pony (do they already?), and use it as 'this' pointer, then I think I would be able to write a Windows GUI app with Pony.
I made a shim function in C like one of the code examples does it. And the FFI chapter in the tutorial kind of suggests to pass 'this' to SQLite for example. And for a "method", 'this' goes into the this pointer, one would think.
For me, if the Pony GC has wiped an object and another API gives me the dangling pointer to it back, I'm okay when it crashes. I'd use it mostly for the WindowProc, so I'd get it stable after some time.
Currently, I'm not sure. When all I can access from a callback is static classes and actors I feel a bit lost. Though, I have to find out what I could do from there. But someone already stated in another issue, that a static actor cannot find non-static actors.
Maybe I should buffer the Windows messages in the C side and poll them from Pony, instead of using a callback in Pony.
This is a bare Windows app that just tries to do static Windows things in the static part (bare lambda) and non-static things in the main actor. That means in the main actor it looks into the Windows messages after they have been dispatched as good as possible, and then does the rest. It works but sometimes hangs. https://gist.github.com/ponylang-gist/4ee25805123c8c646ce5fc6a1db93975

From within the bare lambda you only have access to the explicit arguments in the function signature - there is no implicit first argument in that case. I'm not familiar with this Windows API in question, but many C APIs allow you to pass some sort of void* or similar that gets passed to the callback, which would allow you to put a Pony object reference there (though, depending on how the callback gets called by the library, there could potentially be issues with concurrency or with the GC, as you allude).

Again, I know almost nothing about Windows APIs, so take this with a grain of salt, but the GWLP_USERDATA option in SetWindowLongPtrA seems promising. It looks like you can use it to attach an arbitrary pointer to the HWND, which is probably what you'd want here.

Glad to help!

Just for the record for anyone else finding this later, to explicitly answer the question "Will Pony allow bare methods to use 'this'?":
No, Pony won't allow this, by design. Bare lambdas have no value of this, and that's what's "bare" about them. Whenever you think you need this feature, you'll have to find some other way of accomplishing what you're doing, as in the example I helped @marsuk with above.


otp item count is 6 but not able to setText() 6 char

java.lang.IndexOutOfBoundsException: Index: 6, Size: 6

Should be fixed as of 0.2.4


Fix scoped with dependencies

Codecov Report

Merging #52 (8bb4294) into master (22fea33) will increase coverage by 0.06%.
The diff coverage is 90.00%.

@@            Coverage Diff             @@
##           master      #52      +/-   ##
==========================================
+ Coverage   88.61%   88.68%   +0.06%
==========================================
  Files          40       39       -1
  Lines         659      654       -5
  Branches       61       59       -2
==========================================
- Hits          584      580       -4
  Misses         27       27
+ Partials       48       47       -1

Impacted Files
Coverage Δ

packages/react/src/hoc/withScope.tsx
80.00% <77.77%> (-20.00%)
:arrow_down:

packages/core/src/module/Module.ts
91.66% <100.00%> (+2.77%)
:arrow_up:

packages/core/src/module/ModuleBuilder.ts
95.12% <100.00%> (+0.12%)
:arrow_up:

packages/core/src/module/ModulePatch.ts
89.18% <100.00%> (+0.61%)
:arrow_up:

packages/react/src/hoc/withDependencies.tsx
100.00% <100.00%> (+18.75%)
:arrow_up:

packages/react/src/hooks/useSelectScoped.ts

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 22fea33...8bb4294. Read the comment docs.


What is type-4 similarity?

A sentence from README. "The problem-submission relationship in Project CodeNet corresponds to type-4 similarity and can be used for code search and clone detection". Some readers (me included) do not know what this refers to. Turning "type-4 similarity" into a hyperlink to a page that explains the concept would be very useful.

Hi Vadim, a link has been added to explain type-4 similarity. The README should be updated by Monday. The link is to this PhD thesis https://escholarship.org/uc/item/45r2308g. You can find the definition on page 6.


pull request for e2e test at 12/17/2016 23:15:20

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


DOC: clarify ref_chs vs reref_chs

clarifying the documentation, cc @hoechenberger

Codecov Report

Merging #137 (693d336) into main (4722903) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 693d336 differs from pull request most recent head 5e36815. Consider uploading reports for the commit 5e36815 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##             main     #137   +/-   ##
=======================================
  Coverage   98.89%   98.89%
=======================================
  Files           7        7
  Lines         726      726
=======================================
  Hits          718      718
  Misses          8        8

Files
Coverage Δ

pyprep/prep_pipeline.py
100.00% <ø> (ø)


fix issue #1761 baiji-group 264-2

Ⅰ. Describe what this PR did
Add unit-test for Volume Core's DetachVolume method
Ⅱ. Does this pull request fix one issue?

fixes #1761
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1824 into master will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1824      +/-   ##
==========================================
+ Coverage    56.3%   56.38%   +0.07%
==========================================
  Files         200      200
  Lines       15657    15659       +2
==========================================
+ Hits         8816     8829      +13
+ Misses       5745     5738       -7
+ Partials     1096     1092       -4

Flag
Coverage Δ

#critest
33.54% <ø> (+0.06%)
:arrow_up:

#integrationtest
37.65% <ø> (-0.01%)
:arrow_down:

#unittest
20.42% <ø> (+0.08%)
:arrow_up:

Impacted Files
Coverage Δ

daemon/containerio/cio.go
62.5% <0%> (-1%)
:arrow_down:

daemon/mgr/container.go
53.3% <0%> (+0.15%)
:arrow_up:

cri/v1alpha2/cri.go
66.13% <0%> (+0.17%)
:arrow_up:

storage/volume/core.go
60.48% <0%> (+0.97%)
:arrow_up:

ctrd/container.go
50.17% <0%> (+1.37%)
:arrow_up:

ctrd/image.go
78.71% <0%> (+1.98%)
:arrow_up:

@panzaiyu please update the code as comment, thanks a lot.

lgtm


How to change bgColor by state?

Can we change bgColor property by state like selected or disabled?

.....


test structure is introduced in pytest

What does this PR do? Why are doing this? References?
Test structure was revised with @kne42  and @royerloic , here is updated introduction of test structure in pytest.
Type of change
[Please delete options that are not relevant.]

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

How Has This Been Tested?
This commit consist of test files.
Final Checklist:

[X] My PR is the possible minimum work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] I have added tests that prove my fix is effective or that my feature works

Hello @AhmetCanSolak! Thanks for submitting the PR.

In the file gui/app/test_napari_application.py, following                are the PEP8 issues :

Line 13:1: W391 blank line at end of file

In the file gui/util/test_misc.py, following                are the PEP8 issues :

Line 12:43: E712 comparison to True should be 'if cond is True:' or 'if cond:'
Line 15:43: E712 comparison to True should be 'if cond is True:' or 'if cond:'
Line 18:43: E712 comparison to True should be 'if cond is True:' or 'if cond:'
Line 21:43: E712 comparison to True should be 'if cond is True:' or 'if cond:'
Line 24:43: E712 comparison to False should be 'if cond is False:' or 'if not cond:'

I agree with @kne42, tests should be in a separate directory. See the scikit-image codebase for an example.
Can you explain what is going on with the meta dict? Where will this be used? I want to make sure that we don't deviate too far from (and certainly stay compatible with) imageio.


Autopilot best candidate key error

possible theory:  Completed MaxAutoMLJobRuntimeReached
let's check if these took > 1 hr

Hi
any solution about this error iam also facing same issue could you please help me out to solve this error

Can you share a screenshot of the notebook error including a few cells before this error?  Thanks!


CI testing

This change is

test-focus K8sKubeProxyFreeMatrix*

this is being taken care by https://github.com/cilium/cilium/pull/10119


Tray icon dissapears after sign out

When I sign out and sign in again the image of the tray icon isn't displayed anymore. (It becomes a prohibition sign)

There is no special command line output with an error.
Node version: 6.9.1
Ubuntu: 16.10

I have too noticed the prohibition sign appearing after a while. For me, it happens even without signing out. Ubuntu 16.10.

What version of the app are you running? Is this a normal installation (e.g. debian install or custom install)?

Version is 1.0.25, although it was also doing it for 1.0.0. Debian install (from the .deb file)

I installed it via spotifywebplayer_1.0.35_amd64.deb and I had the same issue with the previous version.

OK thanks for the info. I think this is just a garbage collection issue since it also happens whilst signed in at some inconvenient time. It may be part of the refresh bug I've been trying to fix where garbage collection would remove important variables despite being set as constants or global values. It should be gone in the next version assuming it's part of it :+1:


Push wheels on pypi on release

Now done and seems to work fine (only supporting python 3.11 for now)


Redo fix for approval support of Translator

Already fixed in https://github.com/concrete5/concrete5-5.7.0/commit/382bb529b94a56c678b519918bf3479b070ec509 but reverted in recent commit

whooooops


Cancellation notice goes to the wrong person

When cancelling an exchange immediately after it's creation and before it gets sent, the cancellation notice is forwarded to the other party although they have not yet entered the exchange. This can mean that for people who have never been to SteemAX before this could be their first message. The cancellation notice should instead be returned to the canceller.

This issue was fixed with commit d53f109


Error when installing flit_core

When I try to install the package from the local archive, I face an error in the pyrpoject.toml. However, I am completely clueless as to why I am getting this error. I am running python3.9, pip 20.0.2 on PuTTy through a local Linux computer on a controller.
# python3 -m pip install flit_core-3.7.1.tar.gz
Processing ./flit_core-3.7.1.tar.gz
  Getting requirements to build wheel ... error
  ERROR: Command errored out with exit status 2:
   command: /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmppkh3zdy8
       cwd: /tmp/pip-req-build-ad1naz35
  Complete output (1 lines):
  /usr/bin/python3: can't open file '/usr/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py': [Errno 2] No such file or directory
  ----------------------------------------
ERROR: Command errored out with exit status 2: /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmppkh3zdy8 Check the logs for full command output.

That looks like there might be something wrong with your pip installation, because pip 20.0.2 should certainly have that file:
https://github.com/pypa/pip/tree/20.0.2/src/pip/_vendor/pep517
You might also want to try updating pip (python3 -m pip install --upgrade pip). Pip has calendar based versioning, so 20.x is from 2020.


Compatibility with weapon-config.inc

Hi, it says that we need to declare functions in the script if we want it to work correctly.
Well the function OnPlayerTakeDamage is replaced with weapon-config.inc what should I do then, ignore? I guess not...
Thank you,
rt-2

Well the function OnPlayerTakeDamage is replaced with weapon-config.inc what should I do then, ignore? I

Yes, it's already defined in weapon-config.


Stack images vertically on smaller media

Switching the image width to 50% when media size falls below 640px
Changes:

Added a media query 'mq' to check for screen sizes smaller than 640px
Added a event handler to check for window resize
Added a function to get image width according to the scenario
Used the function to generate the image sizes on first init.

Visit my webpage for a live example
I see this as a feature on your roadmap, so here's my contribution.

Awesome! I'm wondering if we can allow the user to override the 640px with their own dimensions, so they can fit their own necessary dimensions. This would essentially become another parameter they can load on init such as:
igrid.init({
    container: 'container',
    client_id: '...',
    userID: '...',
    mediaQuery: 960, // default to 640px?
});

Glad to see the library is in use on your page - looks great.

Great idea! Modified the code accordingly. mediaQuery is another parameter now that you can load in your init config. :)

@mapsam, do you want me to modify the code or something to accept the pull request?  :) Let me know. Thanks!

Ah, sorry I let this slide. Thanks for the bump. :+1:


Import analysis: Handle service response with status 403

Depends on https://github.com/VEuPathDB/EdaUserService/pull/22
At a minimum, we need to review the UX once the above it merged and available on deployed services, and make sure it isn't horrible.
Ideally, we would display an informative message to the user. If necessary, prompt the user to request access to the study.

@dmfalke will this fix the bug with shared user studies?

when a user shares an analysis based on a user study with someone who does not have access to that user study. previously the analysis would be imported into the user space in the user database and the person getting access would be getting a 404.
ryan made a change, this issue is about having the client handle the change and see a more user friendly message

we need to improve the page/message when a user attempts to access a shared analysis but they do not have access to the study (curated or user study) -or if the owner shares the wrong url.

Paused, shared user datasets not be installed in ClinEpiDB due to a server error.


{containerapp} az containerapp auth: Fix test case

Related command

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

containerapp


fix(api): fix tip probing not fully self-centering

fix #3983
Reviewing
During CLI tip probe calibration, assuming the tip correctly hits the west and east switches, it should also correctly hit the south and north switches.
CLI tip probe calibration should also be immediately responsive to hitting the east or west switches unexpectedly early or late. Use your finger to tap the east or west switch well before the pipette tip hits it. When the pipette moves to touch the south and north switches, its x-position should be off-center in that direction.

Closing in favor of #4001, which is the same PR but pulling from a branch of this repo instead of my personal fork.


No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

"react": "16.0.0",
"react-native": "0.51.0",
when i Run the command：react-native run-android ，I got that error。

me too, the same error

https://stackoverflow.com/questions/32092511/resource-error-in-android-studio-after-update-no-resource-found

I've remove appcompat from the dependencies, this shouldn't be an issue anymore.


Add the ability to active all tick scripts with one command

I see this feature very useful when using Kapacitor in docker containers, when the run command will active all TICK's at one single command, instead of follow one after one.

Maybe a solution to enable/disable TICK scripts using glob style pattern matching?
I often prefix the names of my TICK scripts like this:
frontend_memory
frontend_deadman
backend_mysql

If i want to enable all scripts I could use kapacitor enable *, but if I only want to enable scripts for frontend I could use kapacitor enable frontend_*.

I like the idea of glob syntax. This would not be to hard to add, PRs welcome.

@nathanielc I can implement this.. Where do we want to happen?

Client will send to the server - enable/frontend_*
Client will fetch all tasks and call enable per task?

@yosiat I think having the server implement the glob logic is the right place. Thanks!

@nathanielc I will do this, I think we should enable this feature for disable and reload as well.

Agreed lets make the change consistent.

@nathanielc This is harder than I thought.
I can write this code with lots of duplicated, but I decided to add "FindTasks(predicate func(string)bool) []rawTasks" so methods like:

GetTasksInfo
Enable
Disable

will use them.. I will send PR once it will be finished.

@nathanielc I started to implement this and found it difficult, there two ways to implement this, and please tell me what you prefer:
Implement a function that will get a predicate with the task name and will return an array of rawTask, it will fetch the boltdb and will return all the matching tasks, we can use this in:

GetTasksInfo - to filter by the given array of tasks (?tasks=...)
Enable/Disable - the predicate will be global function
The downside of this will be - we are accessing twice the boltdb - one to fetch the list of tasks and then to enable them/disable them.

The other option will be less DRY, and will be to filter in each boltdb acess before enabling/disbeling.

@yosiat The task_store has been implemented with simplicity in mind not performance. As a result the predicate function sounds better. Even with 1000 tasks the slow down should not even be noticeable and its a low throughput action.

@nathanielc agreed, I will send PR in the weekend. sorry for the delay!

Shouldn't this issue be closed since #381 is merged ?

This is upon @nathanielc  decision, he might not close this because 0.12 isn't released yet


How to write to buffer with avif format?

I'm trying convert png image to avif buffer:
local vips = require('vips')

local image = vips.Image.new_from_file('image.png')
local buffer = image:write_to_buffer('.avif', { Q = 75, compression = 'av1' })

print('buffer, ', buffer)

But get the error: VipsForeignSave: ".avif" is not a known buffer format
luajit: /usr/local/share/lua/5.1/vips/Image_methods.lua:391: VipsForeignSave: ".avif" is not a known buffer format

stack traceback:
  [C]: in function 'error'
  /usr/local/share/lua/5.1/vips/Image_methods.lua:391: in function 'write_to_buffer'
  ./image.lua:16: in main chunk
  [C]: at 0x55e901d0ced0

Method of saving to avif file is working successfully:
image:write_to_file('image.avif', {
   Q = 75,
   effort = 6
})

my docker environment
FROM alpine:3.20.3

RUN apk add --no-cache --update \
  vips \
  vips-dev \
  vips-heif \
  libheif \
  libheif-dev \
  libheif-pixbuf-loader \
  libheif-tools \
  vips-tools

RUN apk add --no-cache --update \
  lua5.1 \
  luajit \
  luarocks \
  luarocks5.1

RUN luarocks-5.1 config --lua-version=5.1 rocks_provided.luaffi-tkl "2.1-1"
RUN luarocks-5.1 install lua-vips

Try passing in '.heif' instead of '.avif', since it seems that's what libvips calls it. With that, the code snippet you provided gives me an AVIF buffer as expected.

@RiskoZoSlovenska thanks!

No worries.
Though it is a bit curious that libvips understands the .avif extension when saving to a file but not when saving to a buffer; for example, passing in '.heic' works as expected in both scenarios. Unfortunately, I don't know enough about libvips or the details of this binding to tell you why works the way it does or whether this behaviour is even intended.

No worries.
Though it is a bit curious that libvips understands the .avif extension when saving to a file but not when saving to a buffer; for example, passing in '.heic' works as expected in both scenarios. Unfortunately, I don't know enough about libvips or the details of this binding to tell you why works the way it does or whether this behaviour is even intended.

The binding just calls vips_foreign_find_save and vips_foreign_find_save_buffer, respectively, from libvips. There is a difference in vips_foreign_find_save_sub and vips_foreign_find_save_buffer_sub: The latter takes only foreign savers, whose object class nicknames end with "_buffer". So ultimately it comes down to vips_foreign_save_heif_buffer_class_init in heifsave.c where
foreign_class->suffs = vips__heic_suffs

with
const char *vips__heic_suffs[] = {
	".heic",
	".heif",
	NULL
};

const char *vips__avif_suffs[] = {
	".avif",
	NULL
};

const char *vips__heif_suffs[] = {
	".heic",
	".heif",
	".avif",
	NULL
};

is defined.
I can't tell why it's not
foreign_class->suffs = vips__heif_suffs

@jcupitt can you tell?

Hello @rolandlo, it's a problem with the design of the saver API -- by the time vips_foreign_save_heif_buffer_build() runs, the suffix that the user passed in has been discarded, so it wouldn't know to write as AVIF.
The new target API is supposed to fix this. In python (for example) you can write:
#!/usr/bin/env python3

import sys
import pyvips

infilename = sys.argv[1]
fmt = sys.argv[2]

image = pyvips.Image.new_from_file(infilename)

target = pyvips.Target.new_to_descriptor(sys.stdout.fileno())
image.write_to_target(target, fmt)

That's using a new_to_descriptor() target, but you can have memory, screen and custom targets too.
You can run that code like this:
$ ./target.py ~/pics/k2.png .avif > x
$ file x
x: ISO Media, AVIF Image

So it's automatically making an AVIF, as expected.
tldr: The older _buffer API has been more or less deprecated for a while and we have the source / target generic IO system instead. The new system should be quite a bit nicer, and fixes a whole range of problems like this.
There was a post on libvips.org introducing the new system:
https://www.libvips.org/2019/11/29/True-streaming-for-libvips.html

The source / target API isn't yet wrapped for lua-vips, I should have said. It's not a huge amount of work, but no one's done it. The ruby and python sources for these classes are here, for reference, they might be useful:
https://github.com/libvips/pyvips/blob/master/pyvips/vconnection.py
https://github.com/libvips/pyvips/blob/master/pyvips/vsource.py
https://github.com/libvips/pyvips/blob/master/pyvips/vsourcecustom.py
https://github.com/libvips/pyvips/blob/master/pyvips/vtarget.py
https://github.com/libvips/pyvips/blob/master/pyvips/vtargetcustom.py
https://github.com/libvips/ruby-vips/blob/master/lib/vips/connection.rb
etc.
The custom classes are for connecting your own read / write methods with callbacks and are slightly tricker, but perhaps not strictly necessary.

Thanks for the clarification

The source / target API isn't yet wrapped for lua-vips, I should have said. It's not a huge amount of work, but no one's done it.

I'm working on it. See https://github.com/rolandlo/lua-vips/tree/add-true-streaming


[DO NOT MERGE] Content item details endpoint

Trello card
Create an API endpoint to return details for Content Item.

Closing as not required at this time.


Changes (2 of 4) related to Power BI going from preview to GA.

Number 2 of 4 breaking out PR108486 into multiple PRs. PR108486 has already been approved and signed off.
Per prior arrangement, if this PR also needs approval, only @eriklindeman should be notified. Thanks.

Please disregard the Invalid file link error (See PR109922)

@deniseatmicrosoft @eriklindeman

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@eriklindeman - These commits should be moved into the private repo for staging and automated checks.

This PR is staged in https://github.com/MicrosoftDocs/azure-docs-pr/pull/239167

It looks like @eriklindeman intends to sign off https://github.com/MicrosoftDocs/azure-docs-pr/pull/239168. After it's reviewed and merged, this PR should be closed.


Back porting new features to pre 1.19.3 versions

Will be attending to back port the newer updates to previous versions to help those who are using older versions of minecraft.

Base code is done. Just some weird bugs (preventing resource packs from downloading) appeared so going to look into why they happened.

This is now done. Pre 1.19.3 versions will be suffixed with -PRE


Setup Baseline User Authentication

Issue Overview
Currently, the repository lacks a basic user authentication system. This issue is created to address the setup of a user auth system using JWT.
Proposed Solution

Implement a basic user authentication system for secure access.

Tasks:

[x] Integrate a baseline user authentication system (e.g., using JWT).
[x] Create user registration, login, and logout routes/handlers.

Additional Information

JWT Authentication in Node.js

New Issue
Currently, all routes can be publicly accessed. This is because there is not proper check for user authentication when accessing routes and needs to be fixed.
Additional Tasks:

[ ] Implement user authentication middleware for protected routes.


Remove dependency on seelog.

Add a default implementation of the Logger interface so callers do not
need to write their own or create subsystems from seelog loggers.
The Logger interface has been cleaned up to remove error returns from
log methods and to remove the ability to close a logger.  Syncing and
closing must be handled by the application and not packages using the
Logger interface.
The output of the default logger is identical to the current log
output used in dcrd with the exception that time and date have been
reversed.  For btcsuite projects like btcd and btcwallet, this also
means that the logged time also now will include millisecond
resolution (this change was made to Decred projects a short while
ago).
The package API has been modified significantly for main packages that
must setup logging backends, create subsystem loggers, and flushing
when exiting, but only minimal changes have been made to the Logger
interface itself and there should be nothing that requires packages
importing it to be rewritten.

Looks good to me.  I do not know what @davecgh is referring to.


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/networking-wg-leads
/assign knative-sandbox/networking-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/pkg fe26417...2fdd5f2:
  > 2fdd5f2 Update actions (# 2449)
  > 76a28b0 set git user name/email prior to merging upstream (# 2448)
bumping knative.dev/networking 27525df...9ba6cf4:
  > 9ba6cf4 Update actions (# 627)
  > e2b9815 Support TLS server for each test image (# 609)
  > 6f27842 upgrade to latest dependencies (# 626)

/lgtm
/approve


Unable to create trigger from openwhisk kafka feed that listens to a Generic Kafka instance in a Local ubuntu installation

I have openwhisk local installation on Ubuntu 16.04 desktop.
I cloned the git repository https://github.com/apache/incubator-openwhisk-package-kafka and ran the following in sequence: installCatalog.sh , gradlew :distDocker, installKafka.sh
Then I tried to create a trigger:
bin/wsk trigger create MyKafkaTrigger -f /messaging/kafkaFeed -p brokers "
[\"localhost:9092\", \"localhost:9093\"]" -p topic test -p isJSONData true -
-insecure

I am following this section of the README: "Creating a Trigger that listens to a Generic Kafka instance"
I am re-using the Kafka instance created as part of Openwhisk installation, and created a topic named 'test' - I am able to publish / consume to this topic using kafka command line tools.
The trigger creation fails (it deletes the trigger, saying resource does not exist).
One thing I observed is that the following packages were created under /guest:
bin/wsk package list /guest --insecurepackages
/guest/messagingWeb
                     private
/guest/messaging

I did change the feed name to /guest/messaging/kafkFeed, only kafkaFeed, etc., but the results are slightly different:
bin/wsk trigger create MyKafkaTrigger -f /guest/messaging/kafkaFeed -p
brokers "["localhost:9092", "localhost:9093"]" -p topic test -p
isJSONData true --insecure
GIVES a JSON output saying "error": "The requested resource does not exist."
bin/wsk trigger create MyKafkaTrigger -f /messaging/kafkaFeed -p brokers "
["localhost:9092", "localhost:9093"]" -p topic test -p isJSONData true -
-insecure
GIVES
ok: deleted trigger MyKafkaTrigger
error: Unable to create trigger 'MyKafkaTrigger': Unable to invoke trigger
'MyKafkaTrigger' feed action '/messaging/kafkaFeed'; feed is not configured:
Unable to invoke action 'kafkaFeed': The supplied authentication is not
authorized to access this resource. (code 186)

Note that I am just planning to use a Generic Kafka instance without SASL . username / password / kafka admin (REST) url.
Later, I was advised to follow the document:
https://github.com/apache/incubator-openwhisk-package-kafka/blob/master/devGuide.md#install-actions
I created a docker build and create steps there too. But the trigger still cannot be created.
I do get expected results with the following commands:
bin/wsk -i package list /guest

packages
/guest/messagingWeb                                                    private
/guest/messaging

and
bin/wsk -i package get --summary /guest/messaging

package /guest/messaging: Returns a result based on parameter endpoint
   (parameters: *endpoint)
 action /guest/messaging/kafkaProduce: Produce a message to a Kafka cluster
   (parameters: base64DecodeKey, base64DecodeValue, brokers, key, topic, value)
 feed   /guest/messaging/kafkaFeed: Feed to listen to Kafka messages
   (parameters: brokers, endpoint, isBinaryKey, isBinaryValue, isJSONData, topic)

Also, I tried:
bin/wsk -i property get --namespace
whisk namespace

Then I tried unsetting the namespace:
bin/wsk -i property unset --namespace
and
run trigger create again
But same error remains.
On a related note, I am not sure how the docker creation in the devGuide will work, since the port mapping 80:5000 will conflict with port 80 used by nginx. Note that this is a local installation - all in the same machine.  If we map it to a different port, how will the trigger know which (non-standard) port to connect to?
But creating the trigger should work even if the docker is not running, so the more fundamental question is how to create the trigger.

It may be worth mentioning that I had the same problem with the alarms trigger when I tried installCatalog.sh, but was able to run the triggers smoothly by using the unofficial ansible script for the alarms trigger mentioner here:
https://github.com/apache/incubator-openwhisk-package-alarms/issues/51
The ansible script was contributed by Jason Peterson

One thing to note here is that the trigger service runs inside a Docker container and, as such, if your broker list contains "localhost" that will resolve to the Docker container of the trigger service, and not the host machine where you presumably have Kafka running. Instead, you need to use your real IP address (an no, not <IP_ADDRESS> as that too will resolve to the container). For further clarity, the trigger service does not include a Kafka server.

@prabhastechie Please see #210 and especially all the comments, which should help you through the most common problems encountered when trying to set this up locally.

Ok, I'll check it out. But I was reusing the kafka docker created by  the openwhisk ubuntu local setup.I thought that kafka docker exposes the ports 9092 / 9093 to the docker host. By using localhost:9092, I was able to send messages to a test topic in the kafka docker, from the docker host.

@prabhastechie Ah, great then! It still stands that localhost will not resolve to the host IP address when run from within the trigger service docker container. You'll need to use your host machine's actual IP address in the broker list for this to work.

I found out the ip address of the docker running kafka on port 9092 and replaced the localhost:9092 with that ip address in the trigger create command. But the same error remains.
My trigger create command was:
bin/wsk -i trigger create MyKafkaTrigger -f /guest/messaging/kafkaFeed -p brokers "<IP_ADDRESS>:9092" -p topic test -p isJSONData true --insecure
I looked through the issue #210 and got the idea to scan the wsk logs. In the logs I am getting:
bin/wsk -i activation logs 0250dd4292c3427b90dd4292c3627b72
2017-11-11T18:07:30.465220155Z stdout: Error creating trigger: {
2017-11-11T18:07:30.465321917Z stdout: "name": "StatusCodeError",
2017-11-11T18:07:30.465330104Z stdout: "statusCode": 404,
2017-11-11T18:07:30.46533561Z  stdout: "message": "404 - {"error":"The requested resource does not exist.","code":378}",
2017-11-11T18:07:30.465345409Z stdout: "error": {
2017-11-11T18:07:30.465350631Z stdout: "error": "The requested resource does not exist.",
2017-11-11T18:07:30.465355994Z stdout: "code": 378
2017-11-11T18:07:30.465360882Z stdout: },
2017-11-11T18:07:30.465365572Z stdout: "options": {
2017-11-11T18:07:30.465371622Z stdout: "method": "PUT",
2017-11-11T18:07:30.465378249Z stdout: "url": "https://<IP_ADDRESS>/api/v1/web/whisk.system/messagingWeb/kafkaFeedWeb.http",
2017-11-11T18:07:30.465383764Z stdout: "rejectUnauthorized": false,
2017-11-11T18:07:30.465388753Z stdout: "json": true,
2017-11-11T18:07:30.465393569Z stdout: "body": {
2017-11-11T18:07:30.465422611Z stdout: "authKey": "23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP",
2017-11-11T18:07:30.465428612Z stdout: "isJSONData": true,
2017-11-11T18:07:30.465433576Z stdout: "brokers": "<IP_ADDRESS>:9092",
2017-11-11T18:07:30.465438729Z stdout: "topic": "test",
2017-11-11T18:07:30.465443762Z stdout: "triggerName": "/guest/MyKafkaTrigger"
2017-11-11T18:07:30.465448991Z stdout: },
2017-11-11T18:07:30.465453641Z stdout: "headers": {
2017-11-11T18:07:30.465458582Z stdout: "Content-Type": "application/json",
2017-11-11T18:07:30.465463711Z stdout: "Accept": "text/plain",
2017-11-11T18:07:30.465468781Z stdout: "User-Agent": "whisk"
2017-11-11T18:07:30.465473843Z stdout: },
2017-11-11T18:07:30.465478532Z stdout: "simple": true,
2017-11-11T18:07:30.465483446Z stdout: "resolveWithFullResponse": false,
2017-11-11T18:07:30.465488452Z stdout: "transform2xxOnly": false
2017-11-11T18:07:30.465493383Z stdout: },
2017-11-11T18:07:30.465498076Z stdout: "response": {
2017-11-11T18:07:30.465502992Z stdout: "statusCode": 404,
2017-11-11T18:07:30.465507869Z stdout: "body": {
2017-11-11T18:07:30.465512767Z stdout: "error": "The requested resource does not exist.",
2017-11-11T18:07:30.465518095Z stdout: "code": 378
2017-11-11T18:07:30.46552294Z  stdout: },
2017-11-11T18:07:30.465527654Z stdout: "headers": {
2017-11-11T18:07:30.465532536Z stdout: "server": "nginx/1.11.13",
2017-11-11T18:07:30.465537655Z stdout: "date": "Sat, 11 Nov 2017 18:07:30 GMT",
2017-11-11T18:07:30.465542848Z stdout: "content-type": "application/json",
2017-11-11T18:07:30.465548026Z stdout: "content-length": "70",
2017-11-11T18:07:30.465560008Z stdout: "connection": "close"
2017-11-11T18:07:30.465566005Z stdout: },
2017-11-11T18:07:30.465570782Z stdout: "request": {
2017-11-11T18:07:30.465575761Z stdout: "uri": {
2017-11-11T18:07:30.465580669Z stdout: "protocol": "https:",
2017-11-11T18:07:30.465585902Z stdout: "slashes": true,
2017-11-11T18:07:30.465590931Z stdout: "auth": null,
2017-11-11T18:07:30.465595848Z stdout: "host": "<IP_ADDRESS>",
2017-11-11T18:07:30.465601004Z stdout: "port": 443,
2017-11-11T18:07:30.465605965Z stdout: "hostname": "<IP_ADDRESS>",
2017-11-11T18:07:30.465611131Z stdout: "hash": null,
2017-11-11T18:07:30.46561604Z  stdout: "search": null,
2017-11-11T18:07:30.465621016Z stdout: "query": null,
2017-11-11T18:07:30.465625996Z stdout: "pathname": "/api/v1/web/whisk.system/messagingWeb/kafkaFeedWeb.http",
2017-11-11T18:07:30.465631461Z stdout: "path": "/api/v1/web/whisk.system/messagingWeb/kafkaFeedWeb.http",
2017-11-11T18:07:30.465636884Z stdout: "href": "https://<IP_ADDRESS>/api/v1/web/whisk.system/messagingWeb/kafkaFeedWeb.http"
2017-11-11T18:07:30.465642324Z stdout: },
2017-11-11T18:07:30.465647068Z stdout: "method": "PUT",
2017-11-11T18:07:30.465652784Z stdout: "headers": {
2017-11-11T18:07:30.465657956Z stdout: "Content-Type": "application/json",
2017-11-11T18:07:30.465663304Z stdout: "Accept": "text/plain",
2017-11-11T18:07:30.465668504Z stdout: "User-Agent": "whisk",
2017-11-11T18:07:30.465673635Z stdout: "content-length": 214
2017-11-11T18:07:30.46567863Z  stdout: }
2017-11-11T18:07:30.465683354Z stdout: }
2017-11-11T18:07:30.465688084Z stdout: }
2017-11-11T18:07:30.465692796Z stdout: }
So it seems like trigger create is expecting the resource; https://<IP_ADDRESS>/api/v1/web/whisk.system/messagingWeb/kafkaFeedWeb.http
But I have the following resources:
bin/wsk -i package get --summary /guest/messaging --insecure
package /guest/messaging: Returns a result based on parameters endpoint, isBinaryKey, isBinaryValue, isJSONData, kafka_admin_url, kafka_brokers_sasl, password, topic and user
(parameters: *endpoint, isBinaryKey, isBinaryValue, isJSONData, kafka_admin_url, kafka_brokers_sasl, password, topic, user)
action /guest/messaging/kafkaProduce: Produce a message to a Kafka cluster
(parameters: base64DecodeKey, base64DecodeValue, brokers, key, topic, value)
action /guest/messaging/messageHubProduce: Produce a message to Message Hub
(parameters: base64DecodeKey, base64DecodeValue, kafka_brokers_sasl, key, password, topic, user, value)
feed   /guest/messaging/kafkaFeed: Feed to listen to Kafka messages
(parameters: brokers, endpoint, isBinaryKey, isBinaryValue, isJSONData, topic)
feed   /guest/messaging/messageHubFeed: Feed to list to Message Hub messages
(parameters: endpoint, isBinaryKey, isBinaryValue, isJSONData, kafka_admin_url, kafka_brokers_sasl, password, topic, user)
So there are two issues:
i. My trigger create is referring to kafkaFeed, but internally it is searching for 'kafkaFeedWeb'
ii. Even for 'kafkaFeed' my deployment has deployed it as /guest/messaging/kafkaFeed . How can I deploy it under /whisk.system/messaging ?
In case its relevant, I was able to deploy the alarms feed under whisk.system by following the ansible scripts mentioned in https://github.com/apache/incubator-openwhisk-package-alarms/issues/51#issuecomment-294010619

I saw the same message "The requested resource does not exist." And figured out it came from the couchdb. Searched the logs of the couchdb container, found a 404 error there. Did  curl -X PUT $DBURL/missing_db_for_trigger. This made this particular error go away.

I had similar problems and finally found that the kafkafeedprovider dropped incoming packages, because I forgot to set LOCAL_DEV=true. When I run it like in the following example, everything works as expected.
APIHOST=$LOCAL_ADDRESS
EDGEHOST=$LOCAL_ADDRESS
LOCAL_DEV=true
DB_PREFIX=whisk_local_
DB_USER=whisk_admin
DB_PASS=some_passw0rd
DB_URL=http://$LOCAL_ADDRESS:5984
DB_URL_FULL=http://$DB_USER:$DB_PASS@$LOCAL_ADDRESS:5984
docker run -id -e DB_PREFIX=$DB_PREFIX -e DB_URL=$DB_URL -e DB_USER=$DB_USER -e DB_PASS=$DB_PASS -e LOCAL_DEV=$LOCAL_DEV -p 81:5000 kafkafeedprovider

This is from the working example https://github.com/SchuhMichael/dCache-FaaS-Tutorial

Thanks @SchuhMichael, but that does not seem to be my issues. I have LOCAL_DEV set to true.
Im using the incubator-openwhisk-deploy-kube helm charts to install everything from openwhisk to the kafka packages.

Hello all,
I might have a similar issue but not sure. This is what I'm doing:
$ ./installKafka.sh $AUTHSYS $EDGEHOST $DB_URL_FULL $DB_PREFIX $APIHOST
$ docker run -id -e DB_PREFIX=$DB_PREFIX -e DB_URL=$DB_URL -e DB_USER=$DB_USER -e DB_PASS=$DB_PASS -e LOCAL_DEV=true -p 81:5000 kafkafeedprovider

docker logs to running container looks healthy
$ wsk -i --auth $AUTH trigger create my-trigger -f /whisk.system/messaging/kafkaFeed -p brokers $WSK_IP:9099 -p topic billing -p isJSONData True
{
    "activationId": "443a9c11125d47f8ba9c11125d87f8ec",
    "annotations": [
        {
            "key": "path",
            "value": "whisk.system/messaging/kafkaFeed"
        },
        {
            "key": "waitTime",
            "value": 76
        },
        {
            "key": "kind",
            "value": "nodejs:6"
        },
        {
            "key": "timeout",
            "value": false
        },
        {
            "key": "limits",
            "value": {
                "concurrency": 1,
                "logs": 10,
                "memory": 256,
                "timeout": 60000
            }
        },
        {
            "key": "initTime",
            "value": 401
        }
    ],
    "duration": 1368,
    "end":<PHONE_NUMBER>661,
    "logs": [],
    "name": "kafkaFeed",
    "namespace": "guest",
    "publish": false,
    "response": {
        "result": {
            "error": "TypeError: Cannot read property 'split' of null"
        },
        "status": "application error",
        "success": false
    },
    "start":<PHONE_NUMBER>293,
    "subject": "guest",
    "version": "0.0.1"
}
{
    "activationId": "2c42d29ec43746aa82d29ec43706aa4a",
    "annotations": [
        {
            "key": "path",
            "value": "whisk.system/messaging/kafkaFeed"
        },
        {
            "key": "waitTime",
            "value": 157
        },
        {
            "key": "kind",
            "value": "nodejs:6"
        },
        {
            "key": "timeout",
            "value": false
        },
        {
            "key": "limits",
            "value": {
                "concurrency": 1,
                "logs": 10,
                "memory": 256,
                "timeout": 60000
            }
        }
    ],
    "duration": 277,
    "end":<PHONE_NUMBER>135,
    "logs": [],
    "name": "kafkaFeed",
    "namespace": "guest",
    "publish": false,
    "response": {
        "result": {
            "error": "TypeError: Cannot read property 'split' of null"
        },
        "status": "application error",
        "success": false
    },
    "start":<PHONE_NUMBER>858,
    "subject": "guest",
    "version": "0.0.1"
}
ok: deleted trigger my-trigger

"error": "TypeError: Cannot read property 'split' of null"
sounds like some JavaScript error. What could I do?
Thanks for your time,
Axel.

@axelrose, try using an array for your brokers value. For example, -p brokers "[\"broker1:9099\"]" or -p brokers "[broker1:9099]" or -p brokers '["broker1:9099"]'. Sometimes depends on your OS as to which quoting pattern to use.
Here you can see all the split calls in the project: https://github.com/apache/incubator-openwhisk-package-kafka/search?utf8=✓&q=split&type=.

Thanks @dubee for your suggestion!
It turned out to be a misleading error message since the same command line now works, also with just a single broker. My env vars weren't correctly set. My fault.


The kotlin version's code is also java

This is the link https://codelabs.developers.google.com/codelabs/android-workmanager-kt/index.html#4

Sorry for the confusion, that was still a work in progress.
The codelab is now fully converted to Kotlin.
Please open a new issue if you still find some Java code in it.


Running as a service: won't create second screenshot

Firstly, this is a great module! I'm using it as part of a task runner to build a site then create a screenshot by calling this as a service at a given URL.
The issue is that it works the first time I call the URL but subsequent calls just hang. It gets to the screenshot creation, doesn't create a screenshot and then keeps trying over and over again.
I'm guessing that it's something to do with not closing the old process? But I thought that would be what screenshot.close(); does and I'm calling that right after the screenshot is saved.
I'm using express as a server that listens for a particular URL to generate screenshots. Have you seen anything like this before?

 Not calling screenshot.close(); is the trick!


no-unused-css rule does not find class usage inside of nested *ngFor's

CSS:
.section {
  margin: 10px;
}

.section label {
  color: blue;
}

Template:

    {{item.name}}

This rule is highly experimental and has a lot of flaws at the moment.
I'll keep the issue open and fix it at some point, for the stable version of no-unused-css.


Header elements in html shortcode file should be parsed and pulled into TableOfContents

It would be a great enhancement to have h2 or h3 HTML elements parsed from a shortcode file and pulled into .TableOfContents.
Currently headers (h2 or h3) in a markdown file are rendered in the TableOfContents and it works great:
mymarkdown.md: ## Overview
While header elements (h2 or h3) in a shortcode file are not rendered in the TableOfContents:
myshortcode.html:
Overview

While I see the value of this, I think it will be a quite breaking behavior. Not sure how this can be made smooth. Maybe by introducing a config option?

Header elements from shortcodes are pulled into .TableOfContents if

the shortcode produces markdown headers
the shortcode is included with the {{% delimiter.


date is not accurate

Please check Sha'ban 1441 with this reference
https://www.islamicfinder.org/islamic-calendar/?language=id
the number of dates is different this year.
in this package only 29 days. while this year the sha'ban are 30 days.

yes, I have problem with this too!

Same problem here!

Same Problem here

me too.
Safar only 29 days


loc works not properly for some cases.

assuming that we have DataFrame like the below
>>> pser  # pandas dataframe
7    10
6    20
5    30
4    40
3    50
2    60
1    70
dtype: int64

>>> kser  # koalas dataframe
7    10
6    20
5    30
4    40
3    50
2    60
1    70
Name: 0, dtype: int64

for given the above serieses, below example works differently from pandas.
>>> pser.loc[6:4]
Series([], dtype: int64)

>>> kser.loc[6:4]
6    20
5    30
4    40
Name: 0, dtype: int64

>>> pser.to_frame().loc[6:4]
    0
6  20
5  30
4  40

>>> kser.to_frame().loc[6:4]
Empty DataFrame
Columns: [0]
Index: []

i'm working on here

this is resolved at #1159 , but let it open for now, since that PR is not yet merged


Bug Report

Hello Amundsen Community Team,
Im trying to implement OKTA Authentication on Metadata API.
The API page crashes with below error after the OKTA authentication is done
Request-URI Too Long
The requested URL's length exceeds the capacity limit for this server.
I do see in the logs that callback request is made multiple time, and each time the URL length keeps growing.
Below are the configs which we are using for starting up Metadata:
export FLASK_APP_MODULE_NAME=flaskoidc
export FLASK_APP_CLASS_NAME=FlaskOIDC
export SQLALCHEMY_DATABASE_URI='sqlite:///sessions.db'
export FLASK_OIDC_SQLALCHEMY_DATABASE_URI='sqlite:///sessions.db'
export FLASK_OIDC_WHITELISTED_ENDPOINTS="status,healthcheck,health"
export OIDC_CLIENT_SECRETS='/home/...../metadata_client_secrets.json'
export FLASK_OIDC_SECRET_KEY='base-flask-oidc-secret-key'
export FLASK_OIDC_CLIENT_SECRETS='/home/...../metadata_client_secrets.json'
export OVERWRITE_REDIRECT_URI='http://<metadata_alb>/apidocs/authorization-code/callback'
export OIDC_CALLBACK_ROUTE='/authorization-code/callback'
export OIDC_DEBUG=True
export FLASK_OIDC_WHITELISTED_ENDPOINTS='api.healthcheck'
We added below Redirect URL s in OKTA config as well:
http:///apidocs/
http:///apidocs/authorization-code/callback
Redirect URL is updated in the client.json as well along with token details:
"redirect_uris": ["http:///apidocs/authorization-code/callback"]
}}
Any pointers to fix this issue will be very helpful.
Thanks!

@ChristalJohn what version of flaskoidc are you using?
here is the tutorial on how to enable OIDC in Amundsen. Please let me know if you face the same issue again.
https://medium.com/stemma/how-to-setup-oidc-authentication-in-amundsen-47f704345c1
The config/env variables you are using are outdated.
More details about the configs here: https://github.com/verdan/flaskoidc#readme

@verdan
Thank you for picking this up.
Below flask versions are installed in the env.:
flask-oidc               1.4.0
flaskoidc                0.2.3
I will go through the URLs shared and revert here.

yes, please make sure to use the newer version of flaskoidc i.e., 1.0.2 and follow the how-to steps.

@verdan
I implemented new configs suggested in below URLs also updated flaskoidc version 1.0.2 across frontend, search and metadata:
https://medium.com/stemma/how-to-setup-oidc-authentication-in-amundsen-47f704345c1
https://github.com/verdan/flaskoidc#readme
For frontend, I was able to get to the OKTA Login page, below are configs used:
export FRONTEND_SVC_CONFIG_MODULE_CLASS='amundsen_application.oidc_config.OidcConfig'
export OIDC_CLIENT_SECRETS='/home/../client_secrets.json'
export FLASK_APP_MODULE_NAME='flaskoidc'
export FLASK_APP_CLASS_NAME='FlaskOIDC'
export FLASK_OIDC_PROVIDER_NAME='okta'
export FLASK_OIDC_SCOPES='openid email profile offline_access'
export FLASK_OIDC_CLIENT_ID='0xxx7'
export FLASK_OIDC_CLIENT_SECRET='WxxN'
export FLASK_OIDC_REDIRECT_URI='/auth/'
export FLASK_OIDC_CONFIG_URL='https://.../.well-known/openid-configuration'
client_secrets.json for frontend :
{"web": {
"issuer": "https://..7",
"auth_uri": "https://..e",
"client_id": "0..7",
"client_secret": "W..N",
"token_uri": "https://..n",
"token_introspection_uri": "https://..t",
"userinfo_uri": "https://...o",
"redirect_uris": ["http://../authorization-code/callback"]
}}
But Metadata API page keeps crashing before it gets to the okta login page:
400 Error
Identity Provider: Unknown
Error Code: invalid_request
Description: The 'redirect_uri' parameter must be a Login redirect URI in the client app settings: https://...oktapreview.com/admin/app/oidc_client/instance/0...7#tab-general
Config used:
export OIDC_CLIENT_SECRETS='/home/..../metadata_client_secrets.json'
export FLASK_APP_MODULE_NAME='flaskoidc'
export FLASK_APP_CLASS_NAME='FlaskOIDC'
export FLASK_OIDC_PROVIDER_NAME='okta'
export FLASK_OIDC_SCOPES='openid email profile offline_access'
export FLASK_OIDC_CLIENT_ID='0...7'
export FLASK_OIDC_CLIENT_SECRET='W...N'
export FLASK_OIDC_REDIRECT_URI='/auth/'
export FLASK_OIDC_CONFIG_URL='https://...oktapreview.com/oauth2/a..7/.well-known/openid-configuration'
metadata_client_secrets.json had below
{"web": {
"issuer": "https://..7",
"auth_uri": "https://e..e",
"client_id": "0..7",
"client_secret": "W..N",
"token_uri": "https://../v1/token",
"token_introspection_uri": "https://../v1/introspect",
"userinfo_uri": "https://../v1/userinfo",
"redirect_uris": ["http://../apidocs/authorization-code/callback"]
}}
In OKTA, in Login Sign-in redirect URIs below are the entries, frontend and metadata API urls respectively:
http://e....d/auth/
http://m....d/apidocs/auth/
Please let me know, if any of the above configs are incorrectly set, since I'm getting redirect URI error.

@ChristalJohn a few things:

OIDC_CLIENT_SECRETS is deprecated and not being used anymore. Please remove the env variables along with the .json files.
FLASK_OIDC_REDIRECT_URI must match the one you specified within the OKTA. In case of metadata the FLASK_OIDC_REDIRECT_URI should be /apidocs/auth/, so the metadata configs should look like:

export FLASK_APP_MODULE_NAME='flaskoidc'
export FLASK_APP_CLASS_NAME='FlaskOIDC'
export FLASK_OIDC_PROVIDER_NAME='okta'
export FLASK_OIDC_SCOPES='openid email profile offline_access'
export FLASK_OIDC_CLIENT_ID='0...7'
export FLASK_OIDC_CLIENT_SECRET='W...N'
export FLASK_OIDC_REDIRECT_URI='/apidocs/auth/'
export FLASK_OIDC_CONFIG_URL='https://...oktapreview.com/oauth2/a..7/.well-known/openid-configuration'

@verdan
Thanks for the pointers, its very helpful.
I was able to get through the OKTA login page for metadata API.
However, once the login is complete, i encounter 400 URL not found error,  on the URL tab I can see the API URL without /apidocs/ appended to it, if I add apidocs the API page loads fine.

Thanks!

@verdan
Configs used for metadata:
export FLASK_APP_MODULE_NAME='flaskoidc'
export FLASK_APP_CLASS_NAME='FlaskOIDC'
export FLASK_OIDC_PROVIDER_NAME='okta'
export FLASK_OIDC_SCOPES='openid email profile offline_access'
export FLASK_OIDC_CLIENT_ID='0...7'
export FLASK_OIDC_CLIENT_SECRET='W...N'
export FLASK_OIDC_REDIRECT_URI='apidocs/auth/'
export FLASK_OIDC_CONFIG_URL='https://...oktapreview.com/oauth2/a..7/.well-known/openid-configuration'
In OKTA, Login Sign-in redirect URIs below are the entries
http://e....d/auth/     (Frontend URL)
http://m....d/apidocs/auth/           (Metadata URL)
Thanks!

@ChristalJohn after successful login, flaskoidc simply redirects you to the / instead of /apidocs which is the endpoint of your metadata. and you don't have / endpoint available, this is why it is returning 404.
I will update the flaskoidc package to give an option to overwrite redirect uri after login today, and release a new version. Give me a few hours to add this support.

@ChristalJohn can you please update your flaskoidc to the latest version i.e., 1.0.4
https://pypi.org/project/flaskoidc/1.0.4/
and then use the FLASK_OIDC_OVERWRITE_REDIRECT_URI in your metadata configuration to match with your endpoint.

this issue was fixed.
https://amundsenworkspace.slack.com/archives/CHQERT0D7/p1632287479054200


Wot no noise floor

Version
alpha5.4
What is the issue?
Menu listing shows no value for Noise Floor setting.
Looks like it defaults to 45 but nothing appears as confirmation.

it has been added as a submenu. arrow has been added for clarity.


Review proposal with the customer

[x] set up a meeting with the customer to go over the proposal
[x] apply changes if needed
[x] get the signature from the customer
[x] add proposal to documentation

https://github.com/berufsbildung-basel/awmps/wiki/Change-Management#proposal--audit


Feature: Added support to configure sorting of funnel

Added a boolean switch option for the funnel panel to disable ordering.
Need to be able to present data in the funnel upside down

Let me know if this works for you @burn1ngd0g and I will merge and ship this feature.

Just checkout, it's perfect. Ascending/descending and none covers it


CCU-108 Current user quality indicator in AttendeesList.js fixed

This changes should be also apply in AttendeesParticipantBar.js no @dwecci ?


Consider library reorganization

This would result in a significant project/package re-organization of the entire framework
What do we hope to achieve?
Goals:

Fewer wildcard imports needed for most tasks
Fewer unneeded things imported with wildcard imports
packages more closely match architecture
easier to split library into multiple artifacts

Non-goals:

?

Caveats:

A lot of types could end up getting moved to a different package, making upgrading versions more difficult.

How to Categorize Types
Until Recently, many of the lower-level classes and traits were directly exposed to users.  They used things like Protocol, Server, ServiceClient, and Codec directly.  Now protocols have hidden nearly all those details, so the only people who deal with them are people writing protocols themselves.
The first major split (which sort of already exists) is a sharp divide between protocol-specific code and everything else.  We already have protocols separated, but we could take this a step further by making protocols separate artifacts.  Thus users would have to explicitly include colossus-http or colossus-redis as dependencies.
Second, we clearly have 2 different types of users.

Application developers, people using colossus to build services
Protocol/library developers, people using colossus to build libraries

So this means all types can be roughly split into 3 categories

Application Types - used by app developers
Library Types - used by protocol/library developers
Internal Types - only used internally within Colossus

Lastly we could partition types into functional categories

Types used across the framework (like DataBuffer, Context)
Types related only to Servers
Types related only to Clients
Types only used inside protocols (like parsers, Encoding)
possibly others...

Package Structure
The way we can organize these could be:

Application types are all top-level in a package
Library Types are in a "core" sub-package
Internal types are also in the core sub-package, but potentially marked private

Now either we can do colossus.<functional_category>.core or `colossus.core.<functional_category>.  So we need to decide whether function or user categorization should take precedence.

An interesting article to provide motivation https://virtuslab.com/blog/zinc-sbt-friendly-code/

Closing for now as this should be recreated as an RFC.


RBT solver

This implements a different version of RBTs than previous works.  The difference prevents needing to deal with partial tiles (making it faster and more flexible).  I'm working on a journal paper for this new version.
The API follows the mixed-precision routines.  But, I added control over the tolerance, iteration count, and whether to fall back to a full-precision, LUPP solver.  I've added the extra controls to the existing iterative algorithms too.

I fixed up the correctness issues the CI exposed.
The CI failure is the CholQR issue.

Looking closer, the CI failure is actually with regular QR, not CholQR.  (But still unreleated I think.)

I just had to rewrite the communication when applying the transforms since it would hang on Frontier for large problems. (I'm guessing due to too many simultaneous communications for Cray MPICH.)

I rebased this to the latest master and updated BaseMatrix::tileIrecv to match some of the recent changes to BaseMatrix::tileRecv.


Warnings and Exceptions

The jogamp code procudes warning messages even in the case if all works fine as expected. The reason is some unclear usage of exception handling. It would be good to have a look at the general usage of exception handling and to find a clear way.

Obsolete. Jogamp Code has been removed.


NEXT-20237 slider dots aligned center in mobile device

1. Why is this change necessary?
Fix make slider dots aligned center in mobile device
2. What does this change do, exactly?
Fix slider dots aligned center in mobile device
3. Describe each step to reproduce the issue or behaviour.

Navigate to product detail page in mobile device
check the slider dots of the slider

4. Please link to the relevant issues (if any).
5. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[ ] I have read the contribution requirements and fulfil them.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hey @bavarva-dhruv ,
can you approve the CLA?

@shyim Is it now okay?

Hi, thank you very much for your contribution. I would like to import / accept this PR but it would be nice if you could check the checklist in your PR description before that.
Even for such a small change it could be useful to at least add a changelog 🙂 . The other points are not really applicable here I think.

@MalteJanz Where should I add changelog? In platform/changelog/_unreleased file?

@bavarva-dhruv Yes, platform/changelog/_unreleased is the right folder. You can use the bin/console changelog:create command. The ticket can be left empty for now (I will add one later).

@MalteJanz  I tried to create the change log, but it asks for the Jira ticket ID. Which ID I should add?

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-20237
Please use this issue to track the state of your pull request.

@bavarva-dhruv This PR is now in our internal code review 🎉. Thanks again for your work!
Just a little heads up for future PRs:
Please don't merge trunk into your local development branch. If you really want to have the latest changes it is way better to rebase (like git pull --rebase upstream trunk). Because merge commits can cause some minor issues on our side.

@MalteJanz Okay. Thank you for updating. This is the first PR for me. So I have no idea how should I do.

Hey @bavarva-dhruv we've merged your changes with 38e90c2cea5498751ce9a56970498391b921aed1
thanks for your contribution! :blue_heart: :tada:


gpu issues

CycleByCycle mode is 1 cycle behind, doesn't trigger CTContext sending -- can't debug in Raster mode!   not clear what is going on..
also, deep_fsa is not learning in gpu mode (without cycle on) -- something off.
and pvlv looks normal but something subtle off as well..

fixed with #215


fix path to commands installed by gem install --user-install

This path ~/.gem/ruby/1.8/bin used to work only for version of ruby 1.8, which is EOL, together with 1.9;
make the path work for many versions of ruby including the latest one:
reference: http://guides.rubygems.org/faqs/#user-install

While I agree with the change in general, I would prefer if we could move this to the ruby.plugin.bash file. Let's try to keep the template file free of plugin-specific features.
Or do you disagree? Would users not actively using Ruby benefit from this path setting?

@nwinkler, you're right - it's a special case, so moved to the plugin

Thanks!