OWL Tools Jar - Unable to integrate into Maven based Application - Windows 8

Hello,
Have downloaded jar of OWLTools from https://github.com/owlcollab/owltools/releases/tag/v0.3.0,
My pom.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.mycompany</groupId>
    <artifactId>SemanticDistance</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>jar</packaging>
    <build>
        <plugins>
            <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-install-plugin</artifactId>
            <version>2.5.2</version>
            <executions>
                <execution>
                    <phase>initialize</phase>
                    <goals>
                        <goal>install-file</goal>
                    </goals>
                    <configuration>
                        <file>${basedir}/owltools.jar</file>
                        <groupId>com.mycompany</groupId>
                        <artifactId>SemanticDistance</artifactId>
                        <version>1.0</version>
                        <packaging>jar</packaging>
                    </configuration>
                </execution>
            </executions>
        </plugin>
        </plugins>
</build>
    <dependencies>
        <dependency>
            <groupId>com.mycompany</groupId>
    <artifactId>SemanticDistance</artifactId>
    <version>1.0-SNAPSHOT</version>
            <exclusions>
        <exclusion>
            <groupId>com.google.inject</groupId>
            <artifactId>guice</artifactId>
        </exclusion>
        <exclusion>
            <groupId>com.google.inject.extensions</groupId>
            <artifactId>guice-multibindings</artifactId>
        </exclusion>
        <exclusion>
            <groupId>com.google.inject.extensions</groupId>
            <artifactId>guice-assistedinject</artifactId>
        </exclusion>
    </exclusions>
</dependency>
  <dependency>
    <groupId>com.google.inject</groupId>
    <artifactId>guice</artifactId>
    <version>4.1.0</version>
</dependency>
        <dependency>
    <groupId>com.google.inject.extensions</groupId>
    <artifactId>guice-multibindings</artifactId>
    <version>4.0</version>
</dependency>
<dependency>
    <groupId>net.sourceforge.owlapi</groupId>
    <artifactId>owlapi-fixers</artifactId>
    <version>5.0.1</version>
</dependency>
        <dependency>
            <groupId>net.sourceforge.owlapi</groupId>
            <artifactId>owlapi-api</artifactId>
            <version>5.0.5</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.7.24</version>
        </dependency>
        <dependency>
            <groupId>net.sourceforge.owlapi</groupId>
            <artifactId>owlapi-osgidistribution</artifactId>
            <version>5.0.5</version>
            <type>jar</type>
        </dependency>
    </dependencies>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
    </properties>
</project>

Application uses import owltools.graph - This throws up error owltools - package does not exist.
Is this the correct way to include jar into maven based app?
How do we confirm that maven has installed this jar?
Am i doing something wrong?
Kindly help..

Is it something to do with Windows?
Is the package stable on Linux? Or are there any issues on Linux?
Stuck in my development work, Kindly help me solve this.

At what stage does the error occur? During your maven build? Or when you're trying to run it?

Have directly used maven install plugin to install owltools jar file in my application.. not sure if it's installed.. when I put "import owltools.graph" I get compilation error that the package doesn't exist

It doesn't look like you have owltools in your dependencies. You need to add it there in your POM.

Have added path to owltools.jar in pom.xml to be installed by maven install
plugin. Please see pom.xml..
As I could not build owltools on Windows, have directly downloaded
owltools.jar to be used in my application..
On Tue, Jun 13, 2017, 6:05 PM Jim Balhoff<EMAIL_ADDRESS>wrote:

It doesn't look like you have owltools in your dependencies. You need to
add it there in your POM.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/owlcollab/owltools/issues/202#issuecomment-308101517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYvmOg2L1DAVYVQkjIRpKALt4fmWvDKfks5sDoH-gaJpZM4N2riK
.

As far as I know this won't add it to your classpath. It needs to be listed in the dependencies section.

Will try it...
On Tue, Jun 13, 2017, 6:09 PM Jim Balhoff<EMAIL_ADDRESS>wrote:

As far as I know this won't add it to your classpath. It needs to be
listed in the dependencies section.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/owlcollab/owltools/issues/202#issuecomment-308102467,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYvmOjb5t4Sanqnxn1sJmplB0XSsQt7Vks5sDoLkgaJpZM4N2riK
.

May i know the group id to be specified in the dependency section for owl tools?
My pom.xml is like this:

4.0.0
com.mycompany
SemanticDistance
1.0-SNAPSHOT
jar

org.apache.maven.plugins
maven-install-plugin
2.5.2

initialize

install-file

                        **${basedir}/owltools.jar
com.mycompany
SemanticDistance
0.3.0
jar**

com.mycompany
SemanticDistance
1.0-SNAPSHOT

com.google.inject
guice

com.google.inject.extensions
guice-multibindings

com.google.inject.extensions
guice-assistedinject

com.google.inject
guice
4.1.0

com.google.inject.extensions
guice-multibindings
4.0

net.sourceforge.owlapi
owlapi-fixers
5.0.1

net.sourceforge.owlapi
owlapi-api
5.0.5
jar

org.slf4j
slf4j-log4j12
1.7.24

net.sourceforge.owlapi
owlapi-osgidistribution
5.0.5
jar

        **
org.bbop
OWLTools-Parent
0.3.0-SNAPSHOT
pom
**

UTF-8
1.8
1.8

Is this correct?
Without "import owltools.graph" statement, application compiles... With the import statement, we get compilation error - Package does'nt exist...
Please help

May i know the group id to be specified in the dependency section for owl tools?
My pom.xml is like this:

4.0.0
com.mycompany
SemanticDistance
1.0-SNAPSHOT
jar

org.apache.maven.plugins
maven-install-plugin
2.5.2

initialize

install-file

${basedir}/owltools.jar
com.mycompany
SemanticDistance
0.3.0
jar

com.mycompany
SemanticDistance
1.0-SNAPSHOT

com.google.inject
guice

com.google.inject.extensions
guice-multibindings

com.google.inject.extensions
guice-assistedinject

com.google.inject
guice
4.1.0

com.google.inject.extensions
guice-multibindings
4.0

net.sourceforge.owlapi
owlapi-fixers
5.0.1

net.sourceforge.owlapi
owlapi-api
5.0.5
jar

org.slf4j
slf4j-log4j12
1.7.24

net.sourceforge.owlapi
owlapi-osgidistribution
5.0.5
jar

org.bbop
OWLTools-Parent
0.3.0-SNAPSHOT
pom

UTF-8
1.8
1.8

Is this correct?
Without "import owltools.graph" statement, application compiles... With the import statement, we get compilation error - Package does'nt exist...
Please help

Hope this pom.xml is fine,
Still getting compilation error on using the statement import owltools.graph in my code,
Please see this pom.xml:

4.0.0
com.mycompany
SemanticDistance
1.0-SNAPSHOT
jar

org.apache.maven.plugins
maven-install-plugin
2.5.2

initialize

install-file

${basedir}/owltools.jar
com.mycompany
SemanticDistance
0.3.0
jar

com.mycompany
SemanticDistance
1.0-SNAPSHOT

com.google.inject
guice

com.google.inject.extensions
guice-multibindings

com.google.inject.extensions
guice-assistedinject

com.google.inject
guice
4.1.0

com.google.inject.extensions
guice-multibindings
4.0

net.sourceforge.owlapi
owlapi-fixers
5.0.1

net.sourceforge.owlapi
owlapi-api
5.0.5
jar

org.slf4j
slf4j-log4j12
1.7.24

net.sourceforge.owlapi
owlapi-osgidistribution
5.0.5
jar

org.bbop
OWLTools-Parent
0.3.0-SNAPSHOT
pom

UTF-8
1.8
1.8

kindly help, am stuck

Kindly help me on this issue... Am stuck in my development..

What if you try depending on OWLTools-Core instead of OWLTools-Parent, and remove <type>pom</type>? Do you have the owltools jars installed in your local maven repository? If not, you may need to add the BBOP repository to your POM:
<repositories>
		<repository>
			<id>BerkeleyBOP</id>
			<name>Berkeley BOP maven repository</name>
			<url>http://code.berkeleybop.org/maven/repository/</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>BerkeleyBOPSnapshot</id>
			<url>http://code.berkeleybop.org/maven/snapshot-repository/</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
	</repositories>

Thanks for your quick response, shall try this and get back... Thanks a ton

Back after quite some time,
Have found org/bbop folder in local maven repository,
But not sure if its correctly installed,
Added BBOP repository  to pom.xml as suggested,
But am getting the following error while building:
The POM for org.bbop:OWLTools-Core:pom:0 is missing, no dependency information available
Can you kindly help me out?

Earlier problem is solved, But owltools.graph package does not exist
Able to compile successfully, But adding the statement import owltools.graph causes error - Package does not exist,
Kindly help... Am stuck


create a wiki about different Algorithms

what about creating a wiki about different Algorithms in the wiki tab with different pages and more.
it's better than putting everything in the README file.

But isn't that too much work lol


utils: Remove duplicate developer backfilling

Change seems fine

What's going on here?

https://github.com/flathub-infra/website/pull/2631#issuecomment-1962844735


Fix AvoidDefaultValueForMandatoryParameter documentation, rule and tests

PR Summary
Fixed #876

The documentation was not updated when the PSProvideDefaultParameterValue was changed to PSAvoidDefaultValueForMandatoryParameter (see issue)
Fix Implementation  not alwasy warn, even when not using CmdletBinding
Existing tests were questionable -> complete refactoring

PR Checklist
Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets. Please mark anything not applicable to this PR NA.

[x] PR has a meaningful title

[ x Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] User facing documentation needed
[x] Change is not breaking. There will be warnings (by design) where there were not warnings but this is by design and therefore not a breaking change.
[x] Make sure you've added a new test if existing tests do not effectively test the code changed
[x] This PR is ready to merge and is not work in progress

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready

The changelog.md file has not been modified, will it be done later?

I think the changelog gets only updated with all PRs at release time (which should hopefully be soon)


Added optional parameter to pass random seeds

This will allow fine-grained control of seeds used to generator a prompt. This is an attempt to address this issue:
https://github.com/adieyal/sd-dynamic-prompts/issues/320
If we take this route, then the extension would use it something like this:
p.all_seeds, p.all_subseeds = get_seeds(...)
all_prompts = prompt_generator.generate(prompt, num_prompts, seeds=p.all_seeds)

The disadvantage is that at this point we don't know if the generator is a RandomPromptGenerator or something else. The .generate(...) already accepts **kwargs so that it doesn't require a change in signature. An alternative is to inject it into the generator's constructor. That's cleaner in that we aren't sending unnecessary parameters all over the place, but doesn't feel right since it limits the generator to only producing a given number of prompts before it has to be re-created.
Thoughts?

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.01 :tada:

Comparison is base (0cddd70) 97.93% compared to head (55e7e8d) 97.95%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
+ Coverage   97.93%   97.95%   +0.01%
==========================================
  Files          69       69
  Lines        2712     2733      +21
==========================================
+ Hits         2656     2677      +21
  Misses         56       56

Impacted Files
Coverage Δ

src/dynamicprompts/__init__.py
100.00% <100.00%> (ø)

src/dynamicprompts/generators/randomprompt.py
100.00% <100.00%> (ø)

tests/generators/test_random.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Bump version to 0.19.2

0.19.2 has been published. Just so you know, you don't need to manually change the version in package.json and create a pull request any more. Just let @jcreamer898 or myself know you need a release and we can do it automatically using standard-version, which also updates the changelog for us. 👍


Added creation of wildcard CNAME records

Towards https://github.com/giantswarm/giantswarm/issues/29686#issuecomment-1959461605
Related https://github.com/giantswarm/giantswarm/issues/28848
This PR adds a wildcard CNAME record to the cluster's public DNS zone.

@vvondruska We need the wildcard record in the private DNS zone for private clusters too.


Remove .onChange events for state objects

Currently, all state objects (State/Computed/ComputedPairs/Tween/Spring) provide an .onChange event, so that user code can detect and respond to changes in a state object's value, without having to implement a custom object to hook into the reactive graph.
However, there's two large problems with events as they currently stand:

if they're not disconnected after use, they can cause massive leaks and force entire reactive graphs to be held in memory
they seem to lead to anti-patterns in codebases where they're used; for example, daisy-chaining together state objects using onChange, rather than using computed objects (which can be properly accelerated by Fusion).

The first problem may be technically possible to solve, but it would likely involve adding a significant level of overhead. The second problem is much more serious and might be better to avoid entirely.
The original motivation for adding these events is for compatibility: if an end user is attempting to embed a non-Fusion UI inside a Fusion UI, it would be useful to have an imperative 'escape hatch' so they can communicate changes in state to their non-Fusion UI.
I'm not sure what the correct solution to this problem is, but I don't think events work here. I've already been working to remove all uses of events internally in Fusion in favour of using the reactive graph, so this wouldn't require any large refactors of library code to remove.

I'm wondering if it's worth shipping the first version of Fusion without support for this feature?

After further investigation this is definitely important enough to support, because it's a vital part of getting non-Fusion UI and Fusion UI to work together.
To be more specific about the kinds of anti-patterns I've noticed onChange causes, take this code example:
local numCoins = State(50)

local doubleCoins = State(numCoins:get() * 2)
numCoins.onChange:Connect(function()
    doubleCoins:set(numCoins:get() * 2)
end)

In the above code, the developer was attempting to express a relationship between doubleCoins and numCoins - specifically, they were trying to say "doubleCoins should always be numCoins * 2".
While the above code works, it's smelly:

code duplication - we're writing the same calculation twice, and they need to be identical. However, we could accidentally forget to change one, or make a typo, or introduce some other discrepancy.
implicitness - the relationship between the two objects is not explicit. Because we're handling updating doubleCoins ourselves, Fusion can't see that it's directly dependent on numCoins, and so can't optimise.
writable - even though we should only set doubleCoins to numCoins * 2, and we expect it to equal that all the time, it's still possible for another part of the code to set it to another unrelated value and break everything.

Fusion already has a far better object for expressing these kinds of relationships cleanly, explicitly and safely: computed objects. The above example can be written much more cleanly using a computed object:
local numCoins = State(50)

local doubleCoins = Computed(function()
    return numCoins:get() * 2
end)

This is much less smelly:

dry - we only write the calculation once, so we can't accidentally mess it up
explicit - Fusion can now detect and optimise the dependency on numCoins, making this faster to update
read-only - computed objects can't be written to, so the above relationship is guaranteed to always hold

This is an example of where .onChange has allowed for developers to write less sound code by accident. I consider this to be a failure of API design; it's too easy and enticing to use onChange rather than using a proper reactive solution.
I think, if I replace this with another API, it needs to explicitly and visibly be for compatibility with non-Fusion code. It shouldn't appear next to reactive objects as .onChange does now, because that makes it seem like it's alright to mix in with reactive code. In reality, that's rarely the case, and a reactive solution exists and works better.

One API design I'm currently considering is introducing a new reactive object, Compat, which lets you watch for these kinds of lifecycle events that shouldn't normally be used in Fusion code:
local numCoins = State(50)
local doubleCoins = Computed(function() return numCoins:get() * 2 end)

local compat = Compat(doubleCoins)
local disconnect = compat:onChange(function()
    print("doubleCoins has changed")
end)

(this isn't a final API design by the way, it's just a vague idea that took me 5 minutes to come up with)
This is, technically speaking, not really different from onChange - it has the same uses and problems. However, there's benefits to adding this intermediate step:

reactive objects (State/Computed/ComputedPairs/Tween/Spring) no longer have to maintain their own implementation of onChange - there's now just one implementation inside Compat
the name 'Compat' shows that this API is intended for making non-Fusion UIs compatible with Fusion, rather than presenting itself as an API intended for common use
it adds friction to the process of using these events, which can push developers towards the simpler and cleaner reactive solutions; not all APIs should be frictionless to use!

Of course, this is very much a work in progress, and I'd love to hear more feedback around this.

This seems like a much nicer alternative of “embedded”onChange, especially since it can be used with non-Fusion UIs. I’m 100% for this change.

Made the change 🎉


run by docker

it is useful to run peachdocs by docker image with docs dir mount
like this or something like this
docker pull peachdocs:latest
docker run -v ./opt/my.peach:/opt/peachdoc  peachdocs:latest --name=my-docs-container

thats why we need Dockerfile example (may be) or offical image for peachdoc

Thanks your advice!

i have just create first working version for my docs site
https://gist.github.com/allustin/3aa6c8e937186ba70642
i have not implemented entrypoint and always rebuild it from peach source, but it is working now.
P.S. Some code is have been get from gogs docker file ;-)

Aha, that's clever! Thanks!


Bug - Crash on Create  XeBuild

trying to RGH a Trinity with a aceV3 i am able to do everything tell i get to the point i have to create the XeBuild. it crashes no mater what i do and in compatibily mode
Error.log

Not a bug. Access is denied errors, basically an antivirus or something is accessing the files while you try to use it. Please exclude JR from antivirus such as Windows Defender, etc.
I will look into catching the bug more gracefully.
Kind Regards,
Josh

Thank you I will do that and get back to you
Sent from my iPhone

On Sep 1, 2022, at 8:13 PM, Josh Davidson @.***> wrote:

Not a bug. Access is denied errors, basically an antivirus or something is accessing the files while you try to use it. Please exclude JR from antivirus such as Windows Defender, etc.
I will look into catching the bug more gracefully.
Kind Regards,
Josh
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

That was the issue.  Thank you for your time
Sent from my iPhone

On Sep 1, 2022, at 8:14 PM, Nathan Mccue @.***> wrote:
 Thank you I will do that and get back to you
Sent from my iPhone

On Sep 1, 2022, at 8:13 PM, Josh Davidson @.***> wrote:

Not a bug. Access is denied errors, basically an antivirus or something is accessing the files while you try to use it. Please exclude JR from antivirus such as Windows Defender, etc.
I will look into catching the bug more gracefully.
Kind Regards,
Josh
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

No problem. Glad you got it working!
Kind Regards,
Josh


matchingFn is private now

please, change to public as documented.

PR merged https://github.com/Gbuomprisco/ng2-tag-input/pull/210


SolvableOrderCache may deadlock

We have seen some alerts of the form

2021-12-28T12:10:19.054Z ERROR solver::driver: single run errored: get_orders
Caused by:
0: error sending request for url (http://.../api/v2/solvable_orders): error trying to connect: tcp connect error: Connection refused (os error 111)
1: error trying to connect: tcp connect error: Connection refused (os error 111)

Which come from our API pod not being ready. Our readiness check tests if we can fetch the list of solvable orders, which seemingly we couldn't at the time (I tested it manually and got a 503)
The logs show no entries in this timeframe (normally there is a "updated solvable orders" message every few seconds): https://logs.gnosisdev.com/goto/12fb4a80-67db-11ec-b0ab-3756576dadd4.
This leads me to believe that there was some form of deadlock on the solvable orders cache preventing it from being updated and preventing people from querying the list of solvable orders.
I noticed that we use a std Mutex in this component which can be dangerous in combination with tokio. However, I can't see how we might be holding it across awaits, so I'm not sure it is related. The issue also seems to only be happening very sporadically. It does however, lead to ~5 minute downtime.

In this case we do not update the solvable orders as they cannot have changed.

We should in this case still be able to query solvable_orders though. I created this task in reaction to seeing 503 alerts from our pod (an availability metric that I think we should try to minimise)

Closing this issue as it seems like the upshot of there being a deadlock is not correct.

I think there might have been a deadlock like I say in the last paragraph. But not sure if it was in solvable_orders.


feat: authenticate to vsphere base template using ssh private key and ssh auth agent.

What problem does this PR solve?:

Reverts disabling ssh password authentication for all the users and adds deprecation warning
Enables ssh private key and ssh auth agent based authentication for base templates

Which issue(s) does this PR fix?:

https://jira.d2iq.com/browse/D2IQ-92865

Special notes for your reviewer:

The warning will be ansible debug statement
 vsphere-clone: TASK [sysprep : Deprecation warning for disabling password authentication] *****
      sphere-clone: ok: [default] => {
vsphere-clone:     "msg": "WARN: SSH password based authentication will be disabled in future releases"
      vsphere-clone: }

Does this PR introduce a user-facing change?:

enable ssh private key and ssh agent based authentication for vsphere image builder

Since we built the new base 7.9 template from scratch again the intermittent shutdown problem is back :(
centos 7.9 build failed because of shutdown:
https://teamcity.mesosphere.io/buildConfiguration/ClosedSource_KonvoyImageBuilder_E2eRhel79ovaOfflineFips/3606599?
centos 7.9 FIPS build passed: https://teamcity.mesosphere.io/buildConfiguration/ClosedSource_KonvoyImageBuilder_Bui/3606612?buildTab=log&focusLine=3377&linesState=430
All RHEL 8.4 OVA build passed.
We will have to replace base template for RHEL 7.9 manually in vsphere.


On branch patch, replace the owner by its URI

The Patch method of mangal will preserve the value of the owner
field. It requires one additional request to get the owner id from the owner
username. Not complicated, but needs to make sure that the root to users
is correct.

Done in d16bb8c


DOC: Add examples to scipy.ndimage.filters

It would be nice to show the original image and the filtered image side-by-side in the example so that it's immediately obvious what changed.

You mean like I just did for gaussian_filter?

Yes, just like that.

LGTM modulo nitpicks.

@person142 I adjusted the Return documentation to what you suggested.

Looks good, thanks @MartinThoma.


Issue 5 - Deployment

Deployment
User Story
As a boot camp student:
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
Acceptance Criteria
GIVEN a Prework Study Guide website:
WHEN I visit the website using the URL,
THEN I can access my website from any browser.

DONE! I think GitHub might have updated cause some of the reference images don't match up with what I'm seeing. Figured it out tho.


Add mypy check in workflow

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.42%. Comparing base (82fc617) to head (05f4d02).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
- Coverage   94.01%   93.42%   -0.60%
==========================================
  Files          34       32       -2
  Lines        1622     1551      -71
==========================================
- Hits         1525     1449      -76
- Misses         97      102       +5

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


Issue with Wyomind Cronscheduler

i am gettign this error in log file , my catalog price rule reset on mid-night.
PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function Magento\Cron\Observer\ProcessCronQueueObserver::__construct(), 11 passed in /home/srikoreka/releases/20190716070528/vendor/wyomind/cronscheduler/Plugin/Cron/Observer/ProcessCronQueueObserver.php on line 72 and exactly 13 expected in /home/srikoreka/releases/20190716070528/vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php:161

These modules are unfortunately incompatible with each other.


Data Flow diagram

Data Flow diagram for the chat bot and admin SPA

Yep, same auth for the web app, regardless of dashboard users and admin users

Data Flow diagram updated to reflect Red Cross AUTH for the SPA in addition to the bot channels.

@m4thfr34k - This looks good. Merging the PR now.


rename STOI

What does this PR do?
unify the STOI name, part of #729
Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@Borda I find STOI is more offen called Short-Time Objective Intelligibility than Short-Term Objective Intelligibility. Could we change the full name to Short-Time Objective Intelligibility?

Seems its name in papers is Short-Time Objective Intelligibility (a mistake in older doc :) ). So, I guess it's better to change it before a new release


RDKit reaction produces wrong double bond stereochemistry

For a quite basic reaction RDKit since 2020.09 produces wrong stereochemistry on double bond. Last know version that worked correctly is 2020.03.
In following reaction latest RDKit (2021.03) is producing chlorines in cis position instead of trans.

Code to reproduce
from rdkit.Chem import AllChem
from rdkit import Chem
rxn = AllChem.ReactionFromSmarts('[N:4][C:6](/[Cl:9])=[C:7](\\[Cl:10])[C:11].[Br:5]>>[N:4].[Br:5][CX3:6](\\[Cl:9])=[CX3:7](/[Cl:10])[C:11]')
res = rxn.RunReactants((Chem.MolFromSmiles('C\\C(Cl)=C(\\N)Cl'), Chem.MolFromSmiles('[Br]')))
assert Chem.MolToSmiles(res[0][1]) == 'C/C(Cl)=C(\\Cl)Br'

Version info:

RDKit version: 2021.03
OS: MacOS Big Sur
Python version (if relevant): 3.8
Are you using conda? Yes
If you are using conda, which channel did you install the rdkit from? conda-forge

Pinging @ricrogz

@ricrogz I didn't mean absolute configuration, rather relative position of chlorine atoms.
Maybe a drawing will be more precise.
Produced:

Expected:

Sorry, you are right, something is wrong. I had just had a quick look at your initial message in my email, and somehow got the impression that the image depicted the problem, not the correct reaction. I'll look into it.


SAK-49471 Samigo include question text and score when exporting responses

…estion text and score

Thanks for the review @ern


Any solution for GrapheneOS? Ursache 3 Etwas ist schief gelaufen.

I have a GrapheneOS installed on my Pixel 3a.
Well in GrapheneOS we don't really have anything to do with google services, including google Benachrichtigungen.
I really want to use the app. like all of us should use the app. But I don't want to go back to Android as I'm more than happy with GrapheneOS. I was just wounding if someone has any idea or solution on how to solve it?

I would also close this issue as this topic is already mentioned here: #484
There is also an FAQ entry available regarding the apk topic: https://www.coronawarn.app/en/faq/#apk


Log to file only if the file exists

If LOG_FILE config option contained invalid file, pdns admin wouldn't start.
Also, it wasn't possible to log only to stdout/stderr correctly, because
setting the log file to /dev/stdout would double the logs messages as the pdns
admin is already logging to the stderr.

Should have more logic;

if both path/folder and file exists, log as usual
if path/folder exists, but not the file; create file
if path/folder doesn't exist, exit with error (or at least display error)

User shouldn't have to create the logfile manually (but the path; sure).

You are right that the file doesn't need to exist prior logger can log to it. I've removed that check. But I wouldn't complicate it with checks for path/folder. My main goal of this PR is let the user skip the log file, because when running in docker or under uwsgi, systemd.. you don't care about log files, only stdout/stderr is important.

I am ok with this PR. Merging. Thanks @pschiffe .


fix(sdk): [EPD-2310] 💀 getBoolAssignment -> 👶 getBooleanAssignment

labels: mergeable
Fixes: EPD-2310
Motivation and Context
The README refers to a getBooleanAssignment method that doesnt exist.
From Slack discussion:
Sven
  1 hour ago
Yes I think the JS clients are odd in that they use getBoolAssignment (even though the type is boolean :confused_dog: ) — feel free to update the docs to fix it! :slightly_smiling_face:

felipecsl
  [1 hour ago](https://eppo-group.slack.com/archives/C0541NTN6QH/p1717539948841059?thread_ts=1717539554.110119&cid=C0541NTN6QH)
will do!

Aaron
  21 minutes ago
OR... hear me out... make the correctly named assignment and throw on a @deprecated to that one :sweat_smile:

According to Semver, this will require a minor version bump since this is a backwards compatible change.
Description

Deprecate getBoolAssignment
Redirect getBoolAssignment to getBooleanAssignment
Add some JSDocs because why not

How has this been tested?
Ran unit tests

Once merged, this will require docs updates to https://github.com/Eppo-exp/js-client-sdk/blob/main/README.md#assign-anywhere

🔥
Don't forget to bump version (and also need to update downstream libs to use the new version)

@schmit should I do that in the same PR or a follow up one?

alright I went ahead and bumped the minor version to make this atomic, PTAL

Yup I usually do it in the same PR

I'll publish this and then update js-client-sdk next


GeneratedKeyHolder.getKey异常

DB：postgres
创建报表、数据源、群组时报异常：
The getKey method should only be used when a single key is returned.  The current key entry contains multiple keys:
创建用户时没有问题。
原因：
创建时会返回table的所有列，直接通过keyHolder.getKey().longValue()就会报异常，
所以其他的dao中都应该按照userdao的代码修改下：
KeyHolder keyHolder = new GeneratedKeyHolder();
npjt.update(sql, params, keyHolder, new String[] { User.ID});
return keyHolder.getKey().longValue();
而不是
KeyHolder keyHolder = new GeneratedKeyHolder();
jt.update(connection -> {
PreparedStatement ps = connection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);
ps.setString(1, name);
return ps;
}, keyHolder);
return keyHolder.getKey().longValue();

非常感谢！

It looks like the same pb I face when using Poli with Postgresql (PG), like within this WE.
PG driver seems not able to process, as expected, the following line:
PreparedStatement ps = connection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);
Note: I am using the latest version (42.2.6) of the PG driver.
So, a solution may be to replace the line above with:
PreparedStatement ps = connection.prepareStatement(sql, new String[]{"id"} );
Note : there should be more than a line to replace within the Poli source code.
Unfortunately, I have not been able yet to test this modification, as "npm install" returns "Maximum call stack size exceeded".. and I have not found a way to bypass this npm pb.

OK, it works when replacing
PreparedStatement ps = connection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);
with
PreparedStatement ps = connection.prepareStatement(sql, new String[]{"id"} );
Note: 4 places within the code to replace.

I should have sync with master before writing posts above, as you have fixed very recently the pb...
After having downloaded the latest source, compiled it, I have seen that the pb, I have previously met, has disappeared now.
Thanks.

v0.9.1 is now released which contains the fix for this issue.


[WIP] Add code coverage

Closes #21.
Work in progress.

Running into issues with stack --coverage. Tracking with https://github.com/commercialhaskell/stack/issues/2572.

Argh, I can't get anything to work. Closing.


Add toggleable vertex ordering fix

Triangles and convex polygons require that their coordinate be defined in a clockwise fashion. Clean Shapes should support an "autofix" behaviour that solves this problem for the user.

Implemented v1.0.4


Websockets client

Make sure that the HTTP Client is usable for websockets, add the missing functionality if it is not. Add tests.
Internal ticket: 7503

I'm not sure what's the topic. Is it either Websocket client readiness or Websocket client vs (idk) Http Client compatibility?
Imo it looks good (it basically works (e.g. explicitly tested by wscat). it works even with TLS), but it lacks flexibility, which clients may intend to develop themselves. For instance, it supposed to be bi-directional, but currently (meaning github's v2.1) client should reinvent the wheel and re-write it to some extent deeply, e.g. switching to non-blocking recv().
May be I'd have written some proposal, but I can't figure out the merge policy. I have seen several approved PRs, which hasn't been merged yet. From this PoV it looks like dead-PRs/dead code (=> time waste).

Actually today there are some tests, samples (but, frankly speaking, I expected full duplex to be present in samples also).
Is the issue relevant still?

The issues is relevant: we have samples for websockets server, but there's no example of how to create a websocket connection from userver (C++ code) to the websocket server.

I expected full duplex to be present in samples also
Yes, This should be done some day


bslice_4d spent to big time in profiling

Hi,
i realize the profiling with a proprietary microcontroller and simulator(not arduino).
My analysis is that the bslice_4d function spent too time in the total time inference.
Is is possible develop a "bslice_4d less" algoritm or more efficient bslice_4d function?

It should be possible to make many things more efficient if we trade-off how much memory is consumed. If I ever get time I may take a look, but currently I do not see a simple way to improve performance unfortunately.


Different appearence when using the Component compared to the JS Library

Looking at this example
https://codepen.io/anon/pen/YREMLO there are only a few lines/dots.
When I use the same params in the react component
<Particles
    params={{
        "particles": {
            "number": {
                 "value": 80,
                 "density": {
                      "enable": true,
                          "value_area": 1000
                  }
            },
       },
  "retina_detect": true
}} />

it looks like this  https://imgur.com/a/zjzZbXF.
There are way more lines connecting the dots.
Why is that?

This bug has been fixed in v2.4.1


Notification context

Current dependencies on/for this PR:

main

PR #17

PR #19

PR #21

PR #23

PR #25   👈
PR #9

PR #18

This comment was auto-generated by Graphite.

Merge activity

Oct 24, 12:13 PM: @wildmolasses started a stack merge that includes this pull request via Graphite.


AKS Learn feedback:

Type of issue
Typo
Feedback
The final step in the Enable sidecar injection section references a file named sample.yaml, and ends with -n foo. What is foo? What is in sample.yaml?
Page URL
https://learn.microsoft.com/en-us/azure/aks/istio-deploy-addon
Content source URL
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/aks/istio-deploy-addon.md
Author
@shashankbarsin
Document Id
627b0d0f-0d38-e529-2e52-30823cf0008f

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

ID: 31367f47-0d71-8b44-ca40-e2b1c7cf3d16
Version Independent ID: 627b0d0f-0d38-e529-2e52-30823cf0008f
Content: Deploy Istio-based service mesh add-on for Azure Kubernetes Service - Azure Kubernetes Service
Content Source: articles/aks/istio-deploy-addon.md
Service: azure-kubernetes-service
GitHub Login: @shashankbarsin
Microsoft Alias: shasb

@bobmcn
Thanks for your feedback! We will investigate and update as appropriate.

@bobmcn
Thank you for reaching us. If you need help with this to gain a better understanding of your issue, I'd recommend working closer with our support team via an Azure support request. Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds. Teams Q&A forum for technical questions about the configuration and administration of Microsoft Teams on Windows. Microsoft Teams Community forum


Possible to work on hover?

Love this little script.
Is it possible to make work on hover or is it always a click event?
Thank you 👍

Hi @jezthomp 👋
No, it doesn't work necessarily on click event. It's the default value, but you can specify another event, and even a different one for outside event.
Check https://twikito.github.io/easy-toggle-state/#data-toggle-event for further informations.


what's the difference between num_worker and num_gpu

in README, "bash scripts/extract_optical_flow.sh SRC_FOLDER OUT_FOLDER NUM_WORKER" is said to execute optical flow computing, so I open "extract_optical_flow.sh" and find "build_of.py" in tools folder, and there are two parameters named num_worker and num_gpu, in README, it is said that num_worker specifies the number of gpu to be used, but what does num_gpu mean?

num_gpu is used when one wants to overload one GPU with several concurrent tasks. This sometimes increases the evaluation throughput. The pattern is specifying a num_worker larger (2 to 3 times) than num_gpu,


Classifier-Free Guidance hidden?

Is there a particular reason these controls are hidden currently?
https://github.com/p1atdev/sd-danbooru-tags-upsampler/blob/3673b242930df9454619c36188941fdef9569efc/scripts/dart_upsampler.py#L184-L202

Currently, I don't see any effect when CFG is enabled, so the options are hidden. A better negative prompt composition may exist, but I have not investigated it yet.
I plan to enable it if future model improvements work with CFG effectively.


Fix image remove command

Removing docker images is implemented using docker image remove, which I'm assuming is a [deprecated?] hidden alias for docker image rm?
root@ubuntu:~# docker image --help

Usage:  docker image COMMAND

Manage images

Commands:
  build       Build an image from a Dockerfile
  history     Show the history of an image
  import      Import the contents from a tarball to create a filesystem image
  inspect     Display detailed information on one or more images
  load        Load an image from a tar archive or STDIN
  ls          List images
  prune       Remove unused images
  pull        Pull an image or a repository from a registry
  push        Push an image or a repository to a registry
  rm          Remove one or more images
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE

Run 'docker image COMMAND --help' for more information on a command.

root@ubuntu:~# docker --version
Docker version 20.10.12, build e91ed57

This command does not work with podman.

Thank you gor the pull request. I have no idea if it's deprecated or not. But as users mostly use docker image rm, there are very little chances that docker will remove this command or rename it. I'm fine with the change


Firebase??

Is it possible to use the group/category factory without firebase? Can I instead use mongoose to create a schema that can post/get to MongoDB?

Yes.  I do something similar on a project.  I use $http angular service to send GET/POST/etc requests to communicate with a NodeJS backend.  The Node backed includes express/mongoose/mongodb.  You can get an idea of how the backend works by looking at this MEAN stack.
https://github.com/DaftMonk/generator-angular-fullstack

Closing this issue due to inactivity. See #815 for more information.
Please create a new issue is this still occurs with the current version of the component.


added Simon Wrights code for VL53L1X

Thanks @hgrodriguez I took this opportunity to also update the project file and manifest. https://github.com/alire-project/alire-index/pull/691


[Feature Request]: Add infinite scrolling

Project
Website (potterdb.com)
Describe the feature you want to request
Currently, there is a button that fetches more data. Instead, we can implement infinite scrolling functionality that fetches more data as the user scrolls.

Would you like to work on this issue?
Yes

I am not a big fan of infinite scrolling as it makes it hard to find the bottom of an page. Therefore we probably won't implement this feature.


Hashing users' passwords

All important information needs the protection. I think in our project users' passwords are really  confidential information and must have their own protection.
So we know there aren't very difficult to hack the database by really professionals. In this case, we need hash all passwords and then put them to the database, and when they are needed we will do the reverse operation.

Can check this one


bump to version 0.2.2

bump to version 0.2.2

need to fix /deploy/charts/external-secrets/README.md


Improve test_http_api_state.TestStatus

TestStatus has been somewhat unreliable and has caused failures in the past when we get unexpected results.  This change mocks out memory.free_ram() and time.time() so they return constant values.   In this particular test we don't care that those values are accurate we just care that they meet our expected results.  This change also properly cleans up the config in between test runs.

Coverage remained the same at 74.72% when pulling dff3b667be035c2c8ea7b912af26d1646d93df36 on improve_test_status into d7399ec3aaeeb1a0f13b3c7478cbfdf9f9d4bdbe on master.

Coverage remained the same at 74.72% when pulling dff3b667be035c2c8ea7b912af26d1646d93df36 on improve_test_status into d7399ec3aaeeb1a0f13b3c7478cbfdf9f9d4bdbe on master.

Merging, this is only making a test less-flaky.


Round tripping Zarr datasets with scaling

What happened?
Data was loaded into Xarray via OpenDataCube dc.load method. This Xarray was persisted to Zarr using
xx.time.encoding['units'] = "seconds since 1970-01-01 00:00:00"
xx.time.attrs = {}
xx.to_zarr('test.zarr',mode='w',consolidated=True)

When this zarr is loaded back using
ds_z = xr.open_dataset('test.zarr',  engine = 'zarr', consolidated = True)

The round tripped dataset has scaling applied with encodings saved in bands e.g. ds_z.red.encoding as
ds_z.red.encoding
{'chunks': (1, 610, 522),
 'preferred_chunks': {'time': 1, 'y': 610, 'x': 522},
 'compressor': Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),
 'filters': None,
 'scale_factor': 0.0001,
 'add_offset': -0.1,
 'dtype': dtype('uint16'),
 'coordinates': 'spatial_ref'}

The values returned do not have the scaling auto-applied.
What did you expect to happen?
Scaling to DataArrays is auto-applied when rounding tripping to-from Zarr via Xarray.
Minimal Complete Verifiable Example
ds.time.encoding['units'] = "seconds since 1970-01-01 00:00:00"
ds.time.attrs = {}
ds.to_zarr('test.zarr',mode='w',consolidated=True)

ds_z = xr.open_dataset('test.zarr',  engine = 'zarr', consolidated = True)

MVCE confirmation

[X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[ ] Complete example — the example is self-contained, including all data and the text of any traceback.
[ ] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[X] New issue — a search of GitHub Issues suggests this is not a duplicate.
[X] Recent environment — the issue occurs with the latest version of xarray and its dependencies.

Relevant log output
No response
Anything else we need to know?
No response
Environment

INSTALLED VERSIONS
------------------
commit: None
python: 3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0]
python-bits: 64
OS: Linux
OS-release: 5.10.227-219.884.amzn2.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: C.UTF-8
LANG: C.UTF-8
LOCALE: ('C', 'UTF-8')
libhdf5: 1.10.10
libnetcdf: 4.9.2
xarray: 2024.10.0
pandas: 2.2.3
numpy: 1.26.4
scipy: 1.14.1
netCDF4: 1.7.2
pydap: 3.5
h5netcdf: 1.4.0
h5py: 3.12.1
zarr: 2.18.3
cftime: 1.6.4.post1
nc_time_axis: 1.4.1
iris: None
bottleneck: 1.4.2
dask: 2024.7.1
distributed: 2024.7.1
matplotlib: 3.8.4
cartopy: 0.24.1
seaborn: 0.13.2
numbagg: 0.8.2
fsspec: 2024.10.0
cupy: None
pint: 0.24.4
sparse: 0.15.4
flox: 0.9.14
numpy_groupies: 0.11.2
setuptools: 75.3.0
pip: 24.3.1
conda: None
pytest: 8.3.3
mypy: None
IPython: 8.29.0
sphinx: None

@whatnick Thanks for the report. It would help here if you could provide an MCVE.

@kmuehlbauer MVCE requires interaction with Xarrays generated by datacube-core being persisted to Zarr and being reloaded. I will put something together.


Manage Redis disconnections and re-connections

Hello :wave:
We are using the library and so far is working great, but we came up with a possible scenario: If the connection with Redis is lost for whatever reason (maybe the cache goes down, or the connection pipe gets broken), then the library will try to fetch data from Redis and will get stuck forever (which is far from ideal). It would be great if the library could handle this case.
We think that this could be avoided by doing two things:

Change the status flag to use the status property of the ioredis' client.
Including a cache timeout, just in case.

We have some work in progress in a fork, so I will open a draft PR, but I would like to hear your thoughts on this one.
Keep up the good work with the library! :D

Hi @sgarcia-g
Thanks for this !
I've been meaning to improve overall safety and error management for a while :)
I'll take a look at the pull request 🥳


More detailed time of day for warnings

Current Implementation
If you have been near a positive tested person for a longer time you get a warning message with day, month and year when the encounter happened.
Suggested Enhancement
Beside the date also the time of the day like morning, forenoon, midday, afternoon, evening, night should be displayed so one can better estimate the risk.
Expected Benefits
As I got the warning I was unable to estimate my own risk:

Was it in the morning when using public transports while wearing a mask?
Was it in the forenoon during work while not wearing a mask from the same room, meetings, neighbour rooms or even other companies on the same floor?
Was it at midday when eating in the cantina while not wearing a mask?
Was it in the afternoon during work while not wearing a mask from the same room, meetings, neighbour rooms or even other companies on the same floor?
Was it in the evening when using public transports or shopping while wearing a mask?
Was it at the night from my neighbours?

So when I would have known a more specific timeframe I would be able to estimate my personal risk much more better and I am also able to specific warn other contact persons.

Duplicate of #266
Internal Tracking ID: EXPOSUREAPP-3670

...

If I only meet one person on a day where I get a positive warning I can also identify this person with the current implementation.

Sure, in real life scenario, you probably now this person and had been informed by him directly anyway.
Same true for a person that I can identify in an hour timeslot.

It's always a balance between privacy and benefit.

That is exactly the point, and current view is that the offered solution is the "right" balance. Of course to find this balance and to agree on common terms is not an easy task.

Correct, this task is not easy, but the "right" balance might change with the time. At the beginning of this pandemic being identified as corona positive probably was more stigmatic as now with incidence levels of 400+. So while the decision perhaps was correct a year ago, one might come to other conclusions now.

Note that the current ENF by Apple and Google (which limits the functionality to the day of the encounter, and time is unknown by the tracing apps which make use of the OS ENF) is a transnational solution, and many considerations had to go into the definition to achieve acceptance und a working system.

Perhaps this would be a good point to overthink the dependence on google anyway. CTTG has proven the same transnational solution works without proprietary code, so why is CWA still not 100% open source?

@cvoinf Awesome, thank you very much for these links. Too bad that Warn-App-Companion needs root-permissions (or the Corona-Contact-Tracing-App which is not so well tested as they say).

No, my phone is not rooted. You can export the database from cttg to the companion-app directly.

Another suggestion:
The red bar marking I had contact to somebody who shared his status of infection stays red for 14 days, then flips to green the day after.
This does not reflect the risk of being infected. The longer the meeting is in the past, the less probable is my own risk of infection. Same true for the duration of the meeting and the attenuation of the signal.
Thus the state of risk should not only be black/white (or red/green) but a value on a scale, that diminishes with time since the meeting is more in the past.


Preprocessor defines BUILDING_V8_SHARED=1 and BUILDING_UV_SHARED=1

I tried the HelloWorld addon sample (using node 4.4.3 for windows) and found that node-gyp sets following defines in the generated VS solution (besides others):
BUILDING_V8_SHARED=1
BUILDING_UV_SHARED=1
BUILDING_NODE_EXTENSION

While BUILDING_NODE_EXTENSION is clear the other two seem to be strange because of following statement in v8.h:
// Setup for Windows DLL export/import. When building the V8 DLL the
// BUILDING_V8_SHARED needs to be defined. When building a program which uses
// the V8 DLL USING_V8_SHARED needs to be defined. When either building the V8
// static library or building a program which uses the V8 static library neither
// BUILDING_V8_SHARED nor USING_V8_SHARED should be defined.
#if defined(BUILDING_V8_SHARED) && defined(USING_V8_SHARED)
#error both BUILDING_V8_SHARED and USING_V8_SHARED are set - please check the\
  build configuration to ensure that at most one of these is set
#endif

#ifdef BUILDING_V8_SHARED
# define V8_EXPORT __declspec(dllexport)
#elif USING_V8_SHARED
# define V8_EXPORT __declspec(dllimport)
#else
# define V8_EXPORT
#endif  // BUILDING_V8_SHARED

In case I first include node.h this seems to be "repaired" via following statements in node.h:
#ifdef BUILDING_NODE_EXTENSION
# undef BUILDING_V8_SHARED
# undef BUILDING_UV_SHARED
# define USING_V8_SHARED 1
# define USING_UV_SHARED 1
#endif

But if I first include v8.h or other V8 files like v8-profiler.h the corrections done in node.h are missing.
I think that USING_V8_SHARED=1 and USING_UV_SHARED=1 should be set instead BUILDING_V8_SHARED=1 and BUILDING_UV_SHARED=1 for node extensions.

https://github.com/nodejs/node-gyp/pull/915


In-depth Analysis of Special-Purpose Data Structures in Java

NOTE: All 1st-time contributors should know Topic approval and PR submission does NOT guarantee your Topic/Article will be published. Our team of Peer Reviewers and Content Moderators will review all PRs that come in to make sure they adhere to the standard of quality we expect from the EngEd community.
We expect all community memebers to go through provided examples, resources, and previously published material before submitting content. As a rule of thumb, please only submit articles (pull requests) that are complete, formatted correctly, and include a fully polished article (ready to be published and error free).
All revisions and edits should be completed on your own forked repo (as to not take up room in the queue). Any PR that is submitted incomplete (meaning not ready to be published as is) will be closed. A PR being closed does NOT mean the article can not be published (or fixed) it simply means that the edits, revisions, and fixes will happen outside of the queue.
NOTE: Any topic suggestion copied/taken/modified from YouTube may Lead to a permanent ban from the community.
Topic Suggestion
In-depth Analysis of Special-Purpose Data Structures in Java
Pre-submission advice
Writing sample(s):
Include any links or writing samples - to help our team better gauge your writing quality.
Proposal Submission
Proposed title of article
In-depth Analysis of Special-Purpose Data Structures in Java
Proposed article introduction
[Java] Special purpose data structures include Stacks, Queues, and the Priority Queues.
Stacks, queues and priority queues are Abstract Data Types that are implemented by a more fundamental structure such as an Array, Linked-list and a Heap (as in the case of priority queue).
These structures provide a simple interface to the user, typically allowing only insertion and the ability to access or delete an item.
Key takeaways

Introduction to special-purpose data structure such as Queues, Stack and Priority Queues
Deep understanding of the concept of collections and its implementation
Implementation and usage of the special-purpose data structure
Comparison of Special-purpose data structures
Exploring the relationship among Collection, Queue, LinkedList, and PriorityQueue and to create priority queues using the PriorityQueue class.
Complexity Analysis
Weighing the pros and cons of Stack and Queues

Article quality
It provides an indepth analysis of the concept and simplify the concept of special-purpose data structures
References
https://www3.cs.stonybrook.edu/~pfodor/courses/CSE260/L20_Lists_Stacks_Queues_and_Priority_Queues.pdf
https://www.tutorialcup.com/interview/stack/how-to-implement-stack-using-priority-queue-or-heap.html
https://www.educative.io/blog/data-structures-stack-queue-java-tutorial
Conclusion

Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

Thank you for submitting your topic.
After some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentation.
We believe this is the best way for students to build a great portfolio (for potential employers) is by building what does not exist and what can provide the most value.
Please feel free to suggest an alternate topic to explore. 🚀