Crash on fetch

This is crash from our client, we don't know yet any reproduction steps.
But maybe the crashlog would be enough for you to catch a problem
Crash log:
#14. Crashed: com.OGDataProvider.URLEmbeddedView
0  libsystem_kernel.dylib         0x1840e92ec __pthread_kill + 8
1  libsystem_pthread.dylib        0x18428a288 pthread_kill$VARIANT$mp + 376
2  libsystem_c.dylib              0x184057d0c abort + 140
3  URLEmbeddedView                0x1023bf3c8 $S15URLEmbeddedView18OGDataCacheManagerC26persistentStoreCoordinatorSo012NSPersistentgH0CvgAFyXEfU_ + 1678
4  URLEmbeddedView                0x1023becbc $S15URLEmbeddedView18OGDataCacheManagerC26writerManagedObjectContextSo09NSManagedhI0CvgAFyXEfU_ + 56
5  URLEmbeddedView                0x1023bec24 $S15URLEmbeddedView18OGDataCacheManagerC26updateManagedObjectContextSo09NSManagedhI0CvgAFyXEfU_Tm + 112
6  URLEmbeddedView                0x1023bec24 $S15URLEmbeddedView18OGDataCacheManagerC26updateManagedObjectContextSo09NSManagedhI0CvgAFyXEfU_Tm + 112
7  URLEmbeddedView                0x1023be010 $S15URLEmbeddedView18OGDataCacheManagerC24fetchOrInsertOGCacheData3url10completionySS_yAA0iJ0CctF + 96
8  URLEmbeddedView                0x1023be3a0 $S15URLEmbeddedView18OGDataCacheManagerC24fetchOrInsertOGCacheData3url10completionySS_yAA0iJ0CctFTo + 128
9  URLEmbeddedView                0x1023c67e4 $S15URLEmbeddedView14OGDataProviderC05fetchC09urlString10completionAA4TaskCSS_yAA9OpenGraphO4DataV_s5Error_pSgtcSgtFyycfU_ + 352
10 URLEmbeddedView                0x1023c5a68 $SIeg_IeyB_TR + 36
11 libdispatch.dylib              0x183f54b24 _dispatch_call_block_and_release + 24
12 libdispatch.dylib              0x183f54ae4 _dispatch_client_callout + 16
13 libdispatch.dylib              0x183f5cf18 _dispatch_continuation_pop$VARIANT$mp + 424
14 libdispatch.dylib              0x183f5b850 _dispatch_async_redirect_invoke$VARIANT$mp + 604
15 libdispatch.dylib              0x183f61d30 _dispatch_root_queue_drain + 588
16 libdispatch.dylib              0x183f61a80 _dispatch_worker_thread3 + 120
17 libsystem_pthread.dylib        0x184287fac _pthread_wqthread + 1176
18 libsystem_pthread.dylib        0x184287b08 start_wqthread + 4

@Luten
Thank you for reporting.
Did you try to remove and reinstall that iOS application already?

@marty-suzuki Why remove and reinstall? It is not an option.
As I said we could't not reproduce this crash yet

@marty-suzuki Hello, are there any news on this issue?

@Luten
I haven't had time to investigate and fix it.
Sorry...

@marty-suzuki Hello again,
Do you have any updates or estimate on when you'd be able to investigate this issue?

@marty-suzuki Any updates?


Seq minor fixes

Added many small fixes to the sequential version of the code. Made calculating the loss more efficient by providing scoring/predicting methods that run given an already computed X instead of recomputing it from U, extended chunk_data to work for chunking timeseries of feature vectors (instead of just single features), and changed the computed error to NRMSE like in the paper https://arxiv.org/pdf/1611.05193.pdf .
Also added tests for new functions that have been written, and made some existing ESN tests more efficient.

Codecov Report

Merging #2 into master will increase coverage by 4.63%.
The diff coverage is 94.68%.

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
+ Coverage    66.6%   71.23%   +4.63%
==========================================
  Files           9        9
  Lines         542      605      +63
==========================================
+ Hits          361      431      +70
+ Misses        181      174       -7

Impacted Files
Coverage Δ

parallel_esn/tests/test_utils.py
100% <100%> (ø)
:arrow_up:

parallel_esn/tests/test_esn.py
97.72% <100%> (ø)
:arrow_up:

parallel_esn/utils.py
90.24% <85.71%> (+40.24%)
:arrow_up:

parallel_esn/esn.py
91.5% <90.9%> (-0.45%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1656383...7576331. Read the comment docs.


Update README.md and add a Bitwise Sieve algorithm.

Proposed Changes

[x] I've read the CODE OF CONDUCT and abide to it.
[x] I've read the CONTRIBUTING.md
[x] I've forked the repository.
[x] I've created a branch and made my changes in it.
[x] I understand opening a PULL REQUEST doesn't mean it will be merged for sure.

But it says "This branch has no conflicts with the base branch"

@Ilhamfp31 - maybe one of the other corrections fixed this ... GTG then, sorry for the false alarm!


Archives Layout is a bit wonky

When there is only one blog post in a month, it causes the layout of the archives page to become very wonky.  Need to fix this.  Also, provide clearer distinction between months of the year.

No longer an issue with Wyam version of blog post.


Link to dbt_utils information under tests section of dbt docs is broken

Steps to reproduce:

Go to this page.
Click on the "dbt-utils" link under "info" in the sentence "We've open sourced some useful schema tests in dbt-utils — skip ahead to the docs on packages to learn more!"

Expected results:

I expect to go to the dbt_utils page under hub.get-dbt.com to see more information about this package.

Actual results

Instead I get a 404 error.

Extra details
It seems like someone on your team changed all references of "Fishtown Analytics" to "dbt labs" in the documentation website, but the website still references Fishtown Analytics in the URL.

Thanks for opening @kdw2126.

It seems like someone on your team changed all references of "Fishtown Analytics" to "dbt labs" in the documentation website

It was I!
Within the next week, we're going to migrate packages on the Hub site so that they appear under dbt-labs, and we're assessing a few options to avoid (or minimize) breaking changes.

Ha ha, sorry if that came across as a bit passive-aggressive.  Thanks for the quick response -- appreciate all you do at dbt labs!

You're good!! Didn't mean to imply that in any way. It's a transitional period, there are going to be some things dropped along the way, genuinely appreciate you chipping in :)

This is working now so I'm closing this issue.  Thanks for the help!


Weird calculation of userSelectionRect on mouseMoving

Press shift-key, and then press the mouse, pulling a rectangle to the right. And still pressing the mouse, pull a rectangle to the left quickly.
Retry this procedure, will find out that the left-top point of the rectangle is not matched the first time triggered.
Reproduction scenario
https://reactflow.dev/examples/
need quickly switching the direction, or will not be reappeared.
Maybe a better solution
// originalCode
const nextUserSelectRect = {
  ...userSelectionRect,
  x: mousePos.x < startX ? mousePos.x : userSelectionRect.x,
  y: mousePos.y < startY ? mousePos.y : userSelectionRect.y,
  width: Math.abs(mousePos.x - startX),
  height: Math.abs(mousePos.y - startY),
};

Replaced as  ??
const nextUserSelectRect = {
  ...userSelectionRect,
  x: mousePos.x < startX ? mousePos.x : startX,
  y: mousePos.y < startY ? mousePos.y : startY,
  width: Math.abs(mousePos.x - startX),
  height: Math.abs(mousePos.y - startY),
};

thanks

very good point :D I will fix this. Thanks for the report!

released in v9.7.1


Virus

I downloaded the executable and scanning it showed no virus. But after using the program it opened active directory and changed some things. It also installed malicious software that was detected by windows defender and quarantined. I'm not sure how much damage it did to my computer but I hope this can help someone.

Hmm maybe, though false positives are also common. If software is unverified and you can't or don't read the source code and compile it yourself, don't run it.
https://www.virustotal.com/gui/file/a674b964578547573a26ea56dd289245a8714045aa82d23010508a8457e5035b/summary

I make no guarantees, but based on the AHK, I'd wager the odds of malware are very low.
https://raw.githubusercontent.com/Niten001/Core-Keeper-Auto-Fish/main/CoreKeeperAutoFish.ahk

There is no virus, the reason windows defender quarantined the program is because of windows code signing, windows only trusts programs that are signed by a registered key. This is very expensive to do, and makes no sense in a program like this.
If you want a work around, you can install Auto Hot Key and compile the AHK file yourself, and because your computer created the file, window's defender will have no problems with it. Anybody is free to read the code and verify that there is no virus in it.
However this script is very out of date as I haven't had time to play the game in several months, so it may not even work with the current fishing mechanics. Have a good one.


Help Getting RTX 30 Series Set Up?

I am aware the 30 series uses the new CUDA 11 Architecture, I have installed cuda 11 pytorch but Im still getting the error: RuntimeError: CUDA error: no kernel image is available for execution on the device. Whoever wrote #302 got theirs working. Does anyone have any ideas?

Figured it out thanks to the guys at #302

Could you give us some details of the solution?

Could you give us some details of the solution?


Detect watch being executed from a middleware

A middleware might wish to implement a different behavaiour based on the information if the code is being run from an editor of as a part of a watch. Currently, I don't see any obvious way to solve an issue like https://github.com/nikitakit/hydrogen-python/issues/25.
Am I missing something, or do the call to middleware.execute could use so optional parameter indicating that it's called from a watch?

I just wanted to jump in and provide some past context, although I'm no longer involved in new hydrogen development.
I had originally included this feature in the plugin API, but was instructed to remove it as part of code review (see #1179 and search for the callWatches flag). Of course, the boolean flag was just a first pass, and with greater effort it's possible to design a more general solution e.g.,

Converting watches into a plugin and adding a "priority" argument when installing middleware, so that plugins could choose to run before any watches trigger and only see user-initiated requests
Or, annotating each action with a more detailed description of its source (i.e. user-initiated, or the name of the middleware that triggered it)

Now that the plugin API is already public, there are also compatibility considerations involved when changing the API.


Implement full RleDictionary decoding

When running against a parquet file generated from parquet (via datafusion tpch benchmark conversion tool)
I got the following error:
Arrow error: Not yet implemented: Decoding \"RleDictionary\"-encoded, dictionary-encoded required V1 pages is not yet implemented for primitive"

I am giving a shot at this


Updating the maintainers and CODEOWNERS file

Description
Updating the MAINTAINERS.md and CODEOWNERS file
Issues Resolved
Closes #610
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Please add AOS Shanghai team into maintainers & code owners as well.

@SuZhou-Joe We'll sync to what's currently in MAINTAINERS and you can fix the lists to be actual maintainers on your own time, please.


Security workflow headers added

According to the Java changes

Pull Request Test Coverage Report for Build 468

11 of 11 (100.0%) changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.05%) to 90.349%

Files with Coverage Reduction
New Missed Lines
%

src/security/keycloakSecurity.js
1
94.95%

Totals

Change from base Build 466:
0.05%

Covered Lines:
1800

Relevant Lines:
1916

💛  - Coveralls

fix for https://github.com/canoo/dolphin-platform/issues/888


Refining Schedule Feature

"add to your calendar" per day button
Data under schedule is too big
"welcome to the dhri" too big (h1?)
reduce padding between lines within event but increase padding between events
include "join" button (connect to zoom link) (adding a zoom variable)
schedule should have links to the workshops
probably want to link to other things (humanity commons, ("see commons group, see commons profile") or resource materials (providing cheatsheets, articles), link to group library in the commons to download stuff
any work to be completed in advanced of the workshops (to do items?)

has been divided into multiple issues


diamond_blastx subworkflow

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!

[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/blobtoolkit branch on the nf-core/test-datasets repository.

[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

This PR is part of the Google Summer of Code 2022 project: Conversion of the BlobToolKit pipeline to Nextflow, GitHub repository: https://github.com/sanger-tol/blobtoolkit

Implements diamond_blastx subworkflow, this goes next after busco subworkflow.

Moved all parameters outside from the subworflow scripts.
Fixed wrong variable definitions that are known to cause bugs.
Added parameters required for testing (test.config).

Can you remove the files that will be added through #28 ? e.g. busco_diamond_blastp sub-workflow, the goat module, etc. To make it clear what is specific to this sub-workflow / PR

Commits associated to requested changes:
8140830 - alxndrdiaz, 2 hours ago : removed unrelated params
97f0275 - alxndrdiaz, 2 hours ago : input for UNCHUNK_BLASTX is now a tuple [meta, blast]
3e5a7b0 - alxndrdiaz, 2 hours ago : output is now tuple [meta, proteomes]
eaadae9 - alxndrdiaz, 2 hours ago : DIAMOND_BLASTX input is now tuple from CHUNK_FASTA_BUSCO
a4c02ce - alxndrdiaz, 2 hours ago : output is now tuple [meta, chunks]
c5b31a8 - alxndrdiaz, 2 hours ago : input is now tuple [meta, raw_proteomes]
a518519 - alxndrdiaz, 2 hours ago : CHUNK_FASTA_BUSCO input is now a tuple [meta, fasta]
7f01fc7 - alxndrdiaz, 2 hours ago : updated input to tuple [meta, fasta]
72a20d7 - alxndrdiaz, 2 hours ago : removed DIAMOND_BLASTX parameters, declared in params
bc963d8 - alxndrdiaz, 3 hours ago : added container version
0f337bd - alxndrdiaz, 3 hours ago : updated versions
c33b23e - alxndrdiaz, 3 hours ago : moved module params to modules.config
35b862e - alxndrdiaz, 3 hours ago : removed unrelated files from busco_subworkflow

I don't understand why the base is busco_subworkflow, this will be added to dev eventually, once the busco subworkflow is merged.

@priyanka-surana : this was my suggestion on the basis that this diamondblastx branch was started off the busco branch, so that github would only show the difference. But now that this branch has commits to remove the busco files, I think it's not necessary any more. I'll switch back to dev

A bit cleaner, but it still shows all the automate-io files being removed. @alxndrdiaz : commits that remove files are not great because git really thinks you want these files removed. Could you maybe find a way of removing those commits in a rebase ?

@alxndrdiaz : now that #37 is merged, this sub-workflow is next :) Since the branch goes quite far back, maybe make some fresh commits from dev ?

@alxndrdiaz : now that #37 is merged, this sub-workflow is next :) Since the branch goes quite far back, maybe make some fresh commits from dev ?

Agree, it would be better to create a new branch from dev.

This is an optional subworkflow. Would be better to focus on the required subworkflows first. We can circle back to this at a later point.

I would recommend the blobtools subworkflow with the run_blobtools_create and add_summary_to_metadata modules. I think it might be possible to start with add_summary_to_metadata module, since the run_blobtools_create requires window_stats output which @zb32 is still working on.


Trust record class for deserializer

It's very common to use record as message, and record class is safe enough to trust, there is no known record-based gadget.

Thank for looking into this, but:

there is no known record-based gadget.

I don't think that we really talk here about some structure type.
We really talk about classes we can trust or not.
Even record can be implement the way that it is malicious.
Do you have some official report to prove otherwise?
Meanwhile I'd suggest to stick with the current approach where even record class name should be included into trusted packages: kinda maximum security.

Configuring trusted packages is very annoying and not refactor (renaming package) friendly.
All known gadgets from Jackson are vulnerable by by accident, record is data carrier and Jackson will invoke it's constructor only, It's safe enough, unless someone write malicious code in constructor intentionally, then it should be guarded at another level not here.
/CC @cowtowncoder, Sorry to bother you, could you clarify that record class is safe for deserialization or not?

@quaff I am not aware of any Record types used as Gadgets; not seen vulnerabilities (CVEs) reported either.
For what that is worth.
Wrt Jackson big question is that of using (or, ideally, not :) ) of polymorphic deserialization so unless that is enabled (and user configures lax PolymorphicTypeValidator) attackers cannot really trigger gadget behavior using known types.

@quaff I am not aware of any Record types used as Gadgets; not seen vulnerabilities (CVEs) reported either. For what that is worth.
Wrt Jackson big question is that of using (or, ideally, not :) ) of polymorphic deserialization so unless that is enabled (and user configures lax PolymorphicTypeValidator) attackers cannot really trigger gadget behavior using known types.

According to the most authoritative clarification, I think mandatory trusted packages is excessive restriction, It should be * by default, let users configure their own if them think it's not safe, or step back all record classes should be trusted.

It's safe enough, unless someone write malicious code in constructor intentionally, then it should be guarded at another level not here.

I don't see a difference in record and regular Java class instantiations, Jackson or any other serialization mechanism.
Even if there was not published any CVE specific for record type, it might be because from Java perspective it is still a class with all the possible deserialization gadgets.
Spring policy is to secure by default and trust no one.
Therefore your * is not valid suggestion.
I even believe if Jackson would behave same way (trust no one), we wouldn't have our own solution like this one.
And we all simply would rely on a configuration from Jackson.
But that's fully different story and I'd prefer to stick with a solution where I would not deal with headache about fixing new vulnerability I've just introduced.
And apparently it is not so hard to configure * in your project if you really don't use polymorphic deserialization in Jackson.

After some team discussion we decided to stay conservative and still trust no one.
So, I'm sorry but we have to close this as not acceptable change.
Thanks for understanding.


Add method Extend License

As described here: https://serialkeymanager.com/docs/api/v3/ExtendLicense.
Maybe, this should be its own namespace.

Added a basic interface that makes it possible to send requests to any Web API method: https://github.com/SerialKeyManager/SKGL-Extension-for-dot-NET/commit/cfd1f8963c27fc661c14b6a265441e4754c0d858

Accomplished in this commit: https://github.com/SerialKeyManager/SKGL-Extension-for-dot-NET/commit/30acf537419d7fd4098c657eb6ee162b1e5917dc


Implement a modal for our form from the design

The modal should be displayed any time a user navigates to the /form page.
Here's a screenshot of the design:

the full design can be found on Zeplin.

See WIP: https://github.com/MusicCityLegalHackers/power-of-attorney-challenge/tree/feature/add-disclaimer-modal

April Petry has worked up a design for the modal - will upload the design to Invision and link tomorrow.

Noting that the WIP progress branch (https://github.com/MusicCityLegalHackers/power-of-attorney-challenge/tree/feature/add-disclaimer-modal) doesn't reflect  the new design, but might still useful as a starting point for integrating with the form view.


Various simple fixes

a sequence of commits fixing various things, mostly cosmetics

Thanks. Did you use a tool to find these?
There was some recent discussion about cython-lint: https://github.com/flintlib/python-flint/pull/191#issuecomment-2317341048.
It would be good to have some sort of linting for local use and for CI and I think that cython-lint at least picks up on some of the cases you have covered here. I just checked and this PR reduces the number of cython-lint complaints from 455 to 342.
There are no e.g. no W605 invalid escape sequence errors with the changes here so now it would be good to add a CI check that use cython-lint and checks for those.

I indeed used cython-lint. I can try to help make a linter with cython-lint in some other pull request, sure.

sage --tox -e rst to check the rst syntax

Is that just something in-house for Sage?

I can try to help make a linter with cython-lint in some other pull request, sure.

Feel free to do that. I wasn't suggesting that you need to do it or that it needs to be part of this PR though. I was just observing that it is something that we should do generally speaking. First step of course is to fix existing errors as you have done here.

Looks good. Thanks!


teleport 2.2 with new prefix systems

…tion for deploy
@franblas
here I polished some little things

it is not anymore necessary to write tpt -d --platform kubernetes if there is only teleport-snips as platform
replace prefixes are a bit smarter : __ if we want just to copy one time the file with the placeholders value, or type if we want to copy them so many as there are different types

@franblas allez let's merge :), tx.


Add webdav upgrade to aarnet playbook, add terms_url to galaxyservers.yml

Apply Nuwan's webdav fix (tested on dev) to staging and aarnet playbooks.
Add terms_url to galaxyservers.yml.  This means there will be an extra menu item 'Terms and Conditions' and will be the value used in validation emails if email validation is switched on.  Tested on dev.

ref https://github.com/usegalaxy-au/infrastructure/pull/978


Rendering issues on HASS mobile app

Hi, love this mod but for some reason the circles don't display on the mobile app for iOS (iPad and iPhone). Any trick to getting them working? Work perfectly on macOS safari (and Chrome) but not at all on the mobile devices. I presume some CSS rendering differences between mobile and desktop apps?

Closing. After a couple of days and no change in config, the mobile app started rendering correctly. Assume some caching issue with javascript/css.


[Bug]EventMeshGrpcConsumer heartbeat result code and message are empty

Search before asking

[X] I had searched in the issues and found no similar issues.

Environment
Windows
EventMesh version
master
What happened

Can not get code and message
How to reproduce
Grpc Consumer send Heart beat
Debug logs
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct *

ignore this issue


CustomAnnotator

I would like to be able to write a custom annotator to enable the addition of Mongo properties by specifying custom mongo information in the json schema.  Is there currently a way to do this?  If not would it be possible to add such a feature to the plugin?  Basically the logic would be:

Do everything that the existing plugin does
For specific data types and properties call a custom annotator to read the data in the json schema and apply additional annotations as deemed appropriate to the annotator.

The callbacks should provide the ability to annotate, fields, methods and types with additional annotations based on what is in the Json Schema definition.

"Error:(7, 27) error: package org.jsonschema2pojo does not exist"
Is there an example of how to include a custom annotator in your project?


feature request: adding tags to systems (and other resources)

It would be nice to add tags to systems (and other resources).

nevermind, it's a separate resource: https://registry.terraform.io/providers/OpsLevel/opslevel/latest/docs/resources/tag#resource_type


Make the parameter 'args' no-nullable in the public ConsoleHost APIs

PR Summary
This is a follow-up on #11482
We actually don't expect args to contain null value in it. For example, the use of args in GetSwitchKey at here indicates we are not expecting an element of args is null, and many other places like ParseFile.
/cc @iSazonov Maybe we should validate if args contains any null elements, maybe that's not necessary given it has been working fine so far, but either way, I'm deferring that to a separate PR.
PR Context

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

@PoshChan please remind me in 24 hours

Maybe we should validate if args contains any null elements, maybe that's not necessary given it has been working fine so far, but either way, I'm deferring that to a separate PR.

.Net team confirmed that it is not null for Main() - right signature Main(string[] args).
For UnmanagedEntry users could send null. We do not check this previously so we can (1) document this explicitly that it is Main() signature, (2) add the check.

For UnmanagedEntry users could send null.

Why is that? Yes, there is a null assignment in Program.cs but that's the arg for exec, which requires a null element to indicate the end of args. I don't think that null will be passed to UnmanagedEntry.Start.
ConsoleShell.Start is public API, so a user potentially can pass in a string array with null elements. If we want to validate args, then I guess that should be done in CommandLineParameterParser.Parse.

I don't think that null will be passed to UnmanagedEntry.Start

It is a public API too :-) It would be not right using but possible.

I guess that should be done in CommandLineParameterParser.Parse.

What is desired behavior for null? Throw?

It is a public API too :-) It would be not right using but possible.

True, but it's less likely to be used like the ConsoleShell.Start.

What is desired behavior for null? Throw?

Yes, throw, but with ArgumentException and a better error message.

@rjmholt, this is the reminder you requested 24 hours ago


What is the status on controller-handled dataset?

The README file of the Batched Pixel Sum example warns:

Using more than 1 worker causes problem at the moment for THIS particular example.

The reason is that we are using the "dataset handled by the controller" feature which is not quite ready yet.

I assume this refers to using the Controller send_mb method (which uses a Zeromq load balancer) to distribute the mini batches among Workers.
What is the status on this feature? I'd like to give Platoon a try and this seems like an important block for a data parallelism framework.

There was no demand to expand this feature so far as it's not mandatory to fully take advantage of Platoon.
Most people let each worker load the dataset individually and make sure they use a different seed to randomize the mini-batches (The controller send which random seed to use).
You still can use the mini-batch server though. The only issues we have with it right now are #23 and #24 and you can walk around them pretty easily.


Can't connect to Dynamics 365 Online Instance

Azure Data Studio Version: 1.25.1

Steps to Reproduce:

Add Connection
Enter server details: instance.crm.dynamics.com
Select authentication type: Azure Active Directory - Universal with MFA Support
Insert Account details (works and saves
System inserts the correct tenant string
Database: leave default (browse fails)
Server Group: default (browse fails

Error:
Microsoft.Data.SqlClient.SqlException (0x80131904): Login failed: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer authorization_uri=https://login.microsoftonline.com/223c5242-b02f-43fc-a973-958508abb912/oauth2/authorize, resource_id=https://bbbs.crm.dynamics.com/'.
RequestId: TDS;366eec08-b2a5-4008-9dbd-cc5ea5e541f2;1
Time: 2021-01-17T14:02:01.5884556Z
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)    at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)    at Microsoft.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)    at Microsoft.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)    at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)    at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)    at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)    at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)    at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)    at Microsoft.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)    at Microsoft.Data.ProviderBase.DbConnectionFactory.<>c__DisplayClass45_0.<TryGetConnection>b__1(Task1 _)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection.ReliableSqlConnection.<>c__DisplayClass30_0.<b__0>d.MoveNext() in D:\a\1\s\src\Microsoft.SqlTools.ManagedBatchParser\ReliableConnection\ReliableSqlConnection.cs:line 314
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.TryOpenConnection(ConnectionInfo connectionInfo, ConnectParams connectionParams) in D:\a\1\s\src\Microsoft.SqlTools.ServiceLayer\Connection\ConnectionService.cs:line 550
ClientConnectionId:366eec08-b2a5-4008-9dbd-cc5ea5e541f2
Error Number:18456,State:1,Class:14
Interestingly I can launch a bash/ps shell in the environment.
SSMS:  Connects with ease and allows full functionality.
Question:
How do I connect to Dynamics 365 Online with Azure Data Studio?

Closing due to lack of needed info.  Please let us know if you're still experiencing connectivity issues.

Hi folks,
I am seeing an identical issue here. I have a SQL server URL that I am able to connect to from SMSS, but when I try to connect from Azure Data Studio, I get a very similar authentication error to the. OP.
version info:
Version: 1.25.2
Commit: 4d4917d328ab7a7526817a0f0ef03237a79aa54d
Date: 2021-01-20T22:45:05.496Z
VS Code: 1.48.0
Electron: 9.3.0
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.4.0-60-generic

Error text:
Microsoft.Data.SqlClient.SqlException (0x80131904): Login failed: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer authorization_uri=https://login.microsoftonline.com/5076c3d1-3802-4b9f-b36a-e0a41bd642a7/oauth2/authorize, resource_id=https://<REDACTED>.dynamics.com/'.
RequestId: TDS;9b9a1512-6f5c-4033-b251-5ac171ceae31;1
Time: 2021-02-09T23:28:24.7386743Z
   at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at Microsoft.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
   at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.<>c__DisplayClass45_0.<TryGetConnection>b__1(Task`1 _)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection.ReliableSqlConnection.<>c__DisplayClass30_0.<<OpenAsync>b__0>d.MoveNext() in D:\a\1\s\src\Microsoft.SqlTools.ManagedBatchParser\ReliableConnection\ReliableSqlConnection.cs:line 314
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.TryOpenConnection(ConnectionInfo connectionInfo, ConnectParams connectionParams) in D:\a\1\s\src\Microsoft.SqlTools.ServiceLayer\Connection\ConnectionService.cs:line 550
ClientConnectionId:9b9a1512-6f5c-4033-b251-5ac171ceae31
Error Number:18456,State:1,Class:14

The issue is still there.
Login failed: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer authorization_uri=https://login.microsoftonline.com/{someguid}/oauth2/authorize, resource_id=https://{somestring}.crm4.dynamics.com/'.
I cannot understand why someone closes this issue with all the information posted here.
The problem is simple: we CAN connect to a SQL-Server of a Dynamics 365 instance using SQL-Server-Management Studio when the admin of that instance has enabled the TDS-endpoint of that instance, but we cannot c onnect to the TDS endpoint using Azure Data Studio.
To reproduce the issue:

create a test instance of Dynamics 365 Online
open Power Platform Admin Center
open Settings => Functions
enable TDS endpoint
try to connect to that endpoint using the host name of your Dynamics 365 instance

The problem seems to be the authentication, not the communication using TDS (you might ask someone from the SSMS-team how thay do the authentication).
Quote from one of our customers: "It's funny that we have a new Dynamics 365 in the Cloud and a new Azure Data Studio to manage data in the cloud, but we need to install the old SSMS to connect to our cloud data sources."

@Interface007 it looks like this issue is being discussed on this open issue: https://github.com/microsoft/azuredatastudio/issues/13931


Don't advertize deprecated initializer functionality

Since the Ember container/registry separation, calling lookup in initializers is deprecated and available only for backwards-compatibility, yet it's usage is still advertised in the ApplicationRouteMixin's documentation. It would be good if an alternative solutuion was offered instead.

@zeppelin could you submit a PR with an alternative solution? I'm very interested in this concept because I've used a lot of container.lookup in initializers.
Thanks!

@vire absolutely, but it'd be even better if we could get expert advice from @dgeb, he did the container/registry refactor.

It would probably be god to use Ember's new [service injection API](file:///Users/marcoow/Library/Application%20Support/Dash/DocSets/EmberJS/EmberJS.docset/Contents/Resources/Documents/emberjs.com/api/classes/Ember.inject.html#method_service).
@dgeb: would that be the suggested way of making the session available, e.g.
//app/components/my-component.js
export default Ember.Component.extend({
  session: authManager: Ember.inject.service('session')
})

?

If you want to make a service available on a particular component, then you can definitely use the service injection API.
Note that:
//app/components/my-component.js
export default Ember.Component.extend({
  session: Ember.inject.service('session')
});

Is equivalent to:
//app/components/my-component.js
export default Ember.Component.extend({
  session: Ember.inject.service()
});

This is because the property is named the same as the service (session).
You can certainly also call application.inject() from an initializer to make a service available more broadly (say, to all routes).
I've opened an RFC to steer the registry / container / initializer work in the direction I'd like to take it: https://github.com/emberjs/rfcs/pull/46

Thanks @dgeb! Ember Simple Auth now uses the application's register and inject methods rather than the container's register and injection.

Great - glad to help!


PLFM-8554: Add friendly CNAME to LB for dev' Synapse docker registry

Following this guidance, we add the CNAME docker.dev.sagebase.org to direct traffic to the dev' Synapse Docker Registry.

seems ok, but why not just setup one docker registry for the entire company? or at least just one specifically for Synapse?

@zaro0508 We have a dev' Synapse stack with its own Docker registry, allowing us to follow the normal dev/prod deployment pattern.


No selectable collections?

When I open the app and then navigate to a list of E-Collections, I do not see a corresponding list that allows me to select collections to update. Not sure what I'm doing wrong and hope you can help. Thanks!

Nvmd. I see the mistake I made. Only collections in the IZ are populated by the app.


[Qualcomm feedback] Chapter 4: Clarify isolation from all non-TCB SW

Reference: link

In order to isolate the TVMs from the host OS/VMM and non-confidential VMs, the TSM state must
be isolated first - this is achieved by enforcing isolation for memory assigned to the supervisor
domain that the TSM occupies - this is called the TSM-memory-region.

or any other supervisor domain for that matter.

will be addressed in combined PR for chapter 4

address in PR #71
cc @ozkoyuncu


Common linter options

I just set up my project-local .vimrc for ale, and it ended up looking something like this:
...
let g:ale_cpp_clang_options = s:cpp_options
let g:ale_cpp_clangcheck_options = s:cpp_options
let g:ale_cpp_clangtidy_options = s:cpp_options
let g:ale_cpp_cppcheck_options = s:cpp_options
let g:ale_cpp_cpplint_options = s:cpp_options
let g:ale_cpp_gcc_options = s:cpp_options

As a feature, it would be nice to have a common inheritance of "default" options for related linters so not to have to set all linters manually. Perhaps I've missed that option somewhere?

Different compilers require different options, so this wouldn't be so useful. I recommend doing what you've done already.


[silgen] Reduce some indentation in SILGenPattern::emitSwitchFallthrough

I am going to be making some fixes here... just cleaning before I start.

@swift-ci smoke test and merge


Remove rust example code

TODO - Housekeeping:

Please review from: https://github.com/stratum-mining/bitcoin/commit/9989ba6976bb9f0d97f48da8f3d4342c53be2e58
This is currently branched from 2022.05.17-fix-template-provider-compile-options, please review and merge that PR before attempting to merge this one.
I will rebase this PR on top of add_sv2 if the previously mentioned PR above is merged into add_sv2.

This PR removes the rust ffi example code from bitcoind.cpp.

LGTM


[Bug]: The following error occurred when I ran the qwen2.5-7b-fp8-dynamic model with vllm0.6.4.post1 on a single card 4090

Your current environment

INFO 12-02 09:21:31 model_runner.py:1077] Loading model weights took 8.1425 GB
INFO 12-02 09:21:31 model_runner_base.py:120] Writing input of failed execution to /tmp/err_execute_model_input_20241202-092131.pkl...
INFO 12-02 09:21:31 model_runner_base.py:149] Completed writing input of failed execution to /tmp/err_execute_model_input_20241202-092131.pkl.
[rank0]: Traceback (most recent call last):
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/vllm/worker/model_runner_base.py", line 116, in _wrapper
[rank0]:     return func(*args, **kwargs)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/vllm/worker/model_runner.py", line 1654, in execute_model
[rank0]:     hidden_or_intermediate_states = model_executable(
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
[rank0]:     return self._call_impl(*args, **kwargs)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
[rank0]:     return forward_call(*args, **kwargs)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/vllm/model_executor/models/qwen2.py", line 468, in forward
[rank0]:     hidden_states = self.model(input_ids, positions, kv_caches,
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/vllm/compilation/decorators.py", line 143, in __call__
[rank0]:     return self.forward(*args, **kwargs)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/vllm/model_executor/models/qwen2.py", line 320, in forward
[rank0]:     hidden_states, residual = layer(
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
[rank0]:     return self._call_impl(*args, **kwargs)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
[rank0]:     return forward_call(*args, **kwargs)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/vllm/model_executor/models/qwen2.py", line 238, in forward
[rank0]:     hidden_states = self.mlp(hidden_states)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
[rank0]:     return self._call_impl(*args, **kwargs)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
[rank0]:     return forward_call(*args, **kwargs)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/vllm/model_executor/models/qwen2.py", line 89, in forward
[rank0]:     gate_up, _ = self.gate_up_proj(x)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
[rank0]:     return self._call_impl(*args, **kwargs)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
[rank0]:     return forward_call(*args, **kwargs)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/vllm/model_executor/layers/linear.py", line 371, in forward
[rank0]:     output_parallel = self.quant_method.apply(self, input_, bias)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/vllm/model_executor/layers/quantization/compressed_tensors/compressed_tensors.py", line 378, in apply
[rank0]:     return scheme.apply_weights(layer, x, bias=bias)
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w8a8_fp8.py", line 135, in apply_weights
[rank0]:     return apply_fp8_linear(
[rank0]:   File "/root/anaconda3/envs/lyrics/lib/python3.10/site-packages/vllm/model_executor/layers/quantization/utils/w8a8_utils.py", line 189, in apply_fp8_linear
[rank0]:     output = output * x_scale * weight_scale.t()
[rank0]: torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 4.62 GiB. GPU 0 has a total capacity of 22.16 GiB of which 3.32 GiB is free. Process 1205606 has 18.83 GiB memory in use. Of the allocated memory 17.95 GiB is allocated by PyTorch, and 447.05 MiB is reserv
ed by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)

Model Input Dumps
No response
🐛 Describe the bug
import torch
torch.cuda.empty_cache()
from vllm import LLM
model = LLM(quant_model_path,  gpu_memory_utilization=0.9)
result = model.generate("Hello, my name is")
print(result[0])

Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

According to the error message, this is not a bug. It shows that you have a process Process 1205606 that occupies 18G+ of gpu memory, so OOM occurs.


RST-1111 and additional tests for RST-985 and RST-987

This was already approved when merged to EV check branch. so I will merge it


The language does not appear in Latin Spanish

Source information
Yomiroll 14.30 (spanish)
Source language
Spanish
Steps to reproduce
I try to choose the Latin Spanish language for the death note anime, but it does not appear, I have updated aniyomi and yomiroll to the latest version, I also have Latin Spanish chosen as the main audio, and this does not work, I can only choose the Japanese audio .
Expected behavior
Being able to select Latin Spanish audio
Actual behavior
Latin audio does not appear, only Japanese
Aniyomi version
Preview r7509
Android version
Android 13
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

@Samfun75 help please

@Samfun75 Yes, I have the local token activated, and I only see an option in Spanish

I can't find Death Note bruv even after changing the token to ES and a couple of others, can you send a screenshot of the anime detail?

@Samfun75

Ok I've check with MX and can see the anime but crunchy is not sending the other languages even tho they say they have them, the only other language i could get was french dub using FR token. So, I'm closing this issue as we can't do anything from extension side. best you could do is connect to a vpn where the Spanish dub is available


not working [PowerShell]

this is error:
PS C:\download\PowerAppsCmdlets-V4>   Import-Module .\Microsoft.PowerApps.Administration.PowerShell.psm1 -Force
Import-Module : File C:\download\PowerAppsCmdlets-V4\Microsoft.PowerApps.Administration.PowerShell.psm1 cannot be
loaded. A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
At line:1 char:3

Import-Module .\Microsoft.PowerApps.Administration.PowerShell.psm1  ...

+ CategoryInfo          : SecurityError: (:) [Import-Module], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.PowerShell.Commands.ImportModuleCommand

PS C:\download\PowerAppsCmdlets-V4>   Import-Module .\Microsoft.PowerApps.Administration.PowerShell.psm1 -Force
Import-Module : File C:\download\PowerAppsCmdlets-V4\Microsoft.PowerApps.Administration.PowerShell.psm1 cannot be
loaded. A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
At line:1 char:3

Import-Module .\Microsoft.PowerApps.Administration.PowerShell.psm1  ...

+ CategoryInfo          : SecurityError: (:) [Import-Module], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.PowerShell.Commands.ImportModuleCommand

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

ID: 6a682d40-fb0d-4938-b1ac-cee291c2bbff
Version Independent ID: c7fdffb8-c6b7-f02b-a5e0-6787218978c6
Content: PowerShell support (preview) - PowerApps
Content Source: powerapps-docs/administrator/powerapps-powershell.md
Service: powerapps
GitHub Login: @jamesol-msft
Microsoft Alias: jamesol

Thanks Zerg00s


Validate BPMN elements unsupported for execution

What should we do?

[ ] Mark elements that are not supported for execution in C8 as incompatible

Why should we do it?
As decided we want to allow our users to model all BPMN elements in C8 diagrams and resort to linting to identify incompatible (for execution) elements.

Done in https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/52


FormlyField with custom input type:  focus and blur not working

Description
When using FormlyField with a custom input type the focus and blur does not work.
In the stackblitz you can see that the second field only works because it's using the Kendo TextArea as directive, otherwise it will not focus or blur.
https://stackblitz.com/edit/angular-8dzjjs-ghzrpv?file=src%2Fapp%2Fapp.component.ts
Your Environment

Angular version: 13.3.12
Formly version: 6.1.0

formlyAttributes can handle only the HtmlElement events so for kendo-textbox component you'll need to bind those events manually or rely Textarea with kendoTextArea directive instead: https://github.com/ngx-formly/ngx-formly/blob/main/src/ui/kendo/textarea/src/textarea.type.ts#L13


Added IR driver check instead of boardName (#132)

The same fix is required for ROS2.

Thanks for the PR


Unclear error when forgetting to export from .jsx

Hi! I was just trying this out, and was getting the error Cannot read properties of undefined (reading 'eleventyDataKey') (via TypeError) - after a few minutes of head scratching I figured it was because I was forgetting to export default MyReactComponent out of a .jsx file.
I'm wondering if there's a way to give a more explicit or helpful error?
Full log:
[11ty] Problem writing Eleventy templates: (more in DEBUG output)
[11ty] Cannot read properties of undefined (reading 'eleventyDataKey') (via TypeError)
[11ty]
[11ty] Original error stack trace: TypeError: Cannot read properties of undefined (reading 'eleventyDataKey')
[11ty]     at CustomEngine.getExtraDataFromFile (/home/burntcustard/Documents/burnt.io/node_modules/@11ty/eleventy/src/Engines/Custom.js:112:14)
[11ty]     at processTicksAndRejections (node:internal/process/task_queues:95:5)
[11ty]     at Template.getFrontMatterData (/home/burntcustard/Documents/burnt.io/node_modules/@11ty/eleventy/src/TemplateContent.js:212:21)
[11ty]     at Template.getData (/home/burntcustard/Documents/burnt.io/node_modules/@11ty/eleventy/src/Template.js:408:29)
[11ty]     at Template.getTemplateMapEntries (/home/burntcustard/Documents/burnt.io/node_modules/@11ty/eleventy/src/Template.js:1087:33)
[11ty]     at TemplateMap.add (/home/burntcustard/Documents/burnt.io/node_modules/@11ty/eleventy/src/TemplateMap.js:59:21)
[11ty]     at async Promise.all (index 0)
[11ty]     at TemplateWriter._createTemplateMap (/home/burntcustard/Documents/burnt.io/node_modules/@11ty/eleventy/src/TemplateWriter.js:243:5)
[11ty]     at TemplateWriter.generateTemplates (/home/burntcustard/Documents/burnt.io/node_modules/@11ty/eleventy/src/TemplateWriter.js:277:5)
[11ty]     at TemplateWriter.write (/home/burntcustard/Documents/burnt.io/node_modules/@11ty/eleventy/src/TemplateWriter.js:323:23)
[11ty] Wrote 0 files in 0.39 seconds (v1.0.1)

This was supposed to be on the eleventy-plugin-react-ssr repo, apologies, I've been awake for too long 😂 Although https://github.com/scinos/eleventy-plugin-react-ssr is 404'ing? Kind of like it's recently been made private?

Moved to public, thanks!!
Regarding the issue, I'll see what I can do.


[Error] : KIN_AMAGAMBO.ingano() method.

Describe the bug
issue when using the KIN_AMAGAMBO  ingano method getting error (Error reading file: Cannot read properties of undefined (reading 'type'))
To Reproduce
Steps to reproduce the behavior:

make file try.kin
add codes     tangaza_amakuru(KIN_AMAGAMBO.ingano("hello"))
run kin run ./try.kin
See error

Expected behavior
could get 5 as result
Screenshots

This method was documented but not yet implemented, it was in TODO!!
We'll work on it.


Apply button doesn't work

Different day, same LES, different problem.
In the LES Test gas https://moses.energytransitionmodel.com/testing_grounds/480/edit , when you edit the Gas asset list and click on Apply it doesn't apply and save the changes. I'm not sure if it's connected to the last problem.

CC @JeroenvdLogt

Could you be more specific, do you do anything out of the ordinary or edited a specific field, removed a row, added a row?
Steps I performed

Opened your LES
Changed the quantity of the last OS to 0.0952
Hit apply
Refreshed the page to see if it changed (and it did)
Put the quanity back to 0.095

On the first rule i changed the pressure level from 0,1 bar to 40 and hit apply. It didn't werk.

I see what is happening here. The gas asset list sorts itself on the pressure level. So if you change the pressure level of a certain gas asset from 0.1 bar to 40 bar the gas asset itself (the row) moves all the way to the bottom. Could you validate that that is what's happening?
This is a bit of hard to detect, so maybe we should give the changed rows (or cells) a yellow background color? @ChaelKruip
Also there's a different problem happening here. When changing the pressure level of a certain gas asset the default selected technology can become blank, resulting in an incomplete calculation. I'll look into why that is happening .. 😕

I just retraced my steps and this is what happened:

I change the pressure level of the first line from 0.1 bar to 40 bar
Change the quantity to GOS
Change the stakeholder to producer
Click on apply

Then it discards all changes...

I looked into it again but I can't seem to exactly reproduce this. What does happen is as described when refreshing the page the GOS connector appears at the bottom of the list instead of the top where you might expect it to be.

I looked into it again but I can't seem to exactly reproduce this. What does happen - is as described: when refreshing the page the GOS connector appears at the bottom of the list instead of the top where you might expect it to be.

This is still very confusing but not a bug as such. Let's open a new issue for this.


[Feature] Support for decoding method that reduce Hallucinations

Motivation
Recently，there are many good paper that try to alleviating hallucinations for large vision-language models during the decode process，like：
OPERA: Alleviating Hallucination in Multi-Modal Large Language Models via Over-Trust Penalty and Retrospection-Allocation (CVPR 2024 Highlight)（code:https://github.com/shikiw/OPERA）
Paying More Attention to Image: A Training-Free Method for Alleviating Hallucination in LVLMs (ECCV 2024)(code:https://github.com/LALBJ/PAI)
Self-Introspective Decoding: Alleviating Hallucinations for Large Vision-Language Models (code:https://github.com/huofushuo/SID)
All these method and code were implemented during inference process.
Is it possible to integrate one or more these method into InternVL2.0 series model decode in lmdeploy?
Thank you!
Related resources
OPERA: Alleviating Hallucination in Multi-Modal Large Language Models via Over-Trust Penalty and Retrospection-Allocation (CVPR 2024 Highlight)（code:https://github.com/shikiw/OPERA）
Paying More Attention to Image: A Training-Free Method for Alleviating Hallucination in LVLMs (ECCV 2024)(code:https://github.com/LALBJ/PAI)
Self-Introspective Decoding: Alleviating Hallucinations for Large Vision-Language Models (code:https://github.com/huofushuo/SID)
Additional context
No response

@irexyc may put this feature in the survey list


Dependency conflicts

Hi all,
I met dependency conflicts when installing MQuad.
Installing collected packages: sklearn, pytz, zipp, tzdata, six, pyparsing, pillow, packaging, numpy, kiwisolver, fonttools, cycler, scipy, python-dateutil, importlib-resources, contourpy, pandas, matplotlib, kneed, vireoSNP, BBMix, mquad
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
dynamo-release 1.3.3 requires PATSY>=0.5.1, which is not installed.
dynamo-release 1.3.3 requires scikit-learn>=0.19.1, which is not installed.
dynamo-release 1.3.3 requires statsmodels>=0.9.0, which is not installed.
dynamo-release 1.3.3 requires tqdm, which is not installed.
dynamo-release 1.3.3 requires typing-extensions, which is not installed.
pynndescent 0.5.10 requires joblib>=0.11, which is not installed.
pynndescent 0.5.10 requires scikit-learn>=0.18, which is not installed.
umap-learn 0.5.3 requires scikit-learn>=0.22, which is not installed.
umap-learn 0.5.3 requires tqdm, which is not installed.
Successfully installed BBMix-0.2.1 contourpy-1.1.1 cycler-0.12.0 fonttools-4.42.1 importlib-resources-6.1.0 kiwisolver-1.4.5 kneed-0.8.5 matplotlib-3.7.3 mquad-0.1.7 numpy-1.24.4 packaging-23.1 pandas-2.0.3 pillow-10.0.1 pyparsing-3.1.1 python-dateutil-2.8.2 pytz-2023.3.post1 scipy-1.10.1 six-1.16.0 sklearn-0.0.post9 tzdata-2023.3 vireoSNP-0.5.8 zipp-3.17.0

I've tried to install dependency by myself but also failed.
Anyone can help?

I've installed all dependencies and still got errors when running the example.
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
    https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

Hi @FionaMoon ,
is there a line number that indicate where the error happened? I did a search and did not find the use of np.float in the code.

I solve this problem by install lower version of numpy.
---- Replied Message ----
| From | @.> |
| Date | 10/10/2023 02:12 |
| To | @.> |
| Cc |<EMAIL_ADDRESS>|
| Subject | Re: [single-cell-genetics/MQuad] Dependency conflicts (Issue #24) |
@aaronkwc Just to chime in - I got a similar error in this: error message pasted below:
Traceback (most recent call last):
File "/home/daniel/.local/bin/mquad", line 8, in
sys.exit(main())
File "/home/daniel/.local/lib/python3.10/site-packages/mquad/mquad_CLI.py", line 138, in main
df = mdphd.fit_deltaBIC(
File "/home/daniel/.local/lib/python3.10/site-packages/mquad/mquad_batch_mixbin.py", line 142, in fit_deltaBIC
results = pool.starmap_async(fit_batch, self._batchify(batch_size, x, y, valid_row_sizes)).get()
File "/usr/lib/python3.10/multiprocessing/pool.py", line 774, in get
raise self._value
AttributeError: module 'numpy' has no attribute 'float'.
np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
But I don't see anything amiss in either the mquad_CLI.py, nor the mquad_batch_mixbin.py files.
Any help would be greatly appreciated!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

I also found a solution; it looks like it's one of the dependencies that's the issue; this fixes it:
sed -i -e 's/np.float/float/g' /home/daniel/.local/lib/python3.10/site-packages/bbmix/models/binomial_mix_sparse.py

So sorry for missing the discussion - I have been really busy lately.
As @danieljrichard says, it seems the np.float line is used in the BBMix package which is one of the dependencies.
However, I am not the maintainer of that package.
I can notify the maintainer of BBMix to update its code to follow numpy's version update. In the meantime, @FionaMoon 's solution make a lot of sense if you do not mind the slight inconvenience.
Will leave this issue open for now until I find a permanent solution. Thanks all for the discussion.

Hi all,
BBMix has been updated to include the latest changes in numpy dtype. Please update BBMix and try MQuad again.


Add parameter to closure

Hi,
I was trying to add a parameter to the closure but I can't figure out why is not working. I've found someone else having exactly the same problem as me but unfortunetly he hasn't got an anwser just yet.
My code as is follows:
Excel::filter('chunk')->load($uploads_folder . '/' . $original_name)->chunk(250, function ($results) use (&$is_valid_import_file) {
                $is_valid_import_file = count($results) > 0;
                     if($is_valid_import_file) {
                         foreach ($results as $row) {
                             // Import a single line
                         }
                     }
                 }
            );

Any suggesetion would be more than welcome. And thx for this really cool library, well done!

See: https://github.com/Maatwebsite/Laravel-Excel/issues/744


Allow pinging the flag submission endpoint

This was resolved in https://github.com/enowars/bambictf/commit/c7d9823375c1b8d523d06188d41fe015c27957c1


macro with shifted keys

when I have a macro that e.g. shall contain a email address like<EMAIL_ADDRESS>I have to shift 2 to produce the @ sign.
Example:
x = macro(john S-2 doe dot com)
this produces: john2doe.com instead. But when I have the @ in the beginning and as only character it works, like:
x = macro(S-2)
this produces: @
Is there a way to hand down character codes or similar that allows this?

The first macro you provided works fine for me and produces<EMAIL_ADDRESS>on different keyboards across different computers (Arch Linux, keyd v2.4.3). Do you have any settings in your [global] section that might be impeding this, like macro_sequence_timeout, or might adding/changing that setting solve this? Also, what about experimenting with adding timeouts, like  x = macro(john 100ms S-2 100ms doe dot com) ?

I am using Debian 12. I only have a /etc/keyd/default.conf that looks like this:
[ids]
*

[main]
x = macro(john S-2 doe dot com)
y = macro(S-2)
z = macro(john 100ms S-2 100ms doe dot com)

The output is very strange. On the terminal and other Gnome apps I have john2doe.com as output
but here on the browser it is<EMAIL_ADDRESS>(x and z). The @ sign always works when standing there alone - even the gnome-terminal etc.
When I test it outside the Gnome Shell (pure textmode terminal) it also works. I assume there is something in Gnome that does something unusual....

In the gnome-terminal and other Gnome apps I get john2doe.com as output, but here on the browser it is<EMAIL_ADDRESS>(x and z).

Sounds like a timing bug. IIRC some gnome stuff has weird input loop bugs. You can try manually accounting for it by adding a timeout between shift and 2 like so:
z = macro(john 100ms leftshift+100ms+2 100ms doe dot com)

adjust the timeouts to taste.


Add acos SparkSQL function

Spark support acos since 1.4.0, this pull request add it to Velox.

HI @mbasmanova could you help me review this new PR, thank you.


errors exported by +page.svelte is only available on the server and not on the client

Describe the bug
Cannot access the errors object in the client returned by actions (+page.server.js).
Reproduction
https://github.com/pilcrowOnPaper/sveltekit-action-issue
Description and steps are described in the repo README
Logs
(Browser console)
<Root> was created without expected prop 'errors'

System Info
System:
    OS: macOS 12.5
    CPU: (8) x64 Intel(R) Core(TM) i7-1060NG7 CPU @ 1.20GHz
    Memory: 870.41 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
Binaries:
    Node: 18.7.0 - ~/.nvm/versions/node/v18.7.0/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.15.0 - ~/.nvm/versions/node/v18.7.0/bin/npm
Browsers:
    Chrome: 98.0.4758.102
    Firefox: 103.0.2
    Safari: 15.6
npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.64
    @sveltejs/kit: next => 1.0.0-next.408
    svelte: ^3.44.0 => 3.49.0
    vite: ^3.0.0 => 3.0.7

Tested with: Safari, Firefox, Chrome
Severity
blocking an upgrade
Additional Information
No response

https://github.com/sveltejs/kit/discussions/5875 is relevant here: POST in +page.server.js is going to be moving to +actions.server.js and changing its name, along with a lot of other changes; see that discussion for full details.

@rmunn But is this issue or no? If this is an issue, I found the cause and can open a PR.

@pilcrowOnPaper I don't think this behavior is expected, so go ahead and open the PR if you've already got a bugfix ready and it's small. But since according to #5875 the relevant parts of the code will be changing soon, if your PR is large it may end up with a lot of merge conflicts and it might be worth holding off until #5875 gets implemented. If it's small, though, might as well get it in now so the bugfix can be incorporated into the upcoming #5875 changes.

It's just 3 lines of code, will open a PR


building web from master branch

Hello,
I ran in to some issues while trying to build web part of dispatch (scheduler builds fine with docker build)
However it fails because it can't determine dispatch version or build.
logs from ./install.sh
Checking minimum requirements...

./.env already exists, skipped creation.
./requirements.txt already exists, skipped creation.

Creating volumes for persistent storage...
Created dispatch-postgres.

Generating secret key...
Secret key written to ./.env

Building and tagging Docker images...

Step 1/47 : FROM python:3.8-slim-buster as sdist
 ---> 091e4db1c781
Step 2/47 : LABEL<EMAIL_ADDRESS> ---> Using cache
 ---> acdfc509e3b8
Step 3/47 : LABEL org.opencontainers.image.title="Dispatch PyPI Wheel"
 ---> Using cache
 ---> 91cb95d33068
Step 4/47 : LABEL org.opencontainers.image.description="PyPI Wheel Builder for Dispatch"
 ---> Using cache
 ---> 65b0248c3c11
Step 5/47 : LABEL org.opencontainers.image.url="https://dispatch.io/"
 ---> Using cache
 ---> c09412441b65
Step 6/47 : LABEL org.opencontainers.image.source="https://github.com/netflix/dispatch"
 ---> Using cache
 ---> ada4df40987e
Step 7/47 : LABEL org.opencontainers.image.vendor="Netflix, Inc."
 ---> Using cache
 ---> 1571b0bce440
Step 8/47 : LABEL<EMAIL_ADDRESS> ---> Using cache
 ---> b4d0ba9fe5e9
Step 9/47 : RUN apt-get update && apt-get install -y --no-install-recommends     dirmngr     gnupg2     ca-certificates     wget     && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> f91d54c18b0e
Step 10/47 : RUN set -x     export GNUPGHOME="$(mktemp -d)"
 ---> Using cache
 ---> ea14440bcdaf
Step 11/47 : RUN for key in     B42F6819007F00F88E364FD4036A9C25BF357DD4     595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7     94AE36675C464D64BAFA68DD7434390BDBE9B9C5     FD3A5288F042B6850C66B31F09FE44734EB7990E     71DCFD284A79C3B38668286BC97EC7A07EDE3FC1     DD8F2338BAE7501E3DD5AC78C273792F7D83545D     C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8     B9AE9905FFD7803F25714661B63B535A4C206CA9     77984A986EBC2AA786BC0F66B01FBB92821C587A     8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600     4ED778F539E3634C779C87C6D7062848A1AB005C     A48C2BEE680E841632CD4E44F07496B3EB3C1762     B9E2F5981AA6E0CD28160D9FF13993A75599653C     ; do     gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key";     done
 ---> Using cache
 ---> 8cd0afcaf664
Step 12/47 : ENV GOSU_VERSION 1.12
 ---> Using cache
 ---> 9d99a31ab685
Step 13/47 : RUN set -x     && dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"     && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"     && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"     && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu     && rm -rf /usr/local/bin/gosu.asc     && chmod +x /usr/local/bin/gosu
 ---> Using cache
 ---> 85bb2cb8b4c7
Step 14/47 : ENV TINI_VERSION 0.18.0
 ---> Using cache
 ---> 93086518b654
Step 15/47 : RUN set -x     && wget -O /usr/local/bin/tini "https://github.com/krallin/tini/releases/download/v$TINI_VERSION/tini"     && wget -O /usr/local/bin/tini.asc "https://github.com/krallin/tini/releases/download/v$TINI_VERSION/tini.asc"     && gpg --batch --verify /usr/local/bin/tini.asc /usr/local/bin/tini     && rm -f /usr/local/bin/tini.asc     && chmod +x /usr/local/bin/tini
 ---> Using cache
 ---> 08239be6a050
Step 16/47 : COPY .nvmrc /usr/src/dispatch/
 ---> Using cache
 ---> cae6f499ebeb
Step 17/47 : RUN cd /usr/src/dispatch     && export NODE_VERSION="$(cat .nvmrc)"     && wget "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz"     && wget "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc"     && gpg --batch --verify SHASUMS256.txt.asc     && grep " node-v$NODE_VERSION-linux-x64.tar.gz\$" SHASUMS256.txt.asc | sha256sum -c -     && tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1     && rm -f "node-v$NODE_VERSION-linux-x64.tar.gz" SHASUMS256.txt.asc
 ---> Using cache
 ---> 04a5e89269e2
Step 18/47 : ARG SOURCE_COMMIT
 ---> Using cache
 ---> 3368eeba6ea4
Step 19/47 : ENV DISPATCH_BUILD=${SOURCE_COMMIT:-unknown}
 ---> Using cache
 ---> dee919013a42
Step 20/47 : LABEL org.opencontainers.image.revision=$SOURCE_COMMIT
 ---> Using cache
 ---> d94421def47f
Step 21/47 : LABEL org.opencontainers.image.licenses="https://github.com/netflix/dispatch/blob/${SOURCE_COMMIT:-master}/LICENSE"
 ---> Using cache
 ---> 8a840b3382c8
Step 22/47 : ARG DISPATCH_LIGHT_BUILD
 ---> Using cache
 ---> 92164c879acc
Step 23/47 : ENV DISPATCH_LIGHT_BUILD=${DISPATCH_LIGHT_BUILD}
 ---> Using cache
 ---> 259f29c595b3
Step 24/47 : RUN echo "DISPATCH_LIGHT_BUILD=${DISPATCH_LIGHT_BUILD}"
 ---> Using cache
 ---> 7d5fb94fcd25
Step 25/47 : COPY . /usr/src/dispatch/
 ---> 98a56d0621d6
Step 26/47 : RUN export YARN_CACHE_FOLDER="$(mktemp -d)"     && cd /usr/src/dispatch     && python setup.py bdist_wheel     && rm -r "$YARN_CACHE_FOLDER"     && mv /usr/src/dispatch/dist /dist
 ---> Running in 1502e4b0ed2e
running bdist_wheel
running build
running build_assets
using node (v12.16.2)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

-  Building for production...
Could not determine dispatch version or build
building assets for dispatch vUNKNOWN (build UNKNOWN)
Removing intermediate container 1502e4b0ed2e
Cleaning up...

Any ideas how to fix it ?
Thanks.

I just ran into this as well, the problem occurs in setup.py because the import fails, whereas this used to work in the previous master version.  The newest version in master has __init__.py import the models, and somewhere tries to import pydantic, and that fails at build time because it's not available.  This issue was introduced in #249.  The setup.py tries to fall back to loading from a json file with the path src/dispatch/static/dispatch/assets.json, which doesn't exist by default but worked for me when I added a dummy file like the following and it will build:
{
  "version": "master",
  "build": "master"
}

I'm not sure this helps you if you're using the install.sh method, though, as you wouldn't be able to place that file in the correct location.  If you try to just do docker build . via the main project there are currently errors in the Dockerfile which will also get in your way.

I've been able to reproduce this locally, will take a look to see if I can avoid the circular dependency.

I was able to build it successfully after using assets.json file, however not sure if that is related, but after starting service, it throws exception that Directory '/usr/local/lib/python3.8/site-packages/dispatch/static/dispatch/dist' does not exist
Attaching to dispatch_postgres_1, dispatch_scheduler_1, dispatch_web_1
postgres_1   |
postgres_1   | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1   |
postgres_1   | LOG:  database system was shut down at 2020-05-19 15:39:29 UTC
postgres_1   | LOG:  MultiXact member wraparound protections are now enabled
postgres_1   | LOG:  database system is ready to accept connections
postgres_1   | LOG:  autovacuum launcher started
scheduler_1  | No metric providers specified metrics will not be sent.
web_1        | No metric providers specified metrics will not be sent.
scheduler_1  | WARNING:dispatch.common.utils.cli:Failed to load plugin: zoom_conference Reason: "Config 'ZOOM_API_USER_ID' is missing, and has no default."
web_1        | WARNING:dispatch.common.utils.cli:Failed to load plugin: zoom_conference Reason: "Config 'ZOOM_API_USER_ID' is missing, and has no default."
scheduler_1  | Traceback (most recent call last):
scheduler_1  |   File "/usr/local/bin/dispatch", line 5, in <module>
scheduler_1  |     from dispatch.cli import entrypoint
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/dispatch/cli.py", line 14, in <module>
scheduler_1  |     from .main import *  # noqa
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/dispatch/main.py", line 130, in <module>
scheduler_1  |     frontend.mount("/", StaticFiles(directory=STATIC_DIR), name="app")
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/starlette/staticfiles.py", line 55, in __init__
scheduler_1  |     raise RuntimeError(f"Directory '{directory}' does not exist")
scheduler_1  | RuntimeError: Directory '/usr/local/lib/python3.8/site-packages/dispatch/static/dispatch/dist' does not exist
web_1        | INFO:     Started server process [1]
web_1        | INFO:     Waiting for application startup.
web_1        | INFO:     Application startup complete.
web_1        | INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
scheduler_1  | No metric providers specified metrics will not be sent.
scheduler_1  | WARNING:dispatch.common.utils.cli:Failed to load plugin: zoom_conference Reason: "Config 'ZOOM_API_USER_ID' is missing, and has no default."
scheduler_1  | Traceback (most recent call last):
scheduler_1  |   File "/usr/local/bin/dispatch", line 5, in <module>
scheduler_1  |     from dispatch.cli import entrypoint
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/dispatch/cli.py", line 14, in <module>
scheduler_1  |     from .main import *  # noqa
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/dispatch/main.py", line 130, in <module>
scheduler_1  |     frontend.mount("/", StaticFiles(directory=STATIC_DIR), name="app")
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/starlette/staticfiles.py", line 55, in __init__
scheduler_1  |     raise RuntimeError(f"Directory '{directory}' does not exist")
scheduler_1  | RuntimeError: Directory '/usr/local/lib/python3.8/site-packages/dispatch/static/dispatch/dist' does not exist
dispatch_scheduler_1 exited with code 1
scheduler_1  | No metric providers specified metrics will not be sent.
scheduler_1  | WARNING:dispatch.common.utils.cli:Failed to load plugin: zoom_conference Reason: "Config 'ZOOM_API_USER_ID' is missing, and has no default."
scheduler_1  | Traceback (most recent call last):
scheduler_1  |   File "/usr/local/bin/dispatch", line 5, in <module>
scheduler_1  |     from dispatch.cli import entrypoint
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/dispatch/cli.py", line 14, in <module>
scheduler_1  |     from .main import *  # noqa
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/dispatch/main.py", line 130, in <module>
scheduler_1  |     frontend.mount("/", StaticFiles(directory=STATIC_DIR), name="app")
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/starlette/staticfiles.py", line 55, in __init__
scheduler_1  |     raise RuntimeError(f"Directory '{directory}' does not exist")
scheduler_1  | RuntimeError: Directory '/usr/local/lib/python3.8/site-packages/dispatch/static/dispatch/dist' does not exist
dispatch_scheduler_1 exited with code 1

The issue with just making an assets.json file is that it indicates that the assets don't need to be built, but for the docker images they do need to be built (and you're effectively skipping that step).

Please try again, #345 should resolve the issue.

Hi, this resolves the issue for building the container, when:

you use Dockerfile from the develop branch, since the one from master fails( #341 + #344 fixes that in develop branch ).
add 9b4a5ff08170_.py file by dispatch/src/dispatch/alembic/versions/ (it was complaining that it does not exist 💁

However, I am still having same issues when container starts
** I disabled zoom plugin in setup.py file, so warning is no longer shown, but error message is the same as in post above
dispatch_postgres_1 is up-to-date
Recreating dispatch_scheduler_1 ... done
Recreating dispatch_web_1       ... done
Attaching to dispatch_postgres_1, dispatch_scheduler_1, dispatch_web_1
scheduler_1  | No metric providers specified metrics will not be sent.
postgres_1   |
postgres_1   | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1   |
postgres_1   | LOG:  database system was shut down at 2020-05-19 20:41:35 UTC
postgres_1   | LOG:  MultiXact member wraparound protections are now enabled
postgres_1   | LOG:  autovacuum launcher started
postgres_1   | LOG:  database system is ready to accept connections
postgres_1   | LOG:  received smart shutdown request
postgres_1   | LOG:  autovacuum launcher shutting down
postgres_1   | LOG:  shutting down
postgres_1   | LOG:  database system is shut down
postgres_1   |
postgres_1   | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1   |
postgres_1   | LOG:  database system was shut down at 2020-05-19 20:53:59 UTC
postgres_1   | LOG:  MultiXact member wraparound protections are now enabled
postgres_1   | LOG:  autovacuum launcher started
postgres_1   | LOG:  database system is ready to accept connections
postgres_1   | LOG:  received smart shutdown request
postgres_1   | LOG:  autovacuum launcher shutting down
postgres_1   | LOG:  shutting down
postgres_1   | LOG:  database system is shut down
postgres_1   |
postgres_1   | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1   |
postgres_1   | LOG:  database system was shut down at 2020-05-19 20:54:26 UTC
postgres_1   | LOG:  MultiXact member wraparound protections are now enabled
postgres_1   | LOG:  database system is ready to accept connections
postgres_1   | LOG:  autovacuum launcher started
web_1        | No metric providers specified metrics will not be sent.
scheduler_1  | Traceback (most recent call last):
scheduler_1  |   File "/usr/local/bin/dispatch", line 5, in <module>
scheduler_1  |     from dispatch.cli import entrypoint
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/dispatch/cli.py", line 14, in <module>
scheduler_1  |     from .main import *  # noqa
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/dispatch/main.py", line 130, in <module>
scheduler_1  |     frontend.mount("/", StaticFiles(directory=STATIC_DIR), name="app")
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/starlette/staticfiles.py", line 55, in __init__
scheduler_1  |     raise RuntimeError(f"Directory '{directory}' does not exist")
scheduler_1  | RuntimeError: Directory '/usr/local/lib/python3.8/site-packages/dispatch/static/dispatch/dist' does not exist
web_1        | INFO:     Started server process [1]
web_1        | INFO:     Waiting for application startup.
web_1        | INFO:     Application startup complete.
web_1        | INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
scheduler_1  | No metric providers specified metrics will not be sent.
scheduler_1  | Traceback (most recent call last):
scheduler_1  |   File "/usr/local/bin/dispatch", line 5, in <module>
scheduler_1  |     from dispatch.cli import entrypoint
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/dispatch/cli.py", line 14, in <module>
scheduler_1  |     from .main import *  # noqa
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/dispatch/main.py", line 130, in <module>
scheduler_1  |     frontend.mount("/", StaticFiles(directory=STATIC_DIR), name="app")
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/starlette/staticfiles.py", line 55, in __init__
scheduler_1  |     raise RuntimeError(f"Directory '{directory}' does not exist")
scheduler_1  | RuntimeError: Directory '/usr/local/lib/python3.8/site-packages/dispatch/static/dispatch/dist' does not exist
dispatch_scheduler_1 exited with code 1
scheduler_1  | No metric providers specified metrics will not be sent.
scheduler_1  | Traceback (most recent call last):
scheduler_1  |   File "/usr/local/bin/dispatch", line 5, in <module>
scheduler_1  |     from dispatch.cli import entrypoint
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/dispatch/cli.py", line 14, in <module>
scheduler_1  |     from .main import *  # noqa
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/dispatch/main.py", line 130, in <module>
scheduler_1  |     frontend.mount("/", StaticFiles(directory=STATIC_DIR), name="app")
scheduler_1  |   File "/usr/local/lib/python3.8/site-packages/starlette/staticfiles.py", line 55, in __init__
scheduler_1  |     raise RuntimeError(f"Directory '{directory}' does not exist")
scheduler_1  | RuntimeError: Directory '/usr/local/lib/python3.8/site-packages/dispatch/static/dispatch/dist' does not exist
dispatch_scheduler_1 exited with code 1

When it starts building it value for build key is unknown, by any chance that might be an issue ?
Step 25/46 : RUN export YARN_CACHE_FOLDER="$(mktemp -d)"     && cd /usr/src/dispatch     && python setup.py bdist_wheel     && rm -r "$YARN_CACHE_FOLDER"     && mv /usr/src/dispatch/dist /dist
 ---> Running in fd10998da497
running bdist_wheel
running build
running build_assets
using node (v12.16.2)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

-  Building for production...
pulled version information from 'dispatch' module. /usr/src/dispatch/src/dispatch/__init__.py
building assets for dispatch v0.1.0.dev0 (build unknown)
writing version manifest
recorded manifest
{
  "createdAt": "2020-05-19T20:22:16.337905Z",
  "version": "0.1.0.dev0",
  "build": "unknown"
}
running build_py
creating build
creating build/lib
creating build/lib/dispatch

Please pull the latest dispatch-docker build I believe https://github.com/Netflix/dispatch-docker/pull/54 should fix your issue.

yes this fixes it.


Experimental AMP Mode (IDFGH-11693)

Changes needed to make AMP mode work.
Because the ESP port needs to run on 2 cores and the FREERTOS on 1 core,  there became a conflict with the current usage of portNUM_PROCESSORS and configNUM_CORES. Because of this, I changed all areas looking at these definitions in relation to FREERTOS to use configNUM_CORES, and all areas of the ESP port to use portNUM_PROCESSORS. This is what i understand to be the correct ussage of these definitions.
The second core entry point is app_main1() and defaults into a delay loop. This code is found in app_startup.c. The check for making sure CONFIG_FREERTOS_UNICORE == CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE was removed since AMP is now experimentally supported.
The esp_ipc was modified in order to use crosscore_int to trigger the second core handling of ipc functions when in AMP mode. The first core still handles ipc functions through the RTOS task. Some code was rearranged to make this cohesive and readable. This consists of the bulk of the changes in this PR.
Some more CONFIG_FREERTOS_UNICORE checks were changed to CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE
I tested this by building my interrupt example and have been able to demonstrate a marked improvement on Interrupt Jitter. It is now within 1us.
https://github.com/FL0WL0W/ESP32InterruptExample/tree/AMP
Relevant issues
#10410
#11830

This is amazing. I'd really love to see this option publicly available in ESP-IDF. It would come in handy especially for situations where you have SPI-drivers and an INT line to indicate that something did happen on the peripheral.
Since it's not really advisable to use SPI from an ISR, the traditional way to handle this seems to be a high priority task that does the SPI communication which then gets woken up using direct-to-task-notification like xTaskNotifyFromISR. This way though, it can take several hundred µsec until the task actually gets woken up – which might be a tad bit slow for high speed peripherals.
With a bare metal loop being woken up by the IRQ (and an assorted bit-banging SPI driver), I would hope to eliminate this delay. The question then is how to communicate the payloads between the FreeRTOS core and the bare metal core.

@FL0WL0W Thank you for the contribution! The changes done for updating portNUM_PROCESSORS to configNUM_CORES LGTM. I shall be pulling it to our internal repository and running CI tests.

Awesome! Let me know if you need anything from me.
Thank you @sudeep-mohanty for the update!
@mickeyl The built-in ESP-IDF driver for SPI should work on the bare metal second core, but I have not tested that. It would be great if you could test it from the bare metal core. You should also be able to notify tasks in FreeRTOS from the second core.

sha=9cdb09c5e990ae45e0af1eaf887d3fa1a0d2dc16

@sudeep-mohanty I guess having some of my changes pulled is better than nothing. It is still unfortunate my other changes to the ipc will not get pulled. I will open a new pull request for some other changes that can hopefully be pulled in.

Hi @FL0WL0W,
After some more deliberations, we've decided to introduce a hidden Kconfig option, viz., CONFIG_FREERTOS_NUMBER_OF_CORES which should control the number of cores on which FreeRTOS is running. The intention is to use this new macro to iterate over SMP entities., instead of using configNUM_CORES. At the moment, this option will be tied to the value of CONFIG_FREERTOS_UNICORE but it will be made the default option for selecting the number of cores for FreeRTOS by the next major ESP-IDF release. This should not affect your efforts to enable AMP with ESP-IDF.

@sudeep-mohanty That's very good news, thanks Espressif for reconsidering!

PR updated and merged at 9605f9be3fc62607c69edbe37aeb3e7ba4b0c908. Closing this PR.

@mickeyl careful, they did not add the AMP functionality. They only updated their C definitions to match closer to what they should be. All the changes needed to the cpu_start and the ipc_task were not accepted.
@sudeep-mohanty I will look over the changes and make another PR if I see anything wrong. Thanks.

@FL0WL0W Oops, thanks for the warning. I'll stick with your fork then. The smaller the diff is the better though… and perhaps you can get more upstream eventually.


Ability to see the history for a dataset - when a submission has been updated and with what

@ofanobilbao  can fill the info about stakeholder needs, but we need to be able to view a history of updates per project.

As a wrangler/stakeholder I want to be able to look at a dataset/project I did not work on and see what Updates were done and exported to DCP, what releases it has been part of (if more than one due to updates), when it changed status etc
As a wrangler/stakeholder I want to be able to tell if a project has been migrated to the latest schema.
As a stakeholder I want to be able to see how many projects have been updated (as in Updated and changed Exported to DCP) in a particular period of time, or a Release.
As a stakeholder I want to be able to see how many projects have changed status from New to Eligible or Not Eligible in order to understand the level of first pass curation.

More tbc

Will do some of these as new tickets/requirements.


Enforce constants are declared at the top of the file

We should enforce constants are only allowed at the top of the file just after file name definition.
Then the structure of an AirScript file could look like:
## Air name definition
...

## Constant declarations
...

## AIR source sections
...

Originally proposed by @grjte in https://github.com/0xPolygonMiden/air-script/pull/152#discussion_r1111792918

@tohrnii @grjte - is this still relevant, or should we close this?

@bitwalker - we now allow constants to be declared anywhere, right? If so, I think we can close this issue.

@bobbinth Yes, there is no ordering requirement on declarations now, so I'll go ahead and close this. The original issue seems to want to restrict the syntax, rather than loosen it up, but that feels more like a stylistic choice rather than something we should enforce in the parser, so I'd probably close this either way.


Feature84/ld add more data

Return more variant attributes in the LD endpoint.

I couldn't find a way to send the whole branch as a PR

ok, I've created a new branch from master, can you please rebase your branch against that?


Cleanup and add docblocks to source classes

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Fixed issues
-

👍


post-merge: Port portage-stable and coreos-overlay GitHub actions

VMWare:

Test run: https://github.com/krnowak/scripts/actions/runs/4687476181
Resulting PR: https://github.com/krnowak/scripts/pull/23

Rust:

Test run: https://github.com/krnowak/scripts/actions/runs/4687478775
Resulting PR: https://github.com/krnowak/scripts/pull/27

Runc:

Test run: https://github.com/krnowak/scripts/actions/runs/4687476907
Resulting PR: https://github.com/krnowak/scripts/pull/22

Mirror Calico:

Needs to have secrets set up.
Not tested yet.

Kernel:

Test run: https://github.com/krnowak/scripts/actions/runs/4687473424
Resulting PR: https://github.com/krnowak/scripts/pull/24
Notes:

Currently only for the main branch, will need to revert one commit when all channels are using merged scripts.

Go:

Test run: https://github.com/krnowak/scripts/actions/runs/4687471580
Resulting PR: https://github.com/krnowak/scripts/pull/26

Linux Firmware:

Test run: https://github.com/krnowak/scripts/actions/runs/4687474824
Resulting PR: https://github.com/krnowak/scripts/pull/21

Docker update:

Test run: https://github.com/krnowak/scripts/actions/runs/4687470125
Resulting PR: https://github.com/krnowak/scripts/pull/25

Containerd update:

Test run: https://github.com/krnowak/scripts/actions/runs/4687469167
Resulting PR: https://github.com/krnowak/scripts/pull/20

CA Certificates update:

Test run: https://github.com/krnowak/scripts/actions/runs/4687468250
Resulting PR: https://github.com/krnowak/scripts/pull/19
Notes:

Currently only for the main branch, will need to revert one commit when all channels are using merged scripts.

Weekly package updates:

Test run: https://github.com/krnowak/scripts/actions/runs/4687482523
Resulting PR: https://github.com/krnowak/scripts/pull/28

Monthly GLSA updates:

Test run: https://github.com/krnowak/scripts/actions/runs/4687480616
Resulting PR: https://github.com/krnowak/scripts/pull/18

OH NO this was closed inadvertently when I cleaned up old branches from the submodules merge - sorry for that @krnowak .


List operations

Resolves #84.
With this PR, you can run

obr operations
obr run --list-operations
obr run [--operation|-o] --help

Whereas all print the following to the console:
Available operations are:
	apply
	archive
	blockMesh
	checkMesh
	controlDict
	decomposePar
	fetchCase
	fvSolution
	refineMesh
	runParallelSolver
	setKeyValuePair
	shell```

Of course, documentation is included in this PR as well.

format!

format!