NIFI-3221 ExecuteStreamCommand: Add a new property for setting the argument passing strategy, either …

…the existing parameter, or by adding new dynamic parameters, along with implementation and tests
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[-] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[-] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[-] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[x] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered?

per @joewitt , tagging folks who have worked on this processor to try to scare up a review.
@JPercivall , @mattyb149 , @apiri , @joewitt, git shows you all as having experience with this, can you take a look?

Anyone able to give this a peek?  Just trying to keep it active

touch pr#3396

+1 based on reviewing code/unit tests. Running full clean build and if good will merge.  THanks

Thanks @joewitt!


init container to wait until the first secret is ready

Assume that a Pod needs a secret mounted from a volume.
Have an initContainer that waits for the secret to arrive
and then launch the actual container.
This way, the secret that the container needs will already be available.
The same thing can be done for the "create actual kubernetes secrets with Notary" use case too.
An init container can wait for the secret to be available and
then the acutal secret will be mounted too.
The init container "may" talk to notary too if needed, I’m not sure.

initcontainer: polls safe until there is a secret and that secret is unempty; then exits with success.
this can be done in conjunction with Aegis Notary; that requires the following use cases

demo workload using init container and sdk
demo workload using init container and sidecar
demo workload using init container and secrets


Introduce more type-safe identifiers

Scope & Purpose
The goal of this PR is to replace some more of our old identifier types, which were just aliases for uint64_t with proper types akin to LocalDocumentId, so that the compiler can help us catch type errors if we mismatch ID types.

[x] Strictly new functionality (i.e. a new feature / new option, no need for porting)

Testing & Verification
This change is a trivial rework / code cleanup without any test coverage.

http://jenkins01.arangodb.biz:8080/job/arangodb-matrix-pr/9181/


please implement regexReplace in Templates

Hello, here is the user story i would like to see in goss:
I would like to check the presence of some file, which is named with a pattern that can be calculated with a regex replacement from a variable that i already have.
For example I want to check the presence of a file /home/{{$prefixname}}/user/example, and $prefixname can be calculated from some variable (that i can get from readFile or from other means).
For the example lets say i can define $hostname:
{{ $hostname := readFile "/etc/hostname" }}

Now i would like to use this variable to calculate the content of the new variable $prefixname, with a regex replacement.
Some implementation one could think of would be something like following, except the fact that the strings package is not available:
{{ $prefixname := strings.Replace($hostname, "-sftp01", "", 1) }}

Is there already a way to achieve that?
Is it something you would implement?

The addition of sprig made this possible #553
Here's an example where "foo.txt" contains the string "foo"
{{ $fcontent := readFile "/tmp/foo.txt" }}
{{ $prefixname := regexReplaceAll "oo$" $fcontent "" }}

matching:
  test:
    content: {{ $prefixname }}
    matches: "f"

Thanks!


Task/sport filter

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 68.151%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
306

Relevant Lines:
449

💛  - Coveralls


Update dependencies to resolve a few CVEs

github.com/kataras/iris: CVE-2021-23772
github.com/microcosm-cc/bluemonday: CVE-2021-42576

Thanks!


OutOfMemoryError: Java heap space issue

Issue submitter TODO list

[X] I've looked up my issue in FAQ
[X] I've searched for an already existing issues here
[X] I've tried running master-labeled docker image and the issue still persists there
[X] I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)
We can run kafka-ui for severak hours until it's unable to update our PROD cluster (~2-4m msg\sec)
Expected behavior
Working without quit on
ERROR [boundedElastic-47] r.c.s.Schedulers: Scheduler worker in group main failed with an uncaught exception java.lang.OutOfMemoryError: Java heap space
Your installation details
latest docker image
Red Hat Enterprise Linux Server release 7.5 (Maipo)
Steps to reproduce

add cluster
after half an hour to hour it'll quit with ERROR.

Screenshots
No response
Logs
2023-05-30 10:37:48,422 DEBUG [parallel-3] c.p.k.u.s.ClustersMetricsScheduler: Start getting metrics for kafkaCluster: DEV
2023-05-30 10:37:50,198 INFO  [boundedElastic-47] o.a.k.c.m.Metrics: Metrics scheduler closed
2023-05-30 10:37:50,198 INFO  [boundedElastic-47] o.a.k.c.m.Metrics: Closing reporter org.apache.kafka.common.metrics.JmxReporter
2023-05-30 10:37:50,198 DEBUG [parallel-4] c.p.k.u.s.ClustersMetricsScheduler: Start getting metrics for kafkaCluster: PROD
2023-05-30 10:37:50,198 INFO  [boundedElastic-47] o.a.k.c.m.Metrics: Metrics reporters closed
2023-05-30 10:37:50,720 INFO  [boundedElastic-47] o.a.k.c.u.AppInfoParser: App info kafka.consumer for kafka-ui-99958824-d4c2-47c8-9661-2175ceeaf384 unregistered
2023-05-30 10:37:50,720 ERROR [boundedElastic-47] r.c.s.Schedulers: Scheduler worker in group main failed with an uncaught exception
java.lang.OutOfMemoryError: Java heap space
2023-05-30 10:37:50,722 DEBUG [parallel-3] c.p.k.u.s.ClustersMetricsScheduler: Metrics updated for cluster: DEV
2023-05-30 10:37:59,659 INFO  [kafka-admin-client-thread | adminclient-1] o.a.k.c.u.AppInfoParser: App info kafka.admin.client for adminclient-1 unregistered
2023-05-30 10:37:59,662 ERROR [parallel-3] c.p.k.u.s.MetricsService: Failed to collect cluster PROD info
org.apache.kafka.common.errors.TimeoutException: Call(callName=describeConfigs, deadlineMs=1685443131054, tries=1, nextAllowedTryMs=-9223372036854775709) timed out at<PHONE_NUMBER>854775807 after 1 attempt(s)
Caused by: org.apache.kafka.common.errors.TimeoutException: The AdminClient thread has exited. Call: describeConfigs
2023-05-30 10:37:59,662 DEBUG [parallel-3] c.p.k.u.s.ClustersMetricsScheduler: Metrics updated for cluster: PROD
2023-05-30 10:37:59,667 INFO  [kafka-admin-client-thread | adminclient-1] o.a.k.c.m.Metrics: Metrics scheduler closed
2023-05-30 10:37:59,667 INFO  [kafka-admin-client-thread | adminclient-1] o.a.k.c.m.Metrics: Closing reporter org.apache.kafka.common.metrics.JmxReporter
2023-05-30 10:37:59,667 INFO  [kafka-admin-client-thread | adminclient-1] o.a.k.c.m.Metrics: Metrics reporters closed
2023-05-30 10:37:59,667 ERROR [kafka-admin-client-thread | adminclient-1] o.a.k.c.u.KafkaThread: Uncaught exception in thread 'kafka-admin-client-thread | adminclient-1':
java.lang.OutOfMemoryError: Java heap space
2023-05-30 10:38:18,349 DEBUG [parallel-4] c.p.k.u.s.ClustersMetricsScheduler: Start getting metrics for kafkaCluster: PROD
2023-05-30 10:38:18,349 DEBUG [parallel-3] c.p.k.u.s.ClustersMetricsScheduler: Start getting metrics for kafkaCluster: DEV
2023-05-30 10:38:18,350 ERROR [parallel-4] c.p.k.u.s.MetricsService: Failed to collect cluster PROD info
org.apache.kafka.common.errors.TimeoutException: Call(callName=listNodes, deadlineMs=1685443158349, tries=1, nextAllowedTryMs=-9223372036854775709) timed out at<PHONE_NUMBER>854775807 after 1 attempt(s)
Caused by: org.apache.kafka.common.errors.TimeoutException: The AdminClient thread has exited.
Additional context
No response

Hello @yumupdate, thank you for raising it!
Kafka-ui keeps some topics-related information in memory, so memory usage can correlate with number of topics in a cluster.
A couple of questions for investigation:

do you have JMX metrics collection enabled for your cluster?
How many topics do you have in a cluster?
can you please set JAVA_OPTS: "-Xms1g -Xmx1g" env var and see if issue still happening?

No issues, thank you!

Closing issue.
@Haarolean, to discuss: maybe we should document java memory tuning recommendations for clusters with large topics amount.


Create workflow templates

See https://docs.github.com/en/actions/sharing-automations/creating-workflow-templates-for-your-organization#creating-a-workflow-template

Turns out the public starter workflows are actually defined in https://github.com/actions/starter-workflows and they're unlikely to accept a PR because of some requirements outlined in the pull request template:

This workflow must only use actions that are produced by GitHub, in the actions organization, or
This workflow must only use actions that are produced by the language or ecosystem that the workflow supports.


TypeError: int() argument must be a string or a number, not 'AnonymousUser'

Hi @benjaoming  I'm working on the test project from the link you gave to me I'm getting this error in this line "C:\Python27\lib\site-packages\django_nyt\consumers.py", line 23, in ws_connect
for subscription in models.Subscription.objects.filter(settings__user=message.user):
Does this effect the Group.send and doesn't make connection to websocket work properly ? can you help me in this please

Thank you @benjaoming  that solved the whole problem and now it working perfectly with real time

It's released as 1.0b6


bump sink-mongo to 0.9.2

Should close https://github.com/kkrt-labs/kakarot-rpc/issues/1433

@tcoratger you need to compute the new nix path for the updated sink-mongo image

I always forget to do that even if this is written as a comment ahah, done


Add support for grabbing version from the engines.pnpm field

Currently the action is able to grab the version from the packageManager field which causes a few side effects.
If a user wants the repo to use a specified version of pnpm but not down to the patch level version, it was recommended to set the engines.pnpm field instead since packageManager does not support ranges.
It would be nice if the action supported reading this field as well.
Related:

https://github.com/pnpm/action-setup/pull/122
https://github.com/pnpm/action-setup/issues/54

Is this a duplicate of https://github.com/pnpm/action-setup/issues/84 ?

Is this a duplicate of #84 ?

Oh yes, my bad, sorry!


Enable partial VFS invalidation for all tests

All our integration tests should work with partial VFS invalidation enabled, since we expect tasks to properly declare their outputs.
Fixes https://github.com/gradle/gradle-private/issues/2865

@lptr PTAL!


Merge "Linda-new-topics-10-7" to master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.yml
:white_check_mark:Succeeded

docs/web-service-reference/eventtypes.md
:white_check_mark:Succeeded

docs/web-service-reference/ews-generated-object-models-reference-for-exchange.md
:white_check_mark:Succeeded

docs/web-service-reference/ews-managed-api-reference-for-exchange.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Template - One Day City Cover - odd tooltip displayed during preview

Bug Description
When viewing the template noted in preview, there is an odd tool tip that is displayed that says "Red Section seperator"

Expected Behaviour

Steps to Reproduce

Screenshots

Additional Context

Plugin Version:
WordPress Version:
Operating System:
Browser:

"Red Section Separator" is simply the sticker's <title>, which the browser shows when hovering over the SVG.
The <title> element provides an accessible, short-text description of any SVG container element or graphics element.
Text in a <title> element is not rendered as part of the graphic, but browsers usually display it as a tooltip.
So this is not a bug.


⚠ Bofrost.fr has degraded performance

In ab5cec0, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1391 ms

Resolved: Bofrost.fr performance has improved in a083f6b after 7 minutes.


Modern UI

HI!
I can totally help with this. I am quite proficient with tailwindcss.
However. tailwind only works with node.js. From looking around your file structure, it doesn't seem like you are. I can also help with this. Just keep in mind that I work the best in a tailwind, and I'm going to need it to design my UI

Let me confirm with my friend🙂

HI!
I can totally help with this. I am quite proficient with tailwindcss.
However. tailwind only works with node.js. From looking around your file structure, it doesn't seem like you are. I can also help with this. Just keep in mind that I work the best in a tailwind, and I'm going to need it to design my UI

@hiteacheryouare
https://tailwindcss.com/docs/installation/play-cdn
you can always use the cdn version to begin with, wouldn't require node or any packaging system

Thank you. I totally forgot about the CDN version of it. I can use that if you wish

@hiteacheryouare  Just conforming, are you going to work on the pull request for the design aspect?
If anything like port or get or post address to be exposed you may tell

I only plan to work in the ./backEnd/web/ directory. I don't think that would expose any HTTP secrets if that's what you're worried about. And yes, I will use a pull request.

👍🏼

Here's what it looks like so far. Any suggestions?

Looks good, just that unordered navigation be like horizontal and squishing 'pdf-editor' to left having majority portion.

@hiteacheryouare
You can take time as we both are having university exams till the end of May before which not much to do on this🙂
Hope you and your family are in a good state👍🏼

I am adding a websiteDesign branch

Thank you. Do you want me to post the PR going into that branch?

you can still make pr so that in future you can continue

Thank you. Do you want me to post the PR going into that branch?

no by mistake written you can pr to the main branch

@hiteacheryouare you can create PR
whatever you have done
so that it started👍🏼


Official Bugsnag Flutter support now available

I'm a product manager at Bugsnag.  Many thanks for creating this library and being a Bugsnag customer.  We have now launched our official Flutter support so you may wish to switch to using that.  It features:

full Bugsnag functionality
tight and seamless integration with our Android and iOS libraries, so that metadata, breadcrumbs etc are shared between Dart errors and native crashes
symbolication of production stack traces

To find out more see our docs - https://docs.bugsnag.com/platforms/flutter/.

Hello,
Very nice, thanks for the update
On May 26, 2022, at 12:26 PM, Gareth Thackeray<EMAIL_ADDRESS>wrote:
I'm a product manager at Bugsnag. Many thanks for creating this library and being a Bugsnag customer. We have now launched our official Flutter support so you may wish to switch to using that. It features:

full Bugsnag functionality
tight and seamless integration with our Android and iOS libraries, so that metadata, breadcrumbs etc are shared between Dart errors and native crashes
symbolication of production stack traces

To find out more see our docs - https://docs.bugsnag.com/platforms/flutter/.
—
Reply to this email directly, view it on GitHubhttps://github.com/Moujarkash/bugsnag-crashlytics/issues/19, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AESZV4TPXE4LGAVCCTP4UWTVL47T7ANCNFSM5XAPUBQA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

No problem.  I hope it's useful for you.  When you feel ready, would you be mind marking your pub.dev package as "Discontinued", to avoid confusion?

Yes for sure
On May 26, 2022, at 12:48 PM, Gareth Thackeray<EMAIL_ADDRESS>wrote:
No problem. I hope it's useful for you. When you feel ready, would you be mind marking your pub.dev package as "Discontinued", to avoid confusion?
—
Reply to this email directly, view it on GitHubhttps://github.com/Moujarkash/bugsnag-crashlytics/issues/19#issuecomment-1138356955, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AESZV4XMKTRMHVAWP3V7UTDVL5CG3ANCNFSM5XAPUBQA.
You are receiving this because you commented.Message ID: @.***>


Inconsistent Types Returned in hashed_key() and hashed_key_for()

Ran into this inconsistency:
hashed_key for StorageValue returns a slice:
https://crates.parity.io/frame_support/storage/trait.StorageValue.html#tymethod.hashed_key
hashed_key_for for StorageMap returns a vec:
https://crates.parity.io/frame_support/storage/trait.StorageMap.html#tymethod.hashed_key_for
These probably should be consistent. Which one to use? Slice?
cc @thiolliere

Storage value hash is fixed length (given we always use one type of hasher, XXhas in this case), while map is not. I think this is the reason why this is the way it is.

@kianenigma is right. Storage values will always use twox_128, while the hash of maps can be configured by the user.


[FEATURE] add filter_by method to the ArgillaTrainer

Is your feature request related to a problem? Please describe.
From this PR, it is possible to filter the a dataset.
Describe the solution you'd like
I want to use this to filter on submitted records by default and allow for changing this via a filter_by arg during trainer definition and the train method.
Describe alternatives you've considered
N.A.
Additional context
#3610

FYI if you are planning to include this, it should be something similar to:
trainer = ArgillaTrainer(..., filter_by={"response_status": ["missing", "submitted", "discarded", "missing"])

Did you want to include it to the PR?

Hi @eshwarhs I'm assigning this to you, as you kindly asked at https://rubrixworkspace.slack.com/archives/C05BCGM277B/p1693524416228969?thread_ts=1693492161.044759&cid=C05BCGM277B

@davidberenstein1957 I'd like to give it a try

@davidberenstein1957 @alvarobartt I'd like to give it a try

Assigned to you already! Feel free to start with it 👍🏻

@plaguss are you interested in having a shot at this too?


Make sure all tests work

Detailed Description
Currently some of the tests fail when not running on the OCF github. This is due to some secrets not being shared.
Context

good to have all test passing, lets external contributors work on repo
Current tests that fail, not on OCF github

Possible Implementation
The 4 tests that currenlty fail could be moved to integration tests. This could only run on main.
It would be good if we copy these tests and adjusted them into unit tests. I think the main thing is to mock the HF data that is downloaded.

Current tests are failling, there were working here - , but not here. Is this due to a new package being released?

Cattrs 24.1.0, fast api 0.114.0, msgpack 1.0.8, multidict 6.05, nwharls 1.6.3, protobuf 5.28.0, pyasn1 0.6.0, pyasn modules, python 2024.01
Are the recent package changes

Hello @peterdudfield
Can I work on this issue?

Yes please. I think it's due to some tests needing HF credentials. We could perhaps create some public ones that might help


[BEAM-3221] Expand/clarify timestamp comments within beam_runner_api.proto

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

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

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

R: @Ardagan @pabloem

Run Java PreCommit

Run Java PreCommit

Run Java PreCommit


Can't find transcription line

Hello - thank you for this plugin, really helpful.
I'm noticing something strange - I have a file called "2022-12-05 Transcriptions.md", from which I have linked a Recording called Recording<PHONE_NUMBER>2918.webm. When the plugin returns the transcript, I see this error in the console: Could not find transcription line for Recording<PHONE_NUMBER>2918.webm in 2022-12-05_Monday Transcriptions.md
Because I have the console open, I can copy out the transcript but do you have a perspective on what might be going on?

What's your folder structure? Could you provide a tree output?

I believe this should be fixed in the latest commit. Can you confirm?

Awesome thank you, just confirmed that this fixed it - sorry I missed the email notification for your request for a tree output.

No worries! Glad to hear that it works now.


How do you use this?

This looks rad! I’ve read the readme and godoc but there isn’t much showing how to use the library. An example showing a simple text editor or collaborative drawing would be rad. Maybe you already have examples of this in use elsewhere?
The deepdive into the wire protocol and format is awesome though. :)

Thanks!
This is exactly a protocol spec and a parser. It also has two example data types: LWW and RGA.
LWW is more or less what Cassandra is using. I may also add Yeschenko-style counters if I have time.
The RGA is actually close to Causal Trees than to Replicated Growable Arrays by Roh et al (I published that in 2010, 2014).
This model was in use in some deployed projects, so I am rather familiar with ins and outs.
But, it was never defined as a formal language before.
To actually use it, you have to bolt it on.
For a browser-based collaborative editor, the essential parts are:

a JavaScript parser (https://github.com/gritzko/swarm-ron, needs a revisit),
a WebStorage/IndexedDB/WebSocket caching client implementation,
a Go WebSocket server,
a back-end database speaking RON (key-value is enough),
the editor per se (likely Quill or Prosemirror, plus the bindings).

This year, I may release 4, 1 and probably a bunch of other parsers (Java, C++, etc), depending on circumstances.
Not being a (massively VC-funded) company, I cannot aim higher.

Thank you for the insight. This is rad stuff. :)
On Mon, Nov 13, 2017 at 7:16 AM Victor Grishchenko<EMAIL_ADDRESS>wrote:

Closed #2 https://github.com/gritzko/ron/issues/2.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gritzko/ron/issues/2#event-1338908104, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAAALmYtOIAwuJ8tmVtE64V7ysAhatcCks5s2F1pgaJpZM4QWljv
.


cmd/scollector: fastly status.io monitoring and status.io lib

Build failure above doesn't have to do with PR, just a timeout when shutting down bosun - so travis thing I think.

My only issue is the size of the "library" component compared to what we actually use. I'm feeling that one of the following should be true:

It is a general purpose status.io library that should be an external repo and vendored in.
It is specific to the needs of this collector and should be included in bosun, but only include the bits we use now.

If this is too pedantic, I'm ok either way.

I can vendor it. Make a new repo under bosun-monitor?
On May 16, 2016 11:51 AM, "Craig Peterson"<EMAIL_ADDRESS>wrote:

My only issue is the size of the "library" component compared to what we
actually use. I'm feeling that one of the following should be true:

It is a general purpose status.io library that should be an
external repo and vendored in.
It is specific to the needs of this collector and should be
included in bosun, but only include the bits we use now.

If this is too pedantic, I'm ok either way.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/bosun-monitor/bosun/pull/1735#issuecomment-219462381

sounds good to me


Bring back paste button hide behavior 2

Original PR that has been reverted twice now: https://github.com/flutter/flutter/pull/54902
This caused a failure where the ClipboardStatusNotifier was modified after being disposed, which seems to be caused by receiving the clipboard data after disposal.  My one line fix for this is to check if it's disposed before updating the value.

I believe this causes a new failure:
2020-05-11T14:41:55.457819: stdout: [+1992 ms] 00:09 +0 -1: AccessibilityBridge TextField TextField has correct Android semantics [E]
2020-05-11T14:41:55.457984: stdout: [        ]   Expected: AndroidSemanticsNode with className: android.widget.EditText with actions: [AndroidSemanticsAction.clearAccessibilityFocus, AndroidSemanticsAction.click, AndroidSemanticsAction.setSelection] with flag isEditable: true with flag isFocusable: true with flag isFocused: true with flag isPassword: false
2020-05-11T14:41:55.458259: stdout: [        ]     Actual: AndroidSemanticsNode:<{flags: {isEditable: true, isEnabled: true, isDismissable: false, isCheckable: false, isChecked: false, isFocused: true, isLongClickable: false, isFocusable: true, isPassword: false}, id: 14, text: null, rect: {height: 144, width: 1080, bottom: 128.0, top: 80.0, left: 0.0, right: 360.0}, actions: [131072, 32768, 16, 128], className: android.widget.EditText, liveRegion: 1, contentDescription: null}>
2020-05-11T14:41:55.458442: stdout: [        ]      Which: Expected actions: [AndroidSemanticsAction.clearAccessibilityFocus, AndroidSemanticsAction.click, AndroidSemanticsAction.setSelection]
2020-05-11T14:41:55.458710: stdout: [        ]             Actual actions: [AndroidSemanticsAction.clearAccessibilityFocus, AndroidSemanticsAction.click, AndroidSemanticsAction.copy, AndroidSemanticsAction.setSelection]
2020-05-11T14:41:55.458935: stdout: [        ]             Unexpected: {AndroidSemanticsAction.copy}
2020-05-11T14:41:55.459211: stdout: [        ]             Missing: {}

android_semantics_integration_test_d988226_2.log


frida-certificate-pinning: no such file or directory

I see this:
# Copy the server to the device
adb push ./frida-server-$version-android-$arch /data/local/tmp/frida-server
#        ^Change this to match the name of the binary you just extracted

# Enable root access to the device
adb root

# Make the server binary executable
adb shell "chmod 755 /data/local/tmp/frida-server"

# Start the server on your device
adb shell "/data/local/tmp/frida-server &"

https://httptoolkit.com/blog/frida-certificate-pinning/
but it doesnt work:
> adb push C:/Users/Steven/Documents/frida-server-16.1.4-android-x86 /data/local/tmp/frida-server
C:/Users/Steven/Documents/frida-server-16.1.4-android-x86: 1 file pushed, 0 skipped. 164.1 MB/s (51624572 bytes in 0.300s)

> adb root
adbd is already running as root

> adb shell "chmod 755 /data/local/tmp/frida-server"
> adb shell "/data/local/tmp/frida-server &"
/system/bin/sh: /data/local/tmp/frida-server: No such file or directory

ugh. Looks like it was my error. my device is x86_64, but my server is x86

https://github.com/frida/frida/issues/1932


Show syntax errors (stderr).

Not sure if this is the best way to do it, but this will show stderr when node finds syntax-errors in the test-script.
Should fix #4

That's pretty clever, and should avoid any kind of interference with the tap output, since tap-formatted output is always on stdout.
Seems like it should maybe live in tap-runner instead, though.  What do you think?

I agree, it fits better in the tap-runner.
I just tried that, and one issue I found was that the stderr output in this case is now shown before the tap-result, rather than after. Since this should not interfere with the tap-output, and in fact is just information to the user, I don't suppose that matters.
I will send a pull request on the tap-runner instead.


Modal loses focus after closing a MessageBox on it

Version & browser
0.19.0
Chrome Version 64.0.3282.167
Which component
Modal, MessageBox
Steps to reproduce the problem

Open a modal
Display a messageBox on it
Close the messageBox

Expected behavior
Body should have modal-open class.
Actual behavior
Modal loses the focus (body loses modal-open class).

https://github.com/wxsms/uiv/issues/167 is related.

Can you provide a reproduce?
This works without any problem in my env:
<template>

    <btn type="primary" @click="open1=true">Open set of nested modals</btn>
    <modal v-model="open1" title="Modal 1" size="lg">

This is a simple large modal.

Click on the button below to open a nested modal.

      <btn type="info" @click="openMsgBox">Open Modal 2</btn>
    </modal>

</template>

@wxsms I've just realized we were using it wrong. We can close this issue. Thanks!


Implement MySQL time service

Change-Id: I791c1d3ff4c4cbf0f90464c7bb8bb9490dca4019
Fixes #3326 .
Changes proposed in this pull request:

Please fix all code review suggestions.
And more more question for design, how to enable this SPI? Does need user add to SPI file by themselves?
Maybe we should consider about spilt this code to a new module and setup SPI fine in the new module.
If user import this module, they can load from SPI automatically.
For the default time service , maybe we should consider about do not use SPI to load it. The logic maybe better if no other SPI, just use default one.
How do you think?

that sound great. user can controll whether they need to use MySQLTimeService. if do that. what is the module name？ and where should the module place on？

Please fix all code review suggestions.
And more more question for design, how to enable this SPI? Does need user add to SPI file by themselves?
Maybe we should consider about spilt this code to a new module and setup SPI fine in the new module.
If user import this module, they can load from SPI automatically.
For the default time service , maybe we should consider about do not use SPI to load it. The logic maybe better if no other SPI, just use default one.
How do you think?

that sound great. user can controll whether they need to use MySQLTimeService. if do that. what is the module name？ and where should the module place on？

The name maybe as database-time-service, and we can put it below route module?

Please fix all code review suggestions.
And more more question for design, how to enable this SPI? Does need user add to SPI file by themselves?
Maybe we should consider about spilt this code to a new module and setup SPI fine in the new module.
If user import this module, they can load from SPI automatically.
For the default time service , maybe we should consider about do not use SPI to load it. The logic maybe better if no other SPI, just use default one.
How do you think?

that sound great. user can controll whether they need to use MySQLTimeService. if do that. what is the module name？ and where should the module place on？

The name maybe as database-time-service, and we can put it below route module?

Ths. I finished


Filtering by FilterSet should honor declared django_filters filter

Context
I am coming from graphene and have been migrating multiple projects to strawberry with the current being a fairly large api project. The current project relies heavily on django_filters for streamlining the filtering experience.
As far as I can tell from past issue and merge requests strawberry_django and combination with strawberry_django_plus should support filtering models by FilterSet classes. (This is what I found here among others: #15 #20 )
The declared filters have been working in combination with graphene and are valid django_filters which should work in strawberry context as well.
After hours of debugging I am somewhat stuck in finding the root cause of this issue. 🤷
Long story short, they get properly applied to the schema definition and to the field. But they do not get applied to the queryset during resolving of the objects and therefore being ignored.
Expected behaviour
If I declare a FilterSet class which I either apply to the strawberry.django.type or the field directly it should honor the declared filters during resolving of the fields.
Minimal example
I put together a minimal example showing some custom filtering with lookup expressions valid to django querysets.

class Asset(models.Model):
    id = models.AutoField(primary_key=True, unique=True)
    buy_date = models.DateTimeField(db_index=True)

@strawberry.django.filters.filter(Asset)
class AssetFilter(FilterSet):
    year: int = NumberFilter(field_name='buy_date', lookup_expr='year')

@strawberry.django.type(Asset)
class AssetNode():
    id: strawberry.auto
    buy_date: strawberry.auto

@strawberry.type
class AssetQuery:
    assets_pure: list[AssetNode] = strawberry.django.field(filters=AssetFilter)

I suspect that there is some issue with instanciation of the actual FilterSet class instance and further down applying it to the queryset. Inspecting with the debugger it seems to me that the class instance is not properly initialized and the __init__ method won't be hit.
Any help here is appreciated. If you need more info please let me know. 😃

Hey @iacobfred and @oleo65
Wow, I did miss that issue when it got opened.
I'm not really sure what might be happening, specially because after moving from graphene I stopped using django_filters and relied on filter lookups provided by this lib.
I'll soon take a look and try to replicate the issue to try to discover what might be going on.
obs. does that only happens when using this lib together with Strawberry-django-plus? Or does it happen with this alone?

When doing a search for django_filters in this repo only this issue and a record in the CHANGELOG come up about the introduction of the django_filter support. But it's nowhere in the docs. Was django_filter support put on pause?


Is it possible to make a TextBox animation invisible

First of ll thank for this contribution.
I am making a control to autocomplete and I have a textbox inside this control but I need it without borders. the problem is that no matter the properties I change I can't stop the animation. Is there anyway to stop it?
_textBox = new TextBox
{
     BorderThickness = new Thickness(0),
     BorderBrush = Brushes.Transparent
};

the problem hapens in currency Autocomplete Box

I dont need that animated line, this is not a text box, its a custom control but it gets animated by this framework.

Thanks. I hope I was clear enough

Ok overriden style works.
_textBox = new TextBox
            {
                BorderThickness = new Thickness(0),
                BorderBrush = Brushes.Transparent,
                Style = new Style()
            };

But I dont like this, I think the thickness of the animation should be based on TextBox thinkness.

I'll consider a shortcut to make this easier for a future release.

P.S. Nice screenshots :smiley_cat:

Now available in 1.4 (pre-release). See https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/issues/212 for usage details.

thank you, awesome job!

@beto-rodriguez by-the-way...have you considered making your Material Menu use the colour resources from this lib (MaterialDesignColors.dll)?  Would be cool to evolve the ecosystem with some compatible controls.

@ButchersBoy thanks, yes I actually wanted to make a pull request for you, but Material menu needs a rewrite, I will as soon as possible, I actually was learning wpf when wrote that, so I need to fix a lot of mistakes I made when learning

Well for starters, you can make it your own separate control/package; so long as you define your styles using DynamicResource names specified by the palettes/swatches it would be compatible.  This is what Dragablz does.  ...if you try it out one day and need help give me a shout.

@ButchersBoy Thank you very much I really appreciate it.


tanvi bday

Hi @Chaitali3005,
Thanks a lot for checking out the project!
However, you don't really need to create a PR on this repo to get this running. You can create a link directly in your fork and host your changes in that.
I'm gonna close this PR, but please feel free to comment/reach-out if you need any help. 🙂


Memory leak when statically linked mimalloc to a dll, which is unloaded via a non main thread

In this case the dll(statically linked mimalloc) is loaded by the main thread. But then it is unloaded by another worker thread. In this case the memory allocated in the arena is not freed.
These two blocks does not get called in heap.c
heap.c. Leaks arena
if (collect >= MI_FORCE && _mi_is_main_thread() && mi_heap_is_backing(heap)) {
_mi_mem_collect(&heap->tld->os);
}
heap.c . Not sure if this adds to leak.
if (
#ifdef NDEBUG
collect == MI_FORCE
#else
collect >= MI_FORCE
#endif
&& _mi_is_main_thread() && mi_heap_is_backing(heap) && !heap->no_reclaim)
{
// the main thread is abandoned (end-of-program), try to reclaim all abandoned segments.
// if all memory is freed by now, all segments should be freed.
_mi_abandoned_reclaim_all(heap, &heap->tld->segments);
}

I see -- the _mi_is_main_thread() check prevents it from triggering the arena collection. I need to think a bit more about this situation; we probably need to extend the enumeration with something like FORCE_UNLOAD...

Also if the thread that is unloading the dll has not done any allocation it will have a uninitialized heap. In that case the function mi_heap_collect_ex() will exit early from if (!mi_heap_is_initialized(heap)) return;

We have also been hitting this problem and I just noticed this open issue about it. @daanx has there been any progress on a solution? Do you have any suggestions in mind that I can apply locally? Your FORCE_UNLOAD idea sounds promising, which I guess would mean mi_collect(true) could call mi_heap_collect_ex(heap, MI_FORCE_UNLOAD), and that would forcibly call _mi_abandoned_reclaim_all() and mi_heap_visit_pages(). Is there any other cleanup that should occur? Thanks.


Fixed an incorrect refactor that caused a crucial validity check to be omitted

from commit bd244dfd0474986aedf529cfb3124252f3a99fd5
See https://github.com/spruceid/ssi/issues/525

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Same deal here, I sent in a signed CLA Oct 6, 2021, but let me know if you need a new one for whatever reason.


Write Kruskal's Algorithm

I will pick this up @abhaysinghr516

Please review @abhaysinghr516  - https://github.com/abhaysinghr516/Algorithms/pull/10


Change in behaviour when a models property raises an attribute error.

Initial Checks

[X] I confirm that I'm using Pydantic V2 installed directly from the main branch, or equivalent

Description
Whilst trying to debug an error in my code, I kept getting an error telling me that my property doesn't exist. Code was something like:
class Model(BaseModel):

    @property
    def some_thing()
        AClass.do_something()

The actual error we had was that do_something didn't exist in AClass, however the error being raised was that some_thing didn't exist on model, which was weird. This seems to be a change since V2, now getattr is implemented on Base Model.
Whilst maybe not a bug, it makes debugging other errors harder as the actual error isn't shown.
Example Code
import pytest
from pydantic import BaseModel

from pydantic.v1 import BaseModel as BaseModelV1

def test_v1_attribute_error():

    class Model(BaseModelV1):

        @property
        def a_property(self):
            raise AttributeError("Internal Error")

    with pytest.raises(AttributeError, match="Internal Error"):
        Model().a_property

def test_v2_attribute_error():

    class Model(BaseModel):

        @property
        def a_property(self):
            raise AttributeError("Internal Error")

    with pytest.raises(AttributeError, match="Internal Error"):
        Model().a_property

test_v1_attribute_error()
test_v2_attribute_error()

Python, Pydantic & OS Version
pydantic version: 2.0
        pydantic-core version: 2.0.1 release build profile
                 install path: /Users/oliver/Library/Caches/pypoetry/virtualenvs/sherlock-9z3yAd_C-py3.11/lib/python3.11/site-packages/pydantic
               python version: 3.11.4 (main, Jun 15 2023, 07:55:38) [Clang 14.0.3 (clang-14<IP_ADDRESS>.1)]
                     platform: macOS-13.4-arm64-arm-64bit
     optional deps. installed: ['typing-extensions']

Selected Assignee: @hramezani

Thanks @ollz272 for reporting this.
Yes, In V2, we have BaseModel.__getattr__ and it handles private and extra attrs.
Not sure how we are going to handle this case.
@samuelcolvin Do you have any idea?

Clever idea (combined with @hramezani's idea to check hasattr):
                    if hasattr(self.__class__, item):
                        return super().__getattribute__(item)

seems to work to raise the underlying AttributeError. Suggested on @hramezani's PR


Fix const pointers types in docs and extension API.

The GDVIRTUAL_NATIVE_PTR did not declare the correct GDNativeConstPtr template, resulting in "void*" being used as it's type info in both the documentation and the extension API dump.

Thanks!


Custom validation does not work when loading field config asynchronously

Description
I am using the "Matching Two Fields" example as a reference and if I load the field config asynchronously, the custom validation is not triggered.
See the stackblitz below:
https://stackblitz.com/edit/angular-gsrpnv?file=src/app/app.component.ts
Any suggestion on what I can do to make it work?

This issue has been fixed and released as part of v5.10.27 release.
Please let us know, in case you are still encountering a similar issue/problem.
Thank you!


allow lexemes to be mapped to multiple language varieties

Problem
Lexemes often belong to multiple language varieties. For example, a lexeme could belong to the modern language Menominee, as well as the protolanguage Proto-Algonquian. In addition, a lexeme could be present in some dialects of a language but not others. In this case, the lexeme should be listed as being a member of those dialects that possess it, as well as the larger language they're a part of.
Solution
The language property should probably be reworked as varieties. This would be an array of database references to language objects. (see #369)

Actually, now that I look at the Lexeme schema, it doesn't appear we have a language property (although there is one in the sample data).

On reconsideration, this seems like a bad idea. A lexical entry should belong to exactly one language variety. A language variety, however, might be a subvariety of another variety (i.e. a dialect is a subvariety of a language). That information should however be specified on the Language object rather than individual lexical entries.
It is however a good idea to allow lexical entries to clarify what language variety they're a member of. This is useful whenever you've got individual lexical items outside the context of a lexicon.


The introspection response does not display the extensible properties

Description
The introspection response builder[1] does not build the properties in the properties map from the OAuth2IntrospectionResponseDTO [2].
[1] https://github.com/wso2-support/identity-inbound-auth-oauth/blob/support-6.0.53/components/org.wso2.carbon.identity.oauth.endpoint/src/main/java/org/wso2/carbon/identity/oauth/endpoint/introspection/OAuth2IntrospectionEndpoint.java#L107:L131
[2] https://github.com/wso2-support/identity-inbound-auth-oauth/blob/support-6.0.53/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/dto/OAuth2IntrospectionResponseDTO.java#L102

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Installation via Pixi fails on Ubuntu 24.04

Describe the bug
I'm following the installation guide on Ubuntu 24.04 using the Pixi dependency manager: https://docs.nerf.studio/quickstart/installation.html#using-pixi
After cloning the nerfstudio repository and running pixi run post-install, the installation ultimately fails with the error Unsupported archive type: setuptools when trying to install fire==0.6.0. This error occurs with every Pixi command, as it tries to update the lockfile first and then runs into the problem when installing fire.
To Reproduce
git clone https://github.com/nerfstudio-project/nerfstudio.git
cd nerfstudio
git checkout tags/v1.1.3
pixi run post-install

Output:
  ⠒ default:linux-64     [00:00:00] resolving fire==0.6.0                                                                                × failed to solve the pypi requirements of 'default' 'linux-64'
  ├─▶ failed to resolve pypi dependencies
  ├─▶ Failed to download and build `fire==0.6.0`
  ├─▶ Failed to build: `fire==0.6.0`
  ├─▶ Failed to install requirements from build-system.requires (install)
  ├─▶ Failed to prepare distributions
  ├─▶ Failed to fetch wheel: setuptools==69.5.1
  ├─▶ Failed to extract archive
  ╰─▶ Unsupported archive type: setuptools

The result is the same for v1.1.3 and for current main (2ed1716980191abd818d048b686475f897267c96).
Expected behavior
Installation completes without errors.
Additional context
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04 LTS
Release:	24.04
Codename:	noble

$ uname -a
Linux desktop 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul  5 10:34:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

$ pixi -V
pixi 0.27.1

$ pixi list -vv 2>&1 |grep -E 'setuptools|fire'
 INFO resolve_pypi{group=default platform=linux-64}: pixi::lock_file::resolve::pypi: the following python packages are assumed to be installed by conda: pysocks 1.7.1, jinja2 3.1.4, mpmath 1.3.0, certifi 2024.2.2, gmpy2 2.1.5, pillow 10.3.0, torch 2.2.2, numpy 1.26.4, pip 24.0, requests 2.31.0, charset-normalizer 3.3.2, pyyaml 6.0.1, setuptools 69.5.1, wheel 0.43.0, sympy 1.12, pyarrow 15.0.2, brotli 1.1.0, markupsafe 2.1.5, typing-extensions 4.11.0, idna 3.7, urllib3 2.2.1, torchvision 0.17.2, filelock 3.14.0, networkx 3.3
 INFO solve:solve_tracked: pubgrub::internal::partial_solution: add_decision: setuptools @ 69.5.1
 INFO resolve_pypi{group=default platform=linux-64}:process_request{request=Prefetch fire *}:get_or_build_wheel_metadata{dist=fire==0.6.0}:build_metadata{dist=fire==0.6.0}:setup_build{version_id="fire==0.6.0" subdirectory=None}: uv_virtualenv::bare: Ignoring empty directory
 INFO solve:solve_tracked: pubgrub::internal::partial_solution: add_decision: setuptools @ 69.5.1
  ├─▶ Failed to download and build `fire==0.6.0`
  ├─▶ Failed to build: `fire==0.6.0`
  ├─▶ Failed to fetch wheel: setuptools==69.5.1
  ╰─▶ Unsupported archive type: setuptools

Same problem in Ubuntu 20.04 LTS, same steps to reproduce. The Docker unfortunately also seems to be broken (ns-download-data immediately errors with ModuleNotFoundError: No module named 'nerfstudio'), so none of the installation options described on the docs page work at the moment.

same error in Ubuntu 22.04

I saw this error recently - I saw it with magic, which is a fork of pixi. The equivalent pixi version that fixed it for me is 0.33.0.


Module calls internal function, instead of exported function

Describe the bug
We are trying to switch from ts-jest to @swc/jest. However, some of our tests which rely on stubbing are failing.
Namely, suppose that a module exports two functions, foo and bar. foo calls bar
In our test we would stub out bar, call foo and expect the stubbed version of bar to have been called
jest.spyOn(module, 'bar').mockResolvedValue()

module.foo()
expect(module.bar).toHaveBeenCalled()

Input code
export const foo = () => {
  bar()
}

export const bar = () => {

}

Config
{
  "jsc": {
    "parser": {
      "syntax": "typescript"
    },
    "target": "es2015"
  },
  "module": {
    "type": "commonjs"
  },
  "isModule": true
}

Playground link
https://play.swc.rs/?version=1.2.197&code=H4sIAAAAAAAAA0utKMgvKlFIzs8rLlFIy89XsFXQ0FSwtVOo5uJMSizS0OSq5eJKRVYEFEVWxFULAKua8sxDAAAA&config=H4sIAAAAAAAAA0WNSwrDMAxE76J1Fm2hm9yhhzCuEhz8Q%2BNAjfHdKxeX7CTNm6dGByytjbIRsIwJNRbzoZVKzQwrLhdaqEBPm%2FHgrouRnYsijMft%2FtTYpwSewELBRbfVIbMpZGHgikzc%2FZ%2Fs6grpfY5D%2B%2F1Tp1ZCigeoX6JZdnhNusjJ%2FQt06%2FDevQAAAA%3D%3D
Expected behavior
When compiled with tsc, foo calls exports.bar
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.bar = exports.foo = void 0;
const foo = () => {
    (0, exports.bar)();
};
exports.foo = foo;
const bar = () => {
};
exports.bar = bar;

ts playground
Actual behavior
When compiled with swc, foo calls bar, so stubbing exports.bar does nothing
"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
exports.bar = exports.foo = void 0;
const foo = ()=>{
    bar();
};
exports.foo = foo;
const bar = ()=>{};
exports.bar = bar;

Version
1.2.197
Additional context
No response

It is indeed, I'm just bad at searching - Sorry!


Donate ... an alternative or addition to ads

Donations and a fanshop might be an addition to ads.
Mobilegeeks shows what can be done:
https://www.mobilegeeks.de/artikel/leserhilfe/
Especially a fanshop using i.e. spreadshirt.com might work for you:
https://shop.spreadshirt.de/MobileGeeks
https://shop.spreadshirt.es/freesound
I have bought T-shirts of MobileGeeks and freesound.org

Good idea! I put that on my list. But not for 2016.


Use kubectl apply for secret

Motivation

Solution

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Updated the changelog

Codecov Report

Merging #23 (c33598d) into main (acd83c2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #23   +/-   ##
=======================================
  Coverage   31.88%   31.88%
=======================================
  Files          14       14
  Lines        5077     5077
=======================================
  Hits         1619     1619
  Misses       3458     3458

Flag
Coverage Δ

test
31.88% <ø> (ø)

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

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 acd83c2...c33598d. Read the comment docs.


Dynamic versioning

Quick PR thinking back on our chat with obvio today re. which version are they running:
They should simply run 'python -c 'import pixeltable as pxt; print(pxt.version)' and be able to tell (and tell us) which version is running.
The main goal here is that this version is accurate and that is also available for non-official releases, eg debug builds we give people, like we have given obvio.
I looked around and found https://github.com/mtkennerly/poetry-dynamic-versioning in multiple poetry github threads, to generate versions automatically at poetry build
We simply add a version field to init.py, this version field is updated dynamically by a poetry plugin
(this is done during poetry build).
Example (after applying these PR changes)
orm@jetboiler ~/r/pixeltable (dynamic-versioning)> poetry build                                                                                (pixeltable_39)
Building pixeltable (0.2.5.post15.dev0+ff33dca)

Building sdist
Built pixeltable-0.2.5.post15.dev0+ff33dca.tar.gz
Building wheel
Built pixeltable-0.2.5.post15.dev0+ff33dca-py3-none-any.whl
0.2.5 is the latest ancestor tag in the current branch,  post15 means 15 commits after that tag, ff33dca is the actual commit number for later reference, because this is not a release. This numbering is meant to be compliant with python specifications.

If I tag the current commit, you get a clean name:
orm@jetboiler ~/r/pixeltable (dynamic-versioning)> git tag v0.2.6                                                                                (pixeltable_39)
orm@jetboiler ~/r/pixeltable (dynamic-versioning)> poetry build                                                                                (pixeltable_39)
Building pixeltable (0.2.6)

Building sdist
Built pixeltable-0.2.6.tar.gz
Building wheel
Built pixeltable-0.2.6-py3-none-any.whl

Most importantly, if I install this wheel I can print version:
orm@jetboiler ~> pip install dist/pixeltable-0.2.5.post15.dev0+ff33dca-py3-none-any.whl
orm@jetboiler ~> python -c 'import pixeltable as pxt; print(pxt.version)'                                                                                (pixeltable_39)
0.2.5.post15.dev0+ff33dca

This change is

pyproject.toml line 89 at r1 (raw file):
Previously, aaron-siegel (Aaron Siegel) wrote…
Let's add dirty = "true" here.

cool, good catch. it works.


Enhancement Request - Full Screen Results should show filtered results, not all results

The Full Screen Results is a great feature, but somewhat limited because it always shows all query results, whereas the many screen can show results that are filtered through the use of parameters (i.e. - the main screen with filtering parameters can show 100 records, but opening the Full Screen Results shows 1000 results, because it is unfiltered)
Is it possible to enable the Full Screen Results to show only the query results that match the additional parameters (i.e. both screens only show the 100 filtered results)?
Thanks!
Mike

Can you give an example please? Perhaps with screenshots & the type of URL params you're talking about.

Can you give an example please? Perhaps with screenshots & the type of URL params you're talking about.

Thanks for looking into this.
Here's an example  query with a filtering parameter "$$Domain$$":
SELECT
Domain,
EntityType AS 'Entity Type',
COALESCE(EntitySubtype, '') AS 'Entity Sub-Type',
COUNT(*) AS 'Qty'
FROM
ACTGEAR
WHERE
Domain LIKE '$$Domain$$%'
AND EntityType LIKE '%'
AND RuleStatus NOT IN ('Dev', 'Draft')
GROUP BY
Domain, EntityType, EntitySubtype
ORDER BY
Domain, EntityType
The URL on the main screen for the unfiltered query returns 937 rows:
http://<IP_ADDRESS>:8000/explorer/13/?params=domain%3A
The URL on the "Full Screen Results" link is:
http://<IP_ADDRESS>:8000/explorer/13/?fullscreen=1&rows=1000
Specifying a Domain Parameter of "Business" filters the results and only shows 26 rows.
The URL on the main screen for the filtered query that returns the 26 rows:
http://<IP_ADDRESS>:8000/explorer/13/?params=domain%3ABusiness
The URL on the Full screen Results link is (the same as when the main screen was unfiltered:
http://<IP_ADDRESS>:8000/explorer/13/?fullscreen=1&rows=1000
(I took 2 screen captures, but for some reason, I can't attach the PDF files. Will try something different and attach later.)

Thanks for looking into this.
Here's an example  query with a filtering parameter "$$Domain$$":
SELECT
Domain,
EntityType AS 'Entity Type',
COALESCE(EntitySubtype, '') AS 'Entity Sub-Type',
COUNT(*) AS 'Qty'
FROM
ACTGEAR
WHERE
Domain LIKE '$$Domain$$%'
AND EntityType LIKE '%'
AND RuleStatus NOT IN ('Dev', 'Draft')
GROUP BY
Domain, EntityType, EntitySubtype
ORDER BY
Domain, EntityType
The URL on the main screen for the unfiltered query returns 937 rows:
http://<IP_ADDRESS>:8000/explorer/13/?params=domain%3A
The URL on the "Full Screen Results" link is:
http://<IP_ADDRESS>:8000/explorer/13/?fullscreen=1&rows=1000
Specifying a Domain Parameter of "Business" filters the results and only shows 26 rows.
The URL on the main screen for the filtered query that returns the 26 rows:
http://<IP_ADDRESS>:8000/explorer/13/?params=domain%3ABusiness
The URL on the Full screen Results link is (the same as when the main screen was unfiltered:
http://<IP_ADDRESS>:8000/explorer/13/?fullscreen=1&rows=1000
(I took 2 screen captures, but for some reason, I can't attach the PDF files. Will try something different and attach later.)

Can't attach files for some reason - GitHub allows me to select a file to open, but doesn't attach it.
I tried SQL Explorer and attaching files in two different browsers and got the same results (FireFox and Pale Moon - a FireFox clone)
Let me know if you'd like the screen captures emailed.
Regards,
Mike

Can't attach files for some reason - GitHub allows me to select a file to open, but doesn't attach it.
I tried SQL Explorer and attaching files in two different browsers and got the same results (FireFox and Pale Moon - a FireFox clone)
Let me know if you'd like the screen captures emailed.
Regards,
Mike

I'm not really setup to submit a PR (Rather than a developer, I'm a hacker who can code myself out of a paper bag, as long as it is sufficiently wet.) I'll try updating my installed code with your lines 33 and 35 above and let you know how it works.

I'm not really setup to submit a PR (Rather than a developer, I'm a hacker who can code myself out of a paper bag, as long as it is sufficiently wet.) I'll try updating my installed code with your lines 33 and 35 above and let you know how it works.

Ok, my mistake ... lines 33 and 35 are where the fix would go (they aren't actually the fixed lines).

Ok, my mistake ... lines 33 and 35 are where the fix would go (they aren't actually the fixed lines).

@MYX-GitHub ah ok, sorry, I just assume that people using this are likely to be python devs.
I've pushed a branch which hopefully resolves this. You can install from it directly and test it using;
pip install git+https://github.com/groveco/django-sql-explorer.git@fix/433

This should be resolved in #442 442


Fixed output for sqlsrv connres tests

This change is

Coverage increased (+0.04%) to 75.193% when pulling 96efbdb47b2d901df53b527f6e81468741514305 on david-puglielli:connres-test-fixes into 6f0f4b70dba28e8b33627c01f3945bd144c39fda on Microsoft:dev.

Codecov Report

Merging #818 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #818   +/-   ##
=======================================
  Coverage   80.06%   80.06%
=======================================
  Files          25       25
  Lines        7325     7325
=======================================
  Hits         5865     5865
  Misses       1460     1460

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 6f0f4b7...825b429. Read the comment docs.


[rtl] OTBN secure wipe on RMA entry or DFT enable?

https://github.com/lowRISC/opentitan/issues/14995 has highlighted to me that the new functionality we added to trigger secure wipe to ensure any sensitive information is wiped before scan entry is triggered on entry to the RMA lifecycle state.
As I understand it in the RMA lifecycle state CPU execution is still allowed and in particular debug is enabled. With the current setup once you enter RMA OTBN will be locked and be unusable so you won't be able to execute anything on Ibex that needs to use OTBN and hence cannot use sensibly use debug with anything that uses OTBN.
Was this intended? Or should this secure wipe only be triggered on entry to scan mode (which can be done from the RMA state)?

@vogelpi @andreaskurth @cdgori @tjaychen @msfschaffner @cdgori From your recollection of the discussion here was this the intended behaviour? We should ensure this is explicitly documented as it may be surprising behaviour.

Hi @GregAC ,
AFAIK this is exactly the behavior we wanted. Only once the flash is completely wiped and OTBN has finished secure wipe, LC will enter the RMA state. Then the chip is reset and comes back up in RMA state in which scanmode can be entered.
I've done a PR #15086 to clarify in the documentation that OTBN needs to be reset after handling an RMA request.

To put it another way, are we happy that any debugging that occurs in the RMA state cannot execute code that uses OTBN?

Just checked again with @msfschaffner , after receiving the RMA ack from OTBN, LC starts reprogramming OTP and then enters a virtual scrap state where everything inside the chip is disabled. Only after the next reset, the new OTP state becomes active and the chip is effectively in RMA state.
At this point, also OTBN is no longer in the locked state because the RMA req signal is again Off and code can use OTBN.

Ok sounds good, I'll close this


Make CakeEngineActions public

This small PR makes the CakeEngineActions public in order to use it in a custom engine.
Fixes #3956

@twenzel  your changes have been merged, thanks for your contribution 👍


Refactor random.jl in generator/formula.jl and generator/random.jl

Adjust docstrings, separate formula and model generations, add more robust tests

I found an old TODO and I resolved it (partially): now, randformula is enriched with a new keyword argument alphabet_sample_kwargs.
When a non-finite alphabet is given to randformula, execution is not aborted if alphabet_sample_kwargs is provided.
Wouldn't it be better to simply pass an atoms vector as “alphabet” field?


Compute Tray Icon on the fly instead of at build

After this PR is removed we can remove the icon artifacts from Lens-IDE as well as they are no longer needed.

@ixrock Done, thanks for the reviews

@ixrock I fixed the linux issue. I thought I had fixed that before, but I guess I didn't push it


Inconsistent stack.sh script

OS- CentOS 7.2
I am trying to setup the 4 node BigchainDB Network by following document .
https://docs.bigchaindb.com/projects/contributing/en/latest/dev-setup-coding-and-contribution-process/run-dev-network-stack.html#stack-type-docker
In the document it is mentioned that one should have CenOS version 7 or later.
when I run the script, I get the exception like below
: MINIMUM_CENTOS_VERSION: unbound variable
Unsupported centos Version: 7

Attaching screenshot for the reference.

@ashishkshukla I have pushed a fix for the problem you were facing. It might save some of your time if you just checkout out the changes at #2364 and apply them inside the bigchaindb cloned by stack.sh (same directory). Let me know if it works and feel free to close if the issue is resolved after that.

Re-opening for @ashishkshukla to confirm resolution. Since the changes are merged, you can also delete the bigchaindb cloned by stack.sh and re-run stack.sh.

@muawiakh this problem seems to be fixed. This issue can be closed.


update to JIRA Cloud broke the webhook protocol

I have logged an issue with Atlassian.
https://getsupport.atlassian.com/servicedesk/customer/portal/23/JST-348034

It was changed, so we'll need to update the plugin to deal with it.
https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-removal-of-comment-object-data-in-jira-issue-webhooks/

I had to hack in something temporary. JIRA removed the webhook feature without given any path forward, so we have no facility maintain the existing feature set. While we can render comment events, we cannot show the title of the issue. At some point, when the JIRA development team realize that they've completely broken anyone and everyone who depends on this, maybe they're give it back.

They pushed out the change, but we are now able to rebuild our model. They've given us enough data.


Feat: Svelte version

It would be amazing to have this UI library for Svelte as well. Would you consider it in the future?

Hey @flaviolivolsi 👋
We did consider doing React, VueJS and Svelte simultaneously.
Internally at Supabase, we use React for everything so for now we just prioritised react.
I don't think we could consider migrating to other frameworks until this library is at least a stable v1 release as it's changing a lot currently.
I'd be happy to adjust the library earlier so there's different versions for VueJS and Svelte, but someone would need to lead on migrating each one and maintaining them.
@joshnuss has been doing a Svelte version of the Auth component as well.
https://github.com/joshnuss/supabase-ui-svelte


Directions on how to set up swashbuckle with owin startup

I have a project that is using the Owin style startup class and I am curious how to add Swashbuckle to the Owin Pipeline. Can this be done? If so, is there an example I could work off of?

Actually, this may not be relevant as after much struggling, I realized the project I was trying to add Swashbuckle to was actually using ASP.NET 5.0 and not core


Fix undefined pswp

Fixed a crash caused by undefined pswp variable, in the context of updateCaptionHTML method.

thanks!


Tried to call a method that was named ""

[2018-04-18 16:20:48] ERROR FastlaneBuildRunner:  undefined method `{"type":"important","message":"\u001b[33mLane Context:\u001b[0m","time":"2018-04-18 16:20:47 -0700","html":"
[16:20:47]: \u001b[33mLane Context:\u001b[0m
\n"}' for nil:NilClass
[2018-04-18 16:20:48] ERROR FastlaneBuildRunner:  /Users/jliebowitz/dev/ci/app/features/build/build_websocket_backend.rb:66:in `block (2 levels) in call'
/Users/jliebowitz/dev/ci/app/features/build_runner/build_runner.rb:317:in `block in new_row'
/Users/jliebowitz/dev/ci/app/features/build_runner/build_runner.rb:316:in `each'
/Users/jliebowitz/dev/ci/app/features/build_runner/build_runner.rb:316:in `new_row'
/Users/jliebowitz/dev/ci/app/features/build_runner/build_runner.rb:240:in `block in run_action'
/Users/jliebowitz/dev/ci/app/features/build_runner/fastlane_build_runner.rb:47:in `block in run'
/Users/jliebowitz/dev/ci/app/features/build_runner/fastlane_build_runner_helpers/fastlane_ci_output.rb:42:in `important'
/Users/jliebowitz/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/bundler/gems/fastlane-

I think I've seen this error before, but I think there is no reliable way to reproduce, right?

Duplicate of https://github.com/fastlane/ci/issues/826, right?

Fixed already


[Documentation Update] opendistro_security_roles is supported for opendistro-1.3.0+ versions

What is the bug?
Confusing documentation around opendistro_security_roles field while creating Internal users via API, which provide respective permissions to the user without explicit roles mapping.

Note that any role you supply in the opendistro_security_roles array must already exist for the Security plugin to map the user to that role. To see predefined roles, refer to the list of predefined roles. For instructions on how to create a role, refer to creating a role.

But opendistro_security_roles support was added for ES-7.3+ version commit.
What is the expected behavior?
Documentation should be updated saying opendistro_security_roles is supported from opendistro-1.3.0+ versions.
What is your host/environment?

OS: [Linux]
Version [Elasticsearch-6.8, opendisto-0.10.0]
Plugins [Security]

Do you have any screenshots?
NA
Do you have any additional context?
NA

@davidlago @scrawfor99 Please take a look to make sure the documentation is accurate around this feature.

[Triage] @scrawfor99 will take a look to double check but I think this is as intended.


Build failure on MSVC 2022

Using Visual Studio v17.2.6; cl.exe 19.32.31332.
In Git Bash:
./deps.sh

In x64 dev prompt:
mkdir build && cd build
cmake .. -GNinja -DBUILD_TESTING=OFF
ninja

CMake output:
-- The C compiler identification is MSVC 19.32.31332.0
-- The CXX compiler identification is MSVC 19.32.31332.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test JPEGXL_EMSCRIPTEN
-- Performing Test JPEGXL_EMSCRIPTEN - Failed
-- CMAKE_SYSTEM_PROCESSOR is AMD64
-- Performing Test CXX_FUZZERS_SUPPORTED
-- Performing Test CXX_FUZZERS_SUPPORTED - Failed
-- Performing Test CXX_CONSTRUCTOR_ALIASES_SUPPORTED
-- Performing Test CXX_CONSTRUCTOR_ALIASES_SUPPORTED - Failed
-- Performing Test CXX_MACRO_PREFIX_MAP
-- Performing Test CXX_MACRO_PREFIX_MAP - Failed
-- Performing Test CXX_NO_RTTI_SUPPORTED
-- Performing Test CXX_NO_RTTI_SUPPORTED - Failed
-- Found PkgConfig: C:/Users/Johannes/win-packages/perl/perl/bin/pkg-config.bat (found version "0.26")
-- Performing Test JXL_HWY_DISABLED_TARGETS_FORCED
-- Performing Test JXL_HWY_DISABLED_TARGETS_FORCED - Failed
-- Compiled IDs C:MSVC, C++:MSVC
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Performing Test ATOMICS_LOCK_FREE_INSTRUCTIONS
-- Performing Test ATOMICS_LOCK_FREE_INSTRUCTIONS - Success
-- Performing Test HWY_EMSCRIPTEN
-- Performing Test HWY_EMSCRIPTEN - Failed
-- Performing Test HWY_RISCV
-- Performing Test HWY_RISCV - Failed
CMake Deprecation Warning at third_party/brotli/CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Performing Test BROTLI_EMSCRIPTEN
-- Performing Test BROTLI_EMSCRIPTEN - Failed
-- Compiler is not EMSCRIPTEN
-- Looking for log2
-- Looking for log2 - found
-- Performing Test CXX_WPSABI_SUPPORTED
-- Performing Test CXX_WPSABI_SUPPORTED - Failed
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
CMake Deprecation Warning at third_party/sjpeg/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Performing Test SJPEG_HAVE_FLAG___SSE2__
-- Performing Test SJPEG_HAVE_FLAG___SSE2__ - Failed
-- Performing Test SJPEG_HAVE_FLAG___SSE2__
-- Performing Test SJPEG_HAVE_FLAG___SSE2__ - Failed
-- Performing Test SJPEG_HAVE_FLAG___ARM_NEON__
-- Performing Test SJPEG_HAVE_FLAG___ARM_NEON__ - Failed
-- Performing Test SJPEG_HAVE_FLAG___ARM_NEON__
-- Performing Test SJPEG_HAVE_FLAG___ARM_NEON__ - Failed
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Found OpenGL: opengl32
-- Checking for module 'glut'
--   Can't find glut.pc in any of C:/Users/Johannes/win-packages/perl/c/lib/pkgconfig
use the PKG_CONFIG_PATH environment variable, or
specify extra search paths via 'search_paths'
-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
-- Performing Test COMPILER_HAS_DEPRECATED
-- Performing Test COMPILER_HAS_DEPRECATED - Success
-- Performing Test LINKER_SUPPORT_EXCLUDE_LIBS
-- Performing Test LINKER_SUPPORT_EXCLUDE_LIBS - Success
-- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR) (Required is at least version "5.1")
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Checking for module 'OpenEXR'
--   Can't find OpenEXR.pc in any of C:/Users/Johannes/win-packages/perl/c/lib/pkgconfig
use the PKG_CONFIG_PATH environment variable, or
specify extra search paths via 'search_paths'
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Warning at CMakeLists.txt:457 (message):
  asciidoc was not found, the man pages will not be installed.

-- Building with JPEGXL_VERSION=2ee9886a (auto-updated)
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Checking for module 'libwebp'
--   Found libwebp, version 1.1.0
CMake Warning at tools/CMakeLists.txt:253 (message):
  Using dynamic libwebp

-- Checking for module 'libavif'
--   Can't find libavif.pc in any of C:/Users/Johannes/win-packages/perl/c/lib/pkgconfig
use the PKG_CONFIG_PATH environment variable, or
specify extra search paths via 'search_paths'
-- Building tools: cjxl;djxl;jxlinfo;cjpeg_hdr;benchmark_xl
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Johannes/source/repos/libjxl/build

Rerunning with ninja -j1 (far too many warnings in the full build output log):
[3/4] Building CXX object tools\CMakeFiles\benchmark_xl.dir\benchmark\benchmark_codec_webp.cc.obj
FAILED: tools/CMakeFiles/benchmark_xl.dir/benchmark/benchmark_codec_webp.cc.obj
C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\cl.exe  /nologo /TP -DBENCHMARK_WEBP -DHWY_STATIC_DEFINE -DJPEGXL_ENABLE_SJPEG=1 -DJXL_EXPORT="" -DJXL_THREADS_STATIC_DEFINE -IC:\Users\Johannes\source\repos\libjxl -IC:\Users\Johannes\source\repos\libjxl\lib\include -IC:\Users\Johannes\source\repos\libjxl\build\lib\include -IC:\Users\Johannes\source\repos\libjxl\third_party\brotli\c\include -IC:\Users\Johannes\source\repos\libjxl\third_party\highway "/D_CRT_SECURE_NO_WARNINGS /W1"  /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /Fotools\CMakeFiles\benchmark_xl.dir\benchmark\benchmark_codec_webp.cc.obj /Fdtools\CMakeFiles\benchmark_xl.dir\ /FS -c C:\Users\Johannes\source\repos\libjxl\tools\benchmark\benchmark_codec_webp.cc
C:\Users\Johannes\source\repos\libjxl\lib/jxl/base/status.h(127): warning C4646: function declared with 'noreturn' has non-void return type
C:\Users\Johannes\source\repos\libjxl\lib/jxl/fields.h(51): warning C4244: 'return': conversion from 'uint64_t' to 'uint32_t', possible loss of data
C:\Users\Johannes\source\repos\libjxl\lib/jxl/frame_header.h(106): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
C:\Users\Johannes\source\repos\libjxl\lib/jxl/quantizer.h(88): warning C4244: '=': conversion from 'double' to 'float', possible loss of data
C:\Users\Johannes\source\repos\libjxl\lib/jxl/quantizer.h(89): warning C4244: '=': conversion from 'double' to 'float', possible loss of data
C:\Users\Johannes\source\repos\libjxl\tools/args.h(45): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Johannes\source\repos\libjxl\tools/cmdline.h(354): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
C:\Users\Johannes\source\repos\libjxl\tools\benchmark\benchmark_codec_webp.cc(9): fatal error C1083: Cannot open include file: 'webp/decode.h': No such file or directory
ninja: build stopped: subcommand failed.

So it can't find webp/decode.h, which isn't too surprising because it doesn't seem to exist, even after downloading the dependencies with deps.sh. The next include, webp/encode.h, also doesn't exist. But from the CMake output, it can be seen that the libwebp target is found ..

Could you give the option -DJPEGXL_ENABLE_BENCHMARK=OFF a try?

Hi, this indeed solves the issue. Thanks!


ElevationProfile:fix chartjs configuration for x axe

do not display the given max value, although the chart must be streched to this value

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.006%) to 99.678%

Files with Coverage Reduction
New Missed Lines
%

src/modules/olMap/handler/measure/OlMeasurementHandler.js
1
97.13%

Totals

Change from base Build<PHONE_NUMBER>7:
-0.006%

Covered Lines:
13440

Relevant Lines:
13442

💛  - Coveralls


pcli: add sweep implementation

This code is done outside of the client state as a test case for whether it's possible to use that interface to implement bespoke note handling -- some changes were required, because we'd accidentally closed off some required methods.
For each (account, denom) pair, we do a parallel, SWEEP_COUNT-to-1 sweep of as many of that denom's notes as possible, sending them to the same account.  This command can be run multiple times; if there's fewer than SWEEP_COUNT notes remaining, it's a no-op.  The original implementation counted an estimate of the number of notes following the sweep and used it to decide whether to recurse, but doing so requires async recursion and extra bookkeeping, and this is simpler and works now.

Perhaps a nice touch would be to exit with a non-zero exit code when sweep is complete, so that it's easy to write a shell script that loops this command until finished?


DigitalOcean and AWS issues

Hi, I installed Nadeko on a DigitalOcean droplet as suggested here in your guide and followed the exact steps in the guide too. I opted for a 1gb ram server. Whenever I run a radio stream with Nadeko, the sound keeps cutting out every 10 seconds or so. I check the resources being used and it's never taking more than 10% of the CPU and hardly any ram. I also tried installing on Amazon Web Services and it's the same. Is there any way to make it take more resources to stop the audio cutting out? Has anything changed with the way the bot works since that guide was created?
Thanks

We use #1053 to track music issues. Discord.net's music code changed, and I haven't refactored the music module yet to fix old issues and match new changes. Some people have more, some less luck in running music on 1.4+
Just wait for the refactor I guess, sorry for the inconvenience.


Add Makefile target to generate test fixtures

This adds a simple call to generate the fixtures, which will be handy for development but also be used in CI to detect missing fixture updates pre-commit

ci failure confirmed this works

ci failure after pushing updated fixtures adds confusion

Pushed a new commit that tries to add sorting on record (similar to https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/pull/445). Running make fixtures again produced a lot of different output in https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/pull/460/commits/b5aab61c59110a7fa1211b529de1632eee8833d2, but it looks like everything is there. Going to let CI run against it and see what happens


Grid column tooltips for dateInput have lost their background color.

Seems to be ok for textInputs:

I realize this is because the dateInput column is configured with a tooltipElement, which doesn't provide a background style by default.
tooltipElement: (v) => fmtDate(v, 'dddd MMMM Do YYYY')
This can be fixed in an app with something like:
tooltipElement: (v) => span({style: {backgroundColor: 'grey'}, item: fmtDate(v, 'dddd MMMM Do YYYY')})
(this is just a quick and dirty example fix, a better one would use framework classes to get theme colors)


Cannot destructure property wpgraphql of 'undefined' or 'null'

Yarn Start produces the following error
ERROR #11321  PLUGIN

"gatsby-node.js" threw an error while running the createPagesStatefully lifecycle:

Cannot read property 'uri' of null

   9 |
  10 | exports.createPagesStatefully = async ({ graphql, actions, reporter }, options) => {
> 11 |   await createPages({ actions, graphql, reporter }, options)
     |   ^
  12 |   await createPosts({ actions, graphql, reporter }, options)
  13 | }
  14 |

File: gatsby-node.js:11:3

  TypeError: Cannot read property 'uri' of null

  - createPages.js:107
    /Users/dlindberg/Code/dl-gatsby-wpgql/create/createPages.js:107:30
  - Array.map

  - createPages.js:106
    /Users/dlindberg/Code/dl-gatsby-wpgql/create/createPages.js:106:24
  - task_queues.js:93 processTicksAndRejections
    internal/process/task_queues.js:93:5

  - createPages.js:104 async module.exports
    /Users/dlindberg/Code/dl-gatsby-wpgql/create/createPages.js:104:3

  - gatsby-node.js:11 async Object.exports.createPagesStatefully
    /Users/dlindberg/Code/dl-gatsby-wpgql/gatsby-node.js:11:3

failed createPagesStatefully - 0.484s

The GraphQL query from createPages.js
    query GET_PAGES($first:Int $after:String) {
        wpgraphql {
            pages(
                first: $first
                after: $after
                # This will make sure to only get the parent nodes and no children
                where: {
                    parent: null
                }
            ) {
                pageInfo {
                    hasNextPage
                    endCursor
                }
                nodes {
                    id
                    title
                    pageId
                    content
                    uri
                    isFrontPage
                }
            }
        }
    }

yields the following errors in GraphiQL:
{
  "errors": [
    {
      "message": "Internal server error",
      "path": [
        "wpgraphql",
        "pages",
        "nodes",
        0,
        "isFrontPage"
      ],
      "extensions": {
        "category": "internal"
      },
      "stack": [
        "GraphQLError: Internal server error",
        "    at Object.relocatedError (/Users/dlindberg/Code/dl-gatsby-wpgql/node_modules/@graphql-tools/utils/index.cjs.js:3483:12)",
        "    at mergeDataAndErrors (/Users/dlindberg/Code/dl-gatsby-wpgql/node_modules/@graphql-tools/delegate/index.cjs.js:1404:34)",
        "    at /Users/dlindberg/Code/dl-gatsby-wpgql/node_modules/@graphql-tools/delegate/index.cjs.js:1432:66",
        "    at Array.forEach (<anonymous>)",
        "    at mergeDataAndErrors (/Users/dlindberg/Code/dl-gatsby-wpgql/node_modules/@graphql-tools/delegate/index.cjs.js:1430:27)",
        "    at /Users/dlindberg/Code/dl-gatsby-wpgql/node_modules/@graphql-tools/delegate/index.cjs.js:1432:66",
        "    at Array.forEach (<anonymous>)",
        "    at mergeDataAndErrors (/Users/dlindberg/Code/dl-gatsby-wpgql/node_modules/@graphql-tools/delegate/index.cjs.js:1430:27)",
        "    at checkResultAndHandleErrors (/Users/dlindberg/Code/dl-gatsby-wpgql/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
        "    at CheckResultAndHandleErrors.transformResult (/Users/dlindberg/Code/dl-gatsby-wpgql/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
        "    at /Users/dlindberg/Code/dl-gatsby-wpgql/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
        "    at Array.reduceRight (<anonymous>)",
        "    at Transformer.transformResult (/Users/dlindberg/Code/dl-gatsby-wpgql/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
        "    at /Users/dlindberg/Code/dl-gatsby-wpgql/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
        "    at processTicksAndRejections (internal/process/task_queues.js:93:5)",
        "    at async Promise.all (index 0)"
      ]
    },
...

Appreciate your help as I work through this very helpful tutorial

This error only occurs when "isFrontPage" is selected (wpgraphql/pages/nodes/isFrontPage). Disabling this option yields expected data.

Looks like this is a Gatsby issue. Closing this.

@Dave-Lindberg Glad it got figured out :) I think usually this happens if something is messed up in the query.


RHEA xrefs linked to more than one term

Hello !
I thought it was forbidden to have a Rhea associated with more than 1 GO term. I found those examples:
xref: RHEA:11096
xref: RHEA:13349
xref: RHEA:13957
xref: RHEA:15793
xref: RHEA:17957
xref: RHEA:19389
xref: RHEA:20397
xref: RHEA:22640
xref: RHEA:23656
xref: RHEA:26466
xref: RHEA:30523
xref: RHEA:33983
@hdrabkin can you fix ?
@balhoff should we add a check ?
Thanks, Pascale

should we add a check ?

I can do this. Should be one-to-one (both directions) right? @hdrabkin I can wait until it's cleaned up and then implement the check.

Thought I got them all. These might be more NAD(P) stuff.

Should be one-to-one (both directions) right?

I think so

any rhea id should only appear once in GO,  and only 1 rhea per GO term.

RHEA:11096 fixed
RHEA:13349 term merge
RHEA:13957 term merge (except stoich. is different (4 vs 5 caron)
RHEA:15793 fixed
RHEA:17957  The two reactions are different and can't even have the same EC but do.
3-hydroxypropenoate is not the same as 3-oxopropanoate.  The RHEA belongs with GO:0050079; removed from GO:0051909.  These two terms have different metacyc ids but the EC is same; EC says "The mechanism appears to involve hydration of the acetylene to 3-hydroxypropenoate, which will spontaneously tautomerize to 3-oxopropanoate."
So I suspect these terms should be merged (keeping the one with the RHEA).
RHEA:19389  suggest term merge
RHEA:20397 removed rhea from one reaction. ; new rhea for GO:0102028 requested to specifiy new substrate.
RHEA:22640 removed from one reaction; new rhea for GO:0102283 with more specific substrate requested
RHEA:23656 removed from less specific reaction; suggest merge GO:0018842 into GO:00047472
RHEA:26466 best fit to GO:0102094 keep; remove from GO:0043770; possible term merge
RHEA:30523 maybe  term merge:
RHEA:33983 term merge
Made simple fixes first; term merges to come after checks.

These are now resolved  See
#20722 and #20720, both closed now.

These are now resolved  See
#20722 and #20720, both closed now.


PHP 8.0 support

Feature Request

Q
A

New Feature
yes

Summary
To be prepared for the december release of PHP 8.0, this repository has some additional TODOs to be tested against the new major version.
In order to make this repository compatible, one has to follow these steps:

[ ] Modify composer.json to provide support for PHP 8.0 by adding the constraint ~8.0.0
[ ] Modify composer.json to drop support for PHP less than 7.3
[ ] Modify composer.json to implement phpunit 9.3 which supports PHP 7.3+
[ ] Modify .travis.yml to ignore platform requirements when installing composer dependencies (simply add --ignore-platform-reqs to COMPOSER_ARGS env variable)
[ ] Modify .travis.yml to add PHP 8.0 to the matrix (NOTE: Do not allow failures as PHP 8.0 has a feature freeze since 2020-08-04!)
[ ] Modify source code in case there are incompatibilities with PHP 8.0

Closing this as there wont be support for PHP 8.0 and the ext-mongo dependency.


Add Spice Launch System from SpaceDock

This is a semi-automated commit on behalf of maccollo

quite the turnaround from the author with the license there :o

WTFPL to ARR? Sure is.


Research Google web packaging (AMP)

Example what not to do?

This was just relaunched as Web Bundles.
This is an example of where a technology that needs new visual communication in the location bar (separation of content from location) is being shoehorned into the existing system (green padlock, site identity indicators, etc).


Support for Goerli

Our application currently has only been launched (to the public even) on the Goerli chain. Our app requires users to be on Goerli to ensure the correct working. To ensure that, we have a modal that can not be closed unless you're on the correct chain.
However, this is blocking us from testing with this library, as I can't figure out how to make the mock act like the test is running on Goerli.
Any advice?

You could add Goerli to https://github.com/DePayFi/web3-blockchains in order to have it available for web3-mock, too.


Wrong Address Balance displayed in Send tab

Related to https://github.com/adityapk00/zec-qt-wallet/issues/36

Verified as fixed.


[DIA-32] Implements authentication with Kratos

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


Position center of viewport

Looking for advice on the appropriate API to use to center the viewport to a specific location, and a specific zoom level.
fitWidth is getting me close to what I need, however the centered position I require is in negative Y.
Attempting to call moveCenter(2.5, -2.5) seems to break the positioning.

Hmmm...that's weird. moveCenter() works fine with negative values. You're doing it the right way: fitWidth() and moveCenter() (in either order). Can you provide more details on the center not working properly?
Many times it's caused by screenWidth/screenHeight not being set correctly on initialize.

screenWidth and screenHeight are initialized to the containing html element's "clientWidth" and "clientHeight".
Could you provide a quick sample of positioning the center of the viewport to a negative Y value?

sorry, this got lost. did you figure it out? viewport.moveCenter(-100, -100) should work without problems.

I have a similar problem, but I don't understand how to solve it:

I draw a network visualization
I set the zoom to fit it in the screen with .setZoom(.5)
I don't understand how to center it

I've checked .scaled() but it seems just to retrieve the scale.
Can you help me?
This is the weblink:
https://rodighiero.github.io/COVID-19/

Call viewport.moveCenter(x, y) where (x, y) is the world coordinates that you want at the center of the screen. Two coordinate systems: (1) the screen coordinates: this is the screen with 0, 0 at the top-left of the screen, and (2) the world coordinates: this is relative to the viewport container and includes your "world" elements, ie, all children of your viewport. This is moved by viewport.
So say you have a rectangle at (0, 0, 100, 100) and you want that box in the middle of the screen, you would call viewport.moveCenter(50, 50).

That's perfect too, thank you!

Thanks for the info here. Another way to center and fit the viewport is: viewport.setTransform(0, 0, 1, 1).fit(true)

Another way to center and fit the viewport is: viewport.setTransform(0, 0, 1, 1).fit(true)

I don't think so;
Error: viewport.setTransform is not a function


Update CODE_OF_CONDUCT.md

Explanation
Use the same code of conduct

Hello, I am a PR summary agent on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!


Error running npm start in web folder (TypeScript error in /home/user/banks/react-bank/web/src/components/Auth/Login/index.tsx(21,11):)

Please am trying to run the npm start in the web folder after successfully loading the api folder for strapi but I keep geting this error
Failed to compile.
`/home/user/banks/react-bank/web/src/components/Auth/Login/index.tsx
TypeScript error in /home/user/banks/react-bank/web/src/components/Auth/Login/index.tsx(21,11):
Type '{ history: History; onLoginSubmit: (identifier: string, password: string) => void; }' is missing the following properties from type 'MyFormProps': identifier, password  TS2739
19 |          <Loader />
20 |       ) : (

21 |
|           ^
22 |       )}
23 |
`
I don't have been stuck on this error for the past days now. Please any help will be really appreciated.

Thank you so much.

Did you ever find a solution?

I am having the same issue right off the download. It looks like Form folder is missing. Any help is appreciated.


clientLoader and clientAction

Discussed in https://github.com/remix-run/remix/discussions/4950
Related proposal: https://github.com/remix-run/remix/discussions/2853
@ryanflorence to write more details in here for the API
Docs need to be clear the risk of breaking your app with this API is high.

for reference, the relevant section in Roadmap Planning # 4;  https://youtu.be/4Q1P8T27UBo?t=3230

Initial work on this https://github.com/remix-run/remix/pull/5543

With RSC I think we have a different path forward here, moving back to the backlog for now.


[README] Added link to google play store release.

https://play.google.com/store/apps/details?id=info.hossainkhan.dailynewsheadlines

Current coverage is 0.00% (diff: 100%)

Merging #103 into develop will not change coverage

@@           develop   #103   diff @@
=====================================
  Files            1      1
  Lines           34     34
  Methods          0      0
  Messages         0      0
  Branches         0      0
=====================================
  Hits             0      0
  Misses          34     34
  Partials         0      0

Powered by Codecov. Last update 4743f3f...62e2119


Add debug.profilebegin and debug.profileend

In Roblox these functions exist for use in Microprofiler. While standalone Luau does not have such Microprofiler, it does have luau --profile option, which generates flame graph of significant function calls.
This flame graph is great for detecting the slowest functions, but there is no easy way how to probe which parts of the function are the slowest. So it would be great if debug.profilebegin and debug.profileend existed, which would add custom labels to the luau CLI generated flame graph.

Here is an example for how this would be useful.
I have two pretty complex functions encode and parse. Dividing them up by lifting out small functions would require quite a bit of effort just for profiling sake, so I would have to repeat that if I were to update the functions.
This is how they currently look in flame graph and I would really like to get a better understanding on what is going on in that blank space when calling encode recursively:

I looked at the profiler yesterday and its written completely in the CLI module, outside of the VM. The only thing it does in/to the VM is set the interrupt hook, and from there it reads the functions of the current stack. A very clean separation, I was impressed.
I think doing something like this requires a closer integration, and it might not be desireable to add profiling stuff to the now very clean VM module. It also can be troublesome to end the profiler scope on errors etc. A workaround might be to do selfcalling functions like
...code...
local function scopeName()
     ...code...
end()
...code...

The other alternative is to write a 3rd party profiler lib that can add these functions, which I guess is whay they have done in roblox

Silly but working thing I added to my test runner now to get scopes in the flame graph:
local scopeName = child.description:gsub("[^%w]", "_")
local namedScope = loadstring(string.format([[local function %s(callback, ...) return callback(...) end; return %s]], scopeName, scopeName), context.description)()
contextPassed = namedScope(traverseContext, child, skipContext) and contextPassed

traverseContext is a function I usually called straight up, now I call it through the scope function.
This little experiment did make me more motivated to fork the profiler and add useful stuff :) But the profiler is great, super fast :ok_hand:

I'm going to close this since I don't think this will realistically happen.
It's possible to integrate debug.profilebegin/profileend with the sampling profiler - in fact, we're planning to do this in Roblox. However, it doesn't make debug.profile* easy to share and requires carrying extra per-thread state which not all embedders would appreciate. Additionally debug.profile* has some overhead so it's not a very good tool for profiling small sections of existing code - for that to work better, we'd need to improve the profiler to be able to collect perf data on a finer granularity (eg lines).
With the optimizer inlining at -O2 there's also now a possibility of refactoring the code to use more functions, and profiling at -O1 (and verifying, eg with the profiler, that the overhead disappears at -O2).
Either way this would effectively either require us to push debug. APIs into the core, or add more APIs that are REPL-only which we're trying to avoid to make the question "which library functions are present" more straightforward.


Could we try to read the keyfile in PKCS#8

I think google-chrome requires a PKCS#8 formatted PEM file.. crxmake uses an RSA private key format.  Perhaps we could try to read the file with the two formats, PKCS#8 as a fallback ?

A PR is more than welcome, sorry but I don't have time now to take a lot to it. Sorry


Manage InvenioRDM blogs with Rogue Scholar API

Including slug, title, description, home_page_url and logo. Implement as upsert.

Implemented.


EL-1763 replace cw1&2 form

Jira ticket
What changed and why
updated the CW1&2 form (english)
Guidance to review

Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing
Branch is generally up to date with main Github - definitely no conflicts
No unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
PR description says what changed and why, with a link to the JIRA story.
Diff has been checked for unexpected changes being included.
Commit messages say why the change was made.

So I ran the download locally and on the deployed UAT env and it completely broke at the download point :')
It is strangely still looking for the old form so I don't know if we've missed something....

should be fixed now, tested locally and redeployed to UAT


Improve setup docs

In SR2023 several teams apparently struggled to set up the simulator for use. If we can make the process easier that would be great, though likely the best we can do (for SR2024) is document it better.
A good approach here is probably to start with a clean machine (maybe a VM?) and follow the setup instructions directly to validate that they cover everything. If we can get someone not already familiar with the simulator (or, better, with programming) to help with the testing that would be great.

@8BitJosh as this suggestion came from you - do you have any details of specific issues which competitors hit in SR2023 which we should address?

Should go through the full setup process and use images/videos to explain the process.
We should look at any steps that may be confusing to improve how it is setup.
Also I had feedback from competritors that they found it difficult to undestand the text based file tree.


Basic implementation (incomplete)

The implementation is incomplete.
I was hoping to first implement the basic logger - not using streams
Then implement as a stream (Hoping to learn and get some guidance with this)

Thanks for kicking it off! 👍