Multi outputs

Hi,
I trained a model with more then one output, a gave names to all layers including the output layers. I passed the data to the model using dictionary to both input and output by the names I gave. When I use the  model.predict()  (with batch size 1) function the output is an array with length as the size of the number of outputs as desired, but with no names. I wish to see the output as an outputs with the names that I gave. Can someone help me with this issue?
Thanks,
Shai

One easy way of doing this is just match it up with the names of the output layers, that you can find with the method output_layers().
So for instance, for a model called m and input X do something like this:
names = [output.name for output in m.output_layers]
predictions = m.predict(X)
print '\n'.join(['%s: %s' % (name, prediction) for name, prediction in zip(names, predictions)])

Hope that helps

Thanks @dieuwkehupkes,
So just to make sure, the order of  'names', as you defined, is in the same order as  'predictions' regard to the model output?

yup!

Thanks again @dieuwkehupkes ! :)


how to do with video input?

if i want to generate video with vq vae, how to do with your code?

@Eddie-Hwang hey! you'll want to follow the instructions in this paper https://openreview.net/forum?id=3InxcRQsYLf it'll be an entirely different architecture (though similar)

@Eddie-Hwang i ran into another user of my repos who is combining https://github.com/lucidrains/vector-quantize-pytorch with https://github.com/lucidrains/compressive-transformer-pytorch


Claude & GPT Models return HTTP 500

This happens on all Claude and OpenAI models, no idea why though.

dude umm i think api of mubi is dead fr instead you can use API of milo

can you send a link to that
On Tue, Nov 5, 2024 at 7:30 AM JustablockCode @.***>
wrote:

dude umm i think api of mubi is dead fr instead you can use API of milo
—
Reply to this email directly, view it on GitHub
https://github.com/PenguinAI-Ext/extension/issues/3#issuecomment-2457480476,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZFCX23RH7CACRWUETGWQTLZ7DQAHAVCNFSM6AAAAABQUEFKIWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXGQ4DANBXGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

can you send a link to that
…
On Tue, Nov 5, 2024 at 7:30 AM JustablockCode @.> wrote: dude umm i think api of mubi is dead fr instead you can use API of milo — Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZFCX23RH7CACRWUETGWQTLZ7DQAHAVCNFSM6AAAAABQUEFKIWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXGQ4DANBXGY . You are receiving this because you authored the thread.Message ID: @.>

https://penguinai.milosantos.com/v1

This is the extension, please contact us at the Discord Server linked in our Organization README.


Handle large volumes

Context

Some volumes can be 2500-3500 large and it is challenging to load these in memory. This PR helps by limiting the volume size and adds a callback function on the ImageSet class which can be used to filter out or change the metadata of an ImageSet / displaySet
Changes & Results
Large volumes are evenly sampled when they go above the maxFramesInVolume config. Changes have been made to the ImageSet class and config has been added to the CornerstoneCacheService.

Testing

Open the viewer to http://localhost:3000/viewer?StudyInstanceUIDs=<IP_ADDRESS>.4.1.25403.345050719074.3824.20170125095722.1

Open MPR mode to go into the volume mode (stack is unaffected by these changes)

Run the following on the console/window
services.CornerstoneCacheService.setMaxFramesInVolume(20)

You should see the volume update due to the DisplaySet being invalidated. You can also use the DisplaySetService to set the ImageMapper and invalidate. This functionality is left to be placed in extensions as use cases can vary.

Checklist
PR

[x] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[x] My code has been well-documented (function documentation, inline comments,
etc.)

Public Documentation Updates

[] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[] "OS:
[] "Node version:
[x] "Browser: Chrome Version 110.0.5481.177 (Official Build) (arm64)

Wondering if there was any plan to merge this PR soon - we are facing an issue addressed by this PR https://github.com/OHIF/Viewers/issues/3229#issuecomment-1535847521
In essence using the 2D MPR feature on our image will consume the entire machine's RAM and crash the browser temporarily on a 3-month old machine.

this is useful we should add it

Hey @sedghi, sorry for the radio silence from my side. I've been under pressure on finishing my dissertation ha

@Ouwen Oh wow, Good luck, nothing is expected, just was trying to include you in the loop

@sedghi comment and close

So, after more thinking about this feature, I believe it will not adequately address the problem of large volumes as we desire. However, changing to a 16-bit texture might be the solution for most use cases, and in the future, we can consider the chunk and overlap solution.
https://docs.ohif.org/faq#how-do-i-handle-large-volumes-for-mpr-and-volume-rendering
Anyway, thanks @Ouwen for this

I will reopen for visiblity


Error message show when clicked the "delegate" button on the left hand menu

In https://x.forbole.com/  , Error message show when clicked the "delegate" button on the left hand menu.

Browser: Chrome

@rachelhox
according to @kanniec826 this issue still persist

When I use my personal account, staking function shows the same error, but when I use company email account, staking function works fine.

@kanniec826 can you get error shown from the browser inspector?

@kanniec826 can you get error shown from the browser inspector?

@kanniec826 please show screenshot of the error message in the inspect as this issue cannot be reproduced

@kanniec826 can you also report which version of Forbole x you are running?

v0.18.3

v0.19.4 still the same


Explain how to not bind sigilless variables

Ref: https://docs.perl6.org/language/containers#Binding
The doc says "Sigilless variables also bind by default ...", but doesn't hint at what non-default possibilities might be.
Suggestion: Show an example using a sigilless var does not bind to something when created.
(Added later) According to https://docs.perl6.org/language/variables#Sigilless_variables "sigilless variable do not have associated containers", which makes me wonder how a sigilless variable could exist if it wasn't bound to something.  If the "by default" above is simply incorrect, then the doc might be changed to say "Sigilless variables always bind, as do parameters with the trait is raw."
But I still don't understand this: Both regular assignment = and bind := operators can be used, e.g. my \x = $var; and my \y = $var; both compile and AFAICT do exactly the same thing.  But in that case, why doesn't Perl6 simply dis-allow normal assignment (=) on sigilless vars and avoid all confusion around this topic?    So if there is some semantic difference, it would be helpful to describe or allude to what the difference is.

Binding is the only option for a sigilless variable (in fact, calling them variables at all is a bit odd, because they cannot vary).

"Also" might be misplaced here. "Also, sigilless variables bind by default"
would be clearer here.

About disallowing normal assignment, that is outside our turf. Makes sense, but then it also makes sense to assume that they always bind whatever operator you use.

Then "by default" is misleading because it implies there is another option ("by default" means "if the user does not specify another choice").
Better to explicitly state the situation, for example  "Sigilless variables always bind (whether = or := is used), as do parameters with the trait is rw.


Add callback that is called after wait strategies have been executed

Is your feature request related to a problem? Please describe.
Existing StartupCallback  is called after container started but before wait strategies, that's not very usefull because most of the time service inside container is not ready to accept requests yet. I propose to add callback that is called after wait strategies have been executed. At this point service is ready, so it's possible to run database migrations, create kafka topics, etc.
Describe the solution you'd like
Add callback that is called after wait strategies have been executed
Describe alternatives you've considered
Configure service inside container after StartAsync completed
Additional context

that's not very usefull because most of the time service inside container is not ready to accept requests yet

It's necessary to configure Kafka.
What's the benefit of the callback? Why not run the migration after StartAsync or inherit from TestcontainersContainer and override StartAsync? You can even use fixtures incl. IAsyncLifetime.

The benefit, i think, is that it allows to keep code that builds test container and runs after start configuration very close. It also allows to plug in configuration into StartAsync so that after it returns service inside container is configured. Right now i call configuration code manually after StartAsync like you suggested. I didn't think about inheritance, but i think callback is better option. IAsyncLifetime is test framework (i use mstest) specific

To override the TestcontainersContainer class we need to update the reflection call in the builder. Relates to #474.

Adding a callback requires much more code. We need to extend the builder incl. the configuration and pass the callback through the library. The callback won't be able to access the running container instance. Therefore, we need to pass the running instance again to the callback. Finally, we need to cover everything with tests.
IMO, inheritance would be much easier and supported with #474. I'm preparing the pull request right now. If you still would like to use a callback, please consider contributing.

Since 2.4.0 Testcontainers for .NET allows to override or subscribe to the lifecycle events of resources, like:
public sealed class MyContainer: DockerContainer
{
    ...

    public override Task StartAsync(CancellationToken ct = default)
    {
        return base.StartAsync(ct);
    }

    public override Task StopAsync(CancellationToken ct = default)
    {
        return base.StopAsync(ct);
    }

    protected override Task UnsafeCreateAsync(CancellationToken ct = default)
    {
        return base.UnsafeCreateAsync(ct);
    }

    protected override Task UnsafeDeleteAsync(CancellationToken ct = default)
    {
        return base.UnsafeDeleteAsync(ct);
    }
}

Overrides the container's lifecycles.
var myContainer = new KafkaBuilder().Build();
myContainer.Creating += (_, _) => { };
myContainer.Created += (_, _) => { };
myContainer.Starting += (_, _) => { };
myContainer.Started += (_, _) => { };
myContainer.Stopping += (_, _) => { };
myContainer.Stopped += (_, _) => { };

Subscribes to the container's lifecycles.


Support UserAssigned MSI for CosmosDB

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

This PR does 2 things:

Add UserAssigned support into Cosmos DB's MSI.
Add MSI into "DatabaseAccountUpdateParameters"

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of “no breaking changes
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

You don't have permission to trigger SDK Automation.
Please add yourself to Azure group from opensource portal if you are MSFT employee,
or please ask reviewer to add comment *** /openapibot sdkautomation ***.
Please ask<EMAIL_ADDRESS>(or NullMDR in github) for additional help.

Can one of the admins verify this patch?

/openapibot sdkautomation

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

@RodgeFu @NullMDR  Could you take a look at the python automation failure?

/openapibot sdkautomation

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

The automation are actually finished according to the log


Fix android ci

Tested locally (arm), let's see for the others archs.

@bors: r+ p=1
Awesome, thanks so much!

:pushpin: Commit a9115d5 has been approved by alexcrichton

:hourglass: Testing commit a9115d5e4b073d2a22ca380e62c2c49dd59ed7d2 with merge 20758e5cd1bf2c6e728b19e76f22d3273e84ff08...

:broken_heart: Test failed - status-travis

@bors: retry

:hourglass: Testing commit a9115d5e4b073d2a22ca380e62c2c49dd59ed7d2 with merge debbb73fe7a3a0100f3c3ed0a289f1c3da072c45...

:broken_heart: Test failed - status-travis

I think the emulator for i686 does not run anymore without hardware acceleration...
qemu-system-i386: -device virtio-blk-pci,drive=system,iothread=disk-iothread,modern-pio-notify: ioeventfd is required for iothread
emulator: WARNING: encryption is off
emulator: WARNING: x86 emulation may not work without hardware acceleration!

I tried to run i686 tests like the x86_64 tests (without the emulator), but I get an error:
assertion failed: signal(libc::SIGPIPE, libc::SIG_IGN) != libc::SIG_ERR

The same I got when adding android testing support to cross. A partial solution was run the tests with qemu-i686, but it needs a patched qemu.
What we do now?

Hmm that's unfortunate :(
Is hardware acceleration something that needs lots of privs in the cloud? (Aka we will never be able to do this bare on Travis)
If so maybe we should just remove the tests for now?

@bors: r+
Ok I've pushed a commit to disable it for now, but we can of course reenable if we can get it working again!

:pushpin: Commit 8617317 has been approved by alexcrichton

:hourglass: Testing commit 8617317c89cbc5d9009167eb967e2471beb97d2a with merge 70df7dc0d2f0dd82a00566de59e301ab915e2b76...

:broken_heart: Test failed - status-travis

@bors: retry

:hourglass: Testing commit 8617317c89cbc5d9009167eb967e2471beb97d2a with merge 93a11fd92bd4135c4a23abc12b965529b537c18f...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 93a11fd92bd4135c4a23abc12b965529b537c18f to master...


CMP: add OID decls for CMP-Updates and CMPv3

This adds OID declarations supporting the upcoming CMP-Updates RFC (see https://datatracker.ietf.org/doc/html/draft-ietf-lamps-cmp-updates), which defines extensions to CMPv2 and the new CMP version 3.
This PR is pretty shallow and schematic, in part auto-generated (in crypto/objects/ and obj_mac.h).

It hit me as a surprise that beta1 likely will be released tomorrow or the day after.
Is there any chance to still bring this in, or certain parts of it?

I'm about to fix the symbol presence and split this up in 2 or 3 PRs...

I do not believe it is necessary that this goes into 3.0
The documents aren't finished yet.  There is still ongoing discussion about some basic points.

This is too late for 3.0 inclusion and would have needed to be in before the final alpha ...

I see - so removed the tentative milestone.

The out-of-source-and-install (macos-latest) CI run exhibts a strange failure of test_symbol_presence, which looks like an internal error in a corner case hit by this PR.

Rebased in order to get rid of the unrelated CI failure for MacOS.

Re-added the (shrunk) list of CMP-related OIDs from #15780.

This pull request is ready to merge

Merged - thanks.


Add dataplane/mesh/zoneingress resource reference

There is pretty good explanatory documentation describing what a Dataplane resource is and how it fits into the Kuma resource model, but I wasn't able to find an reference documentation. It would be helpful to have reference material describing all the available fields in this resource.

There's docs auto-generated so it should be easy to add them. It's unclear why it isn't by default


Wrong measurement values

I am using your module but I don't seem to get back reasonable measurements. And what's more, I always get the same values over an over.
Using other modules I can get correct results.
My platform is ESP8266.
Here a sample code to reproduce, with i2c assumed to be initiazed already (Am I missing something?):
from bme280_i2c import BME280_FORCED_MODE, BME280_I2C
bme280 = BME280_I2C(i2c=i2c)
bme280.set_power_mode(bme280_i2c.BME280_FORCED_MODE)
bme280.get_measurement()
The above gives always the result {'pressure': 76706, 'humidity': 32.2666, 'temperature': 21.42}.
And bme280.get_power_mode() gives us 0 (correctly configured)

Ok, totally my bad...
Since all osr values were 0, I had practically all three measurement types disabled. And the readings get a default value in that case.
Once I set osr to 1 for all, everything works fine!


Could not connect to Central search

Describe the bug
When using the latest version of DependencyCheck, i face an error :
[ERROR] Could not connect to Central search. Analysis failed. And the analysis keeps on trying for 7 attempts, then halts the process.
Version of dependency-check used
The problem occurs using the latest version.
Log file
Dependency-Check is an open source tool performing a best effort analysis of 3rd party dependencies; false positives and false negatives may exist in the analysis performed by the tool. Use of the tool and the reporting provided constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to the analysis or its use. Any use of the tool and the reporting provided is at the user’s risk. In no event shall the copyright holder or OWASP be held liable for any damages whatsoever arising out of or in connection with the use of this tool, the analysis performed, or the resulting report.

   About ODC: https://jeremylong.github.io/DependencyCheck/general/internals.html
   False Positives: https://jeremylong.github.io/DependencyCheck/general/suppression.html

💖 Sponsor: https://github.com/sponsors/jeremylong

[INFO] Analysis Started
[INFO] Finished Archive Analyzer (7 seconds)
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Jar Analyzer (3 seconds)
[ERROR] Could not connect to Central search. Analysis failed.
java.io.IOException: Finally failed connecting to Central search. Giving up after 7 tries.
	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:364)
	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.analyzeDependency(CentralAnalyzer.java:229)
	at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:131)
	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88)
	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: Could not connect to MavenCentral (502): Bad Gateway
	at org.owasp.dependencycheck.data.central.CentralSearch.searchSha1(CentralSearch.java:231)
	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:341)
	... 8 common frames omitted
[WARN] An error occurred while analyzing 'path/to/private/repo' (Central Analyzer).
[ERROR] Could not connect to Central search. Analysis failed.
java.io.IOException: Finally failed connecting to Central search. Giving up after 7 tries.
	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:364)
	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.analyzeDependency(CentralAnalyzer.java:229)
	at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:131)
	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88)
	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: Could not connect to MavenCentral (504): Gateway Time-out
	at org.owasp.dependencycheck.data.central.CentralSearch.searchSha1(CentralSearch.java:231)
	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:341)
	... 8 common frames omitted
[WARN] An error occurred while analyzing 'path/to/private/repo' (Central Analyzer).
[ERROR] Could not connect to Central search. Analysis failed.
java.io.IOException: Finally failed connecting to Central search. Giving up after 7 tries.
	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:364)
	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.analyzeDependency(CentralAnalyzer.java:229)
	at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:131)
	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88)
	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: Could not connect to MavenCentral (504): Gateway Time-out
	at org.owasp.dependencycheck.data.central.CentralSearch.searchSha1(CentralSearch.java:231)
	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:341)
	... 8 common frames omitted
[WARN] An error occurred while analyzing '/home/vsts/work/1/.m2/repository/org/scala-sbt/compiler-bridge_2.11/1.7.1/compiler-bridge_2.11-1.7.1-sources.jar' (Central Analyzer).
[INFO] Finished Central Analyzer (1144 seconds)
[INFO] Finished Assembly Analyzer (2 seconds)
[INFO] Finished PE Analyzer (0 seconds)
[INFO] Finished Dependency Merging Analyzer (0 seconds)
[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Finished Hint Analyzer (0 seconds)
[INFO] Created CPE Index (1 seconds)
[INFO] Finished NPM CPE Analyzer (1 seconds)
[INFO] Created CPE Index (1 seconds)
[INFO] Finished CPE Analyzer (9 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
[INFO] Finished RetireJS Analyzer (3 seconds)
[INFO] Finished Sonatype OSS Index Analyzer (7 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Finished Unused Suppression Rule Analyzer (0 seconds)
[INFO] Analysis Complete (1181 seconds)
[INFO] Writing report to: /home/vsts/work/1/s/dependency-check/dependency-check-report.xml
[INFO] Writing report to: /home/vsts/work/1/s/dependency-check/dependency-check-report.html
[INFO] Writing report to: /home/vsts/work/1/s/dependency-check/dependency-check-report.json
[INFO] Writing report to: /home/vsts/work/1/s/dependency-check/dependency-check-report.csv
[INFO] Writing report to: /home/vsts/work/1/s/dependency-check/dependency-check-report.sarif
[INFO] Writing report to: /home/vsts/work/1/s/dependency-check/dependency-check-jenkins.html
[INFO] Writing report to: /home/vsts/work/1/s/dependency-check/dependency-check-junit.xml
[ERROR] Could not connect to Central search. Analysis failed.
[ERROR] Could not connect to Central search. Analysis failed.
[ERROR] Could not connect to Central search. Analysis failed.

Dependency Check completed with exit code 242.
Dependency Check reports:
[ '/home/vsts/work/1/s/dependency-check/dependency-check-jenkins.html',
  '/home/vsts/work/1/s/dependency-check/dependency-check-junit.xml',
  '/home/vsts/work/1/s/dependency-check/dependency-check-report.csv',
  '/home/vsts/work/1/s/dependency-check/dependency-check-report.html',
  '/home/vsts/work/1/s/dependency-check/dependency-check-report.json',
  '/home/vsts/work/1/s/dependency-check/dependency-check-report.sarif',
  '/home/vsts/work/1/s/dependency-check/dependency-check-report.xml' ]
Dependency Check failed with message "Dependency Check exited with an error code (exit code: 242)."
##[error]Dependency Check exited with an error code (exit code: 242).
Ending Dependency Check...

Me facing the same issue. I am using command line. Sitting behind a proxy.. I used the following command line:
dependency-check.bat --project "QHP 2.7" --scan "D:\Users\sss\Documents\QHP 2.7" --proxyserver blah.blahblah.net --proxyport 4343
[INFO] Checking for updates
[INFO] Skipping NVD check since last check was within 4 hours.
[INFO] Skipping RetireJS update since last update was within 24 hours.
[INFO] Check for updates complete (126 ms)
[INFO]
Dependency-Check is an open source tool performing a best effort analysis of 3rd party dependencies; false positives and false negatives may exist in the analysis performed by the tool. Use of the tool and the reporting provided constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to the analysis or its use. Any use of the tool and the reporting provided is at the userÆs risk. In no event shall the copyright holder or OWASP be held liable for any damages whatsoever arising out of or in connection with the use of this tool, the analysis performed, or the resulting report.
About ODC: https://jeremylong.github.io/DependencyCheck/general/internals.html
False Positives: https://jeremylong.github.io/DependencyCheck/general/suppression.html
? Sponsor: https://github.com/sponsors/jeremylong
[INFO] Analysis Started
[INFO] Finished Archive Analyzer (16 seconds)
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Jar Analyzer (6 seconds)
[ERROR] Could not connect to Central search. Analysis failed.
java.io.IOException: Finally failed connecting to Central search. Giving up after 7 tries.
at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:364)
at org.owasp.dependencycheck.analyzer.CentralAnalyzer.analyzeDependency(CentralAnalyzer.java:229)
at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:131)
at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88)
at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.io.IOException: Could not connect to MavenCentral (504): Gateway Time-out
at org.owasp.dependencycheck.data.central.CentralSearch.searchSha1(CentralSearch.java:231)
at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:341)
... 8 common frames omitted
[WARN] An error occurred while analyzing 'D:\Users\sss\Documents\QHP 2.7\agent\lib\activation-1.1.jar' (Central Analyzer).
[ERROR] Could not connect to Central search. Analysis failed.
java.io.IOException: Finally failed connecting to Central search. Giving up after 7 tries.
at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:364)
at org.owasp.dependencycheck.analyzer.CentralAnalyzer.analyzeDependency(CentralAnalyzer.java:229)
at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:131)
at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88)
at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.io.IOException: Could not connect to MavenCentral (504): Gateway Time-out
at org.owasp.dependencycheck.data.central.CentralSearch.searchSha1(CentralSearch.java:231)
at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:341)
... 8 common frames omitted
[WARN] An error occurred while analyzing 'D:\Users\sss\Documents\QHP 2.7\agent\lib\antlr-2.7.7.jar' (Central Analyzer).
[ERROR] Could not connect to Central search. Analysis failed.

search.maven.org is down.

Oh, indeed, i should have checked that first, thanks !
I'll close the issue then.

Is anyone else seeing degraded performance with the Central Analyser? It's take around 14 minutes to complete each time I run Dependency Check.

We are also facing the degraded performance with the Central Analyser

It took a while but they have finally acknowledged that there is another incident https://status.maven.org/incidents/mblzqd69jjpz

I can confirm that at the time of this writing it is still not working:
INFO] Analysis Started [INFO] Finished Archive Analyzer (52 seconds) [INFO] Finished File Name Analyzer (0 seconds) [INFO] Finished Jar Analyzer (9 seconds) [ERROR] Could not connect to Central search. Analysis failed. java.io.IOException: Finally failed connecting to Central search. Giving up after 7 tries. 	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:364) 	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.analyzeDependency(CentralAnalyzer.java:229) 	at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:131) 	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88) 	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37) 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 	at java.lang.Thread.run(Thread.java:750) Caused by: java.io.IOException: Could not connect to MavenCentral (504): Gateway Time-out 	at org.owasp.dependencycheck.data.central.CentralSearch.searchSha1(CentralSearch.java:231) 	at org.owasp.dependencycheck.analyzer.CentralAnalyzer.fetchMavenArtifacts(CentralAnalyzer.java:341) 	... 8 common frames omitted


Floating roads.

Roads floating 2 units above ground.  I've identified and submitted a fix in patch-1 branch based off dev.

Hey John!
I'll check that, thanks!

I just saw that you pushed dev to master.  Have you though of replacing the Factory.Order with something like YPosition?  I've found that .01 works best for landuse and water and .02 for roads.  Ignore my previous patch, I think there's a better way.
Let me know how I can be helpful.  I've built web GISs using php/javascript so i'm familiar with the basic mechanics.  I'm new to unity and c# however.

well I believe the "order" thing is flat out wrong really. I did it for a quick fix before but the real solution lies in the sort_key property.
see; https://mapzen.com/documentation/vector-tiles/layers/#feature-ordering
I'm not sure how to implement that, had a brief look but didn't have time to give it a shot. so yeah, it would be great if you can try it out!
Don't worry about the unity/c# stuff. If you can sort out the logic (cant use those numbers straight away I guess), I'll go over your implementation ;)

Correct me if I'm wrong, but I think sort key is really only applicable to 2d rendering (like HTML divs).
Since the environment is 3d, wouldn't it be better to simply expose a public Y for that layer?
Unrelated: could make DynamicTileManger.Update public so i can override in my subclass?

Doesn't that sort_key correspond to the Y axis though? I thought they do and we can use them instead of testing random numbers like 0.1, 0.2. I might be totally wrong though, maybe I misunderstood it?

Doesn't that sort_key correspond to the Y axis though

Yes, but in a way that suggests layering one over the other in a very 2d way.  By changing it to a y position (or some other, better variable name), it can be easily adjusted in the editor.  .01 and .02 were values that I found to work well for me but others might want to do different things.
Sort key is the wrong paradigm because it suggests laying transparent layers (map then road then water, etc) on top of each other when they might be on the same Y as each other.  water and landuse can be on the same Y because they never overlap.  roads have to be higher than landuse because the DO sometimes overlap.  Buildings can just be at Y = 0.  Y is a practical value and shouldn't be tied to some other arbitrary value like sort.  I mean, what are we sorting?

hmm well you probably know GIS a lot more than me but what I meant was; why don't we use sort_key as reference for those float numbers?
Mapzen/openstreetmap data would be much more reliable than our quick assumptions like "landuse wont overlap with water". For example, if I recall correctly, water layer includes pools and they generally reside on parks (landuse).

This data is usually served up to a javascript frontend that has "layers" panel where the user can add layers or change in the index of the base layers.  Sortkey facilitates where in the "z-index" those divs get rendered.  But we're not constrained to 2 dimensions, so it's an inappropriate use basically.
You could re-use sortkey as a Y multiplier, but that's not what it's for, and it's misleading to anyone used  to programming web GIS.  It seems it be better and simpler to just give Factory a YPosition that you can set in the scene or just use the default for each different factory.  Then if you only want to use one or two of the factories, you don't have to "re-index" the sortkey.
That's just my two cents.  If you really don't agree, it's no big deal, I can just do it my way in a subclass.
Also, in general would you mind making monobehavior methods public and virtual?  I want to be able to control behaviors in child classes of the tilemanagers, etc.
Keep up the good work!

Not that I disagree or anything, I'm just trying to understand as I'm not familiar with the field. Another issue here would be, moving away from being a pure Mapzen visualization. It wasn't our goal to start with but still, it's a nice feature.
Still it's cool I guess, let's go with Y parameters (order) path. I'm just a little unsure about how to decide those numbers and their maintenance (changing numbers every  patch etc). But if you're convinced it'll be alright, let's try it :)
I'm a little strict about making stuff public. Component shouldn't really know about each other unless they really need to. Let me know what you need and I'll look into that, might be nothing or we might have to find an alternative way etc.
Thanks man!

Protected virtual is better, you're right.

Ok, another question, related to this topic or maybe just a bug.
Why are you setting the map y position to -1 in the MapImagePlugin on line 24?
I changed it from
go.localPosition -= new Vector3(0, 1, 0);
to
go.localPosition -= new Vector3(0, 0, 0);
without ill effect.
Also, because I believe this got lost in the shuffle:
in RoadFactory on Lines 53 and 82 you have:
road.transform.position += Vector3.up * road.SortKey / 100;
and then you do it again in on 103, bumping it even higher:
go.transform.position += Vector3.up * Order;
I believe the proper (temp) fix is to insert
if (!MergeMeshes)
before line 53 and 82 to prevent them getting raised when you're doing it in your CreateLayer function.  Or just remove it from the CreateLayer function.

admittedly, factories are quite a mess at the moment. you'll find some checks here, nothing there, some fix here, bug there. Everything I did about Y axis (all those above) was barely testing so don't hesitate to change/fix. I'll eventually tidy up the factories as well but I'm waiting for threading stuff (I'll have to do that as well, and it'll change data movement etc)


Run wasm file fail

Env:  Ubuntu-20.04  x86_64
Here is my stage:
1.sudo apt install build-essential cmake g++-multilib libgcc-9-dev lib32gcc-9-dev ccache
2.cd product-mini/platforms/linux/
mkdir build && cd build
cmake ..
make
3. add test.c
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char **argv)
{
    char *buf;

    printf("Hello world!\n");

    buf = malloc(1024);
    if (!buf) {
        printf("malloc buf failed\n");
        return -1;
    }

    printf("buf ptr: %p\n", buf);

    sprintf(buf, "%s", "1234\n");
    printf("buf: %s", buf);

    free(buf);
    return 0;
}

4./opt/wasi-sdk/bin/clang -O3 -o test.wasm test.c  ///opt/wasi-sdk/bin/clang download from https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-linux.tar.gz
5. ubuntu:./iwasm  test.wasm
非法指令 (核心已转储)
Any way to figure it out ?

严格按照官方文档来操作的，谁帮忙确认是哪里的问题？

Hi, could you try building iwasm by adding -DWAMR_DISABLE_WRITE_GS_BASE=1 to cmake?

Hi, could you try building iwasm by adding -DWAMR_DISABLE_WRITE_GS_BASE=1 to cmake?

Happy to cry. It works.
Can We update this to documents, It waste me a lot of time.

I submit a PR to auto-check the feature in cmake script, could you check whether it works for you? Or, rebuild iwasm again with it?

I submit PR #2437 to auto-check the feature in cmake script, could you check whether it works for you? Or, rebuild iwasm again with it?

Test ok.


Marquee triggers on Skitch crosshair screenshots

Platform:
Darwin Oyvind-Nordbo.local 16.3.0 Darwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64
Kap Version:
Version 1.0.0 (<IP_ADDRESS>)
Steps to reproduce

Download and install Skitch
Run Kap
Trigger Skitch crosshair screenshot (Cmd + Shift + 5)

Current behaviour
Kap marquee visible while using another screenshot app.
Expected behaviour
Kap marquee shouldn't trigger while using other apps.
Workaround
Trigger Skitch screenshots via the menu instead of keyboard shortcut. (Doesn't trigger the marquee for some reason.)
GIF with visual demonstration (lol @ quality, but oh well)

This is caused by conflicting keyboard shortcuts. The ability to customise keyboard shortcuts is planned for our next release, so that your can reassign (or remove) the key bindings to your liking!

#150


The single quote caracter ' keeps alternating between being encoded to ' and being left as is from one extract to the next, resulting in massive diffs

Describe the bug
The single quote caracter ' keeps alternating between being encoded to ' and being left as is from one extract to the next, resulting in massive diffs. If the file initially contains ' it will be switched back to ' and vice versa. The issue only occurs when localized strings are added or removed from the localized file being merged.
This is very annoying as all the entries of the file having a single quote in them (we are talking about thousands) keep being marked as changed by the source control system, which makes reviewing the changes impossible.
Setup/Configuration
Example of such a diff:
 <trans-unit id="4330443193346340995" datatype="html">
         <source>Number of trees planted every year</source>
-        <target state="translated">Nombre total d'arbres plantés chaque année</target>
+        <target state="translated">Nombre total d'arbres plantés chaque année</target>
       </trans-unit>

Config in angular.json
"extract-i18n": {
          "builder": "ng-extract-i18n-merge:ng-extract-i18n-merge",
          "options": {
            "browserTarget": "my-project:build",
            "format": "xliff",
            "includeContext": false,
            "outputPath": "projects/my-project/src/locales",
            "targetFiles": [
              "messages.fr.xlf",
              "../../../messages.xlf"
            ],
            "sourceFile": "../../../messages.xlf"
          }
        },

Expected behavior
The file remains stable.
Version (please complete the following information):

Angular: 17.0.9
OS: Linux
nodejs: 20.10.0
ng-extract-i18n-merge version: 2.9.1

Hi @nkosi23
I understand your point, if the encoding switches back and forth, this would be a bug.
With the given information, I could not reproduce this. For me ' and ', both get encoded to '.

Is it possible that some other translation tool is interfering here?
I notice, you have "../../../messages.xlf" in your targetFiles which is not as intended. "messages.xlf" is the sourceFile - i.e. where translations from the template/source code is extracted to - it should not be a targetFile at the same time. (Maybe you'd rather have a "messages.en.xlf" as a second target file?).

I'd appreciate if you could give feedback if your issue could be resolved or provide a (small) reproduction repository?

@nkosi23 is it possible that you have some automatic code formatting like prettier active or enabled in your IDE? A reproduction would be great!

I have the same issue but it's likely because of auto-formatting. I installed the Redhead XML Extension for VSCode to find errors that appeared after a merge (e.g. missing closing tags). Unfortunately, formatting XML is turned on by default: the extension is escaping ' to ' but it seems that ng extract-i18n is changing it back.


Brushes with different shapes

Maybe explicitly have a brush that could have different shapes like Point, FilledCircle etc.

Can be implemented by passing a function as an argument to draw! for most cases.

Can be implemented by passing a function as an argument to draw! for most cases.


Complete translation: Polish

Provide the two-letter code of the existing language
pl
Provide the lines, that are still English and should be translated
24-25, 56-57, 60-61
Steps to complete the translation

Open the corresponding file, public/_locales/pl/messages.json
Translate all values of the given lines, that still have an English translation and create a pull request

Hi, can u assign me to this? I am native 😊

Of course, thank you for your help!


[Snyk] Security upgrade certifi from 2024.2.2 to 2024.7.4

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):

requirements.txt

⚠ Warning
```
requests 2.31.0 requires urllib3, which is not installed.
</details>

---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with your project.
> - Max score is 1000. Note that the real score may have changed since the PR was raised.
> - This PR was automatically created by Snyk using the credentials of a real user.
> - Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

---

**Note:** _You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs._

For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJkMWFiZTQ0OS1jMTBkLTRhN2QtODc0NS1hNjU0NjI5ZmE3MTkiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImQxYWJlNDQ5LWMxMGQtNGE3ZC04NzQ1LWE2NTQ2MjlmYTcxOSJ9fQ==" width="0" height="0"/>
🧐 [View latest project report](https://app.snyk.io/org/joejoe2010/project/c85076a3-e649-43bd-a9d4-53c28bbd4027?utm_source=github&utm_medium=referral&page=fix-pr)
📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates)
🛠 [Adjust project settings](https://app.snyk.io/org/joejoe2010/project/c85076a3-e649-43bd-a9d4-53c28bbd4027?utm_source=github&utm_medium=referral&page=fix-pr/settings)
📚 [Read about Snyk's upgrade logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities)

---

**Learn how to fix vulnerabilities with free interactive lessons:**

🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc=fix-pr)

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"certifi","from":"2024.2.2","to":"2024.7.4"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-CERTIFI-7430173","priority_score":591,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.1","score":305},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Insufficient Verification of Data Authenticity"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-CERTIFI-7430173","priority_score":591,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.1","score":305},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Insufficient Verification of Data Authenticity"}],"prId":"d1abe449-c10d-4a7d-8745-a654629fa719","prPublicId":"d1abe449-c10d-4a7d-8745-a654629fa719","packageManager":"pip","priorityScoreList":[591],"projectPublicId":"c85076a3-e649-43bd-a9d4-53c28bbd4027","projectUrl":"https://app.snyk.io/org/joejoe2010/project/c85076a3-e649-43bd-a9d4-53c28bbd4027?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"type":"auto","upgrade":[],"vulns":["SNYK-PYTHON-CERTIFI-7430173"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'

@dependabot rebase


Client Allocation Request for: friday

Client Allocation Questions
Core Information

Name: friday
Website / Social Media: https://shopping.friday.tw/
Region: Asia excl. Greater China
DataCap Requested: 10TiB
Addresses to be Notarized: f1ssq2xgg2g25p2746xs2ovy6tzvb2yynx7ke7lei
Notary Requested: swatchliu

@ninivesmeal66 Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hi @ninivesmeal66，
Thanks for your request. Can you kindly add more information here?

Is your company located in the Greater China ?

Please give the following information and provide links to social media/news mentions.
A. Duration of establishment;
B. Nubmer of employees;
C. Business scope and products or services;
D. Social media link (Weibo, WeChat, Douyin, Zhihu，Facebook，Twitter，Linkedin，eg）
E.  Data size to be stored.

Have you already applied for DataCap to another notary, and whether it is accepted or rejected? Is there any reliable DataCap left ?

Would you like to submit more company information on www.bytebase.cn ?

Would you like to accept our face-to-face visit ?

1.Yes.

1.Yes

A.2014.08.08
B.200 employees
C.In 2014, friday shopping was published, with the innovative integration of the concept of "curation", starting from the lifestyle, exclusive sales of specialty products, and introducing expert recommendations to create a new  shopping experience. In 2017, it merged with GoHappy Shopping, a subsidiary of Far East E-commerce, to deepen the operation of the friday  shopping brand, and integrate the advantages of the group-combined with the largest retail channel under the department store sales line, hoping to create the most complete retail channel system for O2O in Taiwan. In the same year, friday shopping won the Visionary Five-Star Service Award First prize in the online shopping category.
Friday shopping adheres to the concept of "concern people" and officially launched the gold membership service in April 2019. friDay shopping shouts "Benefits every time，great life!", combining consumer feedback with unique products, health, entertainment, and convenience , security and other services, all-round upgrading of membership rights, operating a membership system, deepening the relationship between members, and creating an iron powder economy.
In 2020, friDay shopping starts from "let's shopping for a better life", and together with FarEasTone Telecom Group. We will use considerate and innovative services to make technology simpler, help people live in the present more conveniently and smartly, and become a good partner in people's digital life.
D.This is our company's website.  https://shopping.friday.tw/
E.We need to store pictures and commodity information.
3.No, we haven't applied before.
4.Yes. You can find more details on our facebook.   https://www.facebook.com/fridayshopping/
5.Yes，of course.


CSS framework

Not a CSS person but it may be worth it to plug something in via CDN to give our project basic styling. These are two that I've found easy to work with:

https://bulma.io/
https://kbrsh.github.io/wing/

Started with wing, can change it later


[FEATURE]: Non-zip GTFS-RT data

Describe the solution you'd like
Add option to make addon skip unzipping if data is presented as raw.
Additional context
HSL (helsinki public transport) provides GTFS-RT in raw format - https://hsldevcom.github.io/gtfs_rt/ but addon still treats file as zip, tries to extract it and fails

Hi, if the source is proper json then it does not extract...at least, it should not do that.
How to you come to the conclusion that it does file/zip extraction?

As this was a longer time ago did a quick check with my own sources and this is the same. It needs to download the file and then decompile it to readable data (json), no way around that.
What is the error, i.e. you say it fails? Rin in debug mode or use the service/action to download it with ticking to create a readable format, that will add a json file... if the source is correct along the external libraries I use

I've spent some hours debugging it to figure out what's wrong, it says not a zip file.
URL used is https://realtime.hsl.fi/realtime/trip-updates/v2/hsl and it gives raw GTFS-RT file which is binary (protobuf)
also side note - addon doesn't clean after itself if any error happens, i.e. _temp.zip file remains and attempts to re-configure it anew fail because it thinks archive is still being extracted.

No clue what you are doing, this is realtime datasource and has to be added to an existing static datasource .... there is no and never has been  a zipfile for realtime data.
And yes...if you add wrong sources...the integration can not clean. Not planning to resolve all exceptions as you understand (or only at high pay) :)


Forge Update

The forge is currently 1.1.0, as is master, but there are tags as high as 1.2.1.  Could you please publish the latest to the forge?  Thanks.

Hi @gusnuf; I may eventually do this when I have time, but in the meantime you can use a Puppetfile to have r10k or Code Manager include the version of the module you want.

Hello,
I am making some minor additions to this module to make it more flexible for configs etc.
However I am building of the latest version here.  I need it to be available on Puppet Forge however.
If you don't think you are planning to update the version on the Forge, do you mind if I fork, and make my changes , and publish latest to the forge?
Thanks!

@lreed is there an outstanding pull request with your proposed changes?

I just submitted.  Thanks for looking!!  And I see the Travis CI stuff, awesone!

Well, don't get too excited because I don't think the Travis stuff is working...

Hi @pjorg It would be great if the module would auto publish any tags to the forge.
Here's an example
https://github.com/sgnl05/sgnl05-sssd/blob/master/.travis.yml#L25-L35
And the docs
https://puppet.com/docs/puppet/6.2/modules_publishing.html#task-5977
https://docs.travis-ci.com/user/deployment/puppetforge/

Having some cred problems here in .travis.yml. Maybe a bad encrypt operation the first time around?

Anybody know of a way to test the password in .travis.yml without another release?

You could try deleting the tag then re-adding it

Alright. Well. It worked...sort of. The Travis CI build failed, but only because apparently both build jobs tried to upload the Forge update, and after the first one succeeded, the second one choked because the version already exists.
Not sure what to do about that. Need a Travis CI adult. @ghoneycutt, you there?

Created PR #19 based on another module we have working - https://github.com/sgnl05/sgnl05-sssd

Awesome work, thanks @ghoneycutt. Version 1.3.3 passed in Travis and uploaded to Forge without issues.

Well, if anyone wondered if I know what I am doing on GitHub, now they know for sure that I do not.
Forge release is now aligned to most recent GitHub release. Closing this.


501 reinstall husky

#501

When a commit is created:

The staged files (and only the staged files) are modified with eslint --fix for errors only, using lint-staged
yarn test and yarn build run consecutively
If there are any errors when running the hook, the commit is cancelled

To quickly test the pre-commit hook behaviour locally

yarn install to install husky hooks in your local machine
Modify any file and add an import that will remain unused
Add a random line of code in the file that would not trigger a linting error
Stage the file, check the diff
Create a commit, yarn test and yarn build are also ran.
Compare the diff in the commit changes vs the diff in step 3 - the unused import was removed


OAuth2Client.authenticate() not working on Android - native plugin code not called?

Setup:

Ionic 5.2.3
Capacitor 1.1.1
Capacitor OAuth 2 client plugin 1.0.0

Scenario:

React app
Added Capacitor
Added iOS and Android platforms
Configured OAuth 2 client in the app (in Android: edited MainActivity)
Created an app on Azure B2C, obtained Client ID and all necessary parameters

On iOS and web:

Calling “OAuth2Client.authenticate(authOptions)” launches a successful flow where I am able to grab the token from the callback (Web) or from the custom app scheme after the app is launched (iOS).

On iOS, the link opens in an external browser window, but the redirect correctly points to the app itself (as the custom scheme is register) so I am able to get the token from the URLs callback.
On Android I encounter the following problem::

Calling “OAuth2Client.authenticate(authOptions)” opens the authentication page in the app itself (not in the browser), and once I enter  the correct username and password I am prompted for a redirect to Chrome, where the “Bad request” error is shown.

I observed that the native code of the plugin is not executed on Android (breakpoints not reached) and I am concerned this could be the cause,  but the MainActivity seems properly configured so I do not know where else to look:
public class MainActivity extends BridgeActivity {
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    // Initializes the Bridge
    this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
      // Additional plugins you've installed go here
      // Ex: add(TotallyAwesomePlugin.class);
      add(OAuth2ClientPlugin.class);
    }});
  }
}

Note: this issue looks similar to #47 but opening a new issue for clarity and also because using different Id provider.
Any idea on what I could be doing wrong/missing?

Could you plz share your config as I dont know the provider (without any credentials ofcourse) but I need to see how you configured the plugin.

The information here come from a lot of documents/sample code/googling, but if there is a Microsoft reference, happy to read about it. Warning:  Long post, but hopefully comprehensive.
The main ref for building the OAuth flow on Azure B2C is this page: /https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-reference-oauth-code
Azure B2C uses a "Policy" parameter specified for the app configuration page on Azure (in my case B2C_1_sign-up_sign-in ).
This is used as it is passed as the ?p=... parameter in the Microsoft documentation, since this plugin does not have a parameter for this config, I decided to include it in the URL as per this sample: https://github.com/Azure-Samples/active-directory-b2c-javascript-msal-singlepageapp
const authOptions = {
      appId: "<App ID from Azure B2C App Registration page>",
      authorizationBaseUrl:
        "https://testazureb2corganization.b2clogin.com/testazureb2corganization.onmicrosoft.com/B2C_1_sign-up_sign-in/oauth2/v2.0/authorize",
      accessTokenEndpoint:
        "https://testazureb2corganization.onmicrosoft.com/B2C_1_sign-up_sign-in/oauth2/v2.0/token",
      scope:
        "https://testazureb2corganization.onmicrosoft.com/api/user_impersonation",
      responseType: "token",
      web: {
        redirectUrl: window.location.origin
      },
     android: {
        redirectUrl: "com.testapp.ionicreact://oauth",
        customScheme: "com.testapp.ionicreact://"
      },
      ios: {
        redirectUrl: "capacitor://localhost",
        customScheme: "capacitor://"
      }
    };

The iOS project is configured with this URL registered to the app:
<key>CFBundleURLTypes</key>
	<array>
		<dict>
			<key>CFBundleURLName</key>
			<string>com.getcapacitor.capacitor</string>
			<key>CFBundleURLSchemes</key>
			<array>
				<string>capacitor</string>
			</array>
		</dict>
	</array>

This is the login code:
const login = () => {
      console.log("About to login");
      OAuth2Client.authenticate(authOptions)
        .then(resourceUrlResponse => {
          let accessToken = resourceUrlResponse["access_token"];
          let oauthUserId = resourceUrlResponse["id"];
          let name = resourceUrlResponse["name"];
          // go to backend
          // history.push('/home');
          console.log("Token: " + accessToken);
        })
        .catch(reason => {
          console.error("OAuth rejected", reason);
        });
    };

Reference app configuration on Azure B2C:

(Note that it's not possible to add a Redirect URI for native apps like scheme:// , it has to be in the format scheme://path )
The iOS project flow (working) is:

tap on a button "Authenticate"
a Safari window opens, with Azure B2C login page
I enter user+password and tap "Login"
the redirect uri kicks in and returns me to the app
I get the token using Capacitor's App plugin App.addListener('appUrlOpen', (data) => {...

The Android flow (not working) is:

tap on a button "Authenticate"
the Azure B2C login page opens in the app itself
I enter user+password and tap "Login"
I am prompted if I want to open the page in Chrome (expected behavior: this should not happen)
the browser page opens with "Bad request" error

Android project is configured correctly on the MainActivity, as explained before. Also, build.gradle contains:
android.defaultConfig.manifestPlaceholders = [
        'appAuthRedirectScheme': 'com.testapp.ionicreact'
]

Screenshots:

As I mentioned before, I can't seem to reach breakpoints in the native Android code of the plugin (while I do reach breakpoints in MainActivity, for example), not sure if that's the expected behavior

Update: it seems like I had a problem on my end which resulted, as identified, in only the web code being called and not native code. Strangely enough the flow would not give error on iOS.
Will update the config above/share the working one after I manage to get to a successful flow-which is not yet the case.
Anyway, specific to this issue: this code opens the Web flow:
OAuth2Client.authenticate(authOptions)

For calling the plugin on Android, it needs to be (as per README):
Plugins.OAuth2Client.authenticate(authOptions)

More findings while going through this research:

the Android plugin code is overriding any additionalParameters with android parameters. I will submit a PR as this is giving problems with Azure AD B2C which requires a ?p= param added to the URL.
Setting the app's scheme in both build.gradle and in AndroidManifest.xml results in a "conflict" as described here: https://github.com/FormidableLabs/react-native-app-auth/issues/130

So I am configuring build.gradle like this:
android.defaultConfig.manifestPlaceholders = [
        'appAuthRedirectScheme': 'com.testapp.ionicreact'
]

and the custom_url_scheme as:
    <string name="custom_url_scheme">com.testapp.ionicreact.intent</string>

(setting them the same results in the same app displayed twice as "Open with" after authentication)
Now I am facing an error of type: ERR_STATES_NOT_MATCH, with this line in the debug console:
W/AppAuth: State returned in authorization response (null) does not match state from request (WboWKqMvEbm9ueZnM0GF) - discarding response

Final update: Android and iOS both work, using this config:
const authOptions = {
     appId: "<the app id>",
      authorizationBaseUrl:
        "https://testazureb2corganization.b2clogin.com/testazureb2corganization.onmicrosoft.com/oauth2/v2.0/authorize",
      accessTokenEndpoint:
        "https://testazureb2corganization.onmicrosoft.com/oauth2/v2.0/token",
      scope:
        "https://testazureb2corganization.onmicrosoft.com/api/user_impersonation", //add offline_access openid
      //?p=B2C_1_sign-up_sign-in
      responseType: "token", //default = token, try with code"
      web: {
        redirectUrl: window.location.origin
      },
      android: {
        customScheme: "com.testapp.ionicreact://oauth",
      },
      ios: {
        customScheme: "com.testapp.ionicreact://oauth",
      },
      additionalParameters: {
        p: "B2C_1_sign-up_sign-in",
        response_mode: "query"
      }
    };

However this required some code changes in the native iOS and Android code, to support the "token" flow (it seems the Android code is designed to support both "code" and "token", but only the "code" success is properly handled?).
Will submit a PR to discuss this. I am closing this issue

Hi @maggix
Can we have your PR for this issue? Thanks in advance.

Hi @maggix ,
I'm interested too by your modification as I'm trying to use this lib for MSAL Oauth2.


TS2304: Cannot find name 'Promise'

Using typescript 2.0.0

You really need to provide more than this.  This is not a support forum, it is for tracking issues and defects with TypeScript.  Maybe even the command line you are using to compile the project?  You really expect people to read your mind?

@whitecolor that might get it to compile in certain situations, but that may not solve the problem.  We need more information to know what is going on.  It could be the OP assumes they are targeting ES6 when by default, TypeScript targets ES5.  Your suggestion is only valid if someone is loading es6-shim at runtime, which the OP did not state.

Your suggestion is only valid if someone is loading es6-shim at runtime, which the OP did not state.

Well you may not have whole es6-shim as dependency if you are targeting some platfroms that support in this case Promise (but not ES6), installing just types will allow to use Promise with typescript that compiles to ES5.

for future searches.
the default library that the compiler injects in a compilation is one for ES5 runtimes. Promise was added in ES6/ES2015 . So:

If you know your engine has support of ES6 promises, e.g. node v4+, use --lib es6 (or --lib dom,es6 for websites).
if you are including a shim for promise, e.g. core-js, es6-shims, etc.. then npm install @types/core-js or npm install @types/es6-shim
if you are using a different library for your promise, e.g. bluebird, then you should not be using the global Promise directly.


[WIP] ci: prepare pr preview script

The PR environment is ready, please check the PR environment
[Attention]: This environment will be automatically cleaned up after 6 hours, please make sure to test it in time. If you have any questions, please contact the author of the PR or the community team.  # noqa

The PR environment is ready, please check the PR environment
[Attention]: This environment will be automatically cleaned up after 6 hours, please make sure to test it in time. If you have any questions, please contact the author of the PR or the community team.

The PR environment is ready, please check the PR environment
[Attention]: This environment will be automatically cleaned up after 6 hours, please make sure to test it in time. If you have any questions, please contact the author of the PR or the community team.


Data Preparation

Can you add a guide to data preparation for training?

I also have a similar problem. Can you describle guide for create_dataset.py? I have a lmdb file, how do i can convert it to tfrecords file?

这个数据集是啥下载不下来


Is there support for a horizontal slider/cursor?

Hi Jam,
I'd like to be able to move a slider/cursor back and forth horizontally, which would be indicated with a vertical line. As I move it, I'd get events indicating which tasks the cursor intersects. Is this supported by this timeline?
Use case: We have a 3D model of a building, on which various tasks are scheduled. We can associate the model's objects with tasks on a Gantt timeline. We'd like to have a slider (a vertical line going from the top of the chart to the bottom) that we can move back and forth horizontally. Whenever the slider intersects one or more tasks, we'd like to highlight the model objects associated with those tasks. Does react-gantt currently have functionality to support such a thing?
Thanks!

It does not support it at the moment. However, pull requests are welcome.


Runaway Chromium processes

I was excited to hear about requests-html and appreciate the nice way it deals with javascript-heavy pages. Unfortunately I am having an issue with runaway Chromium processes as below.
I've been trying to scrape multiple javascript-heavy pages. As a simple test I do this by looping over the urls, 'rendering' each one in turn before extracting the data using css selectors. Getting the data works like a charm but the problem is that no matter what I try I seem to generate a growing list of Chromium processes, which quickly brings everything down.
I have tried creating a new HTMLSession for each url, closing the session after each url has been scraped. I have also tried opening each url in the same HTMLSession. Either way, each 'render' seems to add multiple Chromium processes which never die.
Is there a way to prevent this explosion of Chromium processes? How can I kill each one after each page has been scraped or, alternatively, can I force render to use the same single Chromium instance?
I'm doing all of this on a Mac with OSX 10.13 (High Sierra) in a Python 3.6 condo environment.

Hey @kennethreitz
I confirmed this, we could try to move the browser to the session object, then each time a user call render just create a new page in the browser and close the browser when the session is closed; now as you choose to expose the page object on #99, each response render will create a new page and too many could crash the browser, therefore I think we should close the page by default and add a parameter for those who want to keep it open and intecract with the page ( I think there are fewer cases like this, so it would be more human friendly to close it.).
Let me know and I work on this, this would also make the async version easier to finish.

Even I have the same issue. response.html.render() is opening multiple windows even after closing the response. Is there a workaround for this?

In version 0.9.0, I am still seeing the same problem. After calling r.html.render() multiple times, the Chromium processes build up, though some close, many of them do not.
Is there any other way to prevent this?

if your sessions is s = requests_html.HTMLSession()
then you call it to do a get for example like this
r = self.s.get(link, timeout=5)
you can wait the render with:
wait = r.html.render()
and then close the session in order to destroy chromium process like this:
s.close()
I hope this resolve your issue, mine was resolved using this way. If you need to do another operation, remember to recreate the s = requests_html.HTMLSession(). ;-)


Include guidance for cloud-only scenarios.

As cloud adoption continues, fewer users will be joining workstations to an AD DS domain. This "Allow syncing only on computers joined to specific domains" setting is not compatible with the modern landscape and at the least, the article should suggest Conditional Access policies to people looking to lock down OneDrive sync.
A link to this article would be good enough: https://learn.microsoft.com/en-us/sharepoint/control-access-from-unmanaged-devices

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

ID: aff608fe-1f13-ad08-df3e-d2db050b87f8
Version Independent ID: 32325172-804d-fac1-5deb-9e51ccc6dd75
Content: Allow syncing only on computers joined to specific domains - SharePoint in Microsoft 365
Content Source: SharePoint/SharePointOnline/allow-syncing-only-on-specific-domains.md
Service: one-drive
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

Hello, I'll propose to add that link to the article, if it gets approval, it will be in the published version of the article.
Thanks for your feedback,


ST7920 and NOKIA LCD 5110 Monochome and Stm32F030C8 (64kb, 8kb RAM)

I plan to use ST7920 128x64 monochrome LCD at Stm32F030C8 CPU. Have anybody a positive/negative experience?
8kb RAM and 64kb flash will be enoough for monochrome theme at 128x64 resolution with minimum object at scene?
Also plan use a Lite version a Nokia LCD 5110 (84x84, PCD8544 driver).
Nokia LCD 5110 -
Link
ST7920 - Link

@NickNifontov Personally, I'd advise you to get a microcontroller with at least 128 KB of Flash and maybe 16 kilobytes of RAM.
The absolute bare minimum requirements to fit LittlevGL itself, according to the README, are 64 KB of Flash and 10 KB of RAM, but you'll need more space to fit your application as well and I've never been able to get it that small.
I think @kisvegabor has tried it on a wider variety of platforms than I have so he can probably give you more exact information.

cool
i'll try stm32f103cbt6 (128kb flash, 20kb RAM)

I agree with @embeddedt. You should choose a little bit more powerful MCU to use LittlevGL.
I updated your post to make links really links. Try to edit your comment to see how it works.


Register first generic type of JPA attribute converters for reflective inspection

A JPA AttributeConverter's first generic type needs to be available for reflection with AccessBits.LOAD_AND_CONSTRUCT. The hint currently has to be added manually but should be easily detectable generically when inspecting the application code. From AttributeConverter<X, Y> we need to register X with aforementioned settings.

I will let @schauder and/or @christophstrobl qualify this one.

This seems to be working already. The problematic case I had at hand was using an interface in the signature and Hibernate trying to reflect on the implementation class, which is of course not appearing in any declaration. In my particular case I was able to declare the convertToEntityAttribute(…) to actually return the implementation type and that renders the custom hint previously necessary obsolete.


[Bug Report] Linux server only maxing out one CPU core

Have you read the Important information text above

[X] Yes i did

Current behavior
On deploying with docker, as supposed, my htop shows that the Palworld server only uses 1 core, but maxes it out to 100%.
Ingame stats show that the server is running at 25 FPS.
Desired behavior
Multithreading and using more cores (or max cores (8 are available)) would be nice to ensure better performance.
Links to screenshots
No response
To Reproduce
Steps to reproduce the behavior:

deploy docker image
see only one CPU maxed out in htop

Software setup

OS: 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux
Docker: Docker version 24.0.6, build ed223bc

Hardware setup

vCPU: 8x 2.2 GHz
RAM: 24 GB (or more?)
Disk: freaking much HDD space (plenty of room left)

Additional context
No response

I noticed similar behavior with my 8 core server. Have you tried running it in Windows? If so, does it still exhibit the same behavior?

I wont have a Windows system near me for the next few days, so I cant check...

Hey @Trollwut - Not sure how this is a bug and you dont really ask a clear question here, so what is your expectation you have?
My Docker-Stats show this:
CONTAINER ID   NAME                        CPU %     MEM USAGE / LIMIT     MEM %     NET I/O           BLOCK I/O        PIDS
xxxxxxx   palworld-dedicated-server   101.99%   23.02GiB / 31.41GiB   73.29%    486MB / 2.03GB    2.31GB / 274GB   85
Here and there the CPU jumps for a few seconds or a minute up to 200-215'ish percent.
This seems to be just normal behavior with Unreal Engine. ASE in UE4 did that too, 1 Master/Main Thread that got heavy - to very heavy usage and which delegated the other work to other threads so the server is very responsive.
Im not sure what a Docker-Image would be able to change here, in a nutshell im just running a binary in a minimal Linux in an application virtualization.
Can you please explain what your thoughts and questions are?

It's just maxing out a single core, not any other available of the rest.
So my desired behaviour would be using more cores.
I dont know, if this is a docker limitation or from the server software, so I try it here as well.

@Trollwut
This is a dedicated server issue, im just starting a binary under Linux. Im doing nothing to hardware-priorization or limitation. At least not in the default setup thats posted here on github.
There is nothing i can do about this.
If you like this project, please consider giving this repo and the Docker-Hub-Repo a Star.

Ok, so it's up to the Palworld server devs to tweak their performance.

If you like this project, please consider giving this repo and the Docker-Hub-Repo a Star.

Will do, thanks!

I believe this is a legitimate bug, and I have a PR to fix it here:
https://github.com/jammsen/docker-palworld-dedicated-server/pull/190

Hey @Callum027 - Thanks i will merge it to develop and will try it out. Thanks for the contribution.


As an admin I can edit content

 Issue by bakalaw
Wednesday Feb 24, 2016 at 10:15 GMT
Originally opened as https://github.com/stxnext-csr/volontulo/issues/467

AC
There is a CMS tool for rendering the content onto the website (raw HTML)

 Comment by Yog
Friday Feb 26, 2016 at 11:13 GMT

duplicate of https://github.com/stxnext-csr/volontulo/issues/397 and https://github.com/stxnext-csr/volontulo/issues/396

 Comment by tomaszwozniak
Friday Feb 26, 2016 at 17:59 GMT

Missing list of pages.

 Comment by magul
Friday Feb 26, 2016 at 18:32 GMT

@tomaszwozniak list of pages is in #477

 Comment by mpuhacz
Friday Feb 26, 2016 at 21:04 GMT

I take it with #477

 Comment by KrzysztofMadejski
Friday Feb 26, 2016 at 21:14 GMT

@mpuhacz will you use https://docs.djangoproject.com/en/1.9/ref/contrib/flatpages/ ?

 Comment by mpuhacz
Friday Feb 26, 2016 at 21:17 GMT

@KrzysztofMadejski At first I wanted to use it, but it is dependent on django.contrib.sites, so after all I'm going to create new model with fields:
title, html, userprofile, modified_at and created_at. What do you think?

 Comment by KrzysztofMadejski
Friday Feb 26, 2016 at 21:21 GMT

I haven't used it, but from what I've read I understand it has wysiwyg editor and the whole admin. Seems like the easiest option.

 Comment by mpuhacz
Friday Feb 26, 2016 at 21:34 GMT

@KrzysztofMadejski, true - it has django admin, but we want to display edit form inside "bussines-admin"(dunno how to call it), so anyway I'll have to write new views.

@magul, can you verify if this feature was deployed?

Feature should be deployed to live env.


Remove stringification of JERRYX_NATIVE_MODULE module_name argument?

See https://github.com/jerryscript-project/jerryscript/blob/master/jerry-ext/include/jerryscript-ext/module.h#L51
module_name is stringified, which will cause the argument to not be evaluated by the preprocessor but used verbatim.
After having used the macro in practice, I found that it's not desirable to stringify it, because:

it prevents one from creating macros that call the JERRYX_NATIVE_MODULE macro and pass in a variable module name

it makes it impossible to single-source the module name, i.e. I cannot write something like:

#define MY_MODULE_NAME my_module
#define MY_MODULE_NAME_STR STRINGIFY(MY_MODULE_NAME)

void
foo (void)
{
  const jerry_value_t m = call_require(MY_MODULE_NAME_STR);
  // ...
}

// module will actually be named "MY_MODULE_NAME"...
JERRYX_NATIVE_MODULE(MY_MODULE_NAME, ...)

Therefore I propose to remove the stringification (#) from the macro.
I realize it's a breaking change, but the API is pretty new and the migration path is super simple.
Thoughts @gabrielschulhof ?
cc @jiangzidong

@martijnthe I agree with you. And I think we can "break" the API.

@martijnthe @jiangzidong I'm working on this to help out Tim Harvey. I'll have something in a bit.

Ok for me.

@martijnthe I found a solution which will allow both the use of # in the macro implementation and passing in a macro that evaluates to a non-quoted string.
Basically, if we do
#define JERRYX_NATIVE_MODULE(module_name, on_resolve_cb) \
  JERRYX_NATIVE_MODULE_IMPLEM(module_name, on_resolve_cb)

#define JERRYX_NATIVE_MODULE_IMPLEM(module_name, on_resolve_cb) \
/* actual implementation of macro */

Then we can use it like so:
#define MY_MODULE_NAME my_module_name

static jerry_value_t Init (void) {return jerry_create_number (42);}

JERRYX_NATIVE_MODULE(MY_MODULE_NAME, Init)

The key is to have a macro call a macro.

This is what Node.js does too.

@gabrielschulhof yep, thanks.


Lots of empty space with only few entries

If there aren't a lot of entries present the window looks visually unbalanced with all the empty space in the lower half:

I think the amount of columns and window width/height should be dynamic based on the amount of content to avoid empty space.

At the moment, the current behaviour is intentional, as it was inspired by other app that share the same approach. At first sight it was also not that impressive, but I quickly get used to it. Still, If more people express the need for this improvement, I'll be happy to reevaluate and explore the possibility of implementing it in the future.


Review & merge upstream

The only changes introduced in this PR are in the tests/library/test_readme.py file, the rest of the file changes are from merging upstream.

get_scraper_index

added some type hinting renamed scraper to scraper_instance for clarity.
separated secondary domain extraction into its own variable.

get_shared_prefix

included type annotations for improved readability and type checking.
added an initial check to return an empty string if the domains list is empty.
simplified prefix matching by setting the shared prefix to the first domain and iteratively shortening it.
added early termination condition to avoid unnecessary computations.
simplified post-processing step for handling domain separators.

parse_primary_line

consolidated return statements to check for a match and ensure the number of groups is exactly 2.
added explicit group length check for validation.

parse_secondary_line

simplified return statement.

get_list_lines

included type annotations to enhance readability and type checking.

TestReadme.test_includes

streamlined condition check for clarity and efficiency.
adjusted variable spacing and alignment for improved readability and consistency.

Hey @mlduff , just want to make sure you see this! This is related to your review request

Ah, I had not seen this. Thanks very much for pointing it out @jknndy


[stat] Fix kind if item when the plot content change

Fix the issue #1905
Plus some clean up

Closes #1905

LGTM.
Thanks.


Redirect to Template creation through docusign UI from another app

How can I redirect my user to template creation page of the docusign web UI to create his template and then he'll redirect again to my app and can send them to anyone

To redirect a user to The DocuSign UI to create templates or envelopes, then you want embed the DocuSign UI in your app, Creating a console view enables you to load the DocuSign UI within your application, providing the same options and functionality as if you were logged in to your demo account. You can choose to load either the UI's front page or a view of a specific envelope's documents as the starting page.
Step 1: Obtain your OAuth toke
Step 2. Create the console view request
Please use this link for all the details and code examples in your preferred programming language on how to embed the DocuSign UI in your app: https://developers.docusign.com/docs/esign-rest-api/how-to/embed-ui/

Please help me it is useful. Could you please help me

Which code are you running? where did you get the React code from?


Connection Error / Failed to fetch metadata / Errno::ETIMEDOUT: Connection timed out

If this is a bug report, please fill out the following:

Version of Ruby: 2.3
Version of Kafka: 0.10.1
Version of ruby-kafka: 0.6.7

Please verify that the problem you're seeing hasn't been fixed by the current master of ruby-kafka.
Steps to reproduce
require "kafka"
require "logger"

k=Kafka.new(
  logger: Logger.new(STDOUT),
  seed_brokers: ["kafka.com:9092"],
  sasl_gssapi_principal<EMAIL_ADDRESS>  sasl_gssapi_keytab: "/etc/keytabs/kafka.keytab",

k.deliver_message('abc', topic: 'fluentd')

Expected outcome
Can publish topic message to Kafka brokers successfully.
Actual outcome
I, [2017-12-06T01:05:07.922443 #6436]  INFO -- : New topics added to target list: fluentd
I, [2017-12-06T01:05:07.922520 #6436]  INFO -- : Fetching cluster metadata from kafka://kafka.example.com:9095
D, [2017-12-06T01:05:07.922582 #6436] DEBUG -- : Opening connection to kafka.example.com:9095 with client id ruby-kafka...
D, [2017-12-06T01:05:07.939300 #6436] DEBUG -- : Sending sasl_handshake API request 1 to kafka.example.com:9095
D, [2017-12-06T01:05:07.939473 #6436] DEBUG -- : Waiting for response 1 from kafka.example.com:9095
D, [2017-12-06T01:05:07.941101 #6436] DEBUG -- : Received response 1 from kafka.example.com:9095
D, [2017-12-06T01:05:07.957806 #6436] DEBUG -- : GSSAPI: Initializing context with kafka.example.com:9095, principal<EMAIL_ADDRESS>D, [2017-12-06T01:05:07.968115 #6436] DEBUG -- : Sending topic_metadata API request 2 to kafka.example.com:9095
D, [2017-12-06T01:05:07.968240 #6436] DEBUG -- : Waiting for response 2 from kafka.example.com:9095
E, [2017-12-06T01:05:17.978989 #6436] ERROR -- : Timed out while waiting for response 2
D, [2017-12-06T01:05:17.979269 #6436] DEBUG -- : Closing socket to kafka.example.com:9095
D, [2017-12-06T01:05:17.979526 #6436] DEBUG -- : Closing socket to kafka.example.com:9095
E, [2017-12-06T01:05:17.979749 #6436] ERROR -- : Failed to fetch metadata from kafka://kafka.example.com:9095: Connection error Errno::ETIMEDOUT: Connection timed out
D, [2017-12-06T01:05:17.979892 #6436] DEBUG -- : Opening connection to kafka.example.com:9095 with client id ruby-kafka...
D, [2017-12-06T01:05:18.002404 #6436] DEBUG -- : Sending sasl_handshake API request 1 to kafka.example.com:9095
D, [2017-12-06T01:05:18.002545 #6436] DEBUG -- : Waiting for response 1 from kafka.example.com:9095
D, [2017-12-06T01:05:18.005036 #6436] DEBUG -- : Received response 1 from kafka.example.com:9095
D, [2017-12-06T01:05:18.005136 #6436] DEBUG -- : GSSAPI: Initializing context with kafka.example.com:9095, principal<EMAIL_ADDRESS>D, [2017-12-06T01:05:18.013008 #6436] DEBUG -- : Closing socket to kafka.example.com:9095
/home/vagrant/.rvm/gems/ruby-2.3.0/gems/ruby-kafka-0.6.7/lib/kafka/cluster.rb:286:in `fetch_cluster_info': Could not connect to any of the seed brokers: (Kafka::ConnectionError)
- kafka://kafka.example.com:9095: Connection error Errno::ETIMEDOUT: Connection timed out
	from /home/vagrant/.rvm/gems/ruby-2.3.0/gems/ruby-kafka-0.6.7/lib/kafka/cluster.rb:246:in `cluster_info'
	from /home/vagrant/.rvm/gems/ruby-2.3.0/gems/ruby-kafka-0.6.7/lib/kafka/cluster.rb:82:in `refresh_metadata!'
	from /home/vagrant/.rvm/gems/ruby-2.3.0/gems/ruby-kafka-0.6.7/lib/kafka/cluster.rb:48:in `add_target_topics'
	from /home/vagrant/.rvm/gems/ruby-2.3.0/gems/ruby-kafka-0.6.7/lib/kafka/cluster.rb:140:in `partitions_for'
	from /home/vagrant/.rvm/gems/ruby-2.3.0/gems/ruby-kafka-0.6.7/lib/kafka/client.rb:125:in `deliver_message'
	from test.rb:15:in `<main>'

There is a same issue here #498 , but I don't know why close it.

Can you connect to kafka using telnet kafka.com 9092?

Can you connect to kafka using e.g. telnet kafka.com 9092? Also, try with ruby-kafka 0.6.8 please
Yes, the connection is OK, you can see that the timeout occurred in the second response as below when sending topic_metadata API request,

D, [2017-12-06T01:05:07.939300 #6436] DEBUG -- : Sending sasl_handshake API request 1 to kafka.example.com:9095
D, [2017-12-06T01:05:07.939473 #6436] DEBUG -- : Waiting for response 1 from kafka.example.com:9095
D, [2017-12-06T01:05:07.941101 #6436] DEBUG -- : Received response 1 from kafka.example.com:9095
D, [2017-12-06T01:05:07.957806 #6436] DEBUG -- : GSSAPI: Initializing context with kafka.example.com:9095, principal<EMAIL_ADDRESS>D, [2017-12-06T01:05:07.968115 #6436] DEBUG -- : Sending topic_metadata API request 2 to kafka.example.com:9095
D, [2017-12-06T01:05:07.968240 #6436] DEBUG -- : Waiting for response 2 from kafka.example.com:9095
E, [2017-12-06T01:05:17.978989 #6436] ERROR -- : Timed out while waiting for response 2

Another issue with using SASL authentication method. There are some other issues with that, and it looks like they all come from fluentd intergration. I'm suspect that the SASL authenticating module is having a problem. That module is contributed long before by other contributor. I haven't used this authentication method personally. But since the number of issues related to that is increasing, I will try out to see what's happening.
Thanks for reporting this issue ❤


Fix replace_sampler missing the batch size under specific conditions

What does this PR do?
Reported in Slack.
Fixes a bug where the batch_size was not properly reset under the following conditions:

batch_size is provided to the DataLoader
No batch_sampler is present initially
The DataLoader signature passes the batch_size through **kwargs.

Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[n/a] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

LGTM. Can you add a simple test with a dummy loader?
Something like
class DummyLoader(torch.utils.data.DataLoader):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)

May be mistaken, but the CustomDataLoader test already does this:
class CustomDataLoader(DataLoader):
        def __init__(self, num_features, dataset, *args, **kwargs):
            self.num_features = num_features
            super().__init__(dataset, *args, **kwargs)

@SeanNaren my bad, overseen this


[SPARK-8273]Driver hangs up when yarn shutdown in client mode

In client mode, if yarn was shut down with spark application running, the application will hang up after several retries(default: 30) because the exception throwed by YarnClientImpl could not be caught by upper level, we should exit in case that user can not be aware that.

Merged build triggered.

Merged build started.

Test build #34495 has started for   PR 6717 at commit 28752d6.

Test build #34495 has finished for   PR 6717 at commit 28752d6.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class SimpleFunctionRegistry extends FunctionRegistry
case class Rand(seed: Long) extends RDG(seed)
case class Randn(seed: Long) extends RDG(seed)
class StringKeyHashMap[T](normalizer: (String) => String)

Merged build finished. Test FAILed.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #34503 has started for   PR 6717 at commit 28752d6.

Test build #34503 has finished for   PR 6717 at commit 28752d6.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class SimpleFunctionRegistry extends FunctionRegistry
case class Rand(seed: Long) extends RDG(seed)
case class Randn(seed: Long) extends RDG(seed)
class StringKeyHashMap[T](normalizer: (String) => String)

Merged build finished. Test PASSed.

LGTM

I'll fix these up myself when I merge. Thanks @WangTaoTheTonic this is going into master 1.4.

Oh Thanks andrew.


Fix #7 ART-04  component needed

 component created and added index.js file

 component merged to develop branch


When will code for wavesplit be released ?

Hi,
When will code for wavesplit be released ?
Thanks

We don't have convincing results yet.
#70
Feel free to give a try to the current code and help us !


IGAPP-430: Prevent showing of last update before webview content is re…

…ndered
This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.

I think the code style should be changed for web/project wide as well.

Try to reapply the JS Standard tyle:

@maxammann actually I think this is not what we want here and changes nothing. Lets discuss this in the teamcall today.

It changes one setting :D I tried already

Adjusted code style for native and web. Tested several files and most of them haven't canged by auto-formatting.


[BUG] System.AggregateException: One or more errors occurred. (The given key 'content-platform-dictionaries.zip' was not present in the dictionary.)  [Inner Exception] System.Collections.Generic.KeyNotFoundException: The given key 'content-platform-dictionaries.zip' was not present in the dictionary.

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v 2.5.4
What problem did you encounter?
i wsa installing normally bloxtrap and i got in the middle of the downlad an error     System.AggregateException: One or more errors occurred. (The given key 'content-platform-dictionaries.zip' was not present in the dictionary.)
[Inner Exception]
System.Collections.Generic.KeyNotFoundException: The given key 'content-platform-dictionaries.zip' was not present in the dictionary.
Bloxstrap Log
N/ABloxstrap_20241212T004230Z

soo.. update.

the latest version is 2.8.1 as for now

https://cdn.discordapp.com/attachments/1306241906157686878/1312279843349725204/caption.gif?ex=675bbd57&is=675a6bd7&hm=92a2671b26b2343cf49fd6d9deea47d558b3263ffd3ed033b478d855d2bdf8d1&


Webpack config missing

In package.json there's a build task that calls into webpack.
Webpack isn't a dependency and there's no webpack config.
Without this build task, there's no easy way to use this.

@jiaweihli Webpack dependency can be removed. It is not needed. You can send a PR for that.


Add next-permutation and reverse-by-predicate

Hello!  Recently I have been doing some of my own work in idiomatic C++ and I love the goal of your site!  I hope you will accept some functions I've written that showcase the STL's power and expressiveness.  Cheers!

Thanks and apologies for the very slow response. I'll be catching up on updating the site this coming weekend, so I'll take a look then.

Thanks for the contributions. While I really like your functions (I might find use for them!), I think they don't quite fit the purpose of the site. Samples should aim to demonstrate how to solve simple common tasks, rather than providing implementations of algorithms or data structures. I think your functions would be much better suited for a library or shared in a gist or something! Nonetheless, thanks for submitting them, and I hope you'll continue to submit more in the future.


Misleading documentation about Activation layers?

The documentation says: "Activations can either be used through an Activation layer, or through the activation argument supported by all forward layers" so that
from keras.layers.core import Activation, Dense

model.add(Dense(64))
model.add(Activation('tanh'))

is equivalent to:
model.add(Dense(64, activation='tanh'))

However, this doesn't seem to be the case.  I'm getting very different results using the two methods (namely, the second converges and the first doesn't), and as far as I can tell, the problem is that the first version applies both the default activation for the previous layer and the activation specified in the Activation layer.  Only in the case where the previous layer's activation is linear (which happens to be the case for Dense) do the two forms end up being equivalent.  Or am I missing something?

No, that's quite correct. However forward layers are pretty much all non-recurrent layers. So that will be equivalent for those.
Recurrent layers will have different functionality.

Ah yes, I didn't read carefully enough and missed the word "forward".  In my defense, it's still a little confusing, since the recurrent layers all support the activation flag too.  It's not clear that the discussion only applies to forward layers. Maybe rather than
Activations can either be used through an Activation layer, or through the activation argument supported by all forward layers

it could say something like
For forward layers, activations can either be used through an Activation layer or through the activation argument


plantuml-c4: init at unstable-2022-08-21

Description of changes
There is a nice inofficial plantuml library for generating C4 software architecture diagrams.
This PR creates a new package plantuml-c4 that bundles plantuml with this library.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@bjornfor plz have another look. I rewrote this so that the original plantuml derivation does not have to be touched.


Use Pirates

Hi @jamestalmage,
I noticed that your require hook isn't properly respecting the require chain. If I submit a PR, would you consider using pirates to do it properly?
Thanks!

Continuing down the chain defeats the whole purpose of this module. It does respect the chain if precompile returns a falsy value. The idea is to grab from a cache or some other precompilation source instead of continuing down the chain. This requires that you have control over the transorms that come before you if you don't want problems. See my babel-in-main-thread branch/PR for AVA. it provides significant speed up.
Obviously, there is danger here if you don't know what you are doing - but I don't think it can be helped in this case.

I was just going to suggest pirates too. The dead-ending of the chain is causing problems.

I am certainly open to discussing a solution to the problems @std/esm is having, but pirates isn't a viable solution. The whole point of this module is to short-cut the chain. We use it for test sources which we precompile in the main thread to avoid loading Babel in every test thread. This has offered significant performance gains we aren't keen to give up.
I've done some poking around, andrequire-precompiled isn't actually the issue. I'll have a PR for AVA shortly.


Solve Issue #520

Solve issue #520
Right-align the closing paragraph in sponsor page.

No here, it is a negligence 😅


Source requests: Baozimh, Cocomanga

https://www.baozimh.com/
https://www.cocomanga.com/
Many thanks..

Baozimh mirror site：cn.baozimh.com, cn.webmota.com,tw.baozimh.com, tw.webmota.com,www.baozimh.com, www.webmota.com

Baozimh was added -> #312
Cocomanga changed its domain name to COLAMANHUA -> #279