NullPointerException on first field access with Object API in 2.1.0/2

I'm using the Object API and just updated from 1.7* to 2.1.2. Changed code to use OPartitionedDatabasePool. I have no idea what is happening here. Accessing any simple or complex field of a persisted object produces this exception:
Exception in thread "main" java.lang.NullPointerException
	at com.orientechnologies.orient.object.enhancement.OObjectEntitySerializer.checkClassRegistration(OObjectEntitySerializer.java:350)
	at com.orientechnologies.orient.object.enhancement.OObjectEntitySerializer.isTransientField(OObjectEntitySerializer.java:291)
	at com.orientechnologies.orient.object.enhancement.OObjectMethodFilter.isGetterMethod(OObjectMethodFilter.java:114)
	at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.invoke(OObjectProxyMethodHandler.java:114)
	at db.orientdb.model.OrientDBBaseConfiguration_$$_javassist_0.getCiConfigurations(OrientDBBaseConfiguration_$$_javassist_0.java)
	at
[...]

Fun fact: With 2.0.15 it works on Linux but not on Windows, 2.1.0/2 fails on both platforms!

Hi, have made some workaround or something for this bug. I have the same issue. We are doing something wrong maybe.      at com.orientechnologies.orient.object.enhancement.OObjectEntitySerializer.checkClassRegistration(OObjectEntitySerializer.java:350)
at com.orientechnologies.orient.object.enhancement.OObjectEntitySerializer.isTransientField(OObjectEntitySerializer.java:291)
at com.orientechnologies.orient.object.enhancement.OObjectMethodFilter.isGetterMethod(OObjectMethodFilter.java:114)
at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.invoke(OObjectProxyMethodHandler.java:114)
at com.aparendo.model.AddressEntity_$$javassist_1.getStreet(AddressEntity$$_javassist_1.java)

+1

this bug seems already fixed by this commit: https://github.com/orientechnologies/orientdb/commit/8f9da3cb0e0692ab88956cd89b2fb199e299ac14
can you check last hotfix: 2.1.7

I tested it with OrientDB 2.1.8, and this bug is still there
java.lang.NullPointerException
	at com.orientechnologies.orient.object.enhancement.OObjectEntitySerializer.getDeclaredFields(OObjectEntitySerializer.java:1478)
	at com.orientechnologies.orient.object.enhancement.OObjectEntitySerializer.getField(OObjectEntitySerializer.java:1083)
	at com.orientechnologies.orient.object.enhancement.OObjectEntitySerializer.getTypeByClass(OObjectEntitySerializer.java:1036)
	at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.getDocFieldValue(OObjectProxyMethodHandler.java:379)
	at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.getValue(OObjectProxyMethodHandler.java:312)
	at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.getValue(OObjectProxyMethodHandler.java:300)
	at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.manageGetMethod(OObjectProxyMethodHandler.java:289)
	at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.invoke(OObjectProxyMethodHandler.java:115)
	at com.bpb.amazon.Asin_$$_jvst737_0.getRating(Asin_$$_jvst737_0.java)

Hi @tglman ,
I'm not sure what you mean, that I don't have the database in the thread? I have retrieved my records, that works. Now, I want to use the records in the view, but whenever I try to access a property of the retrieved documents, I get a nullpointer exception, because these objects are all proxied objects. If I don't close the database connection, which seems like not a smart thing to do, it works, and I don't get the NPE anymore.
Suggestions on how to fix this? I'm running on OrientDB 2.1.8.

@bodiam : can you put a sample object class you are trying to save/load

Sure, this my code:
@TupleConstructor
//@ToString
@EqualsAndHashCode
class Book {

    String link
    String asin
    String title
    String author
    String description
    Integer numberOfPages
    Date publicationDate

    String smallImage
    String mediumImage
    String largeImage

    String formattedPrice
    BigDecimal rating

    Double getRoundedRating() {

        return Double.valueOf(Math.round(((this.getRating() ?: 0) * 2.0))) / 2.0
    }

    String getShortLink() {
        UrlShortener.shorten(this.link)
    }
}

And I retrieve the object like this:
            List<Book> books = db.command(new OSQLSynchQuery<Book>("select * from Book SKIP :skp LIMIT :lim")).execute(params)
            int count = db.command(new OSQLSynchQuery<Integer>("select count(*) from Book")).execute(params).get(0).field("count")

And if I put a breakpoint at the count, I can see the books. If I exit the method, and I close the DB connection, and I try the same thing (ie accessing a property), I get nullpointer exceptions.

Hi @bodiam,
for use object outside a connection scope (ex in the view) you should detach them: http://orientdb.com/docs/last/Object-Database.html#detach

Ah, thanks, I didn't know! Is there also a way to detach my complete collection? I saw there's a detachAll, but that seems to do something very different.

On 22 Jan 2016, at 21:57, tglman<EMAIL_ADDRESS>wrote:
Hi @bodiam,
for use object outside a connection scope (ex in the view) you should detach them: http://orientdb.com/docs/last/Object-Database.html#detach
—
Reply to this email directly or view it on GitHub.

hi @bodiam,
The only way to detach a whole collection is iterate on it and run detach for each element. detachAll can help on that if you have a collection inside an object.

I get this issue even when doing a detach of my objects...
java.lang.NullPointerException: null
	at com.orientechnologies.orient.object.enhancement.OObjectEntitySerializer.setFieldValue(OObjectEntitySerializer.java:1013) ~[orientdb-object-2.1.8.jar:2.1.8]
	at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.detach(OObjectProxyMethodHandler.java:141) ~[orientdb-object-2.1.8.jar:2.1.8]
	at com.orientechnologies.orient.object.enhancement.OObjectEntitySerializer.detach(OObjectEntitySerializer.java:219) ~[orientdb-object-2.1.8.jar:2.1.8]
	at com.orientechnologies.orient.object.db.OObjectDatabaseTx.detach(OObjectDatabaseTx.java:311) ~[orientdb-object-2.1.8.jar:2.1.8]
	at com.orientechnologies.orient.object.db.OObjectDatabaseTx$detach.call(Unknown Source) ~[na:na]
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) ~[groovy-all-2.4.4.jar:2.4.4]
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) ~[groovy-all-2.4.4.jar:2.4.4]
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133) ~[groovy-all-2.4.4.jar:2.4.4]

This is triggered from this code:
            if (results) {
                return db.detach(results.get(0), true); // <-- causes the NPE
            } else {
                return null
            }
```

I'm still on 2.1.8 btw.

I figured out what it means. It means that someField in my database exists, which doesn't exist in my class anymore. This will result in a nullpointer exception. Besides the fact that I find that a bit weird, the error message isn't very helpful either.
It's caused by the OObjectProxyMethodHandler, where the OObjectEntitySerializer.getField(fieldName, selfClass) takes place. The code assumes that getField returns a valid/existing field. It doesn't, because it doesn't exist in my class (anymore). So, doing something like:
Field f = OObjectEntitySerializer.getField(fieldName, selfClass)
if(field == null) throw new NullPointerException("Couldn't find field $fieldName in $selfClass")

Would have saved me some debugging ;-)

hi @bodiam,
Cool that you found the exact point by yourself, i would say that we can open a different issue for that, and if you wont you can contribute with a PR for improve our error messages.

Hi @tglman , thanks for the reply. That might be an option, but I'm not sure if I'll do the pull request. I'm spending too much time on working around issues like this, and I'm considering moving to ArangoDB.

@tglman Hi, i met the same problem, if some fileds in the database and doesn't in my java pojo, when i use detach method will result  a nullpointexception,How to solve this problem? Have any @Annotation just like @ignore ？


[gpuCI] Forward-merge branch-22.11 to branch-23.01 [skip gpuci]

Forward-merge triggered by push to branch-22.11 that creates a PR to keep branch-23.01 up-to-date. If this PR is unable to be immediately merged due to conflicts, it will remain open for the team to manually merge.

SUCCESS - forward-merge complete.


Support Interpolated Expression Sequences added in DMD 2.108.0

See https://dlang.org/changelog/2.108.0.html#dmd.ies.

Initial support is available in main now.  Merged with 726aba0a9f8ba82285440caf561f3a42347ccf64 (version 0.6.0.)
No queries support this yet, but at least the grammar tree will be correct. You can detect this by an expression nested inside a string literal.

Great!


Queue messages for connections with no endpoint

This will allow communication with an edge agent without an inbound route. This includes OSMA (open source mobile agent).

Moving this to backlog. Any update on this @TelegramSam ?

Added via #158


Add a asset url prefix

Adding a Optional Prefix to asset urls allows easier integration for Bevy WASM into existing Webtechnologies. For example in my case i had to prefix my asset path with _content because blazors routing ended up placing my assets at that url. Adding a simple method to the builder would allow me to do this
            LoadingState::new(GameState::Loading)
                .withPrefix("_content/BlazoredBevy.UI/assets")
                .with_collection::<FontAssets>()
                .with_collection::<AudioAssets>()
                .with_collection::<TextureAssets>()
                .continue_to_state(GameState::Menu)

instead of:
#[derive(AssetCollection, Resource)]
pub struct FontAssets {
    #[asset(path = "_content/BlazoredBevy.UI/assets/fonts/FiraSans-Bold.ttf")]
    pub fira_sans: Handle<Font>,
}

This would be much nicer solved by setting the asset_folder as part of the AssetPlugin to be _content/BlazoredBevy.UI/assets. Have you tried that?

I close this for now.
If the proposed solution doesn't work or you see any other reason why this requires changes in bevy_asset_loader, feel free to comment and reopen the issue 🙂


Get version of generated qr-code

first: thank you for this excellent script!
is there a function to get the qr-version of the generated qr-code when in options "version" is set to QRCode::VERSION_AUTO ?

Hey, you're welcome! Did you try QRMatrix::version()? The matrix object holds the version number of the generated qr code and you can get hold of it if you render the code manually like so:
// get the matrix object
$matrix = $qrcode->getMatrix($data);
// fetch the version number
$version = $matrix->version();
// continue render
$matrix->dump();

Hope that helps!

okay thank you very much :)!

i just realized that the dump() method is on the QRDataInterface but i think you'll get that managed :D

fixed the above comments - today's not my day...


Contact HR

A new tab to drop a message to HR

Yes I think this is important

A new tab to maintain all the references for different companies


[BUG] Nightly prerelease failures - OrcSuite

Describe the bug
2023-08-10T11:23:21.338Z] [INFO] Compiling 5 Scala sources to /home/jenkins/agent/workspace/jenkins-rapids_nightly-pre_release-github-545/integration_tests/target/test-classes ...

[2023-08-10T11:23:24.597Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_nightly-pre_release-github-545/integration_tests/src/test/scala/com/nvidia/spark/rapids/tests/orc/OrcSuite.scala:25: object Arm is not a member of package com.nvidia.spark.rapids

[2023-08-10T11:23:24.597Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_nightly-pre_release-github-545/integration_tests/src/test/scala/com/nvidia/spark/rapids/tests/orc/OrcSuite.scala:110: not found: value withResourceIfAllowed

[2023-08-10T11:23:24.597Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_nightly-pre_release-github-545/integration_tests/src/test/scala/com/nvidia/spark/rapids/tests/orc/OrcSuite.scala:122: not found: value withResource

[2023-08-10T11:23:25.157Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_nightly-pre_release-github-545/integration_tests/src/test/scala/com/nvidia/spark/rapids/tests/orc/OrcSuite.scala:23: Unused import

[2023-08-10T11:23:25.157Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_nightly-pre_release-github-545/integration_tests/src/test/scala/com/nvidia/spark/rapids/tests/orc/OrcSuite.scala:25: Unused import

[2023-08-10T11:23:25.157Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_nightly-pre_release-github-545/integration_tests/src/test/scala/com/nvidia/spark/rapids/tests/orc/OrcSuite.scala:25: Unused import

[2023-08-10T11:23:25.157Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_nightly-pre_release-github-545/integration_tests/src/test/scala/com/nvidia/spark/rapids/tests/orc/TestBase.scala:22: object RapidsConf is not a member of package com.nvidia.spark.rapids

[2023-08-10T11:23:25.157Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_nightly-pre_release-github-545/integration_tests/src/test/scala/com/nvidia/spark/rapids/tests/orc/TestBase.scala:48: not found: value RapidsConf

[2023-08-10T11:23:25.157Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_nightly-pre_release-github-545/integration_tests/src/test/scala/com/nvidia/spark/rapids/tests/orc/TestBase.scala:49: not found: value RapidsConf

[2023-08-10T11:23:25.157Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_nightly-pre_release-github-545/integration_tests/src/test/scala/com/nvidia/spark/rapids/tests/orc/TestBase.scala:50: not found: value RapidsConf

[2023-08-10T11:23:25.158Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_nightly-pre_release-github-545/integration_tests/src/test/scala/com/nvidia/spark/rapids/tests/orc/TestBase.scala:56: not found: value RapidsConf

[2023-08-10T11:23:25.158Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_nightly-pre_release-github-545/integration_tests/src/test/scala/com/nvidia/spark/rapids/tests/orc/TestBase.scala:22: Unused import

The core problem is that Scala tests that import com.nvidia.spark should not be in integration_tests, those belong in tests.  However the new test wanted to use DBGen which currently livers in integration_tests.  Long-term fix is to move DBGen to its own module, update tests to depend on that, and move OrcSuite to tests.  However to quickly unblock 23.08 deployments, going to revert the OrcSuite changes in the short-term since this is test-only and not critical to the 23.08 release.


Can't resolve version for dependency with extra requirements

When I am trying to install requirements with extra_requires block from private repo(artifactory in our case), dephell deps install fails with `LookupError.
Steps to reproduce:
requirements.txt:
dephell[full]

command to run:
> env REQUESTS_CA_BUNDLE=<path/to/cert> dephell deps install --from-path=requirements.txt --traceback --level DEBUG --warehouse https://<your_company_private_warehouse>/api/pypi/pypi/simple

actual output:
WARNING cannot find config file
INFO get dependencies (format=pip, path=reqs2.txt)
INFO build dependencies graph...
ERROR LookupError: cannot find releases for dephell[full]
Traceback (most recent call last):
  File "/tmp/venv/lib/python3.7/site-packages/dephell/cli.py", line 79, in main
    result = task()
  File "/tmp/venv/lib/python3.7/site-packages/dephell/commands/deps_install.py", line 38, in __call__
    resolver = self._get_locked(default_envs={'main'})
  File "/tmp/venv/lib/python3.7/site-packages/dephell/commands/base.py", line 105, in _get_locked
    return self._resolve(resolver=resolver, default_envs=default_envs)
  File "/tmp/venv/lib/python3.7/site-packages/dephell/commands/base.py", line 111, in _resolve
    resolved = resolver.resolve(silent=self.config['silent'])
  File "/tmp/venv/lib/python3.7/site-packages/dephell/controllers/_resolver.py", line 86, in resolve
    resolved = self._resolve(debug=debug, silent=silent, level=level, spinner=spinner)
  File "/tmp/venv/lib/python3.7/site-packages/dephell/controllers/_resolver.py", line 113, in _resolve
    no_conflicts = self._apply_deps(deps, debug=debug)
  File "/tmp/venv/lib/python3.7/site-packages/dephell/controllers/_resolver.py", line 190, in _apply_deps
    conflict = self.apply(dep)
  File "/tmp/venv/lib/python3.7/site-packages/dephell/controllers/_resolver.py", line 49, in apply
    if not other_dep.compat:
  File "/tmp/venv/lib/python3.7/site-packages/dephell/models/dependency.py", line 152, in compat
    for group in self.groups:
  File "/tmp/venv/lib/python3.7/site-packages/dephell/models/groups.py", line 168, in __iter__
    release = self.releases[0]
  File "/tmp/venv/lib/python3.7/site-packages/dephell/cached_property.py", line 17, in __get__
    value = obj.__dict__[self.func.__name__] = self.func(obj)
  File "/tmp/venv/lib/python3.7/site-packages/dephell/models/groups.py", line 42, in releases
    raise LookupError('cannot find releases for ' + self.dep.name)
LookupError: cannot find releases for dephell[full]

There are no releases for dephell in your repo, aren't it?

curl .../simple/dephell

no, they are there. the same command works as expected if I put just dephell without [full] in the requirements.txt

you can also reproduce this problem locally via running e.g. nexus3 in docker
while pip install -r /tmp/reqs2.txt -i http://localhost:8081/repository/mirror/simple  --trusted-host localhost:8081 works, dephell deps install --from-path=/tmp/reqs2.txt --from-format=pip --warehouse http://localhost:8081/repository/mirror/simple --traceback --level DEBUG throws an error(not sure if it is related to current issue though):
WARNING cannot find config file
INFO get dependencies (format=pip, path=/tmp/reqs2.txt)
ERROR FileNotFoundError: cannot find directory: http://localhost:8081/repository/mirror/simple
Traceback (most recent call last):
  File "/tmp/venv/lib/python3.7/site-packages/dephell/cli.py", line 79, in main
    result = task()
  File "/tmp/venv/lib/python3.7/site-packages/dephell/commands/deps_install.py", line 38, in __call__
    resolver = self._get_locked(default_envs={'main'})
  File "/tmp/venv/lib/python3.7/site-packages/dephell/commands/base.py", line 103, in _get_locked
    resolver = loader.load_resolver(path=loader_config['path'])
  File "/tmp/venv/lib/python3.7/site-packages/dephell/converters/base.py", line 68, in load_resolver
    root = self.load(path=path)
  File "/tmp/venv/lib/python3.7/site-packages/dephell/converters/pip.py", line 71, in load
    editable=req.editable,
  File "/tmp/venv/lib/python3.7/site-packages/dephell/controllers/_dependency.py", line 60, in from_requirement
    repo=get_repo(link),
  File "/tmp/venv/lib/python3.7/site-packages/dephell/repositories/_getter.py", line 29, in get_repo
    repo.attach_config()
  File "/tmp/venv/lib/python3.7/site-packages/dephell/controllers/_repos.py", line 98, in attach_config
    self.add_repo(url=url, from_config=True)
  File "/tmp/venv/lib/python3.7/site-packages/dephell/controllers/_repos.py", line 61, in add_repo
    raise FileNotFoundError('cannot find directory: {}'.format(url))
FileNotFoundError: cannot find directory: http://localhost:8081/repository/mirror/simple


Does not work with Let's encrypt generated .pem certificate files

Describe the bug
Server runs on http as expected. I try to switch to https:
#### HTTP/2 + TLS
http2 = true
http2-tls-cert = "/home/www/deployment/fullchain.pem"
http2-tls-key =  "/home/www/deployment/privatkey.pem"

I tried with with cert.pem, chain.pem as well - same error. Server does not start.
To Reproduce

Generate certificate files following: https://certbot.eff.org/instructions?ws=other&os=ubuntufocal
Edit /dev/config.file like above, make sure paths are correct
Run docker run --env SERVER_CONFIG_FILE=/config.toml -v /dev/config.toml:/config.toml  -p 8787:80 joseluisq/static-web-server:2.12

Expected behavior
Webiste runts over https.
Logs/Screenshots
2022-09-29T22:32:19.848863Z  INFO static_web_server::server: config file: /config.toml
2022-09-29T22:32:19.849055Z  INFO static_web_server::server: server bound to tcp socket [::]:8787
2022-09-29T22:32:19.849092Z  INFO static_web_server::server: runtime worker threads: 2
2022-09-29T22:32:19.849097Z  INFO static_web_server::server: security headers: enabled=true
2022-09-29T22:32:19.849101Z  INFO static_web_server::server: auto compression: enabled=true
2022-09-29T22:32:19.849104Z  INFO static_web_server::server: compression static: enabled=false
2022-09-29T22:32:19.849108Z  INFO static_web_server::server: directory listing: enabled=false
2022-09-29T22:32:19.849116Z  INFO static_web_server::server: directory listing order code: 6
2022-09-29T22:32:19.849119Z  INFO static_web_server::server: cache control headers: enabled=true
2022-09-29T22:32:19.849130Z  INFO static_web_server::server: basic authentication: enabled=false
2022-09-29T22:32:19.849134Z  INFO static_web_server::server: log remote address: enabled=false
2022-09-29T22:32:19.849137Z  INFO static_web_server::server: redirect trailing slash: enabled=true
2022-09-29T22:32:19.849141Z  INFO static_web_server::server: grace period before graceful shutdown: 0s
2022-09-29T22:32:19.849276Z ERROR static_web_server::server: server failed to start up: failed to initialize TLS probably because invalid cert or key file

Caused by:
    certificate parse error

Environment and Specs

static-web-server: v12.2
OS: Ubuntu 20.04 LTS
Docker: Docker version 19.03.8, build afacb8b7f0
Client: n/a

Additional context
Listing of the directory with files:
www@broowqh:~/deployment$ ls -la
total 52
drwxr-xr-x  2 www www  4096 Sep 30 00:47 .
drwxr-xr-x 12 www www  4096 Sep 29 22:48 ..
-rw-r--r--  1 www root 5595 Sep 30 00:29 fullchain.pem
-rw-r--r--  1 www root 1708 Sep 30 00:29 privkey.pem
-rw-rw-r--  1 www www  1535 Sep 30 00:33 config.toml

Docker is run by www user.
Full config: https://pastebin.com/5XsbGVv4

Can you confirm please provide how the format of your private key looks like? Does it start with BEGIN EC PRIVATE KEY or BEGIN RSA PRIVATE KEY?

Does any progress on that using latest release?

Closing this since #207 seems related and we already support EC private keys #208.
Feel free to re-open the issue if necessary.


[Feature Request]: support rich text

Please note: any submissions with insufficient reproducible information will be marked as 'Waiting for customer input' and may be closed is there is no response
Describe your user scenario
Currently, the SDK regards activity.text as input. However, for rich text, activity.attachments will contain much more information.
Describe the solution you'd like

Provide a clear and concise description of what you want to happen, with code snippets or pseudo code as applicable.

Describe alternatives you've considered

Provide a clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

@kuojianlu please update this with describe the solution you'd like, im not sure by the description what the problem is or how we should support rich text.

@aacebo I think the issue is a little out-of-date, because activity.attachments is now supported to some extent, like the TeamsAttachmentDownloader to download the attachment files.
Close as resolved.


Testing PR #6646

This is just to check that #6646 works OK.
DO NOT MERGE!

/benchmark validation

/benchmark validation

/benchmark nofib

/benchmark nofib

/benchmark validation

/benchmark validation

These results are terrible, but fortunately  I think we were doing the wrong thing.  I'm going to try again.

Tying again in #6650.  It's impressive just how bad these results are though.

Reopening this so I can observe what's happening on the machine.

/benchmark validation

Nope.  The base branch has vanished, so this won't work.


Cleanup variable struct

Current the Variable struct is complex and noisy, it can probably be simplified a great deal.

I don't think there's much we can do without divine intervention. Closing this issue.


Optimize Public Parameter Size

Hack: https://github.com/lurk-lab/lurk-rs/issues/431. With some eyeballed timings, this is around a 2x improvement in memory and speed.
Note: Do not merge until all the dev-dev dependencies for lurk-lab forks are set up.

Unfortunately, I do mean git fetch lurk-lab && git rebase -i lurk-lab/dev (where lurk-lab is the remote name for this fork)

Made obsolete by #5


New modes, or how to adjust "fixed" mode

Hi,
still in love with your library.
It's great to work with, and now I got another question 😄
Once a user "activates" the flowchart, I would like to set the mode to fixed.
But the user should still be able to move the entire diagram around.
So the only thing that should change is, once the flowchart is active, the user should not be able to:

add new nodes
delete nodes
add connections
delete connections

Is there a way to adjust the fixed mode, so the user is still able to move the nodes around?
In case something looks cluttered and he wants to make it more visually appealing.
Thanks

Hi @jerosoler ,
thanks that works great, is there a way to enable moving the entire flowdiagram in fixed mode as well?

When I click and hold on the background instead of a node, I can move the entire diagram to around.

Two options:
In the mount() function
async mounted() {
    // get automation data and setup the editor
    await axios
      .get(`url`)
      .then((response) => {
        this.automation = response.data
        this.setupEditor()
      })
      .catch((error) => {
        console.log(error)
      })
  },

  methods:{
   setupEditor(){
      const id = document.getElementById('drawflow')
      this.editor = new Drawflow(id, Vue, this)

      // Lock if active state
      if (this.automation.status === AutomationStates.ACTIVE) {
        this.editor.editor_mode = 'fixed'
      }
      // Enable moving nodes, when in fixed mode
      this.editor.on('click', (e) => {
        if (this.automation.status === AutomationStates.ACTIVE) {
          if (e.target.closest('.drawflow_content_node') != null) {
            this.editor.ele_selected = e.target.closest(
              '.drawflow_content_node',
            ).parentElement
            if (this.editor.ele_selected.classList[0] === 'drawflow-node') {
              this.editor.editor_mode = 'edit'
            }
          }
        }
      })
      this.editor.on('clickEnd', () => {
        if (this.automation.status === AutomationStates.ACTIVE) {
          this.editor.editor_mode = 'fixed'
        }
      })
      this.editor.on('translate', function (position) {
        console.log('Translate x:' + position.x + ' y:' + position.y)
      })
      this.editor.start()
   }
}

When the user activates it:
async activate() {
      const data = {}
      await axios
        .post(
          `url`,
          data,
          {},
        )
        .then((response) => {
          this.editor.editor_mode = 'fixed'
        })
        .catch((error) => {
          console.log(error)
          this.showSnackbar('error', 'snackbar.automation.activate.error')
        })
    },

Your code seems to be correct.
It shows me one more thing.
The  document.getElementById('drawflow') block
This block cannot have any class assigned. If you want to assign a class to it, first add the class "parent-drawflow"

  // Correct

  // InCorrect

// Solution for extra class

Could it be that I add an extra class?
It's a Problem: https://github.com/jerosoler/Drawflow/pull/141

That's it. I removed the class and now it works just like in the demo 👍  thank you once again 😄


[SMALLFIX] Prevent journaling unnecessary entries

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10187/
Test PASSed.

Merged build finished. Test PASSed.

+1 LGTM


#1530: fixed unittest to be property specific and language fixed

closes #1530: fixed unittest to be property specific and language fixed

Nice solution @naebliss Very reusable.
Thanks for helping out.
:shipit: now.


how to add an account

I'm new to IB and cannot find where can I put my login information

Download Trader Workstation from https://www.interactivebrokers.com/en/index.php?f=674.
Once installed, open TWS and login to the demo account:
username: edemo
password: demouser


preview of prefer_asserts_in_initializer_list lint

2 new lints are coming in linter (prefer_asserts_in_initializer_list and prefer_const_constructors_in_immutables - names might change).
The first one lints asserts in contructor that can be move to initializer list. It allows to show that the asserts are done on parameters. It also improves the probabilty that the prefer_const_constructors_in_immutables rule lints the constructor to become a const constructor.
Is it something that is interessing to enable in flutter ? wdyt ?
(note: I use something similar to detect what immutable class could be const)


Using Logspout on a Synology using db logging driver

Hi,
I am trying to get Logspout working in a Synology NAS environment, but the following requirement seems to be an issue:

logspout will gather logs from other containers that [...] are configured with a logging driver that works with docker logs (journald and json-file).

By default, Synology's Docker uses the db logging driver. Yet, docker logs still works. Portainer also seems to be able to read and stream logs.
After testing, the Synology DSM doesn't seem to like changing the logging driver to json-file. It breaks the friendly UI, listing running containers, stats, etc.
Is there a way to force Logspout to gather logs from containers using the db logging driver?
Thank you! 🤗

Well, that was simpler than expected. Changing this line:
https://github.com/gliderlabs/logspout/blob/0845b6ee9c94e18bbc292ac817c44bfe1d9c762d/router/pump.go#L77
to
 case "json-file", "journald", "db":

Works perfectly. Maybe this could become an environment variable?

Added in v3.2.9


What is the effect of  function (c *client)Scan() ?

Hi~,I know how to use Scan(), but i do not know someting of this function ,like this:
for {
// Make a new Scan RPC for this region
if rpc != nil {
// If it's not the first region, we want to start at whatever the
// last region's StopKey was
startRow = rpc.GetRegionStop()
}
    // TODO: would be nicer to clone it in some way
    rpc, err := hrpc.NewScanRange(ctx, table, startRow, stopRow,
        hrpc.Families(families), hrpc.Filters(filters),
        hrpc.TimeRangeUint64(fromTs, toTs),
        hrpc.MaxVersions(maxVerions),
        hrpc.NumberOfRows(numberOfRows))
    if err != nil {
        return nil, err
    }

    res, err := c.sendRPC(rpc)
    if err != nil {
        return nil, err
    }
    scanres = res.(*pb.ScanResponse)
    results = append(results, scanres.Results...)
    localResults := make([]*hrpc.Result, len(results))
    for idx, result := range results {
        localResults[idx] = hrpc.ToLocalResult(result)
    }
    return localResults, nil

    // TODO: The more_results field of the ScanResponse object was always
    // true, so we should figure out if there's a better way to know when
    // to move on to the next region than making an extra request and
    // seeing if there were no results
    for len(scanres.Results) != 0 {
        rpc = hrpc.NewScanFromID(ctx, table, *scanres.ScannerId, rpc.Key())

        res, err = c.sendRPC(rpc)
        if err != nil {
            return nil, err
        }
        scanres = res.(*pb.ScanResponse)
        results = append(results, scanres.Results...)
    }

    rpc = hrpc.NewCloseFromID(ctx, table, *scanres.ScannerId, rpc.Key())
    if err != nil {
        return nil, err
    }
    res, err = c.sendRPC(rpc)

    // Check to see if this region is the last we should scan (either
    // because (1) it's the last region or (3) because its stop_key is
    // greater than or equal to the stop_key of this scanner provided
    // that (2) we're not trying to scan until the end of the table).
    // (1)
    if len(rpc.GetRegionStop()) == 0 ||
        // (2)                (3)
        len(stopRow) != 0 && bytes.Compare(stopRow, rpc.GetRegionStop()) <= 0 {
        // Do we want to be returning a slice of Result objects or should we just
        // put all the Cells into the same Result object?
        localResults := make([]*hrpc.Result, len(results))
        for idx, result := range results {
            localResults[idx] = hrpc.ToLocalResult(result)
        }
        return localResults, nil
    }
}

Hello, could you try clarify your problem again?


arm64 image

Currently it is not possible to run iperf3 in docker on Raspberry Pi or any other arm base HW.
r0gger/iperf3 image should provide multiplatform build which include linux/arm64

Works with networkstatic/iperf3


In continuation to issue #274

Hi,
In reference to #274, https://github.com/awslabs/aws-sdk-ios-samples/issues/274
Thanks for the reply. I also thought of some roles missing in Cognito Federated Identity console. But I also have an Android version which successfully connects using the parameters above:
private static final String CUSTOMER_SPECIFIC_ENDPOINT = "a22i2y89l436o4.iot.us-west-2.amazonaws.com";
// Cognito pool ID. For this app, pool needs to be unauthenticated pool with
// AWS IoT permissions.
//private static final String COGNITO_POOL_ID = "us-west-2:3e78bed9-9fea-4ab8-aeee-4cd931afd6ae";
private static final String COGNITO_POOL_ID = "us-west-2:3e78bed9-9fea-4ab8-aeee-4cd931afd6ae";
// Name of the AWS IoT policy to attach to a newly created certificate
private static final String AWS_IOT_POLICY_NAME = "pubsub_policy";
Is there any more settings I could ask my clients to check?
Regards

Got this resolved. Thanks


Scaffolding failed for  Failed to get Project Context

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

ID: 6719f08e-3bd7-dc1a-71df-f2ef9fbca9d8
Version Independent ID: 7096fdb3-612e-9e00-bd0b-8ea4886a09ce
Content: Add a model to a Razor Pages app in ASP.NET Core
Content Source: aspnetcore/tutorials/razor-pages/model.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Looks like you're mixing 2.2 and 3.0

Looks like you're mixing 2.2 and 3.0

But how to check and fix this?

Start from the beginning and follow https://docs.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/razor-pages-start?view=aspnetcore-3.0&tabs=visual-studio

I was following that tutorial from beginning, works well until Scaffolding. I tried some Mono a few days ago, is there any possibility these two has any conflicts?  i am reading nuget tutorial right now.

somehow you got 2.2 and 3.0 mixed.
I'd install 3.0 and start from the beginning.

Ok, i will try it that way.

i worked.
it compiled and runnable. except my Code shows lots of Problems:
The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. (CS0012) [RazorPagesMovie]

dotnet build showed no warning. must be something wrong with my Code setting?


nodePackages: update

Description of changes
The last update is at least 2 weeks old.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

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

2 packages marked as broken and skipped:

emanote
emanote.data

3 packages failed to build:

geph.gui
vesktop
wrangler

53 packages built:

akkoma-frontends.akkoma-fe
balena-cli
bat-extras.prettybat
commitlint
concurrently
create-cycle-app
discourse
discourseAllPlugins
documenso
elmPackages.elm-doc-preview
elmPackages.elm-pages
elmPackages.elm-spa
emacsPackages.lsp-bridge
emojione
fast-cli
graphite-cli
homepage-dashboard
image_optim
joplin
lemmy-ui
lighthouse
lv_img_conv
mastodon-bot
matrix-appservice-irc
mx-puppet-discord
nodehun
openvscode-server
pgrok
pgrok.server
pm2
postcss-cli
pot
pscid
pyright
sharedown
shout
tandoor-recipes
teck-programmer
theLoungePlugins.plugins.closepms
theLoungePlugins.plugins.giphy
theLoungePlugins.themes.flat-blue
theLoungePlugins.themes.flat-dark
uppy-companion
vimPlugins.coc-go
vimPlugins.coc-markdownlint
vimPlugins.coc-pyright
vimPlugins.coc-stylelint
vimPlugins.coc-tslint
vimPlugins.coc-tsserver
vimPlugins.coc-vetur
vscode-extensions.ms-python.vscode-pylance
vscode-extensions.rust-lang.rust-analyzer
wasm-text-gen

wrangler, vesktop and geph.gui are all broken on master, so no point in waiting for this PR.


Any example of query documents by selector?

for example: how to query name is tom in users document. Thanks.
Document name: users

{
  "name":"tom",
  "age":19
}
{
  "name":"alex",
  "age":18
}

Hi @mailtokun, our Cloudant Query documentation contains information on how to create an index.
Here's a code sample in our API documentation for querying a Cloudant Query index.

Closing as stale.


Feature- Request: Add onStickyChange to <Sticky/>

I'm submitting a ...

[ ] bug report
[x] feature request
[ ] support request

What is the current behavior?
If I want to lift the isSticky state of a certain <Sticky/> to the parent component, I can't do it.
(setting an ancestor's state within the <Sticky/>'s "children as a function" call yields a React warning (render should not have side-effects)
What is the expected or desired behavior?
Why do you want this? What use case do you have?
My use-case is that when the <Sticky/> gets sticky, I want to render it in some other container (not with position: fixed.
Another use-case could be, styling the <StickyContainer/> (Or another ancestor of the <Sticky/>) differently when the content isSticky=true.
Is there anything else I should know?
I like this lib.

I agree this might be useful functionality to add to StickyContainer. To implement something like it for now, you can have render a component like
class App extends React.Component {
  render() {
    return (
      <StickyContainer>
        <Sticky>
          {stickyProps => (
            <CustomStickyElement
              onStickyChange={handleStickyChange}
              stickyProps={stickyProps}
            />
          )}
        </Sticky>
      </StickyContainer>
    );
  }
}

where CustomStickyElement checks for changes to isSticky and calls the handler accordingly.


Make transparency in SVG more standard compliant

https://stackoverflow.com/a/74427814
Add goal: SVG1.1 compatibility

Done with #415


How to use with VueJS ?

Hi,
i am trying to add this to my TypeScript VueJS2 project, but i get an error.
Here is my Vue component.
<template>

</template>

Here is what i get:
 ERROR  Failed to compile with 1 errors                                                                                4:00:59 PM

 error  in<EMAIL_ADDRESS>
Module parse failed: Unexpected token (35560:38)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|               async destroy() {
|                 this.destroyed = true;
>                 await this._transport?.destroy();
|                 this._transport = null;
|                 if (this._worker) {

 @ ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-2!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/EpubReader.vue?vue&type=script&lang=ts& 10:0-44 25:14-27
 @ ./src/views/EpubReader.vue?vue&type=script&lang=ts&
 @ ./src/views/EpubReader.vue
 @ ./src/router.ts
 @ ./src/main.ts
 @ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8081&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts

Would appreciate any help !

Hello @gotson do you have a sample project that we can try in order to help you with your question?

Hi @aferditamuriqi ,
while creating some small reproduction repos in react and vuejs2 i managed to make it work, but it still displays a warning.
React repo: https://github.com/gotson/react-r2d2bc
Warning when running yarn start:
Compiled with warnings.

Critical dependency: the request of a dependency is an expression

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

WARNING in<EMAIL_ADDRESS>29:45-55
Critical dependency: the request of a dependency is an expression

webpack compiled with 1 warning

Vuejs2 repo: https://github.com/gotson/vue2-r2d2bc
Warning when running npm run serve:
[BABEL] Note: The code generator has deoptimised the styling of<EMAIL_ADDRESS>as it exceeds the max of 5

 WARNING  Compiled with 1 warning                                                                                1:19:07 PM

 warning  in<EMAIL_ADDRESS>
Critical dependency: the request of a dependency is an expression

It seems the issue lies with Webpack 4.x which i am using in my own project, i will explore that route and try to upgrade, see if it fixes the issue.

@aferditamuriqi i confirm that after migrating to Webpack 5 i can use the library. I still encounter the same warnings as above though.

@gotson since we are not using webpack at all. i am not sure what to tell you here, there is nothing planned to investigate this warning. i don't have the resources to prioritize this, but you are welcome to submit any suggestions or PR


Deprecate plugin field target_schema

Originally posted by @tayloramurphy in https://github.com/meltano/meltano/issues/7548#issuecomment-1513551146

Closed by https://github.com/meltano/meltano/pull/8041


Feature request: Support for dual-edge-triggered FFs

Some devices such as Coolrunner-II can have dual-edge FFs internally.

As an example of what I want to be able to process, this is my Verilog model of the FDDCP primitive on Coolrunner-II:

module FDDCP (C, PRE, CLR, D, Q);
    parameter INIT = 0;

    input C, PRE, CLR, D;
    output reg Q;

    initial begin
        Q <= INIT;
    end

    always @(posedge C, negedge C, posedge PRE, posedge CLR) begin
        if (CLR == 1)
            Q <= 0;
        else if (PRE == 1)
            Q <= 1;
        else
            Q <= D;
    end
endmodule

Right now, running proc on this causes yosys to instantly exit saying ERROR: Multiple edge sensitive events found for this signal! Since this gives an error in the proc step, it would be rather tricky to write a later pass to deal with this construct. This feature request would also involve adding a number of new cell types such as $ddff or $ddffsr.
Adding support for inferring dual-edge-triggered flip-flops can also allow yosys to eventually be able to infer DDR input/output cells, which are much more common compared to dual-edge-triggered flip-flops in the logic fabric.
Unfortunately, I don't know what should happen if a user tries to use dual-edge-triggered flip-flops on a target that does not support them. I think that techmapping should either fail with an error or replace these flip-flops with two single-edge-triggered flip-flops and the "XOR trick."

I am also interested about this feature.
Are there any updates?

Dual edge triggered flip flops are generally on the way out, there was once a time where for ASICs it was considered a standard component of the library you had to provide (that nobody used). However these days most standard cell libraries do not come with these, meaning you are also unlikely to see them in any new FPGAs or CPLDs.
Similarly for DDR buffers I'm not sure people would expect to be able to infer these, the complexity with these kinds of interfaces is only growing. Typically you would expect to have controls for things such as delay tuning to implement modern memory interfaces.
It might be better to just use the XOR trick in your verilog, then add a yosys pass that pattern matches for this situation (two flip flops with same data input and same clock with opposite triggers that are xor'd together) and replaces it with the device specific primitive. Then there'd be no need to extend the core of yosys to handle this obscure case, it would just be another device-specific pass.

AFAIK, the issue is only present in the Verilog frontend; RTLIL processes can express such FFs fine (one sync posedge and one sync negedge rule writing to the same register). I'm not sure about the proc pass.


yp-spur: 1.19.0-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository yp-spur to 1.19.0-1:

upstream repository: https://github.com/openspur/yp-spur.git
release repository: https://github.com/openspur/yp-spur-release.git
distro file: noetic/distribution.yaml
bloom version: 0.9.8
previous version for package: 1.18.2-1

ypspur
* Support online device dump (#147 <https://github.com/openspur/yp-spur/issues/147>)
* Update assets to v0.0.9 (#146 <https://github.com/openspur/yp-spur/issues/146>)
* Use snprintf instead of sprintf (#145 <https://github.com/openspur/yp-spur/issues/145>)
* Contributors: Atsushi Watanabe

holding for the upcoming Noetic sync


Trigger from camera support

Hi, want to ask whether you succeed to capture notification from camera when car coming in ? because my anpr camera can be triggered by incoming car

Hi, my requirement didn't need that. What's your camera model? I will check and implement that also.

It's : ds-tcg227-air

Is there already a update?
My issue is maybe the same.
I will like to keep asking the camera if there is a new entry and what it is.
Will use this to forward it to my other python service to check if the car is already registerd.

Hi, I understand your concern about constant polling and you are in need of Event trigger support. We are working on this feature on Dahua cameras and are not sure about the HikVision camera. We will check and update here if we get any updates.


Add multiple dataviews: Visual not loading

When trying to add multiple dataviews into capabilities
the visual doesn't load.  Only getting the loading circle in the top left corner.
capabilites.txt

This is a limitation of Power BI. Your visual's data mapping cannot request data that would result in more than one query. Generally, you should only use 1 data mapping at a time. You can use conditions to switch between them, but only 1 data mapping should be valid under any set of conditions otherwise the query will fail and result in the loading circle that you're seeing.


[XLA] Failure in the OS/X xla/service tests: duplicate symbol

I am getting the following error when running the XLA service unit tests:
duplicate symbol __ZN3xla7PrintToEPKNS_14HloInstructionEPNSt3__113basic_ostreamIcNS3_11char_traitsIcEEEE in:
    bazel-out/local-opt/bin/tensorflow/compiler/xla/service/_objs/user_computation_test/tensorflow/compiler/xla/service/user_computation_test.o
    bazel-out/local-opt/bin/tensorflow/compiler/xla/service/libhlo_matchers.a(hlo_matchers.o)

Command line for running the tests is:
bazel test --test_env TF_CPP_MIN_VLOG_LEVEL=2 --test_size_filters=small,medium,large --config opt --verbose_failures --test_output=all --nocache_test_results tensorflow/compiler/xla/service/...

This is OS/X, head of the master branch, using bazel 0.5.4-homebrew.
Is this a known issue at the moment?

No, I think this a new bug. The fix is to move those two functions in hlo_matchers.h out of line --- currently they are defined in the header which causes a duplicate definition. I'll fix it but it will take a day or two to make it to Github.
(Apologies for the breakage. Sadly our Mac continuous build doesn't build XLA yet because of limited resources, and this linking problem doesn't show up on Linux.)


Search service HTTP 500 errors

The following URLs cause HTTP 500 errors:

/autocomplete?q=:En&supportedFramework=netcoreapp1.0&take=100&prerelease=true
/autocomplete?q=--prerelease%20Swashbuckle&take=1000
/autocomplete?q=-&supportedFramework=netstandard1.3&take=100&prerelease=true
/autocomplete?q=--&supportedFramework=netstandard1.3&take=100&prerelease=true

In general it seems like there are some search queries that cause HTTP 500.

What would be the expected result for these? Filter out the weird characters at the start and return what we can find? Or just return empty result for these as they usually do not match anything out there?

I think returning empty results is fine in this case.

@yishaigalatzer Should we filter out these weird characters? Can be done both on the web side before it hits Lucene, or in Lucene itself.

Was resolved: https://github.com/NuGet/NuGetGallery/issues/3330


missing file tenant-change-modal.component.less

dear hemiaoio,
would you please help add the missing file tenant-change-modal.component.less? thanks!

thanks for this issues ,the file was removed but forget the reference , i fixed it .


Adding Sanity Tests on TPC-DS MapR-DB JSON dataset

To enable these tests, use the category "functional_maprdb".
For ex: bin/run_tests -s Advanced/tpcds -g functional_maprdb -t 300 -n 20 -d
You can also exclude these tests using the dependency "maprdb"
For ex: bin/run_tests -s Advanced -g functional_maprdb -t 300 -n 20 -d -x maprdb
These tests exercise the maprdb format plugin within the mfs storage plugin. They can only be run on a MapR cluster (v5.1 and above).

Hey Krystal, kindly review.

LGTM +1.  Make sure pre-commit tests result is clean.

Thanks Krystal. Will merge once tests are complete.


add mathematical research algorithm

MCDMA algorithm for decision making with step by step evaluation
currently referred by scientists and researchers in the field of cognitive sciences
Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

Please replace this line with an explanation of why you think these changes should be made.

Curating a new topic or collection

[ ] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[ ] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of why you think this topic or collection should be curated.

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing topic or collection, or at least not a single one
[ ] My suggested edits are not about curating a new topic or collection, or at least not a single one
[ ] My suggested edits conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Hi @Glitchfix , Thank you for contributing. But, Unfortunately as per contribution guidelines, we restrict self promotion. Thank you!


⚠ Bofrost.lu has degraded performance

In c827b17, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2704 ms

Resolved: Bofrost.lu performance has improved in c1e848c after 6 minutes.


Replace syncpack with pnpm catalog

https://pnpm.io/catalogs (new in pnpm v9.5.0)
TODO: does dependabot or renovate bot understand pnpm workspace catalogs?

The tip in the docs for catalogs looks useful for automatically migrating to catalogs
I wonder if we want to wait until pnpm update supports catalogs (see caveat). Might be a bit annoying otherwise


adoptium-ca-certificates not in Debian Bookworm repository

Please provide a brief summary of the bug
The package repository at https://packages.adoptium.net/artifactory/deb/ does not provide adoptium-ca-certificates for Debian Bookworm.
Other than that, it works really nice. Thank you for maintaining this distribution!
I realize that Bookworm is only going to be released as stable in three days, but I thought I'd ask beforehand, if you perhaps wanted to get things ready for release.
Please provide steps to reproduce where possible
FROM debian:bookworm-slim
RUN set -eux; \
  apt-get update; \
  apt-get install -y --no-install-recommends \
    wget \
    apt-transport-https \
    ca-certificates
RUN mkdir -p /etc/apt/keyrings; \
  wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc; \
  echo "deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list;
RUN set -eux; \
  apt-get update; \
  apt-get install -y --no-install-recommends \
    temurin-8-jdk

Expected Results
temurin-8-jdk (and thus adoptium-ca-certificates) installs without an error message.
Actual Results
(On Debian Bookworm, add the repository as per the instructions, then try to install any Temurin version.)
[…]
+ apt-get install -y --no-install-recommends temurin-8-jdk
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 temurin-8-jdk : Depends: adoptium-ca-certificates but it is not installable
E: Unable to correct problems, you have held broken packages.

What Java Version are you using?
bash: java: command not found
What is your operating system and platform?
Debian Bookworm
How did you install Java?
No response
Did it work before?
No response
Did you test with the latest update version?
No response
Did you test with other Java versions?
No response
Relevant log output
No response

Exactly the same problem when installing 'temurin-17-jdk'.
Debian 12x64.
What should I do to install jdk-17?

Yep this is broken. A temporary workaroudn is to use bullseye instead of bookworm in the repo file, which will allow it to work (The .deb packages are the same across all versions so it shouldn't cause ay problems)

Yep this is broken. A temporary workaround is to use bullseye instead of bookworm in the repo file, which will allow it to work (The .deb packages are the same across all versions so it shouldn't cause ay problems)

Thanks a lot!
PS: This installs the adoptium-ca-certificates package and can put back bookworm in /etc/apt/sources.list.d/adoptium.list.

@sxa How long does it usually take until changes like this propagate?
% curl -s 'https://packages.adoptium.net/artifactory/deb/dists/bookworm/main/binary-amd64/Packages' | grep 'Package: ' | sort -u
Package: temurin-11-jdk
Package: temurin-11-jre
Package: temurin-17-jdk
Package: temurin-17-jre
Package: temurin-19-jre
Package: temurin-20-jdk
Package: temurin-20-jre
Package: temurin-8-jdk
Package: temurin-8-jre

Still seeing this error, has the package been uploaded? FWIW I'm getting it on aarch64.

Yeah this shouldn't be closed. There's an issue which @gdams is looking at for me to resolve this. The updates have not been fully propogated.

We've got this sorted now and it seems ok for me on Bookworm/aarch64 - let me know if you still get any problems!

hello, it still not working:

@sxa could this be a arm64 vs aarch64 labelling issue?

@karianna @Hergam I've just run with the docker file from the description of this issue and it installed temurin-8-jdk with the adoptium-ca-certificates without problems inside the bookworm container on an Ubuntu 22.04/aarch64 host. Can you clarify what you did before running the apt-get install, and whether you were also on Debian bookworm?


util: Export randomUtils. Use webCrypto for browser environment

Relies on https://github.com/microsoft/vscode-azuretools/pull/1421
NOTE: Well, this PR itself doesn't actually rely on this, but anything using this util version needs to be updated to this dev package
getPseudononymousStringHash now async so I bumped up a minor version since it's a breaking change (though should only be within its own package, but sitll)

Alex already said yes sooooo 😗


examples/data_for_nerf.pkl missing

Hi,
When running train_conditional_nerf.py in a suitable environment, examples/data_for_nerf.pkl cannot be found.
Is there some way to run this code with the data downloaded by https://github.com/bmild/nerf/blob/master/download_example_data.sh perhaps?
Thanks

Hi Matt, I didn't mean to push this training script, please refer to the example jupyter notebook once I update it!


⚠ HDBits has degraded performance

In 81f1899, HDBits ($HDB) experienced degraded performance:

HTTP code: 200
Response time: 5497 ms

Resolved: HDBits performance has improved in d844050 after 10 minutes.


Adding menu buttons that customize the appearance of PDF.js viewer

Certainly, we added two dropdown buttons where user can choose the background color of the viewer and adjust the font-size of the menu items.

It looks like this PR was opened against the mozilla/pdf.js repo by mistake, since it seems to contain mostly testing commits. Hence I'm closing it.
Furthermore, if customization of the viewer is a goal, I really don't think that doing this by adding buttons to the default viewer is the right way to go. Please also remember that the default viewer is used as the UI for the PDF Viewer that is shipping in Firefox.


The footer section is not adjusting properly

The footer section of the webpage is not adjusting or aligning correctly within the layout.

@TeeWrath kindly assign me this issue under gssoc'24

@TeeWrath , kindly assign me this issue under gssoc'24

I would like to work on this issue. Plz do assign me this with gssoc and level tag.


[staging] graphicsmagic: reduce runtime closure bloat

Motivation for this change
Before this commit we had libxml and freetype development files as part
of the runtime closure of graphicsmagick. Both of these combined added
up to 2MiB. With this commit those references are now gone :-)
Things done

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

[x] NixOS

Not sure this actually needs to go to staging.

Dirty cherry-pick back to master doesn't produce any new failures with nixpkgs-review on macos 10.15 & has desired effect.

Not sure this actually needs to go to staging.

It was a few thousand rebuilds an I am in no hurry to get this in. No need to needless rebuild essential all graphics toolchains we have.


fix(styles.css, address.pug): make bottom margin from block details s…

…creen bigger

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


Fix AttrPathNotFound detection

It probably never worked. Instead of crashing, let’s return null so that this can be detected in assertions.
Also fix --show-trace so that developers can see debug issues more easily.
cc @rmcgibbo

I tested this out with the examples from #18 & #19, and this looks very good.

I tested this out with the examples from #18 & #19, and this looks very good.


Hi, can the code run probably?

I can run it, but it doesn't work，Did you solve it？

I can run it, but it doesn't work，Did you solve it？

No, it does not work for me either.

I also found this problem and it is being solved.

I am also looking forward to this code being updated.
I have tried several modifications, such as applying deeper MLPs with patch outputs and positional embedding, they didn't work.
outputs :

patches are the same. are there any suggestions? it would be very grateful.

can't converge at all

Hi, it seems there is a bug in the L2 Attention module.
The weights of the projection matrices for query and key in L2 Attention should be tied (same weights). Otherwise, the Lipschitzness cannot be guaranteed. This is missed in the code.
Hope it could help. :-)

Hi, it seems there is a bug in the L2 Attention module.
The weights of the projection matrices for query and key in L2 Attention should be tied (same weights). Otherwise, the Lipschitzness cannot be guaranteed. This is missed in the code.
Hope it could help. :-)

Excuse me, big shots, did the code run successfully? How to run it?


Execution in unity

Hi, thanks for this great work!
As I'm trying to test YOLO in unity, i imported the project and added the model.onnx as you mentioned it. However, when I run it under unity nothing happens.
Please, what should I do to make the detection work?
Thank u in advance.

My dear friend. It only works when running in a HoloLens 2

Thank you for your answer. Do you have any idea how to make YOLO work in unity by activating the camera?

Well Image detection works fine, only after it has found stuff it tries to locate it in space using the depth camera and Unity doesn't have a Spatial Map inside the editor

Indeed, I'm looking to deploy a deep learning model more precise EfficientPose under unity to estimate the 3D position of an object for a mobile application, but I have no idea on the deployment on unity therefore, I wanted to try with YOLO since I saw through my research that it was deployed and tested already and it worked.


Select should have a debounce when fetching remote data

Reproduction link
https://aucnj9.run.stackblitz.io
Steps to reproduce
Input characters
What is expected?
The search should have a debounce.
What is actually happening?
Currently a request is performed for each character entered into the input.
This results in old data being returned for the initial character entered.

Environment
Info

ng-zorro-antd
8.5.2

Browser
Chrome

The reproduction link is the same link as the demo regarding fetching data remotely.

you can add debounce with rxjs


More... page needs updating

The "More" page from Add-ons Manager is out of date. Still shows CoralCDN, Yahoo, Bing, Gigablast.
"... please file a ticket: http://trac.arantius.com/wiki/Tickets" should probably be updated. I does redirect to github, but may confuse users. Same goes for Homepage.
Nice extension btw, be using it for a while.

I think this all comes from AMO, so should be fixed once various caches expire.  (Because I edited it online ...)

Makes sense. Thanks.

Looks updated for me today, thanks for the report.


Show certificate serial number in admin

Closes #3

Codecov Report

Merging #5 (2247cdd) into main (115f2e6) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
+ Coverage   99.27%   99.33%   +0.06%
==========================================
  Files          13       13
  Lines         274      300      +26
==========================================
+ Hits          272      298      +26
  Misses          2        2

Impacted Files
Coverage Δ

simple_certmanager/admin.py
100.00% <100.00%> (ø)

simple_certmanager/forms.py
100.00% <100.00%> (ø)

simple_certmanager/models.py
100.00% <100.00%> (ø)

testapp/settings.py
100.00% <100.00%> (ø)

tests/test_certificates.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix For incorrect handling of NotifyCollectionChangedAction.Reset

Corrects the handling of NotifyCollectionChangedAction.Reset in SelectingItemsControl.ItemsCollectionChanged from IReactiveDerivedList<>
Currently the reset behavior does not work, as it uses event argument values, always resulting in selection being lost.
After reset, the selection is retained.

Looks like a good fix, any chance you can add a unit test?

For bug repro?

Just so after we accept the PR the bug cant come back, take a look in SelectingItemsControlTests should be fairly easy to add a test for this. Let me know if I can help


Filters for model index page(s)

In GitLab by @jasonpagetas on Jul 9, 2024, 04:02
There should be the ability to filter searches in the devices, software and operating systems tab. This would allow users to filter by things such as device_type or Publisher

added 1m of time spent

marked this issue as blocking #96

marked this issue as related to #23

removed the relation with #96

marked this issue as related to #96

@jasonpagetas, this issue was migrated from gitlab to github. During this migration you were not added as the user whom opened this issue. This message will ensure that you receive further updates on this issue as it progresses.
Further information can be found within #213

In addition to the filtering originally requested a further option was discussed today.
Adding the ability to view by grouped items.  For example all desktops are grouped together, all virtual machines are grouped together. Not sure if this would be grouped based off of manufacturer, model, device type or if it was up to the user to assign a device to a group of items.
The benefit of this is that when applying a filter such as view items a-z and view by groups the user would be presented with the items showing like this
[ Group - Desktops ]

Device 1
Device 2
Device 3
[ Group - Laptops ]
Device 4
Device 6
Device 8
[ Ungrouped ]
Device 5
Device 7
Device 9


ANTLR Management Tasks

I've been sneaking peeks at the source code and here are a couple of things we need to the repo:

[ ] Include the ANTLR generated Parsers / Listeners into the codebase. This way we ensure that any changes that will be generated when the Grammar / ANTLR version changes will be captured into the codebase and will prevent breaking changes when building on new machines.
[ ] Refactor from Visitors to Listeners : 1) we can use the built in parse-tree walker to traverse the parse-tree, 2) we get calls for both entering into a parse-tree node and exiting a parse-tree node in the parse tree. This will make it easier for when we need to do any kind of expression parsing or keep track of hierarchical code.

These were some of the lesson's I've learnt when using ANTLR for my Ph.D. projects since I heavily relied on ANTLR for generating the parsers. If we don't port it to visitors right now, we will have a lot more trouble in the future as the execution logic will become more complicated and become quite a pain in the ass to rewrite.

@burakemir Let me know if this sounds good ? I can start on the PR this weekend

I don't currently see the advantages of either of these. Let's not do this.

In case a new antlr version generated code that breaks someone, and we check that in, how is this preventing breakage? Is the idea that it wouldn't even get checked in? In any case, there is actually a CI system in place where code it regularly generated, built, tested. I'd expect changes of minor version to be tested carefully and not cause breakages, and a major upgrade is an altogether different story. I don't see the point of generated sources checked in, and there are actually conditions in place that would prevent me from doing so.

for switching to listeners instead of visitors, I think it is very nice that right now there is explicit control over what to visit when. I also think it is valuable to be able to change the structure of the result from the parse tree, and I'd imagine a listener would require manually keeping track of stack. How does the use of listeners make things better/easier?

Without including the antlr generate code, it becomes really hard to use this package as a dependency. Go modules assume that all Go code you need to build them is included when you go get the code and it is standard practice for a Go module to include their generated sources. Lots of things break when this is not the case, for example, go mod tidy is unable to run:
example.com/mypackage imports
	github.com/google/mangle/parse imports
	github.com/google/mangle/parse/gen: module github.com/google/mangle@latest found (v0.0.0-20230707132936-395177d4b5ed), but does not contain package github.com/google/mangle/parse/gen```

Makes sense. I will check in the sources.


[Enhancement]: Allow @Container to be used as a meta-annotation

Module
Core
Proposal
Currently the @Container annotation in org.testcontainers.junit.jupiter has @Target(ElementType.FIELD) which prevents it being used as a meta-annotation. If ANNOTATION_TYPE were also added it could be possible to create composable annotations.
The TestcontainersExtension class uses AnnotationSupport.isAnnotated(field, Container.class) which already checks for meta-presence of annotations.

Thanks @eddumelendez!

@philwebb this was released as part of 1.18.1


Update PNG images to remove reference to 'marble'.

Signed-off-by: Chris Gabriel<EMAIL_ADDRESS>

This images should actually no longer be in the samples, since the README was removed. I would just remove the images folder, and move the changes to the tutorial in the Fabric docs

This images should actually no longer be in the samples, since the README was removed. I would just remove the images folder, and move the changes to the tutorial in the Fabric docs

Will do.


Electrum - increase number of change addresses

Need design for https://github.com/BeamMW/beam/issues/1285
Please discuss with @sasha-abramovich

Please add "Advanced" on electrum node box https://zpl.io/2jDWv4r
Open view https://zpl.io/2jDWv4r
Generate regular addresses https://zpl.io/VkdWWgW
Generate change addresses https://zpl.io/2EL11X8
Error when user is trying to create more than 30 addresses https://zpl.io/agjWdJD

not relevant

Was decided to make it automatically. no need design.


Embed ISO19110 into ISO19115 (without linkage)

Can I embed ISO19110 into ISO19115, without linking to it using a gmd:linkagegmd:URL tag?
Is ISO19115-3.2018 supported? It seems that it is not possible to upload XML from the Walloon government's Metawal.
Is an ISO19110 Editor available?

hi, you can extend the 19115 editor to include 19110 elements. That would mean the feature catalog information would be included directly in the dataset metadata. We have not configured that in Geoportal 2.x, but have had this in Geoportal 1.x for several years and could look at porting that over to 2.x.
Is it possible for you to share a 19115 document with 19110 elements embedded? Would help us understand what you are looking for specifically.

Could you elaborate on the decision to remove ISO19110 functionality in 2.x?
The Walloon Metwal uses ISO19115-3.2018 the gfc: namespace for ISO19110 tags.

Any updates?
For examples, you may simply search them on GitHub.
https://github.com/ISO-TC211/schemas/blob/33d31fb3076912be1434717d21fb787db09f4842/19110/gfc/1.1/exampleInstance.xml
https://github.com/metadata101/iso19115-3/blob/357df0c2bfa966444fb1874d7215f83563f51ff4/src/main/plugin/iso19115-3/templates/geodata.xml
https://github.com/eea/geonetwork-eea/blob/5a4c2d866dff0b653a5a32208bfbd9fbef1b72ef/services/src/test/resources/org/fao/geonet/api/records/extent/metadata.iso19115-3_with_three_extent.xml
https://github.com/AlexZeller/ISO19115-3Creator/blob/6c458ab8ef716641d30a263d93d247c50c89bc86/ISO19115Creator/standards.iso.org/iso/19110/gfc/1.1/exampleInstance.xml

https://github.com/metadata101/iso19115-3/blob/357df0c2bfa966444fb1874d7215f83563f51ff4/src/main/plugin/iso19115-3/templates/geodata.xml is the better example.

thanks for the samples and references. I have started configuring the ISO 19115-3 editor for Geoportal 2, but this will take some time to complete as the spec breaks with the earlier 19115/19139 definitions in more ways than just adding the namespaces.

Thanks!

Embedding ISO19110 into ISO19115-3.2018 is good because:

The Feature Catalog can be indexed by Elastic Search, which makes the entity searchable by stuff inside ISO19110; while linking to a separate ISO19110 document does not.
There is no need to take care where the separate document is stored.

Thanks for the enhancement, Marten! 😉

closing as geoportal 2.6.5 (newly released!) now includes ISO 19115-3 and embedded ISO 19110 in the available types. You can include this in an existing install by copying the type to the install:
https://github.com/Esri/geoportal-server-catalog/tree/master/metadata-editor/app/gxe/types/iso-19115-3


NO-ISSUE: Weekly job minor fix - Wrong param type

Fixes the wrong param type introduced with the PR: https://github.com/apache/incubator-kie-kogito-images/pull/1757

PR job #152 was: UNSTABLE
Possible explanation: This should be test failures
Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/152/display/redirect
See console log:

Console Logs
[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1759 - kogito-jobs-service-postgresql: https://github.com/apache/incubator-kie-kogito-images/pull/1759 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1759 - kogito-jobs-service-ephemeral: https://github.com/apache/incubator-kie-kogito-images/pull/1759 completed: UNSTABLE[Pipeline] unstableWARNING: Tests on kogito-jobs-service-ephemeral seems to have failed[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1759 - kogito-task-console: https://github.com/apache/incubator-kie-kogito-images/pull/1759 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1759 - kogito-jobs-service-allinone: https://github.com/apache/incubator-kie-kogito-images/pull/1759 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1759 - kogito-data-index-ephemeral: https://github.com/apache/incubator-kie-kogito-images/pull/1759 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1759 - kogito-swf-builder: https://github.com/apache/incubator-kie-kogito-images/pull/1759 completed: UNSTABLE[Pipeline] unstableWARNING: Tests on kogito-swf-builder seems to have failed[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1759 - kogito-swf-devmode: https://github.com/apache/incubator-kie-kogito-images/pull/1759 completed: UNSTABLE[Pipeline] unstableWARNING: Tests on kogito-swf-devmode seems to have failed[Pipeline] }[Pipeline] // stage[Pipeline] }[Pipeline] // parallel[Pipeline] }[Pipeline] // dir[Pipeline] }[Pipeline] // script[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Declarative: Post Actions)[Pipeline] script[Pipeline] {[Pipeline] sh+ wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/152/api/json?depth=0'[Pipeline] readJSON[Pipeline] sh


Support "As Table" for Legends

(After implementing #59) it would be great to format the legend as table.

+1


Hotmart video Not Downloaded.

Previously I can download teachable video. Now I cant download the video.
https://learn.cantrill.io/courses/730712/lectures/13876041

same here, only option right now for hotmart is tubedigger (paid), waiting to @puemos to allow us to save hotmart videos. (if it's possible)


⚠ Jenkins Plugins Artifactory has degraded performance

In 393dcac, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1211 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 2074d9d after 27 minutes.


can't build with Sphinx v1.6.4

steps to reproduce on ubuntu 17.04:
git clone git@github.com:openmicroscopy/ome-documentation.git
sudo apt install ant
sudo pip install --upgrade Sphinx
cd omero
make html

result:
ant html
Buildfile: /home/bjoern/dev/project/ome-documentation/omero/build.xml

sphinx-deps:

init:

html:
     [exec] Running Sphinx v1.6.4
     [exec]
     [exec] Configuration error:
     [exec] There is a syntax error in your configuration file: Missing parentheses in call to 'print' (conf.py, line 359)
     [exec] Did you change the syntax from 2.x to 3.x?

BUILD FAILED
/home/bjoern/dev/project/ome-documentation/common/rules.xml:75: The following error occurred while executing this line:
/home/bjoern/dev/project/ome-documentation/common/rules.xml:42: exec returned: 1

Total time: 0 seconds
../Makefile:23: die Regel für Ziel „html“ scheiterte
make: *** [html] Fehler 1

is there a specific version of Sphinx required to build this?

workaround for me: download OMERO.doc-5.4.0.zip from https://downloads.openmicroscopy.org/omero/5.4.0/artifacts/

@wotanii: we worked on fixing ome-documentation to work with the Sphinx 1.6 and the Travis build should test the documentation builds with the latest version.
Given the stack trace, your error seems rather related to the usage of Python 3 while we are currently building on Python 2.7. We have not reviewed the changes to support building with Python 3 and this is currently not high-priority but it might be small if anyone wants to contribute with a Python 2 backwards-compatible Pull Request.
For retrieving an existing version, as you rightfully mentioned, the documentation for every OMERO version is available :

either as a zip artifact under https://downloads.openmicroscopy.org/omero//artifacts/
or as a web documentation under https://docs.openmicroscopy.org/omero//

Closing this issue as this is unrelated to the Sphinx version.


Added a keys helper function to util module

This PR adds a keys util function; when playing around with json, its nice to see a high level view.

Great. Thanks.


[Bug]: How to configure puppeteer in Dockerfile with node 18.14.0

Minimal, reproducible example
Docker file
-----------

# ---- Base Node ----
FROM node:18.14.0-buster-slim AS base

WORKDIR /srv

COPY package.json .
..
..
..

PDF SERVICE
-------
 const browser = await puppeteer.launch({
                args: ['--no-sandbox', '--disable-setuid-sandbox'],
            });
            const page = await browser.newPage();
            await page.setContent(html);
            const pdfOptions: any = { format: 'a4', printBackground: true, color: 'black' };
            const pdfBuffer = await page.pdf(pdfOptions);
            await browser.close();
            return pdfBuffer;

Error string
Error: Could not find Chrome (ver. 117.0.5938.149). This can occur if either  1. you did not perform an installation before running the script (e.g. npm install) or  2. your cache path is incorrectly configured (which is: /home/myuser/.cache/puppeteer). For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides/configuration.     at ChromeLauncher.resolveExecutablePath (/srv/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js:298:27)     at ChromeLauncher.executablePath (/srv/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.js:191:25)     at ChromeLauncher.computeLaunchArguments (/srv/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.js:98:37)     at async ChromeLauncher.launch (/srv/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js:79:28)
Bug behavior

[ ] Flaky
[ ] PDF

Background
No response
Expectation
Working in local server, but not working in production docker container
Getting below error
Error: Could not find Chrome (ver. 117.0.5938.149). This can occur if either

you did not perform an installation before running the script (e.g. npm install) or
your cache path is incorrectly configured (which is: /home/myuser/.cache/puppeteer).
For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides/configuration.
at ChromeLauncher.resolveExecutablePath (/srv/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js:298:27)
at ChromeLauncher.executablePath (/srv/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.js:191:25)
at ChromeLauncher.computeLaunchArguments (/srv/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.js:98:37)
at async ChromeLauncher.launch (/srv/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js:79:28)

Reality
Getting error and pdf is not generating
Puppeteer configuration file (if used)
No response
Puppeteer version
21.3.8
Node version
18.14.0-buster-slim
Package manager
npm
Package manager version
9.3.1
Operating system
Windows

Please use the docker image we provide https://github.com/puppeteer/puppeteer/pkgs/container/puppeteer

@OrKoN How to add puppeteer configuration into my docker file ?
Docker file
---- Base Node ----
FROM node:18.14.0-buster-slim AS base
WORKDIR /srv
COPY package.json .
..
..
..

@eldhoseelias please post this kind of questions on stackoverflow as this bug tracker is not the right place for it.


:sparkles: feat: ActionGroup 增加通用 onClick 方法 & 补充 divider 的配置

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (434fb04) 87.41% compared to head (f028be2) 87.43%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #68      +/-   ##
==========================================
+ Coverage   87.41%   87.43%   +0.02%
==========================================
  Files         339      339
  Lines       21824    21868      +44
  Branches      979      983       +4
==========================================
+ Hits        19078    19121      +43
- Misses       2746     2747       +1

Files
Coverage Δ

src/ActionGroup/demos/config.tsx
85.45% <100.00%> (+0.83%)
:arrow_up:

src/ActionGroup/demos/custom.tsx
95.83% <100.00%> (ø)

src/ActionGroup/demos/type.tsx
85.45% <100.00%> (+9.69%)
:arrow_up:

src/ActionGroup/style.ts
100.00% <100.00%> (ø)

src/index.ts
100.00% <100.00%> (ø)

src/ActionGroup/index.tsx
98.00% <94.44%> (-0.37%)
:arrow_down:

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


Appstudio update test-component-pac-jbmu

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-jbmu-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
4 seconds
init

✅ Succeeded
16 seconds
clone-repository

✅ Succeeded
25 seconds
build-container

✅ Succeeded
15 seconds
sast-snyk-check

✅ Succeeded
9 seconds
inspect-image

✅ Succeeded
8 seconds
deprecated-base-image-check

✅ Succeeded
5 minutes
clair-scan

✅ Succeeded
38 seconds
clamav-scan

✅ Succeeded
8 seconds
sbom-json-check

✅ Succeeded
7 seconds
show-summary

✅ Succeeded
7 seconds
show-sbom

Pipelines as Code CI/test-component-pac-jbmu-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
4 seconds
init

✅ Succeeded
16 seconds
clone-repository

✅ Succeeded
25 seconds
build-container

✅ Succeeded
15 seconds
sast-snyk-check

✅ Succeeded
8 seconds
deprecated-base-image-check

✅ Succeeded
5 minutes
clair-scan

✅ Succeeded
8 seconds
sbom-json-check

✅ Succeeded
9 seconds
inspect-image

✅ Succeeded
38 seconds
clamav-scan

✅ Succeeded
7 seconds
show-sbom

✅ Succeeded
7 seconds
show-summary

Pipelines as Code CI/test-component-pac-jbmu-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
7 seconds
sast-snyk-check

✅ Succeeded
28 seconds
build-container

✅ Succeeded
7 seconds
deprecated-base-image-check

✅ Succeeded
8 seconds
clair-scan

✅ Succeeded
8 seconds
inspect-image

✅ Succeeded
37 seconds
clamav-scan

✅ Succeeded
7 seconds
sbom-json-check

✅ Succeeded
8 seconds
show-sbom

✅ Succeeded
6 seconds
show-summary

Pipelines as Code CI/test-component-pac-jbmu-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
7 seconds
sast-snyk-check

✅ Succeeded
28 seconds
build-container

✅ Succeeded
7 seconds
deprecated-base-image-check

✅ Succeeded
8 seconds
clair-scan

✅ Succeeded
37 seconds
clamav-scan

✅ Succeeded
7 seconds
sbom-json-check

✅ Succeeded
8 seconds
inspect-image

✅ Succeeded
8 seconds
show-sbom

✅ Succeeded
6 seconds
show-summary


[2.1.3] Port TryAddSingleton for services #2432

#2432
In 2.1.X we override user services with ours if they set them before services.AddSignalR();.
Can be pretty frustrating and difficult to figure out. Simple fix, low risk
@anurse

Link to my commit: e41764c161574983c49362cfb29ce23eb5941b74
It's a fairly small code change

Approved for 2.1.3.

Done


[SPARK-9349] [SQL] UDAF cleanup

https://issues.apache.org/jira/browse/SPARK-9349
With this PR, we only expose UserDefinedAggregateFunction (an abstract class) and MutableAggregationBuffer (an interface). Other internal wrappers and helper classes are moved to org.apache.spark.sql.execution.aggregate and marked as private[sql].

Merged build triggered.

Merged build started.

Test build #38518 has started for   PR 7687 at commit a875a68.

Test build #38518 has finished for   PR 7687 at commit a875a68.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

test this please.

Test build #1208 has started for   PR 7687 at commit db36542.

Merged build triggered.

Merged build started.

Test build #38577 has started for   PR 7687 at commit db36542.

LGTM

Test build #1208 has finished for   PR 7687 at commit db36542.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

I'm going to merge this since the test failure is unrelated.

Test build #38577 has finished for   PR 7687 at commit db36542.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.


Tweak code generator dependency tracker to be a little less conservative

https://github.com/microsoft/windows-rs/pull/587 introduced a change which dramatically reduced the amount of code being generated for a given set of types. This is largely a step in the direction, but it is potentially a bit too aggressive.
The issue
When generating types using the build! macro, only the types specified will be generated. If for example we specify type T1, T1 itself will be generated, but T1's methods which refer to other types which were not specified will not be generated. In other words, if T1 has a method m1 which takes a T2, but T2 was not specified in the build! macro, m1  will not be generated at all.
This can cause confusion since the docs specify that T1 has a method named m1. The user must know that it is not generated because of a missing dependency.
This is only the case for dependencies of a certain WinRT and COM types' methods and not of other types like free standing functions, structs, delegates, etc and not for these types static methods. Such types will always be generated and cause their arguments and return types to be generated.
A possible fix
There are several ways to fix this issue, but here is a suggestion we can use to kick off conversation:
When generating a COM or WinRT type, generate all methods for such types. For the argument and return types which are not already generated dependencies, generate a simple unit struct with that types name. Wrap these argument types in an NotGenerated<T> struct where T is the unit struct that was just generated.  Ideally NotGenerated<T> would be impossible for users to construct such that it would not be possible to call a method with unimplemented method arguments.
For example, in the case illustrated above, we would generate T1::m1 but its argument would be NotGenerated<T2>.
This should give a clear indication to the user that the type in question is not generated and that they need to do so. While this solution still requires the user to connect the dots between an NotGenerated<T> and the build! macro, this is an improvement over the silent "failure" that currently exists.

I'm working on this now. It's a little complicated but I think we can make this a lot more user-friendly.

As part of implementing #81 its gotten a little more complicated when implementing or extending WinRT types as the caller must be able to implement exclusive interfaces, which are trimmed by the dependency tracker by default. This is not something the dependency tracker could predict, unless perhaps it includes such dependencies based on the inclusion of the macros feature that enables the macros like implement.

Here's an example of how it ends up missing necessary type definitions: https://github.com/microsoft/windows-rs/issues/823#issuecomment-849081098
I think what I'll do is move the dependency tracker from a binary model (type is either present or missing) to a model where a type is fully-defined, minimally-defined, or missing. This is closer to the model used by C++/WinRT to deal with indirect dependencies. In this model, no methods are omitted from types that are imported directly but methods will be omitted from types that are only included to satisfy method declarations. This should be far less confusing and also avoid the issues with the implement macro requiring complete type definitions. It will mean more code gen in some cases, but the gain in usability seems worthwhile.

As of 0.12.0 (#896), methods are no longer omitted, so this should no longer be an issue.


Adds navmap beacon for escape pods

About the PR
Title
Why / Balance
Seems like a useful thing for players to be able to find on the map.
Technical details
n/a
Media
n/a

[x] I have added screenshots/videos to this PR showcasing its changes in-game, or this PR does not require an in-game showcase

Breaking changes
n/a
Changelog
n/a

have to add to the pod yml too but maybe separate pr

Oh, you mean like, add the beacon to the pod itself....I didn't even think of that. I was just thinking of putting these on the station near where the pods spawn...

It's not the worst idea but I'm out of time to do it right now. I'll wait and see if anyone else likes that idea and maybe adjust when I have some time again.

yeah this is kind of iffy but as long as mappers dont actually put it on the pod itself, it should be fine

mappers dont actually put it on the pod itself, it should be fine

oh i just realised putting on the pod would hide it from the station map :trollface:

mappers dont actually put it on the pod itself, it should be fine

oh i just realised putting on the pod would hide it from the station map :trollface:

Haha, yeah, didn't even think of that either, different grids... 🙃

Wouldn't you just put it on the dock airlock instead?

yes anything that is on the grid


Do not hardcode knative in test/prow library

Do not hardcode knative in test/prow library, this is part of the fixes for https://github.com/knative/test-infra/issues/2092
/cc @chaodaiG

Is there a callsite change somewhere?

This function is only referenced by test-infra, and it's used to fix an issue in test-infra, so it won't break things.

/lgtm


Add primary for project download

Related to #1132
Follows #1247

Just tried it, and the proposed file is undefined.zip
Can you use the basename.zip instead ?

I fix the last comments, then let's merge this PR


dynamically add task has problem！！！

hi ,author
when i execute  python add_task.py  ,first has a error
2017-09-04 17:55:12,343: ERROR/MainProcess] Received unregistered task of type u'tasks.sub3'.
The message has been ignored and discarded.
Did you remember to import the module containing this task?
Or m /aybe you're using relative imports?
Please see
http://docs.celeryq.org/en/latest/internals/protocol.html
for more information.
The full contents of the message body was:
'[[99, 100], {}, {"chord": null, "callbacks": null, "errbacks": null, "chain": null}]' (84b)
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/celery/worker/consumer/consumer.py", line 559, in on_task_received
strategy = strategies[type_]
KeyError: u'tasks.sub3'
but,when i  restart (celery worker and celery beat) it  ,it will work properly ，why is that ??
remove_task.py  the same mistake ,
Look forward to your reply

nice to get your feedback @timosir
would you mind show us your code ?
as your description in the issue, i found you add the task 'tasks.sub3', however, in my add_task.py there's only 'tasks.sub' exists not 'tasks.sub3', have you ever change the code?

yes,i change your code.
add_task.py
#!/usr/bin/env python
encoding: utf-8
from datetime import timedelta
from redisbeat.scheduler import RedisScheduler
from tasks import app
if name == "main":
schduler = RedisScheduler(app=app)
schduler.add(**{
'name': 'sub-perminute2',
'task': 'tasks.sub3',
'schedule': timedelta(seconds=3),
'args': (99, 100)
})
############################
task.py
@app.task
def add(x, y):
return x + y
@app.task
def sub(x, y):
return x - y
@app.task
def sub1(x, y):
return x * y
@app.task
def sub2(x, y):
return x * y
@app.task
def sub3(x, y):
return x * y
because ,i have many new task need add. so i change code .

maybe you can beauty your code for better debug...  lol..
both with Tab or
```
code
```
are ok

#!/usr/bin/env python
encoding: utf-8
from datetime import timedelta
from redisbeat.scheduler import RedisScheduler
from tasks import app
if name == "main":
schduler = RedisScheduler(app=app)
schduler.add(**{
'name': 'sub-perminute2',
'task': 'tasks.sub3',
'schedule': timedelta(seconds=3),
'args': (99, 100)
})


Makes "I don't understand" message two sentences.

Removes a comma and adds period and new sentence to the "I don't understand" message.
Checklist

[ x] I've reviewed my own code
[ ] I've executed go build ./... and confirmed the build passes
[ ] I've run go test ./... and confirmed the tests pass

Thanks for doing this, @czcollier!


zerk VB

skill cd after TS an cyclone doesn't appear in cd bar

Found the issue, I'll fix it tomorrow.

Nevermind, fixed in d2e2ca9b09aaed29bd3ca779843fcc2676e76014.


Feature/experiment collection

Close #606 and close #259 : instead of embedding an experiment_series within a rules file, this branch adds a dedicated frontend component (now called ExperimentCollection, open to alternative suggestions) and backend view which goes through the experiments in an ExperimentSeries (which I didn't rename just yet, as this is quite the migration hassle).
The reasoning is as follows: first_experiments and last_experiments will always be run in order. If an ExpererimentSeries has set dashboard=True, the ExperimentCollection component will show a dashboard of the randomized_experiments. Clicking on a tile will lead to that experiment.

otherwise, it will redirect to the next experiment of the randomized_experiments.
If an ExperimentCollection has a dashboard, the embedded experiments can run multiple times. In fact, right now, we wouldn't be able to exit the ExperimentCollection's dashboard phase and continue to last_experiments. This is functionality left for later. The scss (copied from Toontjehoger) also still needs some attention, but was kept mostly in its orginal form as a reminder to integrate other features of Toontjehoger (showing logos, scores, extra information) into this component as well.
NB: this is a breaking change. TODO after deploy: add slugs to the existing ExperimentSeries on acceptance and production.

https://github.com/Amsterdam-Music-Lab/MUSCLE/assets/8208970/358dad38-abda-4f06-a52c-7e4c39ba988d
Like I mentioned before: Apparently my experiments crash / freeze in some sort of infinite loop when navigating to them from the Experiment Collection dashboard. Perhaps not even related to this PR, I'll let you know whether this is the case or not.
Warning: Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.
Experiment@http://localhost:3000/static/js/bundle.js:1293:8
withRouter(Experiment)@http://localhost:3000/static/js/bundle.js:40433:36
Route@http://localhost:3000/static/js/bundle.js:40214:34
Switch@http://localhost:3000/static/js/bundle.js:40385:34
Router@http://localhost:3000/static/js/bundle.js:39896:34
BrowserRouter@http://localhost:3000/static/js/bundle.js:39553:40
App@http://localhost:3000/static/js/bundle.js:355:73

Design-wise I think it would be nice to leave some space above the dashboard panel on larger screens:

On smaller screens I think it would be nice to either

Leave no space between the panel and the edge of the viewport and remove the rounded border, or:
Add spacing between the panel and the viewport, both vertically and horizontally

As for the design, it is indeed a bit off now. But I'd rather not introduce spacing now, as the layout will change after #797. I also get the infinite loop error now! I'll have to look into why that happens, strange I didn't run into it before.

Fixed - the infinite loop was caused by a faulty merge, I think - a dependency was left in the Experiment.useEffect hook that shouldn't have been there.