Minio + Unstructured + Weaviate

Hey everyone,
I have 2 questions:
Is it possible to establish a connection directly between my self-hosted unstructured API and S3 via a connector ? The goal would be to request the API with s3 url instead of local file, which will allow the API to access my s3 data provider.
Also I need something else but is it possible to set up a streaming unstructured ETL? For example when I add new data in S3 then unstructured process it immediately and could ingest data in an another database (weaviate in my case)
I have one weaviate container, an unstructured-api container running and my minio container that is S3 compatible.
Thank you for your help !

to fix your trouble check this solution click
maybe this will solve your problem.

Closing as inactive, but @naelsen you might ask on the Unstructured Slack channel as that is monitored by more folks :)


Better caching support for async tile images

I'm using a sub-classed Layer.Grid with an overwritten getUrlAsync() method to integrate our proprietary single-tile map service to OpenLayers. The map service generates all tiles on the fly, so we are eager to prevent any unnecessary /GetMap requests. All map parameters are encoded in the service url, so the requests should be cacheable.
Unfortunately,  the following problems occur from time to time:

After a tile has been served, an identical /GetMap request is triggered
While the /GetMap request for tile 1 is processed on the server, an identical request is triggered

While problem 1 is easily solved by introducing a cache dict on the layer object (request urls --> tile images), problem 2 is harder to tackle, since I need to postpone the getUrlAsync processing of request 2 until the response for the identical request 1 has arrived.
Are there any plans to add better caching support for the async scenario?
(As a quick fix, I will perform the /GetMap requests with a jQuery Deferred and keep these objects in my cache instead of the tile urls. When an identical request arrives, I simply attach it to the .done callback of the deferred).

Hi, just for me to understand:

After a tile has been served, an identical /GetMap request is triggered
While the /GetMap request for tile 1 is processed on the server, an identical request is triggered

Are you saying that OpenLayers triggers a 2nd request for the same tile on its own, or just that if the user requests the same map extent again, a new request is sent? If the former, then we have a bug somewhere in OpenLayers. If the latter, then I don't expect any efforts in client-side cache management of asynchronous requests, since the only layer type that currently uses asynchronous tile loading is Layer.ArcIMS, and ArcIMS was deprecated by ESRI.
The only future use of asynchronous tile requests in OpenLayers I can think of is offline storage, which might help you as well. Other than that, your solution for problem 1 sounds reasonable, and for problem 2 you could have a cache of pending requests by bounds and reassign the callback if a request for the same bounds is pending.
Please close this ticket if the information provided here was helpful. If, on the other hand, your proprietary map service is a commonly used one, provide more information about that service and turn this ticket into a feature request for creating a layer type for that service. This feature could then become at least an add-in.

thanks for the quick reply!
seems that OpenLayers triggers the request from time to time, I will try to track that down and open a new ticket for the exact cause (maybe the fault is on my side by making bad use of the API).
Anyhow I like to safeguard my layer against unneeded requests, so that it behaves gracefully even in non-optimal configurations.
Just for clarification: by "reassign the callback if a request for the same bounds is pending" you mean something like:
 //getURLasync layer of subclassed grid method, `tileCache` and `pendingRequests` are object properties.
 getURLasync: function (bounds, scope, prop, callback) {
      bounds = this.adjustBounds(bounds);
      var requestParams = this.getMyMapRequestParams(bounds, this.map.getSize());
      var reqQueryString = $.param(requestParams);
      var self = this;

      //check if there is a pending request for the same extent
      //and reassign the callback if necessary
      if (this.pendingRequests[reqQueryString]) {
          callback = self.pendingRequests[reqQueryString];
      }

      //check if there is already a completed tile request for the same extent
      else if (self.tileCache[reqQueryString]) {
          scope[prop] = self.tileCache[reqQueryString];
          callback.apply(scope);
      }

      //issue a new get request
      else {
          self.pendingRequests[reqQueryString] = callback;
          jQuery.get(this.methodPath, requestParams, function (response) {
              var mapData = self.parseMapResponse(response);
              scope[prop] = mapData.url;
              callback.apply(scope);
              //fill tilecache object
              self.tileCache[reqQueryString] = mapData.url;
              //delete pending request
              delete self.pendingRequests[reqQueryString];
          });
      }
  }

Yes, the above looks like what I had in mind.

Thanks for the suggestions, finally I found the source of error in another code part.


ISPN-9828 Server defaults missing for UFC_NB and MFC_NB

https://issues.jboss.org/browse/ISPN-9828

run performance tests please
cs

run performance tests please
cs

run performance tests please
cs

Performance looks good. Non-tx reads (both repl and dist) are still about 5% slower than the 7.2 baseline, but no messages are sent in those scenarios so it's probably from the server itself.


500 errors should return JSON, not the standard HTML page

This isn't needed, as grape handles it properly for RACK_ENV=production.


Nothing changed for macos catalina 10.15.7

BEFORE MAKING A BUG REPORT, PLEASE READ THE
CONTRIBUTING GUIDE.
BUG REPORTS ARE NOT FOR SUPPORT REQUESTS. IF YOU JUST NEED HELP,
ASK IN THE DISCORD SERVER.
BUG REPORTS THAT DO NOT PROPERLY FILL
IN THE TEMPLATE MAY BE IGNORED OR REJECTED.

What is happening?
I have downloaded the notion-enhanced binary executable file from the link (https://github.com/notion-enhancer/notion-repackaged/releases/download/v2.0.18-1/Notion-Enhanced-2.0.18-1.dmg) and removed it to the /Applications. However, when i opened this program, i could not find the notion-enhancer in anywhere, i.e., everything in the notion-enhanced program is the same as it in the normal notion program.
What should be happening?
Screenshots (if applicable):
Operating system/browser name & version:
macos catalina 10.15.7
notion-enhancer and/or notion-repackaged version:
v0.11.0
notion-enhancer configuration (enabled/disabled mods and their settings):

see https://github.com/notion-enhancer/desktop/issues/762


Private torrents

Hello Lunik, its possible to you add a option to download torrents from private trackers? I download 95% of me content from private trackers, thanks, you have created the best plataform to download torrents! Realy thanks.
Sorry for my poor english.

Hum, the issue with private trackers is that they need authentification to the the .torrent file. What you can do is :

Download the .torrent file on your computer
Upload it to TinyUpload
Click on the link "You can download it from address: ..."
Copy the link "To download file click the link below: ..."
Paste it on my app

Unfortunately I did not succeed. I tried with several but none worked, once again thanks for the feedback.

Damned !


fix(auth): Return session expired on revoke token

Issue #, if available: https://github.com/aws-amplify/amplify-swift/issues/2599
Description of changes:
Check points: (check or cross out if not relevant)

[x] Added new tests to cover change, if needed
[x] Build succeeds with all target using Swift Package Manager
[x] All unit tests pass
[x] All integration tests pass
[ ] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
[ ] Documentation update for the change if required
[x] PR title conforms to conventional commit style
[ ] If breaking change, documentation/changelog update with migration instructions

DataStore checkpoints (check when completed)

[ ] Ran AWSDataStorePluginIntegrationTests
[ ] Ran AWSDataStorePluginV2Tests
[ ] Ran AWSDataStorePluginMultiAuthTests
[ ] Ran AWSDataStorePluginCPKTests
[ ] Ran AWSDataStorePluginAuthCognitoTests
[ ] Ran AWSDataStorePluginAuthIAMTests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Can you please release this for V1 as well? Thanks!


Bintray

@dgmltn Done with my comments. I really want to write a gradle plugin that takes care of the android library upload instead of relying on the grab-bag of scripts that exist.

@brennantaylor that would be great. It does feel a bit weird to use "apply from: [random gradle script hosted on a git repo]" to do that


"Install Additional Color Themes" command doesn't work

Azure Data Studio Version: main

Steps to Reproduce:

Run change color theme command
Choose "Install Additional Color Themes" command item

Expected: Either the command doesn't exist or it shows me a list of themes to install.
Actual: The command opens Extension Manager and adds a filter tag.  The tag doesn't filter the items and we don't have any custom themes in our extension catalog in any case.

(there's a few 3rd party themes in the extension gallery)


ErrorException: Warning: count(): Parameter must be an array or an object that implements Countable

Description
Captured via Sentry when loading the Craft CP. It would seem either $oldNavItems and/or $newNavItems might not be an array or integer in some cases and potentially needs to be more defensive before calling count?
Exception
ErrorException: Warning: count(): Parameter must be an array or an object that implements Countable
  File "/vendor/verbb/cp-nav/src/services/Service.php", line 91, in verbb\cpnav\services\Service::checkUpdatedNavItems
    if (count($oldNavItems) < count($newNavItems)) {
  File "/vendor/verbb/cp-nav/src/CpNav.php", line 97, in verbb\cpnav\CpNav::verbb\cpnav\{closure}
    $this->getService()->checkUpdatedNavItems($event);
  File "/vendor/yiisoft/yii2/base/Event.php", line 312, in yii\base\Event::trigger
    call_user_func($handler[0], $event);
  File "/vendor/yiisoft/yii2/base/Component.php", line 636, in yii\base\Component::trigger
    Event::trigger($this, $name, $event);
  File "/vendor/craftcms/cms/src/web/twig/variables/Cp.php", line 280, in craft\web\twig\variables\Cp::nav
    $this->trigger(self::EVENT_REGISTER_CP_NAV_ITEMS, $event);

Fixed in 3.0.15

Thank you!


Release 0.3.0-alpha.19

The last release of the futures-preview crate happened back in the beginning of August. Since then the async_await feature has been stabilized on nightly as well as in the 1.39.0 beta and it would be nice to be able to build this crate using the recently released beta compiler. So it would be great to do another release that includes #1816.
cc @cramertj @taiki-e

Sounds good! I'll put one together now.


Designer PDF Viewer- HackerRank

Ques.
When a contiguous block of text is selected in a PDF viewer, the selection is highlighted with a blue rectangle. In this PDF viewer, each word is highlighted independently.
There is a list of 26 character heights aligned by index to their letters. For example, 'a' is at index 0 and 'z' is at index 25. There will also be a string. Using the letter heights given, determine the area of the rectangle highlight in mm^2 assuming all letters are 1mm wide.
Details:

Programming Language

[x] C++

@sameeksharl @ravikr126 please assign this issue to me under LGMSOC

@sameeksharl @ravikr126 please assign this issue to me under LGMSOC


Missing file  './dataset/list/voc/fold0/fold0_1shot_seed123.txt' when restating the training

Hi, thank you again for your very nice work.
I am getting an error when using this repository, which I would be very grateful if you could help me understand.
When I stop the training and try to start from the last saved model, I get into the issue that the code attempts to read the file "'./dataset/list/voc/fold0/fold0_1shot_seed123.txt'". However, this file was not generated.
I was trying to understand the code, and I think that this file should be created by 'gen_list' in 'gen_fs_list.py,' but this function is never called when using 'train_voc_fold0_base.sh' for training (at least not when interrupting the training before the maximum epochs).
Could you please help me solve this problem?
Thank you very much in advance,
\Luiza

You can manually use utils/gen_fs_list.py to generate this file. Note that you should change  dataset to 'voc'.

Thank you very much. It solved my problem!
Sorry, I didn't understand previously that I should run that manually 🙂


Dysgu Cluster

Hi,
Thanks your for this tools.
I have a question. can dysgu run on a cluster. I would install this on the cluster.
Thanks your

Hi,
Yes, although dysgu was really designed to work on a single node on a cluster.
Kez

I installed on the cluster but when i run my script; I have this error:
/var/spool/pbs/mom_priv/jobs/4418.master0.SC: line 65: /usr/local/bin/dysgu: No such file or directory

Sometimes installation issues can arise if you try and use the system wide python on a cluster. One approach is to create a virtual environment. Alternatively, you can try installing Anaconda, and use the bundled python. Alternatively, if you have access to docker you can try that installation method. Hope that helps


Allow user to choose a property from list of sub-properties (PCC priority no. 5)

currently, properties are "hard-coded" into a template: each field produces a triple, and the property used in the triple is predetermined in the template configuration
in some cases (see example below), we want the cataloger to choose among sub-properties of a particular property, rather than having to specify a bunch of fields, one for each possible sub-property
1. add to template configuration a way to say that "property URI" will be chosen by the user from sub-properties of property x.
2. expose property choice to user when cataloging, and including requiring the user to select a property
see below comment for some implementation possibilities

This would be a wonderful template feature for our extremely property-heavy RDA/RDF resource templates*.
One example use case among many would be an rdac:Work resource template with creator agent of work, with the option to apply instead or additionally one of the many narrower elements (subproperties) such as artist agent, author agent, cartographer agent of work, etc., etc.
*Curious to hear whether implementation of such a feature would be limited to property-subproperty relationships existing in the BF ontology, or whether templates built using other ontologies could take advantage of the feature.

Very wholeheartedly support this. Instead of hard coding every possibly needed property into a template, I'd like to see the ability for a cataloger to choose ones they need from a list of subproperties.  For example, if I have a derivative relationship, I'd like to be presented with a place to record derivative relationships, but then be able to select the particular type of derivative relationship (adaptation, expansion, digesting, imitation, abridgment, etc.) that I need from a pull-down list rather than having all of these properties hardcoded in the template and cluttering things, when only one of them will be needed.

This would be a game-changer for the RDA/RDF resource templates, shortening them significantly. I'm so glad this issue has been opened! I am also curious about the question @briesenberg07 brought up, regarding whether the implementation of this feature could be applied to any ontology in a given resource template.

there are a couple ways we could implement this:

template creator manually adds a list of the properties the cataloger can choose from for a field; or
template creator specifies: this field can use any subproperty of property x, and at the time of cataloging, Sinopia queries an ontology to find out the subproperties of property x

We are anticipating doing #1 because #2 is more difficult and involves depending on response from external ontology. An advantage of #1 is also that you could offer a choice of properties from different ontologies; or you could offer a subset of all subproperties of property x.
So if we do #1, the answer to @briesenberg07's question is that since template creator creates list of chooseable properties, you can use any properties from any ontology.

Thanks for the update @michelleif

So if we do [no.] 1, the answer to @briesenberg07's question is that since template creator creates list of chooseable properties, you can use any properties from any ontology.

+1 for the ability to use props from any ontology!

P.S. implementation option 2 would also let you use any ontology, but it wouldn't let you mix and match, or do a subset of subclasses

option 1 is good--ontology extensions (as opposed to fully different ontologies) often are built as subclasses or subproperties of the primary ontology. This would allow the addition of those as well as subclasses/properties in any other ontology

thanks for all the use cases everyone! the new ticket #3220 describes the implementation we will build in coming work cycle


Add routing mechanism

I can't find how route request by uri. When my microservise authentification(wss://host.com/auth) return auth-token(guid).  My web application connect to wss://host.com//auth-token

Are you using Node.js? In that case you can do it with the path support.

No I'm use c++.

So it makes sense to pass uri/subprotocol as strings to onConnection of both client and server. That way the application can easily decide what to do based on this -> adds routing and subprotocol support in one go.

Okay so I have added subprotocol and path support to the rewrite. This will become v0.10.0 in a couple of days.
It works like this:
h.onConnection([](uWS::WebSocket<uWS::SERVER> ws, uWS::UpgradeInfo ui) {
    std::string path(ui.path, ui.pathLength);
    std::string subprotocol(ui.subprotocol, ui.subprotocolLength);

    // do whatever you wish with the strings, terminate connection if you want to
});

You can find this on master now

I test it. Good work!


Update string nodes for implicit concatenation

Summary
This PR updates the string nodes (ExprStringLiteral, ExprBytesLiteral, and ExprFString) to account for implicit string concatenation.
Motivation
In Python, implicit string concatenation are joined while parsing because the interpreter doesn't require the information for each part. While that's feasible for an interpreter, it falls short for a static analysis tool where having such information is more useful. Currently, various parts of the code uses the lexer to get the individual string parts.
One of the main challenge this solves is that of string formatting. Currently, the formatter relies on the lexer to get the individual string parts, and formats them including the comments accordingly. But, with PEP 701, f-string can also contain comments. Without this change, it becomes very difficult to add support for f-string formatting.
Implementation
The initial proposal was made in this discussion: https://github.com/astral-sh/ruff/discussions/6183#discussioncomment-6591993. There were various AST designs which were explored for this task which are available in the linked internal document[^1].
The selected variant was the one where the nodes were kept as it is except that the implicit_concatenated field was removed and instead a new struct was added to the Expr* struct. This would be a private struct would contain the actual implementation of how the AST is designed for both single and implicitly concatenated strings.
This implementation is achieved through an enum with two variants: Single and Concatenated to avoid allocating a vector even for single strings. There are various public methods available on the value struct to query certain information regarding the node.
The nodes are structured in the following way:
ExprStringLiteral - "foo" "bar"
|- StringLiteral - "foo"
|- StringLiteral - "bar"

ExprBytesLiteral - b"foo" b"bar"
|- BytesLiteral - b"foo"
|- BytesLiteral - b"bar"

ExprFString - "foo" f"bar {x}"
|- FStringPart::Literal - "foo"
|- FStringPart::FString - f"bar {x}"
  |- StringLiteral - "bar "
  |- FormattedValue - "x"

[^1]: Internal document: https://www.notion.so/astral-sh/Implicit-String-Concatenation-e036345dc48943f89e416c087bf6f6d9?pvs=4
Visitor
The way the nodes are structured is that the entire string, including all the parts that are implicitly concatenation, is a single node containing individual nodes for the parts. The previous section has a representation of that tree for all the string nodes. This means that new visitor methods are added to visit the individual parts of string, bytes, and f-strings for Visitor, PreorderVisitor, and Transformer.
Test Plan

cargo insta test --workspace --all-features --unreferenced reject
Verify that the ecosystem results are unchanged

Current dependencies on/for this PR:

main

PR #7927   👈

This comment was auto-generated by Graphite.

The ecosystem checks are only for F541 where earlier we wouldn't highlight the individual f-string part if there's a placeholder in any other part. This means the following wouldn't be highlighted:
(
    f"this is a f-string without any placeholders"
    f"while this contains a {placeholder}"
)

But now, we would highlight it:
$ cargo run --bin ruff -- check --no-cache --isolated --select=F541 ~/playground/ruff/src/play.py --show-source --ecosystem-ci
/Users/dhruv/playground/ruff/src/play.py:2:5: F541 [*] f-string without any placeholders
  |
1 | (
2 |     f"this is a f-string without any placeholders"
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ F541
3 |     f"while this contains a {placeholder}"
4 | )
  |
  = help: Remove extraneous `f` prefix

ℹ Safe fix
1 1 | (
2   |-    f"this is a f-string without any placeholders"
  2 |+    "this is a f-string without any placeholders"
3 3 |     f"while this contains a {placeholder}"
4 4 | )

Found 1 error.
[*] 1 fixable with the `--fix` option.

@dhruvmanila What would you say is the best way to review this? I first looked at doing this commit-by-commit, but the individual commits themselves are quite large. One thing that could help is if the commits were split in a way where one commit might have a change to a data structure (like a new AST node or something), and then a commit separate from that updated the rest of the code to be in sync with that change. The split makes it easier to scrutinize the "substance" of the change (the data structure) separately from the less interesting refactor bits that can easily drown out the substance. Splitting them this way will mean that your commits won't build individually, but we can squash them on merge.
I don't know how much effort it would be to split this up at this point though. It might not be worth it. It might also just be harder for me because I'm less familiar with the code.

One thing that could help is if the commits were split in a way where one commit might have a change to a data structure (like a new AST node or something), and then a commit separate from that updated the rest of the code to be in sync with that change.

I think it can be done, let me spend some time on it.
(Rebased on main, will be re-arranging the commits now.)

@BurntSushi I've re-arranged the commits, let me know if it helps. I'm happy to provide any further information as required.
The commit flow is as follows:

Update the AST nodes
Update the parser

Update snapshots for parser tests

Update visitor implementation and related code
Update the code generator
Update the linter
Update the formatter


composer error: while executing the script "mikey179/vfsStream": "1.1.*"

composer error: while executing the script
"mikey179/vfsStream": "1.1.*"

fixed


Test cases with overlapping names are run accidentally

Say I have three test cases,
it('renders'),
it('renders errors')
it('sometimes renders')
If I want to run the first test, the plugin produces the command line parameter -t renders, which runs all three tests.
This is because the argument to -t is a regular expression that is matched against the full test name (which is obtained from concatenating all describes and the test name, separated by spaces).

@ThomasR  @firsttris would using exact match regex pattern be an acceptable soluction? The output would be something like ... -t "^renders$".

You need to combine all describe blocks and escape special characters.
For example:
describe('.save()', () => {
  it('saves stuff' /*…*/)
});

should result in "^\\.save\\(\\) saves stuff$"

@ThomasR I see. I will update the PR.

why would it not be sufficient if it would result in
^saves stuff$
?

@firsttris

Note: The regex is matched against the full name, which is a combination of the test name and all its surrounding describe blocks.
https://jestjs.io/docs/en/cli#testnamepattern-regex

so the test name in this case is ".save() saves stuff", and thus ^saves stuff$ does not match.

Any estimation on this fix? :)

hey @PizzaPartyInc we are still looking for a volunteer who takes care of this :)
will take a look at this once i find time between my work for enterprise cyber consortiums.
regards
tristan

hey,
implemented it like @ThomasR pointed out. check version 0.4.3.
some implementation details:
if you select a test within a describe it will do a exact match with fullpath "^\\.save\\(\\) saves stuff$"
but if you just click on a describe it will not do a exact match. (since you probably want to execute all tests within the describe)
if there is no describe but just test or it in the file it will use exact match but not fullpath. (since there is none)

and all special characters will be escaped of course.


Webhook resource validation removal

Description
Changes proposed in this pull request:

Remove validation from webhook
Fix situation when function is fixed after getting an error
Fix makefile to work without root priviledges

Related issue(s)
https://github.com/kyma-project/serverless/issues/249

/test all


Map both 8125 and 8126 ports

With Fargate monitoring we want to send traces as well, we can't if the port is not mapped.

Hey!
1- I've not removed anything, just the condition that only exposes port 8125 for FARGATE
2- Removed the condition because it will be specifying the same 2 ports for the 2 conditions.
If you check at the agent images, it should expose both ports!

8125 UDP for statsd metrics
8126 TCP for traces

BEFORE:
portMappings = var.ecs_launch_type == "FARGATE" ? [
      {
        protocol      = "udp",
        containerPort = 8125
      }
      ] : [
      {
        protocol      = "tcp",
        containerPort = 8126
      },
      {
        protocol      = "udp",
        containerPort = 8125
      }
    ]

AFTER:
portMappings = [
{
protocol      = "tcp",
containerPort = 8126
},
{
protocol      = "udp",
containerPort = 8125
}
]

@AutomationD Any chance you can take a look at this?

Sorry for the delay.  My computer us in repair for some time now. I will do
it as soon as I’ll get it back!
On Thu, 5. Jan 2023 at 9:12 AM, Sergio Toro @.***>
wrote:

@AutomationD https://github.com/AutomationD Any chance you can take a
look at this?
—
Reply to this email directly, view it on GitHub
https://github.com/hazelops/terraform-aws-ecs-datadog-agent/pull/9#issuecomment-1371958750,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANVFAUME75SRTXVH3WZJX3WQ2F7BANCNFSM6AAAAAATFREESU
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
*Dmitry Kireev *| Founder
HazelOps
SRE and DevOps Consulting
https://hazelops.com

Hello, would you be able to take a look at this at some point?

@sergio-toro Thanks for the PR, so sorry it took so long.

No worries, thank you for merging it may help other folks with Datadog 👍🏽


simple_upload_server

@seanpearsonuk @hpohekar  Is the line below working as intended?
https://github.com/ansys/pyfluent/blob/1842fee8a79c3db5db05dd235c869c0c8f22f96d/src/ansys/fluent/core/session.py#L297
As far as I can tell simple_upload_server does not exist, is it just for testing?

@hpohekar might know more https://github.com/ansys/pyfluent/blob/1842fee8a79c3db5db05dd235c869c0c8f22f96d/src/ansys/fluent/core/session.py#L297

@seanpearsonuk @raph-luc
We have simple_upload_server_client-0.0.1-py3-none-any.whl file in Ansys Lab environment. We install it there then only line 297 works and it is only intended to use in Ansys Lab.


Make dependabot check for updates to python package dependencies.

Let's see how this goes.

Do we want to add this to all extensions?

Yes that was my intention.


Problem: setting overlap doesn't have any effect

Hi, thanks for making this library. I'm having trouble configuring the tasks to not overlap and I'm not sure if I'm doing something wrong with the configuration or if it's a bug.
This is the configuration I used:
config :quantum,
  default_overlap: false,
  cron: [
    snapshot_cleanup: [
      overlap: false,
      task: "EvercamMedia.Snapshot.Cleanup.init",
      schedule: "* * * * *",
    ]
  ]

Checking from iex everything seems to be configured correctly:
iex(1)> Application.get_env(:quantum, :cron)
[snapshot_cleanup: [overlap: false, task: "EvercamMedia.Snapshot.Cleanup.init",
  schedule: "* * * * *"]]

iex(2)> Application.get_env(:quantum, :default_overlap)
false

But the task is still set to overlap: true:
iex(3)> Quantum.jobs
[snapshot_cleanup: %Quantum.Job{args: [], name: :snapshot_cleanup,
  nodes: [:nonode@nohost], overlap: true, pid: #PID<0.1041.0>,
  schedule: "* * * * *", state: :active,
  task: {"EvercamMedia.Snapshot.Cleanup", "init"}}]

I'm running the latest version of the master branch. Any suggestions?

Thanks for reporting! It is a bug. A pull request addressing this issue has been submitted. As soon as it is merged, I will release a new version and publish to hex.pm. Meanwhile, you could try the issue-71 branch if it solves the problem.

I just tried that branch and it works! Thanks for the quick turnaround.

Thanks for confirmation. Now waiting for the merge. In meantime, feel free to star this project if you do not already. That would be very appreciated :smile:

No problem. Thanks for the reminder, I try to star all projects I'm using.


chore: Add code to handle truncate instruction

Description

Problem*

Resolves
Summary*

This PR sets out to
Example

Before:

After:

Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Currently the SSA IR does not spit out truncate instructions, so acir gen will call the underlying truncate_var method when truncation is needed. For the moment, it will call it excessively instead, we could add the analysis in AcirContext, but this is not needed right now

LGTM

For the moment, it will call it excessively instead,

It doesn't look like it is being called at all currently


The leaderboard is missing in https://paperswithcode.com/sota/speech-recognition-on-openslr-mr

We found the leaderboard is removed by the officials; thus, we decide to close this issue for now.


Revert "WFLY-12460 Upgrade jboss-transaction-api_1.2_spec to jboss-transactio…"

Reverts wildfly/wildfly#12562

Dependency Tree Analyzer Output:
New Dependencies:

org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:2.0.0.CR1:compile

Removed Dependencies:

org.jboss.spec.javax.transaction:jboss-transaction-api_1.3_spec:jar:2.0.0.CR1:compile

CC @wildfly/prod

Superceded by #12585


Traceability Matrix Skeleton - Abin

Description
Need to standardize the QA Test package - combination of files by count, patterns - duplicates, nested files etc. New release, test recently resolved bugs. NFRS as well.
Afterwards, team will review and proceed with next steps.
Dependencies
Are there any dependencies?
DOD

[ ] List the items that need to be complete for this ticket to be considered done
[ ]
[ ]
[ ]
[ ]

https://teams.microsoft.com/l/entity/1c256a65-83a6-4b5c-9ccf-78f8afb6f1e8/_djb2_msteams_prefix_1431221015?context={"subEntityId"%3Anull%2C"channelId"%3A"19%3Ac9663ef9f89e47cda83d33834f811062%40thread.tacv2"}&groupId=b287cae4-97c4-48f4-a76a-84cf0dbb84be&tenantId=6fdb5200-3d0d-4a8a-b036-d3685e359adc&allowXTenantAccess=false


Table should provide a getColumn method to read out the selected data

table.selection.map(selidx => table.namespace["Counties"].data[selidx]);

LMK if this doesn't work for you.


Test pure sasl with hive python 3.9

SUMMARY

Superset PyHive tests are failing in PY 3.11, due to incompatibility issues with sasl lib. This PR is to check the the fix I raised for PyHive at
https://github.com/dropbox/PyHive/pull/454
Note: This PR is just for testing purpose and will be closed once PyHive PR is merged.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@john-bodley sorry for inconvenience. Added the summary.


Typewriter sound request

Hello, I love the sound of “coding”, but I would also like to hear typewriters, it would make me very happy!
Thank you in advance.

I'll take a look, thanks for the feedback!

typewriter sound now available in the catalogue 🙂


Add waveshare_epd feature, and example of rust running on ESP32 with …

…Waveshare board and 4.2" e-paper screen
Signed-off-by: simon <Simon Tropée>

The PR has formatting issues, and you've forgotten this, but I'll still merge and fix these myself - thanks!


Android-Kotlin : 09.16 Chips in Android (Kotlin)

Description 📜
09.16 Chips in Android (Kotlin) Fixes Issue[#1446 ]

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Android Dev (Kotlin)

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@rahulsain sir verify the chips file

@rahulsain sir verify it


Iox #1196 fix warnings in signal handler&guard

Pre-Review Checklist for the PR Author

[x] Code follows the coding style of CONTRIBUTING.md
[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-#123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit messages are signed (git commit -s)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[x] All checks have passed (except task-list-completed)
[x] Assign PR to reviewer

Notes for Reviewer

Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior

[ ] Each unit test case has a unique UUID

[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Closes TBD

@elfenpiff There are still some build errors happening on the CI. Could you please link the issue number under References?


The new addon can not shown in the Addons page

Describe the bug
The new addon can not be shown on the Addons page, this is a cache bug.
pkg/addon/cache.go#L89
To Reproduce

create a new addon in the addon registry.
View the addon page.

KubeVela Version
1.3.2

https://github.com/kubevela/kubevela/blob/99bb76a3fd2cf5467aa900e8ff4aa21e8d004440/pkg/addon/cache.go#L68
It seems that need wait 10 minutes for update

Do we need to set sync interval smaller?

for the new helm type addon registry, the sync duration could be in less than 10s.
for the old type, please keep 10min.

Investigation:
It is caused by https://github.com/kubevela/kubevela/blob/7bfcd6acc52192d8cdb9ffa075b1b1d4e90b0d00/pkg/addon/cache.go#L89
It does not retrieve cached data from versionedRegistry cache

for the new helm type addon registry, the sync duration could be in less than 10s.
for the old type, please keep 10min.

I think 10min is ok for production scenario.
Only dev scenario needs less duration, because you are both platform admin, who push addon , and platform user, who use the addon.


Error running jaeger-query

When I run jaeger-query using command:
docker run -it --rm -p 16686:16686 -e SPAN_STORAGE_TYPE='elasticsearch' jaegertracing/jaeger-query /go/bin/query-linux --es.server-urls 'http://localhost:9200'
I always got following error:
open jaeger-ui-build/build/index.html: no such file
Should I provide additional flags?

Yes, the current image places the static assets at /go/jaeger-ui/, so, you need to pass something like --query.static-files=/go/jaeger-ui/:
$ docker run -it --rm -p 16686:16686 -e SPAN_STORAGE_TYPE='elasticsearch' jaegertracing/jaeger-query /go/bin/query-linux  --query.static-files=/go/jaeger-ui/ --es.server-urls 'http://localhost:9200'

Thank you. This solved my problem.


[muleruntime] Update latest releases

See corresponding changelogs.

changelogTemplate does not work with the new links -> lot of 404 errors

fixed


Update appveyor.yml

:x: Build locaweb-servidores-sdk-dotnet 1.0.198 failed (commit https://github.com/guibranco/locaweb-servidores-sdk-dotnet/commit/1a8dc796f2 by @guibranco)

:white_check_mark: Build locaweb-servidores-sdk-dotnet 1.0.200 completed (commit https://github.com/guibranco/locaweb-servidores-sdk-dotnet/commit/a03cd766bc by @guibranco)


Enable nightly testing in JDK16

What are you trying to do? Run nightly builds with testing enabled
Expected behaviour: We run tests as far as possible (excluding the functional ones which are apparently blocked for HotSpot/JDK16 due to a "sealed" issue
Observed behaviour: Only weekly tests are enabled, so the nightlies are not being run
Any other comments: This came out of a discussion while fixing the break resolved by https://github.com/AdoptOpenJDK/openjdk-build/pull/2336

jdk16 sanity.functional compile issue: https://github.com/AdoptOpenJDK/openjdk-tests/issues/2136


Text order is incorrect

We have the following sentence:
"The following table shows you the properties that are provided in the variable:"
Which should be followed by the table but it is followed by section "Stopping a deployment". The table is after that section. I think those should be switched so the table is right after when it is mentioned.

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

ID: 443146ec-fc40-657f-69fc-55c3b8ce3c8f
Version Independent ID: 8c340541-5b88-b8a3-c547-791189d32c6b
Content: Configure pre and post scripts on your Update Management deployment in Azure
Content Source: articles/automation/pre-post-scripts.md
Service: automation
Sub-service: update-management
GitHub Login: @bobbytreed
Microsoft Alias: robreed

@slavizh Thanks for the comment. We are actively investigating on the issue and will get back to you shortly with an update.

@slavizh Verified and updated the document as required. Thanks.


[BUG] AD integration broken after switch to Graph API

Rancher Server Setup

Rancher version: 2.6.9
Installation option (Docker install/Helm Chart): Helm

Information about the Cluster

Kubernetes version: 1.22.9
User Information
What is the role of the user logged in? Admin

Describe the bug
After switching to Azure AD integration with Graph API users receive the below  error while login in
AADSTS9000411: The request is not properly formatted. The parameter 'response_type' is duplicated.
To Reproduce
Setup Authentication to Azure AD with GraphAPI endpoints.
Result
Expected Result
AD users logging in correctly
Screenshots

Additional context
The problem seems to be that the generated authorize URL contains response_type=code parameter twice. If I remove one of the response_type=code from the URL,  I can login into Rancher correctly with my AD user

Hi! I've have the same error but I've found a pattern.

If you try to login using https://rancher/login, you'll get the error
If you try to login using https://rancher, which will redirect to https://rancher/dashboard/auth/login then you can login with no issues

This seems to be an inconsistency in the UI, where the 2 login endpoints use different parameters while login


OnSelect without parameters

GestureManager:
Calling OnSelect of the UnityEngine.UI.Button class without parameters will cause an error

@MrMatthias repo steps?

@MrMatthias If you return with more info (repo, text of the error, test scene) I'll reopen this.


Closed Connection Error

Hi,
I am on a project using .NET Core 3.1LTS. We are using context.Database.BeginTransaction() to create a transaction. We are also using EFCore.BulkExtensions and are using TempDB for the inserts.
The issue we have is that while the code is in the transaction scope, it looks like EF has closed the connection. If we query context.Database.GetDbConnection().State , it seems the state has already closed (even through the transaction has not been commited or disposed).
Has anyone found this issue and/or a workaround? I know maybe hard to understand my question with no code, as I cannot put the code into the public domain without violation of my contract obligations and occurring penalties.
Just wondering if anyone else has come across this issue before.
NOTE: This question has been raised within the EF repository, but am also posting here incase someone else has had this exact issue and resolved it.

Hi,
Tha ls for your feedback.
Yes, that's how I know the connection is closed.
I have created an internal version that modifies the config for an
autoclose property and modified the sql adapter to not close the connection
if true , but it seems ef is still closing the connection for some reason.
On Thu, 14 Oct 2021, 5:17 pm Boris Djurdjevic, @.***>
wrote:

You can download the v3 source of library from:
https://github.com/borisdj/EFCore.BulkExtensions/tree/EFCore3.1
There in test EFCoreBulkTest for SqlServer, method RunInsert is
using transaction scope while Bulk config is set with UseTempDB.
And if added line var st = context.Database.GetDbConnection().State; in
debug mode it has value: Open.
You can try make the issue reproducible by altering this test in a way
similar how you are using it without any details of your specific entities,
just invent some to make an example.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/borisdj/EFCore.BulkExtensions/issues/643#issuecomment-943101160,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUJ2HPTZTG2BWLN4IDFB73UG2DJ3ANCNFSM5F6UGFBA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


[DCOS_OSS-2372][1.10] Use pip download to prepare TeamCity rather than the removed `pip i…

…nstall --download`
High-level description
This fixes a build error with teamcity/dcos/build/dcos.
This is a backport of https://github.com/dcos/dcos/pull/2747.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS_OSS-2372 DC/OS builds - no such option: --download (pip 10)

Checklist for all PRs

[X] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change: This is just a build step change
[X] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: The build is already failing
[X] Read the DC/OS contributing guidelines

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot merge-it


Customise citation links

I would like to choose to link my bibliography entries to local (pdf) files instead of only the citation information at the end of the file. This would be incredibly useful when taking notes locally to quickly access the corresponding pdf files.
I tried implementing a filter to this end, but the citation information including the "#ref-bibtexkey" that I'd like to modify had different coordinates for different bibliography entries.

A pandoc filter is an AST -> AST transformation.  Here's the kind of AST you get from pandoc + pandoc-citeproc:
Pandoc (Meta ...)
[Para [Cite [Citation {citationId = "item1", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 0, citationHash = 1}] [Str "Doe",Space,Str "(2005)"]]
,Div ("refs",["references"],[])
 [Div ("ref-item1",[],[])
  [Para [Str "Doe,",Space,Str "John.",Space,Str "2005.",Space,Emph [Str "First",Space,Str "Book"],Str ".",Space,Str "Cambridge:",Space,Str "Cambridge",Space,Str "University",Space,Str "Press."]]]]

Each bibliographic entry is in a Div with id ref-XXX, where XXX is the citation key.
So your filter should pattern-match on
Div (ident,[],[]) [Para ils] | "ref-" `isPrefixOf` ident

and then replace Para ils with
Para [Link ("",[],[]) ils ("mypdfs/" ++ drop 4 ident ++ ".pdf", "")

This will link each bibliography entry to mypdfs/CITATIONID.pdf.


dont use bucket name as secret

there is the job https://github.com/chainguard-images/images/blob/main/.github/workflows/presubmit-readme.yaml that runs on PRs and inject the secret, but that will not run on Forked PRs caused the job to fail because the secret will not be injected.
we have the bucket name public and there is not needed to have that in a secret.
We can delete the secret after this PR is merged
Slack 🧵 : https://chainguard-dev.slack.com/archives/C0322APD4LU/p1670235759571799

will merge and cleanup the secret that will not be used anymore


Handle Input refs

Hi!
I've already find out how to handle it by reading your src code, so my issue is more like an advise than an issue itself.
Pls write somewhere that you're handling the refs with baseRef - as a styled-components user, I was trying to pass the innerRef prop.
Thanks!

Yeah I should update documentation about that specific point. Thanks!

@pt-br it is fixed in v5, you can now use innerRef.


fixed-chinese-encoding

When I use Chinese, I find that the log printed by the console is garbled，like this :
26-May-2020 09:42:32.374 严重 [main] org.apache.catalina.startup.Catalina.initDirs å¨[catalina-home1/temp]æ¾ä¸å°æå®çä¸´æ¶æä»¶å¤¹
26-May-2020 09:42:33.259 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.æå¡å¨çæ¬: Apache Tomcat/@VERSION@
26-May-2020 09:42:33.259 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log æå¡å¨æå»º:        @VERSION_BUILT@
26-May-2020 09:42:33.259 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log æå¡å¨çæ¬å·(:     @VERSION_NUMBER@
26-May-2020 09:42:33.260 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log æä½ç³»ç»åç§°:      Mac OS X
So I changed the encoding so that there is no problem.

Can you please provide details to help reproducing the garbled console ? Required but not limited to OS version, JVM version, environment varibles and the steps to reproduce.

ok , all info in this .
tomcat version : 8.5.55
java version : 1.8.0_181-b13
os version : Mac OS X 10.15.4
and i  debug this problem this morning .
I found the final cause of this problem is because of the PropertyResourceBundle class .
My test code is as follows :
`
public class Test {
public static void main(String[] args) throws IOException {
//1. inputstream
InputStream inputStream = Test.class.getResourceAsStream("/test.properties");
PropertyResourceBundle prb1 = new PropertyResourceBundle(inputStream);
String title1 = prb1.getString("title");
System.out.println(title1);
    //2. reader
    InputStreamReader reader = new InputStreamReader(Test.class.getResourceAsStream("/test.properties"),"UTF-8");
    PropertyResourceBundle prb2 = new PropertyResourceBundle(reader);
    String title2 = prb2.getString("title");
    System.out.println(title2);
}

}
the test.properties contens is : title=测试`
When you initialize him, the input is an InputStream , then Properties will load this stream，The garbled problem arises here .
public PropertyResourceBundle (InputStream stream) throws IOException {         Properties properties = new Properties();         properties.load(stream);         lookup = new HashMap(properties);     }
So I think you should replace the above with the following initialization method.
 public PropertyResourceBundle (Reader reader) throws IOException {         Properties properties = new Properties();         properties.load(reader);         lookup = new HashMap(properties);     }
when you use this reader , you can set the charset to utf-8

@xiaofanTo
Refer to the javadoc of java.util.Properties,  https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html,

The load(Reader) / store(Writer, String) methods load and store properties from and to a character based stream in a simple line-oriented format specified below. The load(InputStream) / store(OutputStream, String) methods work the same way as the load(Reader)/store(Writer, String) pair, except the input/output stream is encoded in ISO 8859-1 character encoding. Characters that cannot be directly represented in this encoding can be written using Unicode escapes as defined in section 3.3 of The Java™ Language Specification; only a single 'u' character is allowed in an escape sequence. The native2ascii tool can be used to convert property files to and from other character encodings.

What you experienced is expected behavior :)

I'm guessing you are running Tomcat directly from source in an IDE. As @gmshake pointed out, you'll need to convert the property files to ASCII to do that (the Tomcat build process does this). There are various other approaches you can use depending on exactly what you are trying to achieve. The users mailing list is the place to seek help with this.
http://tomcat.apache.org/


Apply connection retry refactor, add defaults with exponential backoff

Description
Applies connection retry refactor, add defaults with exponential backoff as per an item from #127.

Refactors retry logic to use retry_connection from core.
Adds consistent defaults with other adpaters:

if connect_retries and connect_timeout are not specified: 1 retry after 1s
if connect_retries is specified but connect_timeout is not, it will use exponential backoff

Thanks a lot! Our team is eagerly waiting for this feature!

Thanks! merging.


[Text] Add Drop Shadow Style to Text Component

Adds four new styles to the Text component: textShadowOpacity, textShadowColor, textShadowOffset and textShadowRadius. They are nearly identical to the correspondingly named view shadow properties.

LGTM. I'm wondering if we should drop the textShadowOpacity/shadowOpacity prop since the shadowColor should take an rgba value anyway. @vjeux do you agree with that or know why shadow opacity and color were separate props?

I think there should be separate opacity and color styles for text shadows, just as there are separate shadowColor and shadowOpacity styles for views. For one, it makes it easy for the user (and the software) to toggle the shadows on and off completely.

I'm proposing to consolidate the props for Views too. You could just as easily specify shadowColor: 'transparent' to quickly toggle the shadows.

Would be nice to follow the CSS-spec naming convention in case of conflicts.
https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow
https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow
In this case, yeah, I agree that having an rgba color would be great

@vjeux for the shadow properties, CSS only has the shorthand forms where you have to specify offset, radius, and color in one string together but I don't think we want that. I do think it would be good to support multiple shadows so maybe the syntax we want looks like this:
textShadow: { offset, radius, color }
// and also
textShadow: [
  { offset1, radius1, color1 },
  { offset2, radius2, color2 }
]

sounds good with me :)

@greghe how does the proposal in my comment above sound? Initially we can support just one shadow instead of several ones, but I would like to start with the API we want so that we don't have to deprecate an old one or support several ways to do the same thing.

Sure, that sounds fine.

Some form of this would be very useful, text shadows are used heavily in native apps.

@greghe can you update this PR to implement the textShadow: { offset, radius, color } API? Feel free to ping me if the API is unclear.

How is this going to work on Android? Can it have the same API?

@greghe Any updates on this?

Closing in favour of #4975 which also add Android support.


netopeer2-server occurs bus error with ubuntu:18.04

Hello,
netopeer2-server v1.1.39  is executed with ubuntu:18.04 in a docker container.
netopeer2-server v1.1.39  is configured with all the set of O-RAN v1 modules
This container is managed by a Docker Server running on CentOS.
We are using v1.1.39 from a while, but recently we face more and more "bus error" issues without being able to understand why now and not before ?
Issue seems to be very close to https://github.com/CESNET/netopeer2/issues/697
Do not know if it can help, but notice that this issue #697  is also using O-RAN modules....like us.
Stack of the core generated by Netopeer2 is the following :
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `netopeer2-server -d -v 2'.
Program terminated with signal SIGBUS, Bus error.
#0  __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:371
371     ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory.
[Current thread is 1 (Thread 0x7f08e9b80700 (LWP 99))]
(gdb) bt
#0  __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:371
#1  0x00007f08eedb7fa6 in sr_shmsub_rpc_notify (conn=0x56290ba89340, op_path=0x7f08dc0024f0 "/notifications:create-subscription", input=0x7f08dc007b00, sid=..., timeout_ms=6000, request_id=0x7f08e9b7fb7c, output=0x7f08e9b7fc20, cb_err_info=0x7f08e9b7fb88) at /opt/dev/sysrepo/src/shm_sub.c:1532
#2  0x00007f08eed82f7f in sr_rpc_send_tree (session=0x7f08d4019450, input=0x7f08dc007b00, timeout_ms=6000, output=0x7f08e9b7fc20) at /opt/dev/sysrepo/src/sysrepo.c:4237
#3  0x0000562909e938c8 in np2srv_rpc_cb (rpc=0x7f08dc007b00, ncs=0x7f08d4003cd0) at /opt/dev/Netopeer2/src/main.c:430
#4  0x00007f08ef0040a4 in nc_server_send_reply_io (session=0x7f08d4003cd0, io_timeout=10, rpc=0x7f08dc000b20) at /opt/dev/libnetconf2/src/session_server.c:1301
#5  0x00007f08ef004e32 in nc_ps_poll (ps=0x56290baaf490, timeout=10, session=0x7f08e9b7fe90) at /opt/dev/libnetconf2/src/session_server.c:1656
#6  0x0000562909e95d4d in worker_thread (arg=0x56290bc1dfa0) at /opt/dev/Netopeer2/src/main.c:970
#7  0x00007f08ef7a26db in start_thread (arg=0x7f08e9b80700) at pthread_create.c:463
#8  0x00007f08eeaa2a3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
From Testers pov, this issue already append when the NETCONF Server received create-subscription from NETCONF Client.
Regards.
Christian.

So this is the line that causes the problem but I really do not know why. I am not aware of any memcpy(3) limitations that could cause this. But in any case, in all likelihood this particular code will not be present in the next release as I am currently working on rewriting this so that should solve it.

So this is the line that causes the problem but I really do not know why. I am not aware of any memcpy(3) limitations that could cause this. But in any case, in all likelihood this particular code will not be present in the next release as I am currently working on rewriting this so that should solve it.

Good news ! Thanks for you support.

Good news ! Thanks for you support.


Cannot load weights from h5 file

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
No
Source
binary
Tensorflow Version
2.12.0
Custom Code
Yes
OS Platform and Distribution
Windows 10 22H2
Mobile device
No response
Python version
3.10.11
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Hello,
Thank you for all your hard work on tensorflow I was hoping you could help me with this issue I've been facing.
I'm having an issue getting the h5py package to import properly when I have gdal and tensorflow installed in the same conda environment.
I have the latest version of  gdal  3.6.4 and tensorflow 2.12.0 installed in an anaconda environment and when I attempt to load model weights from an .h5 file it fails claiming that h5py is not installed in the environment. The thing is h5py is installed in the environment ( I have the outputs of conda list below), but both gdal and tensorflow both use it. I believe the issue is from a recent update to gdal which places a lock on the hdf5 library at build time and I was wondering if I could modify how tensorflow imports h5py to get around this problem?
Thank you for any help you can provide.
Anaconda Environment to reproduce the issue
conda create -n test_env python=3.10
conda activate test_env
conda install -c conda-forge gdal==3.6.4
pip install tensorflow==2.12.0
python test_script.py

Outputs of conda list
# Name                    Version                   Build  Channel
absl-py                   1.4.0                    pypi_0    pypi
astunparse                1.6.3                    pypi_0    pypi
blosc                     1.21.3               h6c2663c_0
boost-cpp                 1.74.0               h5b4e17d_6    conda-forge
bzip2                     1.0.8                he774522_0
ca-certificates           2022.12.7            h5b45459_0    conda-forge
cachetools                5.3.0                    pypi_0    pypi
cairo                     1.16.0            h63a05c6_1001    conda-forge
certifi                   2022.12.7                pypi_0    pypi
cfitsio                   3.470                h2bbff1b_7
charset-normalizer        3.1.0                    pypi_0    pypi
curl                      7.88.1               h2bbff1b_0
expat                     2.5.0                h63175ca_1    conda-forge
flatbuffers               23.3.3                   pypi_0    pypi
fontconfig                2.14.1               h9c4af85_2
freetype                  2.10.4               h546665d_1    conda-forge
freexl                    1.0.6                ha8e266a_0    conda-forge
gast                      0.4.0                    pypi_0    pypi
gdal                      3.6.2           py310h1c2bfe4_1
geos                      3.8.0                h33f27b4_0
geotiff                   1.7.0                h4545760_1
glib                      2.69.1               h5dc1a3c_2
google-auth               2.17.3                   pypi_0    pypi
google-auth-oauthlib      1.0.0                    pypi_0    pypi
google-pasta              0.2.0                    pypi_0    pypi
grpcio                    1.54.0                   pypi_0    pypi
h5py                      3.8.0                    pypi_0    pypi
hdf4                      4.2.13               h712560f_2
hdf5                      1.10.6          nompi_h5268f04_1114    conda-forge
icu                       58.2                 ha925a31_3
idna                      3.4                      pypi_0    pypi
intel-openmp              2023.1.0         h57928b3_46319    conda-forge
jax                       0.4.8                    pypi_0    pypi
jpeg                      9e                   h8ffe710_2    conda-forge
kealib                    1.5.0                hde4a422_0
keras                     2.12.0                   pypi_0    pypi
krb5                      1.19.3               h1176d77_0    conda-forge
lcms2                     2.12                 h83e58a3_0
lerc                      3.0                  hd77b12b_0
libblas                   3.9.0                     8_mkl    conda-forge
libcblas                  3.9.0                     8_mkl    conda-forge
libclang                  16.0.0                   pypi_0    pypi
libcurl                   7.88.1               h86230a5_0
libdeflate                1.17                 h2bbff1b_0
libexpat                  2.5.0                h63175ca_1    conda-forge
libffi                    3.4.2                hd77b12b_6
libgdal                   3.6.2                h11d7215_1
libiconv                  1.17                 h8ffe710_0    conda-forge
libkml                    1.3.0             h9859afa_1014    conda-forge
liblapack                 3.9.0                     8_mkl    conda-forge
libnetcdf                 4.8.1                h6685c40_2
libpng                    1.6.39               h8cc25b3_0
libpq                     12.9                 hb652d5d_3
libspatialite             4.3.0a              h6ec8781_23
libssh2                   1.10.0               h680486a_2    conda-forge
libtiff                   4.5.0                h6c2663c_2
libwebp-base              1.2.4                h2bbff1b_1
libxml2                   2.10.3               h0ad7f3c_0
libzip                    1.8.0                h49b8836_0
lz4-c                     1.9.4                h2bbff1b_0
markdown                  3.4.3                    pypi_0    pypi
markupsafe                2.1.2                    pypi_0    pypi
mkl                       2020.4             hb70f87d_311    conda-forge
ml-dtypes                 0.1.0                    pypi_0    pypi
numpy                     1.22.3          py310hed7ac4c_2    conda-forge
oauthlib                  3.2.2                    pypi_0    pypi
openjpeg                  2.4.0                h4fc8c34_0
openssl                   1.1.1t               h2bbff1b_0
opt-einsum                3.3.0                    pypi_0    pypi
packaging                 23.1                     pypi_0    pypi
pcre                      8.45                 h0e60522_0    conda-forge
pcre2                     10.37                h0ff8eda_1
pip                       23.0.1          py310haa95532_0
pixman                    0.38.0            hfa6e2cd_1003    conda-forge
poppler                   22.12.0              h268424c_0
poppler-data              0.4.12               hd8ed1ab_0    conda-forge
postgresql                12.9                 hb652d5d_3
proj                      6.2.1                h3758d61_0
protobuf                  4.22.3                   pypi_0    pypi
pyasn1                    0.5.0                    pypi_0    pypi
pyasn1-modules            0.3.0                    pypi_0    pypi
python                    3.10.11              h966fe2a_2
python_abi                3.10                    2_cp310    conda-forge
qhull                     2020.2               h70d2c02_2    conda-forge
requests                  2.29.0                   pypi_0    pypi
requests-oauthlib         1.3.1                    pypi_0    pypi
rsa                       4.9                      pypi_0    pypi
scipy                     1.10.1                   pypi_0    pypi
setuptools                66.0.0          py310haa95532_0
six                       1.16.0                   pypi_0    pypi
sqlite                    3.41.2               h2bbff1b_0
tensorboard               2.12.2                   pypi_0    pypi
tensorboard-data-server   0.7.0                    pypi_0    pypi
tensorboard-plugin-wit    1.8.1                    pypi_0    pypi
tensorflow                2.12.0                   pypi_0    pypi
tensorflow-estimator      2.12.0                   pypi_0    pypi
tensorflow-intel          2.12.0                   pypi_0    pypi
tensorflow-io-gcs-filesystem 0.31.0                   pypi_0    pypi
termcolor                 2.3.0                    pypi_0    pypi
tiledb                    2.3.3                h3649cd2_2
tk                        8.6.12               h2bbff1b_0
typing-extensions         4.5.0                    pypi_0    pypi
tzdata                    2023c                h04d1e81_0
urllib3                   1.26.15                  pypi_0    pypi
vc                        14.2                 h21ff451_1
vs2015_runtime            14.27.29016          h5e58377_2
werkzeug                  2.3.3                    pypi_0    pypi
wheel                     0.38.4          py310haa95532_0
wrapt                     1.14.1                   pypi_0    pypi
xerces-c                  3.2.4                hd77b12b_0
xz                        5.2.10               h8cc25b3_1
zlib                      1.2.13               h8cc25b3_0
zstd                      1.5.5                hd43e919_0

Standalone code to reproduce the issue
from osgeo import gdal

import tensorflow as tf
from tensorflow.keras import Sequential
from tensorflow.keras.layers import Dense

# Create a simple model
model = Sequential([
    Dense(64, activation='relu', input_shape=(32,)),
    Dense(10)
])

# Compile the model
model.compile(optimizer='adam',
              loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),
              metrics=['accuracy'])

# Print the model summary
model.summary()

# Save the initial weights to a file
model.save_weights('my_model_weights.h5')

# Change the weights of the model
for layer in model.layers:
    weights = layer.get_weights()  # list of numpy arrays
    weights = [weight * 0 for weight in weights]
    layer.set_weights(weights)

# Check that weights have been changed
print('Weights after resetting:')
print(model.layers[0].get_weights())

# Load the initial weights from the file
model.load_weights('my_model_weights.h5')

# Check that weights have been loaded
print('Weights after loading from file:')
print(model.layers[0].get_weights())

Relevant log output
(test_env) > python sample_model.py
Model: "sequential"
_________________________________________________________________
 Layer (type)                Output Shape              Param #
=================================================================
 dense (Dense)               (None, 64)                2112

 dense_1 (Dense)             (None, 10)                650

=================================================================
Total params: 2,762
Trainable params: 2,762
Non-trainable params: 0
_________________________________________________________________
Traceback (most recent call last):
  File "C:\1_USGS\1_CoastSeg\1_official_CoastSeg_repo\CoastSeg\src\coastseg\sample_model.py", line 22, in <module>
    model.save_weights('my_model_weights.h5')
  File "C:\Users\Sharon\anaconda3\envs\test_env\lib\site-packages\keras\utils\traceback_utils.py", line 70, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "C:\Users\Sharon\anaconda3\envs\test_env\lib\site-packages\keras\saving\legacy\save.py", line 351, in save_weights
    raise ImportError(
ImportError: `save_weights` requires h5py when saving in hdf5, but h5py is not available. Try installing h5py package.

Hi @2320sharon, We were able to replicate the issue in Windows10 using Tensorflow 2.12 and gdal 3.6.4. Please find the screenshot below

It seems like we have to dig deep into the issue. We'll update here soon. Thank you!

@2320sharon,
Apologies for the delay.
This issue has been resolved in the latest tf-nightly version (2.14.0-dev20230509). Kindly find the screenshot of the output below

Thank you!

Hi @synandi thank you for working on this issue.
Unfortunately, when I ran test_script.py with tf-nightly it did not resolve the issue.
Commands I Ran
conda create -n test_new_env python=3.10 -y
conda activate test_new_env
conda install -c conda-forge gdal==3.6.4
pip install  tf-nightly==2.14.0-dev20230509
python test_script.py

Output
(test_new_env) C:\1_USGS\1_CoastSeg\1_official_CoastSeg_repo\CoastSeg>python test_script.py
2023-05-10 08:22:26.780726: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE SSE2 SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Model: "sequential"
_________________________________________________________________
 Layer (type)                Output Shape              Param #
=================================================================
 dense (Dense)               (None, 64)                2112

 dense_1 (Dense)             (None, 10)                650

=================================================================
Total params: 2762 (10.79 KB)
Trainable params: 2762 (10.79 KB)
Non-trainable params: 0 (0.00 Byte)
_________________________________________________________________
Traceback (most recent call last):
  File "C:\1_USGS\1_CoastSeg\1_official_CoastSeg_repo\CoastSeg\test_script.py", line 22, in <module>
    model.save_weights('my_model_weights.h5')
  File "C:\Users\Sharon\anaconda3\envs\test_new_env\lib\site-packages\keras\src\utils\traceback_utils.py", line 70, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "C:\Users\Sharon\anaconda3\envs\test_new_env\lib\site-packages\keras\src\saving\legacy\save.py", line 355, in save_weights
    raise ImportError(
ImportError: `save_weights` requires h5py when saving in hdf5, but h5py is not available. Try installing h5py package.

However, I have been able to find a solution that does work. After I ran the commands above and got the error I ran the following commands and it worked.
pip uninstall h5py
conda install -c conda-forge h5py

Hi @2320sharon, We are glad that the issue is resolved.  Please feel free to close the issue. Thank you!

Hi @2320sharon, It is working in tf-nightly(2.14.0-dev20230515). Since it is working in the latest tf-nightly version, it will be fixed in the next stable release.
I ran the following commands.
conda create -n tf python=3.10 -y
conda activate tf
conda install -c conda-forge gdal==3.6.4
pip install  tf-nightly

pip uninstall h5py
conda install -c conda-forge h5py
python test_script.py

Kindly find the screenshot below

Thank you!

It solved my issue when I run this command and restart my computer
pip uninstall h5py
conda install -c conda-forge h5py


Show friendlier error message when AWS credentials aren't configured

repro:
Follow the guide:
curl --location --remote-name "https://github.com/nchammas/flintrock/releases/download/v0.3.0/Flintrock-0.3.0-standalone-OSX-x86_64.zip"
unzip -q -d flintrock "Flintrock-0.3.0-standalone-OSX-x86_64.zip"
cd flintrock/

invoke with
./flintrock/flintrock launch test-cluster \
    --num-slaves 1 \
    --spark-version 1.6.0 \
    --ec2-key-name yuhao-gridx \
    --ec2-identity-file /Users/yuhao/gridx/pems/yuhao-gridx.pem \
    --ec2-ami ami-bff781df \
    --ec2-user ec2-user

then I keep getting the error
File "flintrock/flintrock.py", line 804, in main
  File "venv/lib/python3.5/site-packages/click/core.py", line 716, in __call__
  File "venv/lib/python3.5/site-packages/click/core.py", line 696, in main
  File "venv/lib/python3.5/site-packages/click/core.py", line 1060, in invoke
  File "venv/lib/python3.5/site-packages/click/core.py", line 889, in invoke
  File "venv/lib/python3.5/site-packages/click/core.py", line 534, in invoke
  File "venv/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
  File "flintrock/flintrock.py", line 296, in launch
  File "flintrock/ec2.py", line 30, in wrapper
  File "flintrock/ec2.py", line 392, in launch
  File "flintrock/ec2.py", line 562, in get_cluster
  File "flintrock/ec2.py", line 583, in get_clusters
  File "venv/lib/python3.5/site-packages/boto3/resources/collection.py", line 83, in __iter__
  File "venv/lib/python3.5/site-packages/boto3/resources/collection.py", line 166, in pages
  File "venv/lib/python3.5/site-packages/botocore/paginate.py", line 85, in __iter__
  File "venv/lib/python3.5/site-packages/botocore/paginate.py", line 157, in _make_request
  File "venv/lib/python3.5/site-packages/botocore/client.py", line 310, in _api_call
  File "venv/lib/python3.5/site-packages/botocore/client.py", line 396, in _make_api_call
  File "venv/lib/python3.5/site-packages/botocore/endpoint.py", line 111, in make_request
  File "venv/lib/python3.5/site-packages/botocore/endpoint.py", line 136, in _send_request
  File "venv/lib/python3.5/site-packages/botocore/endpoint.py", line 120, in create_request
  File "venv/lib/python3.5/site-packages/botocore/hooks.py", line 226, in emit
  File "venv/lib/python3.5/site-packages/botocore/hooks.py", line 209, in _emit
  File "venv/lib/python3.5/site-packages/botocore/signers.py", line 84, in handler
  File "venv/lib/python3.5/site-packages/botocore/signers.py", line 119, in sign
  File "venv/lib/python3.5/site-packages/botocore/auth.py", line 309, in add_auth
Unable to locate credentials

Can anyone suggest what happened? Thanks.

Hmm, it sounds like you don't have your AWS credentials set up.
Do you, for example, have your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables set up?
There's more information on setting up your machine for EC2 access here.

Thanks a lot. It works now. I didn't export the environment variables.
(Maybe we can add a comment in the document to remind some new users like myself, just a thought)

Yeah, I'd actually like to make Flintrock show a friendlier error message rather than an intimidating stack trace like that. This will be a common error for new users, so we don't want to scare them off.
Reopening to track that request.

Thanks for the quick response.
  File "flintrock/flintrock.py", line 804, in main
  File "venv/lib/python3.5/site-packages/click/core.py", line 716, in __call__
  File "venv/lib/python3.5/site-packages/click/core.py", line 696, in main
  File "venv/lib/python3.5/site-packages/click/core.py", line 1060, in invoke
  File "venv/lib/python3.5/site-packages/click/core.py", line 889, in invoke
  File "venv/lib/python3.5/site-packages/click/core.py", line 534, in invoke
  File "venv/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
  File "flintrock/flintrock.py", line 332, in destroy
  File "flintrock/ec2.py", line 118, in destroy
  File "venv/lib/python3.5/site-packages/boto3/resources/factory.py", line 455, in do_action
  File "venv/lib/python3.5/site-packages/boto3/resources/action.py", line 79, in __call__
  File "venv/lib/python3.5/site-packages/botocore/client.py", line 310, in _api_call
  File "venv/lib/python3.5/site-packages/botocore/client.py", line 407, in _make_api_call
An error occurred (InvalidParameterCombination) when calling the ModifyInstanceAttribute operation: You may only modify the groupSet attribute for VPC instances

my configure:
  spark:
    version: 1.6.0
    # git-commit:  # mutually exclusive with version
    # git-repository:  # optional; defaults to https://github.com/apache/spark.git
  hdfs:
    version: 2.4.1

provider: ec2

providers:
  ec2:
    key-name: yuhao-gridx
    identity-file: /Users/yuhao/gridx/pems/yuhao-gridx.pem
    instance-type: m3.2xlarge
    region: us-west-1
    availability-zone: us-west-1c
    ami: ami-bff781df   # Amazon Linux, us-east-1
    user: ec2-user
    # ami: ami-61bbf104   # CentOS 7, us-east-1
    # user: centos
    spot-price: 0.09
    # vpc-id: <id>
    # subnet-id: <id>
    # placement-group: <name>
    tenancy: default  # default | dedicated
    ebs-optimized: no  # yes | no
    instance-initiated-shutdown-behavior: terminate  # terminate | stop

launch:
  num-slaves: 1
  # install-hdfs: True
  # install-spark: False

I saw your comment in https://github.com/nchammas/flintrock/issues/85. I guess we can only delete the instances manually right now if not in VPC.

Correct. If you want to make the case for why Flintrock should support launching clusters outside of a VPC, #85 is a good place to do that. Otherwise, I am leaning towards removing this capability.


New package: OrdinaryDiffEqCore v1.0.0

Registering package: OrdinaryDiffEqCore
Repository: https://github.com/SciML/OrdinaryDiffEq.jl
Created by: @ChrisRackauckas
Version: v1.0.0
Commit: dc0e1e733fdd79a6c643cbd0c4f4be03c934cb91
Reviewed by: @ChrisRackauckas
Reference: https://github.com/SciML/OrdinaryDiffEq.jl/issues/845#issuecomment-2283406720
Description: High performance ordinary differential equation (ODE) and differential-algebraic equation (DAE) solvers, including neural ordinary differential equations (neural ODEs) and scientific machine learning (SciML)

@ChrisRackauckas Perhaps a license has to be added to all the packages in the repo?

oh that's annoying. Yeah I can add it to each.

I don't know if there is a way to have these packages look one level further up when in a multi-package repo. Perhaps this is in @KristofferC's wheelhouse?
In any case, it may be quicker to add the licenses.

I'll just add the licenses but report that this could probably be improved. I generally need to write an issue about how this should all be done using Julia submodules but there are missing features that makes this use packages instead. I haven't gotten around to writing all of this though. But for simplicity, I'll just copy paste the same license file 20 times and call it a day for now.

Since only the subfolder is actually shipped to users there has to be a license there.

I see, makes sense.


REST API v2 component cannot read and pass the maester attachment

Component Bug Report
Useful Links
Link to the Slack conversation with SQUIZ.
Description
REST API v2 component cannot read and pass the maester attachment.
Component Version
2.0.15
Steps to Reproduce

Create any attachment, with e.g. Utility String to Attachment action
Try to send it via REST API v2 as multipart/form-data and maester attachmentURL in the Body

Actual Result
Item processing error line means that it tried to download the attachment from Maester, failed (because of the outdated Steward mechanism) and didn’t throw any error.

Expected Result
File should be attached

https://github.com/elasticio/rest-api-component-v2/blob/0ab031e8bd767db0a9634a1de695cc977b477f1e/lib/utils.js#L346


New amazon skill kit pages

I am unable to translate this guide into the new skills pages from Amazon, and simply cannot get the skill to work. Any help would be greatly appreciated.
Kind regards

I have the same problem. The steps and screenshots does not match anymore.

new instructions https://joanaz.github.io/MirrorMirrorOnTheWallSkill/


Add flake8-rst-docstrings and clean up docstrings

Pull Request Checklist:

[ ] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #xyz

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Documentation has been added / updated (for bug fixes / features)
[ ] HISTORY.rst has been updated (with summary of main changes)

[ ] Link to issue (:issue:number) and pull request (:pull:number) has been added.

[ ] bumpversion patch has been called on this branch
[ ] The relevant author information has been added to .zenodo.json

What kind of change does this PR introduce?

add the flake8-rst-docstrings library to the linting checks
adds several temporary exemptions to the list RST-docstring checks in setupo.cfg
corrected several issues in the existing docstrings (broken links, bad formatting, grammar/spelling, etc.)

Does this PR introduce a breaking change?
It should not.
Other information:

Coverage increased (+0.001%) to 91.455% when pulling 0d71d44ad9c74db8200e93f387101dc36f76a496 on rst_docstring_fixes into c6f93e56d10e700a710726fc853d7d2a06e03946 on master.


chore: make compile again

crate did not compile because parking_lot no longer optional

Codecov Report

Merging #1877 (3b578fb) into main (b28c402) will decrease coverage by 28.29%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main    #1877       +/-   ##
===========================================
- Coverage   73.11%   44.83%   -28.29%
===========================================
  Files         417      417
  Lines       51016    51016
===========================================
- Hits        37300    22872    -14428
- Misses      13716    28144    +14428

Flag
Coverage Δ

integration-tests
19.64% <ø> (-0.01%)
:arrow_down:

unit-tests
35.58% <ø> (-31.85%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 205 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Dark Mode

Please add the dark mode to this app.

Well, it's a good point, for... settings in a future development could be implemented.
Please, if you want to put here feature requests, put it in the title, because an issue is a problem and a petition is a feature request.
Thanks for your comments.

Ok, thanks.

I've closed a little issue with refresh layout, so I can implement it. I'm not a UX designer but... I will try to do it, in the next commits you should be able to see this functionality (change layout from light to dark by user choose in settings)

Finished featured requested, added to last commit.


Undoing a block paste operation will now reload the clipboard with the un-pasted stuff

fixes #4063
Approach I used

In Form.jsx I used blocksClipboard global state from redux store and passed it to <UndoToolbar /> component's "state" property.
Inside useUndoManager.js I checked if state.blocksClipboard is empty or not when user click undo button (i.e. inside doUndo) and if clipboard is not empty then
dispatches an action setBlocksClipboard using useDispatch hook.

@tiberiuichim , can you please check the approach I used? Thanks! :)
I have checked that it may not break other code and not introduce any new bugs but need others feedback.

@MAX-786
Looks like a good start!
There's no need for the store middleware, get the dispatch with useDispatch(). Check volto's src code, there's many examples with that.

There's no need for the store middleware, get the dispatch with useDispatch(). Check volto's src code, there's many examples with that.

Thanks for the insight! can you please review it if possible?

Done! all green :)

Oh sorry, I missed that this PR was still open😅.

It would be possible (as an idea) if, instead of reading the copied blocks from the store, we would push "block copy actions" into the undo stack.

Agreed and tried to implement this and I am having an issue here, I spent a significant amount of time on it but got nowhere if possible @tiberiuichim can you please help me out here:
My Approach:

I exported a function pushToUndoStack() from undoManager.js  which saves a state object in undo stack with dispatch function.
When you paste blocks, this pushToUndoStack() is called.

Issue:

edit some blocks
then select some blocks and copy/cut these blocks.
now when you paste them and undo, it'll be done.
but when you further go back it doesn't works.

Please checkout additon-undo-manager branch for the source code and if you have any approach in mind please let me know.


https://www.freecen.org.uk/cms may need updating

It looks like this page needs updating?
https://www.freecen.org.uk/cms

This is not a "real" page — just a by-product of how our Refinery pages are organised. It probably should be hidden. (Our home page is the Search page — an app page.)

Hidden would work then.

@richpomfret why was this moved back to incoming?

We need to 'hide' the page.


Add GraphQL request body in network request monitoring.

Description
currently there is no way to distinguish different GraphQL requests in request monitoring section. Requests all come with the same url which is the base behaviour of GraphQL and request body is not tracked or accessible to be able to distinguish between request.

Also the configuration option networkRequestCallback does not allow the user to somehow access the body and include it with the request info:
BugsnagPerformance.start({
  apiKey: 'YOUR_API_KEY',
  networkRequestCallback: (requestInfo) => {
    /// requestInfo is only consist of { type, url } the body is not accessible.

    return requestInfo
  }
})

Describe the solution you'd like
I would be nice if we could distinguish requests by GraphQL query names for example.
Describe alternatives you've considered
instead of automatically tracking network requests add a manual option so we can send the requests with their query names.

Hi @ahoseinian
Thank you for reaching out. We do have an item on our backlog aimed at adding this support in the future. We do not have a clear ETA on the release of this functionality but we will be sure to keep you posted via this thread once we have more information or an update to share.


az command returns 0 when failing

Related command
az  extension show -n azure-ml-cli
Describe the bug
When azure-ml-cli is not installed, we expect an error with exitcode 1. This works properly for 2.39 and older, but with 2.40, it returns 0.
To Reproduce
Run the following python script:
import subprocess
subprocess.run(args=['pwsh', '-EncodedCommand', 'YQB6ACAAZQB4AHQAZQBuAHMAaQBvAG4AIABzAGgAbwB3ACAALQBuACAAYQB6AHUAcgBlAC0AYwBsAGkALQBtAGwA'])

Outputs
2.40

2.39

Expected behavior
CompletedProcess(args=['pwsh', '-EncodedCommand', 'YQB6ACAAZQB4AHQAZQBuAHMAaQBvAG4AIABzAGgAbwB3ACAALQBuACAAYQB6AHUAcgBlAC0AYwBsAGkALQBtAGwA'], returncode=1)
Environment summary
Windows, python 3.8
Additional context
Similar to https://github.com/Azure/azure-cli/issues/23808

route to CXP team

Hi Yong, will there be an IcM ticket filed for this issue? It is affecting all customers of the Substrate Intelligence AI platform and the Shrike library.

This looks like some issue with PowerShell.
Say we have the same test.cmd and test.ps1:
python -c "exit(1)"

The exit code is correct when they are invoked directly:
PS D:\> ./test.cmd ; echo $LASTEXITCODE

D:\>python -c "exit(1)"
1
PS D:\> ./test.ps1 ; echo $LASTEXITCODE
1

However, when invoked by pwsh.exe, they return different result:
PS D:\> pwsh -Command "./test.cmd" ; echo $LASTEXITCODE

D:\>python -c "exit(1)"
1
PS D:\> pwsh -Command "./test.ps1" ; echo $LASTEXITCODE
0

If test.ps1 contains
Exit 1

It works as expected:
PS D:\> ./test.ps1 ; echo $LASTEXITCODE
1
PS D:\> pwsh -Command "./test.ps1" ; echo $LASTEXITCODE
1

Azure CLI switched to az.ps1 in https://github.com/Azure/azure-cli/pull/23514, leading to this problem.

On contrary, cmd.exe works as expected:
D:\>cmd.exe /c "test.cmd" & echo %ErrorLevel%

D:\>python -c "exit(1)"
1

So does Bash:
user2@DESKTOP-A79F1:~$ ./test.sh ; echo $?
1
user2@DESKTOP-A79F1:~$ bash -c "./test.sh" ; echo $?
1

We will revert the change in #24015

Also facing the same issue, looking forward to the next release fixing this issue!

https://github.com/Azure/azure-cli/milestone/122  Build to Cloud Shell: 10/10/2022 Official Release: 10/12/2022


Shooting the boss while dodging it's bullets.
How do you play your game?
Use WASD to move, and use I, J,K, or L to shoot.
Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file.

Thanks for your PR!

sure!

Congratz!  If you're a teen, and you haven't already received one, please fill out this form to receive a brand-new Sprig device of your own!  Also, feel free to join Hack Club's Slack and share your creation in the #sprig channel!


Reverse proxy example does not work

Caddy version: v2.0.0-beta.14 h1:QX1hRMfTA5sel53o5SuON1ys50at6yuSAnPr56sLeK8=
Repro steps
1.Create this Caddyfile https://github.com/caddyserver/examples/blob/master/headphones/Caddyfile
2. Run caddy run in the same directory as the Caddyfile
Expected behavior
Caddy runs the reverse proxy
Actual behavior
proxy directive is not recognized
caddy run
2020/02/23 17:17:50.604	INFO	using adjacent Caddyfile
run: adapting config using caddyfile: Caddyfile:2: unrecognized directive: proxy

Switching the proxy directive to reverse_proxy doesn't fix the issue:
cat Caddyfile
myheadphones.com {
    reverse_proxy / localhost:8181 {
        transparent
    }
}

 caddy run
2020/02/23 17:28:02.941	INFO	using adjacent Caddyfile
run: adapting config using caddyfile: parsing caddyfile tokens for 'reverse_proxy': Caddyfile:3 - Error during parsing: unrecognized subdirective transparent

These examples are for v1, but you're using v2.
We'll change this repository to v2 at some point this year I think.
V2 proxying docs are here: https://caddyserver.com/docs/caddyfile/directives/reverse_proxy


Leaderboard

How to make leaderboard?

Get all data and sort it.

Can you please make the example of a command?


[💡 FEATURE REQUEST]: Support for non-JSON payload formats and non-UTF8 symbols in task payload

Description
ref: https://github.com/roadrunner-server/roadrunner/issues/1556
As of v2023.3.0 RR will start sending payloads with the RAW codec. consume_all will be deprecated. RR will consume all payloads by default.

Jobs plugin works perfect!


ChatGPT response

Hello, after I installed this plugin, I entered the question in the chatGPT interface, and the answer I got was in English, I want to get the answer that is Chinese by default, please should I set it in that placeHello, after I installed this plugin, I entered the question in the chatGPT interface, and the answer I got was in English, I want to get the answer that is Chinese by default, please should I set it in that place.

你好，我安装好了这个插件之后，我在chatGPT界面输入问题，得到的回答是英文的，我想得到默认是中文的回答，请问我应该在那个地方设置。

Add a custom posona in the setting, and choose it with double click. then you can see it at the top of the conversation window.


HSEARCH-2697 Only use setAccessible when strictly necessary

https://hibernate.atlassian.net/browse/HSEARCH-2697
This fixes the last remaining problem in the -engine build on JDK9. The -orm build still seems to fail on JDK9, mainly due to Hibernate ORM issues, but that's another story :)

nice solution, merged!


WIP: Define resourceProviders API

So far added an initial set of thoughts regarding this API.  Will delve more concretely into the actual resource provider set up/syntax after this set of initial thoughts for resourceProviders, preProcessors, and postProcessors

Update: Working on defining what a resourceProvider loader itself will look like and behave like this afternoon


How to generate patients with the flu?

Hi,
I would like to know if it's possible to generate patient with influenza (the flu).
I tried : ./run_synthea -p 1000 -m *flu, but there are no modules for it. So I'd like to know if there is another way to do it.
Thank you for your help.

We do not have a module for Influenza.
If you'd like to make one, you can use the module builder. There is a tutorial here: https://github.com/synthetichealth/synthea/wiki/Module-Builder-Tutorial


Fix iterator-related memory issues

MERGE after https://github.com/rapidsai/cucim/pull/618
Fix memory corruption issue in ThreadBatchDataLoader
Fix #592

Return a shared pointer of CuImageIterator, taking ownership of CuImageIterator instance, instead of returning a copy of CuImageIterator
Do not create new instance for CuImageIterator when __iter__ is called. Instead, return self.
Wait until all threads are finished in ThreadBatchDataLoader destructor

Fix memory leak in ThreadBatchDataLoader
Fix #598

Throw StopIteration exception early
Do not set nullptr for raster_data_ in ThreadBatchDataLoader::next_data()

Setting nullptr prevents freeing memory in the destructor of ThreadBatchDataLoader

Fix fatal errors for cache object

GIL is not acquired when using Python object.

Add iterator-related test cases for memory issue

Have merged PR: https://github.com/rapidsai/cucim/pull/618
Looks like there are some conflicts

/merge

I am seeing an error message regarding cpu memory usage:
https://github.com/rapidsai/cucim/actions/runs/6698898284/job/18202421711?pr=620

It is likely that it is intermittent issue (may need to increase the threshold ><PHONE_NUMBER> -<PHONE_NUMBER> = 50540544).

Thanks Gigon! 🙏
Should we file a follow-up issue or PR?

It is likely that it is intermittent issue (may need to increase the threshold ><PHONE_NUMBER> -<PHONE_NUMBER> = 50540544).

Filed as issue: https://github.com/rapidsai/cucim/issues/625


Is solana support possible?

I know that solana is built differently than ETH or Polygon but is Solana support possible in this?

No, Solana is a completly total different blockchain. For Solana you can use Metaplex. Hashlips has a good tutorial to release a collection in Solana blockchain.


[BEAM-13580] Add Nexmark Query14

This change adds Query14.java for testing the performance of Reshuffle transform.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @amaliujia

Tested by running
./gradlew :sdks:java:testing:nexmark:run \
    -Pnexmark.runner=":runners:direct-java" \
    -Pnexmark.args="
        --runner=DirectRunner
        --streaming=true
        --suite=SMOKE
        --manageResources=false
        --monitorJobs=true
        --enforceEncodability=true
        --enforceImmutability=true --query=RESHUFFLE"

and
./gradlew :sdks:java:testing:nexmark:run \
    -Pnexmark.runner=":runners:direct-java" \
    -Pnexmark.args="
        --runner=DirectRunner
        --streaming=false
        --suite=SMOKE
        --manageResources=false
        --monitorJobs=true
        --enforceEncodability=true
        --enforceImmutability=true --query=RESHUFFLE"

Can you create a JIRA and and change your title as [BEAM-xxxx] PR title?
Otherwise LGTM

@amaliujia done


[dv,clkmgr] Generate clkmgr binds

Generate the sva and coverage binds so they can support multiple tops. The coverage and sva binds are specific to top_earlgrey.
Fixes #19448

Good catch on the difference for clkmgr_aon_cg_en_sva_if. Removing the unused ports makes things simpler.

Thanks @matutem for your responses and further improvements. I'll merge this once CI passes.


Query Regarding Pre-trained mit_b2.pth Checkpoint

I noticed that the project makes use of a checkpoint file named mit_b2.pth. Could you please provide some information about its origin? Specifically:
Where was this checkpoint file downloaded from?
Is it a pre-trained model that does not require further training to be used?
Thank you for your time and effort on this project. Looking forward to your response.

This is actually the pre-trained weight of SegFormer.
https://github.com/NVlabs/SegFormer


undefined method 'size' for nil:NilClass

I want to install veewee on windows7 use the command:

gem install veewee
but get this error.

Some info:

gem list
......
builder (3.1.4)
foreman (0.61.0)
gherkin (2.11.6 x86-mingw32, 2.11.5 x86-mingw32)
json (1.7.7, 1.5.4)
multi_json (1.5.0)
rake (10.0.3, <IP_ADDRESS>)
vagrant (1.0.6)

vboxmanage -v
4.2.6r82870

closing as there was no feedback in three months, please let me know if you can provide more details and I will reopen


computing rate reduction in CRATE

@DruvPai  Thank you for sharing codes!
I would really appreciate it if you could share the code to compute $R(Z)$, $R^c(Z)$ in this CRATE code base.
Specifically, I want to reproduce the results in Fig. 3, Fig. 4. a, along with $R(Z)$.
Thank you for your help.

Hi, please check vis_utils/crate_hook.py
We provide example code for visualizing CRATE_small. Remark that the released checkpoint is different from the one we used in our manuscripts, hence the plots might be a little bit different.


PUD_ICON_REPAIR is missing in pud.h

Currently pud.h looks like this:
PUD_ICON_HUMAN_MOVE                           = 83,
PUD_ICON_ORC_MOVE                             = 84,
/* Icon 85 is invalid */
PUD_ICON_COLLECT                              = 86,
PUD_ICON_BUILD_STAGE_1                        = 87,
However, icon 85 is perfectly valid:

Proposal:
PUD_ICON_HUMAN_MOVE                           = 83,
PUD_ICON_ORC_MOVE                             = 84,
PUD_ICON_REPAIR                               = 85,
PUD_ICON_COLLECT                              = 86,
PUD_ICON_BUILD_STAGE_1                        = 87,
I tested this in my project and the icon appears as desired

Thanks, I'll have a look :+1: