Confusion regarding arguments passed to service factory tuples

Describe the bug
factory function with arguments，It's not the engine.
To Reproduce
import {Container, Service} from '@freshgum/typedi';

@Service([])
class Engine {
    public type = 'V8';

    public get name() : string {
        return 'bmw';
    }
}

@Service([Engine])
class CarFactory {
    createCar(engine: Engine) {
        console.log(engine);    // ContainerInstance not Engine
        engine.type = 'V6';
        return new Car(engine);
    }
}

@Service({ factory: [CarFactory, 'createCar'] }, [Engine])
class Car {
    constructor(public engine: Engine) {

    }
}

const car = Container.get(Car);
console.log(car.engine.type);
console.log(car.engine.name);  // undefined

OS: MacOS
Browser Chrome
Version ^0.7.1

Parameters that you want to add directly to the factory，Similar to the following code, I wonder if it can be supported?
code

import {Container, Service} from '@freshgum/typedi';
@Service([])
class Engine {
    public type = 'V8';

    public get name() : string {
        return 'bmw';
    }
}

@Service([Engine])
class CarFactory {
    createCar(container: ContainerInstance, id: ServiceIdentifier, parameters: DependencyDescriptor[],args?: any[]) {

        console.log(args); // ['foo','bar']

        return new Car(new Engine());
    }
}

//
// Hopefully, you can add parameters passed directly to the factory
@Service({ factory: [CarFactory, 'createCar',['foo','bar']] }, [Engine])
class Car {
    constructor(public engine: Engine) {

    }
}

@Service([Engine])
class CarFactory {
    createCar(engine: Engine) {
        console.log(engine);    // ContainerInstance not Engine
        engine.type = 'V6';
        return new Car(engine);
    }
}

In this case, your factory function signature is wrong.  If we look at the DI source code...
https://github.com/freshgum-bubbles/typedi/blob/867f2416938b7c9b1bc818faa2eacf54901f3674/src/container-instance.class.mts#L1292-L1297
...and evaluate that in our head, you'll come to realise that the DI container resolves your CarFactory
via the container itself.  In this case, as you've stated that Engine is a dependency of CarFactory,
you need to accept that via its constructor and then store it in a property.
Furthermore, for array syntax, the factory function is invoked with three arguments:

The container itself (ContainerInstance)
The ID of the service being created by the factory (ServiceIdentifier)
The dependencies of the service, as an array of DependencyDescriptor objects.

Check your ContainerInstance's type property after evaluating your factory function :)
As a general tip, prefer explicit function references as opposed to the magic tuple syntax;
that's largely just kept around to make it easier for typestack-based code-bases to migrate over, should they wish to.

Parameters that you want to add directly to the factory

I'm unlikely to support this because it makes an already confusing operation even more so,
though if you provide some rational reasoning behind this, I may reconsider.

@ikilobyte Hiya, did you solve this issue afterwards?
P.S. You seem to be making issues (some duplicates) and then never following-up / engaging with my responses.
So while I'm happy that you feel comfortable to ask questions (which is a good thing!), it would be awesome
if you could be more responsive after lodging them :-)

@freshgum-bubbles
I didn't solve this problem. Do you have any plans to support this feature?
I forgot to mention this before, so it caused duplication.

@ikilobyte I don't have plans to change this behaviour.  My previous comment provided a well-detailed explanation of what happens here, and where your code goes wrong :-)


Customize location of Unix Socket

I'm running into an issue where pgserver fails to start for unprivileged users on RHEL 9. Upon socket creation it will fail with PermissionError: [Errno 13]: Permission denied: b'/run/user/0/python_PostgresServer'. In my case this is because of some Linux misconfiguration and not the fault of pgserver. I can workaround by running under my user $ export XDG_RUNTIME_DIR=/home/admin, but I would like to eliminate the need for this, possibly by using the 'env' parameter of subprocess.run() which spawns the PG server.

or perhaps instead of customizing it, it could be hard-coded into the pg_data directory of the server?


Internal jdbc driver error

SQL Error: Internal jdbc driver error
Internal jdbc driver error
java.lang.OutOfMemoryError: Java heap space
This happened in the new version 4.0.2 when I type a simple script .
This is easy to fix?
Thank's

What database?

MySQL
De: Serge Rider<EMAIL_ADDRESS>Enviado el: jueves, 02 de marzo de 2017 15:28
Para: serge-rider/dbeaver
CC: Diego F. Rodriguez Sreidin; Author
Asunto: Re: [serge-rider/dbeaver] Internal jdbc driver error (#1383)
What database?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/serge-rider/dbeaver/issues/1383#issuecomment-283737194, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AY77d2kcp0advDnpiQxgL2vn1Je-fZ3Zks5rhwoWgaJpZM4MRWO7.

Well, that's odd. Maybe your simple script retrieves too much data (e.g. binaries/texts)?
You can increase amount of memory available for DBeaver by running it with command line parameter -vmargs -Xmx1024M (for 1Gb of memory)

It Fixed when I did -vmargs -Xmx16264M
I don’t know if it’s good, but it works.
De: Serge Rider<EMAIL_ADDRESS>Enviado el: jueves, 02 de marzo de 2017 15:39
Para: serge-rider/dbeaver
CC: Diego F. Rodriguez Sreidin; Author
Asunto: Re: [serge-rider/dbeaver] Internal jdbc driver error (#1383)
Well, that's odd. Maybe your simple script retrieves too much data (e.g. binaries/texts)?
You can increase amount of memory available for DBeaver by running it with command line parameter -vmargs -Xmx1024M (for 1Gb of memory)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/serge-rider/dbeaver/issues/1383#issuecomment-283740146, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AY77d0Uwx2WRooKvsU6WaJYr6BTz5Oc-ks5rhwymgaJpZM4MRWO7.

16 gigs is quite a lot, as for me.
Although I'm not familiar with nature of your data.

For Mac users,
Go to: /Applications/DBeaver.app/Contents/MacOS and then run ./dbeaver -vmargs -Xmx4024M to change the vm settings.

SQL Error: Internal jdbc driver error
Internal jdbc driver error
Internal jdbc driver error
Java heap space
Java heap space
Errro está acontecendo na versão 23.1
Alguém pode me ajudar ?


Initialization has a console.log that appears when running

This console log appears when the express app is initialized. Would be nice to have this removed or suppressed unless DEBUG is true.

@dbarkowsky You don't like seeing a start up message? Could definitely add it to debug

Resolved in https://github.com/bcgov/citz-imb-kc-express/pull/8


2.x Timber\Core::can_edit only handles post permissions

This issue was reported by @kshaner in #2632

The way timber 2.x tends to use this now is with \Timber\Core::can_edit
https://github.com/timber/timber/blob/8d9bff23d2677652469badb75dcb607449a18204/lib/Core.php#L100-L108
However this method is in \Timber\Core and other classes such as \Timber\User and \Timber\Term also extend \Timber\CoreEntity (and thus \Timber\Core) and is not re-defined in sub-classes. This means that this code is checking against edit_post capability for the can_edit method of non Post classes. This code should should move to their specific sub-classes so there is no possibility of false negatives/false positives when id's match.

Expected behavior
When using {{ term.can_edit }}, Timber should use the correct permission check for a term. The same goes for other core objects like comment and users.
Actual behavior
Timber uses current_user_can('edit_post', $this->ID) under the hood. But it should use current_user_can('edit_term, $this->ID) instead.
Possible solution
To solve this, we should move can_edit() to the specific Timber object classes.

Fixed in #2676.


wrong background task process bar title color

OS (Linux Ubuntu 16.04 LTS)
IDEA 2017.2.3
Plugin version 0.10.3

when the process bar not in focus,it appear like this:

I know about this but this is an hardcoded color and cannot be changed (AFAIK)


Pipe flow initialization

For component TRANSFORM.Fluid.Pipes.GenericPipe_MultiTransferSurface there is a statement for initial value of port b set as:
p_b_start=p_a_start + (if m_flow_a_start > 0 then -1e3 elseif m_flow_a_start < 0 then -1e3 else 0)
shouldn't it be:
p_b_start=p_a_start + (if m_flow_a_start > 0 then 1e3 elseif m_flow_a_start < 0 then -1e3 else 0)
since if flow is positive pressure would be greater at port b.

positive flow is from a to b. therefore pressure at a is higher than at b. However, you have found an error. It should be:
p_b_start=p_a_start + (if m_flow_a_start > 0 then -1e3 elseif m_flow_a_start < 0 then 1e3 else 0). I have made change and pushed it back to the repo.


feat(data_strength_plus): ANDROID_DEPLOYMENT_TARGET 0.0.1

Description

Handling the Wifi , mobile data strength.
Wifi link speed.

Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR.
Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I titled the PR using Conventional Commits.
[x] I did not modify the CHANGELOG.md nor the plugin version in pubspec.yaml files.
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze) does not report any problems on my PR.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[x] Yes, this is a breaking change (please indicate that with a ! in the title as explained in Conventional Commits).
[ ] No, this is not a breaking change.

Hi @engineer-ece
looks like your PR contains a new package, as we mention in the contribution guidelines, we don't accept new packages in the plus plugins family: https://github.com/fluttercommunity/plus_plugins/blob/main/CONTRIBUTING.md#-cannot-be-accepted
Following our guidelines, I'm afraid I'll have to close this PR, but please be encouraged to create your own package and release it.

Hi @engineer-ece
looks like your PR contains a new package, as we mention in the contribution guidelines, we don't accept new packages in the plus plugins family: https://github.com/fluttercommunity/plus_plugins/blob/main/CONTRIBUTING.md#-cannot-be-accepted
Following our guidelines, I'm afraid I'll have to close this PR, but please be encouraged to create your own package and release it.

Thank you for your encouragement - I created a package to get wifi and mobile data strength from android code.


Fix warning under Ruby 2.2.0

Fixes this warning after require 'ansi' under Ruby 2.2:
/home/ari/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ansi-1.4.3/lib/ansi/chart.rb:26: warning: duplicated key at line 29 ignored: :concealed

This PR is a dupe of #20.


Add image dynamically

Is it possible to dynamically add an image to the image list after it has been displayed ?

I have mage a pull request here for this enhancement : https://github.com/codeshackio/dynamic-select-images-js/pull/3


Migrate to Qt 6

@faveoled could you please help me with that? :)

I think it's blocked
https://github.com/ubuntu/snapcraft-desktop-helpers/pull/227


⚠ Bofrost.lu has degraded performance

In a666305, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 996 ms

Resolved: Bofrost.lu performance has improved in ce02d42 after 6 minutes.


Parameterize sparse matrix tests

This PR parameterizes some tests for sparse matrix formats.

pfnCI, test this please.

Jenkins CI test (for commit 343d17d9bfe2b3f4480047232d3766835ad8274e, target branch master) failed with status FAILURE.

Looks that we can not naively use parameterized dtype tests and pytest.mark.parametrize at the same time.

pfnCI, test this please.

Jenkins CI test (for commit 21c8dc57aabdc1fba9b991fe8d5e729d0f89ddd4, target branch master) failed with status FAILURE.

Should we provide an API in cupy.testing as opposed to use pytest.mark.parametrize?

pfnCI, test this please.

Jenkins CI test (for commit 86539c726024c0ce290c41f8438f475fbab3b313, target branch master) failed with status FAILURE.

TestCG is not skipped?

pfnCI, test this please.

Jenkins CI test (for commit f5bd8d38c9c2752dc066d68df9327a0f45c69947, target branch master) succeeded!


[Editor] Add EditorPlugin::scene_saved signal

Matches the EditorNode one for parity with the exposed resource_saved signal
As per https://github.com/godotengine/godot-proposals/issues/2131#issuecomment-1898304659

Thanks, seems useful!

Thank you so much for the quick implementation!

Turned out to be very simple! And I can't help myself when I come across something like that, if I don't make a PR almost the moment I figure it out it'll haunt me lol


Cannot create OpenShift cluster

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aro create
Errors:
The command failed with an unexpected error. Here is the traceback:
Insufficient privileges to complete the operation.
Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/role/_msgrpah/_graph_client.py", line 52, in _send
    r = send_raw_request(self._cli_ctx, method, url, resource=self._resource, uri_parameters=param,
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/util.py", line 1011, in send_raw_request
    raise HTTPError(reason, r)
azure.cli.core.azclierror.HTTPError: Forbidden({"error":{"code":"Authorization_RequestDenied","message":"Insufficient privileges to complete the operation.","innerError":{"date":"2023-03-09T15:07:22","request-id":"31563015-3cd6-4e49-8c38-9a61178e9285","client-request-id":"31563015-3cd6-4e49-8c38-9a61178e9285"}}})

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/aro/custom.py", line 78, in aro_create
    client_id, client_secret = aad.create_application(cluster_resource_group or 'aro-' + random_id)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/aro/_aad.py", line 24, in create_application
    app = self.client.application_create(request_body)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/role/_msgrpah/_graph_client.py", line 91, in application_create
    result = self._send("POST", "/applications", body=body)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/role/_msgrpah/_graph_client.py", line 55, in _send
    raise GraphError(ex.response.json()['error']['message'], ex.response) from ex
azure.cli.command_modules.role._msgrpah._graph_client.GraphError: Insufficient privileges to complete the operation.

To Reproduce:
As far as I can see I followed EXACTLY the steps described in the tutorial:
https://learn.microsoft.com/en-us/azure/openshift/tutorial-create-cluster
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

az login

az account set --subscription {}

az provider register -n Microsoft.RedHatOpenShift --wait

az provider register -n Microsoft.Compute --wait

az provider register -n Microsoft.Storage --wait

az provider register -n Microsoft.Authorization --wait

az group create  --name hpo-aro-rg --location eastus

az network vnet create  --resource-group  hpo-aro-rg --name hpo-aro-vnet  --address-prefixes <IP_ADDRESS>/22

az network vnet subnet create --resource-group  hpo-aro-rg --vnet-name hpo-aro-vnet  --name master-subnet  --address-prefixes <IP_ADDRESS>/23

az network vnet subnet create --resource-group  hpo-aro-rg --vnet-name hpo-aro-vnet  --name worker-subnet  --address-prefixes <IP_ADDRESS>/23

az aro create --resource-group {} --name {} --vnet {} --location {} --master-subnet {} --worker-subnet {} --pull-secret {} --domain {}

Expected Behavior
OpenShift Cluster created successfully.
Environment Summary
Linux-5.4.0-144-generic-x86_64-with-glibc2.31, Ubuntu 20.04.2 LTS
Python 3.10.8
Installer: DEB

azure-cli 2.45.0 *

Additional Context
I already had a look at the similar issue
https://github.com/Azure/azure-cli/issues/16963
but I cannot imagine that we have issues with Worker pool Subnet CIRD as we used exactly the parameters from tutorial and moreover in our case "Missing privileges" are reported ...
In accordance with the tutorial I re-checked my permissions:
I already have had the User Access Administrator permissions and later on I was even  given Owner permission for the used subscription.
Moreover regarding Azure Active Directory I should be a member user of the tenant.
BTW: When trying to create the OpenShift cluster via Azure portal UI I was informed that the clustername must not contain hyphens,
but this was not the reason.

route to CXP team

+1

Same problem, just posted a comment to a similar looking issue: https://github.com/Azure/azure-cli/issues/25774#issuecomment-1630683791


PandasTools and InteractiveRenderer improvements

Avoid that Jupyter Notebooks become painfully slow when using PandasTools with hundreds of molecules by using pandas formatters rather than patching Chem.Mol.__str__
Make sure that static PNG images in pandas DataDrames honor PandasTools.molSize
Make sure that PandasTools works on the whole range of pandas versions
Improved and more robust loading of rdkit-structure-renderer in Jupyter Notebooks
MolsToGridImage is now also interactive
Interactive rendering now displays highlights and query molecules correctly

Take a look at the gists linked below to see how the new PandasTools works correctly on a wide range of pandas versions and avoids incurring in the sluggishness that currently affects notebooks using PandasTools on hundreds of molecules.
This PR PandasTools on various versions of pandas:
1.5.0
1.4.3
1.3.5
1.2.5
1.1.5
1.0.5
0.25.3
master PandasTools performance issues with many molecules in the notebook and other visualization issues:
Jupyter painfully slow with many molecules
PandasTools visualization issues

The test failures here are because the build on master is currently broken due to a bad interaction between #5595  and #5576.
It's not related to this PR


docs: general updates for v0.3.0

Description

Update docs.

Checklist

[ ] My code follows the existing style, code structure, and naming taxonomy
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have performed a self-review of my own code and included any verifying manual calculations
[ ] I have added or updated unit tests that prove my fix is effective or that my feature works, and achieves sufficient code coverage.  New and existing unit tests pass locally and in the build (below) with my changes
[ ] My changes generate no new warnings and running code analysis does not produce any issues
[ ] I have added or run the performance tests that depict optimal execution times
[ ] I have made corresponding changes to the documentation

@DaveSkender  I'm thinking of adding some more infos in README.md because it's a landing page that can give first impression to visitors. It would be more attractive if they can see how to install and simple usage on README even though it is duplicated with GUIDE.me. I'm asking you because you removed them before intentionally. How do you think?

@DaveSkender I'm thinking of adding some more infos in README.md because it's a landing page that can give first impression to visitors. It would be more attractive if they can see how to install and simple usage on README even though it is duplicated with GUIDE.md. I'm asking you because you removed them before intentionally. How do you think?

Yah, I have a bit of that on the .NET one, mostly to show how simple the interface is.  Though, I do treat the webpage Home Screen differently than the repo README.Md, mostly because that repo readme gets thrown over to the package site and I want users to go over to the website for a better experience.

I've changed my mind not to change readme. but what I'm thinking is that the better way to get users go to 'Getting started' at a glance. For now, I don't have any idea, so let's just keep as it is.

So, I did something that's going to blowup your build.  I basically removed all the BadQuotesException cases in the library, so you'd not need to test for that anymore (and can remove those tests).


Simple Linktree

I will create a simple linktree template using html and css.
Tech Stack
Html
Css

Users just need to add their profile links there.
Please assign me this

@Sulagna-Dutta-Roy I would really love to accept a Pull request on this.

Thank you for assigning this.

Hey @Sulagna-Dutta-Roy, are you still working on this?
I would like to work on this too.


Can't release - Require Forge Credential Refresh

Hi @arioch!
Can you regen the Travis credentials? I can't release right now

Unless any other steps are required it should be fixed in 338daa46f.


OBSOLETION: GO:0090650 cellular response to oxygen-glucose deprivation

This term  seems odd to be a compound term (the extensions should  be compounded if necessary with a comma)
i.e.
response to gluclose starvation,response to hypoxia
12 EXP mostly IEP

From the paper abstracts, oxygen-glucose deprivation is a way to induce ischemia, so a merge with GO:0002931 response to ischemia seems appropriate.
@RLovering @gthayman annotations are by your groups; is this proposal OK for you?
Thanks, Pascale

yes sounds good. Hopefully no edits required by me?

No, not with a merge.

I don't mean to be difficult, but I can't find a definition for 'ischemia' that doesn't refer to restricted blood flow. What I do find in the 10 papers we have annotated to GO:0090650, involving in vitro experiments, is that nine of them use the phrase 'oxygen-glucose deprivation', so the phrase seems commonly used in the literature. If you're going ahead with this merge, could we at least make sure that we retain 'response to oxygen-glucose deprivation' as an exact or related synonym? We weren't sure whether that happens automatically or not in merges. Thanks.

This is a good point. especially based on the comment in this term record:
Ischemia always results in hypoxia; however, hypoxia can occur without ischemia. Plus, thinking about this a bit more I am not convinced that how often the gene products involved in responding to oxygen deprivation will be the same as those responding to glucose deprivation. Maybe it would be more sensible to just delete the 'oxygen-glucose deprivation' and move all annotations to both parent terms 'oxygen' deprivation and 'glucose' deprivation?
Also based on the comment in the ischemia term record shouldn't this be a child term of  GO:0001666 response to hypoxia? Perhaps the response to ischemia should be merged into GO:0001666 response to hypoxia. I guess there may be other aspects to responding to ischemia but I have a feeling that often experiments that cause ischemia are looking at the impact of low oxygen to an area of tissue/cells.

Oh dear, response to terms...maybe I  shouldn't have poked this one....
I always feel that they are only useful if used as extesnions/qualifiers  of another term to give them some context (and prevent them  being used  just for expression changes with IEP). I'm happy for this to close it just seemed a bit odd...

Sounds good.

@RLovering
Are you suggesting we merge

GO:0090650 cellular response to oxygen-glucose deprivation
GO:0090649 response to oxygen-glucose deprivation
GO:0002931 response to ischemia should be merged
into GO:0001666 response to hypoxia?

based on the comment in the ischemia term record shouldn't this be a child term of GO:0001666 response to hypoxia?

ischemia causes hypoxia, see https://en.wikipedia.org/wiki/Ischemia, so I don't think this is right?
WRT the merge I propose, PMID: 28064357 "The most frequently used in vitro model of cerebral ischemia is the combined oxygen and glucose deprivation (OGD)." So, this really does sound like this is the same ?

Dear all,
The proposal has been made to obsolete GO:0090650 cellular response to oxygen-glucose deprivation. The reason for obsoleteion is that this represents an assay to induce ischemia, which is not a normal process. There are 22 annotation left by MGI (2) and RGD (20), see https://github.com/geneontology/go-annotation/issues/4686.
There are no mappings to this term; this term is not present in any subset.
You can comment on the ticket: https://github.com/geneontology/go-ontology/issues/21284
Thanks, Pascale


Hello! Can you please tell me how to create this display image.

Hello! Can you please tell me how to create this display image. Looking forward to your reply!

May I ask how you made it? Thanks!

Hi @ZyzJinQu and thank you for your interest.
Please take a look at issue #2.
That issue provides instructions for displaying a skinned motion.
If you have further questions, do let us know.

Thank you very much for your reply! I want to ask you how to make the effect of the screenshot, such as the floor, the background and so on? Did you use Blender? Rather than redirecting questions about it. Thank you very much!

Yes, we used Blender. The floor, shadows, and so on, are all Blender effects.

Thank you very much for your reply!


Sometimes columns become inactive after reordering in IE11 and it is impossible to drag'n'drop / resize them again.

I'm submitting a ...  (check one with "x")
[*] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
Sometimes columns become inactive after reordering in IE11 and it is impossible to drag'n'drop / resize them again.
Expected behavior
I expect to always have a possibility to reorder / resize columns if corresponding options are sent to config.
Reproduction of the problem

Open http://swimlane.github.io/ngx-datatable/
Drag'n'drop Name field to Gender one (the columns will replace each other)
Try to resize / reorder Gender field (even cursor has 'default' state instead of 'pointer' one)

What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Windows 10

Table version:
10.0.5

Angular version:
Angular 4.3.5

Browser:
Internet Explorer 11

Language:
TypeScript

This issues is still affecting IE11 - even with the current Table version.
onMousedown(event) in the draggable.directive.ts gets a event of the wrong DOM (parent  instead of the corresponding ), so the Code fails to emit the dragStart event.
 onMousedown(event: MouseEvent): void {
   // we only want to drag the inner header text
const isDragElm = (<HTMLElement>event.target).classList.contains('draggable');
....
}
isDragElm will always be false for the div
A workaround for IE is to set up a z-index on the class datatable-header-cell
.datatable-header-cell {
     z-index: 0;
}


Another PyPI release?

Perphaps a time for 0.5.4? Would be appreciated. Thanks!

Both 0.5.4 and 0.5.5 have been released now


Missing documentation for angularjs integration (only demo available)

The angular example has been removed in this commit: 3142b42
The last tagged version that included it was v9.34.0.
So unfortunately, this makes this feature request obsolete.


[eas-cli] Add destination branch arguments to update:republish command

Why
Please describe the motivation for this PR, and link to relevant GitHub issues, forums posts, or feature requests.
How
How did you build this feature or fix this bug and why?
Test Plan
Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction.

#2575  👈
main

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

Join @wschurman and the rest of your teammates on  Graphite

Some things we need to figure out:

What does republishing a rollout v3 mean? What does republishing a rollout v3 to a different branch mean? Probably need to add more validation in www to ensure that a rollout v3's updates are on the same branch.
Will this exacerbate code signing key mismatches? The assumption is that people use different keys for production and staging. What happens on the client when there is a code signing key mismatch?

Just checked for the first bullet point. A validator is in place that ensures that for any update, if it is a rollout update, the 'runtimeId', 'branchId', 'platform', 'appId', all match for the update and the control update.

#2575  👈
main

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

Join @wschurman and the rest of your teammates on  Graphite

/changelog-entry new-feature Add destination branch arguments to update:republish command


[Feat] Add auto_restart for fault tolerant training

What does this PR do?

Once a signal.SIGUSR1 is being sent to Lightning, the Trainer should exit to the next most reproducible place. The Trainer would be aware of this as _terminate_gracefully would be equal to True.
This PR adds the following:

Logic to the exit the loops using an ExitGracefullyException exception once safe places are reached
Save a fault tolerant checkpoint
Automatically reload the fault tolerant checkpoint if .pl_auto_save.ckpt files exists.

Part of #9130
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

@tchaton this design is currently missing from https://docs.google.com/document/d/1pvhyNg17pm7-ECMTpgpZiJf6sbypeuaB8QsSP79n6k0/edit#
which makes it hard to see how this feature fits into the overall fault tolerance flow

Hey @ananthsub,
I added the description within the document.
next reproducible part means the part of the codebase where we know it is the safest to exit. Example on batch_end, on_epoch_end. I shared the exit strategy in the document and the test is covering most of them.
Best,
T.C


Update README.md

test this please

test this please. This comment is for Jenkins CI to do a full pass.

retest this please. This comment is for Jenkins CI to do a full pass.

retest this please

was for testing only.


Clean up DEBUG_MODE

cleanup debug printing, logging, exceptions, DEBUG_MODE
add global catch-all exception handler

debug printing and exceptions are cleaned up in cli and g_diffuser_lib, the rewrite for command server and discord bot will require the same.
global catch-all exception handler no longer needed.


view cluster no-op or importer mode

Feature Request
Is your feature request related to a problem? Please describe:

After using tidb-lightning, can not confirm tidb cluster current mode is no-op or importer mode
Describe the feature you'd like:

tidb-lightning is missing command to view cluster no-op or importer mode

The "import mode" setting is tracked directly by each TiKV node, and the current value isn't exposed by any API yet. There is currently a PR for TiKV 3.0 tikv/tikv#4206 which will eventually expose such metrics to Prometheus. After that PR is merged, we could use the metrics to distinguish between the two modes.

Metric label (tikv_config_rocksdb{name="…"})
Normal mode
Import mode

level0_stop_writes_trigger
small (36)
large (230)

level0_slowdown_writes_trigger
small (20)
large (230)

soft_pending_compaction_bytes_limit
large (64 GiB)
0

hard_pending_compaction_bytes_limit
large (256 GiB)
0


Add gstreamer deps

r? @jdm

This change is

This is currently being deployed for testing

Okay, for Ubuntu we're going to have to run https://github.com/ferjm/servo/blob/b5ab1202fa0d6f563ded25248dc55902985c114e/.travis.yml#L20-L24

r? @jdm @edunham
I tested this and it seems to work. It's currently deployed.

done

@bors-servo r+

:pushpin: Commit aae1aba has been approved by jdm

:hourglass: Testing commit aae1abacd228ebc2471185adf034127e09df3e94 with merge d309b53ff9cab316189aac7043f96dacc3b222cf...

:sunny: Test successful - status-travis
Approved by: jdm
Pushing d309b53ff9cab316189aac7043f96dacc3b222cf to master...


build mp4mux standalone

I would like to use mp4mux separate from this library to package mp3 into mp4 containers.  If I try to build src/mp4mux.ts I can see it depends on src/mp4iso.ts, but src/mp4iso.ts depends on Shumway.StringUtilities.utf8decode.

tsc  -t ES5 --out muxie.js util.ts rtmp.js/src/mp4iso.ts rtmp.js/src/mp4mux.ts

d5732bdc5da7b1815ad29e1264fd30d67fc7b369 has an MP3 frame parser and example

wow thanks Yury!


Kernel initializer to initialize densities correctly

Add an option to modify kernel initializers in the different neural networks.
Example: With MixtureDensityNetwork, the default initialization creates a first distribution that picks around 0 at the 10^-8 level. As a result, the KL divergence goes to infinity and unables the optimization to work correctly. Rescaling the weights to compensate for the low values of the power spectrum allows to come up with a solution. It might be good though to find a robust fix to this kind of issue.

The problem is solved as soon as the data is normalized correctly.


Create weather_forecast.py

Relevant Issues

Description
This piece of code helps the user to get the temperature of any region of earth
Reasoning

Screenshots

Additional Details

Did you:

[ ] Join the Python Discord Community?
[ ] If dependencies have been added or updated, run pipenv lock?
[ ] Lint your code (pipenv run lint)?
[ ] Set the PR to allow edits from contributors?

This doesn’t seem to be a discord.py command, and because of that doesn’t fit this project.


Could SSZ be replaced through protocol buffers?

Abstract
The goal of this issue is to start a discussion on whether abandoning SimpleSeralize and replacing it with ProtocolBuffers is a possibility, and whether this change should be adopted.
Motivation
The reason for proposing this, would be to reduce the amount of new standards created by eth2.0 and fallback on robust technologies with already various implementations in the languages currently being used to build eth2.0 clients.
Changes
Changes to the specification would include changing all DataStructures to Protocol Buffer proto's, this could also help reduce the requirement of implementation as anyone would be able to generate the data structures for their specific implementation from these protos.
The hash function could remain as is, but the way it is called could be changed. Changing it to being called with the already byte encoded proto.

Could SSZ be replaced through protocol buffers?

I think the answer is pretty clear: "No" :) Closing for now!


Added Platform 1.69x RN and Delegate 24.11.84503 RN

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

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

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://675ab78760b183195fc86555--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://67628825541ef2bea86a6500--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6762884509ccc9b588cb3843--harness-developer.netlify.app


rafthttp: replace append with pre-allocated slice

Found another one...
/cc @heyitsanthony @xiang90

Actually this is not necessary on non-critical paths. The performance gain is little. But I guess we can take this one.


fix: check instance length

if an input.GetInstances() return a slice with length 0, it will be dropped and never enter the gather loop,
but we still have input.Gather() to process in addition to instance.Gather()
https://github.com/flashcatcloud/categraf/blob/53338592a1b6528a9429e97ca7bc0ff27466dac8/agent/metrics_agent.go#L287-L293

If  one input has no instance confiugred,  it will not perform any matrics gathering.
Plugin without instances , just like input.cpu, it does not implement interface InstancesGetter, so inputs.MayGetInstances is nil, then go through to reader.startInput()

If one input has no instance confiugred, it will not perform any matrics gathering.
Plugin without instances , just like input.cpu, it does not implement interface InstancesGetter, so inputs.MayGetInstances is nil, then go through to reader.startInput()

in my case, there is a plugin that gather samples in two levels: input and input.instance, which means both input and inputs.instance implement Gather() method.  there maybe handreds of instances or just zero depends on machine's environment. it would be better if both work

If one input has no instance confiugred, it will not perform any matrics gathering.
Plugin without instances , just like input.cpu, it does not implement interface InstancesGetter, so inputs.MayGetInstances is nil, then go through to reader.startInput()

in my case, there is a plugin that gather samples in two levels: input and input.instance, which means both input and inputs.instance implement Gather() method. there maybe handreds of instances or just zero depends on machine's environment. it would be better if both work

which  plugin  has input's gather() and  instance's gather()

you could  read plugin's code， all plugin's GetInstances() return slice with length 0 if it's configure file commented.
if change if instances != nil  to  if len(instances) >0   then  this snipt will not work(return).
if empty {
 	if config.Config.DebugMode {
 		_, inputKey := inputs.ParseInputName(name)
 		log.Printf("W! no instances for input:%s", inputKey)
 	}
 	return
 }

you could read plugin's code， all plugin's GetInstances() return slice with length 0 if it's configure file commented.
if change if instances != nil  to if len(instances) >0  then this snipt will not work(return).
if empty {
 	if config.Config.DebugMode {
 		_, inputKey := inputs.ParseInputName(name)
 		log.Printf("W! no instances for input:%s", inputKey)
 	}
 	return
 }

i wonder why the snipt return if there is no instances, an input may still gather even if there is no instances

you could read plugin's code， all plugin's GetInstances() return slice with length 0 if it's configure file commented.
if change if instances != nil  to if len(instances) >0  then this snipt will not work(return).
if empty {
 	if config.Config.DebugMode {
 		_, inputKey := inputs.ParseInputName(name)
 		log.Printf("W! no instances for input:%s", inputKey)
 	}
 	return
 }

i wonder why the snipt return if there is no instances, an input may still gather even if there is no instances

There is no plugin both has input's Gather()  and instance's Gather() at the same time.
Addationally ,  instances != nil <=> len(instances)>= 0

you could read plugin's code， all plugin's GetInstances() return slice with length 0 if it's configure file commented.
if change if instances != nil  to if len(instances) >0  then this snipt will not work(return).
if empty {
 	if config.Config.DebugMode {
 		_, inputKey := inputs.ParseInputName(name)
 		log.Printf("W! no instances for input:%s", inputKey)
 	}
 	return
 }


Upgrade pVACtools CWLs to use version 1.4.3

+1!

1.4.4 is building: https://cloud.docker.com/u/griffithlab/repository/registry-1.docker.io/griffithlab/pvactools/builds/8a8aea65-5a32-4bd2-9926-e0819d6d508e


XGBoost does not work for 1.4.0 for hummingbird

In #492 , we needed to pin to xgboost<1.4.0 because ==1.4.0 (released on April 12th 2021) broke our tests.  We need to investigate why.

        [XGBoost]: https://xgboost.readthedocs.io/
        """
        assert (
            xgboost_installed()
        ), "To convert XGboost models you need to instal XGBoost (or `pip install hummingbird-ml[extra]`)."

        # XGBoostRegressor and Classifier have different APIs for extracting the number of features.
        # In the former case we need to infer them from the test_input.
        if "_features_count" in dir(model):
            extra_config[constants.N_FEATURES] = model._features_count
        elif test_input is not None:
            if type(test_input) is np.ndarray and len(test_input.shape) == 2:
                extra_config[constants.N_FEATURES] = test_input.shape[1]
            else:
                raise RuntimeError(
                    "XGBoost converter is not able to infer the number of input features.\
                        Please pass a test_input to convert or \
>                       fill an issue at https://github.com/microsoft/hummingbird/."
                )
E               RuntimeError: XGBoost converter is not able to infer the number of input features.                    Please pass a test_input to convert or                     fill an issue at https://github.com/microsoft/hummingbird/.

/opt/hostedtoolcache/Python/3.6.13/x64/lib/python3.6/site-packages/hummingbird/ml/convert.py:138: RuntimeError
----------------------------- Captured stdout call -----------------------------
[22:13:14] WARNING: ../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.

        [XGBoost]: https://xgboost.readthedocs.io/
        """
        assert (
            xgboost_installed()
        ), "To convert XGboost models you need to instal XGBoost (or `pip install hummingbird-ml[extra]`)."

        # XGBoostRegressor and Classifier have different APIs for extracting the number of features.
        # In the former case we need to infer them from the test_input.
        if "_features_count" in dir(model):
            extra_config[constants.N_FEATURES] = model._features_count
        elif test_input is not None:
            if type(test_input) is np.ndarray and len(test_input.shape) == 2:
                extra_config[constants.N_FEATURES] = test_input.shape[1]
            else:
                raise RuntimeError(
                    "XGBoost converter is not able to infer the number of input features.\
                        Please pass a test_input to convert or \
>                       fill an issue at https://github.com/microsoft/hummingbird/."
                )
E               RuntimeError: XGBoost converter is not able to infer the number of input features.                    Please pass a test_input to convert or                     fill an issue at https://github.com/microsoft/hummingbird/.

/opt/hostedtoolcache/Python/3.6.13/x64/lib/python3.6/site-packages/hummingbird/ml/convert.py:138: RuntimeError
----------------------------- Captured stdout call -----------------------------
[22:13:15] WARNING: ../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'binary:logistic' was changed from 'error' to 'logloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
__________ TestXGBoostConverter.test_xgb_binary_classifier_converter ___________

self = <test_xgboost_converter.TestXGBoostConverter testMethod=test_xgb_binary_classifier_converter>

    @unittest.skipIf(not xgboost_installed(), reason="XGBoost test requires XGBoost installed")
    def test_xgb_binary_classifier_converter(self):
>       self._run_xgb_classifier_converter(2)

Perhaps the issue is related to:
* Breaking change: All `data` parameters in prediction functions are renamed to `X`
  for better compliance to sklearn estimator interface guidelines.
* Breaking change: XGBoost used to generate some pseudo feature names with `DMatrix`
  when inputs like `np.ndarray` don't have column names.  The procedure is removed to
  avoid conflict with other inputs. (#6605)

Closed with #523


VSCode doesn't open offline

VSCode Version: 1.29.0
OS Version: 1809 & 1709

Steps to Reproduce:

Install VS Code 1.2.0 and open first time while connected to internet
Turn off data connection
Try to restart VS Code (it does not open at all, either from shortcuts or exe)

This is related to #7570. That issue is locked and limited, making it impossible to provide new information that may help the debug process.
In that issue, it is mentioned that the fix is expected in VSCode 1.28.0 https://github.com/Microsoft/vscode/issues/7570#issuecomment-423015980. We are now at 1.29.0 and the issue is still present.
The additional information that may help here, is that I noticed on my work laptop, that is running Windows 10 1709, does not have this problem - 1.29.0 appears to work fine with Flight mode enabled.
This issue is indeed a dupe of the mentioned issue (#7570), please add the additional data point from here to that (again, I can't because the issue is locked ☹ ) before closing this one, thank you.

Yes, please unlock issue #7570 so we can add information to help people work around this offline problem. Here's some info from me:

I can use VS Code offline on my device that's running Windows 10 Home 1803.
I can not use VS Code offline on my device that's running on Windows 10 Home 1809.

Because of this, I'm doing everything I can to prevent device 1 from auto upgrading to Windows 1809 😱 .

It looks like this comment https://github.com/Microsoft/vscode/issues/7570#issuecomment-422815878 stated that EXPLORATION BUILD which uses newer version of Electron fixes it and not the stable/insiders. But I can be wrong since I never experienced the issue.

I've read that too and I'd love to know how to get the "Exploration Build" of VS Code. Please someone post how to install that - thank you!

Well, that exact comment that I linked has 3 links: for macOS, Windows and Linux

VSCode version doesn't matter here. Exploration build currently testing Electron 3 and not yet merged #52629.

I would have thought the issue either solved, or at least expected by the developers to be solved

That's an upstream issue. Issues with this tag - not problems inside vscode (usually not solvable). Sometimes some hacks created to workaround the issue if possible, but not for this one.

I do not think we need more info, thanks for helping though. According to people reporting back to us with the Exploration builds, this issue will get fixed once we move to Electron 3 which we are planning to do in Q1 2019.
Closing as duplicate of https://github.com/Microsoft/vscode/issues/7570

Thanks for the explanation both @bpasero & @usernamehw


SpongeServer - GriefPrevention commands not works

Hey, i have a sponge server 1.10.2 with this plugins:

GriefPrevention 1.10.2-<IP_ADDRESS>7
LuckyPerms 4.2.17
Nucleus 0.20.0-S5.1-1.10.2
FlexibleLogin 0.17.4
TotalEconomy 1.6.0
UniverseGuard 1.0.5
WorldEdit 1.10.2-6.1.5-SNAPSHOT

Other mods:
AppleCore, AppleSkin, AutoRegLib, BiblioCraft, Blocklings, CodeChickenLib, CoFH core, CTM, CustomMobSpawner, MoCreatures, DungeonTactics, ElevatorMod, FastLeafDecay, Hats, Chisel, iChuntil, ironchest, IvToolkit, JurassiCraft, library, LootBags, MagmaMonsters, maliscore, malisdoors, Mantle, mowziesmobs, Pams HarvestCraft, RecurrentComplex, ropebridge, TConstruct, ThermalEx, ThermalFoundation, ViesCraft
I can claim area. But any command from griefpreventions like /trust not works. It send me "Unkown command". No error send to console. But when my server starts sponge sends this error.

Sponge version: 1.10.2-2477-5.2.0-BETA-2793
Operating system: Windows 7
Java: Java 8
Forge version: 1.10.2-<IP_ADDRESS>7

EDIT: When i disable Nucleus, command workings.

1.10.2 is not supported. Update to 1.12.2


Route 53: domain registration != hosted zones

Issue #107

Excellent addition, @vincent-dm!
I saw one issue (a misspelling), which I called out, but otherwise lgtm. I'm adding @jlevy to do a second stage review.
Thanks!

👍 Looks good to me. I'll do the copy editing fix. Thanks @vincent-dm !


How to use persistant storage ?

HI
i want to know is there any way we can use persistence storage to store index so later when i restart my app i do not have to build index again ?
Thanks

Hi, you could call function toJSON to store your index, and later load that index file.
elasticlunr.Index.prototype.toJSON

elasticlunr.Index.load

Sorry for that this is not in the documents. will add it later.

8.
Save the index to JSON file as followings:
var elasticlunr = require('./elasticlunr.js'),
    fs = require('fs');

var idx = elasticlunr(function () {
  this.setRef('id');

  this.addField('title');
  this.addField('tags');
  this.addField('body');
});

fs.readFile('./example/example_data.json', function (err, data) {
  if (err) throw err;

  var raw = JSON.parse(data);

  var questions = raw.questions.map(function (q) {
    return {
      id: q.question_id,
      title: q.title,
      body: q.body,
      tags: q.tags.join(' ')
    };
  });

  questions.forEach(function (question) {
    idx.addDoc(question);
  });

  fs.writeFile('./example/example_index.json', JSON.stringify(idx), function (err) {
    if (err) throw err;
    console.log('done');
  });
});

The above code is the example index builder usage in elasticlunr online example, you only need to pay attention to:
  fs.writeFile('./example/example_index.json', JSON.stringify(idx), function (err) {
    if (err) throw err;
    console.log('done');
  });

The function of elasticlunr.Index.prototype.toJSON is called in JSON.stringify(idx).
If you want load an alreay persisted index file, you could use:
  var indexDump = JSON.parse(indexDump)
  console.time('load')
  window.idx = elasticlunr.Index.load(indexDump)

indexDump is a file content, other your could load archived JSON index as whatever way you like. I'm not familiar with Javascript, so you are welcome to update this document to provide detailed example.


Do not use pandas directly at the front-end when computing groups and indices of GroupBy object

The current way of getting a group indices/names from modin.pandas.DataFrameGroupBy is implemented through grouping a pandas object (either DataFrame or Index), it's literally defaulting to pandas at the front-end. Maybe we could find some way to use QC API to compute this meta-data of GroupBy object.

Still relevant on current master: https://github.com/modin-project/modin/blob/fbd1e2a1b91170a3c45ce9565b1051bb2d55e4eb/modin/pandas/groupby.py#L953


zarf's message when you hit the pull rate limit isn't helpful

my PC (main, 0.30.1+)
Steps to reproduce

do not be logged into docker.io
run make test-e2e too often

workaround is to simply login to docker.io. but still we shouldn't use it as part of our constantly run testing as much.
Expected result
it should run successfully.
Actual Result
➜  zarf git:(main) ✗ docker pull docker.io/defenseunicorns/zarf-game:multi-tile-dark
Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
Visual Proof (screenshots, videos, text, etc)
  ⠋  Falling back to docker for docker.io/defenseunicorns/zarf-game:multi-tile-dark. This may take some time.
  ⠋  Falling back to docker for docker.io/defenseunicorns/zarf-game:multi-tile-dark. This may take some time.
  ⠋  Falling back to docker for docker.io/defenseunicorns/zarf-game:multi-tile-dark. This may take some time.
     ERROR:  Failed to create package: unable to pull images after 3 attempts: failed to load metadata for all
             images. This may be due to a network error or an invalid image reference: failed to pull image
             docker.io/defenseunicorns/zarf-game:multi-tile-dark: failed to inspect image
             docker.io/defenseunicorns/zarf-game:multi-tile-dark via docker: Error response from daemon: No such
             image: defenseunicorns/zarf-game:multi-tile-dark

Severity/Priority
Low

the CI pipeline got this message today:
 ERROR:  Failed to create package: unable to pull images after 3 attempts: failed to load metadata for all
 images. This may be due to a network error or an invalid image reference: failed to pull image
 public.ecr.aws/docker/library/redis:7.0.11-alpine: failed to pull image
 public.ecr.aws/docker/library/redis:7.0.11-alpine: GET
 https://public.ecr.aws/v2/docker/library/redis/manifests/sha256:ed439ea2fd065ac9622bf40b8bdb156e1e2bb2b73f7877f430775b8d728b3eec:
 TOOMANYREQUESTS: Rate exceeded

In a zarf message:
|      ERROR:  Failed to create package: unable to pull images after 3 attempts: failed to load metadata for all
|              images. This may be due to a network error or an invalid image reference: failed to pull image
|              docker.io/library/httpd:alpine3.18: failed to inspect image docker.io/library/httpd:alpine3.18 via
|              docker: Error response from daemon: No such image: httpd:alpine3.18

if you run docker pull directly:
Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

it appears to be crane that doesn't expose the message from the server on failure, so the message just says nope, it's not there. we should see if there's a way to improve this, maybe a PR against crane.


when SignalR Java client support Streaming ?

when SignalR Java client support Streaming ?
is so so late !!!!!!
why?
please hurry up.

https://docs.microsoft.com/en-us/aspnet/core/signalr/streaming?view=aspnetcore-3.0#java-client


this engine is a nice joke !?

hi, i managed to compile your code .. but the engine plays very badly .. with White it plays the moves 1.a3 2.b3 3.c3 etc !? and looses quickly against any proper opponent .. a nice joke ! thanks.

4ku's master branch is designed to be as small as it can be. As such, it plays the first legal move it finds due to not having a search or an eval.
4ku's "strength-1" branch is the strongest version of the engine and should still fit into 4,096 bytes. Approximate playing strength is 1700 CCRL, about as strong as TSCP 1.81.
I will try to make this clearer in the readme, or perhaps change which of the two is in master. Hope that helps.

thanks for the info .. yes, you could be more clear in the readme .. i will try to git clone that strength-1 branch, but i'm not sure how to do that .. something with checkout, isn't it? Can you supply the concerning terminal commands ?

I think i figured it out .. although git branch only (?!) shows the master, i did git checkout strength-1 and then git fetch and i saw that some folder & files were updated .. indeed, when doing sh build-linux.sh now, a new binary was compiled (3.7 Kb, not 2.8 Kb) and it doesn't play a3 b3 c3 etc. !
here's my terminal log :
roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/4ku$ git branch
* master

roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/4ku$ git checkout strength-1
Branch 'strength-1' set up to track remote branch 'strength-1' from 'origin'.
Switched to a new branch 'strength-1'

roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/4ku$ git fetch

roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/4ku$ sh build-linux.sh
rm: cannot remove './engine/4ku': No such file or directory
-- Configuring done
-- Generating done
-- Build files have been written to: /home/roelof/Compiled/4ku/build/linux
Consolidate compiler generated dependencies of target tests
[  3%] Building CXX object tests/CMakeFiles/tests.dir/chess/moves.cpp.o
[  7%] Building CXX object tests/CMakeFiles/tests.dir/chess/rays.cpp.o
[ 10%] Building CXX object tests/CMakeFiles/tests.dir/__/chess/attack.cpp.o
[ 14%] Building CXX object tests/CMakeFiles/tests.dir/__/chess/makemove.cpp.o
[ 17%] Building CXX object tests/CMakeFiles/tests.dir/__/chess/movegen.cpp.o
[ 21%] Building CXX object tests/CMakeFiles/tests.dir/__/chess/perft.cpp.o
[ 25%] Linking CXX executable tests
[ 39%] Built target tests
Consolidate compiler generated dependencies of target perft
[ 42%] Building CXX object perft/CMakeFiles/perft.dir/__/chess/attack.cpp.o
[ 46%] Building CXX object perft/CMakeFiles/perft.dir/__/chess/makemove.cpp.o
[ 50%] Building CXX object perft/CMakeFiles/perft.dir/__/chess/movegen.cpp.o
[ 53%] Building CXX object perft/CMakeFiles/perft.dir/__/chess/perft.cpp.o
[ 57%] Linking CXX executable perft
[ 64%] Built target perft
Consolidate compiler generated dependencies of target 4ku
[ 67%] Building CXX object engine/CMakeFiles/4ku.dir/main.cpp.o
[ 71%] Building CXX object engine/CMakeFiles/4ku.dir/search.cpp.o
[ 75%] Building CXX object engine/CMakeFiles/4ku.dir/time.cpp.o
[ 78%] Building CXX object engine/CMakeFiles/4ku.dir/__/chess/attack.cpp.o
[ 82%] Building CXX object engine/CMakeFiles/4ku.dir/__/chess/makemove.cpp.o
[ 85%] Building CXX object engine/CMakeFiles/4ku.dir/__/chess/movegen.cpp.o
[ 89%] Building CXX object engine/CMakeFiles/4ku.dir/uci/go.cpp.o
[ 92%] Building CXX object engine/CMakeFiles/4ku.dir/uci/isready.cpp.o
[ 96%] Building CXX object engine/CMakeFiles/4ku.dir/uci/listen.cpp.o
[100%] Linking CXX executable 4ku
[100%] Built target 4ku

Looks like it's working for you. Perhaps 4ku2 would also be of interest.
Thanks for trying it out.


Added the string approach

This is the same approach as in array-sum problem with the only difference in what the functions return. Also, in contrast to the first approach (the one you had), this approach makes "in-place" changes of the list in lieu of creating the new instance of the class.

Great stuff! 🐰


pip install issues/timeouts

I'm not sure what is causing the recent timeouts on our docs CI/RTD, maybe we can collect some clues here
It looks like there might be a problem solving some dependencies with pip
Here is a snippet from this run
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/fc/b6/aef66b4c52a6ad6ac18cf6ebc5731ed06d8c9ae4d3b2d9951f261150be67/imagesize-1.1.0-py2.py3-none-any.whl
  Downloading imagesize-1.1.0-py2.py3-none-any.whl (4.4 kB)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/e9/79/31cc1c2e0daf575f8fd2b581e2975e6a6938bd439581f766b79c50479521/imagesize-1.0.0-py2.py3-none-any.whl
  Downloading imagesize-1.0.0-py2.py3-none-any.whl (5.0 kB)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/29/e9/342106962eac603ff7865a29de05e965af6a259e30fbccc6fc5aeac74d70/imagesize-0.7.1-py2.py3-none-any.whl
  Downloading imagesize-0.7.1-py2.py3-none-any.whl (5.2 kB)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/64/fa/ff3da207645afa64dfcdfb0e94103fcfa4be0edb6e082308384a6830c3b7/imagesize-0.7.0-py2.py3-none-any.whl
  Downloading imagesize-0.7.0-py2.py3-none-any.whl (4.4 kB)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/82/b2/f8fdd489238b279e27c562d77920b1475fc30b8a2345b231b0b960e3c37a/imagesize-0.6.0-py2.py3-none-any.whl
  Downloading imagesize-0.6.0-py2.py3-none-any.whl (4.3 kB)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/e9/ae/e23f082a7c990b8516b66a8a2459252e76f4f1389cf188c5f306d2f53bad/imagesize-0.5.0-py2.py3-none-any.whl
  Downloading imagesize-0.5.0-py2.py3-none-any.whl (4.4 kB)
INFO: pip is looking at multiple versions of imagesize to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of urllib3 to determine which version is compatible with other requirements. This could take a while.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/urllib3/
Collecting urllib3<1.27,>=1.21.1
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/5f/64/43575537846896abac0b15c3e5ac678d787a4021e906703f1766bfb8ea11/urllib3-1.26.6-py2.py3-none-any.whl
  Downloading urllib3-1.26.6-py2.py3-none-any.whl (138 kB)

I'd guess there is basically nothing we can do about it. PyPI has been under attack for almost a year now and it is really annoying that they did not yet switch to a cdn provider mitigating stupid denial of service attacks.
https://status.python.org/

good to know, so you think this is not related to any dependencies but just bad luck running into PyPI timeouts?
just wondering why this only shows up on the docs environment (and pretty consistently at that)

up and running again today, let's see

good to know, so you think this is not related to any dependencies but just bad luck running into PyPI timeouts?
just wondering why this only shows up on the docs environment (and pretty consistently at that)

I think this is just a uncorrelated observation. Eventually it happens, because the pip is invoked by mamba during setting up the docs environment and directly invoked (bash) when installing the pytest envs.
But I guess there is nothing we can do from our side. It is good we have this observation documented now.


ios browser can not slide up and down after using  </ vue-touch>

Below Android and pc is fine

This is probably caused because you're binding swipe, which locks that event. You can 'free up' vertical scrolling by simply specifying you're only interested in horizontal swipes, like so:
<v-touch tag="a" @swiperight="foo" @swipeleft="bar" v-bind:swipe-options="{ direction:'horizontal', threshold: 50 }" >

v-bind:swipe-options="{direction: 'horizontal', threshold: 100}" 这样写没有一点用

so, what's the solution


WBC and Platelets labels are missing

Hi @Shenggan,
I was exploring the dataset and realized that there are no labels in the Annotation files apart from RBC. But, In the readme file, the following is mentioned:
We have three kinds of labels:
RBC (Red Blood Cell)
WBC (White Blood Cell)
Platelets (血小板)

I guess you can have a look at other xml files . Not all samples have all three kind of cells.

Since most of the labels would be RBC, pls read the files carefully, or use ctrl+F

@Lynkzhang, Ah, OK, found them. I was checking the files randomly. Sorry for the inconvenience.


Switch to Apache License

Not an issue, but a request to switch this project to APL instead of LGPL, along the same lines as libjitsi
https://github.com/jitsi/libjitsi/blob/master/LICENSE

Done in commit 26296f3cbe13734b75de7f8a42e9b98aef8fceb7.


Elm runtime error

In this PR I'm able to get a runtime error whenever changing the select list

Seems to be EventAuthorFilter.View.view triggering it. @rgrempel I wonder if you have ever came across something like that?
Next step is probably to try and reduce the error to the minimum code needed outside of hedley :/

I checked out the getAsError branch, and I couldn't get it to compile without error unless I made the following change:
diff --git a/src/elm/Event/Decoder.elm b/src/elm/Event/Decoder.elm
index 5507e00..05f062d 100644
--- a/src/elm/Event/Decoder.elm
+++ b/src/elm/Event/Decoder.elm
@@ -30,7 +30,7 @@ decode =
     JD.at ["data"]
       <| JD.list
       <| JD.object4 Event
+        ("user" := author)
         ("id" := number)
         ("label" := JD.string)
         ("location" := marker)
-        ("user" := author)

I wonder if you might have a problem with stale build artifacts -- what happens if you do a rm -r elm-stuff/build-artifacts to clean them out? It's possible that you'll see this error then when you compile, and it's possible that fixing this error fixes the problem.
I did try running the app after this change, but I'm not connecting to the server properly ... I can try to figure that out, if this doesn't fix things.

Thanks for looking at this. Probably indeed a stale build, because I'm seeing this compile error now. I'll try to fix the compile and see if the error persists.

but I'm not connecting to the server properly

Oh, sorry, I switched it back to a non-local install had to do it as I was on flight :)

Seems it was indeed a stale build. Weird, haven't came accross such a case yet - I'll be sure to keep an eye now. Sorry for the noise, and thanks for the help @rgrempel :)

I've seen it happen from time to time -- there's something about the way in which elm-make calculates which files need to be re-compiled that isn't quite perfect. Either that, or sometimes switching branches may confuse the timestamps as between source files and built files. Anyway, if anything really strange happens, I always reach for rm -r elm-stuff/build-artifacts and see if re-compiling everything helps.

:+1:


Add cniVersion to kube-flannel.yml

Description
Seems that k8s 1.16 needs a cniVersion specified in the cni config file. https://github.com/kubernetes/kubernetes/issues/82997
Current kube-flannel.yml does not have it, this PR adds it.
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

https://github.com/coreos/flannel/pull/1174 should be the one which gets merged.


Android compile error

Since updating to RN 0.40 I'm getting this error when compiling for Android (iOS) works as expected, did anyone experience the same problem?
`:react-native-firestack:compileReleaseJavaWithJavac
/Users/admin/Documents/_Apps/react/DiveThru/node_modules/react-native-firestack/android/src/main/java/io/fullstack/firestack/FirestackCloudMessaging.java:127: error: cannot access AbstractSafeParcelable
RemoteMessage remoteMessage = intent.getParcelableExtra("data");
^
class file for com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable not found
/Users/admin/Documents/_Apps/react/DiveThru/node_modules/react-native-firestack/android/src/main/java/io/fullstack/firestack/FirestackMessagingService.java:29: error: no suitable method found for putExtra(String,RemoteMessage)
i.putExtra("data", remoteMessage);
^
method Intent.putExtra(String,boolean) is not applicable
(argument mismatch; RemoteMessage cannot be converted to boolean)
method Intent.putExtra(String,byte) is not applicable
(argument mismatch; RemoteMessage cannot be converted to byte)
method Intent.putExtra(String,char) is not applicable
(argument mismatch; RemoteMessage cannot be converted to char)
method Intent.putExtra(String,short) is not applicable
(argument mismatch; RemoteMessage cannot be converted to short)
method Intent.putExtra(String,int) is not applicable
(argument mismatch; RemoteMessage cannot be converted to int)
method Intent.putExtra(String,long) is not applicable
(argument mismatch; RemoteMessage cannot be converted to long)
method Intent.putExtra(String,float) is not applicable
(argument mismatch; RemoteMessage cannot be converted to float)
method Intent.putExtra(String,double) is not applicable
(argument mismatch; RemoteMessage cannot be converted to double)
method Intent.putExtra(String,String) is not applicable
(argument mismatch; RemoteMessage cannot be converted to String)
method Intent.putExtra(String,CharSequence) is not applicable
(argument mismatch; RemoteMessage cannot be converted to CharSequence)
method Intent.putExtra(String,Parcelable) is not applicable
(argument mismatch; RemoteMessage cannot be converted to Parcelable)
method Intent.putExtra(String,Parcelable[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to Parcelable[])
method Intent.putExtra(String,Serializable) is not applicable
(argument mismatch; RemoteMessage cannot be converted to Serializable)
method Intent.putExtra(String,boolean[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to boolean[])
method Intent.putExtra(String,byte[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to byte[])
method Intent.putExtra(String,short[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to short[])
method Intent.putExtra(String,char[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to char[])
method Intent.putExtra(String,int[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to int[])
method Intent.putExtra(String,long[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to long[])
method Intent.putExtra(String,float[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to float[])
method Intent.putExtra(String,double[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to double[])
method Intent.putExtra(String,String[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to String[])
method Intent.putExtra(String,CharSequence[]) is not applicable
(argument mismatch; RemoteMessage cannot be converted to CharSequence[])
method Intent.putExtra(String,Bundle) is not applicable
(argument mismatch; RemoteMessage cannot be converted to Bundle)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
:react-native-firestack:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.`

I've run into the exact same issue, although I'm running RN 0.38.

I downgraded to 2.3.6 and was still getting this issue. Once I downgraded react-native-firestack to 2.3.5 it started working.
What changed, post version 2.3.5 that would be causing this issue on Android?

I believe that's a firebase update, actually. Try downgrading your firebase dependencies. Does that fix it (for now)?

I've just ran into this with both 2.3.8 on RN 0.40. This is likely related to #182. However the app builds on 3.0.0-rc.2 (AKA @next).
Side note: I've seen some recently closed issues and merged PRs but it's a bit hard to figure out the differences between master/v3 and what's on NPM due to a lack of tags. It would be amazing if we could keep these two in sync. I see @next on NPM but no clue how far is it behind master.

@jfmyers indeed rolling back to 2.3.5 on RN .40 works as expected. haven't touched the firebase dependencies though.

@funkysoul I just pushed a new update. Can you try the latest version? I think I fixed it.

@auser Hi Ari, thanks for the rapid update, with the latest github/master version the compilation runs through but the app immediately quits after launch without any information..

Can you drop me the adb logs?

@funkysoul I'm going to be out until Monday. If you're not familiar with adb, you can get them using this command:
adb logcat | grep $(adb shell ps | grep -i com.firestackapp | cut -c10-15)
(obviously changing the com.firestackapp to the name of your application)

@auser thanks for your reply, I know how to use logcat but didn't knew about the cut command :-) thx for that.
Meanwhile I've figured that the immediate crash was being caused by react-native-maps.. but... the interesting thing is that it only crashes in combination with the latest npm & github version of firestack.  Rolling back firestack to 2.3.5 behaves normally as mentioned before.
After applying this fix: react-native-maps #issue951  everything works as expected no matter which version of firestack is used.
So with firestack 2.3.9 the android error is definitely gone. but I still wonder why rolling back firestack to 2.3.5 influences react-native-maps

`:react-native-firestack:compileReleaseJavaWithJavac
/Users/admin/Documents/_Apps/react/DiveThru/node_modules/react-native-firestack/android/src/main/java/io/fullstack/firestack/FirestackCloudMessaging.java:127: error: cannot access AbstractSafeParcelable
RemoteMessage remoteMessage = intent.getParcelableExtra("data");
^
class file for com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable not found
/Users/admin/Documents/_Apps/react/DiveThru/node_modules/react-native-firestack/android/src/main/java/io/fullstack/firestack/FirestackMessagingService.java:29: error: no suitable method found for putExtra(String,RemoteMessage)
i.putExtra("data", remoteMessage);
I am getting same issue in android. Any body can help me out to resolve this bug

@anantha322 are you using the latest github version?

@funkysoul : thanks, I updated ..it start working

@auser I think we can close this issue, as it's not really related to the module on its own. (though still wondering why this happens) ;-)


Add Bolyai János Műszaki Technikum és Kollégium

@olajos-marton First stage of verification passed, official domain is bolyai-bp.edu.hu as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://bolyai-bp.edu.hu/

@philipto Thank you so much for looking into the request. bolyai-bp.edu.hu is the domain the shool uses for its website, but for emailing, we use the domain bolyai-szakkozep.hu. If we are supposed to receive emails from JetBrains for verification, please kindly approve of domain bolyai-szakkozep.hu. If not, either of them is fine with us.

A better code example:
ItemStack item = item lekérése
ItemMeta meta = item.getItemMeta();
if(meta.hasEnchant(CustomEnch1)) {
   // Logic for customenchantment 1
}

if(meta.hasEnchant(CustomEnchant2)) {
   // Different logic for custom ench2
}

VAGY
private final ArrayList<CustomEnchantEnum> enumValues = CustomEnchantEnum.getValues();
// Valami eventen belül:

for(Map.Entry<Enchantment, Integer> ench : meta.getEnchants()) {

   if(enumValues.contains(ench.getName())) {
      CustomEnchantEnum.valueOf(ench.getName()).doTheThing(event, ench.getLevel());
   }
}

///// Ench util osztályban:

enum CustomEnchantEnum {

CustomEnch1 {
   public void doTheThing(Event e, int level) {
      // Logic here
   }
},
CustomEnch2 {
   public void doTheThing(Event e, int level) {
      // Other logic here
   }
};

public abstract void doTheThing(Event e, int level);
// Note that level might not always be used
}

@olajos-marton Thank you for your patience while waiting for a review and processing your request. Pull request merged.

@philipto Thank you again for your work and the access to the product set. 😊


Fill up resume with my info

Edit blocks:

Contact info
Intro
Skills
Experience
Education

Contact info - https://github.com/ticial/homepage/commit/7e7fc161d9e4083921eef634d32d0d616b0202c6

Intro - https://github.com/ticial/homepage/commit/e5a5886145a7086d8c5080a18c7c4b5f0ea0af90

Skills - https://github.com/ticial/homepage/commit/e07fb39dced0df64ee23fe72d01313676232eff6

Experience - https://github.com/ticial/homepage/commit/4eee55d2ab3f1a3819f3f47559c0fb898504bc06

Education - https://github.com/ticial/homepage/commit/af43e3561763ea964c6b5c84607cc0b466cac5a4


ValueError: No data received from Ollama stream when using Ollama

When I use Ollama via Langchain I get the error:
/paper_searching/env/lib/python3.11/site-packages/langchain/llms/ollama.py:185: RuntimeWarning: coroutine 'AsyncCallbackManagerForLLMRun.on_llm_new_token' was never awaited
  run_manager.on_llm_new_token(
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Traceback (most recent call last):
  File "/paper_searching/issue.py", line 19, in <module>
  File "/paper_searching/env/lib/python3.11/site-packages/paperqa/docs.py", line 584, in query
    return loop.run_until_complete(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/site-packages/paperqa/docs.py", line 621, in aquery
    answer = await self.aget_evidence(
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/site-packages/paperqa/docs.py", line 540, in aget_evidence
    results = await gather_with_concurrency(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/site-packages/paperqa/utils.py", line 87, in gather_with_concurrency
    return await asyncio.gather(*(sem_coro(c) for c in coros))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/site-packages/paperqa/utils.py", line 85, in sem_coro
    return await coro
           ^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/site-packages/paperqa/docs.py", line 508, in process
    raise e
  File "/paper_searching/env/lib/python3.11/site-packages/paperqa/docs.py", line 497, in process
    context = await summary_chain.arun(
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/site-packages/langchain/chains/base.py", line 588, in arun
    await self.acall(
  File "/paper_searching/env/lib/python3.11/site-packages/langchain/chains/base.py", line 381, in acall
    raise e
  File "/paper_searching/env/lib/python3.11/site-packages/langchain/chains/base.py", line 375, in acall
    await self._acall(inputs, run_manager=run_manager)
  File "/paper_searching/env/lib/python3.11/site-packages/langchain/chains/llm.py", line 275, in _acall
    response = await self.agenerate([inputs], run_manager=run_manager)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/site-packages/paperqa/chains.py", line 38, in agenerate
    return await super().agenerate(input_list, run_manager=run_manager)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/site-packages/langchain/chains/llm.py", line 142, in agenerate
    return await self.llm.agenerate_prompt(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/site-packages/langchain_core/language_models/llms.py", line 516, in agenerate_prompt
    return await self.agenerate(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/site-packages/langchain_core/language_models/llms.py", line 825, in agenerate
    output = await self._agenerate_helper(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/site-packages/langchain_core/language_models/llms.py", line 712, in _agenerate_helper
    raise e
  File "/paper_searching/env/lib/python3.11/site-packages/langchain_core/language_models/llms.py", line 699, in _agenerate_helper
    await self._agenerate(
  File "/paper_searching/env/lib/python3.11/site-packages/langchain_core/language_models/llms.py", line 476, in _agenerate
    return await asyncio.get_running_loop().run_in_executor(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/site-packages/langchain/llms/ollama.py", line 241, in _generate
    final_chunk = super()._stream_with_aggregation(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/paper_searching/env/lib/python3.11/site-packages/langchain/llms/ollama.py", line 190, in _stream_with_aggregation
    raise ValueError("No data received from Ollama stream.")
ValueError: No data received from Ollama stream.
/paper_searching/env/lib/python3.11/site-packages/langchain/llms/ollama.py:185: RuntimeWarning: coroutine 'AsyncCallbackManagerForLLMRun.on_llm_new_token' was never awaited
  run_manager.on_llm_new_token(

You can reproduce it using
from paperqa import Docs
from langchain.callbacks.manager import CallbackManager
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
from langchain.llms import Ollama
from langchain.embeddings import OllamaEmbeddings

# have tried a few models
model = "llama2"
llm = Ollama(
    model=model,callback_manager=CallbackManager([StreamingStdOutCallbackHandler()])
)

# Demonstrate Ollama and langchain are working
print(llm("Who was the first US President?"))
embeddings = OllamaEmbeddings(base_url="http://localhost:11434", model=model)
docs = Docs(llm=llm, embeddings=embeddings)

docs.add("I Pencil.pdf")
answer = docs.query("Are pencils made of wood?")

The pdf I'm using here the I Pencil essay, but I've had this behaviour will all the PDFs I've tried.
As the print(llm("Who... works I believe the error is to do with paper-qa and/or its interaction with langchain

I went into the same issue when I have 2 calls to chain.invoke()
The first chain always work. Only the second chain failed.
What I found out is that if I used LLMChain and it would work but the placement of the import statement is important.
If the import is in the beginning of the script  then it would failed the same way.
But the import of LLMChain right before the second chain.invoke and works fine
Here is how it failed.
File "/home/kenneth/learning/venv/lib/python3.10/site-packages/langchain/llms/ollama.py", line 191, in _stream_with_aggregation
raise ValueError("No data received from Ollama stream.")
ValueError: No data received from Ollama stream.
from langchain.llms import Ollama
from langchain.callbacks.manager import CallbackManager
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
from langchain.prompts import PromptTemplate
from langchain.chains import LLMChain
customer_email = """
Arrr, I be fuming that me blender lid
flew off and splattered me kitchen walls
with smoothie! And to make matters worse,
the warranty don't cover the cost of
cleaning up me kitchen. I need yer help
right now, matey!
"""
style = """American English
in a calm and respectful tone
"""
customer_template = """Translate the text
that is delimited by triple backticks
into a style that is {style}.
text: {customer_email}
"""
customer_prompt = PromptTemplate(input_variables=["style", "customer_email"], template=customer_template)
print(f"prompt: {customer_prompt}")
llm = Ollama(model="mistral:instruct")
chain1 = customer_prompt | llm
response = chain1.invoke({"style": style, "customer_email": customer_email})
Service reply
service_reply = """Hey there customer,
the warranty does not cover
cleaning expenses for your kitchen
because it's your fault that
you misused your blender
by forgetting to put the lid on before
starting the blender.
Tough luck! See ya!
"""
service_style_pirate = """
a polite tone
that speaks in Spanish
"""
service_template = """Translate the text
that is delimited by triple backticks
into a style that is {style}.
text: {service_reply}
"""
service_prompt = PromptTemplate(input_variables=["style", "service_reply"], template=service_template)
#chain2 = service_prompt | llm
from langchain.chains import LLMChain
chain2 = LLMChain(llm=llm, prompt=service_prompt, verbose=True)
print(f"222 chain2: {chain2}")
response = chain2.invoke({"style": service_style_pirate, "service_reply": service_reply})
print(f"Service response: >>>{response}<<<")
(venv) kenneth@kpc:~/learning/deeplearning/deeplearning_langchain_llm_course$ python 1_chain.py
prompt: input_variables=['customer_email', 'style'] template='Translate the text that is delimited by triple backticks \ninto a style that is {style}.\ntext: {customer_email}\n'
222 chain2: verbose=True prompt=PromptTemplate(input_variables=['service_reply', 'style'], template='Translate the text that is delimited by triple backticks \ninto a style that is {style}.\ntext: {service_reply}\n') llm=Ollama(model='mistral:instruct')

Entering new LLMChain chain...
Prompt after formatting:
Translate the text that is delimited by triple backticks
into a style that is a polite tone that speaks in Spanish.
text: ```Hey there customer, the warranty does not cover cleaning expenses for your kitchen because it's your fault that you misused your blender by forgetting to put the lid on before starting the blender. Tough luck! See ya!

> Finished chain.
Service response: >>>{'style': 'a polite tone that speaks in Spanish', 'service_reply': "Hey there customer, the warranty does not cover cleaning expenses for your kitchen because it's your fault that you misused your blender by forgetting to put the lid on before starting the blender. Tough luck! See ya!\n", 'text': ' Hola cliente, la garantía no cubre los costos de limpieza de tu cocina porque es tu culpa que has maltratado tu licuadora al olvidar poner la tapa antes de empezar a usarla. Lo siento mucho! ¡Hasta luego!'}<<<
(venv) kenneth@kpc:~/learning/deeplearning/deeplearning_langchain_llm_course$

Hello everyone, we have just released version 5, which completely outsources all LLM management to https://github.com/BerriAI/litellm and drops LangChain.
If your issue persists, please reopen a new issue using paper-qa>=5


[DEV] [Onyx] Warning: Trying to apply "set" with array type to non-array type in the key "bankAccountList"

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: Dev only
Reproducible in production?: Dev only
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @getusha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1729614488144509
Action Performed:

Open app
Account settings
Wallet

Expected Result:
No console error shows
Actual Result:
Console warning Trying to apply "set" with array type to non-array type in the key "bankAccountList"
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
![Screenshot 2024-10-22 at 7 27 19 in the evening](https://github.com/user-attachments/assets/d3777f8f-82ef-4b46-a234-a2d77907eb46)

View all open jobs on GitHub

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

It seems like there is a BE issue. The OpenPaymentsPage endpoint returns an empty array [] for bankAccountList when it is empty, but we expect it to return an empty object. It should return an empty object, just like it does for fundList.

kicking the can on this one


Support download of installer using CA_CERT_BUNDLE

The installer script download within the dcos-vagrant Vagrantfile does not allow setting any CA certificate options. This prevents the Vagrantfile working behind an SSL-intercepting proxy.
This PR sets the ca_cert option from the CURL_CA_BUNDLE environment variable if it is set. This should support most scenarios where the default CA list is not correct.
This fixes the issue described in DCOS_VAGRANT-59, except that it does not support setting the insecure option. The insecure option is a simpler but less secure solution to untrusted CA certificates. Use of --insecure can usually be handled better using --ca_cert.
As an alternative, we could also use the SSL_CERT_FILE environment variable used by Ruby net/http, but Vagrant uses cURL for downloads, so CURL_CA_BUNDLE seems like the appropriate variable to follow.

Would you add a line to the configuration options section, please?
https://github.com/dcos/dcos-vagrant/blob/master/docs/configure.md

I added the line to the proxy section, since this is the most likely reason to need to use the CURL_CA_BUNDLE variable. Hope this is OK.
I also removed the line about https -> http as it is quite common to connect HTTPS connections through a HTTP proxy. The connection is insecure within the local network, but will create a secure tunnel from the proxy to the HTTPS endpoint.
And a minor spelling correction as well.

I was thinking more specifically it should be in the master list of env vars (or maybe both places?): https://github.com/dcos/dcos-vagrant/blob/master/docs/configure.md#environment-options

Done. I'd like to keep the other text to demonstrate when to use it.

thanks!


When i try to load in my character the game crashes

Describe your bug here.
i made a quick sprite sheet to test it out and when i put the sprite sheet where it needs to be when i try to load it in game it only crashes
Command Prompt/Terminal logs (if existing)
flixel/graphics/frames/FlxAtlasFrames.hx (line 246)
states/editors/CharacterEditorState.hx (line 824)
states/editors/CharacterEditorState.hx (line 504)
flixel/ui/FlxButton.hx (line 521)
flixel/ui/FlxButton.hx (line 507)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)

Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

> Crash Handler written by: sqirra-rng

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
nope

HELPPPPP HELPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP

Did You Make an xml file for the spritesheet, or the json?
if not, then, make an xml file for the sprite sheet, you can use gamebananas spritesheet and xml file generator. If your mod/build is compiled, go to mods, select your mod(For eg: MyMod, or whatever you named it) go to images, then characters, and place the spritesheet and xml file into the folder. Then, open up your game, and click on 7 in the menu screen and go to character editor, then you will see a stage with these boxes/options:

If your character only has idle, up, down, let, and right animations, don't use bf, change the character by going to this option and changing the character to mom, as she has simpler animations:

Then, go to this option:

Instead of saying BF, it will say Mom_assets or mom_assets, replace that text with the name of your characters spritesheet and xml file(The 2 files should be the same name). Adjust all your animations and click on the Save JSON file and name the file the same as your character(Also the same as your spritesheet and xml file name).
Place the JSON in assets/characters. Close and open psych engine, ad everything should be good.

where can i find that generator


User or org collective type setting Menus can be accessed for noramal collective two

Describe the bug
There is a check for the following  menu to be only active when it is ORG type :
https://github.com/opencollective/opencollective-frontend/blob/5755ebac671bab4174ebfc2b8cf3565dd8ab1db6/components/edit-collective/MenuEditCollective.js#L141
But if you add gift-card in front of a collective url/edit , it will give render the component, I am not sure whether we could add the card, because I am sure internally we would be checking again even though the menu is rendered, And it will throw an error
To Reproduce

Go to collective
Click on edit
append /gift-card to the link
See the option of adding a gift card for collective

Expected behavior
IG it should not happen , Not sure :) , even though if it happens the functionality won't work I think so
Screenshots
Check the link in search bar

Desktop (please complete the following information):

OS: Mac
Browser: Chrome
Version : irrelevant

Additional context
Not sure if this is a bug, please close it if it isn't, This was while testing for the comment :- https://github.com/opencollective/opencollective-frontend/pull/3794#issuecomment-606025281

This is true for all the settings pages. By using the helpers from components/edit-collective/MenuEditCollective.js we could show a message instead of the forms in components/edit-collective/EditCollectiveForm.js if the collective doesn't have access to this settings page:

This feature is not available for this collective.


How to update version to 1.14 from 1.11.0+dev

Environment

CentOS 8
1.11.0+dev-252-g21ae9838e built with GNU Make 4.1, go1.13.4
mariadb 10.4.12

ISSUE

Is there any way to update gitea to a newer version(like 1.14)?

Don't update to 1.14.0 - update to 1.14.5 (or whatever is the latest released sub-version at the time.) Always go to the latest minor version.
Read the breaking changes for 1.12, 1.13 and 1.14 - the most likely breaking change to affect you would be that you will need to ensure that [repository] ROOT is set in your app.ini.
Backup your db.
Replace the binary and restart Gitea.

Don't update to 1.14.0 - update to 1.14.5 (or whatever is the latest released sub-version at the time.) Always go to the latest minor version.
Read the breaking changes for 1.12, 1.13 and 1.14 - the most likely breaking change to affect you would be that you will need to ensure that [repository] ROOT is set in your app.ini.
Backup your db.
Replace the binary and restart Gitea.

Thanks a lot!


Changes are not saving

Hi,
I haven't had time to fully investigate this yet, but from the little I have done it appears as though the option to save changes is not functioning on my laptop.
Machine:
PC Specialist product: Recoil III
TongFang model: GK7CP7S
UEFI BIOS: American Megatrends v: N.1.03

Keyboard model:
Keyboard:
  /dev/input/event21   MosArt 2.4G Keyboard Mouse
                       Integrated Technology Express ITE Device(8291)
  /dev/input/event5    AT Translated Set 2 keyboard

My BIOS settings have options for other styles to start in, but I've tried to set this to "disabled", and it defaults back to the wave style, which is what ends up sticking after a reboot. I've tried setting -V, -H and various named styles, none of which persist after a reboot. It is entirely possible that my BIOS is the issue here.
I don't know if anyone else is experiencing a similar issue. When I do get time I'll attempt to do some more digging.

For a while this only Works with colors defined using -c,
Example:
aucc -c red -b 4

What is your ITE revision?

  Device: usb 0xce00 "ITE Device(8291)"
  Revision: "0.03"

For a while this only Works with colors defined using -c,
Example:
aucc -c red -b 4

I've also tried this, but it automatically resets to wave after reboot.

Same problem on ubuntu 19.10
I just installed rc.local script to execute on startup:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

aucc -c teal

exit 0

It's pretty useful to put this script also to execute before and after sleep

@michael-schaefer-eu
I've used the same approach, just odd that it saves for some and not others. Still investigating why this is the case.

@astiak  ¯_(ツ)_/¯