a2dp_source connect failed (IDFGH-3312)

Im not sure it is actually a bug or just limitation of stack.
I am trying to merge HFP_HF with A2DP_SOURCE. HFP_FP example works great so far.
Now here is what i am trying to do:

connect with smartphone, connection is initiated by smartphone to hfp_fp, it works
after connecting, try to call a2dp_source_connect() and here is log i get:

D (44519) BT_APPL: BTA got event 0x1209

E (44519) BT_APPL: reset flags
I (44519) BT_A2D: A2D_FindService uuid: 110b
W (44539) A2DP 2: event => 0
I (44539) : params => 1, 0
D (45089) BT_APPL: BTA got event 0x10e

D (45089) BT_APPL: bta_dm_sm_execute event:0xe
I (45139) BT_A2D: a2d_sdp_cback status: 0
D (45139) BT_APPL: BTA got event 0x1215

W (45139) BT_BTC: BTA_AV_OPEN_EVT::FAILED status: 2

W (45139) A2DP 2: event => 0
I (45149) : params => 0, 0
D (45149) BT_APPL: ## ON A2DP IDLE ## peer_sep = 0, service id = 3
D (52119) BT_APPL: BTA got event 0x10e

D (52129) BT_APPL: bta_dm_sm_execute event:0xe

i see it is connecting and right after then it disconnects. My problem is i dont know if this is even possible and i dont know events from this logs.
Thanks for any tips or suggestions

I (3058) BT_AVRC: AVRC_AddRecord uuid: 110c
I (3068) BT_AVCT: AVCT_CreateConn: 1, control:3
D (3068) BT_AVCT: avct_ccb_alloc 0
D (3068) BT_AVRC: AVRC_Open role: 1, control:3 status:0, handle:0
I (3068) BT_AVRC: AVRC_AddRecord uuid: 110e

Hi @chegewara
Please refer to a2dp_hfp_example in ADF.
Thanks
Weitianhua

Thanks.
I could run hfp with a2dp sink, the thing is i dont want to run a2dp sink, just HFP + AVRC, but im guessing its not possible.
What i needed is to control music on smartphone + accept/reject calls without streaming data to esp32.

Hi @chegewara
As the concepts in BT, what you need is to use ESP32 as Hands-Free sink and AVRC controller.
The smartphone acts as Hands-Free Audio Gateway  and AVRC Target.
The smartphone may use A2DP source and AVRC Target together, so I think it's not impossible for an A2DP source to connect with another A2DP source. That is the question.
Thanks
Weitianhua

I am new to bluetooth classic, so i thought its better to ask.
Thanks

Feel free to ask :)


from_ical

Is there a way to parse a ical event ? (especially the RRULE part)
For example I'd glad to make this :
schedule.from_ical "DTSTART:20111216T090000Z;RRULE:FREQ=YEARLY;BYMONTHDAY=6;BYMONTH=11;"

I've partially developed this functionality and tests on a ice_cube fork :  https://github.com/digITpro/ice_cube

I think this feature is a great idea.  I think the way the implementation should work is by Schedule handling DTSTART,DTEND,DURATION and Rule handing the rest, with Schedule using it multiple times for each RRULE and EXRULE.
Are you interested in continuing with the dev, or should I take a stab?

EXRULE is deprecated on the RFC 5545 I think it's better to ignore this.
As you can see on my fork I only parse the RRULE other rules need to be parsed but I don't have enough time to do that now.

Okay cool - I'll take a look

I think https://github.com/sam-github/vpim already has the logic to parse this in its rrule.rb


Prevent warnings variable @metadata not initialised

Issue #, if available:
https://github.com/aws/aws-xray-sdk-ruby/issues/84
Description of changes:
Instead of directly using @metadata, use the metadata method in charge of doing an initialization when necessary
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Funny I was not expecting that, okay I will have a deeper look @willarmiros 👍


Add Deploy to Azure links to intro tutorials

Fixes #25138
Internal Review links:
First-web-api
min-web-api
SignalR
Build-a-blazor
Verified Razor Pages and MVC intro tutorials already had the links
Added links to  Tutorial: Build an ASP.NET Core app in Azure with SQL Database in the introduction tutorials.
Followed the existing example in MVC tutorial of adding a new Publish to Azure section at the end of the topic for version 6.x and 5.x

@Rick-Anderson,  there is a better topic to link to.  I will redo and point to this instead: /azure/app-service/quickstart-dotnetcore
Since you wanted a that specific link for those topics, I thought it was already determined that was the best we had, but I should have checked around anyway.  I didn't realize we had one that did not include a db.  Thanks.


Maxime branch -  gazebo_ros2_bolt

gazebo_ros2_bolt est inclu dans ros2_control_bolt

Deletion of install, build and log folders.
Deletion of Changelog.rst file.
In CMakeLists.txt, "gazebo_hardware_plugins"    becomes   "gazebo_bolt_hardware_plugins"


Better testing

Create a proper testing suite, with checking for correct feeds.

Integrated Travis CI, fixed and optimized existing testing. Still room for improvement, but should be a lot better now.


release: RC5

#minor

Coverage remained the same at 54.479% when pulling 569a02f909a3a981afa54072f92883192947bbb1 on cwhitten/rc5 into 76821428fe2a60cc06e3a9b1e134a6dbf5fd3813 on main.


Add azad kube proxy password to core key vault

With the azad kube proxy password in the key vault, the kubernetes/aks-core module can be separated from the rest of aks, significantly reducing blast radius and the size of the terraform state, thereby simplifying updates of the cluster.

Accidentally included changes intended for separate PR.


Fix run configurations by updating to latest scheme

Run configurations contained in project repository seems to be outdated and not working with Android Studio, IntelliJ nor Fleet. I've committed the updated versions which are generated by the InteliJ on project opening.
The main and required changes are the names and modules of run configurations. We can consider changing other options to the set of previously occurring options if they were intentional (not auto-generated). We should stick to new naming of run configurations to avoid duplicated run configurations, as it has happened in root problem in FL-23775.

@xxfast Please have a look as I saw you've added the current run configurations to the git repository


[New game]  ENDURO

Description
we all played this game in our childhood, this is a simple game that uses a bit of js
player get to control his keyboard up, left, and right. On colliding with other cars player's card gets decreased.
This game doesn't need any description, because this was played by us. This game was from the 1980s and a perfect fit for this repository.
Screenshots

Additional information
This is a classic retro game, which will bring back those nostalgic moments again.

Hi @Bhuvanchand26 , I am assigning this task to you. Kindly complete your work within a week. Good luck.


Slack notification incorrectly attributes user who re-runs job

:heavy_check_mark: updated scheduled tasks to never run again.
Deploy #45: Commit 87ccdd8e pushed by GaryGSC (Gary Crye)

Lehi pushed that commit, but then I re-ran the job.
The Slack notification claimed that I pushed the commit.

This was an issue with GitHub. Since July, it's been possible to differentiate between the original executing actor (Lehi in this example) and the triggering actor (me, since I re-ran the job).
We should make sure that what we display matches the Actions UI, then close this issue.


Search bar icon not centered with new Materialize version

The search icon should be centered. There is some simple issue with the CSS used for the nav-bar which needs to be fixed. Ideal fix would be to use some appropriate class value for the  tag here
<input id="search" type="search" autocomplete="off" placeholder="Search Youtube"></input>
search

I would like to work on this issue.
Actually when I am running localhost:8080, I am getting dns lookup falied error
I am connected to college network using proxy
Can you help me out here as I am new to opensource development

@Jigar3 you can start with this basic issue.
http://localhost:8080 is a self-served hostname i.e. it is present locally on your machine and no kind of internet connection is required to access it. You can try the ip directly : http://<IP_ADDRESS>:8080
Basic debugging pointers would be to check if the SimpleHTTPServer is running. ./server start will notify you if it is already running. Also, what OS are you on? Most OSes (Debian based, Windows, OSX) would have localhost bound to <IP_ADDRESS>.


Add round trip tests for BigQuery connections

Q
A

Fixed issues?

Tests added + passed?
Yes

Changeset added?
No

Documentation PR link

Any dependency changes?
No

This PR adds round trip tests for BigQuery connections. The tests identified the absence of null/undefined check for the optional defaultDataset property.

@epsstan  Can we either address the comments of this MR or close the MR?


Add Tooltips for beginners

What would you like to be added:
Tooltips to explain certain non-selfexplanatory things
Why is this needed:
For clarification
Additional context:
For example the Vampire Drain dashboard:
Theres a Standby column in percent: what does it mean? Whats TR loss mean? Other columns say kWh and Consumption and dont really explain the difference. Or the ❄ column. Etc...
Thanks

Are there other columns where a tooltip would be useful? Could you please list them?

Alright, let's do it dashboard by dashboard (please bear with me here..):
Charges:
Used =>What does Used mean in the context? Used since last charge?
Efficiency => Efficiency of Charging as reported by ... car?
kW = average power during charging
km/h = km gained per hour while charging
%Start,End = Battery SOC at Start/End of Charging
Driven = ?
Charging Stats:
Duration = Total Time spent Charging?
Charge Heatmap = Charging shown by Time of Day?
Charge/Discharge Stats, SOC = Number of times Charged/[Started drive] to/from this battery level
Drives:
%Start,End = Battery SOC at Start/End of Driving
Temp = Average/min/max inside/outside/? temperature during drive
Speed = Average Speed during drive?
max Power = maximum battery/motor Power output during drive.
❄ = Was battery below optimal temperatur during drive?
kWh = amount of energy consumed during drive (how is it calculated?)
Consumption = average real/rated(?) power consumption in kWh/100km during drive
Efficiency = this one is challenging....
Efficiency:
min. distance per drive = does not change the net/gross consumption values, only for tables?
Efficiency = how/what is calculated?
km = total km driven at that temperature
Speed = average speed ?
Locations:
Adresses, Updated at = last visited at?
Projected Range:
Charged = Show charging sessions?
Also that interval setting = needs some explanation...
Trip:
first 3 panels showing km and km/h dont really explain anything..
used = power consumed
net/gross = what kind of values are they? how/why are they different from other dashboards?
km, start/end%, consumption = see above
Vampire Drain:
min idle time = ???
Period = period of standby/sleep/nondrive time??
Standby % = ???
SOC = battery power/soc change within that period
TR loss = ?
kWh = amount of energy/kWh lost during period?
Ø-Power = average power consumption/vampire drain during that period
TR Loss / h = ??

Excellent, thank you 🙏


Unstable Direct connection module

Evn.
Client to Server transport : SimpleWebTransport
Direct connection module transport : KcpTransport
Relay Server hosted on a NAS's VM with public ip address
LightReflectiveMirrorTransport component setup
Relay Server port : 7000
NAT punchthrough port : 7001
Kcp transport port : 7777
SimpleWebTransport port : 7778
The Direct connection works great while all client under same LAN.
But if I change one of my unity editor into iPhone's hotspot network and try to connect to host.
The direct connect will failed.
Host console will show msg "Direct Connect Client Connected" and after a while and new msg "Kicked direct connect client." shows.
Client show msg "KCP: Connection timed out after not receiving any message for 10000ms. Disconnecting."

Could you please upload the full error to pastie.io or contact me in discord to further debug?

here it is !
https://pastie.io/yrwxkp.makefile

It seems the host is getting data from the phone, but the phone is unable to get data from the host. Aka the phone is unable to do a successful NAT punch. This will be most likely the case with cellular networks since lots share ips and have very strict NAT rules.
Is it falling back to relaying and working over that?

Is it falling back to relaying and working over that?

I don't think so, it just shows timeout message and not thing happen on client.

Well, after i change the KcpTransport into TelepathyTransport on Direct connect module the client can connected to the host!
(In different network environment)
Maybe the issue base on which transport is using.
Since i didn't know how to check which method is using for the connection (relay or direct connect), i just can let you know the connection is woking while using TelepathyTransport.

NAT punch will most likely fail on cellular networks, just turn it off in LRM transport settings

telepathy worked because it is TCP, so the nat punch would instant fail. It seems UDP is failing to fallback after failed punch attempt. this is fixed in v10


Python 3 Updates

Ran python-modernizer, this fixed most of the Python 3
incompatibilities.
Had to manually rework the iteration in svg_regex and svg_transform;
.next doesn't exist in Python 3. Wrapped the builtin next function in a
partial for equivalent functionality.

looks fine. thanks for the work!


Mini Design Refresh for [REDACTED]

Minor design changes for [REDACTED]
Charity Week stuff hidden for now.

@ILikeTeaALot Did Discord just drop offline for you?


Let users set the common marker extensions

Changes:

Expose the common marker extensions to the context.
Set a default list of ext.
Update docs.

I'm really not sure how CI failed to install any of the gems. @jch, have you seen this before?

Wow, the failures sure are extensive. I'm guessing a recent merge updated Gemfile without the lockfiles getting updated too? Though it looks like you caught that here: https://github.com/jch/html-pipeline/commit/2852874da3f1ed5d0627dc248750b6c23c01ed72 Hrm.

➡  https://github.com/jch/html-pipeline/pull/280

Can you pull in master when you get a chance @gwincr11 ? 👍

@kivikakk @gjtorikian This should be ready for a re-review.

Looks good to me!


chore: Add permalinks to the cairo-by-example project

The cairo-by-examples project contains many Cairo code snippets. It would be great to add a link below relevant code snippets to open them in the Cairo playground on cairovm.codes so that devs can play with the code execution to understand it better.
cairovm.codes has a permalink feature, so that you can write some Cairo code and share it.
For the following code snippets, you should:

copy the code snippet into the Cairo playground of cairovm.codes,
generate a permalink,
add a “Open in Cairo playground” link pointing to the permalink, below the code snippet.

Acceptance criteria:
Create PRs on the cairo-by-example project with permalinks to cairovm.codes for the following code snippets:

https://cairo-by-example.com/examples/if	(the last snippet)
https://cairo-by-example.com/examples/loop/
https://cairo-by-example.com/examples/enums/
https://cairo-by-example.com/examples/arrays 	(the full example in the last snippet)
https://cairo-by-example.com/examples/dictionaries
https://cairo-by-example.com/examples/clone_and_copy (the first snippet)
https://cairo-by-example.com/examples/snapshots

PR Review
The PRs on the cairo-by-examples project should be reviewed in 2 steps:

The Walnut core team will review the PR, give feedback and may decide to give some rewards on OnlyDust if the PR code is good quality.
The cairo-by-examples team will review the PR as they see fit and decide whether to merge the PR or not.

Can I be assigned to this?

@mazurroman I'd like to pick this up.

@mazurroman i would like to work on this.

Hi, I'd love to take care of this

I have gone through this and i'll be able to handle this appropriately

Hi I am Jaipal (intro), i can take this issue. although i did check that cairovm.codes perma links contains some conflicting characters such as parenthisis which might mess with the markdown sytanx. i can encode them which should most definitely work if not might just shorten the links using dub.co (a good opensource link shortner) as the last resort if needed.

Just raised a PR #116 for this.


perf: set the log merge policy

Important information about segments: https://github.com/quickwit-oss/tantivy/wiki/Life-of-a-Segment

Oh I see that the function is part of IndexWriter, do you intend for this to be called from chrysalis ?

@cjrh do you want to make this PR to upstream or just merge here and then make again upstream?

I was thinking we try it out first and see if it improves things. I was
hoping you would test it. Basically, after adding documents in dribs and
drabs you should see that the tantivy files in its index dir keep getting
compacted.
On Wed, 20 Mar 2024, 03:31 Cameron, @.***> wrote:

@cjrh https://github.com/cjrh do you want to make this PR to upstream
or just merge here and then make again upstream?
—
Reply to this email directly, view it on GitHub
https://github.com/Kapiche/tantivy-py/pull/195#issuecomment-2008577047,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADVJC4HOLDPREBTWWP3ZQTYZDYHZAVCNFSM6AAAAABEZK63WSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBYGU3TOMBUG4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Feature Request: Support for logging arbitrary text which will appear in the reports

Right now there isn't an easy way to get my test context output to the test reports.  It would be nice if there was some option to output it easily.  Ideally I would like to specify a class that represents my test context and LightBdd includes the representation after each test run.

With a new version of LightBDD, it would be possible to comment any step during it's execution, where comments would be included on the report.
I am planning to add StepExecution.Comment(string comment) method.
It should be easily reusable for a purpose of dumping a test context, where I plan to give ability to dump it manually plus it would be dumped automatically on failing scenarios.
For automatic dumps, the test context would be:

a test class with its fields, if Runner.RunScenario() is called without explicit context,
a passed context with its fields, if Runner.RunScenario is called with MyContext context.

I have not thought through it yet, but most probably, the context dumping method would use:

ToString() method to dump context content, or
it will use reflection to dump all the fields by applying ToString() on them.
I will have to think how to make it customizable though...

An initial implementation is done in version <IP_ADDRESS>.
It offers StepExecution.Comment() and StepExecution.CommentFormat() methods to manually comment steps in runtime.
The automatic context dump is not implemented in this version and it would be added in future versions if needed.


AWS SQS with Gatling on different accounts

I've followed the article https://gatling.io/2019/01/load-testing-aws-sqs-with-gatling/ and it works when gatling is on the same account. But when on different accounts it cannot find out the SQS queue as it search it without the accountId.
Maybe it's already possible and I didn't figure it out, but if is not can you somehow improved so it works with multi accounts?
When using:
jms("SendSQSMessage").send()
            .queue("myqueue")
            .textMessage(StringBody(body));

since we don't have the accountId the first method is invoked instead of the second one:
    /**
     * Gets the queueUrl of a queue given a queue name.
     *
     * @param queueName
     * @return The response from the GetQueueUrl service method, as returned by
     *         SqsClient, which will include queue`s URL
     * @throws JMSException
     */
    public GetQueueUrlResponse getQueueUrl(String queueName) throws JMSException {
    	GetQueueUrlRequest request = GetQueueUrlRequest.builder()
    			.queueName(queueName)
    			.build();
        return getQueueUrl(request);
    }

    /**
     * Gets the queueUrl of a queue given a queue name owned by the provided accountId.
     *
     * @param queueName
     * @param queueOwnerAccountId The AWS accountId of the account that created the queue
     * @return The response from the GetQueueUrl service method, as returned by
     *         SqsClient, which will include queue`s URL
     * @throws JMSException
     */
    public GetQueueUrlResponse getQueueUrl(String queueName, String queueOwnerAccountId) throws JMSException {
    	GetQueueUrlRequest request = GetQueueUrlRequest.builder()
    			.queueName(queueName)
    			.queueOwnerAWSAccountId(queueOwnerAccountId)
    			.build();
        return getQueueUrl(request);
    }

Honestly, no idea.
Then, please ask this kind of question on our community forum where hopefully some community members more experts with SQS and JMS might be able to help.

But to be possible I think the gatling dsl need to somehow allow to pass the accountId.
So:
jms("SendSQSMessage").send()
            .queue("myqueue")
            .textMessage(StringBody(body));

Would become something like:
jms("SendSQSMessage").send()
            .queue("myqueue").accountid("aws-account-id")
            .textMessage(StringBody(body));

or something less invasive like (as this is jms, not aws sqs):
jms("SendSQSMessage").send()
            .queue(new AwsQueue("queue", "aws-account-id") )
            .textMessage(StringBody(body));

I tracked the code since:
  def destination(jmsDestination: JmsDestination): Expression[Destination] = {
    val jmsSession = sessionPool.jmsSession()
    jmsDestination match {
      case JmsDestination.TemporaryQueue => jmsSession.createTemporaryQueue().expressionSuccess
      case JmsDestination.TemporaryTopic => jmsSession.createTemporaryTopic().expressionSuccess
      case JmsDestination.Queue(name)    => name.map(n => staticQueues.computeIfAbsent(n, jmsSession.createQueue _)) //here
      case JmsDestination.Topic(name)    => name.map(n => staticTopics.computeIfAbsent(n, jmsSession.createTopic _))
    }
  }

and aws sdk allows to create a session wtih accountId:
    /**
     * This does not create SQS Queue. This method is only to create JMS Queue
     * Object. Make sure the queue exists corresponding to the queueName and
     * ownerAccountId.
     *
     * @param queueName
     * @param ownerAccountId
     *            the account id, which originally created the queue on SQS
     * @return a queue destination
     * @throws JMSException
     *             If session is closed or invalid queue is provided
     */
    public Queue createQueue(String queueName, String ownerAccountId) throws JMSException {
        checkClosed();
        return new SQSQueueDestination(
                queueName, amazonSQSClient.getQueueUrl(queueName, ownerAccountId).queueUrl());
    }

This Gatling DSL is for JMS, not SQS. It will never ship any feature that's not covered in the JMS specification.
If you need support for some SQS specific features, they would probably be best served by a SQS specific DSL whose implementation would target the SQS API and not its JMS wrapper.
Contributions and sponsored developments welcome.


Custom ShapeFile Road Network

Hi,
I'm really interested in purchasing Real World Terrain to use with RoadArchitect.
My goal is to drape a shape file with traffic data over an elevation model of the UK.
I was wondering if there was a feature that would let me import the ShapeFile as a road network and visualize my point traffic data easily? If not, would I be able to do so within RoadArchitect / Real World Terrain?
Any help would be much appreciated.
Thanks,
Paulo

@PauloDeMello You cannot import road networks into RoadArchitect at this time.


Update Composer dependencies (2021-09-29-00-12)

Visual regression test passed!
View the visual regression test report


[bug] Output messages are being buffered aggressively

Describe the bug
I started noticing that in any moon command, the output messages are being aggressively buffered. With chunks arriving every 4-10s. I'm not sure in which version this appeared.
I'm opening an issue here only for tracking but I already sent logs to @milesj in Discord.

Can you try 1.26.7? Made a few changes and added some logging to see if we can catch this.

Tried and it works!


Adds yarn role

Why?
We're using yarn by default now, so we should add a role for it.
What Changed?

Adds yarn_install role
Ran bundle, which updated tape

Note
Yarn suggests installing using this method (docs):

Note: Installation of Yarn via npm is generally not recommended. When installing Yarn with Node-based package managers, the package is not signed, and the only integrity check performed is a basic SHA1 hash, which is a security risk when installing system-wide apps.

For these reasons, it is highly recommended that you install Yarn through the installation method best suited to your operating system.

Source

thanks @dkniffin 👍


统一监控接口

这个 PR 实现什么功能/修复什么问题:
1.通过前端选择measurement等数据完成对influxdb指标的的查询
2.支持同时查询多个query。
是否需要 backport 到之前的 release 分支:

release/3.3

/cc @zexi
/area monitor

Codecov Report

Merging #6629 into master will decrease coverage by 0.00%.
The diff coverage is 0.77%.

@@            Coverage Diff             @@
##           master    #6629      +/-   ##
==========================================
- Coverage    7.17%    7.16%   -0.01%
==========================================
  Files         647      648       +1
  Lines      109213   109332     +119
==========================================
+ Hits         7831     7832       +1
- Misses     100782   100899     +117
- Partials      600      601       +1

Flag
Coverage Δ

#aFlag
7.16% <0.77%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/monitor/tsdb/driver/influxdb/influxdb.go
2.22% <0.00%> (-0.41%)
:arrow_down:

pkg/monitor/alerting/conditions/metricquery.go
0.95% <0.95%> (ø)

Continue to review full report at Codecov.

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

/lgtm
/approve


add tapdata to the big data category, also provided some recommendations for the data category section

Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Is your project closed source or, if it is open source, does your project have at least 250 GitHub stars?
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~10 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Recommendation for the data technology categories:
Operational Databases
All the rest

Analytical Databases
hadoop / clickhouse / dorisdb / hashdata / kylingence

Analytical Engine
Spark / Impala / Piflow

Messaging, Streaming & Processing
kafka / Pulsar / Tapdata

Storage Systems
Ceph


fix: cleanup of the instance policy output

Description
Addresses the odd formatting/data types in the output as shown in https://github.com/terraform-ibm-modules/terraform-ibm-kms-all-inclusive/issues/417, there is a field from the provider that doesn't appear in the provider reference documentation so it is not present in this output
Release required?

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

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


[IPCT1-287, IPCT1-288, IPCT1-289, IPCT1-290] - Multiple fixes.

IPCT1-287 - Fix stories card spacing and size adaptation based on devices size.

IPCT1-289: Spacing based on MASTER branch was already fixed but alert alignment not.


WIP: rustup: Add rustup show keys

In order that we can see what keys we have access to and where
they came from, report the content of cfg.get_pgp_keys().
@dignifiedquire is there an easier way to implement the key display code?  It'd be lovely if there were a clean way for rpgp to give me a nice render of the key algo+length+id among other things.  Or if fingerprints could be neatly formatted by the library.

Unfortunately there are no nice formatting tools in rpgp quite yet, but I'll take it as a feature request and try to get to it soonish.

Okay, I'll try and add other bits and bobs to the PR tonight, and then I'll ask for a proper review.

I recommend reading each commit in turn to ease review

Thank you for reviewing.


Make Voyager use Explorer's page for displaying validator information.

This is an intermediate step towards https://github.com/cosmos/voyager/issues/1100.

Probably moving the description properties to the top level of the object. I guess our internal delegate object didn't match the external object anymore. Feel free to change that, if it's not too much effort.

What is this blocked on?

Let's wait for @jbibla new designs and use them instead

We can still migrate to the new designs later. The new design is not part of this ticket. Please implement the explorer page as is if you need that to finish #1100

I marked it blocked as a note to myself to show that I was waiting for your answer.

Probably moving the description properties to the top level of the object. I guess our internal delegate object didn't match the external object anymore. Feel free to change that, if it's not too much effort.

Thanks.  It's causing your PR to display the moniker incorrectly so I tried removing it but doing so broke the validator list and I'm having trouble figuring out why.


CSS Problems

Thx for the integration. It is the first MVV/MVG integration which is working.
I've added the two cards into my dashboard and I get some problems with the styling.

the background of the cards (dark blue) will also change the background of the dashboard page.
it looks like the name of the station will not be show with the correct style
if I include only the "small" card, the color of the font will be black.

Are there plans to make the colors configurable?
Perhaps there is a conflict with the names (e.g. container) and it would make sense to change this names (e.g. amvg_container).

Good morning,
this looks crazy. ^^
But no idea why.  Lets try to find a solution.

Whats your HA version ? Older than 6 months ?
Are there any other addons installed in the frontend (design) ? Like special cards for styling the frontend ? e.g. card switcher ? Kiosk mode ?
Which browser are you using ?
Is there also a problem in the HA Android/IOS App ?
are there other cards on the same page ?
May I aks for a complete screenshot of the browser page ?
How did you transfer the small card to your HA instalation ? Maybe you can try to copy/paste the RAW contend of the card again via the HA build in File editor like in this issue because it looks like that the css code is in one line in the file.
https://github.com/Nisbo/another_mvg/issues/5
after this, clear the frontend cache

Are there plans to make the colors configurable?

There are no plans because I want to keep the MVG style

Hello, thank you for the feedback.
HA is the current version and I made my tests in an empty dashboard with the two card types.
One of my problems was that I had both types (custom:content-card-another-mvg and custom:content-card-another-mvg-big) on the same page and as both are using the same css class names the result was not so good.
Another problem was that there was a conflict with the css class names with something else in my HA installation. I didn't see which component was the cause of the problem. But I could solve it by renaming some of the css class names in content-card-another-mvg.js
..
        .amvg_container {
          background-color: #ffffff; // #000080;
          border-radius: var(--ha-card-border-radius,12px);
          padding-bottom: 5px;
        }
        /* Name of the card - from name parameter */
        .amvg_cardname {
          font-weight: bold;
          font-size:1.0em;
          padding: 2px 0 2px 8px;
        }
        /* Table */
        .mvg-table {
          width: 100%;
          border-collapse:collapse;
        }

        /* Table Header - Linie, Ziel, Gleis, Abfahrt */
        .amvg_headline {
          font-weight: bold;
          background-color: #FAE10C;
          color: #ffffff; // #000080;
          border-width: 0;
          text-align: left;
        }
...

With this change I could solve the conflict. Also I've changed the color :-)
Perhaps you could rename the css classes if you create another version in the future.
If I find some time I will try to make the colors configurable.
Perhaps I've found another issue. In Ebersberg we have the value 2a for Gleis. And this value will not be shown. Do you have an
idea what is going wrong? I've attached a screenshot with the output for Ebersberg.
Best regards,
Bernhard

The big card is for single card pages

there is a 2nd lovalace card for single card use. Means with big font so that you can put it on a screen or on an Amazon Show 15

But this was only mentioned in the release note for an update. Maybe I should include it also in the normal documentation.
Regarding the css classes, I will try to keep it in mind.
Regarding the 2a. This looks like that platform is missing in departures.
            # Format platform
            if departure["transportType"] in ["BUS", "REGIONAL_BUS"]:
                track = "Bus"
            elif "platform" in departure:
                track = str(departure["platform"])
            else:
                # the key 'platform' doesnt exist in Dictionary user
                track = "---"

in this case you will see the --- (if its not a Bus)
can you provide me the id for Ebersberg you are using in your yaml ?

I released a new version
28.05.2024 - Version 1.4.0

improved error handling
improved error reporting in the system log
workaround for missing track 2a (not provided by the API) in Ebersberg. It assumes that if there is no platform provided by the API that the departure is from track 2a (Gleis 2a).
fixed an issue with CSS on some installations (possible problems with other addons)
You can also use BAHN but this feature is not fully integrated and not enabled by default. There is also no special design / labeling available.
If you want to include it to your departure list, you can use this code:

   transporttypes: "SBAHN,UBAHN,TRAM,BUS,REGIONAL_BUS,BAHN"
To update, replace all files with the new files and restart HA.
Afterwards you have to clear the frontend cache on all devices.

Thank you very much.
Regarding the colors I was able to make it configurable. I will create a version which will behave like before if the colors are not set  and send you an update. If you think it is fine probably it can be included in a new version.

I've made some changes to content-card-another-mvg-big.js:
class ContentAnotherMVG extends HTMLElement {
  // Whenever the state changes, a new `hass` object is set. Use this to
  // update your content.
  set hass(hass) {
    const entityId = this.config.entity;
    const state    = hass.states[entityId];
    const stateStr = state ? state.state : "unavailable";

    let container_background_color = this.config.style && this.config.style.container_background_color ? this.config.style.container_background_color : '#000080';
    let cardname_color = this.config.style && this.config.style.cardname_color ? this.config.style.cardname_color : '#FFFFFF';
    let headline_background_color = this.config.style && this.config.style.headline_background_color ? this.config.style.headline_background_color : '#FAE10C';
    let headline_color = this.config.style && this.config.style.headline_color ? this.config.style.headline_color : '#000080';
    let text_color = this.config.style && this.config.style.text_color ? this.config.style.text_color : '#FFFFFF';

    // Initialize the content if it's not there yet.
    if (!this.content) {
      const card    = document.createElement('ha-card');
      //card.header = "Another MVG Card";
      this.content  = document.createElement('div');
      const style   = document.createElement('style');

      style.textContent = `

        /* Card background */
        .amvg-container {
          background-color: ${container_background_color};
          border-radius: var(--ha-card-border-radius,12px);
          padding-bottom: 5px;
        }
        /* Name of the card - from name parameter */
        .amvg-cardname {
          font-weight: bold;
          font-size:1.0em;
          padding: 2px 0 2px 8px;
          color: ${cardname_color};
        }
        /* Table */
        .amvg-table {
          width: 100%;
          border-collapse:collapse;
        }

        /* Table Header - Linie, Ziel, Gleis, Abfahrt */
        .amvg-headline {
          font-weight: bold;
          background-color: ${headline_background_color};
          color: ${headline_color};
          border-width: 0;
          text-align: left;
        }

        /* Column widths and spacing */
        .label {
          width: 10%;
          padding: 0 6px;
        }
        .destination {
          width: 60%;
          text-wrap: wrap;
          color: ${text_color};
        }
        .track {
          padding: 0 5px;
          width: fit-content;
          color: ${text_color};
        }
        .time {
          padding-right: 5px;
          width: fit-content;
          white-space: nowrap;
          color: ${text_color};
        }
       ...

If the configuration looks like
type: custom:content-card-another-mvg
entity: sensor.ebersberg_2
style:
  container_background_color: '#008000'
  cardname_color: black
  headline_background_color: red
  headline_color: yellow
  text_color: blue

it will take the colors from the configuration.

Without the style settings t will look like before (blue background, etc.).
I've attached the modified java script file.
content-card-another-mvg.js.txt

Nice idea, I will include it in the next version. :)


Remove PQL response parser in quickstart

Description

Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

Codecov Report

Merging #8081 (69a4737) into master (e7ea235) will decrease coverage by 23.68%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #8081       +/-   ##
=============================================
- Coverage     37.93%   14.24%   -23.69%
  Complexity       81       81
=============================================
  Files          1606     1562       -44
  Lines         83405    81529     -1876
  Branches      12455    12254      -201
=============================================
- Hits          31638    11614    -20024
- Misses        49311    69055    +19744
+ Partials       2456      860     -1596

Flag
Coverage Δ

integration1
?

integration2
?

unittests2
14.24% <ø> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Push new pypi package with adjusted fee changes

Done at https://pypi.org/project/hmt-escrow/0.2.2/


DOCS-10087-ReaderWriterPropDiff-duke (TESTING DIFF, DON'T MERGE)

replaced by https://github.com/mulesoft/docs-mule-runtime/pull/2008


Pending orders

This pull request introduces 1 alert when merging 7ab8b010078592fe17f9f36f60b001a993d03ebc into 9b1adef3ca508803b87d6587ffccb764c0b5e42a - view on LGTM.com
new alerts:

1 for Identical operands

Comment posted by LGTM.com


Monkeypatch distutils.filelist.findall for Python 3.4.6

Since the latest version of python 3.4.x series is 3.4.6 and it
does not include an fixed version of "distutils.filelist.findall",
this commit makes sure the patch is also applied.
For sake of comparison, this link highlights the "still broken"
implementation associated with v3.4.6:
https://github.com/python/cpython/blob/v3.4.6/Lib/distutils/filelist.py#L245-L273
And this link highlights the correct version found in Python 3.5.3:
https://github.com/python/cpython/blob/v3.5.3/Lib/distutils/filelist.py#L245-L273
Finally, simply using sys.version_info <= (3, 4, 6) would not work because
sys.version_info returns a tuple like (3, 4, 6, 'final', 0) which is in
fact greater than the other one:
>>> (3, 4, 6, 'final', 0) <= (3, 4, 6)
False

>>> (3, 4, 6, 'final', 0) <= (3, 4, 7)
True

>>> (3, 4, 6, 'final', 0) <= (3, 4, 6)
False

>>> (3, 4, 6) <= (3, 4, 6, 'final', 0)
True

>>> (3, 4, 6) < (3, 4, 6, 'final', 0)
True

It may be reasonable to revisit the monkey patch check to use
sys.version_info[:3] instead.

Cc: @thewtex @JoostJM

Aha. That issue probably arose because I originally intended for the changes to be present in 3.4.6, but then backed them out when I realized I'd violated the configuration management policy. The right fix is just to make that a < (3, 5). Thanks for bringing this to my attention. I'll make the appropriate change.

Thanks for fix the issue :+1:
Out of curiosity, is there any files where you acknowledge contributors ?

Not a file. I hate duplicating metadata in source. Contributions are apparent from the commit graph and tracker (here).

Makes sense.
(Having spent quite some time to track this down ... I was then hoping to fix my PR and make it to the contributor graph :smile: . Next time.)

Indeed, and I usually pull in the changes and overwrite them (as necessary). This change seemed small and trivial, hence the route I took. For sure next time!


Split CanvasRenderingContext2D.drawImage signature

Suggested fix for #14592.

provides correct parameter names for all three overloads
forces correct number of parameters (3, 5 or 9)
adds ImageBitmap as possible image source (see #210)

@nkemnitz,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@nkemnitz,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Closed/Reopened PR to trigger Travis CI - the Mono download failed yesterday.


Test model CLI

Closes #66

I put together an implementation for test model.

It generates the traces using Model.sample.
Reads the trace directory for each successful operation for the latest trace.
Performs a loop, for which each step is similar to test trace.


rapidjson - cannot compile with only VS2019 installed

Other libraries seem to compile just fine because they use Ninja unlike rapidjson which seems to use Visual Studio 2017:
[1/2] cmd /c "cd ../../x64-windows-dbg && "C:/SDKs/vcpkg/downloads/tools/cmake-3.12.4-windows/cmake-3.12.4-win32-x86/bin/cmake.exe" "C:/SDKs/vcpkg/buildtrees/rapidjson/src/v1.1.0-5f309373e1" "-DRAPIDJSON_BUILD_DOC:BOOL=OFF" "-DRAPIDJSON_BUILD_EXAMPLES:BOOL=OFF" "-DRAPIDJSON_BUILD_TESTS:BOOL=OFF" "-DCMAKE_INSTALL_DIR:STRING=cmake" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/SDKs/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_PLATFORM_TOOLSET=v141" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/SDKs/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-G" "Visual Studio 15 2017 Win64" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/SDKs/vcpkg/packages/rapidjson_x64-windows/debug""
FAILED: ../../x64-windows-dbg/CMakeCache.txt
cmd /c "cd ../../x64-windows-dbg && "C:/SDKs/vcpkg/downloads/tools/cmake-3.12.4-windows/cmake-3.12.4-win32-x86/bin/cmake.exe" "C:/SDKs/vcpkg/buildtrees/rapidjson/src/v1.1.0-5f309373e1" "-DRAPIDJSON_BUILD_DOC:BOOL=OFF" "-DRAPIDJSON_BUILD_EXAMPLES:BOOL=OFF" "-DRAPIDJSON_BUILD_TESTS:BOOL=OFF" "-DCMAKE_INSTALL_DIR:STRING=cmake" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/SDKs/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_PLATFORM_TOOLSET=v141" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/SDKs/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-G" "Visual Studio 15 2017 Win64" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/SDKs/vcpkg/packages/rapidjson_x64-windows/debug""
CMake Error at CMakeLists.txt:12 (PROJECT):
  Generator

    Visual Studio 15 2017 Win64

  could not find any instance of Visual Studio.

Thanks for posting this issue!
I've pushed a fix to master (rapidjson package version 1.1.0-3).


Support date/time fields in gt, lt, gte & lte filter expressions

Should be fairly self explanatory.
I've looked through the code of the Mem, Elasticsearch and MongoDB adapters, and this appears that it should work fine. I tested all the way through with the Elasticsearch adapter, and it works great.
Let me know if there are any questions!

Hi there,
What is the status of this merge request? What is needed to be polished for this to be merged? I need Date/Time filtering as well.
Thanks and regards

@Dragomir-Ivanov, I think this PR is pretty out of date. There is now a separate query package that didn't exist when the PR was started. There are also a few things to clean up to make sure it works as intended. If you want to have a try at it, it might just as good to start from scratch.
You could still look at this PR for inspiration.

Closing this one as it's out of date. Maybe a good solution could be implemented as part of #170.


create "what's new in C# 7.3"

Fixes #5289
This PR adds the overview to "What's new in C# 7.3". I updated the wording in the TOC to remove the repeated "What's new" phrasing.
/cc @jcouv @madstorgersen
/cc @Welchen
This PR relies on new files added in PR #5408
Summary
Describe your changes here.
Fixes #Issue_Number (if available)

LGTM as well. Perhaps you could add a couple of enhancements:

add a Span arr = stackalloc [] {1, 2, 3};  sample
add either Enum or Delegate or both samples to generic constraints

OTOH, is

When the in argument modifier was added, these two methods would cause an ambiguity:
static void M(S arg);
static void M(in S arg);

Is this real? I've tested it with 7.2 and it works:
        static void X(int a) {}
        static void X(in int a) {}

Perhaps you could add a couple of enhancements:
add a Span arr = stackalloc [] {1, 2, 3}; sample
I like this idea. I added it.
add either Enum or Delegate or both samples to generic constraints
If want to keep this article reasonably short. The articles linked at the end of that section have samples of both Enum and Delegate, in addition to unmanaged.

Is this real? I've tested it with 7.2 and it works:

Yes, and I added a note that this is a bug fix, and the new resolution applies even if C# 7.2 is selected as the language version.

closing and reopening to start a new build.

There are some build warnings here, @BillWagner. I'll take a look at the rest now.


Fixes for sorting by proximity of user

https://app.asana.com/0/1137432207089210/1131076422192598
https://app.asana.com/0/1137432207089210/1151314464045457

@najiatallah Looks good

Approved


make it readable on github

I formatted the list so it's just a set of clickable screenshots. The table formatting was really hard to read. See how it looks here: https://github.com/n1trux/awesome-bootstrap/blob/formatting/README.md

There is a different way I wish to go about this. But it will be more readable soon.


Large images and gifs

A spot for large images and gifs for the project readme.

Public dataset BBBC021 from the Broad Bioimage Benchmark Collection with t-SNE image embedding

Overview of 3D functionality.


Make ThrowingTaskGroup.nextResult() non-throwing.

Explanation: We erroneously marked ThrowingTaskGroup.nextResult()  as throws, even though it returns its error via a Result instead. Remove the throws in a strange-looking manner so that we maintain the existing ABI.
Scope: Affects new code using Swift's Concurrency model that uses task groups.
Radar/SR Issue:  rdar://81585954.
Risk: Low.
Reviewed By: Konrad Malawski
Testing: PR testing and CI on main, including new tests.
Original PR: https://github.com/apple/swift/pull/38771

@swift-ci please test


Revert various context.dispatchEvents() calls to context.commit()

During the massive 6.0 API refactor, some API classes had their context.commit() calls replaced with context.dispatchEvents().  This seems to be accidental as dispatchEvents() does not save the changes made in these classes...it just calls the event service to trigger various event consumers.
In most situations dispatchEvents() was replaced with commit().  However, a few other refactors were found:

In a few instances dispatchEvents() was followed by a commit() or complete(). In those cases, it was removed, as commit/complete will call dispatchEvents() themselves.
In at least one instance, minor refactoring was necessary as commit() decaches all objects in Session. This means objects cannot be accessed / manipulated after the commit().

This PR builds on #1824 (the first 3 commits are from that PR), and therefore #1824 must be merged first.
This PR essentially only adds this commit:

https://github.com/DSpace/DSpace/pull/1826/commits/394e01f68853ac2f520feaf8b417917bc1eecd5c

Flagged as a WIP, as there are currently some known issues with objects being detached from the Session (in the submission process) which results in errors like: failed to lazily initialize a collection of role: org.dspace.content.Community.parentCommunities, could not initialize proxy - no Session

Closing this PR.
While I still don't quite understand why these dispatchEvent() calls exist in these classes, the Submission process seems to work fine with them in place.  And replacing them with commit() seems to result in detached object issues (at least in the Submission Step classes).  So, we'll leave it as-is for now, until we find an actual bug that results from these other dispatchEvent() calls.


ST4 Support

ST4 is currently not supported and I had to disable package.
What are the plans to support Sublime Text 4?

Not sure why you think it is not supported ? it has been for more than a year now,  the highlight and completion were updated for ST4: maybe try reinstalling the package.

Sorry for the noise, I got a message about not being supported but it must have been a corner case in the upgrade process.
Again, sorry for the noise.


Writing "null" to LocalStorage causes a "Cannot read property 'id' of null" error to be thrown

In onStorageEvent, it is optimistically parsing values as JSON and then assuming that the result is an object. This causes "eventValue" to be "null" and then "eventValue.id" to fail.
There are different ways of solving this, but I would have thought that crosstab should be checking the "key" property of all incoming StorageEvents and only processing ones that are relevant to crosstab.
Is using:
if (event.key.indexOf('crosstab') !== 0) return;

a possible fix?

This is a great catch. I think checking the key is the right way to go, but it's probably a little more robust to do something like this:
// setup
util.storageEventKeys = {};
util.forEach(util.keys, function(key) {
    util.storageEventKeys[key] = 1;
});

// check
if (!event.key in util.storageEventKeys) {
    // Not a crosstab event
    return;
}


Detect incompatible samplers

Integer textures can't be used with linear sampling, for example. Doing so results in all zeroes...
cc @s3bk

Unlikely to address this as pre-ll is deprecated


Inconsistent arguments passed to pattern.replace function

When test is a Regex and the pattern.replace is a function, the match array is passed to pattern.replace
When test is a string, the file id is passed to pattern.replace
The former makes sense but not sure about the usefulness of the later.

The former makes sense but not sure about the usefulness of the later.

i find that it's useful to get the id in both cases. for instance if i want to replace require("([\w/.-]+).json") with the contents of that file, i need to resolve the path relative to the module id path.
consistency is good, and IMO the id should be the first arg in both cases followed by matches.
ping @jetiny ?


fail to reproduce the result of the Wikihop dataset

Following the implementation detail in Longformer paper, as below, I tried to reproduce the Roberta result on wikihop dataset, but only got f1 66.47 (lr=3e-5, epoch15, bsz64), much lower than 72.4 (in paper).

I want to check the way I implemented is correct.

There is only one sample in one batch, and each row of the batch stores one chunk of the sample.
Each chunk is represented as [q] question [/q] [ent] cand1 [/ent] [ent] cand2 [/ent] ... [ent] candN [/ent]  context1 , always carried with [q] question [/q] [ent] cand1 [/ent] [ent] cand2 [/ent] ... [ent] candN [/ent] .
I found the question in wikihop dataset is composed by a property and an object, such as

member_of_political_party thomas l. woolwine

so I replace the '_' with a whitespace.
4.  do not shuffle multiple contexts (supports) in one sample
5.  do not shuffle candidates in one chunk
Any suggestions and comments are welcomed. Thanks.

There is an implementation of the wikihop model on the mp/wikihop branch, see https://github.com/allenai/longformer/blob/mp/wikihop/scripts/wikihop.py


Added french localization and some portuguese

I'm not sure if the mod will handle the new language, I didn't fully understand the code.
I added the language in case you'll support it later.
I saw that the last two entries for portuguese were missing, so I added them with DeepL translator.
I put these changes in a different commit to be able to revert them if the translation is wrong.

Thank you for the contribution!


Uncaught svg manipulation error on linux

hi, thank you so much for this library, it's amazing.
I've found an uncaught error when processing some svg images, under linux.
it seems to be a pretty niche bug, so apologies if it belongs in librsvg or something.
The following brings down the process, and doesn't appear to be try/catchable:
const request = require('axios')
const link = 'http://pathways.io/assets/logo/svg/Pathways-2019.svg';

// fetch svg image to buffer
const response = await request.get(link, { responseType: 'arraybuffer' });
const buffer = Buffer.from(response.data, 'binary');

// resize + toBuffer
await Sharp(buffer)
    .resize(100)
    .toBuffer();
// never makes it here

it works on a mac - it even works if there's a needless await img.toFile('output.png'); stuck in there before the resize.
most svgs seem to work fine, here is another that causes it.
Do you have any recommendations?  I really appreciate your work.
cheers
  System:
    OS: Linux 4.9 Alpine Linux
    CPU: (6) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 122.00 MB / 1.95 GB
    Container: Yes
    Shell: 1.28.4 - /bin/ash
  Binaries:
    Node: 10.13.0 - /usr/local/bin/node
    Yarn: 1.10.1 - /usr/local/bin/yarn
    npm: 6.4.1 - /usr/local/bin/npm
  Utilities:
    Git: 2.18.1 - /usr/bin/git
  Languages:
    Bash: 4.4.19 - /bin/bash

Hello, thanks for the report. Is this using the latest version? Do you experience this only on musl-based Linux, i.e. is a glibc-based Linux such as Ubuntu OK?

thanks Lovell, I'll try it out on Ubuntu tonight.

this works on Ubuntu!
I'll close this, and use a less-weird docker image.
cheers
🙏


fix(fullcalendar): downgrade FullCalendar to fix frontend test failures

hospitalrun-frontend tests have been failing recently. The FullCalendar dependency was updated yesterday so I tried forcing all FullCalendar dependencies back to 4.3.0 using resolutions setting in the frontend package.json and my tests passed again.
Then I tried downgrading them in this repo, did a build and tested it against the frontend here: https://github.com/MatthewDorner/hospitalrun-frontend/actions/runs/38529580.
This also passed.

If this is the fix, I guess we'd need to publish it NPM before the frontend will pick up the changes right?

@MatthewDorner exactly. I'll do it this morning


ZotFile + Better Bibtex

I just installed ZotFile, and all of a sudden my better bibtex claims that it cannot find Zotero 4.0.27 or later. I definitely have the newest version of Zotero installed - is there a fix for this that I'm missing?

Closed - this seems like a general BBT issue with Zotero 4.0.27 from another issue thread.


RuneLite uses launched monitor resolution for determining resolution to expand to when "maximizing"

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
If you launch the client on a monitor that has a resolution of 800x600 (primary monitor) then drag it over to a monitor that is 1920x1080, when you attempt to maximize it, it will only expand to 800x600.
To Reproduce
Steps to reproduce the behavior:

Make your default monitor 800x600 or a lower res than monitor 2
Launch RuneLite
Drag RuneLite to the secondary (non-primary) monitor that is a greater resolution.
Click the "maximize" button
Unexpected behavior is the client will fail to properly maximize, and instead use the primary monitor's / launch monitor's max resolution to resize.

Expected behavior
When "maximize" is clicked the client should full screen to the new monitor's resolution.
Screenshots

Environment (please complete the following information):

OS: Windows 10 Pro 64 Bit, Version 1803
RuneLite version: [e.g 1.5.27 SNAPSHOT]
Launcher version: [e.g 1.6.3 SNAPSHOT]

Additional context
n/a

duplicate of #5153


Nexus 6P throw Exception

I use Huawei Nexus 6P , then throw BadgesNotSupportedException
"Current home launcher is not supported by Badges library"

AFAIK, the stock Google ROM doesn't include support for badges so you have to use another launcher in order to having them. Sorry, but it's a Launcher limitation :(


Need to fix featured scenario's for West-midden Brabant

On the website we have 2 featured scenario's for West-midden Brabant.

If you click on one of them, nothing happens.
Since no introduction page for the featured scenario opens, it is not possible to remove them.
After a short consultation from the @noracato we discovered that this is possibly broken since the area code of the scenario does no longer exist.
A migration thus needs to be written which replaces the area code for all scenario's.
Notifing @mabijkerk, will pick this up myself.

I wonder whether these scenarios are still relevant enough to keep them as featured scenarios.

To add to my previous comment, these scenario likely refer to the region code RGNB01 (see the Dataset Manager). This region is still maintained on ETLocal but no longer available on ETSource (see the datasets).
Writing a migration therefore will likely have no effect, since the region is no longer available. The two options are then:

Remove the featured scenarios
Re-install the region in ETSource using the available data on ETLocal

Finally, notifying @noracato, it would be useful at some point to add some error routing for this. Something like: "The region modelled in this scenario is no longer available in the model, contact Quintel for questions". What do you think?

it would be useful at some point to add some error routing for this

For the featured scenarios that would be a great idea. To keep the featured page, but without the open button.
Also handy because currently we run into the problem that, without being able to view the scenario's featured page, there is no way to press the 'unfeature' button anymore. I have to go manually into the database now to unfeature it...

I have to go manually into the database now to unfeature it...

Could you pick this up at some point @noracato?


Fix the garbage collection for orquesta workflow executions

Fix logic in identifying orphaned workflow executions which causes long running workflow executions to be canceled. Disable this garbage collection feature for orphaned workflow executions by default.

Please note that there are existing unit tests covering this feature @ https://github.com/StackStorm/st2/blob/master/st2common/tests/unit/services/test_workflow_identify_orphans.py.  Once the logic in the if statement was changed, these tests failed. Adding the additional filter id__ne when querying for ActionExecution fixes the issue.

Can you please point me to an explicit test case which checks that nothing is deleted / marked as canceled when config option is set to 0?
Aka in addition to testing the default value, also having an explicit test case which tests with 0.

@Kami Unit tests added to address your concerns.  Note, the garbage collector service has zero unit tests for other gc routines.  I only added tests to cover the issue here.

Merging to have it in master/packages ASAP


applist api 返回的数据有的缺失workload和trait字段

traits 确实不一定有，Workload类型一定要有，是个bug. \cc @zzxwill

Okay, I will look into it.

The app list changes to a table format which only needs name, status, created time. So workload and trait are not required. Closing this issue. Thanks.


[PSGTR/PSGFormer Log] Results are zero when training the PSGFormer

The problem is that results are always zero on the resnet50 and resnet101 backbone. What is the problem behind this phenomenon?

If you directly run our code without modification, maybe you did not load the pretrained model correctly.

Here we attach the log file for psgformer: 20220713_165141.log.
But notice that we use bbox-based IOU to compute recalls, which will produce a higher value than the default seg-based IOU recalls as we set here.

Thanks for your information, however, it seems that the model is properly/successfully loaded.

Not sure… Maybe pull the newest main and try to compare with the log file that we provided 20220713_165141.log.

Could you please share the log file of PSGTR? I also face some difficulty in reproducing that.

20220704_001919.log
Thank you for asking. Similar to PSGFormer, this PSGTR log also uses detection_method='bbox' when evaluating, which yields a bit higher results than detection_method='pan_seg'.

Hi @hszhoushen did you solve this issue? I also have the this zero issue

感谢您提供信息，但是，模型似乎已正确/成功加载。

Sorry to bother you， it seemd that i meet the same problem for loading the pretrained model, and the result continues to be zero. Did you fix the problem here?

20220704_001919.log Thank you for asking. Similar to PSGFormer, this PSGTR log also uses detection_method='bbox' when evaluating, which yields a bit higher results than detection_method='pan_seg'.

Dear authors,
Thank you for your excellent work! I have a minor confusion about the convergence speed of PSGTR. The provided log file illustrates that the convergence speed of PSGTR is satisfactory, e.g., reaching 29.8 @R100 at 12 epochs. However, in the main paper, the 12 epochs performance of PSGTR is very low. Is there some difference between them?
Thank you so much!


feat(touchable): handle android overflow

Description
Many of the touchable components on Android do not respect their border radius. This causes rounded icons to have a rectangular ripples. By default this rounded border container is disabled to preserve existing styles.

Home Action Before
Home Action After
Dapp Card Before
Dapp Card After

Test plan

Tested locally on Android for correct behavior.
Tested locally on iOS for regressions.

Related issues

Fixes RET-810

Backwards compatibility
Yes

@kathaypacific - For the first point we could maybe make a new touchable component and depreciate the existing one so all new code would use a different touchable, this seems like a better path and is similar to way the bottom sheet upgrades were handled.
Regarding the second point I started down that route, but there were 50+ snapshots that needed updating and at first glance several newer components without snapshot tests that needed to be updated: I imagine quite are few more impacted I didn't see. As such I went with the smaller change instead to keep the scope small; if we find a touchable that has a ripple that doesn't respect the border we can fix ad-hoc.

makes sense. my 2c here is we should always try to find solutions that make it harder for us to create new instances of a bug. the PR as it is now doesn't achieve that IMO because the prop that is required to fix the bug is optional and is easy to miss during development and reviews. so along that line of thinking, making a new component and deprecating the old one seems sensible and lowest lift. although i also feel that updating the existing component might not be a huge lift either but i could be missing something (it has the added benefit of fixing the problem all at once, i can imagine that we never get round to fully deprecating an old component) - lmk if you prefer the latter option, i'd be happy to work on it too because i love this kind of refactors!!

@kathaypacific I took a look at deprecating the current touchable component and creating a new one, but decided against it as that seems like its own stream of work. I took a look at adding a isLegacy prop and if present using the touchable without the view; however, for rectangular components we don't need the view wrapper and the isLegacy === (borderRadius === 0) logic seems more confusing then simply looking at the borderRadius. Ultimately I decided to avoid scope creep I'd keep it simple and just add some additional docs.


NuGet Sandwych.QuickGraph.Graphviz

There is only Sandwych.QuickGraph.Core available in NuGet.
Can you add Sandwych.QuickGraph.Graphviz to NuGet also?

Sorry for my late response.
The Graphviz part seems not good enough for production release. Maybe this weekend I will found some free times to make it happen.

would be great to see that. Just drop me a note when you need help @micky53

for now I implemented a subset of the export in our own code, but looking deeper into the original implementation I know what you're talking about @oldrev .
Nevertheless I'm happy to contribute, if help is appreciated. Not needed for me any more, and not worth it if it's not used by others / included in the packages later.

I forked YC.QuickGraph to make QuikGraph and I made a separate package for Graphviz features. Here is a link to the nuget. The most important one is the first package (2.1.0) which fixes number of strange/not working stuff and add a big set of unit tests.
Hope it will help someone.


Installation error

zuphilip@zuphilip-VirtualBox:~/ocr-transform$ sudo make install
[sudo] password for zuphilip:
mkdir -p /usr/local/share/ocr-transform
cp -rv -t /usr/local/share/ocr-transform xslt
‘xslt’ -> ‘/usr/local/share/ocr-transform/xslt’
‘xslt/hocr2alto2.0.xsl’ -> ‘/usr/local/share/ocr-transform/xslt/hocr2alto2.0.xsl’
‘xslt/alto2hocr.xsl’ -> ‘/usr/local/share/ocr-transform/xslt/alto2hocr.xsl’
‘xslt/hocr2alto2.1.xsl’ -> ‘/usr/local/share/ocr-transform/xslt/hocr2alto2.1.xsl’
cp -rv -t /usr/local/share/ocr-transform saxon9he.jar
cp: cannot stat ‘saxon9he.jar’: No such file or directory
make: *** [install] Error 1

Until now, you have to run make (without arguments) and then make install. Should be fixed now, make install should download Saxon-HE if it's not there.

Okay, it downloads the file but there is another error now:
mkdir -p /usr/local/share/ocr-transform
cp -rv -t /usr/local/share/ocr-transform xslt
cp: cannot stat ‘xslt’: No such file or directory
make: *** [install] Error 1

I just committed my changes to this repo, please do git pull, make clean and [sudo] make install. Thanks!

Yes, installation works now! Thank you!


Update Kotlin to 1.5.0

Blocking plugins:

[x] kapt (android) #134
[ ] compose

Other todos:

[x] Update build scripts
[ ] Webpack fix

Fixed in #215


[WIP] Read Library Foundations PD

Excellent! Has some synergy/overlap I think with "Added Read / Contig Sequence Alignment Foundations PD"

This seems to overlap with a PD @mlhenderson put in.  We need to pick one to work with.  Should we merge this. @psdehal  What do you think?


Blitz API failing during the installation process of raspiblitz v1.8: "ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE."

Describe the bug
During the blitz_apiinstallation process, performed by the build_sdcard.sh script from the raspiblitz project, I came across the following error, in a generalized format for several packages:
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    <MODULE_NAME>==<VERSION> from https://www.piwheels.org/simple/<MODULE_NAME>/<WHEEL_FILE>.whl#sha256=<HASH_ERROR_FROM_PIWHEELS> (from -r requirements.txt (<SOME_LINE>)):
        Expected sha256 <HASH_PYPI_1>
        Expected     or <HASH_ANOTHER_INDEX>
             Got        <HASH_ERROR_FROM_PIWHEELS>

To Reproduce
Steps to reproduce the behavior:

Build Raspiblitz SDCard  to version 1.8 with fatpack option enabled
Wait until Blitz API installation process occur (message "# INSTALL Web API ...")
Got the mentioned error

Expected behavior
The pip install -r requirements.txt command used to install blitz_api call on many --hash:sh256:<some_hash> command options to check every .whl file consistency. Every package must have a correct hash provided by a index (pypi or piwheels).
Desktop:

OS: Linux
LN implementation: LND
Platform: Raspiblitz 1.8 in raspiberry pi 4

Additional context
The raspiblitz project uses  https://www.piwheels.org/simple/ index for install packages, therefore, some hashes described in requirements.txt will be different from those described in pypi's index.The requirements.txt file must be updated to indicate the correct index piwheels hashes.
In this way I indicate the following update done manually, for verification of the developers and a later PR if it is approved.

updated my requirements file manually here
https://github.com/ChuckNorrison/blitz_api/commit/92a26ac6ec2a91d15006561e930462fe2679c979

Thanks for the PR!
@qlrd how did you update the requirements file? Just by running poetry export --output requirements.txt?

| @qlrd how did you update the requirements file? Just by running poetry export --output requirements.txt?
@fusion44, I have had coded one hash at a time. I was updating my raspiblitz and encountered this issue.
So I hunted down where the error was and, concluding that it wasn't raspiblitz, but blitz_api, updated the hashes, one by one, according to the outputs indicated by the command pip install -r requirements.txt.
Each error provided a proper link in the form https://www.piwheels.org/simple/<MODULE_NAME>/<WHEEL_FILE>.whl#sha256=<HASH_FROM_PIWHEELS>by the command, what I added was the HASH_FROM_PIWHEELS.

Can I close?

@qlrd No, please don't yet. It is not clear to me yet why this happened.
Please try poetry export --output requirements.txt and install with this generated requirements file. If it still fails then something else is off. We should not have to manually edit the requirements file.

Please try poetry export --output requirements.txt and install with this generated requirements file. If it still fails then something else is off. We should not have to manually edit the requirements file.

@fusion44, i will try fast as i can (maybe with the commit before the PR)

@fusion44, i ran poetry update && poetry export --output requirements.txt and the output is:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Ignoring cffi: markers 'python_version >= "3.9" and python_version < "4.0" and implementation_name == "pypy"' don't match your environment
Ignoring colorama: markers 'python_version >= "3.9" and python_version < "4.0" and platform_system == "Windows"' don't match your environment
Ignoring py: markers 'python_version >= "3.9" and python_version < "4.0" and implementation_name == "pypy"' don't match your environment
Ignoring pycparser: markers 'python_version >= "3.9" and python_version < "4.0" and implementation_name == "pypy"' don't match your environment
Collecting aiohttp==3.8.1
  Using cached aiohttp-3.8.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB)
Collecting aiojobs==1.1.0
  Using cached https://www.piwheels.org/simple/aiojobs/aiojobs-1.1.0-py3-none-any.whl (12 kB)
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    aiojobs==1.1.0 from https://www.piwheels.org/simple/aiojobs/aiojobs-1.1.0-py3-none-any.whl#sha256=acdfa7df718c7273522d237b25644651bf6eef834f71f1bf0e3bb579d54a2daa (from -r requirements.txt (line 74)):
        Expected sha256 2080af76fda924bf2a60446f9b4435b11bb2418315c82664b07c2bb369b595d3
        Expected     or f0c43dfc4de359052a67df309b593732c32028deef1bb787c7a363da29accde3
             Got        acdfa7df718c7273522d237b25644651bf6eef834f71f1bf0e3bb579d54a2daa

On last sd card build test (building main branch) I also got this error and install failed:
  Downloading https://www.piwheels.org/simple/ordered-set/ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Collecting packaging==21.3
  Using cached https://www.piwheels.org/simple/packaging/packaging-21.3-py3-none-any.whl (40 kB)
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    packaging==21.3 from https://www.piwheels.org/simple/packaging/packaging-21.3-py3-none-any.whl#sha256=36bb3108f8e33f88e52e7985b4068e2585b67e5b7b3a0fa2817f9852bc39d2ef (from -r requirements.txt (line 498)):
        Expected sha256 dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb
        Expected     or ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522
             Got        36bb3108f8e33f88e52e7985b4068e2585b67e5b7b3a0fa2817f9852bc39d2ef

error='pip install failed'

Downloaded packaging 21.3 with wget as recommended here
wget https://www.piwheels.org/simple/packaging/packaging-21.3-py3-none-any.whl
then check the hash of the file with pip:
pip hash packaging-21.3-py3-none-any.whl
packaging-21.3-py3-none-any.whl:
--hash=sha256:36bb3108f8e33f88e52e7985b4068e2585b67e5b7b3a0fa2817f9852bc39d2ef

The hash in requirements file does not match, but it does some time ago and package version did not change, its still 21.3. piwheels issues are full with this behaviour.

I tested now with resetting the main branch to release tag v0.5.0-beta (that build worked before) ... but now its failes with:
Collecting aiosignal==1.2.0
  Downloading https://www.piwheels.org/simple/aiosignal/aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    aiosignal==1.2.0 from https://www.piwheels.org/simple/aiosignal/aiosignal-1.2.0-py3-none-any.whl#sha256=795a51b23e074d030519301177892f0c5ebc4384ddf49fabadeca87aac8462e6 (from -r requirements.txt (line 80)):
        Expected sha256 26e62109036cd181df6e6ad646f91f0dcfd05fe16d0cb924138ff2ab75d64e3a
        Expected     or 78ed67db6c7b7ced4f98e495e572106d5c432a93e1ddd1bf475e1dc05f5b7df2
             Got        795a51b23e074d030519301177892f0c5ebc4384ddf49fabadeca87aac8462e6

error='pip install failed'

pi@raspberrypi:/home/blitzapi/blitz_api $ git log --name-status HEAD^..HEAD
commit f282e3af8d351d5dec742d74d8678f59db5f6c4d (HEAD -> main, tag: v0.5.0-beta)
Author: fusion44<EMAIL_ADDRESS>Date:   Mon Jul 25 18:07:35 2022 +0200

    fix: add missing imports

M       app/main.py

@rootzoll here the latest  aiosignal==1.2.0  passes (with the last raspiblitz 1.8.0), but another failure occurs with the package wrapt:
Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall

Locally, I "resolved" this with the following command:
pi@[IP]> sudo su blitzapi
blitzapi@[IP]> cd /home/blitzapi/blitz_api
blitzapi@[IP]> pip install wrapt --upgrade --ignore-installed
blitzapi@[IP]> exit
pi@[IP]> sudo /home/admin/config.scripts/blitz.web.api.sh on

But the result was:
...
[a lot of installation...]
...
# Update Web API CONFIG (Sun 20 Nov 16:46:49 GMT 2022)
# init secret ...
# CONFIG Web API ... still in setup, skip bitcoin & lightning
# '.env' config updates - blitzapi maybe needs to be restarted

[Unit]
Description=BlitzBackendAPI
Wants=network.target
After=network.target mnt-hdd.mount

[Service]
WorkingDirectory=/home/blitzapi/blitz_api
# before every start update the config with latest credentials/settings
ExecStartPre=-/home/admin/config.scripts/blitz.web.api.sh update-config
ExecStart=/usr/bin/python -m uvicorn app.main:app --port 11111 --host=<IP_ADDRESS> --root-path /api
User=blitzapi
Group=blitzapi
Type=simple
Restart=always
StandardOutput=journal
StandardError=journal
RestartSec=60

# Hardening
PrivateTmp=true

[Install]
WantedBy=multi-user.target

Created symlink /etc/systemd/system/multi-user.target.wants/blitzapi.service → /etc/systemd/system/blitzapi.service.
ERROR: Couldn't determine iptables version
# the API is now running on port 11111 & doc available under:
# http:///api/docs
# check for systemd:  sudo systemctl status blitzapi
# check for logs:     sudo journalctl -f -u blitzapi
# blitz.conf.sh set blitzapi on
# FAIL: missing config file: /mnt/hdd/raspiblitz.conf

Cannot uninstall 'wrapt'.

The wrapt problem I fixt alrteady (see brach sdcard-fix on raspiblitz repo) with adding warpt to the globals pip installs: https://github.com/rootzoll/raspiblitz/blob/67d2f7591310bfc8c389fe5fe4576a7d4f0bdb51/build_sdcard.sh#L324 and the mako problem by adding python3-mako to the apt-get: https://github.com/rootzoll/raspiblitz/blob/67d2f7591310bfc8c389fe5fe4576a7d4f0bdb51/build_sdcard.sh#L308

here the latest aiosignal==1.2.0 passes

hmm  .. why is that not passing on my side? @fusion44 I mean I use the tag v0.5.0-beta that even compiled before. Why now the error?

The API part only. I don't think it is applicable for many other apps we usually install on the Blitz.

I'll close this for now. If the error persists, please open a new issue.


[iOS] Playing a sound sequence

Hi,
I would like to play a sequence of 3 sounds using a click trigger and the 'ended' buzz event.
The following code works well on desktop HTML5 browser.
On iOS5 Safari, the first sound is played, the 'ended' event is detected but the second sound doesn't start...
On iOS4 Safari, no sound is played at all.
var sound1 = new buzz.sound("mp3/h5.mp3"),
sound2 = new buzz.sound("mp3/q3.mp3"),
sound3 = new buzz.sound("mp3/m5.mp3");
sound1.bind("ended", function(e) { 	sound2.play(); });
sound2.bind("ended", function(e) { 	sound3.play(); });
$(document).ready(function() {
$('#play').click(function() {
sound1.play();
});
});
Does anyone know if it's a iOS limitation?
Any help is welcome!
Thanks in advance.

Hi.
It looks like a IOS limitation.
As far as I know, no sound can be played without being triggered by the user itself.


Users should be able to reply from notifications

Not completely sure how to pull this one off...

Based on what I can (and can't) see in the web code, this would be really hard.  They just aren't exposing anything that I can see to hook into.  Unless a javascript guru sees something I don't...


Private registry can upload and download the image tar package

Is your feature request related to a problem? Please describe.
Private repository upload and download the image tar package.

You'll need to make an effort here regarding the description/title of the issue. Can you re-phrase it? Sorry but I don't understand the purpose of this feature request.

This issue has been marked as stale as it has not had recent activity, it will be closed if no further activity occurs in the next 7 days. If you are able to reproduce this issue on the latest version of Portainer, feel free to leave a comment and we can pick up this issue again.

Since no further activity has appeared on this issue I will close it for now. If you are able to reproduce this issue on the latest version of Portainer, feel free to leave a comment and we can pick up this issue again.


gui not working on windows

File "d:\06_Python\iColoriT\iColoriT_demo\gui\gui_gamut.py", line 74, in paintEvent
painter.drawLine(x - w, y, x + w, y)
TypeError: arguments did not match any overloaded call: argument 1 has unexpected type 'float'
Install python 3.9 no its working

I hit the same problem using MacOS Sonoma.
I use Warp as my CLI terminal and it has a very useful AI based natural language search feature which rapidlly identified the problem as integer functions being passed float values. It suggested the following corrections, changing 3 lines of code as follows:
iColoriT_demo\gui\gui_gamut.py", line 74, in paintEvent
painter.drawLine(x - w, y, x + w, y)
TypeError: arguments did not match any overloaded call: argument 1 has unexpected type 'float
The fix is to use int() in Lines 74 & 75:
painter.drawLine(int(x - w), int(y), int(x + w), int(y))
 painter.drawLine(int(x), int(y - w), int(x), int(y + w))

And iColoriT_demo/gui/ui_control.py", line 85, in update_painter
painter.drawRoundedRect(self.pnt.x() - w, self.pnt.y() - w, 1 + 2 * w, 1 + 2 * w, 2, 2)
Fix:
painter.drawRoundedRect(int(self.pnt.x() - w), int(self.pnt.y() - w), int(1 + 2 * w), int(1 + 2 * w), 2, 2
This seems to have fixed it

@RobBW Hi, thanks for taking a look into the codes. I wasn't aware of these type checks that somehow didn't through an error in my environment. Your fix should do the work. Feel free to make a pull request or we will update the codes in the nearest availability.
Thanks again!

@RobBW Hi, thanks for taking a look into the codes. I wasn't aware of these type checks that somehow didn't through an error in my environment. Your fix should do the work. Feel free to make a pull request or we will update the codes in the nearest availability.
Thanks again!

I will not be able to test my suggested changes until I update to MacOS Sequoia. This will not happen until late December. I suggest that you generate the pull, I do not have the experience with github to be sure of getting it right
Regards
Rob
@.***

On 2 Dec 2024, at 19:03, JooYeol Yun @.***> wrote:
@RobBW https://github.com/RobBW Hi, thanks for taking a look into the codes. I wasn't aware of these type checks that somehow didn't through an error in my environment. Your fix should do the work. Feel free to make a pull request or we will update the codes in the nearest availability.
Thanks again!
—
Reply to this email directly, view it on GitHub https://github.com/pmh9960/iColoriT/issues/18#issuecomment-2510651645, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRNQJUQY7PIZBQ2IBX5O632DPZ4DAVCNFSM6AAAAABILQILLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJQGY2TCNRUGU.
You are receiving this because you were mentioned.


Feat(DropdownMenu): submenu delay

Feature request: add to DropdownMenu component debounce logic for this behavior:
https://github.com/gravity-ui/uikit/assets/74184888/93c2d1fb-ab7a-4de3-896b-0fb77b19e64b

@axtk Hey! What do you think about it?

I'll look into this in a while


depreciate: depreciate ssl 3.0 support

Required for all non-trivial PRs

[x] Rebased/mergable
[x] Tests pass
[x] CHANGELOG.md updated

I didn't use a formal logger because I didn't want to re-architect the objects for a change that will be short lived (we intend to remove ssl 3.0 support in the next version).
We have to do this, if we want to be able to continue upgrading to newer versions of go.
Closes https://github.com/influxdata/kapacitor/issues/2321

I'm closing this issue as stale.  We had to update the version of go to avoid a security problem, which decided this issue for us.


Adding tests for navigation

adding data-testid,
adding function for opening all internal links in footer,
adding tests for opening external/internal links,

Additional information:
I was trying to add function to open all available external links, but I did not achieve this. So I decided to create test with opening only one external link.

Task linked: SALEOR-7602 SRS naviagtion tests 04


feat: Deep connector Instantly (Metadata)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#925  👈
#923
#922
#914 : 1 other dependent PR (#915 )
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Cobalt0s and the rest of your teammates on  Graphite


Require release commits to be signed

🎉  LGTM - you could also add the -s flag for taking the ownership of the commit.

👍  nice proposal. Implemented in 5ddf6301c2f68e816353972fc3b4027da19b2153.


Dev

See #178

@poplexity It looks like dev is ahead of master, the original PR I merged was just deletion of template files. If it's all familiar and good to go feel to merge.


CICD to build evmapp image and push it

This PR introduces CICD for building docker image of EON app. There are couple of things I would like to ask @paolocappelletti if we can do a bit diff on this repo to match with our other releases repos like SDK, cryptolib, sparkz and etc.

Can we build PROD versions ONLY off main branch and it has to be in the format of digit.digit.digit
Can we build DEV versions ONLY off development branch and it has to be in the format of digit.digit.digit-SNAPSHOT Keep it in mind SNAPSHOT without any digits after. However, GITHUB TAG can be named digit.digit.digit-SNAPSHOT[0-9]* if needed. By doing this we will ensure new code is being released but version of the PACKAGE stays the same from within APP level.

I will be happy to hear some comments, concerns regarding this.
P.S. We will be adding mvn build and test commands to the pipeline in the nearest future as well.

going to approve and merge!
no problems on the tag conventions!  I just followed previous style by Oleksander but  agree is better to unify it.

@paolocappelletti I am going to add YOUR GPG key to MAINTAINERS_KEYS, thus you will the only ONE + infra be able to build a RELEASE version that will be pushed to Docker Repos. It means YOU the one who needs to create a TAG off main or dev branch and push it to ORIGIN


Propose HIPE: Indy Docs Repo

indy-docs-repo HIPE
Signed-off-by: Michael Joseph McKean<EMAIL_ADDRESS>

This HIPE doesn't talk about where each doc lives.  We would rather not centralize this content into one github repo.  Please explain how the content is pulled into the github.io page.

I would like this HIPE to talk a bit about release formalities: how do docs get updated in conjunction with a formal release of a particular repo? How are they labeled? How is the version of the docs discovered and matched to the version of the code? Etc?

Thank you for the feedback!
@nage after some discussion, we revised the HIPE to focus on a Read The Docs hosting. The process of pulling the content is now described more clearly in the tutorial.
A good topic for discussion is whether or not to have this content centralized in one repo. We did briefly elaborate on some drawbacks for both situations; however, this topic may still have much to be discussed.
@dhh1128 we added a versioning section to address your questions. Open to any and all discussion.

I think moving to the Read the Docs is a great solution. Hyperledger Fabric does it as mentioned. There are drawbacks. However, the logic seems binary. If Hyperledger Indy wants to have the reputation of easy onboarding, less confusion about the docs and known for having things up-to-date, then moving to Read the Docs will need to be done.
A previous solution proposed was to pull the "onboarding" type documentation into Read the Docs and to then leave the "grittier" developer docs within the doc folder of each repo it pertains to.
Regardless of which solution is chosen, it seems that Read the Docs is the best solution to move forward with and efforts should be made toward that end. It may cause pain initially, but once it's done, it's done, outside of maintenance of course.
If the end goal is to reach a place where Indy documentation is as consistent as for example, Fabric's (and in keeping in continuance with the Hyperledger brand), then moving to Read the Docs must be done.
Recommendations for scaling the work:

1 maintainer = moving "onboarding" docs to Read the Docs first
2 maintainers = moving Release Notes along with "onboarding" docs
3 maintainers = the above + cleaning up the docs folder in each repo along with adding a reference link to the new Read the Docs location at each README in all the repos.
4 maintainers = all of the above plus coordinating the move of each repo specific doc folder to Read the Docs if that is what is decided to do.

status update: mjmckean and I are addressing concerns from the community and working on a demonstration for this hipe.

This PR can be closed in favor of https://github.com/hyperledger/indy-hipe/pull/63

Closed in favor of already merged #63


Backplane fails to recover after disconnect

We've been testing our server's ability to recover when nodes in a cluster go down.  Recently we fixed an issue in RabbitMq.Client where their auto-recovering model was crashing on stale delivery tags.  Before this fix, we observed that our pub/sub channels were not reconnecting in pairs, we would only get one channel back up after recovery.
After the fix, most of our Rabbit connections were recovering fine, but we noticed SignalR was only opening 1 channel instead of the usual 2.  I noticed SignalR.RabbitMq was connecting with EasyNetQ, which disables the auto-recovering model.
Long story short, we decided to try and replace EasyNetQ with just the base RabbitMq.Client, and it worked great, we're able to recover normally when a node goes down.
https://github.com/Entroper/SignalR.RabbitMq/commit/373b0827d85cc65efbccfbc44dfe5922696ca59d?w=1
This is kind of a disruptive change, so rather than opening a PR, I thought I would just show our solution and open a conversation.  It's my understanding that the auto-recovering model is fairly new to RabbitMq.Client, and EasyNetQ has its own recovery strategy.

Hey,
Thanks for getting in touch.
From memory using the EasyNetQ library was 90% due to its re-connection ability. As that is built into the RabbitMQ.Client I would be pretty keen to drop the dependency. It also sounds like their reconnect functions seem to be competing with each other.
I would love a PR with your changes - especially as it means overall less code to look after!
I do have some queries (bear in mind I'm being lazy here)

can we upgrade the nuget reference to RabbitMQ.Client to the latest?
can we loose the Json.Net package as a dependancy if we loose EasyNetQ?

Thanks again for your time,
Mark

Splendid!
I have some more testing and some cleanup to do, but I'll get the PR in soon.  I'll check on the other nuget references.
Come to think of it, I'm actually hard-referencing our internal build of RabbitMQ.Client for the moment, since that includes the fix for the stale tag issue.  Might not want to merge this until that fix is pushed to nuget.

Apparently the fix was already pushed in RabbitMQ.Client 3.6.3 last week, so I can just update to that version.

So, the base project was already not dependent on Newtonsoft.  The console and example projects required Newtonsoft because of SignalR.

I've merger your  PR - thanks again!

@Entroper if you get a moment could you try out the latest nuget file? It is on AppVeyor
https://ci.appveyor.com/project/mdevilliers/signalr-rabbitmq/build/artifacts
Thanks,
Mark

@mdevilliers I'll try to remember to test the package on Monday.  Thanks!

@mdevilliers We tested yesterday and today, everything works great.

Thanks for that - I'll make the new nuget release


Allow for agent pool mode selection

Fixes #11
@duckie can you please take a look at this PR, as well as my other one?

Hi, thanks for the review!
Regarding conflicts: it was indeed due to the previous merge, I've fixed them.
Regarding the taint: my main goal here is actually not to run user workloads on User nodes only, but rather to save costs with a set-up like this

a System node pool with exactly 1 node (which is the minimum required by AKS) on a relatively small VM, and
a User node pool with 0 to N nodes, with AKS auto-scaling enabled, on bigger VMs

Since it doesn't conflict your suggestion to allow users to add the CriticalAddonsOnly=true:NoSchedule taint on the System node pools, I'll add the option as well, but I'd rather leave it off by default if that's all right with you.
WDYT?

Glad I could help! While you're there, could you also take a look at my third (and final) PR? It's mostly cosmetic / organizational : https://github.com/dataiku/dss-plugin-aks-clusters/pull/23

Glad I could help! While you're there, could you also take a look at my third (and final) PR? It's mostly cosmetic / organizational : https://github.com/dataiku/dss-plugin-aks-clusters/pull/23

Sure, I'll review it in the upcoming days.

Sure, I'll review it in the upcoming days.


Add Eightify

Thanks, looks great 🤘

@MrtnvM  are you the creator of Eightify?
I created a twitter profile for ai-collection and I want to tweet about it and mention the creator.


Add hreflang to sitemap entries

The sitemap is missing hreflang specification.
Specifying hreflang on links is useful to prevent the risk of SEO cannibalisation.

I'm looking into this (can't assign myself for some reason).


Feature Request - Disable Timer

Can there be an option to disable/hide the timer altogether?

Thanks for the suggestion!


terminal "goes dead" after quitting a TUI application

Any time a break a loop (and I don't mean through an error, just normally), the terminal "goes dead" meaning that it no longer appears to accept any user input.  I figured this was coming from somewhere in TUI.cleanup() (since the programs themselves seemed to work normally) but this seems to happen even if TUI.cleanup() is not called, so something seems to be going wrong before this.
This is happening on alacritty.  I happened to have gnome-terminal on this machine so I checked that, and I get the same behavior, so it probably isn't terminal specific.

I think I'm hitting the same problem. More specifically, when running an example like julia examples/barchart.jl on the command line, there is no problem, but when I include the file from within the Julia REPL, my whole screen goes "dead" (after quitting the TUI app with q), and I have to kill the julia process. Do you know of a trick to get out of the dead state without having to kill julia?

copying the code examples straight from GitHub and pasting in the REPL also leads to the REPL freezing/dying. Everything works while in the example until using 'q'. The program exits, I'm back in REPL, and cannot do anything but terminate the process.

Can you tell me what terminal / operating system?


How to add custom HEADERS when submit form data, like X-CSRF-TOKEN and so on

Hai I'm use laravel framework and  require X-CSRF-TOKEN to all request for API,
How to add custom HEADERS when submit form data, like X-CSRF-TOKEN and so on

Hi @farindra. Your question is likely more pertaining to Laravel rather than CF, but let me try to help you out.

Expose the token to the client eg. by writing it to a variable on window. Here is an example of how to  do that.
I assume you are doing an AJAX request? If so just pass the token like this.

If you are doing a traditional submit you need to add the tokens as hidden fields to your form like this.

yes @jenssogaard i know that all method, but in chat mode those not working. where is submit code in chat mode?

@farindra can you please share more code? Maybe screenshots of your code or the form with X-CSRF token. Without more detail, it is too hard to figure out what is wrong.

Can you tell me that....how can i make a request in html csrf poc with X-csrf-token http header ?