Fix #416 Session class incompatibility with PHP 7.x/8+

Due to difference in SessionInterfaceHandler interface in PHP 7.x and PHP 8+ gc method return type was ommited and suppressed warning as PHP 8+ It's better for future to make different version of Stash for PHP 7.x and PHP 8+
Minor change was made also to remove cmpatibility with PHP version before 5.4.0 while Stash package is compatible with 7+.

It's not clear to me what you're referring to in this PR @mitkola, it'd probably be better to reconsider how this might change now that this repository is PHP 8.0+ and describe the changes and why they are necessary in different words.

It's not clear to me what you're referring to in this PR @mitkola, it'd probably be better to reconsider how this might change now that this repository is PHP 8.0+ and describe the changes and why they are necessary in different words.

The problem exist with installing stash with composer in php 7.2 (7.4) environment.
Composer installs version 0.17.6 of stash with incompatible for php 7.x definition of Session interface.
https://github.com/tedious/Stash/blob/a2c9df16c77b13e1f90462f30597a772166eea8f/src/Stash/Session.php#L229
In short installing stash in php 7.2+ environment produces syntax error at this line.
I have to make workaround with downgrade and manually require version 0.16.0 of stash instead of automatically suggested 0.17.6..

PHP7 hasn't even had security updates in over a year. Don't run insecure ancient versions of PHP.

@tedivm We considered Stash for use in a blogging engine, but not supporting PHP 7.x was a deal breaker. This is less about using it for new installations, which should run PHP 8.x, but providing an upgrade path for old installations. Also, there are still LTS distros out there that will provide (and patch) PHP 7.x.
It would really be appreciated if you could reconsider, being backwards compatible would make Stash a lot more useful. At least for us.
(I have no connection to the author of the PR, was just watching here).

PHP 7.4 would be enough for us :) That's usually achievable in those old installations.

What was the last version that will work with your installs, and do you see a path for 0.17 working for it?

Does 0.17 work with PHP 7.4 and PHP 8.x? Then yes, it would be an option to pin Stash to that older version.
It would of course be nicer to be able to use the current version, but psr/cache also set the php minimum to 8.0 with its 2.0...


Added more convenient method to rename database

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] Please add REST spec PR link to the SDK PR
[x] I have read the contribution guidelines.
[x] The pull request does not introduce breaking changes.

General Guidelines

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[x] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[x] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[x] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

@kosta-bizetic I have done version bump and release notes for automatic tuning. Please check that the release notes sound good.

@jaredmoo They are good. Thanks

There was no regen in this change. I added manually written code.

@azuresdkci retest this please

@jaredmoo all customization should be added under Customization layer.
This can be done by creating a Customization directory and arrange all your hand-written code.
This will help when the next time you regen, your existing code under customization directory will not be modified during regen.

That is what I did. I added file src/SDKs/SqlManagement/Management.Sql/DatabasesOperations.cs, etc, all the generated files are under src/SDKs/SqlManagement/Management.Sql/Generated/.

@jaredmoo the usual behavior for customization is to create a directory called customization.
Because honestly the entire SDK is generated, so the generated directory should not be their.
Other SDKs currently offer this convention and it helps to isolate hand-written code from generated.


Cipher configuration over JDBC URL doesn't work with 3.33.0

I updated my application from io.github.willena:sqlite-jdbc version 3.31.1 to 3.33.0 and noticed that encrypted databases can't be opened and newly created databases are not encrypted when I use the cipher and key configuration over the JDBC URL.
I use the cipher chacha20 and a password to open the DB connection like this:
Connection conn = DriverManager.getConnection("jdbc:sqlite:file:mydatabase.sqlite?cipher=chacha20&key=mykey");

Please have a look at #21. It seams to be the same issue.
A fix (b35f034) has been applied to the source code but not yet released.

Thank you for the quick answer, it looks like the same issue (and that's why I'm closing this issue). Is there a plan when the fix will be released?

By the end of the day, a new version should be available on maven and github (version number <IP_ADDRESS>)

I noticed that the escaping of & (to %26) and ? (to %63) in the key doesn`t work properly for version number <IP_ADDRESS>.

I'll have a look soon thanks for reporting the issue

This is now fixed in commit b43421e. A new release will be available very soon.


doc: update apt repository of Ubuntu distro

This commit is to append how to do a self assessment for Ubuntu packaging work.
Note that contributors have to execute a self assessment before submitting your PR.
We describe how to verify if your commit(s) is valid. To complete a source code verification,
we strongly recommend that contributors execute a clean build with a latest version of
a software platform. A partial validation inspection of software cause potential defects
when the software is integrated into the software platform.

For APT repository of Tensorflow and NNstreamer
deb [trusted=yes] http://ppa.launchpad.net/nnstreamer/ppa/ubuntu xenial main

Changes proposed in this PR:

Updated how to setup TAOS-CI server
Updated self assessment manaul
Updated guide documents

Signed-off-by: Geunsik Lim<EMAIL_ADDRESS>
[Template] PR Description
In general, github system automatically copies your commit message for your convenience.
Please remove unused part of the template after writing your own PR description with this template.
$ git commit -s filename1 filename2 ... [enter]

Summarize changes in around 50 characters or less

More detailed explanatory text, if necessary. Wrap it to about 72
characters or so. In some contexts, the first line is treated as the
subject of the commit and the rest of the text as the body. The
blank line separating the summary from the body is critical;
various tools like `log`, `shortlog` and `rebase` can get confused
if you run the two together.

Further paragraphs come after blank lines.

**Changes proposed in this PR:**
- Bullet points are okay, too
- Typically a hyphen or asterisk is used for the bullet, preceded
  by a single space, with blank lines in between, but conventions vary here.

Resolves: #123
See also: #456, #789

**Self evaluation:**
1. Build test: [ ]Passed [ ]Failed [*]Skipped
2. Run test: [ ]Passed [ ]Failed [* ]Skipped

**How to evaluate:**
1. Describe how to evaluate in order to be reproduced by reviewer(s).

Add signed-off message automatically by running **$git commit -s ...** command.

$ git push origin <your_branch_name>

:memo: Version: 1.20180820. Thank you for submitting PR #246. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://invain.mooo.com/.

Info: You can read if there are misspelled characters at our misspelling check report. Please read http://invain.mooo.com/TAOS-CI/ci/repo-workers/pr-format/201809131456210.90355706214905-246-88293a0f41cf1ecb7e82db7814bf04631b240be6/report/misspelling_result.txt.


account blocked

hello,
i have tried pot.py but my account got blocked for the reason of using bots.

hi, is this temporary block?

yeah,it is temporarily blocked.

mviz

On Thu, Jul 26, 2018 at 9:37 PM, Ömer Günal<EMAIL_ADDRESS>wrote:

hi, is this temporary block?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/omergunal/PoT/issues/10#issuecomment-408149649, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcY7P6OUA48FuQUlxSQFs6gKkdUbrE7bks5uKekvgaJpZM4Vb80s
.

Ok. Twitter can detect our anomaly behaviour, i mean this is unfortunately normal.
Maybe i should change this tool from command line to browser. If you have any good idea for this reason, you can share with me.


[bug]: Migration from 02x does not carry over service URLs

Steps to reproduce:

Set up 02x
Install services and store URLs in bookmarks/password manager
Migrate to 030
Recover services
Launch your frontend services in a browser
URL is different from how it used to be
Now your bookmarks and passwords all have the wrong URLs

EDIT: actually RTL has the old URL, but for some reason Spark does not.

if you want the tor address to migrate from 0.2.x, you must name the interface main

Reopening to track converting services whose UI interface is not named main


JSON.stringify and JSON.parse is transforming Buffer

from a Buffer to a self describable Buffer like :
{ type: 'Buffer',
  data:
   [ 18,
     32,
     68,
     82,
     54,
     198,
     254,
     182,
     160,
     69,
     174,
     71,
     105,
     159,
     41,
     80,
     109,
     25,
     244,
     69,
     100,
     64,
     59,
     71,
     159,
     121,
     55,
     44,
     38,
     73,
     151,
     75,
     203,
     139 ] }

Gotta think in a less 'hacky' solution for the remapping of keys:
https://github.com/diasdavid/node-ipld/blob/master/src/index.js#L38-L45

solved with https://github.com/diasdavid/remap-keys


Xandra.Cluster connects, but doesn't think so

I'm still digging to try to figure out what is going on with our inability to connect with Xandra repeatably. Any pointers appreciated!
We are now running 0.16.0 with the peers patch that is on the Draft PR.
I deployed a copy of our service that I could manually start in the container with start_iex. I ran tcpdump to capture the network traffic. What I see is that the first connection that goes out successfully connects. It stays connected the whole time. Many other connections are made, all of which seem to establish a TCP session. I cannot see anything different at the TCP level between when Xandra succeeds in starting the cluster and when it fails. Because it is over SSL (and I can't change that) I cannot see what is going on at the Cassandra protocol level. I assume if there were an actual protocol issue that I would see Cassandra sending RSTs or FINs on the connection, which I don't see.
Attached is a screenshot of Wireshark displaying the first connection. You can see by the packet count that it stays connected until I exit the application.
I built a little startup watcher GenServer as a child of Application that prevents our processing pipelines from starting until Xandra.Cluster is up. It tells you how long it waited and how many tries that took. There seems to be no pattern in the amount of time it takes.
I do not believe this is server-side because we run golang-migrate on every app startup and it has no trouble connecting to Cassandra at all, only a few seconds before Xandra starts up.
Things I noticed:

I set the topology_refresh_interval to 30 seconds as a debugging experiment, that may be the thing that sometimes kick it in the pants if it doesn't connect the first time. Anecdotally there is a correlation timestamp-wise.
When I set the CPU limit very low, it almost always is able to connect right away

My observations may point to some kind of timing issue. But I am not sure where to look. Something with internal messaging between the BEAM processes?

I realized that there is telemetry not being logged, so adding a logger for the telemetry around connections.

The telemetry reveals that it is not connecting to more than one host in the cluster. Additionally, every time the topology runs, it swaps in and out the two hosts that are not the one with the control connection. This appears to have no effect on creating or stopping connections, however.
Here is the startup of the application in a data center with 3 nodes.
1-43c4-8a79-9755134a17d4", port: 11172, rack: "usw2-az1", release_version: "4.0.4", schema_version: "724335b0-8709-3d1d-8b94-233dfe8fbce5"}
11:27:02.618 [info] Xandra Cluster: [:change_event]: %{changed: true, cluster_name: Store, cluster_pid: #PID<0.5486.0>, event_type: :host_added, host: %Xandra.Cluster.Host{address: {10, 4, 0, 86}, data_center: "redacted", host_id: "425bee92-19ab-4be1-99c9-392ce820670a", port: 11172, rack: "usw2-az3", release_version: "4.0.4", schema_version: "724335b0-8709-3d1d-8b94-233dfe8fbce5"}
11:27:02.618 [info] Xandra Cluster: [:change_event]: %{changed: true, cluster_name: Store, cluster_pid: #PID<0.5486.0>, event_type: :host_added, host: %Xandra.Cluster.Host{address: {10, 4, 0, 42}, data_center: "redacted", host_id: "ea819914-e415-4a70-8726-9d6c91653ffa", port: 11172, rack: "usw2-az2", release_version: "4.0.4", schema_version: "724335b0-8709-3d1d-8b94-233dfe8fbce5"}
11:27:02.619 [info] Xandra Cluster: [:control_connection, :connected]: %{cluster_name: Store, cluster_pid: #PID<0.5486.0>, host: %Xandra.Cluster.Host{address: {10, 4, 0, 9}, data_center: "redacted", host_id: "473a0351-8c81-43c4-8a79-9755134a17d4", port: 11172, rack: "usw2-az1", release_version: "4.0.4", schema_version: "724335b0-8709-3d1d-8b94-233dfe8fbce5"}
11:27:03.130 [info] Xandra Cluster: [:change_event]: %{changed: true, cluster_name: Store, cluster_pid: #PID<0.5486.0>, event_type: :host_down, host: %Xandra.Cluster.Host{address: {10, 4, 0, 9}, data_center: "redacted", host_id: "473a0351-8c81-43c4-8a79-9755134a17d4", port: 11172, rack: "usw2-az1", release_version: "4.0.4", schema_version: "724335b0-8709-3d1d-8b94-233dfe8fbce5"}
11:27:03.145 [info] Xandra Cluster: [:change_event]: %{changed: true, cluster_name: Store, cluster_pid: #PID<0.5486.0>, event_type: :host_down, host: %Xandra.Cluster.Host{address: {10, 4, 0, 86}, data_center: "redacted", host_id: "425bee92-19ab-4be1-99c9-392ce820670a", port: 11172, rack: "usw2-az3", release_version: "4.0.4", schema_version: "724335b0-8709-3d1d-8b94-233dfe8fbce5"}
11:27:03.535 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.589 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.706 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.723 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.753 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.790 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.883 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.906 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.907 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.909 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.927 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.934 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.944 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.950 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}
11:27:03.951 [info] Xandra: [:connected]: %{address: {10, 4, 0, 42}, connection_name: nil, port: 11172}

It establishes the control connection to <IP_ADDRESS>. It then adds <IP_ADDRESS> and <IP_ADDRESS>. It then marks <IP_ADDRESS> down even while the control connection is still connected. It then marks <IP_ADDRESS> as down. Then the only host left is <IP_ADDRESS> so it opens all the connections to that host. However, the control connection remains open to <IP_ADDRESS> and the other two hosts are actually up.
From then on, when the topology refresh happens, it oscillates the other two hosts into and out of the cluster like this:
11:47:03.166 [info] Xandra Cluster: [:change_event]: %{changed: true, cluster_name: Store, cluster_pid: #PID<0.5486.0>, event_type: :host_down, host: %Xandra.Cluster.Host{address: {10, 4, 0, 9}, data_center: "redacted", host_id: "473a0351-8c81-43c4-8a79-9755134a17d4", port: 11172, rack: "usw2-az1", release_version: "4.0.4", schema_version: "724335b0-8709-3d1d-8b94-233dfe8fbce5"}
11:47:03.678 [info] Xandra Cluster: [:change_event]: %{changed: true, cluster_name: Store, cluster_pid: #PID<0.5486.0>, event_type: :host_down, host: %Xandra.Cluster.Host{address: {10, 4, 0, 86}, data_center: "redacted", host_id: "425bee92-19ab-4be1-99c9-392ce820670a", port: 11172, rack: "usw2-az3", release_version: "4.0.4", schema_version: "724335b0-8709-3d1d-8b94-233dfe8fbce5"}
11:52:02.658 [info] Xandra Cluster: [:change_event]: %{changed: true, cluster_name: Store, cluster_pid: #PID<0.5486.0>, event_type: :host_up, host: %Xandra.Cluster.Host{address: {10, 4, 0, 9}, data_center: "redacted", host_id: "473a0351-8c81-43c4-8a79-9755134a17d4", port: 11172, rack: "usw2-az1", release_version: "4.0.4", schema_version: "724335b0-8709-3d1d-8b94-233dfe8fbce5"}
11:52:02.659 [info] Xandra Cluster: [:change_event]: %{changed: true, cluster_name: Store, cluster_pid: #PID<0.5486.0>, event_type: :host_up, host: %Xandra.Cluster.Host{address: {10, 4, 0, 86}, data_center: "redacted", host_id: "425bee92-19ab-4be1-99c9-392ce820670a", port: 11172, rack: "usw2-az3", release_version: "4.0.4", schema_version: "724335b0-8709-3d1d-8b94-233dfe8fbce5"}

Something very odd is going on with the cluster discovery.

@relistan one question: if you query <IP_ADDRESS> (the control connection node) for system.peers, you see the other peers, right? You should have a [:xandra, :cluster, :discovered_peers] Telemetry event for that.

Thanks @whatyouhide, that makes a lot of sense.  Yes, when I query the
control connection node I see the other two in system.peers
On Wed, Aug 2, 2023 at 11:56 AM Andrea Leopardi @.***>
wrote:

@relistan https://github.com/relistan one question: if you query
<IP_ADDRESS> (the control connection node) for system.peers, you see the
other peers, right? You should have a [:xandra, :cluster,
:discovered_peers] Telemetry event for that.
—
Reply to this email directly, view it on GitHub
https://github.com/lexhide/xandra/issues/314#issuecomment-1661996664,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACBL4NPPUYXHM6J22K3RIDXTIW6FANCNFSM6AAAAAA26JFLXE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hey @relistan! I've been hard at work rewriting Xandra's clustering functionality.  I’m working with folks at Veeps (where I work) to be able to better test this as well, but I wanted to tell you to give main a try if you want and see how it goes 😉

Thanks @whatyouhide! I'm out until the middle of next week but maybe @britto or @jacquelineIO  can take a look before that if they have time.

That would be fantastic, as it would also help me figure out if something is wrong and start working on fixes. @britto and @jacquelineIO, please reach out if I can help in any way!

Xandra has changed so much in the past couple of months that I’m gonna go ahead and say that this is fixed 😄 It might not be, but I’m pretty sure any error would look different at this point!


Question - Is it possible to change the period from 30 minutes to 15 minutes?

I'm would like to change de range of time to ..., 15, 30, 45, ... instead of ..., 30, ...

It's planned for the v2
You can follow the progress on develop branch

v2 available today !


Incorrect loglevels for gateway log

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug

PPPoE / Gateway monitoring has had an overhaul in 24.7.2 and its fixed the issues I was having.
I've noticed though that in the System-Gateways-Logfile that the dpinger settings and resets are being marked with a loglevel of Warning.
Warning	dpinger	exiting on signal 15
Warning	dpinger	send_interval 5000ms loss_interval 4000ms time_period 60000ms report_interval 0ms data_len 5 alert_interval 1000ms latency_alarm 0ms loss_alarm ....

To Reproduce
Steps to reproduce the behavior:

System-Gateways-Logfile
If gateway monitoring is turned on then the settings for dpinger will be shown with an error level of Warning

Expected behavior
I would have expected both to have a level of 'Informational'
Describe alternatives you considered
N/A
Screenshots
Screenshot of both is attached.
Relevant log files
The last day or so of my log is attached.
Environment
Software version used and hardware type:
OPNsense 24.7.2 (amd64).
Intel i3-10110U 2.1Ghz Dual Core
Protectli Vault VP4630

GatewayLog.txt

I‘m marking this upstream. A GitHub repository for dpinger exists where this could be discussed with the author.

Appear to me that it's always warning whenever syslog (-S) is used. Apparently by design.

Ok, I had some closer look at the code, it really has no concept of loglevels. There are 21 logger() calls. For some, the desired loglevel is obvious (and should be error, not warning), for some - not very much so. Regardless - this is nontrivial amount of code to be changed, noone wants to maintain such patchsets downstream.

You really should file an issue / feature request at the dpinger repo.


Lick detection not the same across days

Grounding issue?
Headplate needs to be in better contact with skull during surgery?
Mouse size issue? (can be changed with threshold tuning)

@Poofjunior
Licks not reliably detected.
Drift over time (eg. .when tube is more or less dry)
Discussed: relax 1ms requirement to 10ms requirement

@tiffanyona I fixed the starting threshold values, which should be a huge quality-of-life improvement when we tune these values for debugging.

@Poofjunior Today after 3.30 the setup and I are free! Can we make it then? Hopefully this update can fix the main issues!

[like]  Cindy Poo reacted to your message:

From: Sonya Vasquez @.>
Sent: Friday, February 2, 2024 9:27:31 PM
To: AllenNeuralDynamics/Aind.Behavior.VrForaging @.>
Cc: Cindy Poo @.>; Author @.>
Subject: Re: [AllenNeuralDynamics/Aind.Behavior.VrForaging] Lick detection not the same across days (Issue #158)
@tiffanyonahttps://github.com/tiffanyona I fixed the starting threshold values, which should be a huge quality-of-life improvement when we tune these values for debugging.
—
Reply to this email directly, view it on GitHubhttps://github.com/AllenNeuralDynamics/Aind.Behavior.VrForaging/issues/158#issuecomment-1924724404, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALM35YB2Y7KT545FDHWJ3N3YRVK4HAVCNFSM6AAAAABAKC223GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRUG4ZDINBQGQ.
You are receiving this because you authored the thread.Message ID: @.***>

Reflashing with quality of life improvement in the triggers and test on Friday with raw data online (aside of behavioral training)

Sonya acquired raw data to have a better look at it.
Today 2/12 there were still a lot of issues with the detection, specially in red boxes. Things still pending to do to try to upgrade the signal:

[ ] Increase the the time requirement to 10ms instead of 1ms.
[ ] Ground the lights in the red boxes.

I talked to Sonya today. I propose we revert back to Janelia lick boards for all behavioral rigs for now.
We prob will have to re-visit the idea of having the same board solution for both ephys and behavioral rigs. Might make more sense to fork it.
For now, reverting back to Janelia boards will allow us to train mice without adding timeline pressure on Sonya's project, and without delaying training plans.


how to have external connectivity?

I googled about how to have an external access to redpanda from out side of kubernetes cluster and I found this documentation:
https://vectorized.io/docs/kubernetes-external-connect/
but it does not work for me because it's old. currently I'm using version 1.0.6 of redpanda helm chart.
how can I have an external access from outside of cluster with latest helm chart version?

@mlkmhd  - this repo is deprecated. did you see this: https://vectorized.io/docs on k8s ?

happy to keep the discussion going, but can you open it up on the main redpanda repo as a github discussion


I want multiple choices to be able to add choice at the top search bar.

I have multiple choices as ['dog','cat','duck]. I want users  to be able to add their own pet if it is not in the list. They can input 'bird' and generate a choice dynamically, then return ['dog','bird']

I released https://pub.dev/packages/flutter_awesome_select with fixed null safety.
Could you check that everything works for you?

Hi everyone,
I'm really sorry for not maintaining the smart_select package in a long time. It's been a great project, but it's become too difficult for me to maintain, especially since I've been going through a tough time for the past few years.
In its place, I've released a new package called choice. The combination to smart_select and chips_choice with cleaner, more flexible, and composable API for creating inline or prompted choice widgets with single or multiple selection.
I hope you'll check out choice. I think you'll find it to be a great replacement for smart_select.
Thanks for your understanding.


Issue #76 Phase 1: REPL Support

Summary :
A simple script dstream-shell similar to
spark-shell and others to invoke a REPL env.
Supported for only dstream-api.
Script for now assumes that dstream-api module is built for it to be invoked.
[TODO] test all the methods
TestPlan :
./dstream-shell
Reviewers :
Oleg Zhurakousky
Reported-By :
Swathi V
SignedOff-By :
<EMAIL_ADDRESS>

@olegz
Following is how-to invoke dstream-shell and the output. Please have a look at your convenience and let me know if it makes sense. Thanks!
$./dstream-shell
Checking if Java REPL exists ...
Java REPL not found! Installing ...

--2015-10-07 04:30:54--  http://albertlatacz.published.s3.amazonaws.com/javarepl/javarepl.jar
Resolving albertlatacz.published.s3.amazonaws.com (albertlatacz.published.s3.amazonaws.com)... <IP_ADDRESS>
Connecting to albertlatacz.published.s3.amazonaws.com (albertlatacz.published.s3.amazonaws.com)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3702746 (3.5M) [application/java-archive]
Saving to: ‘/home/swathi/repos/myStuffs/dstream/lib/javarepl.jar’

100%[============================================================================================================>] 3,702,746    120KB/s   in 34s

2015-10-07 04:31:29 (106 KB/s) - ‘/home/swathi/repos/myStuffs/dstream/lib/javarepl.jar’ saved [3702746/3702746]

OK.
[INFO] : Adding /home/swathi/repos/myStuffs/dstream/lib/javarepl.jar to the CLASSPATH ...
[INFO] : Adding /home/swathi/repos/myStuffs/dstream/dstream-api/build/libs/dstream-api-1.0.0.M3-SNAPSHOT.jar to the CLASSPATH ...
[INFO] : Adding /home/swathi/repos/myStuffs/dstream/dstream-api/build/libs/dstream-api-1.0.0.M3-SNAPSHOT-javadoc.jar to the CLASSPATH ...
[INFO] : Adding /home/swathi/repos/myStuffs/dstream/dstream-api/build/libs/dstream-api-1.0.0.M3-SNAPSHOT-sources.jar to the CLASSPATH ...
[INFO] : CLASSPATH : /home/swathi/repos/myStuffs/dstream/dstream-api/build/libs/dstream-api-1.0.0.M3-SNAPSHOT-sources.jar:/home/swathi/repos/myStuffs/dstream/dstream-api/build/libs/dstream-api-1.0.0.M3-SNAPSHOT-javadoc.jar:/home/swathi/repos/myStuffs/dstream/dstream-api/build/libs/dstream-api-1.0.0.M3-SNAPSHOT.jar:/home/swathi/repos/myStuffs/dstream/lib/javarepl.jar
Welcome to JavaREPL version 282 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_60)
Type expression to evaluate, :help for more options or press tab to auto-complete.
java> import io.dstream.*;
Imported io.dstream.*


[WIP] add initial docker run testing

Checklist

[X] I've run make from the root directory to see all Dockerfiles are created successfully.
[X] I've updated the documentation if necessary.

Motivation and Context
This PR relates to #106 & #209
Description
adding a simple docker run test w/ dgoss in between building & pushing of images

@eddiewebb can u 👀 this for sanity ? none of it will run until we merge to staging, but it's totally fine if it fails on staging
there's a lot we can add from here but this is a start


Fix and version build cache on GitHub Actions

The cache on GitHub Actions was not working properly, because the hash
for the cache was calculated before the code was checked out. This
resulted in an empty hash, and a cache hit on a very old version of the
dependencies. The code is checked out as the first step now, and the
cache has been versioned so that it is easier to invalidate a broken
state.

Codecov Report

Merging #21 into main will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   72.20%   72.20%
=======================================
  Files          11       11
  Lines         385      385
=======================================
  Hits          278      278
  Misses        107      107

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 51fc829...82c0a55. Read the comment docs.


Add String.prototype.includes polyfill

Add a polyfill for String.prototype.includes taken from MDN (https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/includes)
See https://github.com/facebook/react-native/issues/5727

Would you mind making a couple nitty changes for this addition to comply with our style guides?

Sure thing!

There's actually a bug in this implementation unless I'm going crazy... they're doing arguments[1].length when typeof arguments[1] === 'number'.
I'll update now with more readable parameter names.

The sample code was completely wrong... This is the last time I copy/paste from MDN without testing.
Straight from the standard: http://www.ecma-international.org/ecma-262/6.0/#sec-string.prototype.includes

@facebook-github-bot shipit


Group: devops2020-02 Lesson: 3 Homework: 1 Tasks: add emtpy file. Add…

Performing a task for the devops2020-02 group:

The repository was forked;
In the master branch, an empty file was added in accordance with the template first name-last name
Committed \ push to remote
Pull request to base

Mistake repository.
Right: https://github.com/Otus-DevOps-2020-02/students


problem while running config.py(RuntimeWarning: Mean of empty slice.)

INFO: Reloading training progress
INFO: Loading data
INFO: Building model
INFO: Reloading model parameters
INFO: Reloading optimizer parameters
INFO: trying to load optimizer params from model/model.npz.gradinfo or model/model.npz.gradinfo.npz
INFO: Building sampler
INFO: Building f_init...
INFO: Done
INFO: Building f_next..
INFO: Done
INFO: Building f_log_probs...
INFO: Done
INFO: Computing gradient...
INFO: Done
INFO: Building optimizers...
INFO: Done
INFO: Total compilation time: 347.5s
INFO: Optimization
INFO: Seen 0 samples
/home/koeldc23/anaconda2/envs/koel/lib/python2.7/site-packages/nematus-0.2.dev0-py2.7.egg/nematus/nmt.py:1718: RuntimeWarning: Mean of empty slice.
py2.7.egg/nematus/nmt.py:1718: RuntimeWarning: Mean of empty slice.
INFO: Valid nan
nan

is your training corpus empty, or are all sentences longer than your maximum length? This could explain the line "Seen 0 samples".

Thanks for the help. I'm trying to start from the scratch. After running the .download.sh file, I'm having difficulties running the .preprocess.sh
/usr/bin/env: python3: No such file or directory
/usr/bin/env: python3: No such file or directory
Tokenizer Version 1.1
Language: ro
Number of threads: 1
Tokenizer Version 1.1
Language: en
Number of threads: 1
/usr/bin/env: python3: No such file or directory
/usr/bin/env: python3: No such file or directory
Tokenizer Version 1.1
Language: ro
Number of threads: 1
Tokenizer Version 1.1
Language: en
Number of threads: 1
clean-corpus.perl: processing data/corpus.tok.ro & .en to data/corpus.tok.clean, cutoff 1-80, ratio 9
data/corpus.tok.en is too long! at /home/koeldc23/wmt16-scripts/mosesdecoder/scripts/training/clean-corpus-n.perl line 154,  line 1.
Traceback (most recent call last):
File "/home/koeldc23/wmt16-scripts/subword-nmt/learn_bpe.py", line 250, in
main(args.input, args.output, args.symbols, args.min_frequency, args.verbose, is_dict=args.dict_input)
File "/home/koeldc23/wmt16-scripts/subword-nmt/learn_bpe.py", line 201, in main
threshold = max(stats.values()) / 10
ValueError: max() arg is an empty sequence
It would be worth mentioning that I tried adding export PATH=${PATH}:/usr/bin/python3 in my home directory and also adding the line #/usr/bin/python3 on top of preprocess.sh file. It is still showing the same error.

sorry, this somehow went under and is probably not of much use anymore: if "/usr/bin/env python3" doesn't work in your environment, try editing the first line in preprocess/normalise-romanian.py and preprocess/remove-diacritics.py to point to your python3 installation. The remaining errors are just because your first steps crashed.


Fix collections view issue

This connect to #122
This resolve issue with the collections listeed in the community page and added also pagination.

It appears there are pending change requests on this pull request. Any update @atarix83?

@wwelling
this issue needs to be review now that this issue has been merged

@atarix83 would you be willing to refactor the misspelling of community and resolve the merge conflicts? After which I will gladly review and test.

Now code is too old and needs to be refactored after new updates, I will inform you as soon as I have done

Please wait until the follow-up PR to #147 , that will do the same for browse endpoints is ready.

Closing this PR as obsolete / outdated.  I'll move the corresponding ticket back into "ready" state/column.


Ingress detail page issues

Rancher versions: 2.0 master 3/1
Steps to Reproduce:

Create a Workload
Create a DNS record
Create a Ingress load balancer and add workload & service.  Fill out all other info
Click on Ingress name to get to details page

Results:

[x] Remove this Rule link shows up if I have more than 1 rule

[x] Target for service rule is not showing up

[x] If you create Ingress with "Set this rule as default backend", target info is completely missing in details

Version - 2.0 master 3/2
Verified fixed


Customizable shaders for profile picture

would make nice good?
https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/By_example/Hello_GLSL

Closed by #2


Add section(s) about services & associated packages

Ex-METACRAN services maybe as their own section, called something like R/CRAN data or metadata.

[ ] cranlogs

[ ] rversions

[ ] pkgsearch (with crandb)

[ ] special focus on :sparkles: badges :sparkles: (a special section?)

Conversely, make sure the pkgdown websites of all these packages link to the docs of R-hub with a sentence like "this package is a service of R-hub, that blablabla provides other services to package developers".

Conversely, make sure the pkgdown websites of all these packages link to the docs of R-hub with a sentence like "this package is a service of R-hub, that blablabla provides other services to package developers".

That's something that should be done via the header and footer of the pkgdown template, like what happens in rotemplate/the tidyverse pkgdown template.


Add v2 of chapter 7 notebook which uses current haystack

In the most recent version of Haystack, the evaluation of pipelines is much different compared to the version described in the (first edition of the) book. Pipeline now has a method eval(), which runs the pipeline given input data from labels and returns the prediction and the labels in the format of one pandas dataframe per pipeline node.
That's why we created a new second version of chapter 7's notebook which makes use of the new Haystack evaluation mechanism. The results of the evaluation between the first and the second version differ because in the previous notebook version there were two bugs: one within the notebook itself during creating the labels that made some labels disappear and one within haystack's previous evaluation logic that caused handling no_answers (e.g. when there is no answer to a certain question) in a improper way.
This PR:

adds v2 of chapter 07: This contains updates of the haystack API and several bug fixes
adds new install_requirements option is_chapter7_v2
adds requirements-chpater7-v2.txt with farm-haystack==1.4.0

Misc:

starting with Haystack 1.4.0 ElasticsearchRetriever is now called BM25Retriever

Looks great to me, thanks for working on this! 🚀
I let @lewtun do the closer code review as he has mainly worked on this.

Done.

View entire conversation on ReviewNB

Done.

View entire conversation on ReviewNB

Done.

View entire conversation on ReviewNB

Done.

View entire conversation on ReviewNB

Done.

View entire conversation on ReviewNB

@lewtun I made the respective changes. I found another bug regarding the logits plot in the Tokenize text for QA section. The plot now correctly depicts the labels :-)


Added my Name in README.md

What changes does this PR do?
Added my name and profile link in Readme.md file
Screenshots (If any)
Questions

closing due to inactivity feel free to reopen at any time


Update minimum versions for activemodel/support

Time's moved on, and changes to dependent gems are getting in the way. Consider updating to moving to 6.1 versions of activesupport/activemodel in the next release.

Fixed


FIX: tutorials title layout

Several sections of the tutorials have their title as first bullet:
http://martinos.org/mne/dev/manual/index.html
e.g.
Cookbook
A quick run-through of the basic steps involved in M/EEG source analysis.

    * Cookbook

I guess the advantage is that the bullet has an external link, but it seems redundant.

PR welcome :)

I've noticed this before and poured over the sphinx docs trying to find a way to exclude items from a TOC, or to start the TOC from e.g. one level deep without success. So I'm not optimistic about solving this one, but I'd love to be proved wrong.

I opened an issue on Sphinx-doc (https://github.com/sphinx-doc/sphinx/issues/2790) with an offer to make a PR, we'll see if it gets any traction

I looked into it and this is a pain at the Sphinx level. So I'll close this as won't fix


Test non-packed inputs with naive reference convolution kernels

This PR follows up #2334 where I fix the testing to code to allow testing non-packed tensors for convolution reference kernel.
Changes included:

Modify tensor generation for reference kernel test to expand the strides by multiplying strides with an integer.
Changes in call stack to allow non-strided inputs to be accepted (some checks disallow non-strided inputs to begin with).

@amberhassaan did you test the reference kernel when g>1?

Hi @iq136boy , yes, I believe there are tests that provide  a value of g that is > 1.

@amberhassaan could you check the "target" branch of this PR?

@amberhassaan

Hi @junliume , This is based off of PR #2334 and I have set it as the merge target because I wanted to show the actual diff over 2334 to the reviewers. Once #2334 merges, I'll switch the target to develop (or you can do that too).

👍 I think this is proper approach. But please mark this as a draft to avoid accidental merging into the wrong branch.

@CAHEK7 @averinevg @DrizztDoUrden @atamazov @JehandadKhan @iq136boy :
CI has passed, last call for any blocking reviews before merging.

@junliume : https://github.com/ROCmSoftwarePlatform/MIOpen/issues/2444 created to track the unresolved stuff.


Merge config from an environment variable

The configuration used after startup should

come from the configuration file
possibly superseded by flags from the commandline
possibly superseded by options from the environment

Configuration via an environment variable allows one to easily set configurations without touching any other files (e.g. set via .zlogin instead of modifying a git-tracked dotfile).

Reference #472.

I would say environment variables is a little overkill. You can simply alias alacritty in your environment. Something like alias alacritty="$HOME/.cargo/bin/alacritty --my-flag".

Actually, it is pretty common, e.g. documented for StackStorm, Docker or Git

This would be great to have. I share the same alacritty config (mostly shortcuts) between my desktop and laptop. However I need to keep the dpi and font settings separate. Setting them from environment would be awesome.

Does anyone have any good solutions for parameterizing config by host at the moment? I keep dotflies synced across hosts, but it's really frustrating dealing with constant conflicts to maintain separate font: ... size: values.

Recently migrated my dotfiles to chezmoi and could not be hapier. Parametrizing by hosts can be done in templates like so https://github.com/2m/dotfiles/blob/master/home/dot_xprofile.tmpl#L7

I really like this idea.    Hopefully this gets added in the near future!

To clarify, there is not yet a way to modularize configs for Alacritty? I store themes separate from other settings so I can simply refer to all my applications' themes as "my-theme" and symlink "my-theme" to their respective themes. This makes it easy to switch themes for all my applications (e.g. to ensure consistency) and so simply changing themes do not pollute version control of the dotfiles.

To clarify, there is not yet a way to modularize configs for Alacritty?

The latest master allows overriding every config option from CLI and modularizing config through imports.

I would say environment variables is a little overkill. You can simply alias alacritty in your environment. Something like alias alacritty="$HOME/.cargo/bin/alacritty --my-flag".

You use a terminal to open alacritty? 😅


Update Plugin Artifacts Links for fips-plugin

Automated changes by create-pull-request GitHub action

 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.


vsr: info log anomalous behaviour in client and replica for alerting

On replicas, we now info log the following:

State transitions from normal → view_change, view_change → normal
Starting/ending state sync
Starting/ending data/superblock checkpoint
Free set acquired & released blocks before checkpoint

On clients, we emit a warning when request completion time (which we start measuring it when raw_request is invoked, and stop when on_reply in invoked) exceeds a certain threshold. The threshold is currently configured at 200ms.
Sample log output:
[replica] (info): 2: commit_checkpoint_data: checkpoint_data start (op=63 current_checkpoint=39 next_checkpoint=59)
[replica] (info): 2: commit_checkpoint_data: free_set.acquired=77 free_set.released=16
[replica] (info): 2: commit_checkpoint_data_callback_join: checkpoint_data done (op=63 current_checkpoint=39 next_checkpoint=59)
[replica] (info): 2: sync: done
[replica] (info): 2: commit_checkpoint_superblock: checkpoint_superblock start (op=63 checkpoint=39..59 view_durable=1..1 log_view_durable=1..1)
[replica] (info): 2: commit_checkpoint_superblock_callback: checkpoint_superblock done (op=63 new_checkpoint=59)
[replica] (info): 2: transition_to_normal_from_recovering_status: view=0 backup
[client] (warn):<PHONE_NUMBER>20938463463374607431768211441: on_reply: request=0 size=320 register time=6689ms

@chaitanyabhandari could we perhaps time the execute path on the replicas too and warn on the same condition?

@chaitanyabhandari could we perhaps time the execute path on the replicas too and warn on the same condition?

Ack @cb22, let me add that as well! Unassigning @matklad till I get that in.


Roll engine f200ee13aa37..66dc44c22cde (3 commits)

git@github.com:flutter/engine.git/compare/f200ee13aa37...66dc44c22cde
git log f200ee13aa37..66dc44c22cde --no-merges --oneline
2019-08-08<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from yqu1p... to 57R6s... (flutter/engine#10713)
2019-08-08<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from 8mNHG... to 5c9q-... (flutter/engine#10710)
2019-08-07<EMAIL_ADDRESS>Revert "Remove semi-redundant try-jobs. (#10485)" (flutter/engine#10705)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (jimgraham@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6282596571414528 , https://cirrus-ci.com/task/6423334059769856 , https://cirrus-ci.com/task/5086327920394240 , https://cirrus-ci.com/task/5367802897104896 , https://cirrus-ci.com/task/5649277873815552 , https://cirrus-ci.com/task/6247412199325696 , https://cirrus-ci.com/task/4558562339061760

Commit queue failed; closing this roll.


VNC Connection Failure to VM with Custom ISO

Hello,
I'm encountering an issue where I cannot establish a VNC connection to a VM; the web viewer consistently reports "Failed to connect to server". Below are the details of my setup and the steps I've taken, along with the observed behavior.
Environment:

Internet Connection: Poor (noted since it influenced the download of the iso)
Operating System: Linux, Kernel version 6.7.6-arch1-2
Docker Version: 25.0.3, build 4debf411d1
KVM Status: Confirmed working (/dev/kvm exists and has the correct permissions, 666)

Steps to Reproduce:

Due to my poor internet connection, I used the original script's 24-hour available Microsoft URL for the ISO and downloaded it with a download manager to retrieve the VM image.
I placed the downloaded image (custom.iso) into /storage.
A script detected the image as Windows 11 and prepared the necessary files for VM creation.

Current /storage Content:
-rw-r--r-- 1 sx sx<PHONE_NUMBER>6  1. Mär 15:56 data.img
drwxrwxrwx 2 sx sx        4096  1. Mär 12:36 shared
-rw-r--r-- 1 sx sx           0  1. Mär 15:01 windows.boot
-rw-r--r-- 1 sx sx     3653632  1. Mär 12:36 windows.rom
-rw-r--r-- 1 sx sx      540672  1. Mär 15:37 windows.vars
-rw-r--r-- 1 sx sx           5  1. Mär 12:36 windows.ver

Docker Logs:
(No change even after 1 hour)
BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,B2821E5A-7E52-42BC-9F03-DBA2248C2251,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
windows  | BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,B2821E5A-7E52-42BC-9F03-DBA2248C2251,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi

docker-compose.yml:
version: "3"
# networks:
#   vlan:
#     external: true
services:
  windows:
    image: dockurr/windows
    container_name: windows
    privileged: true
    # networks:
    #   - vlan
    volumes:
      - ./storage:/storage
    # environment:
    #   DHCP: "Y"
    # device_cgroup_rules:
    #   - 'c *:* rwm'
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    stop_grace_period: 2m
    restart: on-failure

Additional Attempts:

Running commands as sudo.
Setting the container to privileged: true.

Questions:
Are there additional logs or diagnostics I can check to better understand the failure point?
Could the issue be related to the network setup or Docker configuration?
Is there a specific Docker or VNC viewer configuration that is known to resolve such issues?
Thank you for your assistance.

In Chrome (Flatpak) with several extensions, it did not work, but it worked in Firefox. So simple, thanks.


Suspicious order of events

I encountered the following sequence of events when using the language client in vscode:

documentChange
codeAction - with a caret position which was valid before documentChange but became invalid after documentChange
cancelRequest for the previous code action

It looks to me that sending codeAction, after we sent documentChange event shouldn't happen. Is it a bug or is it a normal behavior? If it's normal behavior, it would be nice if we have a document version in the code action request.
What do you think? Is it normal or nor?

I investigated code.
Main process: text document changes, are broadcast before the code action event
Ext. host. When changes are received they are immediately broadcast/called.
Language client. Here it's interesting.

Before calling code action handler, await is called on protocolConverter.asCodeActonContext: https://github.com/microsoft/vscode-languageserver-node/blob/main/client/src/common/codeAction.ts#L82
In turn it maps over all diagnostics https://github.com/microsoft/vscode-languageserver-node/blob/main/client/src/common/codeConverter.ts#L732
Which in turn calls async.map: https://github.com/microsoft/vscode-languageserver-node/blob/main/client/src/common/codeConverter.ts#L534

async.map could yield the main process, and as a result code action might be invoked after the text change was called.
I don't know how to change, but here's my breakdown of what's happening. I will create a workaround in my code, but that would be great if this problem is solved somehow, since I think it's unlikely I am the only person who experience this issue.

cc @dbaeumer Would be great if you could take a look at it

@tooltitude-support very good find and analysis. Need to think about how to best fix this.

Discussed with the VS Code team and the best approach right now is to make the params conversion sync.


re-enable jdk 17 tests excluded by issue 248

Fixes: #3214
Signed-off-by: Ying Zhou

run aqa --help

Fixes: #3214 will close https://github.com/adoptium/aqa-tests/issues/3214 when this PR gets merged. But since we have other PRs related to https://github.com/adoptium/aqa-tests/issues/3214, I suggest we use something like "Related to" or "Partially fixes" instead of "Fixes".

Also, please feel free to post the Grinder links that test this PR on HotSpot and OpenJ9.

Grinder: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/3167/


added CI tests for macOS

Added a matrix to run the CI jobs, using both ubuntu-latest and macos-latest.

Once we have it working, could you remember to add the same to the other two?

https://github.com/paritytech/polkadot-sdk-parachain-template
https://github.com/paritytech/polkadot-sdk-solochain-template


Check that Duster is compatible with supported PHP versions

This PR introduces a very simple GitHub workflow to check that Duster will install on supported OS/PHP version combinations.
Fixes #27 in conjunction with https://github.com/tighten/tighten-coding-standard/pull/3.

Love it. Thanks @jonsugar!


Achievement issue

please delete those not exist achievements
1.Measure of Interference
2.Gentle Descent
3.Semnai Sans Shadow
and extra achievement.
1.Deianeira of Snezhevna
Thank you so much！

This seems to be a duplicate of #488

Duplicate #487 #488 #491 #493 #497 #498 #500 #504 #513


NFT Hashi audit prep

Background
Internal contract review prior to sending to audit.
Acceptance Criteria

[] Review contract code, prepare for audit (add comments + any supporting architecture info)
[] Review and update documentation (https://docs.nfthashi.com/)

note to check with @just-a-node what actions are needed rn


Backend should return dataElements in timestamp order

InstancesController.Get returns an instance object containing a data property. This property is an array of objects, in seemingly random order.
To be fair, the order is consistent between reloads, but otherwise completely useless.
We wish for the order of this list to be based on the timestamp when the associated dataElement was created, in ascending order.

This has been implemented as a proposal in branch feature/subform for both app-localtest and altinn-storage.
The functionality has been verified in app-localtest, but as always the testing in altinn-storage is a bit more elusive.
@SandGrainOne Do you see any immediate concerns with the approach taken by the two commits linked above? I can't imagine this resulting in a breaking change, since we're going from pseudo-random to ordered results, but I also don't have the whole perspective on situations like these.
As for unit testing in altinn-storage, I can't even get them to run so I haven't been able to do much validation there.

Running Storage and the integration tests require a pre configured PostgreSQL database. I can understand it's a bit of a hassle.
The change looks safe enough. Nothing I know of is sensitive to the order of data elements.

Running Storage and the integration tests require a pre configured PostgreSQL database. I can understand it's a bit of a hassle.

What needs to be configured? Does anything need to be populated in the DB for the tests to run? Is there a setup guide somewhere?

@HauklandJ Start with the readme: https://github.com/Altinn/altinn-storage/#setting-up-postgresql
The setup guide we have is for Events, but the pattern is identical. All use of events should be replaced with storage. E.g eventsdb becomes storagedb and so on.


Grid modify sequence capability

By submitting this PR, I am indicating to the Numberscope maintainers that I have read and understood the contributing guidelines and that this PR follows those guidelines to the best of my knowledge. I have also read the pull request checklist and followed the instructions therein.

This pull request adds a modify sequence capability that allows the user to change the base sequence to the natural numbers. The user can select what number the natural numbers start at. There are also the properties sequence_number and not_sequence_number which allows the user to highlight numbers that either are or are not in the original sequence. This only works for increasing numbers so that the code can be efficient.
This is framed as modifying the sequence because I have other ideas related to how to modify the sequence.
<Please provide a high-level description of your PR.>

Thanks for the PR! Since of course you can run the GridVisualizer on the natural number sequence, it seems to me that the only new capacity of this PR is to add a property of whether the elements of one sequence occur in another. It would therefore be much preferable to do a prototype, perhaps initially limited to this visualizer before being allowed in other visualizers, of having a visualizer that uses two sequences, rather than just one. If you recall our past discussions, we really want sequence modifications to stay on the Sequence side of things, so any visualizer could use them, and have visualizers focus on, well, visualizing.
Looking forward to the other concepts you have in mind!

In preparation for the new UI work starting next week, this PR is being closed.  It interacts with plans to create the capability for two sequences to be used simultaneously, which is in the works.  Once the frontend has that capability, it will make sense for this new capability of the grid visualizer to be built around that.  So this can be reopened and reworked once we have that in place.  See #276.


Add support for Windows

Uses the pexpect.popen_spawn.PopenSpawn class instead of pexpect.spawn(), because the former is supported on Windows too (reference).
Tested on Linux and Windows too.
Closes #5

This is great! Sorry for the delay.
Tested on MacOS Ventura 13.6

@alastairmccormack please don't forget to publish a new release to pypi. Thank you so much!

Thanks again @bencehornak! It's now available from Pypi: https://pypi.org/project/ecs-tunnel/


It seems that everything is within margin of error. However, I've observed a significant performance improvement for Rsc while outlining larger targets.

Closing due to inactivity. We can revisit this in the future if performance of the symbol parsers becomes a bottleneck again.


Sm/localize wrappers

Added HOC wrappers to provide context and to require context.
Added ability to send in defaultValue.
Move the default localize into the util.
Ability to accept custom localize formatter.

If we change the API on the localize() method I think that already should put us a 2.0.0-rc1 in package.json and we should include that in this PR (especially if we publish alphas/rc from this branch until it's merged)

Oh! And documentation / CHANGELOG.md would be great too :)


Server does not start

I have an error that does not start my server with this mod, when I try to open it I get
"Caused by: java.lang.NoSuchFieldError: Class io.github.foundationgames.automobility.item.AutomobilityItems does not have member field 'java.util.Map frameModelPool'.
at io.github.foundationgames.automobility.item.AutomobilityItems.(AutomobilityItems.java:72) ~[automobility-0.3+<IP_ADDRESS>.jar:?]
at io.github.foundationgames.automobility.Automobility.onInitialize(Automobility.java:45) ~[automobility-0.3+<IP_ADDRESS>.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384) ~[fabric-loader-0.15.10.jar:?]
... 6 more"
Can you help me?
The log is this
latest.log

1.18.2 is no longer being maintained:

However, I managed to hunt down and fix this bug with the following source code changes and a recompile:

It seems odd that the server should require those HashMaps to exist, though. They are only used in client code, so I'm unsure if this is the best possible fix. Either way it is functional.


page 4 is just page 3 with an addition box within bow 3(map api) to show an image with a description

page 5


Inconsistent behaviour under different output types

I am trying to repurpose the "relatedTo" column to display the current version of my application. But I am getting inconsistent behavious when the output is "html" and "table".
When I try to output the result as a table by running the following command
license-report --output=table --package=package.json --relatedTo.label="Version" --relatedTo.value=1.0.3

I get the expected result as shown in the image

But the story is not the same try to output as html.
Using the following command
license-report --output=html --package=package.json --relatedTo.label="Version" --relatedTo.value=1.0.3 > dependencies.html

The column label dosent get updated as shown in the image below

Which one of this is the expected behaviour ?
PS: In your README.md, there is a section on "customize a default value (only applicable for some fields)". Could you also list out which are those applicable fields.

<..."customize a default value (only applicable for some fields)". Could you also list out which are those applicable fields>:
the fields are listed a little bit further down the ReadMe under the heading "Fields with data set in the configuration of license-report"

it seems as if the "label" is only evaluated for the table output.
I think that even csv and html output should use the "labels".
For csv this seems to be quite easy, for html the properties must be renamed before being sent to tableify (I tried this in a little test project).


Query error on select $segmentName, * from table limit 1

While running some adhoc queries to debug some things, I found the following query would fail. It's not a significant issue, because a query explicitly listing columns to select works fine.
select $segmentName, * from table limit 1

with the exception(s)
[
  {
    "errorCode": 200,
    "message": "QueryExecutionError:\njava.lang.RuntimeException: Caught exception while running CombinePlanNode.\n\tat org.apache.pinot.core.plan.CombinePlanNode.run(CombinePlanNode.java:146)\n\tat org.apache.pinot.core.plan.InstanceResponsePlanNode.run(InstanceResponsePlanNode.java:41)\n\tat org.apache.pinot.core.plan.GlobalPlanImplV0.execute(GlobalPlanImplV0.java:45)\n\tat org.apache.pinot.core.query.executor.ServerQueryExecutorV1Impl.processQuery(ServerQueryExecutorV1Impl.java:302)\n...\nCaused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException\n\tat java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)\n\tat java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205)\n\tat org.apache.pinot.core.plan.CombinePlanNode.run(CombinePlanNode.java:135)\n\t... 15 more\n...\nCaused by: java.lang.NullPointerException"
  }
]

Note, the commit this was on is roughly ce9fb572d157d82f8a014624152ddd53332372be, and I have not yet tried to reproduce this on the latest version.

Pinot doesn't support select * with extra columns in the select clause currently.
There are 2 ways to fix the issue:

Re-write the query on the broker side with the actual columns
Expand the * on each segment on the server side (current approach in SelectionOperatorUtils.extractExpressions())

IMO the first fix is cheaper as the rewrite only need to be performed once per query instead of once per segment.
Would you like to contribute a fix for this issue?

@Jackie-Jiang Can I pick this up?

@Jackie-Jiang Thinking about the behaviour in the following cases:

select playerId, * from baseballStats: We should return the playerID column once or twice? IMO we should return this twice as that is what the user has asked for.
What about default virtual colums? They shouldn't be returned (like how doing select * right now doesn't return the virtual columns).

@suddendust Thanks for volunteering on this. I've assigned the issue to you
For the questions:

I think the standard SQL behavior returns each column only once
We should not return the virtual columns, unless it is explicitly queried, e.g. select $docId, * from ...

This can be closed as it's released in 0.10.0 @Jackie-Jiang


Fix duplicate link in menu.md

On the API Methods menu, app.get appears twice. As the duplicate link only increments the menu by one item, and offers no distinction between app.get and app.get.method, the duplicate can therefore be removed to improve navigation.

Thx for the quick review, @UlisesGascon !

The two app.get are different, though. One gets a setting and the other adds a route. The 4.x docs are like this too, and this only changes 5.x. Not sure what the best solution is.

Hey @dougwilson ! Yes, the two are different, but the documentation makes the distinction, where the navigation does not. So it appears like a duplicate, and doesn't really serve the user. If you'd prefer for them to be separated, maybe we could disambiguate? app.get(name) and app.get(path, callback)?


Deprecate DT_CHOSEN_ZEPHYR_ENTROPY_LABEL

Introduction
Deprecate the helper macro DT_CHOSEN_ZEPHYR_ENTROPY_LABEL, mainly used together with device_get_binding() to promote usage of DEVICE_DT_GET().
Problem description
Usage of device_get_binding() is being replaced with DEVICE_DT_GET() in most cases because device reference can be resolved at compile time. In this situation, DT_CHOSEN_ZEPHYR_ENTROPY_LABEL becomes less relevant or unused. Other similar macros have also been deleted for the same reason. This change should have low impact since DT_LABEL(DT_CHOSEN(zephyr_entropy)) can still be used with the exact same behavior.
Proposed change
Deprecate DT_CHOSEN_ZEPHYR_ENTROPY_LABEL.
Detailed RFC
Deprecate DT_CHOSEN_ZEPHYR_ENTROPY_LABEL.
Proposed change (Detailed)
https://github.com/zephyrproject-rtos/zephyr/pull/43221
Dependencies
All in-tree users of this helper macro.
Concerns and Unresolved Questions
N/A
Alternatives
List any alternatives considered, and the reasons for choosing this option
over them.

+1


Distribute wheels on PyPI

Maybe we could use this:
https://gertjanvandenburg.com/blog/wheels/

Windows is the tricky one. Over at Shapely I recently reworked an appveyor to compile/cache GEOS, then build and check the .whl files, which can be uploaded to PyPi. I'm not sure if it's the best solution, but it's what I was able to make work, as there is a big demand to install shapely on Windows via pip. If you're interested, I can rework a similar Windows setup for pygeos.
Sean also has shapely-wheels based on multibuild for Linux and MacOS (I think?).
Perhaps a workflow could be gathered into a new https://github.com/pygeos/pygeos-wheels repo.

Thanks for the offer on the appveyor part. I was thinking on just getting the GEOS binaries from https://trac.osgeo.org/osgeo4w/. Out of curiosity, why did you choose to compile it yourself?
Anyway, I’d be happy if you want to port your windows build recipe to pygeos 👍

I chose to compile GEOS within Appveyor to have full control of the version of GEOS, and which compiler is used. For instance, CPython versions 3.5, 3.6, 3.7, 3.8 was compiled with Visual C++ 14.X (see ref), so I get to ensure that the same tools are used to compile objects intended to work with CPython. This is a bigger deal if/when a different version of Python is released that depends on a different Visual C++ version.
I suppose the other options are to use an upstream precompiled package, like vcpkg's geos port, and cond's geos. Perhaps these could work, I haven't checked. I'm always open to change the workflow, however.

I see. I think we should minimize ABI incompatibilities with the shapely wheels so I am :+1: in following the same approach

A work in progress on the manylinux part (based on https://github.com/shapely/shapely-wheels):

https://github.com/pygeos/pygeos-wheels
https://travis-ci.com/pygeos/pygeos-wheels

They still fail with ImportError: No module named 'pygeos.lib'
If anybody has an idea what I did wrong is not working, please tell me :)
I will try to find some time coming weeks to debug.

An update: the multibuild now passes (although the bug in #100 is blocking sometimes).
Now I need a place to put the artefacts.
I was thinking of making a 'production' branch (or 'pypi') and let Travis send the wheels to PyPI directly if the build is on that branch. Then (in the future) we will just need to bump the version number, make a PR to that branch, merge, and the CI's will publish the wheels automatically. More or less like it's done on conda-forge.

Closing this, thanks again @mwtoews for your contribution on the windows side


Data can be sent to a wrong subscriber when pipeline is enabled

Hi,
I found an error using the pool with the property pipeline enabled. With this feature connections are shared among multiple threads, but the class NettyPgProtocolStream is not threadsafe. In the method send it has the following lines:
pushSubscriber(subscriber);
write(messages);

With a very high concurrency may happen the following :

Thread 1 pushes a subscriber.
Thread 2 pushes a subscriber.
Thread 2 writes the message.
Thread 1 writes the message.

It's very strange, buy it can happen. If it happen, the response from the second thread is sended to the first subscriber.
I did 150.000 requests in less than a minute, and only got around 80 errors, but it's a very ugly error.
I reproduced this error with something like this:
/*
* There is no row.getDouble, and row.getBigDecimal crashes
* when the field is NUMERIC, so I had to use long.
* It's another issue hidden inside the issue. :)
*/
long random = (long)(Math.random()*10000000);
query = "SELECT " + random;
return getConnection()
    .queryRows(query)
    .doOnNext(row -> {
        long received = row.getLong(0);
        if( received != random  ){
            System.out.println(" Sent : " + random + " Received : " + received);
        }
    })
    .flatMap(t -> Observable.empty());

I did a quick fix synchronizing these lines :
synchronized (this) {
    pushSubscriber(subscriber);
    write(messages);
}

And the errors no longer happened.
I don't know if this is right for you, or you know some other way better to fix this.

Thanks for the bug report! I'll try to come up with a way of fixing this by pushing the stateful operations always into nettys eventloop thread.

:+1:

Could you run the tests against the master to branch to see if the error still appears?

Perfect! It doesn't happen any more.
I knew there should be some kind of refactoring to avoid the use of synchronized.
:+1:


Annotation pin is changed when long pressed in annotation image and annotation title won't hide

Hey @itsbonczek @stanislaw @GabrielCartier
Here my problems in kingpin. I have one viewcontroller and it have mkmapview and tableview. We can see only one view at a time mkmapview or tableview. MKMapview and Tableview show and hide based on Height Constraint zero when hide and show based on screen height.
Problem 1: When i long press a Annotation image it's change to default annotation pin image. Here my code in  - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id<MKAnnotation>) method annotationView.image = [UIImage imageNamed:@"pinone"];

Problem 2: I have data that have same lat and long value. So Purple color Annotation label(title: 10 custom Annotations and subtitle: 100 meters [in kingpin]) won't hide. Because no more zoom-in in mapview. It's affect all other annotation which have same data that's too show Annotation label.
I am already tried this too FAQ: How to disable clustering at a certain zoom level (multiple pins at same location)?. It's doesn't suit this project.
In this project For example: In a Mall have multiple discount coupons for different products. If I have 3 coupons in a mall it's show only one coupon details only. So I need to show as usual annotation label like before said(title: 10 custom Annotations and subtitle: 100 meters [in kingpin]). Because I need to show how many coupons in this mall I don't what show only one coupon.

- (void)clusteringController:(KPClusteringController *)clusteringController configureAnnotationForDisplay:(KPAnnotation *)annotation
 {
    if(annotation.annotations.count > 1){
        annotation.title = [NSString stringWithFormat:@"%lu Coupons", (unsigned long)annotation.annotations.count];
        return;
    }
}
- (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id<MKAnnotation>)annotation {

    MKPinAnnotationView *annotationView = nil;

    if ([annotation isKindOfClass:[KPAnnotation class]]) {

        KPAnnotation *a = (KPAnnotation *)annotation;

        if ([annotation isKindOfClass:[MKUserLocation class]]){
            return nil;
        }
     annotationView.canShowCallout = YES;
}
}

Hope it will help.. :flushed: :flushed: :flushed:

@mathiarasan24, thanks for opening separate ticket. In a perfect world you would open two tickets one for each problems because these are different problems but for now one ticket is fine :)
Let's start with problem 1:
I think you're reporting issue similar to #33. Here is the quote from FAQ:

Note: Notice that it is MKAnnotationView class that should be used for annotations with custom images, not the MKPinAnnotationView which is intended to work specifically with default annotation pin icons provided by Apple.

Try:
- (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id<MKAnnotation>)annotation {
    MKAnnotationView *annotationView = nil; // Not MKPinAnnotationView!!
    ...

@stanislaw, thanks for answer and that's work's fine too :+1: . This is my first time so i don't know exactly how to do and what to do include xcode also. In future I will follow separate ticket for more than one problem.
Did you understand problem 2: are you find any solution for that :)

I'm not sure I completely understand your issue, but is it possible to tweak your data model a bit to better suit kingpin? Perhaps instead of clustering coupon objects, you can cluster the location that the coupon is at? This way, if a place (the mall, for instance) has more than one coupon, the coupons will always be grouped regardless of whether or not clustering is enabled? Let me know if I'm misunderstanding, or if that doesn't make sense.

@mathiarasan24 , I am pretty sure I don't understand your problem quite well because of description you made is not precise.
Could you please make one more attempt and describe your problem 2 once again?
We are eager to help but first we need to understand your problem :)
Thanks

Hi @stanislaw  @itsbonczek ,
For example: Walmart have multiple products(veg to non veg) each and every products have discount coupons. Take a food product called vegpackedfood. It's have verity of discount coupons based on packing kg size and price. Assume vegpackedfood have minimum 10 discount coupon.
 - (BOOL)clusteringControllerShouldClusterAnnotations:(KPClusteringController *)clusteringController {
    return self.mapView.zoomLevel < 14; // Find zoom level that suits your dataset
}

If i use this method it's show only one discount coupon detail about vegpackedfood. But vegpackedfood have many discount coupons. I need to show all of them. This is not correct way, so I removed and used as usual default code.
Like these many product have minimum 10 discount coupon. If multiple annotation have same discount coupon number, then when I touch a annotation it's show how many coupon(3 Coupons) and then touch another annotation previous annotation title (3 coupons) hide and new annotation pin title will show. But here previous annotation title won't hide.
That's why two annotation title show 3 coupons above map picture shows 3 coupons for two annotation pin. That's the issues. If I zoom out more than 5 annotation show 3 coupons in title. That won't hide.
Hope it's may help to understand. :flushed: :flushed: :flushed:

@mathiarasan24 , I'm still not getting into your issue.
Let's try something international and interactive: here's my Skype: stanislaw.pankevich - feel free to add me and let's talk then.


Fix a memory leak in Node call credentials

This fixes #7349. It requires a change to an internal API, but doesn't affect any public API.

LGTM

@murgatroid99 @stanley-cheung When can this be expected as part of a release?
// cc @lauramorillo


how can i install this with visual studio 2013?

when i pip3 install, i got an error :visual c++ 14.0 is required!

I guess that means Cython needs vs2015 :smile: I have no idea if there's a way to make it work with vs2013, so if anyone has a PR for that, I'd merge it, but I won't spend time trying to find that out myself, sorry!

Going to close this as it's about a 5 year-old version. If anyone has a PR for this, it's still welcome.


homestakeros, options: extra options

Added extraOptions to clients and addons for manually appending command-line arguments.
Needs to be tested. However, this cannot be used right now since #49 is more relevant unless this is merged there.
Also, found a major issue where the homestaker host does not have access to the overlaid packages. Fixed.

Test, rebase and run nsq before merging.

Needs a rebase from 5bfe130


delete quantity subclasses

except power
related to #363

deleted subclasses:

as this fits in here and is discussed in #363 and their parent class got deleted I also deleted the demand subclasses


Remove the duplicated file: core_codegen.h in BUILD

grpc project is failed to build using the bazel for there is a  the duplicated file: core_codegen.h in the BUILD file.
$ bazel build //grpc:grpc_unsecure
ERROR: /home/liushaohui/workspace/computing/grpc/BUILD:836:1: Label '//grpc:src/cpp/common/core_codegen.h' is duplicated in the 'srcs' attribute of rule 'grpc++'.
ERROR: no such package 'grpc': Package 'grpc' contains errors.
INFO: Elapsed time: 0.131s

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok to test.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok to test.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok to test.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

This PR is way out of date. Closing.


Add support for distribution SBOM

[ ] Add support for specifying an application entrypoint (e.g. ./cmd/my-app)

Should execute go list -deps -json ./cmd/my-app instead of go list -deps -json ./... behind the scenes

[ ] Documentation

This will be part of v1.0.0. I'll reuse code from this PR, but it will be integrated into #42 / #44.


Easy way to test changes?

Sorry, this is a bit of a weird issue but I wasn't sure how to ask this question.
I am looking at doing some refactoring / inclusion of new types and I want to have an easy way to test to see if I am making breaking changes.
The obvious method would be to uninstall the library, then reinstall it locally and then run the tests python -m flint.test, but I feel as though I'm missing a trick and there's an easier way to test everything without installing the module with pip each time?
Edit: for context, my hope is to break out some of the code into submodules with some additional generic classes (like nmod_base) to make the addition of new types in the future easier. This is also a good excuse for me to learn more about how python-flint works :)

Essentially what I want to try and do first is address issue #15 by taking some of the global code within pyflint.pyx to clean up
For example, pyflint.pyx contains these base classes such as flint_elem. The idea would be something like:
flint/
├─ flint_base/
│  ├─ flint_types.pxd
│  ├─ flint_elem.pxd
│  ├─ flint_elem.pyx
│  ├─ flint_scalar.pxd
│  ├─ flint_scalar.pyx
│  ├─ flint_poly.pxd
│  ├─ flint_poly.pyx
│  ├─ ...
├─ _flint.pxd
├─ pyflint.pxd
├─ pyflint.pyx
├─ ...

Then, if this works nicely, we can go a step further and include the other types into their own directories, and then the file specific types can be in (for example) nmod_poly.pxd, etc.
Ultimately we would then remove the spreading of everything essentially being global and small changes / type additions should be easier and pyflint.pyx would have from XXX cimport * instead of the various includes.

The way I do it is like this:
First setup the development environment
source bin/activate  # sets environment variables for .local
bin/build_dependencies_unix.sh # builds flint etc in .local

Now when I want to build python-flint I will do
bin/build_inplace.sh

This creates the extension module and places it in the src/flint directory so that it is importable along with the surrounding Python code. To be able to use it though you need to add the .local env vars:
source bin/activate
python -m flint.test

One point to note though is that cythonize cannot detect changes in the .pyx files (because of gh-15) so sometimes to force a rebuild you need to do:
rm src/flint/ptflint.c
bin/build_inplace.sh

There are no doubt ways to make this more ergonomic as a dev workflow. I haven't done that systematically because I know that python-flint needs to move to a new build system (gh-52) and if python-flint used e.g. meson then probably the way to improve all of this would be to use meson to automate things.
Also personally I do absolutely everything development-wise in the terminal on unix and so this is all arranged on that basis. Probably there are other ways of doing things that others would find easier but that I just don't know about. Improvements to either the workflow scripts or to the dev docs are obviously welcome.

For example, pyflint.pyx contains these base classes such as flint_elem. The idea would be something like:

That looks good to me. I think it would be good to try to do this in incremental steps so starting with pyflint.pyx seems a good idea.

Yeah exactly, the idea was to do the smallest possible changes first to make sure that they work and I don't accidentally break anything and the ultimate goal would be a fix for issue 15.
Thank you for walking me through your dev process, I really appreciate it.


T-route integration tests are broken, interim fix action?

Merge tests are failing because the latest Cython version (Cython-0.29.29) causes t-route to fail to build. Fixing t-route may be a longer-term action (t-route probably doesn't need to build against that version in production).
What to do in the interim to get build tests passing? E.g. (not exhaustive):

Disable t-route integration tests
Pre-install Cython 0.29.28 in the workflow runner, which will probably stop the .29 version from being downloaded
Other?

A simple edit on the upstream branch would temporarily resolve this:
changing Cython to Cython==0.29.28 in the requirements.txt here, and then a submodule update on ngen would ensure that the ngen branch is pinned to that pip version when installing the dependencies in the runner.

That was the other one I was going to include in my list and forgot. Since we have an ngen branch yeah we can do that. All of these seem like things that could get overlooked... but actually, that one should get noticed/reviewed when we finally merge the ngen branch and master...so maybe that is the best way.

Cython 0.29.29 was yanked, 0.29.30 lets it build fine.


Is it possible to set worksheet name(s) in the resulting workbook to be IR region name(s) ?

Hi,
Evaluated this plug-in ; great stuff.
https://github.com/antonscheffer/APEX2XLSX/blob/master/plugin/process_type_plugin_scheffer_apex_xlsx.sql
I am wondering now a hopefully simple question: how do we include the worksheet name(s) in the resulting workbook so that it could be the respective region name(s) for the worksheet tab names ? Maybe there is not a way yet but it would be fantastic.
@anton-scheffer
https://forums.oracle.com/ords/apexds/user/anton-scheffer

No, that is not possible. And I will never change this plugin. You do realize that this plugin is created for APEX 4.0.2?
APEX has improved since then. If you need the data from a report region I would advise to use either the "download as Excel"-functionality or apex_region.data_export function.

Anton - thanks for the reply.
We highly value the plug-in for its multi-sheet capability into a single true workbook .xlsx despite it being 5 years old. It is still remarkably close to the base requirement for us, indeed.
We will see if we can loop or otherwise accommodate a single true xlsx workbook from many regions-of-a-page.   I seem to have learned too that the .xml templates(?) that go into a true .xlsx workbook may be subject to flux as well.
Thank You,
Joseph Barry
From: Anton Scheffer @.>
Sent: Monday, December 4, 2023 3:57 PM
To: antonscheffer/APEX2XLSX @.>
Cc: Barry, Joseph @.>; Author @.>
Subject: Re: [antonscheffer/APEX2XLSX] Is it possible to set worksheet name(s) in the resulting workbook to be IR region name(s) ? (Issue #6)
CAUTION: This message came from an external source. DO NOT click on links or open attachments unless you trust the sender.
No, that is not possible. And I will never change this plugin. You do realize that this plugin is created for APEX 4.0.2?
APEX has improved since then. If you need the data from a report region I would advise to use either the "download as Excel"-functionality or apex_region.data_export function.

Reply to this email directly, view it on GitHubhttps://github.com/antonscheffer/APEX2XLSX/issues/6#issuecomment-1839462939, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEOVZ62ODGM2ZCH4FESVDGLYHY2IZAVCNFSM6AAAAABAGQS6EGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZZGQ3DEOJTHE.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>savantagesolutions
TRANSFORMING CLIENTS' VISION INTO RESULTS
CMMI-DEV Level 3http://www.savantage.net/press_releases?pr_item=66| ISO 9001:2015http://www.savantage.net/press_releases?pr_item=72
The information in this email may be confidential. Regardless of whether the email contains confidential information, the email is a private communication intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Please notify the sender of the delivery error by replying to this message, and then delete it from your system.

I would suggest using as_xlsx to create a xlsx with multiple sheets in combination with some APEX packages:
looping report regions, use apex_region.open_query_context
looping the data of that context with apex_exec.next__row to_get all rows
looping the row with apex_exec.get_... to get all the data cell values

Anton - ok.
Risk-free : does as_xlsx operate without creating directories ?  Can we maintain a blob in the APEX session somwhow without writing that out?  We're anti-directory at this point if we can avoid that additional complexity.
Thank You,
Joseph Barry
From: Anton Scheffer @.>
Sent: Monday, December 4, 2023 4:50 PM
To: antonscheffer/APEX2XLSX @.>
Cc: Barry, Joseph @.>; Author @.>
Subject: Re: [antonscheffer/APEX2XLSX] Is it possible to set worksheet name(s) in the resulting workbook to be IR region name(s) ? (Issue #6)
CAUTION: This message came from an external source. DO NOT click on links or open attachments unless you trust the sender.
I would suggest using as_xlsx to create a xlsx with multiple sheets in combination with some APEX packages:
looping report regions, use apex_region.open_query_context
looping the data of that context with apex_exec.next__row to_get all rows
looping the row with apex_exec.get_... to get all the data cell values

Reply to this email directly, view it on GitHubhttps://github.com/antonscheffer/APEX2XLSX/issues/6#issuecomment-1839541107, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEOVZ66F55CXZJHOZYS3QZ3YHZASJAVCNFSM6AAAAABAGQS6EGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZZGU2DCMJQG4.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>savantagesolutions
TRANSFORMING CLIENTS' VISION INTO RESULTS
CMMI-DEV Level 3http://www.savantage.net/press_releases?pr_item=66| ISO 9001:2015http://www.savantage.net/press_releases?pr_item=72
The information in this email may be confidential. Regardless of whether the email contains confidential information, the email is a private communication intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Please notify the sender of the delivery error by replying to this message, and then delete it from your system.

PS we are aiming for pure session until a download of an xlsx ( or zip) ;  no worries.  It's an honor to get a reply from you.  All the best.
Thank You,
Joseph Barry
From: Barry, Joseph
Sent: Monday, December 4, 2023 5:50 PM
To: antonscheffer/APEX2XLSX @.>; antonscheffer/APEX2XLSX @.>
Cc: Author @.>; Surya, Lydia CTR @.>
Subject: RE: [antonscheffer/APEX2XLSX] Is it possible to set worksheet name(s) in the resulting workbook to be IR region name(s) ? (Issue #6)
Anton - ok.
Risk-free : does as_xlsx operate without creating directories ?  Can we maintain a blob in the APEX session somwhow without writing that out?  We're anti-directory at this point if we can avoid that additional complexity.
Thank You,
Joseph Barry
From: Anton Scheffer<EMAIL_ADDRESS>Sent: Monday, December 4, 2023 4:50 PM
To: antonscheffer/APEX2XLSX<EMAIL_ADDRESS>Cc: Barry, Joseph<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [antonscheffer/APEX2XLSX] Is it possible to set worksheet name(s) in the resulting workbook to be IR region name(s) ? (Issue #6)
CAUTION: This message came from an external source. DO NOT click on links or open attachments unless you trust the sender.
I would suggest using as_xlsx to create a xlsx with multiple sheets in combination with some APEX packages:
looping report regions, use apex_region.open_query_context
looping the data of that context with apex_exec.next__row to_get all rows
looping the row with apex_exec.get_... to get all the data cell values

Reply to this email directly, view it on GitHubhttps://github.com/antonscheffer/APEX2XLSX/issues/6#issuecomment-1839541107, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEOVZ66F55CXZJHOZYS3QZ3YHZASJAVCNFSM6AAAAABAGQS6EGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZZGU2DCMJQG4.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>savantagesolutions
TRANSFORMING CLIENTS' VISION INTO RESULTS
CMMI-DEV Level 3http://www.savantage.net/press_releases?pr_item=66| ISO 9001:2015http://www.savantage.net/press_releases?pr_item=72
The information in this email may be confidential. Regardless of whether the email contains confidential information, the email is a private communication intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Please notify the sender of the delivery error by replying to this message, and then delete it from your system.


I have a problem

FileNotFoundError: [Errno 2] No such file or directory: '/root/chia-blockchain/venv/lib/python3.7/site-packages/chia/wallet/puzzles/p2_singleton.clvm.hex'

Can you be more specific?


Potential memory leak after running for several days

Elastic.Clients.Elasticsearch version: 8.0.5
Elasticsearch version: 8.8.0
.NET runtime version: 6.0
Operating system version: Ubuntu 22.04
Description of the problem including expected versus actual behavior:
We have a singleton ElasticsearchClient objected in a Kafka consumer job for sending docs to our Elastic cloud cluster. The number of docs sent by each job is pretty high (~100k - 200k per day). IndexAsync is the only API we use.
We notice the job is running into index failures after running for several days in production. The error stack trace is
Type: System.OutOfMemoryException
Source: System.Collections.Generic.List`1, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
Message: Exception of type 'System.OutOfMemoryException' was thrown.
Trace:    at System.Collections.Generic.List`1.set_Capacity(Int32 value)
   at System.Collections.Generic.List`1.AddWithResize(T item)
   at System.Diagnostics.SynchronizedList`1.Add(T item)
   at System.Diagnostics.ActivitySource..ctor(String name, String version)
   at Elastic.Transport.DefaultRequestPipeline`1..ctor(TConfiguration configurationValues, DateTimeProvider dateTimeProvider, MemoryStreamFactory memoryStreamFactory, RequestParameters requestParameters)
   at Elastic.Transport.DefaultRequestPipelineFactory`1.Create(TConfiguration configurationValues, DateTimeProvider dateTimeProvider, MemoryStreamFactory memoryStreamFactory, RequestParameters requestParameters)
   at Elastic.Transport.DefaultHttpTransport`1.RequestAsync[TResponse](HttpMethod method, String path, PostData data, RequestParameters requestParameters, CancellationToken cancellationToken)
   at Roblox.EaLogForwarder.Service.Handlers.EALogHandler.ProcessMessageAsync(ConsumeResult`2 msg) in /all/services/ea-log-forwarder/src/Handlers/EaLogHandler.cs:line 102
Location:
Method: Void set_Capacity(Int32) (0, 0)

I suspect there is some memory leak on the client side. Note that the overall memory usage of the .NET app in the container is still very slow (~15%).
Steps to reproduce:

run our Kafka consumer job in production for several days
some index operations start to fail with OOM errors

Expected behavior
No OOM errors to occur.
Provide ConnectionSettings (if relevant): we're using the default settings, i.e., new ElasticsearchClient(elasticCloudId, new ApiKey(elasticApiKey))
Provide DebugInformation (if relevant):

Looking at the stack, is it possible that ActivitySource objects aren't disposed after use?

Since ActivitySource is a static field in DefaultRequestPipeline, it's possible that this class is instantiated with different type parameters, because static vars aren't shared between different types: https://stackoverflow.com/questions/14748569/is-a-static-member-variable-common-for-all-c-sharp-generic-instantiations#:~:text=A static variable in a,any type parameters or not.


Create station from the SDK using default values

Hey,
Please allow the user to create a station from this syntax alone (consumer and producer) -
ordersStation_producer = await memphis.producer({
            stationName: "orders",
            producerName: "order_service"
        });

In return output, in case a new station actually created, please notify me of that fact + its details. For example -
info: Memphis - Station <name> created. Retention="7 days", Storage Type=File, Replicas=1

Added as a new feature in the control plane repo


Dialog doesn't have focus trapped

Description
According to WAI-ARIA, focus should be trapped withing an open Dialog's content, meaning pressing Tab should not move the focus outside of the page. That is not the case currently.
Steps to reproduce

Open a Dialog
Press Tab a couple times

On it

@aviflombaum any updates on this?


Custom init on CIFilter subclass

I am really enjoying learning how to use MetalPetal. Wonderful work.
When recording video, I noticed when using a custom CIFilter subclass init with parameters that only the first time it's used do those parameters get passed. Every other time it uses the default init().
I am using it in CamerViewController from the demo project.
in viewDidLoad() ...
        ciuFilter = MTICoreImageUnaryFilter()
        ciMetalFilter = CIFilterLumAdjust(lumMin: 0.2, lumMax: 1.0)   //custom CIFilter
        ciuFilter?.filter = ciuFilter

Is the best way to avoid this just use a custom MTIFilter?
Thanks for your help and time,
Ian

MTICoreImageUnaryFilter actually copies the CIFilter you provide (because you may want to render the output image in a different thread/queue, we want to make sure that the CIFilter is not modified in the render thread.)
I think your custom CIFilters need to follow the "Subclassing notes for CIFilters" to make the copy work. You may want to check that your input parameters are prefixed with "input".

To subclass a filter you need to perform the following tasks:
Declare properties for the filter’s input parameters. You must prefix each input parameter name with input, such as inputImage.
Override the setDefaults method, if necessary. (It’s not necessary in this example because the input parameters are set values.)
Override the outputImage method.

Ref: https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/CoreImaging/ci_filer_recipes/ci_filter_recipes.html#//apple_ref/doc/uid/TP30001185-CH4-SW1
Another way of using CIFilters in MetalPetal is to use the MTICoreImageKernel which accepts a block to filter CIImages. However you have to make sure the code in that block is thread-safe.

@YuAo that was just what I needed, thank you.
I was able to get it working by using
@objc dynamic var inputLumMax and pass the parameters in my subclass.
Thanks again!