text:
Can BIBFRAME  use openWEMI?

How would this work? Is it necessary?

I don't think that BIBFRAME and WEMI are compatible... WEMI is a four tier model while BIBFRAME is a three tier model.
In what ways were you thinking that they might work?

Here are some examples of how, in my thinking, BIBFRAME could make use of openWEMI. openWEMI classes would need to be defined as rdf:domain values on BIBFRAME properties. My understanding is that adding these properties would not interfere with the use of BIBFRAME qua BIBFRAME, but the BIBFRAME community would need to decide to use openWEMI.
Note that it would not be sufficient to subclass BIBFRAME classes to openWEMI. A primary reason is that BIBFRAME Work may combine openWEMI Work and Expression. The other reason is that BIBFRAME does not include domains for all of its properties so using subclassing would be an incomplete solution.
This property has a domain of .../bibframe/Work:
<owl:DatatypeProperty rdf:about="http://id.loc.gov/ontologies/bibframe/musicOpusNumber">
<rdfs:domain rdf:resource="http://id.loc.gov/ontologies/bibframe/Work"/>
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
<skos:definition>
Numeric designation of a musical work assigned by a composer, publisher, or a musicologist.
</skos:definition>
<rdfs:label>Music opus number</rdfs:label>
<dcterms:modified>2016-04-21 (New)</dcterms:modified>
</owl:DatatypeProperty>

It could also have a domain of .../openwemi/work and this would mean that the property confers both classes on its subject:
<owl:DatatypeProperty rdf:about="http://id.loc.gov/ontologies/bibframe/musicOpusNumber">
<rdfs:domain rdf:resource="http://id.loc.gov/ontologies/bibframe/Work"/>
<rdfs:domain rdf:resource="http://example.com/openwemi/Work"/>
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
<skos:definition>
Numeric designation of a musical work assigned by a composer, publisher, or a musicologist.
</skos:definition>
<rdfs:label>Music opus number</rdfs:label>
<dcterms:modified>2016-04-21 (New)</dcterms:modified>
</owl:DatatypeProperty>

BIBFRAME "carrier" could have the domain of ...openwemi/Manifestation:
<owl:Class rdf:about="http://id.loc.gov/ontologies/bibframe/Carrier">
<rdfs:label>Carrier type</rdfs:label>
<rdfs:domain rdf:resource="http://example.com/openwemi/Manifestation"/>
<skos:definition>
Categorization reflecting the format of the storage medium and housing of a carrier.
</skos:definition>
<dcterms:modified>2016-04-21 (New)</dcterms:modified>
</owl:Class>

BIBFRAME "illustrativeContent" is suggested to be used with either bf:Work or bf:Instance, but is generally considered to be FRBR Expression information.
<owl:ObjectProperty rdf:about="http://id.loc.gov/ontologies/bibframe/illustrativeContent">
<rdfs:range rdf:resource="http://id.loc.gov/ontologies/bibframe/Illustration"/>
<rdfs:domain rdf:resource="http://example.com/openwemi/Expression"/>
<skos:definition>
</skos:definition>
<rdfs:comment>Suggested use - With Work or Instance</rdfs:comment>
<rdfs:label>Illustrative content information</rdfs:label>
<dcterms:modified>2016-04-21 (New)</dcterms:modified>
</owl:ObjectProperty>

@niklasl Thanks for the detailed description. I like the idea of giving a unifying classes of creation and embodiment. I'm not sure how those intermediate classes can be squared with openWEMI but will see if others have ideas. The question is how to insert a class between Work and Endeavor, when Work has already been defined with Endeavor as its super-class. I presume this means one would end up with multiple superclasses for WEMI, e.g. Work would be a subclass of Creation and of Endeavor, and Creation would also be a subclass of Endeavor.
flowchart BT
A((Endeavor))
B((Creation))-->A
D((Work))-->B
D-->A

This looks complicated to me, and I wonder if there isn't a better solution.
Without openWEMI, I think your design looks like this, although you've given some different names to WEMI, if I understand correctly:
flowchart BT
A((Endeavor))
B((Creation))--> A
C((Embodiment))--> A
D((Work))--> B
E((Expression))--> B
F((Manifestation))--> C
G((Item))--> C

Here's a diagram of the KBV classes and subclasses:

I included the left hand side and "Serial Edition" for completeness, although they're not required for WEMI.
Writing "ow" for OpenWEMI, is this the correct mapping:
ow:Work = kbv:Work
ow:Expression = kbv:Instance
ow:Manifestation = kbv:Item
ow:Item = kbv:Representation
-- Graeme

Two diagrams showing explicit mappings between OpenWEMI and KBV.  The first diagram shows all classes separate; the second shows the case where openwemi:Endeavor is the same as kbv:Endeavour.

Here's a diagram of openWEMI and BIBFRAME:

Is each ow: class a sub-class directly of ow:Endeavor or are they nested
within a parent class?
Do bf: classes overlap 100% or only partially with ow: classes?
Hugh
On Sun, Jul 16, 2023 at 12:42 PM Karen Coyle @.***>
wrote:

Here's a diagram of openWEMI and BIBFRAME:
[image: Screenshot 2023-07-16 at 9 22 11 AM]
https://user-images.githubusercontent.com/1564129/253816144-00b59851-2013-46d3-9262-0abdab145f1f.png
—
Reply to this email directly, view it on GitHub
https://github.com/dcmi/openwemi/issues/7#issuecomment-1637135376, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAJ2JXKS6PH7Y6NROBX5MDXQQKYHANCNFSM565X5OAA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
All the best,
-Hugh
Sent from my iPhone

@HughP The openWEMI classes are each subclasses of Endeavor. The Swedish national library has added an intermediary class between the WEMI classes and Endeavor. We think this can still work with openWEMI, as per the diagram above, assuming that their Endeavor class is subclassed to openWEMI:Endeavor. I'm less clear about the question of  subclassing their WEMI to openWEMI, and I think we need more discussion about that.
As for BIBFRAME, I think that's an open question. BIBFRAME vocabulary does not always make use of domains that would make it possible to connect properties in the vocabulary to WEMI or BF upper classes (bf:Work, Instance, Item). (This is how it looks to me, anyway.) There are some properties that look like:
<owl:DatatypeProperty rdf:about="http://id.loc.gov/ontologies/bibframe/musicKey">
    <rdfs:domain rdf:resource="http://id.loc.gov/ontologies/bibframe/Work"/>

but others are:
<owl:ObjectProperty rdf:about="http://id.loc.gov/ontologies/bibframe/geographicCoverage">
    <rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>

or:
<owl:DatatypeProperty rdf:about="http://id.loc.gov/ontologies/bibframe/mainTitle">
    <rdfs:domain rdf:resource="http://id.loc.gov/ontologies/bibframe/Title"/>

And I do not know why or what is intended. However, if we were to (theoretically) subclass bf:Work to ow:Work AND ow:Expression then when musicKey is used in instance data you would infer that the subject is a member of three classes: bf:Work, ow:Work, and ow:Expression.  rdf-schema#Resource is a kind of default, and would be SUPER openWEMI so there is no connection that we can make there.
BIBFRAME also has properties with a kind of internal class membership, like bf:Title, which unites all of the title properties, but which is not associated with any of the BF upper classes. The "upper" classes are used in instance data to define what some call "shapes." That is, the work "shape" is given a class of Work, but many of the properties used with Work do not have Work as a domain. I assume that somewhere there is a document or discussion that explains this, and if anyone can bring clarity to this, I would love to hear it!

Well, here's my attempt at making sense ...
(I hope you appreciate my attempt at white-out!)

What all of this brings up for me is that the defined vocabulary and the instance data are not one and the same. And that is definitely true if you concede that most applications are not making use of inferencing, therefore the instance data has its own structure. I think we need to make sure that the openWEMI vocabulary works both with and without inferencing, and that it doesn't interfere with the creation and validation of actual data. That's a big requirement, but worth thinking through.

authors: HughP kcoyle lagbolt

repo: dcmi/openwemi


text:
Ignore outputs while opening a browser window

Otherwise users might see warning messages while they are prompted for
the token.
cf. https://jira.mesosphere.com/browse/DCOS_OSS-1508
cf. https://eli.thegreenplace.net/2015/redirecting-all-kinds-of-stdout-in-python/

run all integration tests

run all integration tests

run all integration tests

run linux integration tests

@jgehrcke : thanks for the review, I'd like to investigate further to see if it can be simplified, and possibly adding tests for this, setting as wip for now.

Also for reference, there are some built-in context managers for this : https://docs.python.org/3.4/library/contextlib.html#contextlib.redirect_stdout
And the same for stderr, however they appeared not to work because it's only for output from python and in the same process, that's why I had to come-up with something more complicated.

I've simplified this a bit, by not touching Python's sys.stdout and sys.stderr but only swapping at file descriptors level. Unfortunately this appeared to be tricky to unit test as python capture system is doing something similar, while trying to test I was getting an error, kind of stepping on each other toes with pytest...

As for the C flushing, should I remove it? This makes the output blocking more bullet-proof, but as I said I don't think we have this use-case at the moment.

run linux integration tests

run windows integration tests

I understand if we decide against it, but I have expressed my major concern and a proposal for what I believe is a cleaner solution via https://github.com/dcos/dcos-cli/pull/1072#discussion_r142967074.

@jgehrcke I think we are going to go with @bamarni's current approach (for the time being) as the goal was to explicitly suppress any and all output from the webbrowser.open_new_tab(url) command, that is what this helper function will be used for. If we (in the future) want to write a different helper which captures input (as opposed to suppressing it), we can reconsider it then. Such a function might be useful if we want to look at the output and only suppress it if it matches a certain pattern (which is not the case here).

run all integration tests

I've updated the PR and triggered tests, this one just misses an approval.

source: gharchive/pull-request

authors: bamarni jgehrcke klueska

repo: dcos/dcos-cli

license_type: permissive

license_source: github-api


text:
DCOS-13154: Adjust service resource getter

This PR aligns the service specs and changes the Service resource getter to calculate the resources for all "running" instances instead of just forwarding the spec data.
Closes DCOS-13154

Awesome work, man!

run integration tests

flicts!

run integration tests

run integration tests

Looks good! ✨  💯

authors: nLight orlandohohmeier philipnrmn wavesoft

repo: dcos/dcos-ui


text:
Use pip download to prepare TeamCity rather than the removed `pip i…

…nstall --download`
High-level description
Backport of https://github.com/dcos/dcos/pull/2747

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label ready for review

@mesosphere-mergebot merge-it

repo: dcos/dcos

license_source: bigquery


text:
建议：考虑一下换一下探测方式？

阿B其实有很多种方法可以批量检测主播是否开播的，比如关注列表。
一个账号最多可以同时关注2000个UP主(不算悄悄关注)，按照现有状况来看，大概2个账号就够用了吧？
默认的长这个样子：

https://api.live.bilibili.com/xlive/web-ucenter/user/following?page=1&page_size=9

如果大胆一点，改一下呢？

https://api.live.bilibili.com/xlive/web-ucenter/user/following?page=1&page_size=2000

实际测试一下，page_size被限制最大为10。
但是这也比逐个检测要好很多。

其实开播状态是靠人气判断的，人气是靠WebSocket从Bilibili主动推过来，这个反应速度大概20秒
哈哈，所以前几天网页的爬虫崩溃了之后直播人气状态也没问题（

神奇的方法……有想法

呀哈哈

source: gharchive/issue

license: MIT


text:
🛑 Danbs is down

In d9a4293, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 178 ms

Resolved: Danbs is back up in 186782a after 35 minutes.

repo: ddanbs/upptime


text:
🛑 Danbs is down

In d7f0555, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 269 ms

Resolved: Danbs is back up in 3aaf242 after 13 minutes.


text:
🛑 Danbs is down

In 7af9f19, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 155 ms

Resolved: Danbs is back up in a616bf7 after 16 minutes.


text:
🛑 Danbs is down

In e7a8c12, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 132 ms

Resolved: Danbs is back up in 6c79bd1 after 14 minutes.


text:
🛑 Danbs is down

In d45e85d, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 201 ms

Resolved: Danbs is back up in c99fa47.


text:
🛑 Danbs is down

In 65a9b46, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 3838 ms

Resolved: Danbs is back up in 530edf5 after 20 minutes.


text:
🛑 Danbs is down

In ab16967, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 152 ms

Resolved: Danbs is back up in 3e671bc after 6 minutes.


text:
🛑 Danbs is down

In 667e7d0, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 158 ms

Resolved: Danbs is back up in d619613.


text:
🛑 Danbs is down

In 4baf1e1, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 208 ms

Resolved: Danbs is back up in 069929c.


text:
🛑 Danbs is down

In 6c4ea25, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 209 ms

Resolved: Danbs is back up in 2bd2df5.


text:
🛑 Danbs is down

In 15b2837, Danbs (https://danbs.net) was down:

HTTP code: 404
Response time: 230 ms

Resolved: Danbs is back up in 50ffe0c.


text:
Add automated tests with Travis CI

Output: https://travis-ci.com/cclauss/remi/builds/110623351
The owner of the this repo would need to go to https://travis-ci.com/profile, log in with GitHub credentials, select the free plan, and flip the repository switch on to enable free automated testing of all pull requests.  Travis will lint the Python code with http://flake8.pycqa.org/

That's a great initiative!
This awesome package deserves some tests, indeed.

Closing in favor of #337

authors: awesomebytes cclauss

repo: dddomodossola/remi


text:
Cannot ddev get from a private repository

Is there an existing issue for this?

[X] I have searched the existing issues

Output of ddev debug test
No response
Expected Behavior
With ENV variable DDEV_GITHUB_TOKEN set to my PAT, with properly set permission, I expect to be able to download from a private repository.
The addon in question is a private ddev addon for internal company use
Actual Behavior
Unable to download org/ddev-plugin-name: Unable to download https://api.github.com/repos/org/ddev-plugin-name/tarball/v1.0.0: download link https://api.github.com/repos/org/ddev-plugin-name/tarball/v1.0.0 returned wrong status code: got 404 want 200
Steps To Reproduce
Create any private repository and label it as ddev-get
Try to ddev get org/repo-name with DDEV_GITHUB_TOKEN set.
It will not work
Anything else?
No response

I can try to code it out myself, if you can just give me a few pointers - aka - where to look :)

https://github.com/ddev/ddev/blob/master/cmd/ddev/cmd/get.go

This isn't a schedule feature, but your involvement is welcome if you want to work on it per the link above. Closing for now.

Can you assign to me please, So I can refer it in a PR?

I'll take a look and see about implementing this.

I'd also love to have this feature.
Authentication stuff should be as easy as possible. If every co-worker needs to generate some credentials and set them up for every repo, then I don't want to use it. 😅
Having this in mind, how about using git clone to some temporary directory and then simply running the "install via path" feature?
For example:

ddev get https://gitlab.vendor.io/vendor/ddev-addon

Content available? Proceed as always
Content not available? Run:

git clone https://gitlab.vendor.io/vendor/ddev-addon /tmp/ddev/addons/some-hash
ddev get /tmp/ddev/addons/some-hash

After finish delete /tmp/ddev/addons/some-hash

Not a "clean" solution, but sounds easy to implement and would serve my needs.

It's a simple solution and has merit, and would then work for any git URL.

If it's github with PATs, this should be working already looking at
https://github.com/ddev/ddev/blob/master/cmd/ddev/cmd/get.go#L171
and https://github.com/ddev/ddev/blob/master/pkg/github/github.go#L16 ?

I'm pretty sure the PATS for github are only used for doing the query on available things, not for getting the tarball. It's easy to check. Just try a get.

I'd also love to have this feature.
Authentication stuff should be as easy as possible. If every co-worker needs to generate some credentials and set them up for every repo, then I don't want to use it. 😅
Having this in mind, how about using git clone to some temporary directory and then simply running the "install via path" feature? For example:
* `ddev get https://gitlab.vendor.io/vendor/ddev-addon`

  * Content available? Proceed as always
  * Content not available? Run:

    * `git clone https://gitlab.vendor.io/vendor/ddev-addon /tmp/ddev/addons/some-hash`
    * `ddev get /tmp/ddev/addons/some-hash`

      * After finish delete `/tmp/ddev/addons/some-hash`

Not a "clean" solution, but sounds easy to implement and would serve my needs.

This would be a very good strategy. With this strategy, it's important to remember that only one person would need to do this on a given project, as the add-on files get incorporated and committed to the project itself after the add-on is run. That way, the person setting up the project would be the only one needed to access the add-on repo. This is a great idea @Morgy93

So from what I can gather - a lot of people would find this useful? At least 10 from this discussion alone? 🤔

Content not available? Run:

git clone https://gitlab.vendor.io/vendor/ddev-addon /tmp/ddev/addons/some-hash

ddev get /tmp/ddev/addons/some-hash

@Morgy93 wow, thats such an elegant solution! That feels like it would also work for upgrades too.

I'd like to see this as well.
But for now this is a nice workaround

git clone https://gitlab.vendor.io/vendor/ddev-addon /tmp/ddev/addons/some-hash

ddev add-on get /tmp/ddev/addons/some-hash

repo: ddev/ddev


text:
build: revert bump actions/upload-artifact from 3 to 4, for #5648

The Issue

#5648

Go to https://github.com/ddev/ddev/actions/runs/7340705862?pr=5661 and click on the artifact and see:
Failed to generate URL to download artifact.

How This PR Solves The Issue
There is no update guide at the moment, go back to actions/upload-artifact@v3 for now.
See

https://github.com/actions/upload-artifact/issues/472

Manual Testing Instructions
Automated Testing Overview

Related Issue Link(s)
Release/Deployment Notes

I checked the build of the main branch, it works https://github.com/ddev/ddev/actions/runs/7340970014
Before merging #5648, I checked in a separate repository that the artifacts appeared on the Checks page and the bot comment looked legitimate, but I didn't click the link to check the artifact itself.
I will be more careful about such changes in the future.


text:
Add support for PHP and MySQL

This app lacks the ability to run php and MySQL to be a full-fledged text editor for web development, please add it to the app or at least incorporate extensions that allow it, thanks

You can run these using any terminal plugin

repo: deadlyjack/Acode


text:
UI: connector type cards have different heights

Minor issue, but the MySQL card is shorter than the others - they should be uniform.

Resolved with PR #111

repo: debezium/debezium-ui-poc


text:
DBZ-1491 Extract default values from schema

The goal is to enrich schema metadata with column default value.

@grzegorz8 Good job! I've few comments still

Could you please add a test for ALTER TABLE tha modifies the default value?
Are not default values for date/time depending on local settings of the database?
Could you please provide and to end tests? Thus verifing that the default value in connect schema is set correctly and verify what happens if you provide null value for tables with NULL/NOT NULL with or without DEFAULT value set?

Sure, I'll apply improvements as soon as possible.

* Are not default values for date/time depending on local settings of the database?

Any ideas how to parse the value properly in this case?

@grzegorz8 Does SQL Server support query that does typecasting? If yes is it possible send query like
SELECT TODATE('<defaultvalue'>)? This should handle locale settings, should not it?

Even better, there is PARSE() function: https://docs.microsoft.com/en-us/sql/t-sql/functions/parse-transact-sql?view=sql-server-ver15

@jpechane, @grzegorz8, where aer we with this one? One general question: is this prone to race conditions in case of default value changes / out-of-bands reads? Something worth documenting?

@gunnarmorling The matter of loclized temporal values is still open. Regarding the race condiiton - ye there is possibility of it but IMHO if you follow the required database schem change procedure then the issue should not be there.

I am writing end-to-end tests now. Thanks to them I discovered that temporal values are converted to long values instead of Timestamp in ConnectSchema. As a result, I need some refactoring in previous changes too :)
Sorry it takes so long, I am able to develop it only during weekends.

@grzegorz8 Please don't feel pressed. We appreciate all contributions and I understand your constraints, We are just planning the next release so we are checking what will or will not be the part of it. Take as much time as you need!

Hey @grzegorz8, just checking in on this one. Any news? Thanks!

It's almost ready, however, there are still a few tests failing, which I need to investigate.

Hey @grzegorz8, it has been a while, howdy? Are you still planning to continue with this one? Or should someone else take over? Thanks for a quick update.

@gunnarmorling I pushed my changes but I forgot to write it's ready to review.
I see one test failed in debezium-connector-postgres and "SqlServerChangeTableSetIT.addDefaultValue:670 expecting actual value not to be null" but I am not able to reproduce it locally.

it's ready to review.

Ah, cool. Can you rebase and force-push to this PR? This will trigger a new
build; we addressed a few intermittent test failures lately.

Rebased to the latest master, closing in favour of https://github.com/debezium/debezium/pull/1564

authors: grzegorz8 gunnarmorling jpechane

repo: debezium/debezium


text:
Update documentation to reflect new copyright approach

The new copyright approach includes using "Copyright  Debezium Authors" and reference to license in the header files and in the README.md file. The copyright year for each file is selected when the file is created, but then is not updated again.

@rhauch actually, I don't think you even need the year in the copyright notice. I had a few discussions with @richardfontana on the subject for Hibernate and the idea is that it's better not to put a date (which is best captured in Git anyways) rather than having obsolete or meaningless dates.
You can check out what we did for Hibernate Validator (ASL 2.0) https://github.com/hibernate/hibernate-validator/blob/master/engine/src/main/java/org/hibernate/validator/HibernateValidator.java#L1

@emmanuelbernard: I agree that not having a copyright statement in files is one approach Richard mentions. The other approach is adding a copyright w/ year of creation per file, but leaving the date unchanged over time.
I slightly prefer the per file for one reason: our use of the Apache License requires anybody that wants to derive works (e.g., fork/copy the file) is required to keep all copyright and attribute notices, and that's more straightforward if each file has a header includes the copyright assignment statement.

Superseded by #3.

authors: emmanuelbernard rhauch


text:
DBZ-3952 Store schema for tables not in schema collection list

https://issues.redhat.com/browse/DBZ-3952

@gunnarmorling All comments are addressed.

Is the test failure related?
2022-02-16T18:08:41.2684521Z [ERROR] io.debezium.connector.mysql.ReadBinLogIT.shouldCaptureSingleWriteUpdateDeleteEvents  Time elapsed: 0.267 s  <<< FAILURE!
2022-02-16T18:08:41.2685815Z org.junit.ComparisonFailure: expected:<[1]> but was:<[0]>
2022-02-16T18:08:41.2686632Z 	at io.debezium.connector.mysql.ReadBinLogIT.recordedEventData(ReadBinLogIT.java:334)
2022-02-16T18:08:41.2687319Z 	at io.debezium.connector.mysql.ReadBinLogIT.shouldCaptureSingleWriteUpdateDeleteEvents(ReadBinLogIT.java:189)

If not, could you capture it in Jira?

@gunnarmorling I don't see it locally. So far I downloaded the logs and restarted the job. If it passes I'll just log it as an intermittent failure.

@gunnarmorling Jira logged

Thx!

authors: gunnarmorling jpechane


text:
DBZ-5116 Provide more clear message when cannot load config

https://issues.redhat.com/browse/DBZ-5116
Example output after the failure:
$ ./run.sh
Failed to load mandatory config value 'debezium.sink.type'. Please check you have correct Debezium server config in /home/vjuranek/tmp/debezium-server/conf/application.properties or required properties are defined via system or environment variables.
{"timestamp":"2022-08-08T13:37:35.848+02:00","sequence":155,"loggerClassName":"org.jboss.logging.Logger","loggerName":"io.quarkus.runtime.Application","level":"ERROR","message":"Failed to start application (with profile prod)","threadName":"main","threadId":1,"mdc":{},"ndc":"","hostName":"fedora","processName":"io.debezium.server.Main","processId":1048188,"exception":{"refId":1,"exceptionType":"java.util.NoSuchElementException","message":"SRCFG00014: The config property debezium.sink.type is required but it could not be found in any config source","frames":[{"class":"io.smallrye.config.SmallRyeConfig","method":"convertValue","line":282},{"class":"io.smallrye.config.SmallRyeConfig","method":"getValue","line":239},{"class":"io.smallrye.config.SmallRyeConfig","method":"getValue","line":167},{"class":"io.debezium.server.DebeziumServer","method":"start","line":104},{"class":"io.debezium.server.DebeziumServer_Bean","method":"create"},{"class":"io.debezium.server.DebeziumServer_Bean","method":"create"},{"class":"io.quarkus.arc.impl.AbstractSharedContext","method":"createInstanceHandle","line":111},{"class":"io.quarkus.arc.impl.AbstractSharedContext$1","method":"get","line":35},{"class":"io.quarkus.arc.impl.AbstractSharedContext$1","method":"get","line":32},{"class":"io.quarkus.arc.impl.LazyValue","method":"get","line":26},{"class":"io.quarkus.arc.impl.ComputingCache","method":"computeIfAbsent","line":69},{"class":"io.quarkus.arc.impl.AbstractSharedContext","method":"get","line":32},{"class":"io.quarkus.arc.impl.ClientProxies","method":"getApplicationScopedDelegate","line":19},{"class":"io.debezium.server.DebeziumServer_ClientProxy","method":"arc$delegate"},{"class":"io.debezium.server.DebeziumServer_ClientProxy","method":"arc_contextualInstance"},{"class":"io.debezium.server.DebeziumServer_Observer_Synthetic_d70cd75bf32ab6598217b9a64a8473d65e248c05","method":"notify"},{"class":"io.quarkus.arc.impl.EventImpl$Notifier","method":"notifyObservers","line":323},{"class":"io.quarkus.arc.impl.EventImpl$Notifier","method":"notify","line":305},{"class":"io.quarkus.arc.impl.EventImpl","method":"fire","line":73},{"class":"io.quarkus.arc.runtime.ArcRecorder","method":"fireLifecycleEvent","line":130},{"class":"io.quarkus.arc.runtime.ArcRecorder","method":"handleLifecycleEvents","line":99},{"class":"io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294","method":"deploy_0"},{"class":"io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294","method":"deploy"},{"class":"io.quarkus.runner.ApplicationImpl","method":"doStart"},{"class":"io.quarkus.runtime.Application","method":"start","line":101},{"class":"io.quarkus.runtime.ApplicationLifecycleManager","method":"run","line":103},{"class":"io.quarkus.runtime.Quarkus","method":"run","line":67},{"class":"io.quarkus.runtime.Quarkus","method":"run","line":41},{"class":"io.quarkus.runtime.Quarkus","method":"run","line":120},{"class":"io.debezium.server.Main","method":"main","line":15}]}}

Applied to main (=2.0).

authors: Naros vjuranek


text:
DBZ-7365 Upgrade Oracle ojdbc8 from 21.6.0.0 to 21.11.0.0

https://issues.redhat.com/browse/DBZ-7365

@obabec, we will need to update all internal & TF references to ojdbc8 21.11.0.0, too.

/packit test --labels oracle-23

/packit test --labels oracle-23

/packit test --labels oracle-21

@Naros It seems to me that oracle-23 label is not yet configured in the main, is it?

/packit test --identifier oracle-21

@Naros It seems to me that oracle-23 label is not yet configured in the main, is it?

No, not yet.

/packit test --identifier oracle-21

Applied, test failure know and unrelated

authors: Naros jpechane obabec


text:
Trimou TEMPLATE_LOCATOR_INVALID_CONFIGURATION running fat jar

While developing the benchmark I came across this issue while running a fat jar like
$ java -jar target/my-fat-jar-with-templates.jar

Caused by: org.trimou.exception.MustacheException: TEMPLATE_LOCATOR_INVALID_CONFIGURATION: Invalid root dir: file:/Volumes/rober/workspace/FrameworkBenchmarks/frameworks/Java/pippo-undertow/target/pippo-undertow-0.1.0-SNAPSHOT.jar!/templates
       	at org.trimou.engine.locator.FilePathTemplateLocator.checkRootDir(FilePathTemplateLocator.java:136)
       	at ro.pippo.trimou.PippoTemplateLocator.<init>(PippoTemplateLocator.java:49)
       	at ro.pippo.trimou.TrimouTemplateEngine.init(TrimouTemplateEngine.java:81)
       	at ro.pippo.core.Application.setTemplateEngine(Application.java:178)
       	at ro.pippo.benchmark.PippoApplication.onInit(PippoApplication.java:19)
       	at ro.pippo.core.Application.init(Application.java:98)
       	at ro.pippo.core.route.RouteDispatcher.init(RouteDispatcher.java:70)
       	at ro.pippo.core.PippoFilter.init(PippoFilter.java:95)
       	... 27 more

I changed the jar creation maven plugin to use the official method, but the issue still remained.
I tested the same packaging configuration with a different template engine (pippo-peble) and everything worked fine.
So started digging about what can be wrong with Trimou and I found this:
https://github.com/trimou/trimou/issues/50
Which resulted on this fix
https://github.com/trimou/trimou/commit/1ab83d622b6cc7ac1269c38394602c5b8d88abe3
I think the issue might be related to fact that  PippoTemplateLocator extends FilePathTemplateLocator instead of ClassPathTemplateLocator.
Any thoughts?

I will try to take a look. Everything related to Trimou in Pippo is in TrimouTemplateEngine class.
My idea is to configure somehow the Trimou. I think that the main mechanism to do that is via init(Application application, MustacheEngineBuilder builder) method (we do that in PebbleTemplateEngine).

Useful links:
https://github.com/decebals/pippo/pull/212#issuecomment-136359578
https://github.com/decebals/pippo-demo/blob/master/pippo-demo-template/src/main/java/ro/pippo/demo/template/PebbleDemo.java#L41

In conclusion you can set your CustomTrimouLocator in Trimou via TrimouTemplateEngine. init(Application application, MustacheEngineBuilder builder). Also we can modify the actual PippoTemplateLocator to extends ClassPathTemplateLocator but I don't know the impact for the application that already used Trimou template engine.

Thanks for your speedy follow up on this :)
Obviously backward compatibility is important and I wouldn't risk it either.
I guess that It would be nice to have a TrimouTemplateEngine that works out of the box without having to do any custom initialization, but I can live with that.
Thanks again!

I think it was a mistake to use FileTemplateLocator and it should be corrected.

I committed a possible fix. I tested the modification on TrimouDemo and everything seems OK.
The modification is minor, I changed our PippoTemplateLocator with the builtin ClassPathTemplateLocator.
@robertoestivill Please let me know if the modification resolve your use case
@gitblit I like that Pippo has builtin support for a lot of web servers, template engines, ... I see a problem with the maintenance of these implementations. This issue is a good example. I don't use Trimou, I know nothing about this template engine but I must spent time to fix issues related to this engine. Maybe the core developers must spent time on pippo-core and other fundamental modules and less time on particular implementation. I am scary if someone will find an issue in pippo-session-infinispan or pippo-session-mongodb :smile:

@decebals Where is your sense of adventure?  ;)
So how would you like to proceed?  Do you want to split out modules into an extras repo?

@robertoestivill Can we close this issue?

@decebals Just tried the fix. No exceptions. Templates are found just fine in fat-jars and IntelliJ is also locating them correctly.
Closing.

authors: decebals gitblit robertoestivill

repo: decebals/pippo


text:
route group

some description:
1, why use setGroupUriPattern and absoluteUriPattern? because i think maybe some people will repeated add route to group, like:
RouteGroup group1 = new RouteGroup("/users");
RouteGroup group2 = new RouteGroup("/posts");
Route route = Route.POST("like", emptyRouteHandler);
group1.addRoute(route);
group2.addRoute(route);  // it will raises an exception

2, why parent-group shared routes to child-group
public RouteGroup(RouteGroup parent, String uriPattern) {
    if (parent != null) {
        this.uriPattern = StringUtils.concatUriPattern(parent.getUriPattern(), uriPattern);
        this.routes = parent.getRoutes();   // parent-children groups shared routes
    } else {
        this.uriPattern = uriPattern;
        this.routes = new ArrayList<>();
    }
}

also because maybe some people forget add the top-group to application… like:
RouteGroup group = new RouteGroup("/users");
RouteGroup child = new RouteGroup(group, "{id}");
Route route = Route.POST("like", emptyRouteHandler);
child.addRoute(route);

// forget it
//router.addRouteGroup(group);

router.addRouteGroup(child);

what do you think?
there will be some problems if used improperly in group.

1, why use setGroupUriPattern and absoluteUriPattern?

It's OK for now. Other variant is to clone this route and add the clone but it's another story.

2, why parent-group shared routes to child-group

Here it's a little complicated and a source for trouble. I'm not happy with this. I would simplify this aspect, so if you forget to add the group you don't have routes from that group, it's fair.

so if you forget to add the group you don't have routes from that group, it's fair.

ok, fixed it

Thanks! I will make some minor modifications.

I feel that I found two issues in DefaultRouter.java
    @Override
    public void addRouteGroup(RouteGroup routeGroup) {
        routeGroup.getRoutes().forEach(this::addRoute);
        routeGroup.getChildren().forEach(this::addRouteGroup); // <-- REMOVE line
    }

    @Override
    public void removeRouteGroup(RouteGroup routeGroup) {
        routeGroup.getRoutes().forEach(this::removeRoute);
        routeGroup.getChildren().forEach(this::removeRouteGroup); // <-- REMOVE line
    }

We must delete two lines. @ScienJus Is my observation correct?

no, this is a recursive method to make sure when we add the group routes we will also add children group's routes in this method, like:
RouteGroup parent = new RouteGroup("/users");
RouteGroup child = new RouteGroup(parent, "/posts");
Route route = child.GET('{id}', emptyRouteHandler);

router.add(parent);  // router.routes.size -> 1, but if we remove this line, router.routes will be empty because route is in child not parent

authors: ScienJus decebals


text:
Clarify RecordsDelete Object

In the specification: https://identity.foundation/decentralized-web-node/spec/#recordsdelete, the records delete object is given the following example:
{ // Message
  "descriptor": { // Message Descriptor
    "method": "RecordsDelete",
    "recordId": "b6464162-84af-4aab-aff5-f1f8438dfc1e"
  }
}

and the description:

The message object MUST contain a recordId property, and its value MUST be the recordId of the logical record the entry corresponds with.
If the message object is attached to a Protocol, and its value MUST be a Computed Context ID. If the message is not attached to a Protocol, it MUST NOT contain a contextId property.
The message object MUST contain a descriptor property, and its value MUST be a JSON object composed as follows:
The object MUST contain a method property, and its value MUST be the string RecordsDelete.

Why is record ID at the same level of method in example, but in the description the RecordID is not included in the descriptor field?
My interpretation of the spec language is the following example:
{ // Message
   "recordId": "<id>
   "computedContextId": "<computed-context-id>"
   "descriptor": {
    "method": "RecordsDelete",
  }
}

Could we clarify which is the correct interpretation and possibly correct the language if there are any inconsistencies?

@csuwildcat to comment on the issue here. Writes that create files don't have recordId (circular) but references do. To clear up in the spec.

Change : RecordsDelete is separated into two. To look at reference implementation on Messages.  Docstring describes it.

This was addressed in https://github.com/decentralized-identity/decentralized-web-node/commit/e964c28a3712b3873e041e614c2c5fb9c5878855 by @csuwildcat . Closing.


text:
Double tap increase zoom

Hello,
First issue here, thanks a lot for the app !
Is your feature request related to a problem? Please describe.
I have a lot of picture with the format 720x1280 and the double tap only fit the image to fill the screen. Another double tap zoom out
Describe the solution you'd like
I've used a lot solid explorer and the viewer first double tap zoom a lot more into the picture. Another double tap zoom again. It would be nice to have the same functionality.
Describe alternatives you've considered
Maybe too much but it can be nice to be able to personalize the zoom level in the settings

Welcome, and glad to hear you enjoy the app!
The first double-tap zooms to fit the screen (as you've mentioned), but the second double-tap actually zooms to the image actual size if the image is larger than the screen (unless the zoom to fit is already the same as the zoom to actual size, such as a 720x1280 image in a 720x1280 screen). In other words, if your image was high res, you would see the behaviour you request.
I'm happy with the behaviour as it is and don't intend to change it. Maybe custom zoom settings is the solution to please everybody, but I want to avoid adding settings as much as possible.
As for your need, you can always quickly zoom more with these gestures:

pinch-to-zoom gesture (2 fingers), or
double-tap and vertical drag (1 finger).

Welcome, and glad to hear you enjoy the app!
The first double-tap zooms to fit the screen (as you've mentioned), but the second double-tap actually zooms to the image actual size if the image is larger than the screen (unless the zoom to fit is already the same as the zoom to actual size, such as a 720x1280 image in a 720x1280 screen). In other words, if your image was high res, you would see the behaviour you request.
I'm happy with the behaviour as it is and don't intend to change it. Maybe custom zoom settings is the solution to please everybody, but I want to avoid adding settings as much as possible.
As for your need, you can always quickly zoom more with these gestures:

pinch-to-zoom gesture (2 fingers), or
double-tap and vertical drag (1 finger).

Thanks for the reply. I understand your point of view. It would be great to ignore the quality in order to zoom in.
I didn't know about the double-tap and drag. Less easy to use but get the job done !

It would be great to ignore the quality in order to zoom in.

It is not a matter of quality but size. As it is now, when you double-tap twice, you know you're at 100%. If it was zooming further in also when the image already fit the screen at 100% (as you wish), you wouldn't know whether you're at 100% or more.

I didn't know about the double-tap and drag. Less easy to use but get the job done !

The nice thing with that gesture is that it can be done with one finger. I personally use that gesture a lot with map apps.

authors: baptistebisson deckerst

repo: deckerst/aves


text:
Files delete slowly

Files take a while to delete, progress bar counts to 100% without being able to interact with the app until the operation is over and at times will restart and count to 100 again in the same operation.
I think this may be a reproduced bug, I tried searching at first (not extensively.)👍🏼

Files take a while to delete

Yes, because Aves is not a file manager it does not have direct file access. Contrary to file managers, gallery apps must rely on other media-related APIs, which take time to move/delete files.

at times will restart

Sometimes deleting can be in 2 steps, when it's moving the items to the bin and you configured Aves to let it preserve dates when moving items. In that case, there will be a first step to edit the metadata, then another step to move it to the bin, so you see the progress indicator going from 0% to 100% twice.

authors: DroidFloyd deckerst


text:
Sorting Albums - Manual type

Helloz,
I would like to suggest an option to sort albums not only by date,name or so but also by manually by users. Nice there is bookmark for Apps like FB Mess Tg and so on. But here and below that bookmark i would like to choose which album gonna be first and which one would be at the middle and which at the end. I would like to have most important for me albums like DCIM Videos SS at the but like the other albums like photo of docs,memes,ss from games/browsing at the bottom while I don't use em a lot but I cannot (or don't see option for that) sort them as I wish to.
Best Regards, NIGHTZNERO.

You can pin albums to the top (select them and use the "Pin" action) but no manual sorry yet.
Duplicate:

#231

You can pin albums to the top (select them and use the "Pin" action) but no manual sorry yet.
Duplicate:

#231

authors: deckerst nightznero


text:
Calling this.$data from changed method

Hello,
I am trying to manipula component's data inside the changed method, but on each refresh this.$data and component's methods are unavailable even though this returns the current Vue component instance.
What could be the reason? Is it a normal behaviour or a bug?
Thank you in advance.

Just tried to call this.$el and saw that it returns my current route's component and the subcomponent I am calling changed method from. This is the reason why I don't have access to current component's data since it is called from route's component.

repo: declandewet/vue-meta

license: mit


text:
Update deps and resolve ci error.

https://circleci.com/gh/deep-c/react-redux-notify/87?utm_campaign=build-failed&utm_medium=email&utm_source=notification
https://github.com/jsdom/jsdom/issues/2304
https://github.com/facebook/jest/issues/6766
Also various devDependency's are raising security issues which should be able to be resolved by updating the version used.

closing this which fixes the bigger jsdom issue https://github.com/deep-c/react-redux-notify/pull/34 . Other vulnerability issues only pertain to dev dependencies used which we can fix separately.

repo: deep-c/react-redux-notify


text:
Icons and text of links disappear after moving away from the screen

it also happens that they disappear only partially

@flakeed all the same?

@flakeed all the same?

I recently stopped noticing this

@Aruseli

again

authors: Aruseli flakeed

repo: deep-foundation/deepcase

license: Unlicense


text:
Add: Random station support

Add a feature to play a random station from your favorite stations.

+1
And I would add play a random station from ALL the list too.
:)

#77  suggested also randomization by tag/country

authors: deep5050 esturniolo l-wegner


text:
7.1 Release Prep Unit Test Failures & Errors

API
TestJsonYaml.testToFromJsonYaml:146 » IndexOutOfBounds Index: 14, Size: 14
TestTransforms.testRemoveColumnsTransform:204 » IndexOutOfBounds Index: 4, Siz...
Spark
TestRecordReaderBytesFunction.testRecordReaderBytesFunction:82 » UnsatisfiedLink
TestRecordReaderFunction.testRecordReaderFunction:59 » Spark Job aborted due t...
org.datavec.spark.functions.TestSequenceRecordReaderBytesFunction.testRecordReaderBytesFunction(org.datavec.spark.functions.TestSequenceRecordReaderBytesFunction)

First 2 fixed here: https://github.com/deeplearning4j/DataVec/pull/127
@saudet Spark issues seem to be due to javacpp 1.2.6 upgrade? All spark tests pass after switching datavec-spark-image javacpp version back to 1.2.5.

Yes, issues with loading OpenCV...

The only test that is failing for me otherwise is this:
testLineReaderMetaData(org.datavec.api.records.reader.impl.LineReaderTest)  Time elapsed: 0.006 sec  <<< FAILURE!
java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at org.datavec.api.records.reader.impl.LineReaderTest.testLineReaderMetaData(LineReaderTest.java:127)

@saudet JavaCPP 1.2.7 seems to have fixed those spark tests.
I'm not seeing a failure on LineReaderTest.testLineReaderMetaData... is that still an issue?

@AlexDBlack Yes, still an issue, but looks like something with the class path

Ah, I was running in intellij. That probably explains the difference.

All tests passing on this repo now. Closing but feel free to reopen if still seeing issues.

authors: AlexDBlack nyghtowl saudet


text:
Geometric algebra

Ive recently authored a geometric algebra package for JAX, and it occurred to me that a project like alphafold might benefit quite a bit from adopting it.
If nothing else, one feature of using numga I have found very useful in my own work, is to easily swap out the execution strategy for your operations. In my experience, this can matter up to 10x, both in compilation and runtime performance. Right now alphafold appears to use a mix of dense and sparse product execution styles; eg (quat_multiply) and (vecs_cross_vecs).
Numga completely seperates the mathematical logic from the execution logic, and it is easy to swap out execution styles. If you toggle this line you can get an impression of how much it matters on your hardware, on a fairly representative piece of code being executed.  In my benchmarking, dense products can compile up to 10x faster, while sparse ones tend to execute 10x faster (at least on CPU).
While it is super elegant, it is not obvious to me that going all-in on the GA 'motor' paradigm is the right call for a performance sensitive application like allphafold; and i have some open questions with respect to numerical integration errors myself. But one can perfectly well use a geometric algebra library in conjunction with a 'classical' translation + quaternion state encoding. For my own work, my preferred approach is to start prototyping my code in the most mathematically elegant manner, and to drop down to lower level constructs only where I can show it provides a benefit; and to keep both implementations around, so I can unit test them against one another. But maybe encoding all states with motors would work out really well for alphafold; I wouldnt dare say without having tried.
I dont have the bandwidth to dive into alphafold to try and make a branch myself, but id be happy to see where I can help if anyone else is interested in giving it a go. If nothing else, playing around a little with geometric algebra is a lot of fun, I can promise that much.

Just replacing the /geometry/, r3.py and quat_affine.py math functions with GA equivalents should not have to be a lot of work, come to think of it, as long as the state representations are kept the same..

Note that the current JAX backend only implements array-of-struct memory layout multivectors. Adding support for struct-of-array should not be hard at all; the thing im still trying to wrap my head around is what should happen if SOA and AOS multivectors interact? Is there a general rule for this; or would it make most sense to implement a user-overridable lookup table to specify what is supposed to happen when you multiply a quat and a vector, and so on?
I do not quite understand the mix of SOA and OAS in alphafold in the first place. My first guess would be that SOA is always preferred, when working on GPU/TPU, with large batches of identical objects; as is the case for alphafold. Why mix in AOS layouts in the first place? Is that a deliberate choice; or more a matter of it being too annoying to rewrite all code to SOA?

@Augustin-Zidek I see youve been working on a lot of this part of the codebase; would you be able to comment on the above questions concerning SOA-vs-AOS?

Hi @EelcoHoogendoorn, sorry for late reply. We stick to the AlphaFold development plan; unfortunately we does not plan to substitute our current libraries with the library you have kindly mentioned, as this may have negative effect on the future codebase support and affect other projects.

authors: EelcoHoogendoorn okovalevskiy

repo: deepmind/alphafold


text:
Feature request - Proximity queries

I was wondering if we currently have something akin to the distance and collision queries supported by Bullet [1] (e.g. getContactPoints, getClosestPoints). Is there any documentation on something equivalent to that in MuJoCo or could that be a potential feature to implemented in the future? Many thanks for the presentation at CoRL!
[1] - https://docs.google.com/document/u/0/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/mobilebasic#h.hrpbzrwzgy1p

Hi, thanks for input!
Regarding getContactPoints, simply iterate over the data->contact array to read out the contact points that have been found in the last call to the dynamics.
Regarding getClosestPoints, finding the distance and/or contact point between two arbitrary geoms -- independently of the dynamics -- there is currently no easy way to do this with the current API, but we can fairly easily add that. I've marked this as a feature request and will update here when we have something.

simply iterate over the data->contact array to read out the contact points

Hello. In what function or part of the cc file would you do this?
I've tried to print out a lot of the data with d-> or m-> and I get Segmentation fault (core dumped)

May I ask has there have been any updates on finding the distance between two arbitrary geoms? Thank you!

Thanks for the reminder!

repo: deepmind/mujoco


text:
How to Render Maps in Canvas

Hi everyone, I have a question, how do i render the map in the canvas ??

Hi,
You should check the samples directory in the ldtk-haxe-api folder, which contains some usage examples:
https://github.com/deepnight/ldtk-haxe-api/tree/master/samples

How do i add collision to a particular layer

How do i add collision to a particular layer

How do i add collision to a particular layer

@harshetmaruff Are you using HaxeFlixel or Heaps as a base?

@NaxeCode Heaps

authors: NaxeCode deepnight harshetmaruff

repo: deepnight/ldtk-haxe-api


text:
Tensorflow crashes due to abnormally high GPU RAM allocation

I have installed spleeter through poetry.
I activate the poetry virtual env where all the dependencies have been installed.
When I run the spleeter test command I get this long rant and I can see that my GPU RAM usage goes up and max out at 23.7GB (I have a 24GB GPU card, which I think should be enough):
(spleeter-iG7E_J6Q-py3.8) tetsfr@tetsfr:~/spleeter$ spleeter separate -o output audio_example.mp3
Traceback (most recent call last):
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1375, in _do_call
    return fn(*args)
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1359, in _run_fn
    return self._call_tf_sessionrun(options, feed_dict, fetch_list,
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1451, in _call_tf_sessionrun
    return tf_session.TF_SessionRun_wrapper(self._session, options, feed_dict,
tensorflow.python.framework.errors_impl.UnknownError: 2 root error(s) found.
  (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
	 [[{{node conv2d/Conv2D}}]]
	 [[strided_slice_23/_907]]
  (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
	 [[{{node conv2d/Conv2D}}]]
0 successful operations.
0 derived errors ignored.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/bin/spleeter", line 5, in <module>
    entrypoint()
  File "/home/tetsfr/spleeter/spleeter/__main__.py", line 256, in entrypoint
    spleeter()
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/typer/main.py", line 497, in wrapper
    return callback(**use_params)  # type: ignore
  File "/home/tetsfr/spleeter/spleeter/__main__.py", line 128, in separate
    separator.separate_to_file(
  File "/home/tetsfr/spleeter/spleeter/separator.py", line 378, in separate_to_file
    sources = self.separate(waveform, audio_descriptor)
  File "/home/tetsfr/spleeter/spleeter/separator.py", line 319, in separate
    return self._separate_tensorflow(waveform, audio_descriptor)
  File "/home/tetsfr/spleeter/spleeter/separator.py", line 301, in _separate_tensorflow
    prediction = next(prediction_generator)
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 631, in predict
    preds_evaluated = mon_sess.run(predictions)
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/training/monitored_session.py", line 775, in run
    return self._sess.run(
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/training/monitored_session.py", line 1280, in run
    return self._sess.run(
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/training/monitored_session.py", line 1385, in run
    raise six.reraise(*original_exc_info)
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/six.py", line 703, in reraise
    raise value
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/training/monitored_session.py", line 1370, in run
    return self._sess.run(*args, **kwargs)
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/training/monitored_session.py", line 1438, in run
    outputs = _WrappedSession.run(
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/training/monitored_session.py", line 1201, in run
    return self._sess.run(*args, **kwargs)
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 967, in run
    result = self._run(None, fetches, feed_dict, options_ptr,
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1190, in _run
    results = self._do_run(handle, final_targets, final_fetches,
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1368, in _do_run
    return self._do_call(_run_fn, feeds, fetches, targets, options,
  File "/home/tetsfr/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1394, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.UnknownError: 2 root error(s) found.
  (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
	 [[node conv2d/Conv2D (defined at /spleeter/spleeter/model/functions/unet.py:109) ]]
	 [[strided_slice_23/_907]]
  (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
	 [[node conv2d/Conv2D (defined at /spleeter/spleeter/model/functions/unet.py:109) ]]
0 successful operations.
0 derived errors ignored.

Errors may have originated from an input operation.
Input Source operations connected to node conv2d/Conv2D:
 strided_slice_3 (defined at /spleeter/spleeter/model/__init__.py:305)

Input Source operations connected to node conv2d/Conv2D:
 strided_slice_3 (defined at /spleeter/spleeter/model/__init__.py:305)

Original stack trace for 'conv2d/Conv2D':
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/bin/spleeter", line 5, in <module>
    entrypoint()
  File "/spleeter/spleeter/__main__.py", line 256, in entrypoint
    spleeter()
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/typer/main.py", line 497, in wrapper
    return callback(**use_params)  # type: ignore
  File "/spleeter/spleeter/__main__.py", line 128, in separate
    separator.separate_to_file(
  File "/spleeter/spleeter/separator.py", line 378, in separate_to_file
    sources = self.separate(waveform, audio_descriptor)
  File "/spleeter/spleeter/separator.py", line 319, in separate
    return self._separate_tensorflow(waveform, audio_descriptor)
  File "/spleeter/spleeter/separator.py", line 301, in _separate_tensorflow
    prediction = next(prediction_generator)
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 612, in predict
    estimator_spec = self._call_model_fn(features, None, ModeKeys.PREDICT,
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1163, in _call_model_fn
    model_fn_results = self._model_fn(features=features, **kwargs)
  File "/spleeter/spleeter/model/__init__.py", line 568, in model_fn
    return builder.build_predict_model()
  File "/spleeter/spleeter/model/__init__.py", line 516, in build_predict_model
    tf.estimator.ModeKeys.PREDICT, predictions=self.outputs
  File "/spleeter/spleeter/model/__init__.py", line 318, in outputs
    self._build_outputs()
  File "/spleeter/spleeter/model/__init__.py", line 499, in _build_outputs
    self._outputs = self._build_output_waveform(self.masked_stfts)
  File "/spleeter/spleeter/model/__init__.py", line 342, in masked_stfts
    self._build_masked_stfts()
  File "/spleeter/spleeter/model/__init__.py", line 465, in _build_masked_stfts
    for instrument, mask in self.masks.items():
  File "/spleeter/spleeter/model/__init__.py", line 336, in masks
    self._build_masks()
  File "/spleeter/spleeter/model/__init__.py", line 432, in _build_masks
    output_dict = self.model_outputs
  File "/spleeter/spleeter/model/__init__.py", line 312, in model_outputs
    self._build_model_outputs()
  File "/spleeter/spleeter/model/__init__.py", line 211, in _build_model_outputs
    self._model_outputs = apply_model(
  File "/spleeter/spleeter/model/functions/unet.py", line 197, in unet
    return apply(apply_unet, input_tensor, instruments, params)
  File "/spleeter/spleeter/model/functions/__init__.py", line 44, in apply
    output_dict[out_name] = function(
  File "/spleeter/spleeter/model/functions/unet.py", line 109, in apply_unet
    conv1 = conv2d_factory(conv_n_filters[0], (5, 5))(input_tensor)
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/keras/engine/base_layer_v1.py", line 783, in __call__
    outputs = call_fn(cast_inputs, *args, **kwargs)
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/keras/layers/convolutional.py", line 249, in call
    outputs = self._convolution_op(inputs, self.kernel)
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/util/dispatch.py", line 206, in wrapper
    return target(*args, **kwargs)
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/ops/nn_ops.py", line 1012, in convolution_v2
    return convolution_internal(
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/ops/nn_ops.py", line 1142, in convolution_internal
    return op(
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/ops/nn_ops.py", line 2596, in _conv2d_expanded_batch
    return gen_nn_ops.conv2d(
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 969, in conv2d
    _, _, _op, _outputs = _op_def_library._apply_op_helper(
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/framework/op_def_library.py", line 748, in _apply_op_helper
    op = g._create_op_internal(op_type_name, inputs, dtypes=None,
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 3557, in _create_op_internal
    ret = Operation(
  File "/.cache/pypoetry/virtualenvs/spleeter-iG7E_J6Q-py3.8/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 2045, in __init__
    self._traceback = tf_stack.extract_stack_for_node(self._c_op)

I have read that it may come from tf not seeing cudnn but when check my python3 environment from the virtual env, I do not see any tf issue at load time:
(spleeter-iG7E_J6Q-py3.8) tetsfr@tetsfr:~/spleeter$ python3
Python 3.8.10 (default, Sep 28 2021, 16:10:42)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
2021-11-15 02:02:06.197757: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
>>> tf.compat.v1.Session()
2021-11-15 02:03:04.095697: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcuda.so.1
2021-11-15 02:03:04.135577: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-11-15 02:03:04.135973: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: NVIDIA GeForce RTX 3090 computeCapability: 8.6
coreClock: 1.785GHz coreCount: 82 deviceMemorySize: 23.69GiB deviceMemoryBandwidth: 871.81GiB/s
2021-11-15 02:03:04.135990: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
2021-11-15 02:03:04.138273: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcublas.so.11
2021-11-15 02:03:04.138298: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcublasLt.so.11
2021-11-15 02:03:04.139412: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcufft.so.10
2021-11-15 02:03:04.139556: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcurand.so.10
2021-11-15 02:03:04.139846: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcusolver.so.11
2021-11-15 02:03:04.140356: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcusparse.so.11
2021-11-15 02:03:04.140426: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudnn.so.8
2021-11-15 02:03:04.140478: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-11-15 02:03:04.140889: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-11-15 02:03:04.141260: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1871] Adding visible gpu devices: 0
2021-11-15 02:03:04.141474: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-11-15 02:03:04.142074: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-11-15 02:03:04.142526: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: NVIDIA GeForce RTX 3090 computeCapability: 8.6
coreClock: 1.785GHz coreCount: 82 deviceMemorySize: 23.69GiB deviceMemoryBandwidth: 871.81GiB/s
2021-11-15 02:03:04.142569: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-11-15 02:03:04.142973: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-11-15 02:03:04.143415: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1871] Adding visible gpu devices: 0
2021-11-15 02:03:04.143435: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
2021-11-15 02:03:04.443087: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1258] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-11-15 02:03:04.443111: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1264]      0
2021-11-15 02:03:04.443116: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1277] 0:   N
2021-11-15 02:03:04.443216: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-11-15 02:03:04.443612: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-11-15 02:03:04.443977: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-11-15 02:03:04.444332: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1418] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 15645 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 3090, pci bus id: 0000:01:00.0, compute capability: 8.6)
<tensorflow.python.client.session.Session object at 0x7faa7a0e1e50>

Any idea on what is wrong?
Could that come from my CUDA v11.3 version and some issues with TF2.5 or with Spleeter?
On my regular  python3 environment, I have TF2.8 installed and it works fine with other repo I have tried, but from experience TF is a backward compatible nightmare so, hum yeah.
Thanks for your help

OK,
so after some more search I found a solution which worked like magic.
I needed to set a sys variable to true and then no more TF memory crash.
export TF_FORCE_GPU_ALLOW_GROWTH=true
(spleeter-iG7E_J6Q-py3.8) tetsfr@tetsfr:~/spleeter$ spleeter separate -o output audio_example.mp3
INFO:spleeter:File output/audio_example/vocals.wav written succesfully
INFO:spleeter:File output/audio_example/accompaniment.wav written succesfully
Oh boy, I hate so much TF. Problem solved anyway, closing this.

repo: deezer/spleeter


text:
Fix int and BigInt comparison like 2 < 100.initBigInt

The following check used to fail: check 2 < 100.initBigInt.
I think this comes down to a basic typo in one line. I also added some simple test cases for this.

Thanks

authors: EyeCon def-

repo: def-/nim-bigints


text:
Configure Renovate to monitor versions in our examples / vars

We should pin & test specific versions of non-AWS EKS Add-Ons, zarf, etc. and have renovate monitor the upstream for new releases

This is where we're currently specifying EKS add-on versions

zarf version

EKS version

Note: AWS addons are using the latest available for a particular EKS release because they are built / tested in the AWS release process.

I believe ideally we'd use the same pattern that is documented here: https://docs.renovatebot.com/modules/manager/regex/#advanced-capture
Here's an example of it being used currently:

https://github.com/defenseunicorns/delivery-aws-iac/blob/509fee6fe638d6a896d68fa53654d7a9e14588ee/renovate.json5#L39
https://github.com/defenseunicorns/delivery-aws-iac/blob/509fee6fe638d6a896d68fa53654d7a9e14588ee/.env#L2

How can we track EKS releases?

@jacobbmay if it's not too much trouble, could you take a look at the current warning as well? Looks like it hasn't pulled an update since 9 May

Renovate failed to look up the following dependencies: Failed to look up github-tags package bridgecrewio/checkov.

https://github.com/renovatebot/renovate/discussions/21962

authors: RothAndrew ntwkninja

repo: defenseunicorns/delivery-aws-iac


text:
fix!: added tool installs action to include syft

Added  tool installs action to install goreleaser dependency.

I believe we need to include this in the workflow it's intended to execute during.
Example

I got trigger happy with my push.

authors: CloudBeard brandtkeller

repo: defenseunicorns/go-oscal


text:
chore: add badges for cron-job or automated workflows

Add README badges for workflows that run automatically (e.g., weekly, nightly, triggers) so that developers and watchers can see what is failing or passing.

Hi, I'd like to work on this! Which of the workflows should I include in the README?

@ChinoUkaegbu hello, thanks for asking!
The nightly snapshots are definitely something we want to keep track of, which I already see in your forked branch. We'll probably want these to be named "Nightly Snapshot and Upgrade Tests". We also have an End-to-End Registry1 Weekly tests that should be a badge named "Registry1 Weekly Tests". Other than that, I think those two are the near term ones.
There is one more workflow I am working on that isn't in the repository yet, called "Made for UDS" - which is a workflow that always passes but provides errors and warning on our compliance with an company Kubernetes runtime/platform called UDS. If you wait until tomorrow, it should be up and it will likely be a nightly test as well.

authors: ChinoUkaegbu justinthelaw

repo: defenseunicorns/leapfrogai


text:
Anti-aliasing

Rive models are currently not rendered with anti-aliasing enabled

A very important moment to start using Rive with Defold.

I'm using .riv files for static background images in defold scenes. it's especially great with gradients. less kb than textures and reduced color banding. the absence of antialiasing unfortunately spoils everything. I think it would be very important for the image quality

The best solution is to wait for their next-next version of rive-cpp, which solves it altogether.
In the meantime, it's possible we may add some intermediary solution.

Fixed in 2.0.0
See https://forum.defold.com/t/updated-rive-extension/75169

authors: JCash astrochili britzl ekt-

repo: defold/extension-rive


text:
ref(aws): prevent replacement of ASG in CF update

This builds on #4534 to also prevent the replacement of the auto scaling group, which will also replace all of the EC2 instances in the ASG.

Unfortunately this change does not appear to be sufficient either; making a change to ASG in the CF template still causes the ASG to be deleted; I'm going to try adding "Update:Delete" to https://github.com/deis/deis/pull/4648/files#diff-efcb7b1fa718d07343c206bc34462d56L6 and test that.

Unfortunately this change does not appear to be sufficient either; making a change to ASG in the CF template still causes the ASG to be deleted; I'm going to try adding "Update:Delete" to https://github.com/deis/deis/pull/4648/files#diff-efcb7b1fa718d07343c206bc34462d56L6 and test that.

Scratch that, testing error: I unintentionally ran an update with the current stack_policy.json instead of the version in this PR. The "Update:Delete" was not necessary, and should probably be avoided anyway as I believe that would prevent you from intentionally scaling down the number of EC2 instances.

repo: deis/deis


text:
fix (logspout): Handle k8s app:run logs

k8s containers created to serve app:run executions use a distinct name
which seems to differ from the one used for running apps. Logspout does
not match the run names and falls back to spitting out the raw log
message. This behaviour not only causes run logs to be missed but also
seems to cause logger service to freeze and stop any additional message
handling.

Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.
Your Pull Request can earn you credit at DigitalOcean! See http://docs.deis.io/en/latest/contributing/hacking/#digitalocean-credit for details.

Jenkins, add to whitelist.

gofmt seems to fail, is the regex line too long ?

It is probably the alignment of the comment.
You can check yourself: gofmt -d logspout.go will show the diff between the existing code and properly formatted code.  gofmt -w logspout.go would apply that diff.

golang uses real tabs :)

closing due to #4860.

authors: bacongobbler deis-admin krancour vinilios


text:
Telegraf Tag support for cloud providers

Would their be any interest in adding cloud specific tags to the telegraf data?  I currently add AWS instance_id to the global_tags field of telegraf.

yeah I wasnt sure how I wanted to accomplish this with pulling the data into the toml file. If you have any suggestions Id be welcome to take a look

How about relying on the pod definition to pass in the data and using helm to generate the template.
So pass in an environment variable to telegraf -e GLOBAL_TAGS='KEY:VALUE,KEY:VALUE"

closed via #79

authors: jchauncey sstarcher

repo: deis/monitor


text:
hybrid store caching misses docker media types but ChildrenHandler expects them

The caching code is here:
	if isAllowedMediaType(wOpts.Desc.MediaType, ocispec.MediaTypeImageManifest, ocispec.MediaTypeImageIndex) || s.ingester == nil {
		return s.cache.Writer(ctx, opts...)
	}

However, the containerd Children handler here:
	switch desc.MediaType {
	case MediaTypeDockerSchema2Manifest, ocispec.MediaTypeImageManifest:
		p, err := content.ReadBlob(ctx, provider, desc)
		if err != nil {
			return nil, err
		}

		// TODO(stevvooe): We just assume oci manifest, for now. There may be
		// subtle differences from the docker version.
		var manifest ocispec.Manifest
		if err := json.Unmarshal(p, &manifest); err != nil {
			return nil, err
		}

		descs = append(descs, manifest.Config)
		descs = append(descs, manifest.Layers...)
	case MediaTypeDockerSchema2ManifestList, ocispec.MediaTypeImageIndex:
		p, err := content.ReadBlob(ctx, provider, desc)
		if err != nil {
			return nil, err
		}

		var index ocispec.Index
		if err := json.Unmarshal(p, &index); err != nil {
			return nil, err
		}

		descs = append(descs, index.Manifests...)
	default:
		if IsLayerType(desc.MediaType) || IsKnownConfig(desc.MediaType) {
			// childless data types.
			return nil, nil
		}
		log.G(ctx).Debugf("encountered unknown type %v; children may not be fetched", desc.MediaType)
	}

expects the ability to read from the provider (in our case, the cache) for all four media types (OCI manifest and index, docker manifest and manifest list). This means that if we actually do pull down some such from the docker types, it will try to read it, but it isn't cached, and will return a "not found" error.
The simplest solution appears to be to add the two media types - I have a PR about to submit for it - but I am concerned that the lack of passthrough (see #225) might mean this would break something else.

It is by design that oras works only with OCI manifests and index since oras stands for OCI Registry As Storage.
If you are interested in docker manifests for private uses, you may take a look at https://github.com/shizhMSFT/oras/tree/shizh/docker_manifest.

Actually, I agree with you, in principle. I far prefer to use OCI media types. But the real world is full of messy legacy things. It is entirely possible to have to deal with a registry that only supports legacy formats. ORAS mostly handles that ok, but every now and then runs into an issue, like here.

I'd love technical purity on this, but we should be able to handle it if it isn't that way.

Why even have it in a supported media type if we will break?

authors: deitch shizhMSFT

repo: deislabs/oras


text:
Is this repo maintained?

There are open PRs for months, issues aren't addressed.

It certainly is. Sorry for the missing reaction or implementation on some PRs. But the library is deployed widely, and on certain PRs, there will be no action unless there is further feedback, with input on its (continued?) relevance, performance, and demand.

authors: ocram pzmudzinski

repo: delight-im/Android-AdvancedWebView


text:
Problem with Internationalization (I18N)

I don't understand why but I can't get the i18n to work.
my .env
I18N_SUPPORTED_LOCALES=en-US,es-ES
in locale there are 2 folders:
en_US -> LC_MESSAGES
es_ES -> LC_MESSAGES

I purged the cache and rebuild the templates
$ sudo -u www-data php ./index.php clear-template-cache
$ sudo -u www-data php ./index.php precompile-templates

I extracted all translatable strings
$ bash ./i18n.sh en-US
Extracting and updating translations
 * Creating PO (Portable Object) file for “en-US”
Created locale/en-US/LC_MESSAGES/messages.po.
 * Creating MO (Machine Object) file for “en-US”
Done

$ bash ./i18n.sh es-ES
Extracting and updating translations
 * Creating PO (Portable Object) file for “es-ES”
Created locale/es-ES/LC_MESSAGES/messages.po.
 * Creating MO (Machine Object) file for “es-ES”
Done

NOTE -> After this operations in locale created me other 2 folders
en-US -> LC_MESSAGES -> messages.mo, messages.po
es-ES -> LC_MESSAGES -> messages.mo, messages.po

1 QUESTION: Why we have to create folder in locale en_US instead en-US maybe the documentation is wrong ?
https://github.com/delight-im/PHP-I18N#directory-and-file-names-for-translation-files
en-US messages.po
#
msgid ""
msgstr ""
"Language: en-US\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

msgid "Add"
msgstr ""

es-ES messages.po
#
msgid ""
msgstr ""
"Language: es-ES\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

msgid "Add"
msgstr ""

I translated es-ES po
#
msgid ""
msgstr ""
"Language: es-ES\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

msgid "Add"
msgstr "Añadir"

I updated the translations
$ bash ./i18n.sh es-ES
Extracting and updating translations
 * Creating PO (Portable Object) file for “es-ES”
......................................................................................................................................................... done.
 * Creating MO (Machine Object) file for “es-ES”
Done

Now in a file I tested
$app->i18n()->setLocaleManually('es-ES');

echo ('LANG: '. $app->i18n()->getLocale() .'
');

echo(_('Add'));

RESULT
LANG: es-ES
Add -> INSTEAD -> Añadir
Hope that my process is clear and find the solution.
Thanks.

Ok,
I decided to make a new installation and just write this:
index.php
<?php

$i18n = new \Delight\I18n\I18n([
    \Delight\I18n\Codes::EN,
    \Delight\I18n\Codes::ES,
    \Delight\I18n\Codes::IT
]);

$app->i18n()->setLocaleManually('en');

$app->get('/', [ '\App\HomeController', 'getIndex' ]);

Controller
<?php

namespace App;

use Delight\Foundation\App;

class HomeController {

	public static function getIndex(App $app) {

		$name = _('Hallo');

		\var_dump($app->i18n()->getLocale());
		\var_dump($app->i18n()->getSystemLocale());
		\var_dump($app->i18n()->getLocaleName());
		\var_dump($app->i18n()->getLanguageName());
		\var_dump($app->i18n()->getLocaleName('fr-BE'));
		\var_dump($app->i18n()->getLanguageName('fr-BE'));

		// and return a view
		echo $app->view('welcome.html.twig', [
			'users' => $name
		]);
	}

}

template
{% include 'includes/header.html.twig' %}

{{_('Hello world')}}

{{users}}
{% include 'includes/footer.html.twig' %}

If I change in italian clean the cache and restart the web server work. BUT
If I change again in en clean the cache and restart the web server doesn't work and this is the result
Z:\wamp\www\phpfoundation\app\HomeController.php:13:string 'en' (length=2)
Z:\wamp\www\phpfoundation\app\HomeController.php:14:string 'en.utf8' (length=7)
Z:\wamp\www\phpfoundation\app\HomeController.php:15:string 'inglese' (length=7)
Z:\wamp\www\phpfoundation\app\HomeController.php:16:string 'inglese' (length=7)
Z:\wamp\www\phpfoundation\app\HomeController.php:17:string 'francese (Belgio)' (length=17)
Z:\wamp\www\phpfoundation\app\HomeController.php:18:string 'francese' (length=8)
Ciao Mondo
Ciao
For let come back in english I need to delete in "it" folder the 2 file .mo and .po clear the cache and restart the web server.
I am frustrated :(

Thanks for doing the additional testing!
Don’t worry, I think we’re almost there, and after these initial setup problems on Windows, Gettext is an excellent system.

Don’t throw away and restart your projects anymore, please. The code and setup you have looks fine. This should be suitable for testing, and the problem is probably somewhere else, not in your code or setup.

Since you’re on Windows, can you please double check that you’re using the “Non Thread Safe (NTS)” version of PHP, and not the other one? Could you check your detailed PHP version? Since your version was probably bundled with WAMP, it’s highly likely that it’s the wrong one. This answer might help to install the correct one, which must use FastCGI instead of mod_php.

Please replace setLocaleManually('en') in your code with setLocaleAutomatically() and pass the language you want via GET parameters, e.g. lang=en or lang=it, which is easier during testing and avoids potential caching issues.

Are you using the I18N component in that test setup with or without the framework? If using without the framework, using that constructor is fine. If using with the framework, you should define the supported languages in the configuration in I18N_SUPPORTED_LOCALES instead.

If using it with the framework, please make sure that both I18N_SESSION_FIELD and I18N_COOKIE_NAME are empty. For easier testing, the language should only depend on your supplied GET parameter.

As soon as a language has shown up successfully once (especially with its strings in the templates), there’s no need to clear and re-generate the template cache anymore.

In WSL, where you also extract the strings from code and templates, can you run
$ sudo locale-gen xx_XX
$ sudo locale-gen xx_XX.UTF-8
$ sudo update-locale

once for every language (xx_XX, e.g. it_IT) that you intend to support?

repo: delight-im/PHP-Foundation


text:
Documentation error and recommend to add a new section under Storage/S3 for MinIO

I have noticed a small error in the documentation around S3 configurations:
https://docs.delta.io/latest/delta-storage.html#amazon-s3
On the read part, it should be load and not save:
spark.read.format("delta").load("s3a://<your-s3-bucket>/<path>/<to>/<delta-table>")
Also, I have successfully tested Delta 0.5.0 with on-premise S3 - https://min.io
There were some quirks around the S3 region settings (by default Hadoop S3 lacks specific region setting API, instead it gets interpreted thru spark.hadoop.fs.s3a.endpoint:
./spark-shell  \
>  --master spark://<spark-master>:7077 \
>  --conf spark.hadoop.fs.s3a.endpoint= http://s3.<aws-region>.<minio-server:port> \
>  --conf spark.hadoop.fs.s3a.access.key=<access.key> \
>  --conf spark.hadoop.fs.s3a.secret.key=<secret.key> \
>  --conf spark.hadoop.fs.s3a.path.style.access=true \
>  --conf spark.hadoop.fs.s3a.impl=org.apache.hadoop.fs.s3a.S3AFileSystem

I can contribute a section in the Storage Configuration around how to make Delta work with MinIO-S3 (apart from the AWS-S3 that is currently available), if that would be of any use to the community.
Also, how can one contribute to the docs.delta.io documentation?

Thank you for reporting the docs error! The docs are unfortunately not open source. I am happy make the changes.

Actually, on second thought after learning more about minio, I am unsure of how much testing is needed before we can reliably document that delta works reliably on minio. minio is after all a completely different storage system that happens to be s3 API compatible. This does not automatically guarantee that minio satisfies the 3 requirements for Delta to work with a storage system as documented here - https://docs.delta.io/latest/delta-storage.html#storage-configuration
Different file systems have different quirks wrt these 3 requirements hence requires different log store implementations that fixes/works-around those quirks.
In summary, we can document minio only when it has proven by documentation, custom logstore implementation and testing that delta is guaranteed to work correctly on minio. Can you provide them?

As per MinIO's design all 3 criterias are satisfied by MinIO.

TD,
Thanks for your reply.
As per the MinIO docs - https://docs.minio.io/docs/distributed-minio-quickstart-guide.html

MinIO follows strict read-after-write and list-after-write consistency model for all i/o operations both in distributed and standalone modes.

I have tested most of the Delta table operations (mentioned in the delta docs) with MinIO, and all the operations were successful:

create / write table
append table
batch updates to table
stream updates to table
history
time travel

Are there any specific set of tests that you want to be performed before this can be added to the documentation?

Hi TD,
Any updates to this issue? Thank you,

@tdas it would be great to add MinIO as S3 compatible target for Delta Lake in the documentation.

Is MinIO now a S3 compatible target for Delta Lake? The documentation is not there so I was wondering whether there are any concerns.

@ramkumarkb @nitisht want to use a local minio server for DeltaLake storage. Could not find proper documentation for its implementation -- can you guys help me out with this?

@ramkumarkb @nitisht want to use a local minio server for DeltaLake storage. Could not find proper documentation for its implementation -- can you guys help me out with this?

@kaushalvivek - Please look my very first comment in this issue. Apart from that, if you follow the Delta's documentation for S3, it worked for me. However, am yet to latest the newer version of the Delta with the latest version of MinIO.

Latest documentation fixed the issue mentioned in the first comment. Please reopen if there are any other issues.

MinIO section under the documentation is pending. Reopening..

@vkorukanti - You can closed this but all the details mentioned at the beginning of this issue is not in the docs or I might be looking at the wrong place. Can you please point to the URL that has the details?
Thank you !

@vkorukanti have you just fixed the load in the latest doc?
What about MinIO support? Is it supported? Anything mentioned in the docs.delta.io (I cannot find anything)?
Thanks! It would be very nice to understand the current situation in 2022 =)

@tikr7 we haven't done any test for MinIO so we don't claim the support in our doc. But as long as MinIO can provide the compatible APIs and the same semantics (for example, a file should not be visible until the output stream is closed) as S3, Delta should work with MinIO.

authors: harshavardhana joaquinvanschoren kaushalvivek nitisht ramkumarkb tdas tikr7 vkorukanti zsxwing

repo: delta-io/delta


text:
Ecosystem update AgrospAI

Proposed Changes

Update UdL Research Data Space to AgrospAI
Recover AgrifoodTEF Data Space that has disappeared from ecosystem

Please, also update allowed origins to include agrospai.udl.cat and dataspace.agrospai.udl.cat (both, please). dataspace.angliru.udl.cat is no longer needed.
For instance, right now getting the following error:
Access to XMLHttpRequest at 'https://status.dev.pontus-x.eu/' from origin 'https://agrospai.udl.cat' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

repo: deltaDAO/mvg-portal


text:
Add is.mas() and is.windowsStore()

In addition to the sandbox check (#1), I've just been made aware that the process object has these checks too.
https://github.com/electron/electron/blob/master/docs/api/process.md#processmas
https://github.com/electron/electron/blob/master/docs/api/process.md#processwindowsstore
Note that an app can be sandboxed without being on the Mac App Store, so I think these are still useful to have separately.

Perfect, thanks!

authors: delvedor jwheare

repo: delvedor/electron-is


text:
Sane doc reports fixes

Status
Ready
Related
related: https://github.com/demisto/sane-doc-reports/pull/71
Description
Fixes a bunch of bugs in sane-doc-reports.

Docker Image Ready - Dev
Docker automatic build at CircleCI has deployed your docker image: devdemisto/sane-doc-reports:1.0.0.9599
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/sane-doc-reports/tags
Get started by pulling the image:
docker pull devdemisto/sane-doc-reports:1.0.0.9599

Docker Metadata

Image Size: 358.61 MB

Image ID: sha256:e41b0b23eeb522f6ab159c46a7b1c34f1dd389c38c3dda30b90bb806791cc40c

Created: 2020-06-25T11:22:07.306090496Z

Arch: linux/amd64

Command: ["python3"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568
PYTHON_VERSION=3.8.3
PYTHON_PIP_VERSION=20.1.1
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/eff16c878c7fd6b688b9b4c4267695cf1a0bf01b/get-pip.py
PYTHON_GET_PIP_SHA256=b3153ec0cf7b7bbf9556932aa37e4981c35dc2a2c501d70d91d2795aa532be79
DOCKER_IMAGE=devdemisto/sane-doc-reports:1.0.0.9599

Labels:

org.opencontainers.image.authors:Demisto <containers@demisto.com>
org.opencontainers.image.revision:f052d66d9907d0d5b2b99647f707e7ed74a566fc
org.opencontainers.image.version:1.0.0.9599

Docker Image Ready - Production
Docker automatic build at CircleCI has deployed your docker image: demisto/sane-doc-reports:1.0.0.9600
It is available now on docker hub at: https://hub.docker.com/r/demisto/sane-doc-reports/tags
Get started by pulling the image:
docker pull demisto/sane-doc-reports:1.0.0.9600

Docker Metadata

Image Size: 358.61 MB

Image ID: sha256:6db02b9e8731463518c3045f64436fdbbe54363020f83982328c39bcc8804e90

Created: 2020-06-25T13:19:22.337998188Z

Arch: linux/amd64

Command: ["python3"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568
PYTHON_VERSION=3.8.3
PYTHON_PIP_VERSION=20.1.1
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/eff16c878c7fd6b688b9b4c4267695cf1a0bf01b/get-pip.py
PYTHON_GET_PIP_SHA256=b3153ec0cf7b7bbf9556932aa37e4981c35dc2a2c501d70d91d2795aa532be79
DOCKER_IMAGE=demisto/sane-doc-reports:1.0.0.9600

Labels:

org.opencontainers.image.authors:Demisto <containers@demisto.com>
org.opencontainers.image.revision:9d4832831fb6c8bd438ddd4d8ec1b83f6584d3f1
org.opencontainers.image.version:1.0.0.9600

authors: agamm dc-builder

repo: demisto/dockerfiles


text:
🛑 Hastebin is down

In e709765, Hastebin (https://haste.eka.monster) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hastebin is back up in 26ff35b.

repo: demonsteru/up


text:
🛑 StatPing is down

In 47e08a2, StatPing (https://stat.eka.monster) was down:

HTTP code: 530
Response time: 2043 ms

Resolved: StatPing is back up in 6da6436.