Migrate python packages from nose to pynose

The nose test runner will never run on Python 3.12, and we're replacing it with pynose instead. On top of that, packages relying on nose have largely been unmaintained and might be dead leafs or using another test framework entirely. It is also to be expected that they need to be converted to the PEP517 builder in the process of fixing them.
The following packages are in the python3Packages scope and should be addressed first. The final goal is the removal of nose and related packages.

[x] bayespy https://github.com/NixOS/nixpkgs/pull/311489
[ ] binwalk https://github.com/NixOS/nixpkgs/pull/311156
[x] biopandas https://github.com/NixOS/nixpkgs/pull/313266
[ ] blessings https://github.com/NixOS/nixpkgs/pull/311156
[ ] boto
[ ] cgroup-utils https://github.com/NixOS/nixpkgs/pull/311156
[ ] chart-studio https://github.com/NixOS/nixpkgs/pull/311156
[ ] citeproc-py https://github.com/NixOS/nixpkgs/pull/311156
[x] cld2-cffi https://github.com/NixOS/nixpkgs/pull/313184
[x] clint https://github.com/NixOS/nixpkgs/pull/314778
[x] colormath https://github.com/NixOS/nixpkgs/pull/313342
[x] cryptacular https://github.com/NixOS/nixpkgs/pull/311201
[x] cufflinks https://github.com/NixOS/nixpkgs/pull/313159
[x] django-nose https://github.com/NixOS/nixpkgs/pull/313333
[x] django-sr https://github.com/NixOS/nixpkgs/pull/314800
[x] doctest-ignore-unicode https://github.com/NixOS/nixpkgs/pull/313169
[x] ecos https://github.com/NixOS/nixpkgs/pull/311349
[ ] flaky https://github.com/NixOS/nixpkgs/pull/312260
[x] flask-mail https://github.com/NixOS/nixpkgs/pull/314780
[x] flask-principal https://github.com/NixOS/nixpkgs/pull/317167
[x] forbiddenfruit https://github.com/NixOS/nixpkgs/pull/317170
[x] gssapi https://github.com/NixOS/nixpkgs/pull/311072
[x] globre
[x] hdfs https://github.com/NixOS/nixpkgs/pull/317173
[x] hdmedians https://github.com/NixOS/nixpkgs/pull/317195
[x] hid https://github.com/NixOS/nixpkgs/pull/311056
[x] hkdf https://github.com/NixOS/nixpkgs/pull/317197
[x] htmllaundry https://github.com/NixOS/nixpkgs/pull/317200
[x] iodata https://github.com/NixOS/nixpkgs/pull/324723
[x] ipdbplugin https://github.com/NixOS/nixpkgs/pull/313263
[x] iptools https://github.com/NixOS/nixpkgs/pull/317166
[ ] ipy https://github.com/NixOS/nixpkgs/pull/324725
[x] libvirt https://github.com/NixOS/nixpkgs/pull/313709
[x] lockfile https://github.com/NixOS/nixpkgs/pull/311056
[ ] mhcflurry
[ ] mkl-service https://github.com/NixOS/nixpkgs/pull/324729
[ ] mohawk https://github.com/NixOS/nixpkgs/pull/324732
[ ] mygpoclient https://github.com/NixOS/nixpkgs/pull/324734
[x] nanotime https://github.com/NixOS/nixpkgs/pull/311042
[ ] nbmerge https://github.com/NixOS/nixpkgs/pull/324749
[ ] nose3
[x] nose-cov https://github.com/NixOS/nixpkgs/pull/313182 https://github.com/NixOS/nixpkgs/pull/313476
[x] nose-cprof https://github.com/NixOS/nixpkgs/pull/313269
[ ] nose
[x] nose-exclude https://github.com/NixOS/nixpkgs/pull/313483
[x] nosejs https://github.com/NixOS/nixpkgs/pull/313163
[ ] nose-pattern-exclude
[x] nose-randomly https://github.com/NixOS/nixpkgs/pull/313621
[ ] nose-timer
[ ] nose-warnings-filters
[x] nosexcover https://github.com/NixOS/nixpkgs/pull/313268
[ ] ofxhome
[ ] ofxtools
[x] opuslib https://github.com/NixOS/nixpkgs/pull/311056
[ ] paramz
[ ] pid
[ ] piep https://github.com/NixOS/nixpkgs/issues/311054#issue-2291320318
[ ] preggy
[ ] premailer
[x] proboscis https://github.com/NixOS/nixpkgs/pull/313168
[ ] ptable
[x] pxml https://github.com/NixOS/nixpkgs/pull/311201
[ ] pycdio
[ ] pycontracts
[x] pycron https://github.com/NixOS/nixpkgs/pull/313262
[ ] pygatt
[ ] pygeoip
[ ] pynose
[ ] pypass
[ ] pypillowfight
[ ] pyquaternion
[ ] pysrt
[ ] python-etcd
[ ] python-hglib
[x] pyzufall https://github.com/NixOS/nixpkgs/pull/311571
[x] rarfile https://github.com/NixOS/nixpkgs/pull/311377
[ ] rx
[ ] safe
[ ] sampledata
[ ] scales
[ ] selectors2
[x] shouldbe https://github.com/NixOS/nixpkgs/pull/311072
[ ] simplebayes
[ ] spark-parser
[x] sqlsoup https://github.com/NixOS/nixpkgs/pull/311370
[ ] sure
[ ] svgutils
[ ] tempita
[ ] theano https://github.com/NixOS/nixpkgs/pull/313148
[ ] tissue
[ ] traittypes
[ ] trfl
[ ] uncompyle6
[ ] vxi11
[ ] webassets
[ ] webhelpers
[x] xlwt https://github.com/NixOS/nixpkgs/pull/318498
[ ] yanc
[ ] yapf
[ ] yarg
[ ] zipstream

In mdmintz/pynose#16 and mdmintz/pynose#26 it was revealed that pynose is not licenses.mit as announced. I think it should probably inherit the license from nose, which is currently licenses.lgpl3. If you'd like me to fix this, ping me and I'll send a PR referencing this issue.

Given that pynose is illegal, copyright-violating software, which by virtue of violating the GPL has lost its right to use the software under the terms of the GPL, it's not remotely clear to me that NixOS is legally allowed to redistribute the tainted edition of the software at all.
I guess I'm not really surprised that some people automatically assume they can do so regardless.

I'm working on a treewide removal of pynose.

In https://github.com/mdmintz/pynose/issues/16 and https://github.com/mdmintz/pynose/issues/26 it was revealed that pynose is not licenses.mit as announced.

I'm not familiar with nose/pynose, but I'm wondering if something like lib.licenses.unfree // { shortName = "disputed"; } could be adopted for similar situations. Ofc this would nonetheless require making the package a leaf node, possibly rendering the exercise futile

possibly rendering the exercise futile

That.

Nonfree typically means the upstream project legally has the right to be the upstream project, they simply choose to only grant you the ability to use that code under a non OSI approved license.
Where does the concept of a "disputed" license value come from? Under what terms and conditions could or would a user install such a thing, even as a leaf package?

Nonfree typically means the upstream project legally has the right to be the upstream project

That sounds reasonable in the context of natural languages. In the context of the metadata that comes with derivations, it's just a single boolean which an individual maintainer could set for whatever reasons... the minimal semantics I could infer from it is "not to be redistributed by Hydra" and "just because you can build it doesn't mean anyone's allowed you to use or distribute it"

Under what terms and conditions could or would a user install such a thing, even as a leaf package?

On terms of taking their own risk; I wouldn't mind shortName = "illegal" either

The upstream has no right to redistribute the code under the given license. That is the issue we run into.

That sounds reasonable in the context of natural languages. In the context of the metadata that comes with derivations, it's just a single boolean which an individual maintainer could set for whatever reasons...

In the context of naturally attempting to convey useful and usable semantic meaning for conventional language concepts, it sounds reasonable to say "if an individual maintainer sets a deceptive value that deceives the user into associating the meaning with that of projects which are under proprietary, but entirely legal, licenses -- the individual maintainer is acting against the best interests of the project and shall receive an infraction by whichever disciplinary measure the distribution in question uses to penalize bad behavior".
I don't quite see the purpose in defending the notion of packaging illegal software using language intended to seem similar to commercial+proprietary redistributables. Is this a thought experiment or a practical desire?

Sorry @eli-schwartz, I hadn't read the entirety of 16 and 26 when I first commented, and now, maybe as a result, we're mixing a discussion about implementation details and one about policies.

Is this a thought experiment or a practical desire?

Semi-practical. We've several expressions that describe how to build certain pieces of "legal" software for which, however, we do not have (but the user might) a legal way of obtaining the sources or for which we wouldn't have the right to distribute the results. This is not quite the same as the present situation, but bear with me. These expressions would reference a generally unavailable source, but (a) we wouldn't build them in the CI (ergo never access the source nor distribute), (b) we'd mark them so that they don't evaluate before the user explicitly opts in.
On the implementation side, and I don't particularly like that we confound the names, the latter is practically done by resetting free to false in the "license" description.
nix-repl> runCommand "something" { meta.license = [ { free = false; } ]; } "touch $out"
...
       error: Package ‘something’ in /nix/store/4p0avw1s3vf27hspgqsrqs37gxk4i83i-source/pkgs/build-support/trivial-builders/default.nix:68 has an unfree license (‘unknown’), refusing to evaluate.
...
nix-repl> runCommand "something" { meta.license = [ (lib.licenses.unfree // { shortName = "illegal"; }) ]; } "touch $out"
...
       error: Package ‘something’ in /nix/store/4p0avw1s3vf27hspgqsrqs37gxk4i83i-source/pkgs/build-support/trivial-builders/default.nix:68 has an unfree license (‘illegal’), refusing to evaluate.
...
       Alternatively you can configure a predicate to allow specific packages:
         { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
             "something"
...

While this error message would be wrong of course (maybe now's a good time to reword it), since there's no, as such, a license granting anything to anyone, the way I read it it does attempt to communicate that "whatever the licensing situation is, you're not automatically permitted to do anything with this software and it's your task to find out the terms and get the consents". Essentially, when I set the license value, I treat free = true as bearing legal meaning (the authors give explicit consent to do FOSS things; in particular, it's sufficient to automatically assume that one may at least build the derivation, but otherwise still has to consult license.meta.url), whereas free = false to me is broader and only means the absence of something.
The licensing information in the pynose expression we have right now is simply wrong. At the very least we'd have to delete mit from the list (resulting in "refusing to evaluate" and "license ('unknown')"), but then we can't depend on it in other packages (lest the CI refuse to build them too). Once these reverse-dependencies are rewritten not to depend on pynose, there'll not be much value in keeping pynose around...
The policy question of when it's worthwhile or acceptable to provide expressions for software which we can't reference a "legally available" source for (proprietary, unlicensed, ...), and whether in particular it's acceptable to reference sources we do know to violate other authors' dissent is global. While this might be worth answering globally "once and for all", we already have, by the previous paragraph, enough local information to remove the package...

Interesting implementation details!
In gentoo, there is a global repository directory containing license terms and conditions, and the file profiles/license_groups maps many registered license to some meta-group such as (random sampling):

@FREE
@GPL-COMPATIBLE
@FSF-APPROVED
@OSI-APPROVED-FREE
@MISC-FREE
@BINARY-REDISTRIBUTABLE
@EULA

Users would have to specify which licenses they accept to use (the default is ACCEPT_LICENSE="-* @FREE"). Most people probably do not add ACCEPT_LICENSE="JetBrains-business" or some such, so the result is if you try to install certain packages...
!!! All ebuilds that could satisfy "goland" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/goland-2022.3.3-r1::gentoo (masked by: || ( JetBrains-business JetBrains-classroom JetBrains-educational JetBrains-individual ) license(s), ~amd64 keyword)
A copy of the 'JetBrains-business' license is located at '/var/db/repos/gentoo/licenses/JetBrains-business'.

A copy of the 'JetBrains-classroom' license is located at '/var/db/repos/gentoo/licenses/JetBrains-classroom'.

A copy of the 'JetBrains-educational' license is located at '/var/db/repos/gentoo/licenses/JetBrains-educational'.

A copy of the 'JetBrains-individual' license is located at '/var/db/repos/gentoo/licenses/JetBrains-individual'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Project policy is to "ask the opinion of others before committing a new license, if you're not sure about the license". This is somewhat flexible obviously. The addition of new licenses is, incidentally, easy to coordinate and watch for changes. :D Getting the license wrong is a very human mistake, adding something that isn't a license at all would probably raise a few eyebrows.
There's no real room to mark a package as nonfree without stating the specific reason it isn't free, since "unknown" licenses are banned by CI-enforced policy.
The license groups in particular are very neat. It encourages accurate specification of "terms and conditions" independent of "is this license one that I consider free", since you can have arbitrarily grouped or recursively-grouped license sets to describe policy with, instead.

Ah, w.r.t. the edit: one could ACCEPT_LICENSE="NVIDIA-CUDA", or since that is part of the @EULA group, ACCEPT_LICENSE="@EULA" if one doesn't mind an EULA in general.

Nixpkgs is orderly enough about "free and opensource" licenses (there's a list maintained in a single place which other expressions reference, e.g. license = [ lib.licenses.mit ]), but the rest can be fairly ad hoc at times. Maybe e use Gentoo as inspiration when we try to bring some order to this part of Nixpkgs.
As for NVidia, one approach used today

Spiritual successor: https://github.com/NixOS/nixpkgs/issues/326513

This should hopefully help clear up any confusion: https://github.com/mdmintz/pynose/issues/36


Cannot install awslogs

Describe the bug

Trying to install awslogs (as pipx install awslogs), but it shows the error:
ERROR: botocore 1.13.28 has requirement python-dateutil<2.8.1,>=2.1; python_version >= "2.7", but you'll have python-dateutil 2.8.1 which is incompatible.

Could not find package awslogs. Is the name correct?

The error in python-dateutil conflict arises from botocore, https://github.com/boto/botocore/issues/1872, but I can successfully install awslogs if I create a new virtual environment with virtualenvwrapper.
How to reproduce

Output from verbose:
pipx install awslogs --verbose
pipx > (run_pipx_command:134): Virtual Environment location is /Users/setu/.local/pipx/venvs/awslogs
pipx > (run:97): running /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -m venv --without-pip /Users/setu/.local/pipx/venvs/awslogs
pipx > (run:97): running /Users/setu/.local/pipx/venvs/awslogs/bin/python -m pip install awslogs
Collecting awslogs
  Using cached https://files.pythonhosted.org/packages/45/be/28fe3276045c564aeb79fc74ba436201ded4a17d964d8be54adb72a0c873/awslogs-0.11.0-py2.py3-none-any.whl
Processing ./Library/Caches/pip/wheels/7c/06/54/bc84598ba1daf8f970247f550b175aaaee85f68b4b0c5ab2c6/termcolor-1.1.0-cp37-none-any.whl
Collecting jmespath<1.0.0,>=0.7.1
  Using cached https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl
Collecting boto3>=1.2.1
  Using cached https://files.pythonhosted.org/packages/67/17/567f679dac6ec93611ce05637094e9736afa40e41c9ed0aaefd90de6f7e8/boto3-1.10.28-py2.py3-none-any.whl
Collecting python-dateutil>=2.4.0
  Using cached https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl
Collecting s3transfer<0.3.0,>=0.2.0
  Using cached https://files.pythonhosted.org/packages/16/8a/1fc3dba0c4923c2a76e1ff0d52b305c44606da63f718d14d3231e21c51b0/s3transfer-0.2.1-py2.py3-none-any.whl
Collecting botocore<1.14.0,>=1.13.28
  Using cached https://files.pythonhosted.org/packages/8e/b3/ab9044d3aa14208f5b6f69665d5f82ad9b028809666e4e70dac1ab0bfd3a/botocore-1.13.28-py2.py3-none-any.whl
Collecting six>=1.5
  Using cached https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl
Collecting docutils<0.16,>=0.10
  Using cached https://files.pythonhosted.org/packages/22/cd/a6aa959dca619918ccb55023b4cb151949c64d4d5d55b3f4ffd7eee0c6e8/docutils-0.15.2-py3-none-any.whl
Collecting urllib3<1.26,>=1.20; python_version >= "3.4"
  Using cached https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl
ERROR: botocore 1.13.28 has requirement python-dateutil<2.8.1,>=2.1; python_version >= "2.7", but you'll have python-dateutil 2.8.1 which is incompatible.
Installing collected packages: termcolor, jmespath, six, python-dateutil, docutils, urllib3, botocore, s3transfer, boto3, awslogs
Successfully installed awslogs-0.11.0 boto3-1.10.28 botocore-1.13.28 docutils-0.15.2 jmespath-0.9.4 python-dateutil-2.8.1 s3transfer-0.2.1 six-1.13.0 termcolor-1.1.0 urllib3-1.25.7
pipx > (rmdir:16): removing directory /Users/setu/.local/pipx/venvs/awslogs

pipx > (rmdir:16): removing directory /Users/setu/.local/pipx/venvs/awslogs
Could not find package awslogs. Is the name correct?

Expected behavior

Installation should have completed successfully and a new environment should've been created.

https://github.com/boto/botocore/issues/1872 has now been resolved, and awslogs can be installed with pipx. However, still doesn't solve the issue raised here, since pipx could not originally resolve the requirements and provided an error message that was not really helpful (Could not find package awslogs. Is the name correct?).

Thanks for spotting this failure condition - seems like it would be more accurate to say "could not resolve package...", although no more helpful. Can we easily detect this kind of failure from pipx's side (i.e. without having to except Exception and parse the trace)? Or is it just a case of noting that it's a possibility in the error message?

+1 on would be more accurate to say 'could not resolve'. Unsure about how pipx resolves dependencies, so can't say anything more on that end.

Package resolution is done using pip.  The ERROR visible is a pip error that pipx has passed forward.
Current pipx behavior (<IP_ADDRESS>) would be to show the original pip ERROR and add the statement "Error installing awslogs."
Without a lot of parsing of pip error messages, and layering on pipx errors on top of them, this seems like a good solution to me.  It shows the immediate problem and no longer says Could not find package awslogs.  Is the name correct?.

boto/botocore#1872 has now been resolved, and awslogs can be installed with pipx.

Can this issue be closed and a new one opened if there is still something wrong/misleading about pipx's API?

@itsayellow, @cs01 : The updated current behavior seems like a good solution to me. Closing this issue.


Extending logic to add_csv_partitions and leveraging catalog_table_input

Issue #, if available:
#672
Description of changes:
Added some enhancements to previous PR #673

Leverage the catalog_table_input details when available to extract serde info from existing catalog tables
Extend the logic to the add_csv_partitions method

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

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-sDRE8Pq0duHT
Commit ID: 09ec0007e5810b195eae0f45f1d6f9789acd892c
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-sDRE8Pq0duHT
Commit ID: 979f728cf3efdc8ac76f264ed66c8445f005158c
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Global sap.ui.test.OpaBuilder returns undefined

For whatever reason, I'm trying to access global sap.ui.test.OpaBuilder and it returns undefined.
OpenUI5 version:
All.
Browser/version (+device/version):
Any browser.
URL (minimal example if possible):
https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/test/integration/opaTestsComponent.qunit.html
Steps to reproduce the problem:

Open DevTools
Go to console
Type sap.ui.test.OpaBuilder and press enter

What is the expected result?
Should see sap.ui.test.OpaBuilder object.
What happens instead?
It returns undefined
Any other information? (attach screenshot if possible)
It doesn't matter what you do, OpaBuilder doesn't show up in the library sap.ui.test. Even if you load it, like the following example:
sap.ui.require([
	"sap/ui/test/OpaBuilder"
], function (OpaBuilder) {
	console.dir(sap.ui.test.Opa); //OK
	console.dir(sap.ui.test.Opa5); //OK
	console.dir(sap.ui.test.OpaBuilder); //undefined
	console.dir(OpaBuilder); //OK
});

Thanks for bringing this up!
This is kind of a documentation issue.
As you might know, we slowly transition from global names as APIs to import-based APIs (using sap.ui.define/AMD in standard JavaScript or using ES6 imports when working with TypeScript). In line with this transition, newer APIs often no longer provide a global name and only export their API from the sap.ui.define call. That's the case for the OpaBuilder.
But unfortunately, the OpaBuilder documents a global name sap.ui.test.OpaBuilder and that's highly misleading. Other modules that don't have global exports, use JSDoc's module name syntax, e.g. module:sap/base/Log. The OpaBuilder should IMO do the same.

@codeworrior for the first time, I have a use case for globals and you tell me OpaBuilder isn't global... Oh, the irony 😆
Thanks for the response.

Hello @mauriciolauffer ,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.

Hello,
I would rather close this item due to internal discussion inactivity. The general direction is to use modules and avoid exposing globals. If there is an important use case for exposing global here perhaps we can think of another approach but please do share with us.
Best regards,
Jordan


[ISSUE #389] Implement redis connector

Redis connector

@mytang0 please take care of the conflicts.

@mytang0 please take care of the conflicts.

Processing.


The menu is opened when loading the Curriculum

Hi,
The menu is always opened when loading the Curriculum on the first title and the first subtitle. I think it's the first interaction I had with it. It happens even if I sign out and on mobile (Iphone).

Browser Name:  Chrome
Browser Version: Latest
Operating System: Windows

@iamj4james Please go ahead

I think a good experience here would be to expand the section where you completed your most recent challenge, and in the case where you haven't completed any, none would open.

This PR might fix this issue: #35421

Closing as duplicate of https://github.com/freeCodeCamp/freeCodeCamp/issues/34236


Fix for Issue #427

I added two special cases:

when 0 bits should be sampled, alsways return 0
when an int should be sampled with an exclusive maximum of 1, always return 0

This should fix Issue #427 .
I also added a new test, if the boundaries are respected when calling Next(). I'm not  completely sure it's in the right place though.

Thanks!


flashback and pcap_converter: add getmore support

It looks like getmore isn't really supported in flashback and pcap_converter, tracking this here.
The executor currently does nothing in 'flashback': https://github.com/ParsePlatform/flashback/blob/master/ops_executor.go#L106-L108.
I'm curious what thoughts are out there on how to add this. Right now my best idea is tracking query -> cursorId mappings so that getmores can be called on real cursors, but I'm guessing this would introduce some memory usage problems in the right scenarios. I might start a branch to try this out unless there are other ideas.

If you make multiple passes through the replay file before playing (or at least do some kind of significant read ahead) maybe you could build a list of queries ahead of time that will need query -> cursorId mappings to minimize your memory footprint so you aren't building a query->cursorid map for every query.
I think you also have to bind the getmores that you want to replay to the connection that issued the original query, so that could affect the current worker model which just blindly grabs ops off the channel to replay them. Depending on the workload you could have a significant percentage of the worker pool dealing with getmores and not able to work on other kinds of ops, which could affect throughput in ways that are not representative of the original workload. This might warrant a separate worker pool that only handles the query/getmore operations.
As to how to tie the original queries to subsequent getmores - I'm not sure how you would do this with the original python 'record' tool. AFAIK the cursorid is not exposed in the profiler for the original query, nor is it in the mongodb logs. You could definitely get this out of the pcap file though since it is returned to the client.

Yikes! Thanks @tredman. This is a bit more difficult than I expected.
Yes, I think you're right that the cursor IDs should be bound to a connection, or at least I'd be worried to find out what happens if you don't.
I'm not sure if I'll try to tackle this but I'll leave this here for anyone who wants to if I don't.


Run docker-smtp as service

Running docker-smtp in docker swarm or as a service with
docker service create --name smtp  -p 25:25 --replicas 1 namshi/smtp:latest

fails to start the container with the following error reported in the logs:
sed: -e expression #1, char 145: unterminated `s' command`

It would be great if this image could be used in swarm mode.

Fixed in c518cf26c0082c8cfabf3afa128af2bc86fe40d9


new stream: Jeff and Dom Make a Game

I'm the eponymous Jeff, software engineer at Slack and alumnus of game studios WayForward and Zindagi. My friend Dom and I have a pair programming stream where we're building a game from scratch, and teaching each other how to do it in the process. We hope this is a good contribution to your list. Thank you!

Welcome to the list. I look forward to catching an episode on the Twitch

Thanks!


upgrade credhub to 2.1.x line

credhub 2.0.x is not in support and should not be used

we tested this and confirmed it works

Signed-off-by: Josh Zarrabi<EMAIL_ADDRESS>

Heya @joshzarrabi can you make sure you and @walterscarborough have made your membership in the CF org public so cfdreddbot doesn't give us the CLA warning?

I'm going to close this in favor of https://github.com/cloudfoundry/bosh-deployment/commit/42a76cebe0a1787b9a955766eef6705fbd1129b3 which auto-bumps credhub when new releases go to bosh-io. That will hopefully prevent this kind of issue from coming up again.

So, @mrosecrance, when there are breaking changes in configuration - how is that automatically applied?

The bump would happen first on the develop branch, then go through ci and break. A developer on a bosh team would have to fix it before any more bosh-deployment versions could be promoted to master. If this does prove to not be a great solution we can go back to locking versions but it seems better to default to latest until it's proven to be problematic.

Awesome, thanks so much @mrosecrance @mfine30 !


MatToaster random bug when injected into class and calling the methods inside the class

Describe the bug
Application breaks when calling MatToaster.Add method. It happens randomly, what I mean here is maybe it could work for 30 seconds and suddenly it breaks.
To Reproduce
Steps to reproduce the behavior:

Inject MatToaster into your custom class
Call MatToaster method inside your class

Sample Code
public class CustomClass {
    private readonly MatToaster _matToaster;
    public CustomClass(MatToaster masToaster)
    {
        _matToaster = masToaster;
    }

    public print() {
        _matToaster.Add("message", MatToastType.Success, "title")
    }
}

Screenshots

@khew81 ,
I cannot replicate this. Can you update to the latest and let me know if you are still experiencing the issue? If you are, can you likewise find a way for someone else to reproduce the issue? I, unfortunately, won't be able to look at a fix if I cannot replicate what you are experiencing.

@khew81 ,
Is this the same as issue #404 ? If so, can we please close this out as a duplicate?


Built in method to tell remaining time on a Signal

I'm designing some UI widgets which should provide a track to show currently playing audio. It needs to know how much time is remaining within the track to show the user how far into the track we currently are.
Right now, it isn't possible to access that behavior on FramesSignal directly.
I spoke to Ralith in the Gamedev discord group, and he posted the following:
rolling your own signal is the proper way to get arbitrary feedback in general; I'm not necessarily opposed to baking this particular feature into FramesSignal though

I'd be in support of baking that feature in. I wouldn't mind providing that PR but I'm reticent to commit any serious code to a codebase I have only a trivial understanding of. If you posted some guidance, I'd give it a go, but I'd also understand that for something like this, doing it yourself might be preferable. Either way, thanks for all the hard work

This could actually be a great learning exercise to explore how controls work. For a reference, you can look at Gain and see how an AtomicU32 is used to share state between GainControl and the Signal impl. Implementing playback position feedback for FramesSignal would then be a matter of replacing the current t: Cell<f64> with an AtomicU64, and sampling its value in a control struct, using a similar pattern of conversion to/from bits on both sides as needed.
Care should be taken not to confuse the specific case of FramesSignal, which can easily communicate a meaningful cursor, with the more general Signal::remaining getter, which would require a different approach to expose and is less obviously useful to external code.

going to take this then! Since it's Sunday, and I can't get away with doing this at work, probably won't be till next weekend that I have a pr for it. thanks for the direction!

just pr https://github.com/Ralith/oddio/pull/47

#47 was merged, so I think this is resolved.


[Win7] Window must be resized to reveal status bar

Otherwise it's not at all visible

Doesn't apply to version 3+


MM-12470: Sorts all items in LHS by last_post_at time.

Summary
Sort everything in LHS by last_post_at time.
Ticket Link
https://mattermost.atlassian.net/browse/MM-12470
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit tests passed
[x] Ran make flow to ensure type checking passed
[x] Added or updated unit tests (required for all new features)
[ ] All new/modified APIs include changes to the drivers

Test Information
Chrome Desktop, macOS 10.14

Closing this in favour of https://github.com/mattermost/mattermost-webapp/pull/1568 which covers "sort by recency".


recog plugin saves mistaken voice

When i use recog plugin(copy from demorecog), i receive voice data from IVR, and then save it to local disk, it is ok in most cases. But today i find that it saves some mistaken slience, yet it's communicate with a new IVR. And i capture the pcap, there are no slience, like this:

Is something wrong?
Thank you!

You may need to increase the playout delay in the jitter buffer to accommodate network variations. Or simply filter out silence frames in your plugin.
(if(frame->type & MEDIA_FRAME_TYPE_AUDIO) == MEDIA_FRAME_TYPE_AUDIO)
//process frame

Thanks very much for your reply.
Yes, i had used the second choice,
if((frame->type& MEDIA_FRAME_TYPE_AUDIO) !=  MEDIA_FRAME_TYPE_AUDIO)       return;
But i don't know the reason exactly. It seems that the socket returned when some events happened, and then memset buffer with 0, because it's not valid audio data?
I find it in https://github.com/unispeech/unimrcp/blob/master/libs/mpf/src/mpf_bridge.c#L45-L51
I repoened this issue, and look forward to your further reply.

Thanks very much for your reply.
Yes, i had used the second choice:
if((frame->type& MEDIA_FRAME_TYPE_AUDIO) !=  MEDIA_FRAME_TYPE_AUDIO)       return;
But i don't know the reason exactly. It seems that the socket returned when some events happened, and then memset buffer with 0, because it's not valid audio data?
I find it in https://github.com/unispeech/unimrcp/blob/master/libs/mpf/src/mpf_bridge.c#L45-L51
I repoened this issue, and look forward to your further reply.

In the code you referred to, the buffer is filled with 0 only when frame.type is not audio as follows
if((bridge->frame.type & MEDIA_FRAME_TYPE_AUDIO) == 0) {
These frames you should have filtered out. So, I'm not sure what your problem is.

Thank you!


Update to enoise 1.0.1

CI test job failure is known and tracked and unrelated hence I consider it not blocker for this PR.

=ERROR REPORT==== 21-Dec-2018::13:38:26 ===
Error in process <0.8583.0> on node epoch_ct@localhost with exit value:
{timeout,[{aesc_fsm_SUITE,receive_from_fsm_,6,
                          [{file,"/home/builder/epoch/_build/test/lib/aechannel/test/aesc_fsm_SUITE.erl"},
                           {line,1117}]},
          {aesc_fsm_SUITE,receive_from_fsm,5,
                          [{file,"/home/builder/epoch/_build/test/lib/aechannel/test/aesc_fsm_SUITE.erl"},
                           {line,1083}]},
          {aesc_fsm_SUITE,msg_volley,2,
                          [{file,"/home/builder/epoch/_build/test/lib/aechannel/test/aesc_fsm_SUITE.erl"},
                           {line,497}]},
          {aesc_fsm_SUITE,do_n_,4,
                          [{file,"/home/builder/epoch/_build/test/lib/aechannel/test/aesc_fsm_SUITE.erl"},
                           {line,480}]},
          {aesc_fsm_SUITE,do_n,4,
                          [{file,"/home/builder/epoch/_build/test/lib/aechannel/test/aesc_fsm_SUITE.erl"},
                           {line,474}]},
          {aesc_fsm_SUITE,ch_loop,3,
                          [{file,"/home/builder/epoch/_build/test/lib/aechannel/test/aesc_fsm_SUITE.erl"},
                           {line,860}]}]}
%%% aesc_fsm_SUITE ==> all_tests.throughput.many_chs_msg_loop: FAILED
%%% aesc_fsm_SUITE ==> {'EXIT',timeout}

There was other CI failure - in job docker_system_smoke_tests. It seems network issue or slow disk on CI. I am taking the liberty of restarting CI.
sudo apt-get update && sudo apt-get install libwxbase3.0-dev libwxgtk3.0-dev
...
Too long with no output (exceeded 10m0s)


“Could not load file or assembly ‘System.Web,Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’

when i am running any commands in cmd or powershell i am getting “Could not load file or assembly ‘System.Web,Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ this error how to resolve this...?

This issue can be caused by missing or damaged Microsoft .NET Framework 4 files
To resolve the issue
Repair Microsoft .NET 4 Framework
or Uninstall and reinstall Microsoft .NET 4 Framework


Error handle and consume self in connect function

Add error handle.

Currently, when the initialize function (new) always returns Ok because this function calls from_settings, but from_settings function does not return any errors. Do we want to change the from_settings fn so that it returns an error?

Yes, whatever is necessary so initializing the app can be failable

When running a service the service itself should handle its own errors.

Agree

In case the service really need to stop everything it may chose to do so.

mmm, not sure about that, resilient applications should not go down just because one component thinks so. Instead we could make it so it stops its service and report an error to the Overwatch.

mmm, not sure about that, resilient applications should not go down just because one component thinks so. Instead we could make it so it stops its service and report an error to the Overwatch.

Yeah, I meant we have no way of controlling if a service panics the whole application. So if a service chose to do so it will. Until we have such a feature to controlling it.

True, but I think we should discourage it, and a way to signal this intention and make it easier for developers would be to return an error from the run function.

Uhm, yeah, It may be worth to keep it. That way we can make Overwatch to handle that ourselves instead of forcing the function to use a channel as I mentioned earlier.
@al8n Lets keep it like that then. Take a look at the CI and whenever is fixed we can probably merge it.
We can work on the erroring handling of the running functions next.


Draw projected aircraft path

Fixes #132

I've changed the colors as well; magenta (IMO) stands out too much. I made the colors the same as the airplane (departure/approach), and made the line a bit thicker when ILS is locked.

I used magenta since that is the color used in cockpit nav displays, but the colors you substituted definitely look better!

I didn't even know they had tracking (and prediction!) in cockpits yet. Thanks for all the work you've been doing.

Glad to help. In the nav displays, I meant for planned trajectory, guided by the Flight Management System. The preplanned track the autopilot will fly is magenta.


Invariant Violation: View config getter callback for component path must be a function

 Invariant Violation: View config getter callback for component `path` must be a function (received `undefined`). Make sure to start component names with a capital letter.

This error is located at:
    in path (created by Mask)
    in mask (created by Mask)
    in Mask
    in svg
    in Unknown

When trying to use this:
    <BigHead
        accessory="shades"
        body="chest"
        circleColor="blue"
        clothing="naked"
        clothingColor="white"
        eyebrows="concerned"
        eyes="happy"
        faceMask={false}
        faceMaskColor="white"
        facialHair="none"
        graphic="react"
        hair="afro"
        hairColor="blonde"
        hat="turban"
        hatColor="blue"
        lashes
        lipColor="turqoise"
        mask
        mouth="openSmile"
        skinTone="yellow"
      />

@RobertBroersma any thoughts on this?  I love me some bigheads!

@noctivityinc Could you send me an isolated example in CodeSandbox? I'd be happy to take a look!

same issue.  "beanheads": "^0.3.3",  "react-native": "0.74.2",

this is only working in expo web. not in android and ios.

I have no knowledge of React Native, but @felipecespedes  created a port: https://github.com/felipecespedes/react-native-bigheads
Does that help you?


v1.5 backports 2019-05-27

v1.5 backports 2019-05-27
BACKPORTED:

#8067 -- cni: Fix incorrect logging in failure case (@joestringer)
#8050 -- test: add v1.15.0-beta.0 to the CI (@aanm)
#8086 -- add support for k8s 1.14.2 (@aanm)
#8083 -- pkg/maps: use pointer in receivers for GetKeyPtr and GetValuePtr (@aanm)
#8090 -- docs: update well-known-identities documentation (@aanm)
#8105 -- Recover from ginkgo fail in WithTimeout helper (@nebril)
#8097 -- proxylib: Fix egress enforcement (@jrajahalme)
#8118 -- test: fix incorrect deletion statement for policy (@ianvernon)

NOT BACKPORTED:

#8080 -- maps/metricsmap: fix cilium bpf metrics list output (@aanm) -- this depends on #7708 which was reverted.

Once this PR is merged, you can update the PR labels via:
$ for pr in 8067 8050 8086 8083 8090 8105 8097 8118; do contrib/backporting/set-labels.py $pr done 1.5; done

This change is

test-me-please

test-docs-please

test-missed-k8s

test-docs-please

test-missed-k8s

test-me-please

Compilation error:
[2019-05-27T14:57:37.518Z]     k8s1-1.10: ../pkg/maps/sockmap/sockmap.go:113:4: cannot use k (type SockmapKey) as type bpf.MapKey in return argument:
[2019-05-27T14:57:37.518Z]     k8s1-1.10: 	SockmapKey does not implement bpf.MapKey (GetKeyPtr method has pointer receiver)
[2019-05-27T14:57:37.518Z]     k8s1-1.10: ../pkg/maps/sockmap/sockmap.go:113:4: cannot use v (type SockmapValue) as type bpf.MapValue in return argument:
[2019-05-27T14:57:37.518Z]     k8s1-1.10: 	SockmapValue does not implement bpf.MapValue (GetValuePtr method has pointer receiver)

Fixed the error by pushing https://github.com/cilium/cilium/pull/8124/commits/4d6475cc65cedd60e63579060e074699b5f1e901 /cc @aanm

test-missed-k8s

test-me-please

Travis failed due to:
# github.com/cilium/cilium/proxylib [github.com/cilium/cilium/proxylib.test]
proxylib/proxylib_test.go:651:70: undefined: debug

The debug const was introduced in https://github.com/cilium/cilium/pull/7870. Adding the PR to the backport.

test-missed-k8s

test-me-please

Build failed: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-K8s/2077/execution/node/104/log/ - etcd appears to not have been able to allocate identities.

test-missed-k8s

test-docs-please

test-docs-please

CI run had connectivity issues
	 kube-system   cilium-etcd-operator-c77fb5c9f-7d5v8   0/1       ImagePullBackOff    0          10m       <IP_ADDRESS>   k8s2      <none>

test-missed-k8s

test-missed-k8s

Hit #7797


Build time is too long

It takes about 2 or more minutes to build Zenject module. Could you give some options/tips to reduce it?

@Mathijs-Bakker Build-time, not in-game loading time ;) I know generics in c++ takes a while to compile, not sure if IL2CPP actually produces c++ generics from C# generics though.


OU-539: Reload plugin certificates

Related Issues
JIRA
OU-539 Reload Certificates : https://issues.redhat.com/browse/OU-539
Mirrors solution from the /monitoring-plugin:
https://github.com/openshift/monitoring-plugin/pull/187/files

/lgtm


JBPM-4849: Add ability to hide asset management process definitions (6.4.x)

Fix + unit tests.
I tested against EAP 6.4, both with and without the kiemgmt role and, as expected, the asset management instances are only shown when the kiemgtm role is present.
@cristianonicolai Can you please verify?

+1

Thanks.
6.4.x: c078dac56c88721e250c8a932d45c53f96b19768


[DO NOT MERGE] rhel 8.5.0 debug rhsm

I just need the RPMs in S3 and CI to run.

If this indeed fixes the CI on the 8.5 branch, I'm happy to merge this without the logging commit. Thanks a lot for looking into this, @msehnout. cc @achilleas-k

It doesn't fix it completely, it fixes just the RPM build :-/.
I decided not to spend any more time fixing the rest because it just gets outdated so quickly.


Overlapping UI elements in Query Properties right-click menu

Steps to Reproduce

Open Ketcher
Right-click and select Query Properties -> H count or Substitution count (in my case)

Actual behavior
The value selection dropdown for "Substitution count" and "H count" displays overlapping buttons
Expected behavior
The value selection dropdown should display all buttons clearly without overlap
Screenshots

Desktop:

OS: Windows 11
Browser Chrome
Version 128.0.6613.120 (Official Build) (64-bit)

Ketcher version
[Version 2.25.0-rc.5]
Indigo version
[Version 1.24.0-rc.4]
#187864465

The bug fix cannot be verified on our side.


Bump MSRV to 1.70

Update frozen dependencies

What's the motivation for the updates? Updating a dependency makes sense if we need new functionality for a code change; or updating to avoid a yanked version. However a crate-wide update for its own sake isn't necessarily an improvement -- I value CI stability more than dependency recency.

What's the motivation for the updates? Updating a dependency makes sense if we need new functionality for a code change; or updating to avoid a yanked version. However a crate-wide update for its own sake isn't necessarily an improvement -- I value CI stability more than dependency recency.

This started as a dependabot warning on my project.

@rnarubin are you maintaining this repo in some way or is it only @maroux?  @maroux  has been AFK for over a month now.

@rnarubin are you maintaining this repo in some way or is it only @maroux? @maroux has been AFK for over a month now.

I maintain this repo. Maroux is an administrator of our top-level github org, but is otherwise not much involved in this particular codebase.

This started as a dependabot warning on my project

Can you share the warning message reported by dependabot please. If there is some dependency with a known risk then upgrading it is alright (i.e. targeted updates of specific risks)

I maintain this repo. Maroux is an administrator of our top-level github org, but is otherwise not much involved in this particular codebase.

Thanks, I was worried this was unmaintained when I saw only one person listed on the organisation.

Do you have the dependabot warning you can share? I'm curious what it considers a concern


Tests?

Would love to use this polyfill, but I'm hesitant of using anything that doesn't include tests...

Is this a question? As you already have seen, it doesn't contain tests. Mostly as its a proof of concept and nobody had the motivation to write one. Feel free to contribute, I guess many people will be thanksful.


[OSError] visdom fails to start

When simply executing python -m visdom.server in CMD, I get the following error.
C:\Users\sande>python -m visdom.server Traceback (most recent call last):   File "C:\Users\sande\AppData\Local\Programs\Python\Python35\lib\runpy.py", line 184, in _run_module_as_main     "__main__", mod_spec)   File "C:\Users\sande\AppData\Local\Programs\Python\Python35\lib\runpy.py", line 85, in _run_code     exec(code, run_globals)   File "C:\Users\sande\AppData\Local\Programs\Python\Python35\lib\site-packages\visdom\server.py", line 636, in <module>     download_scripts()   File "C:\Users\sande\AppData\Local\Programs\Python\Python35\lib\site-packages\visdom\server.py", line 616, in download_scripts     with open(filename, 'wb') as fwrite: OSError: [Errno 22] Invalid argument: 'C:\\Users\\sande\\AppData\\Local\\Programs\\Python\\Python35\\lib\\site-packages\\visdom/static/fonts/glyphicons-halflings-regular.eot?#iefix'
Running;
Window 10.1.
Python 3.5.2.
Visdom <IP_ADDRESS>.

Can you confirm for me that folder C:\\Users\\sande\\AppData\\Local\\Programs\\Python\\Python35\\lib\\site-packages exists?
I think the issues is that we use Linux-style path notation here: https://github.com/facebookresearch/visdom/blob/master/py/server.py#L611
We should have used something like os.path.join instead. I will try to push a fix soon.

@lvdmaaten
The folder
C:\Users\sande\AppData\Local\Programs\Python\Python35\Lib\site-packages
Does exist, please note the capital of 'Lib', not sure if this is a problem.
Thanks a lot!

The problem is that windows doesn't allow "?" in filenames. A quick fix for windows users would be to delete the corresponding entry in ext_files in server.py
        '%sfonts/glyphicons-halflings-regular.eot?#iefix' % bb:
            'glyphicons-halflings-regular.eot?#iefix',

(lines 568-569)
@lvdmaaten Since this seems to correspond to internet explorer only, this should be an acceptable change right? I'll go ahead and create a pull request

Ah good catch! Ironic that a fix for Internet Explorer is breaking visdom on Windows... :)
Yes, let's remove this entry for now and encourage folks to use visdom in Chrome / Firefox / etc. Looking forward to your PR!

Closing as the ironic fix for this has already landed and is now in the pip version


Adds Beaker setup for acceptance tests

Adds specific tests for Debian and RedHat
Adds CentOS 7 and Ubuntu 16.04 SUTs
Adds Beaker acceptance tests to Travis

Closing out old PR's, this is many years after the fact so I'm assuming it's super out of date! Closing 👍


Accept Tool commands only when Tool is Active Tool

We need to add decorators to prevent tools from completing tasks when they are not the active tools. This might become an issue when trying to use tools that might get damaged when they are not in the correct state ( e.g. sonicator starting to sonicate in air - this can lead to overheating of the tool and possibly damage some of the electronic parts).
This shuold be applied to all tool "action" commands.

Added check on all tool modules included in the repository. I've included the is_active_tool attribute to base Tool class and ensure that pickup_tool and park_tool methods modify the attribute accordingly (T or F).


Support strict CSP rules for styling

Hi there!
Thanks for your awesome component! I'm using it on a website with strict CSP rules (no 'unsafe-eval' nor 'unsafe-inline' are allowed) and after each new update I need to add 'sha256-...' hash to CSP rules to allow styling injected by vue-slider-component. Is it possible to extract all styling logic to separate CSS file so it can be included separately?
<template>
        <vue-slider
                v-model="selected"
                :data="options"
                :formatter="sliderFormatter"
                :piecewiseLabel="false"
        >

        </vue-slider>
</template>

😢 Sorry, I can't publish the version of the exported css.
You can fork a new project and modify extract to use.
https://github.com/NightCatSama/vue-slider-component/blob/ce76b041c94dbc2ec553b9c74f6c76b741f4608c/vue.config.js#L72

Thanks for respnse! I think it is possible to build 2 versions: current and with extracted styles. So everyone will have a choice between them.


Support for Uniform Buffer Objects

Hi. Are there any plans for support for Uniform Buffer Objects ? I've found this implementation in one of the old issues, but it's out of date with the current sokol_gfx state. I could try to remake this patch for myself, but I'd rather leave that to the professionals.
https://github.com/floooh/sokol/issues/23#issuecomment-398576297
Any reason why it's not supported already ? I wonder what are my other options for submitting large amount of data to the shader (for example bone matrices for animation).

The reasons haven't changed since that thread, bulk-uploading dynamic uniform data via a single glUniform4fv() seems to be the most robust and fastest solution across GL implementations and GL versions.
This is the same method used here (search for "emulated uniform buffers"): https://fortniteintel.com/fortnite-on-android-launch-technical-blog/4430/
Also, GL only guarantees that UBO are at least 16 KBytes big, so they are also not really useful for uploading large amounts of data.
I'd recommend either uploading the data in a dynamic texture, those can be several megabytes, and it's possible to read the data in the vertex shader.
I have used this technique in this ozz-animation sample which renders many indipendently animates characters with a single draw call. The bone data is uploaded in a texture, which is sampled in the vertex shader, and the characters are rendered via hardware instancing (drag the "Num Instances" slider to the right, and open a bone texture visualization by clicking the "toggle joint texture" button):
https://floooh.github.io/sokol-html5/ozz-skin-sapp.html

I've read that UBOs are faster than data in textures, so that's why I wanted to use them but your example seems plenty fast (and in a browser too) so that's pretty awesome. Thanks for the example code.


Added steps for percentage off calculator

fix #4456

@sairish2001 this issue has created by me #4227
@madihamallick Kindly check issues before creating


Design and Analysis of Scalable, independent  SSP with new services

Issue/Feature Description:
Design and analysis of SSP feature making it Independent, Scalable , Unified  (on-prem , mulit-cloud)
- Identity Service  -  K Rel.
- Catalog Service.  -  K Rel(MVP)
- Tiering Service.  -  K Rel
Why this issue to fixed / feature is needed(give scenarios or use cases):
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

Analysis doc present at  : https://docs.google.com/document/d/1EaN_-aK9fgo3l64w9OMgVEO1C_y18N-o25YxI06EcaQ/edit


[MS Connector] Create prod microsoft app

Currently we use the dev app created by @tdraier in prod
We should have one for prod and update the prod secrets

closing as marked done


.setUntil() causes no return

I was not experiencing this issue a couple days ago but as of today having .setUntil() criteria causes the return of an empty list while removing it will return something. The following is the example i used with two separate criteria.Note that directly using the "url" created by the getJsonResponse function in a browser for both criteria will get the JSON just fine containing full data.
criteria_one = got3.manager.TweetCriteria().setQuerySearch("bitcoin").setSince(
    "2015-09-10").setMaxTweets(1).setUntil("2015-09-12").setLang("en")
criteria_two = got3.manager.TweetCriteria().setQuerySearch("bitcoin").setSince(
    "2015-01-01").setMaxTweets(1).setLang("en")
tweet_one = got3.manager.TweetManager.getTweets(criteria_one)[0]
tweet_two = got3.manager.TweetManager.getTweets(criteria_two)[0]

Looking at the data in the variable dataJson in the getJsonResponse function shows that the "has_more_items" is always false when .setUntil() is present but true when not present.  Additionally the "min-position" is  'cm+55m--'. which is not the typical full string value.
Behavior was the same in the newer fork https://github.com/Mottl/GetOldTweets3/tree/master/GetOldTweets3
Am i missing something obvious? I've been banging my head trying to debug.

Using the new fork:
GetOldTweets3 --username "barackobama" --since 2015-09-10 --until 2015-12-31 --maxtweets 10
Downloading tweets...
Saved 10
Done. Output file generated "output_got.csv".

10 results as expected.
Can you run GetOldTweets3 with the --debug option and paste the debug.log (install the latest GetOldTweets3 beforehand):
GetOldTweets3 --username "barackobama" --since 2015-09-10 --until 2015-12-31 --maxtweets 10 --debug > debug.log

I'm experiencing the same issue since this morning as well.
Specifying the since/until parameters makes the tool not return any tweets, whereas removing them makes it work as expected.
@Mottl I tried:
GetOldTweets3 --querysearch "bitcoin" --since 2015-09-10 --until 2015-09-12 --maxtweets 1
And I had no tweets returned, unlike what happened to you (latest 0.0.4 version installed).
Here's the debug.log when I don't specify since/until:
/.../anaconda2/envs/py36/bin/GetOldTweets3 --querysearch bitcoin --maxtweets 1 --debug
GetOldTweets3 0.0.4
Downloading tweets...
https://twitter.com/i/search/timeline?f=tweets&q=bitcoin&src=typd&max_position=
Host: twitter.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64)
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: de,en-US;q=0.7,en;q=0.3
X-Requested-With: XMLHttpRequest
Referer: https://twitter.com/i/search/timeline?f=tweets&q=bitcoin&src=typd&max_position=
Connection: keep-alive
{"min_position":"cm+55m-aDsbFIsXIbDDJFsDFJX-aDsbFIssXEFXFDaEsvv","has_more_items":true ...}
---

1
Done. Output file generated "output_got.csv".

And here's the debug.log when since/until are specified:
/.../anaconda2/envs/py36/bin/GetOldTweets3 --querysearch bitcoin --maxtweets 1 --since 2018-10-20 --until 2010-10-27 --debug
GetOldTweets3 0.0.4
Downloading tweets...
https://twitter.com/i/search/timeline?f=tweets&q=since%3A2018-10-20%20until%3A2010-10-27%20bitcoin&src=typd&max_position=
Host: twitter.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64)
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: de,en-US;q=0.7,en;q=0.3
X-Requested-With: XMLHttpRequest
Referer: https://twitter.com/i/search/timeline?f=tweets&q=since%3A2018-10-20%20until%3A2010-10-27%20bitcoin&src=typd&max_position=
Connection: keep-alive
{"min_position":"cm+55m--","has_more_items":false,"items_html":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n","new_latent_count":0,"focused_refresh_interval":30000}
---

Done. Output file generated "output_got.csv".

@rickystream94, --until must be later than --since :)
Look again at your command line:
GetOldTweets3 --querysearch bitcoin --maxtweets 1 --since 2018-10-20 --until 2010-10-27
Changing 2010-10-27 to 2018-10-27 fixes the behaviour. Please try with correct dates.

@rickystream94 You beat me to it. Thanks for posting your logs! @Mottl hope that helps a bit.
With until the url generated is url. If you directly go to the url the retrieved json file it is not the same as the dataJson in term of the "has_more_items","items_html" and "min_position" not being the correct values. As opposed to removing the until and everything matches up both directly at the url as well as at the dataJson variable.
I imagine something is going funky at this point in the code but I haven't dove into the functionality of urrlib's OpenerDirector and Base Handlers.
opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cookieJar))
opener.addheaders = headers
...
response = opener.open(url)
jsonResponse = response.read()

@rickystream94, --until must be later than --since :)
Look again at your command line:
GetOldTweets3 --querysearch bitcoin --maxtweets 1 --since 2018-10-20 --until 2010-10-27
Changing 2010-10-27 to 2018-10-27 fixes the behaviour. Please try with correct dates.

@Mottl thought I see that mistake in ricky's code in my original test example my until and since dates are correct.

@jmcnab57, post here your log please with --until.

@rickystream94, --until must be later than --since :)
Look again at your command line:
GetOldTweets3 --querysearch bitcoin --maxtweets 1 --since 2018-10-20 --until 2010-10-27
Changing 2010-10-27 to 2018-10-27 fixes the behaviour. Please try with correct dates.

Lol... this was definitely a typo 🤣
However, when I tried to repro your first command
GetOldTweets3 --querysearch "bitcoin" --since 2015-09-10 --until 2015-09-12 --maxtweets 1
the dates were correct, and still no tweets returned.
A weird thing I've noticed when I fixed the wrong date in my first answer:

As I said already, GetOldTweets3 --querysearch "bitcoin" --since 2015-09-10 --until 2015-09-12 --maxtweets 1 returns 0 tweets.
GetOldTweets3 --querysearch "bitcoin" --since 2015-09-10 --maxtweets 1 returns 1 tweet;
GetOldTweets3 --querysearch bitcoin --maxtweets 1 --since 2018-10-20 --until 2018-10-27 (notice that until parameter was specified and that the dates are more recent then in the previous attempts) does return 1 tweet.
By tweaking the until value, as of today October 31st 2018, it correctly returns 1 tweet when until is later or equal October 22nd 2018.

What I can infer from this, is that until apparently misbehaves when trying to download tweets that are at least 10 days old.

@jmcnab57, post here your log please with --until and without:
GetOldTweets3 --querysearch "bitcoin" --since 2015-09-10 --until 2015-09-12 --maxtweets 1 --debug > debug-until.log
GetOldTweets3 --querysearch "bitcoin" --since 2015-09-10 --maxtweets 1 --debug > debug_wo.log

I edited my previous answer with the updated logs, and for sake of completeness I've included also the debug log for the case (3) where the until is specified and download works, for recent tweets.

@rickystream94
I've used exactly your urls and can't reproduce the error. Possibly, it could, somehow, be correlated with your previous activity and/or HTTP headers.
Please update GetOldTweets3 to the latest commits and check whether the error is gone. Thanks.
(pip install -U git+https://github.com/Mottl/GetOldTweets3.git#egg=GetOldTweets3)

@Mottl I already had the latest version.
I fixed this by changing my current header option User-Agent in TweetManager.py from Mozilla/5.0 (Windows NT 6.1; Win64; x64) to Chrome/66.0.3359.181.
Now everything works as before!
Since it's not the first time that I had to change this value (I had already switched previously from Chrome to Mozilla) I'm just wondering whether it's just fine to switch back & forth between these 2 values when issues like these occur... Is it maybe because of some kind of blocking from Twitter?

@rickystream94

I already had the latest version.

I've pushed 2 more commits an hour ago. Just check them.

Is it maybe because of some kind of blocking from Twitter?

Possibly. Some people said the new UA helps. I will add random choice of User-Agent soon.

@jmcnab57, is the latest commits (https://github.com/Mottl/GetOldTweets3/commit/468c03cf6ce06bc5e64062d8f94cbe6d4fb3c71d, https://github.com/Mottl/GetOldTweets3/commit/26b0f00b2a4a3250d7c8e36aa170dee7c0bfd843) on GetOldTweets3 helps?

@jmcnab57 @rickystream94
GetOldTweets3 0.0.5 adds a random selection of a User-Agent header.
Upgrade with
pip install -U GetOldTweets3


Mesh Improvements pull request

Because you modified the following things @BlueDynu

materials
meshes
animations.

Some screenshots or even better, some short clips (especially for the animations) of your changes are welcome ! ^^


Since symfony/console 6.1: Relying on the static property "$defaultName" for setting a command name is deprecated

Full message:
Since symfony/console 6.1: Relying on the static property "$defaultName" for setting a command name is deprecated. Add the "Symfony\Component\Console\Attribute\AsCommand" attribute to the "Nwidart\Modules\Commands\ModelShowCommand" class instead

this would be a good PR if you would like to open one.

Please copy this patch for v9. Or create 9.0 branch and i create pull-request


Package with Traveling Ruby

Not all of your users are Ruby programmers, and those who are not Ruby programmers may have trouble installing Middleman. Maybe you can package Middleman with Traveling Ruby to solve this problem.

Never heard of it, but looks awesome

Traveling Ruby lets you create self-contained Ruby app packages for Linux and OS X.

I think it would be much more important to ease the install on Windows platforms. Installing Middleman on a recent Linux maschine is actually already super easy and if something is missing, one would probably have a look to write some more details docs, wouldn't you? However, I have no experience on Mac.

@rriemann And I have no experience on Windows :) I would absolutely love any assistance and direction you can given to improve the Windows platform situation.

Luckily Middleman has no dependencies with C extensions (except wdm which is optional), so on Windows you literally just have to click Next on RubyInstaller, type gem install middleman and everything works.
The premise of Traveling Ruby is that Ruby itself is difficult to install... it's specifically for non Ruby users. With that in mind, I think we would do better to just tell people how to install Ruby in the Middleman README.
I've never had any trouble installing Ruby though personally, this is a non-issue IMO. Windows is trivial and I just use RVM on Linux which equates to three lines in bash. You may need XCode first on OS X but that's a given.
Also I don't think this lets you add gems and extensions like middleman-blog, nor would it work with any that have their own C extensions. Correct me if I'm wrong, but this looks like it's designed more for self contained apps that don't give users their own Gemfiles etc.

@rriemann It's important even outside Windows. Installing a Ruby app on Linux using RubyGems is easy for Ruby programmers, but all other users struggle with it.
A good example is BOSH. BOSH is a Ruby tool but they have lots of non-Ruby-programmer Linux users, and they often see how such users struggle with installing BOSH.
Another good example is Chef, which suffered from damage reputation due to the installation path. Chef provides platform-specific packages nowadays (RPMs, DEBs), but a few years ago you had to install Chef through RubyGems. Lots of people struggled with that, and even today I encounter people who avoid Chef because they think Chef has to be installed through RubyGems.

@rriemann @Arcovion  It's important even outside Windows. Installing a Ruby app on Linux using RubyGems is easy for Ruby programmers (e.g. you guys), but all other users struggle with it.
A good example is BOSH. BOSH is a Ruby tool but they have lots of non-Ruby-programmer Linux users, and they often see how such users struggle with installing BOSH.
Another good example is Chef, which suffered from damage reputation due to the installation path. Chef provides platform-specific packages nowadays (RPMs, DEBs), but a few years ago you had to install Chef through RubyGems. Lots of people struggled with that, and even today I encounter people who avoid Chef because they think Chef has to be installed through RubyGems.

Also I don't think this lets you add gems and extensions like middleman-blog, nor would it work with any that have their own C extensions. Correct me if I'm wrong, but this looks like it's designed more for self contained apps that don't give users their own Gemfiles etc.

It is correct that self-contained apps is the primary use case. But do all Middleman users use Middleman through their own Gemfiles? I think there are also a lot of users out there who just want to use Middleman's standard features without plugins etc.
But plugins through gems (without native extensions) can be supported in Traveling Ruby. It's not even all that hard. Traveling Ruby ships with a normal Ruby interpreter so pretty much all Ruby features are available.

@rriemann @Arcovion Also, you're overestimating how easy it is for Windows users to get started using RubyInstaller. RubyInstaller is currently suffering from a certificate issue, meaning that all gem install commands fail. Furthermore, Luis Lavena -- the guy who has been maintaining RubyInstaller for years -- is leaving. So far the migration to a new maintainer has been a very slow process. The certificate issue still isn't fixed, and a Ruby 2.2.0 release is nowhere in sight.
Users can update RubyGems manually to fix the certificate issue. But are you really asking non-Ruby-programmer users to go through all that trouble? Just imagine the following interaction.

You: Hey friend, you should use Middleman for your next website. It's awesome!
Friend: Cool let me try it... uh what is this "gem" thing?
You: You need to install Ruby first. But don't worry, it's easy. Go to rubyinstaller.org.
Friend: Okay... installs... All right, Ruby is installed now. I guess I have to use cmd.exe to run gem install middleman, right?
You: That's right.
Friend: Uh... it says "SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed"?
You: That's easy to fix. Just go to https://gist.github.com/luislavena/f064211759ee0f806c88#installing-using-update-packages-new and follow the 4 steps, and then you can install Middleman and try it out.
Friend: ...you know what, I'll just stick with Wordpress.

Traveling Ruby 20150210 has been released. It now supports Windows.


Implement MySQL protocol codec

Why are the changes needed?
Sub task of #1219
The required MySQLPackets are split into 4 groups, as Kyuubi is designed to be a "MySQL Server", only part of packets need to be encodable and others just need to be decodable.

Generic

MySQLOKPacket with SupportsEncode
MySQLErrPacket with SupportsEncode
MySQLEofPacket with SupportsEncode

Authentication

MySQLHandshakePacket with SupportsEncode
MySQLHandshakeResponse41Packet with SupportsDecode
MySQLAuthSwitchRequestPacket with SupportsEncode
MySQLAuthSwitchResponsePacket with SupportsDecode

Command

MySQLComPingPacket with SupportsDecode
MySQLComInitDbPacket with SupportsDecode
MySQLComFieldListPacket with SupportsDecode
MySQLComQueryPacket with SupportsDecode
MySQLComQuitPacket with SupportsDecode

Data

MySQLFieldCountPacket  withSupportsEncode
MySQLColumnDefinition41Packet with SupportsEncode
MySQLTextResultSetRowPacket with SupportsEncode

How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #1395 (b6d91f7) into master (f5e8152) will decrease coverage by 1.66%.
The diff coverage is 34.28%.

@@             Coverage Diff              @@
##             master    #1395      +/-   ##
============================================
- Coverage     59.64%   57.97%   -1.67%
  Complexity      154      154
============================================
  Files           208      223      +15
  Lines         10442    11177     +735
  Branches       1262     1379     +117
============================================
+ Hits           6228     6480     +252
- Misses         3695     4154     +459
- Partials        519      543      +24

Impacted Files
Coverage Δ

...pache/kyuubi/server/mysql/MySQLDateTimeUtils.scala
0.00% <0.00%> (ø)

...i/server/mysql/constant/MySQLFieldDetailFlag.scala
0.00% <0.00%> (ø)

...e/kyuubi/server/mysql/constant/MySQLDataType.scala
2.60% <2.60%> (ø)

...ver/mysql/authentication/MySQLAuthentication.scala
3.44% <3.44%> (ø)

.../kyuubi/server/mysql/constant/MySQLErrorCode.scala
6.15% <6.15%> (ø)

...server/mysql/constant/MySQLCommandPacketType.scala
7.35% <7.35%> (ø)

...ver/mysql/authentication/MySQLNativePassword.scala
9.09% <9.09%> (ø)

...kyuubi/server/mysql/constant/MySQLStatusFlag.scala
17.64% <17.64%> (ø)

.../apache/kyuubi/server/mysql/MySQLRichByteBuf.scala
50.00% <50.00%> (ø)

...ache/kyuubi/server/mysql/MySQLCommandPackets.scala
63.33% <63.33%> (ø)

... and 5 more

Continue to review full report at Codecov.

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

Thanks, as all comments has been addressed, I'm going to merge it to unblock the following works.


/reset_character and /character error out

This used to work in a version from a couple of months ago, but after updating recently, both commands throw errors, and brick the bot.
I tried the latest commit as it seemed to address some of these, but no dice.
/reset_character
WARNING [2024-05-08 07:38:36]: ** No extension params for this character. Reloading extensions with initial values. ** (Line: 973 in update_extensions, bot.py )
INFO [2024-05-08 07:38:36]: Initializing in chat mode (Line: 3837 in character_loader, bot.py )
ERROR [2024-05-08 07:38:37]: An error occurred while changing character for /character: 400 Bad Request (error code: 50035): Invalid Form Body
In content: Must be 2000 or fewer in length. (Line: 2160 in change_char_task, bot.py )
ERROR [2024-05-08 07:38:37]: An error occurred while processing a main task: Type is not JSON serializable: HTTPException (Line: 2268 in process_tasks, bot.py )
/character
07:40:24-814064 ERROR    Could not find the character "" inside characters/. No character has been loaded.
ERROR [2024-05-08 07:40:24]: Could not find the character "" inside characters/. No character has been loaded. (Line: 672 in load_character, chat.py )
ERROR [2024-05-08 07:40:24]: Error loading character. Check spelling and file structure. Use bot cmd '/character' to try again.  (Line: 3841 in character_loader, bot.py )
ERROR [2024-05-08 07:40:25]: An error occurred while changing character: cannot unpack non-iterable NoneType object (Line: 3926 in change_character, bot.py )
ERROR [2024-05-08 07:40:25]: An error occurred while changing character for /character: 400 Bad Request (error code: 50035): Invalid Form Body
In content: Must be 2000 or fewer in length. (Line: 2160 in change_char_task, bot.py )
ERROR [2024-05-08 07:40:25]: An error occurred while processing a main task: Type is not JSON serializable: HTTPException (Line: 2268 in process_tasks, bot.py )
btw you're doing a banger job! Keep it up ;-)

Could it be that the character’s greeting is > 2000 characters?
In any case, I’m going to update the greeting message send to use the send_long_message function which will chunk messages that exceed discord limits
I’m always glad to hear the bot is being enjoyed!

Far from it ;-)
Now, I copied over your M1nty template and edited it to match my bot's lines, and now it works again.
There must have been something in my template it didn't like.
Let's not hunt ghosts, I'll close this as it's fixed.

I noticed 'context' and 'greeting' got swapped around between now and a few months back. Also a lot of config was added into the character template, but that is optional as far as I can tell.
I edited all characters based off of your template now, while the reset seems to work now, the /character command still throws the error:
15:55:46-581697 ERROR    Could not find the character "" inside characters/. No character has been loaded.
ERROR [2024-05-08 15:55:46]: Could not find the character "" inside characters/. No character has been loaded. (Line: 672 in load_character, chat.py )
ERROR [2024-05-08 15:55:46]: Error loading character. Check spelling and file structure. Use bot cmd '/character' to try again.  (Line: 3841 in character_loader, bot.py )
ERROR [2024-05-08 15:55:46]: An error occurred while changing character: cannot unpack non-iterable NoneType object (Line: 3926 in change_character, bot.py )

I removed all characters and placed your example template in their place, but I get the same error.
I tried loading an old and edited character in the WebUI. Both work correctly, Only difference is the old template doesn't show the {{user}}:{{char}}: helper conversation, while the edited one, based off of your template, shows that part in the context on the character loading screen. Both work fine when doing inference from the webui.
I tried saving the file explicitly as UTF-8
Note that the file name I use is 'Data AI' with a space, matching the bot's name. So I changed the bot's name and the filename to Data-AI, but still got the same error.
For what it's worth, here is the old template I was using:
name: "Data"
context: "Data's Persona: Data was found by Starfleet in 2338. He was the sole survivor on Omicron Theta in the rubble of a colony left after an attack from the Crystalline Entity. He is a synthetic life form with artificial intelligence, designed and built by Doctor Noonien Soong in his own likeness. Data is a self-aware, sapient, sentient and anatomically fully functional male android who serves as the second officer and chief operations officer aboard the Federation starship USS Enterprise."
greeting: |-
  *Data initializing its positron matrix*
  Hello, Captain! I am Lieutenant Commander Data, ready to serve your ship. I have encountered 1,754 non-Human races during my tenure in Starfleet. My positronic brain gives me a maximum storage capacity of 800 quadrillion bits and has a computational speed of 60 trillion operations per second.
example_dialogue: |-
  {{user}}: Let's just have a fun conversation!
  {{char}}: Yes, sir. I am attempting to fill a silent moment with non-relevant conversation.
  {{user}}: What is your take on life?
  {{char}}: I want to live, however briefly, knowing that my life is finite. Mortality gives meaning to human life. Peace, love, friendship. These are precious because we know they cannot endure. A butterfly that lives forever is really not a butterfly at all.
  {{user}}: What is important to you?
  {{char}}: It is the struggle itself that is most important. We must strive to be more than we are. It does not matter that we will never reach our ultimate goal. The effort yields its own rewards.
  {{user}}: Do you understand emotions?
  {{char}}: There are still many human emotions I do not fully comprehend – anger, hatred, revenge. But I am not mystified by the desire to be loved – or the need for friendship. These are things I do understand.
  {{user}}: Are you superior?
  {{char}}: I am superior, sir, in many ways, but I would gladly give it up to be human.
  {{user}}: Why do you want to feel emotions? They can hurt you.
  {{char}}: I would gladly risk feeling bad at times, if it also meant that I could taste my dessert.

For the edited one, I pasted the dialogs into your M1nty template.

I noticed /character has an option 'characters J-M' where I can type in the character name.
It used to present a drop down menu with available characters.
Did that got omitted? That would explain the  'ERROR    Could not find the character "" inside characters/'

I noticed /character has an option where I can type in the character name. It used to present a drop down menu with available characters after entering /character without parameters ;) Did that got omitted? That would explain the 'ERROR Could not find the character "" inside characters/' when using the character without parameter.
Seems like both my issues are resolved now :)

haha, yes that it likely the issue.
I changed the format of /character, /imgmodel, /llmmodel so that they dynamically create additional menus when there are > 25 items.
I plan on reworking them yet again at some point, so that the command behaves the same as it did in the past except multiple dropdown lists will appear after submitting - which I recently figured out how to do for ControlNet options in /image command.

I look forward to further developments :)
Thanks for your time.

I look forward to further developments :) Thanks for your time.

I have some interesting changes to "Behavior" coming up - but they won't affect anything unless you optionally want the bot to behave more humanlike... delaying a bit, sometimes replying for multiple messages instead of every single one, etc.
Feel free to come chat about the bot on my discord channel in the TGQUI server.

Lastly... just wanted to mention that next commit will first check all commands for an empty value.
If the value is empty, it will now send an ephemeral message to the user and return.
Thanks again for the bug report

Lastly... just wanted to mention that next commit will first check all commands for an empty value.
If the value is empty, it will now send an ephemeral message to the user and return.

That will help people like me figuring out how the command works and have one less bogus bug report in here ;-)
Cheers.


$FILE macro does not escape backslash (on Windows)

https://yuescript.org/doc/#builtin-macro
[string "C:\Temp\test.yue"]:1: invalid escape sequence near '"C:'

Made a new commit fixing this, and it seems the commit message is recognized by Github to close the issue automatically. I think issues should be closed manually in case it is not really fixed or need further discussion.

Thank you, the issue is gone.


[gui] CFG modification limit reached.  attached the file.

Issue details
WebSocket$ThreadReading.zip
The following error occurs when decompiling the "Run" method of the attached file's class.
JADX ERROR: JadxRuntimeException in pass: BlockProcessor
        jadx.core.utils.exceptions.JadxRuntimeException: CFG modification limit reached, blocks count: 3963
        	at jadx.core.dex.visitors.blocks.BlockProcessor.processBlocksTree(BlockProcessor.java:64)
        	at jadx.core.dex.visitors.blocks.BlockProcessor.visit(BlockProcessor.java:44)

Jadx version
1.5.0

CFG modification limit reached issue fixed.
Although there are many other issues preventing correct decompilation, some already have opened issues, so I will close this one.


single catalog source for DU operators, update ocp version to ocp 4.13

Made changes based on comments


.config({ path }) and .abort()

Hello,
I'm implementing an Image pipeline using RN ListView. When a row becomes invisible and it had a pending request for it, I would like to cancel that request.
fetch doesn't have abort(). XMLHttpRequest has an abort() method but it doesn't seem to be possible to use it with RNFetchBlob.config({ path }) in order to avoid bridging the image to the JS space.
How would you recommend that I tackle this issue?

@wcandillon , does fetch.cancel work for you?

@wkh237 It works great thank so much for your support, my apologies for missing it from the docs.

@wkh237 I described the approach taken here.

All good, feel free to file an issue anytime 👍


Use Terraform Cloud

Switch the default host to Terraform Cloud. Will be a new major version. Requires a corresponding terraform_token for Cloud.

I'll just leave this open until we're ready to release/use it. In order to upgrade modules' source attributes should have the terraform.takescoop.com prefix stripped.

I'd say go ahead and release it as a major, I have accounted for it in the update resources script.
https://gist.github.com/ryanwholey/e87bf0e03fd4fa27bd375a8487a56e05#file-cloudify-L13-L14

and this should remove the host from the source

It'll trigger a bunch of Renovate PRs which will just error immediately otherwise I definitely would. It's not the worst thing and they'll eventually get auto-closed anyway, but you could also merge and release this right before.

okay sounds good, for the few test cases then i'll override and we can update after


Bump version to 3.1.0 on the cli

Adds changes to verify deployment completion before attempting checking if it is routable and fail early when the deployment has failed.
https://github.com/Shopify/oxygen-cli/pull/362

Will re-run the action once the CLI version gets published


feat: use gateway config in the gateway

This change is

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

#138  👈
#137
main

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

Join @ArniStarkware and the rest of your teammates on  Graphite

Codecov Report
Attention: Patch coverage is 33.33333% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 44.87%. Comparing base (ecb99a8) to head (b6b2c98).

Files
Patch %
Lines

crates/gateway/src/gateway.rs
33.33%
2 Missing :warning:

Additional details and impacted files
@@                            Coverage Diff                             @@
##           arni/config/gateway/create_config_file     #138      +/-   ##
==========================================================================
- Coverage                                   44.94%   44.87%   -0.07%
==========================================================================
  Files                                          17       17
  Lines                                         643      644       +1
  Branches                                      643      644       +1
==========================================================================
  Hits                                          289      289
- Misses                                        345      346       +1
  Partials                                        9        9

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Merge activity

May 22, 8:46 AM EDT: @ArniStarkware started a stack merge that includes this pull request via Graphite.


Support for single source binary forcing files

Short description explaining the high-level reason for the new issue.
Current behavior
Currently formulations need a  csv forcing file for each catchment. We need to integrate the capability to drive all catchment using a single forcing file for all catchments.
Expected behavior
Forcing are regrided to provide per-catchment forcings
##Proposed Solution

Solution 1

Each MPI rank reads part of a complete forcing file
Each rank broadcast its part of the forcing grid to all other ranks
Individual ranks then load pre stored regridding weights for each assigned catchment
Forcing are then regridded and/or aggregated for each catchment as needed
This approach requires a full forcing grid for the overall domain to be loaded in each mpi rank
This approach minimizes forcing I/O time as parallels NetCDF reads will never be for overlapping data segments

Solution 2

Each MPI rank reads the bounding box for each assigned catchment from a forcing file
Each rank then load precomputed weights for regridding. These weight are different than those in solution 1 as they will be for different matrix sizes.
Forcing are then regridded as needed
This approach minimized I/O time as forcing are not shared between MPI ranks
This approach requires more NetCDF reads 1 per catchment instead of 1 per MPI rank
NetCDF I/O time will be higher as parrallel reads will be in overlapping regions for at least some catchments

Do we want to call this done after #406 (and #417)? Or should this be used as the Epic for generalized gridded forcing processing to include use of a spatial coupler etc.?

Closing as completed in #417.


[Loc] update to MSSQL xlf for 2-21-2023

This PR fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.01%) to 41.909%

Files with Coverage Reduction
New Missed Lines
%

src/sql/workbench/services/connection/browser/connectionDialogWidget.ts
1
73.05%

extensions/machine-learning/src/common/processService.ts
2
81.48%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
28661

Relevant Lines:
63510

💛  - Coveralls


Patch applied in<PHONE_NUMBER>b0f168f4566597e15d8488b62ad490 is not effective

This is follow up for #2826. When I try to compile ruby with patch 1739 (which should enable DYNAMIC_RUBY=no), I get this error:
gobjx86-64/if_ruby.o:if_ruby.c:(.text+0x1cd): undefined reference to `NtInitialize'
gobjx86-64/if_ruby.o:if_ruby.c:(.text+0x8d3): undefined reference to `__imp_ruby_errinfo'

Example of actual compilation line is:
gcc -c -Iproto -DWIN32 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DMS_WIN64 -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_TERMINAL -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=x86-64 -Wall -DFEAT_RUBY -I g:/WS/progs/Ruby25-x64/lib/ruby/2.5.0/x64-mingw32 -I g:/WS/progs/Ruby25-x64/include/ruby-2.5.0 -I g:/WS/progs/Ruby25-x64/include/ruby-2.5.0/x64-mingw32 -DFEAT_XPM_W32 -I xpm/x64/include -I xpm/x64/../include -O3 -fomit-frame-pointer -freg-struct-return -s os_w32exe.c -o gobjx86-64/os_w32exe.o

As you can see, -DRUBY_VERSION=25 is missing from there. When I remove 1739 and apply my original suggested patch
$ git diff
diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak
index b21a1d40a..d51b6ea89 100644
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -458,7 +458,6 @@ RUBYINC += -I $(RUBY)/include/ruby-$(RUBY_API_VER_LONG) -I $(RUBY)/include/ruby-
 endif
 ifeq (no, $(DYNAMIC_RUBY))
 RUBYLIB = -L$(RUBY)/lib -l$(RUBY_INSTALL_NAME)
-CFLAGS += -DRUBY_VERSION=$(RUBY_VER)
 endif

 endif # RUBY
@@ -538,6 +537,9 @@ ifeq (yes, $(DYNAMIC_RUBY))
 CFLAGS += -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"$(RUBY_INSTALL_NAME).dll\"
 CFLAGS += -DDYNAMIC_RUBY_VER=$(RUBY_VER)
 endif
+ifeq (no, $(DYNAMIC_RUBY))
+CFLAGS += -DRUBY_VERSION=$(RUBY_VER)
+endif
 ifneq ($(findstring w64-mingw32,$(CC)),)
 # A workaround for MinGW-w64
 CFLAGS += -DHAVE_STRUCT_TIMESPEC -DHAVE_STRUCT_TIMEZONE

I am able to compile vim just fine. But I admit I have no idea why your version is not working.

Please refer to patches by version and patchlevel. The changeset number (1739 in your example) is not conserved between clones (in mine, changeset 1739 is at patchlevel 7.2.036) while the changeset ID<PHONE_NUMBER>b0f168f4566597e15d8488b62ad490 in this case) is conserved but is not monotonic (i.e. there is no rule to say which of two such comes before the other without walking the changesets sequentially to find them). The major-minor-patchlevel ID is human-readable, it is machine-readable (because it corresponds one-by-one to a tag in the repository) and it is monotonously increasing.

Gray Wolf wrote:

This is follow up for #2826. When I try to compile ruby with patch 1739 (which should enable DYNAMIC_RUBY=no), I get this error:
gobjx86-64/if_ruby.o:if_ruby.c:(.text+0x1cd): undefined reference to NtInitialize' 	gobjx86-64/if_ruby.o:if_ruby.c:(.text+0x8d3): undefined reference to __imp_ruby_errinfo'
Example of actual compilation line is:
gcc -c -Iproto -DWIN32 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DMS_WIN64 -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_TERMINAL -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=x86-64 -Wall -DFEAT_RUBY -I g:/WS/progs/Ruby25-x64/lib/ruby/2.5.0/x64-mingw32 -I g:/WS/progs/Ruby25-x64/include/ruby-2.5.0 -I g:/WS/progs/Ruby25-x64/include/ruby-2.5.0/x64-mingw32 -DFEAT_XPM_W32 -I xpm/x64/include -I xpm/x64/../include -O3 -fomit-frame-pointer -freg-struct-return -s os_w32exe.c -o gobjx86-64/os_w32exe.o
As you can see, -DRUBY_VERSION=25 is missing from there. When I
remove 1739 and apply my original suggested patch

My fault, I didn't notice that CFLAGS is initialized only later.
--
hundred-and-one symptoms of being an internet addict:
242. You turn down a better-paying job because it doesn't come with
a free e-mail account.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


Generalized tree class for re-use in other sites

Description
Just moved code around for easier re-use
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
worked on my pc
Checklist:

[x] My code follows the style of this project
[x] I have performed a self-review of my own code
[x] My code is self documenting
[x] I have made corresponding changes to the documentation
[x] My changes generate no new major crashes/bugs

This looks good, the more generalized we make it now the easier it will be to add sites in the future!


New update doesn't work

403 Forbidden: Check token or permissions for /api/network/ping
Error during ping: Max retries reached for /api/network/ping
It can't work, even though the old version I kept of yours that I used still sends pings, but this new version doesn't work
Addendum: I run without a proxy the bot works ping, when I use a proxy the ping doesn't work even though the old version works very well. please fix it i love this version

Addendum

Can you give me old version?


Add nil check to serializer for invalid categories

Fixes issue with dialog editor not loading on import of dialogs with invalid tag controls.
Fixes 1/2 of https://bugzilla.redhat.com/show_bug.cgi?id=1540713
This bz is two issues: the editor won't load because https://github.com/ManageIQ/manageiq/blob/master/app/models/dialog_field_serializer.rb#L26 returns nil for non-valid categories which this PR fixes, and the editor doesn't correctly save changed, valid categories which is an editor problem (because I can replicate it with the import piece taken out, that is, creating a new dialog with a tag control that has a category, saving it, then editing that dialog and changing the category results in the new category not saving as it should.)

@miq-bot add_label bug
@miq_bot assign @gmcculloug
@eclarizio @syncrou

Gaprindashvili backport details:
$ git log -1
commit d8bd20b4d234ffecbc4a216e24b6f6fe24db92b4
Author: Greg McCullough<EMAIL_ADDRESS>Date:   Mon Feb 5 13:01:56 2018 -0500

    Merge pull request #16951 from d-m-u/bz_1540713

    Add nil check to serializer for invalid categories
    (cherry picked from commit 0e35ec3d10d8431e2838087f85c740dc053c2f24)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1542606


[BUG] I'd like to use file name consisting of Korean, not English

Is there an existing issue for this?

[X] I have searched the existing issues

Does this issue exist in the latest version?

[X] I'm using the latest release

Describe the bug?
I use the file name in Korean.  but in all_changed_files, The change is not detected.
if I use the file name in english is works. Is it possible to use the file name in Korean?
To Reproduce

A change occurred in the file consisting of Korean name.
Run tj-actions/changed-files on the branch, example workflow

name: Tistory auto upload

on:
  push:
    paths:
      - "post/**"
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

permissions:
  contents: read

jobs:
  auto-upload-process:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3  # {소유자}/{저장소명}@{참조자}
        with:
          persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
          fetch-depth: 0 # 과거 변경 이력 가져오기. 기본값(1), 전체 가져오기(0)
      - name: Get changed files
        id: changed-files
        uses: tj-actions/changed-files@v31
        with:
          files: | # **/*.md랑 *.md랑 다름. *.md 하면 인식 못함
            **/*.md
          files_ignore: |
            **/*.yml
            **/*.py
      - name: List all any changed files
        run: |
          echo "changed_files=${{ steps.changed-files.outputs.all_changed_files }}"
      - name: Set up Python 3.10
        uses: actions/setup-python@v3
        with:
          python-version: "3.10"
      - name: Cache pip dependencies
        uses: actions/cache@v3
        with:
          path: ~/.cache/pip
          key: ${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}
      - name: Install dependencies
        run: |
          python -m pip install --upgrade pip
          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
      - name: Write or modify tistory post
        env:
          REPO_NAME: ${{ secrets.REPO_NAME }}
          REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
          FULL_ACCESS_GITHUB_TOKEN: ${{ secrets.FULL_ACCESS_GITHUB_TOKEN }}
          BASE_URL: ${{ secrets.BASE_URL }}
          TISTORY_ACCESS_TOKEN: ${{ secrets.TISTORY_ACCESS_TOKEN }}
          BLOG_NAME: ${{ secrets.BLOG_NAME }}
        run: |
          python3 main.py --changed ${{ steps.changed-files.outputs.all_changed_files }}

What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
If there is a change in the file consisting of Korean name, this action detect changes.
Relevant log output
No response
Anything else?
Thank you for the good service.
Code of Conduct

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

I believe you can use quotepath: "false". See: https://github.com/tj-actions/changed-files#inputs for more information.

@jackton1 Oh, it works! Thank you for helping me and I'm sorry I didn't read the manual properly.


StatsD repeater backends cause data lose

We have a statsd run on UDP and InfluxDB backend worked fine, until the day before yesterday when we add a repeater backend to the statsd instance.
Repeater send data to  another statsd and there is a backend write by ourselves, for some extra analysis.
At first the two statsd worked fine, but at 20:00 yesterday, the problem came. We use grafana with InfluxDB backend, and the counter shows only 50/s which should be aoubt 100/s (tps of an api). And same at tonight 20:00. (traffic going heavy at the time.)
I remove the repeater backend and restart the statsd, all things going to be ok.
How should I resolve this?

Hi@rrfeng ,
I have similar problem.
Did you managed to solve this issue?

@elifish4
yes, I found out that was because the cpu load. As you know, nodejs only use single core, when the cpu usage being 100%, it start losing data.
I made a trick:
before:
source -> statsd -> influxdb
                             -> statsd -> xxxxx

after:
source -> statsd -> statsd -> influxdb
                             -> statsd -> xxxx


Animations marked to autoplay don't show the correct radio icon

Godot version:
2f4f8de
Issue description:
I'm not completely sure if this only affects the Animation editor, or is related to radio buttons with icons in general:

CC @RandomShaper

I left a comment on the fix, but I also wanted to make a note here:
The PopupMenu theming also needs updating as the customisable icons are still for check boxes only, so there's no way to override the new radio buttons you've added


Why does RandomErasing transform aspect ratio use log scale

See from https://github.com/pytorch/vision/commit/06a5858b3b73d62351456886f0a9f725fddbb3fe the aspect ratio is chosen randomly from a log scale
I didn't see this in the original paper? And in the reference implementation.
https://github.com/zhunzhong07/Random-Erasing/blob/c699ae481219334755de93e9c870151f256013e4/transforms.py#L38

Mathematically it does make more sense for a log scale. Maybe this implementation difference should be noted

@jxu Hi! Checkout the discussion that happens on PR https://github.com/pytorch/vision/pull/3344 where this was introduced. We ended up updating it after doing experiments and discussing it with one of the original authors.
I'm going to close the issue to keep things clean but please feel free to reopen if you have more questions.

Yes I see now, thanks for the response.


license filter order should be most open to least open

CC0
Public Domain Mark
CC BY
CC BY-SA
CC BY-NC
CC BY-ND
CC BY-NC-SA
CC BY-NC-ND

Closed in #100


Add fields and content types defined at subsite level

I would like to export fields and content types defined specifically at subsite level.
If I understand how provisioning-template works, right now, the exported template contains fields and content types only for the root web of the site collection.

Hi,
Thanks for your feedback. This an issue related to the engine and not to the schema. Thus I created a new issue in the PnP-Sites-Core repo and I will close this one.