text:
[Bug]: The old family Provider and ProviderRevision left when manually installed

Is there an existing issue for this?

[X] I have searched the existing issues

Affected Resource(s)
No resources affected
Resource MRs required to reproduce the bug
No resources needed
Steps to Reproduce
To reproduce the problem:

Install the providers WITHOUT family provider
Once the automatic family provider appears, try to install the family provider manually
Find a way to make the automatic family Provider and ProviderRevision manifests disappear

What happened?
I expect the automatically installed version will disappear when the family provider is installed manually.
Of course, everything works on a clean cluster.
I am looking for a way to switch from automatic to manual family provider without reinstalling Crossplane in a cluster where there are already MRs used in production.
This is a follow-up bug concerning #1088
More details in the Slack discussion: https://crossplane.slack.com/archives/C05E0UE46S2/p1722852504359609
Relevant Error Output Snippet
kubectl get providers.pkg.crossplane.io
NAME                          INSTALLED   HEALTHY   PACKAGE                                                          AGE
provider-aws-cloudwatchlogs   True        True      xpkg.upbound.io/upbound/provider-aws-cloudwatchlogs:v1.6.0       283d
provider-aws-dynamodb         True        True      xpkg.upbound.io/upbound/provider-aws-dynamodb:v1.6.0             109d
provider-aws-ec2              True        True      xpkg.upbound.io/upbound/provider-aws-ec2:v1.6.0                  389d
provider-aws-elasticache      True        True      xpkg.upbound.io/upbound/provider-aws-elasticache:v1.6.0          389d
provider-aws-iam              True        True      xpkg.upbound.io/upbound/provider-aws-iam:v1.6.0                  389d
provider-aws-mq               True        True      xpkg.upbound.io/upbound/provider-aws-mq:v1.6.0                   389d
provider-aws-rds              True        True      xpkg.upbound.io/upbound/provider-aws-rds:v1.6.0                  389d
provider-aws-s3               True        True      xpkg.upbound.io/upbound/provider-aws-s3:v1.6.0                   389d
provider-family-aws           True        True      xpkg.upbound.io/upbound/provider-family-aws:v1.6.0               5d1h
provider-kubernetes           True        True      xpkg.upbound.io/crossplane-contrib/provider-kubernetes:v0.14.0   301d
provider-sql                  True        True      xpkg.upbound.io/crossplane-contrib/provider-sql:v0.9.0           287d
provider-terraform            True        True      xpkg.upbound.io/upbound/provider-terraform:v0.16.0               389d
upbound-provider-family-aws   True        False     xpkg.upbound.io/upbound/provider-family-aws:v1.10.0              3d20h

### Crossplane Version

v1.16.0-up.1

### Provider Version

1.6.0

### Kubernetes Version

v1.27.15

### Kubernetes Distribution

EKS

### Additional Info

This is a follow-up bug concerning #1088

Same problem here.
Tried @haarchri suggestion but the manual provider doesn't come to a HEALTY: True state because it says that the automatic one still exists.
status:
  conditions:
    - lastTransitionTime: '2024-08-09T12:18:03Z'
      message: >-
        cannot resolve package dependencies: cannot initialize dependency graph
        from the packages in the lock: node
        xpkg.upbound.io/upbound/provider-family-aws already exists
      reason: UnknownPackageRevisionHealth
      status: Unknown
      type: Healthy

I need to manually install the provider-family-aws because I realized that I'm running it on version v0.38.0, while the other providers (S3, Route53, etc.) are on version v1.0.0. Honestly, I don't know what happened, but it seems that even if I update the version of the Upbound AWS Providers image, provider-family-aws still remains on the old version and continues to install automatically with that version.

Can you remove you Lock Lock resource remove the finalizer

You're the man. It worked!
So, the steps are the same as https://github.com/crossplane-contrib/provider-upjet-aws/issues/1452#issuecomment-2275922781 but you need to remove the Lock resource after you install the manual-provider-family-aws.
Thanks for your help.

You're the man. It worked!
So, the steps are the same as https://github.com/crossplane-contrib/provider-upjet-aws/issues/1452#issuecomment-2275922781 but you need to remove the Lock resource after you install the manual-provider-family-aws.
Thanks for your help.

The complication here originated from deploying the same provider package twice (one already existing as a dependency and another installed manually). In the PR description, both provider-family-aws and upbound-provider-family-aws try to deploy xpkg.upbound.io/upbound/provider-family-aws under the hood and conflict with each other.
Ideally, if you have the family provider already deployed as a dependency and you want to change something, e.g. configure a DeploymentRuntimeConfig, the path to go should be editing/patching the already existing provider instead of deploying a separate Provider object with a different name. In the scenario here, the provider named upbound-provider-family-aws could be modified with spec.runtimeConfigRef in the first place.

Thanks for your explanation, in fact, another reason why I want to manually install the provider-family-aws is that when it's installed via a Provider dependency (e.g., the S3 provider), it doesn't respect the configured DeploymentRuntimeConfig and instead applies the default one. I need to use my RuntimeConfig because I've set tolerations and other deployment settings there.
I think this comment talk about the same problem: https://github.com/crossplane-contrib/provider-upjet-aws/issues/1088#issuecomment-2211198483

@haarchri, thank you a lot.
I managed to clean the clusters but not with little difficulty because the suggestion was not 100% working.
The complete list of operations needed were:

set the revisionActivationPolicy to Manual in both installed Family Providers
remove the finalizer inside the lock file
delete the Lock (if not already gone after removing the finalizer)
delete the old Provider and ProviderRevision

Often, this was enough. Sometimes, I had to do it twice to clean the cluster.
@turkenh, this is not a complication but a plausible scenario.
If anyone initially installs the AWS Family provider but then realizes, for whatever reason, the need to assign a DeploymentRuntimeConfig to the automatically created provider and finish precisely in this situation.
Manually editing the provider is not a plausible solution in a fully GitOps approach, so a more integrated solution makes profound sense.
Furthermore, users should be able to choose their provider's name without impositions or hard-coded names.
This bug is far from being solved because what we have is just a workaround, not a fix for the problem.

/fresh

authors: dario-fernandez-osanasalud darioef haarchri pierluigilenoci turkenh


text:
[Android] Back port commits for dropped IndexedDB  to Crosswalk 11

Because of multiple profile support, from crosswalk 9 IndexedDB
will be put under profile's subfolder.
Issue is reported from https://github.com/MobileChromeApps/mobile-chrome-apps/issues/554.
BUG=XWALK-4047
(cherry picked from commit 36231eaa85f54622210f9999819cb68994d64432)

Crosswalk 11 is unmaintained.

source: gharchive/pull-request

authors: fujunwei rakuco

repo: crosswalk-project/crosswalk

license_type: permissive

license_source: bigquery


text:
Move to Chromium 43.0.2357.65, first stable M43

release. It contains some security fixes.
http://googlechromereleases.blogspot.com/2015/05/stable-channel-update_19.html
Thanks for rakuco for guiding through this

lgtm, let's wait for the bots before merging

authors: Bysmyyr rakuco


text:
Support SLES12 SP2, but not require it for Cloud repository

Based on https://github.com/crowbar/crowbar/pull/2227
I know that last commit is ugly, but do we need more elegant solution?

Hm, but we would need to comment all checks for SP2 repos...

Hm, but we would need to comment all checks for SP2 repos...

I was going to point this out :-) Just disable the checks for now in general, I guess.

My plan was to use SP2 as default for the admin node and just check the SP2 repo.

Yes, that might be done later. Current requirement is to enable SP2 nodes to be installed, but not having it a default. That's why @bmwiedemann added an option for that https://github.com/SUSE-Cloud/automation/pull/1008

+1

Same is done in https://github.com/crowbar/crowbar/pull/2227, except disabling repo checks for SP2.

@rsalevsky indeed, and it is mentioned above (I'm cherry-picking your commit). But those other 2 commits are needed as well.

+1

authors: jsuchome rsalevsky vuntz

repo: crowbar/crowbar


text:
Check data source exists before trying to read it

NPE Doesn't impact functionality but shows an error in the console.
Go task design, don't upload csv and click on autocomplete data source box.
TypeError: Cannot read property 'column_headers' of undefined
at ProjectController.self.querySearch (http://localhost:8000/static/js/project/controllers/project.controller.js:39:71)
at fn (eval at  (http://localhost:8000/static/bower_components/angular/angular.js:13036:15), :4:385)
at Scope.$get.Scope.$eval (http://localhost:8000/static/bower_components/angular/angular.js:15719:28)
at W (http://localhost:8000/static/bower_components/angular-material/angular-material.min.js:11:8242)
at Q (http://localhost:8000/static/bower_components/angular-material/angular-material.min.js:11:9004)
at http://localhost:8000/static/bower_components/angular-material/angular-material.min.js:11:6360
at processQueue (http://localhost:8000/static/bower_components/angular/angular.js:14454:28)
at http://localhost:8000/static/bower_components/angular/angular.js:14470:27
at Scope.$get.Scope.$eval (http://localhost:8000/static/bower_components/angular/angular.js:15719:28)
at Scope.$get.Scope.$digest (http://localhost:8000/static/bower_components/angular/angular.js:15530:31)

Resolved in https://github.com/crowdresearch/crowdsource-platform/pull/478

source: gharchive/issue

authors: nistala shirishgoyal

repo: crowdresearch/crowdsource-platform

license: mit


text:
New Task emails to focus on the TASK

Mails on new task -

Currently every mail on new task  has

Hi,
Daemo is starting out as a small marketplace, so instead of asking workers to track the task feed all the time, we notify you when new work is available. The following task is now accessible to you. The higher ratings you get from requesters, the earlier you get access to these tasks.

Can we change the email layout so it focus on the New task more.
Proposing following -

fixed

authors: dmorina iceLearn


text:
Add @babel/runtime as prod dependency

We use @babel/transform-runtime in the rollup config to reduce the codesize. As specified in the doc here, we need to add @babel/runtime as prod dependency.
Test:
CodeSandBox only works if this dependency is present. https://codesandbox.io/s/j322yv070v
Will publish a new package version to test once the PR is merged.

How much code size did we save by using the runtime? Maybe it's easier to just remove that transform?

Right now it saves 1kb for cjs and esm build. Thought would be good to keep it as it not only reduces the code size, but also avoid polluting global scope (v.s. using polyfill). The general recommendation is:

If you're building an app, you can use babel-polyfill. If you're building a library, make sure not to use babel-polyfill, and only the transform-runtime.

https://codersmind.com/babel-polyfill-babel-runtime-explained/

repo: cruise-automation/webviz

license_source: github-api


text:
[CVE-2023-26302] markdown-it-py Denial of Service vulnerability in the command line interface

Overview
CVE-2023-26302
CVSS
Base: 3.5 Low CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Description
The fix is to update markdown-it-py to 2.2.0.

This should be good now.

repo: crushten/docker-molecule

license: MIT


text:
carcontroller.py, update_canfd 에서  CC.hudControl 누락

https://github.com/crwusiz/openpilot/blob/b6969d12885fc3871bce7e7a7c7df4997b605e3c/selfdrive/car/hyundai/carcontroller.py#L238
hud_control = CC.hudControl
누락된 것으로 보입니다.

추가했습니다

authors: KongYoulBaek crwusiz

repo: crwusiz/openpilot


text:
feat: add user metadata

add metadata to user license payload

@muneebkq To fix the windows build error, update the version of LexActivator to 3.30.0 in download.sh. It should fix the issue.

authors: ahmad-kemsan muneebkq

repo: cryptlex/lexactivator-rust


text:
Hotfix for Screenshots update for Crypto.org chain Ledger app

added s2-5.jpg

/staging

repo: crypto-org-chain/chain-docs


text:
AR inbound#103

#103

No typo, those are telling the user to go to the /actions page.
This looks good after we revert those changes.

No typo, those are telling the user to go to the /actions page.
This looks good after we revert those changes.

https://github.com/cryptosharks131/lndg/pull/104/commits/ee94f33a80d62baf834036f02d0fe77943d48d31


text:
Allow annotations on method/macro parameters

Feature Request

Is your feature request related to a problem? Please describe clearly and concisely what is it.

Annotations are a great way to, well annotate, portions of code with extra information that can be used at compile time via macros to influence code generation. However there currently isn't a great way to add this extra info to method/macro parameters, requiring them to be added to the method/macro itself and accessed that way.
Relates to #9802, #9322, #8148, and #11483.

Describe the feature you would like, optionally illustrated by examples, and how it will solve the above problem.

Proposal
The majority of languages that have annotations/attributes (that i've looked at at least) have the ability to annotate method parameters. Bringing this feature into Crystal seems like it would make sense, and would help fill a gap in the current annotation system. I propose it should be possible to:
annotation SomeAnn; end
annotation OtherAnn; end

def foo(@[SomeAnn] id : Int32)
end

def foo(@[SomeAnn(10)] id : Int32)
end

def foo(@[SomeAnn] @[OtherAnn] id : Int32)
end

# ...

Then add the standard .annotation and .annotations methods to Crystal::Macros::Arg.
Use Case
The main use case I have for this is for a refactor of how Athena handles param converters. For example instead of:
@[ARTA::Get(path: "/multiply/{num}")]
@[ATHA::ParamConverter("num", converter: MultiplyConverter)]
def multiply(num : Int32) : Int32
  num
end

You would be able to do:
@[ARTA::Get(path: "/multiply/{num}")]
def multiply(@[Multiply] num : Int32) : Int32
  num
end

Similarly, you could provide the multiplier directly:
@[ARTA::Get(path: "/multiply/{num}")]
def multiply(@[Multiply(by: 2)] num : Int32) : Int32
  num
end

Ultimately this makes this more focused and clear since you are able to directly annotate the method parameter instead of needing to also provide the name of the parameter in the method annotation in order to match it up.
Considerations
Readability
Readability is probably the biggest concern as it's pretty easy for things to get quite busy when you have more than one parameter with some having one or more annotation applied to them.
def foo(@[Thing] @[Thing2] one : String, two, @[OtherThing] three)
end

Tho, it doesn't effect things that much.
def foo(
  @[Thing] @[Thing2] one,
  two,
  @[OtherThing] three
)
end

Breaking the arguments across multiple lines can help with that.
#11483 would also especially help for this context:
def foo(@[Thing, Thing2] one : String, two, @[OtherThing] three)
end

Representation
Given the annotations in this context could be used to contain data that is to be consumed at runtime, this brings up another good example of how #9802 would be beneficial. I.e. a better/more generic way to expose the annotation data at runtime, without resorting to hacks like we currently have to do.
For example, in the previous use case it would be great to just have a like Array(Annotation), that you could just create without having to know the related annotations ahead of time. E.g. #9322.
Targeting
#8148 would also be a bit more helpful as this would introduce a third context where you could use annotations.

Describe considered alternative solutions, and the reasons why you have not proposed them as a solution here.

N/A

Does it break backward compatibility, if yes then what's the migration path?

It shouldn't no, given it's currently invalid syntax.

@yxhuvud Sure, a common use case of this feature could be to inject a DB entity directly into the controller action based on the ID in the URL. I.e. something like:
@[ARTA::Get(path: "/article/{id}")]
def get_article(@[Entity] article : Article) : Article
  article
end

Really you could prob do this without the annotation, but having it there can be helpful to make it explicit where the arg's value should come from, or to customize how it's resolved. E.g. maybe you want to custom something about how it's resolved.
Also ofc this isn't the only use case for being able to annotate parameters. I'm sure there are others, but this is just the first that came to mind.

This doesn't really make it clear what the actual upside of adding this is. How is this better than calling regular methods in the method body? To me, this just looks like adding magic for no obvious upside. There are clear downsides though, like having extra syntax to learn and making it less clear how failure modes are handled. Or in other words, I really don't see how this is better for anyone than
 @[ARTA::Get(path: "/article/{id}")]
def get_article(id : Int32) : Article
  Article.find(id)
end

@[ARTA::Post("/article")]
def post_article(body : RequestBody) : Article
  Article.create(body)
end

To be clear I'm deff not suggesting it be a stdlib feature to be able to def foo(@[Entity] article : Article) and have Crystal somehow know what to do with it. This issue is solely specific to being able to annotate method parameters. The examples I've shown would be something i specifically implement within the framework using this feature. However, being able to annotate parameters is just a language feature that unlocks additional use cases like this. I'm sure there are other use cases that will come up if this is something that is an option.

Or in other words, I really don't see how this is better for anyone than

Tho, to answer your question the main benefit from the framework's POV is that you are able to share complex logic and remove the need to have the same boilerplate in every controller action. I.e. just throw this annotation on the param and you're done. No need to think about how to handle deserializing the data, how to handle malformed data, how to handle validation, etc.

In C++17, one can annotate function parameters with the [[maybe_unused]] attribute in the standard library to suppress relevant implementation-specific warnings:
// g++ -Wall -Wextra -std=c++17

// warning: unused parameter 'x' [-Wunused-parameter]
void foo(int x) { }

// okay, no warnings emitted
void bar([[maybe_unused]] int x) { }

In Crystal's context, these warnings could come from the compiler itself or a linter library like Ameba. Ameba considers parameters with a leading underscore as potentially unused, but changing the name of a parameter can break named argument passing:
# configure with:
#
#     Lint/UnusedArgument:
#       Enabled: true
#       IgnoreDefs: false

# [W] Lint/UnusedArgument: Unused argument `x`. If it's necessary, use `_x` as an argument name to indicate that it won't be used.
def foo(*, x); end
foo(x: 1)

def foo(*, _x); end
foo(x: 1) # Error: missing argument: _x

We could instead tell Ameba to ignore unused parameters annotated with a specific annotation:
annotation MaybeUnused; end
def foo(*, @[MaybeUnused] x); end # okay, no warnings emitted

Microsoft's C headers are (in)famous for using SAL Annotations everywhere (C doesn't have attributes until C23). I believe they live entirely in the preprocessor and expand to nothing.
That said, I strongly discourage encoding runtime behaviour using parameter annotations, as a matter of style. Most of the time the same can be achieved by putting the code at the top of the def body.

This doesn't really make it clear what the actual upside of adding this is. How is this better than calling regular methods in the method body? To me, this just looks like adding magic for no obvious upside. There are clear downsides though, like having extra syntax to learn and making it less clear how failure modes are handled. Or in other words, I really don't see how this is better for anyone than
 @[ARTA::Get(path: "/article/{id}")]
def get_article(id : Int32) : Article
  Article.find(id)
end

@[ARTA::Post("/article")]
def post_article(body : RequestBody) : Article
  Article.create(body)
end

Agree, if same feature can be solved use method annotation, add this may not advisable.

this is less common
more memory consume, more slow complation speed? don't sure about it.
maybe the most import reason, following code is ugly after add arg annoteation anyway.
should we report those annotation when print error?

def post_article(@[RequestBody(groups: "create")] article : Article) : Article
  article
end

FWIW I want to again point out that that the only thing this issue does is allow annotations on method parameters. The Athena examples I've shown are 100% custom code that makes use of this feature in a way I want. If you're using any other framework, then yes, just include this code in the method body/block as there is no magical compiler feature now that inserts code into the method just because you annotate a parameter.
Ugly is subjective, but yes there are a few ways to format this, depending on the context:
def post_article(
  @[RequestBody(groups: "create")]
  article : Article
) : Article
  article
end

at the end of the day, IMO, this more accurately represents the intent as compared to like:
@[RequestBody("article", groups: "create")]
def post_article(article : Article) : Article
  article
end

given the data is actually relates to the parameter it represents instead of arbitrarily to the method; needing to duplicate the name of the parameter again just so you can map it properly.
I'm happy to chat thru how Athena is using this feature exactly, but please let's not :-1: the feature just because of how I'm using it. As again it does nothing on its own other than allowing the syntax and exposing the annotations.

given the data actually relates to the parameter it represents instead of arbitrarily to the method; needing to duplicate the name of the parameter again just so you can map it properly.

Yes, this exactly what i said before, the annotate, let us explain this word, AFAIW, it should outside the object it annotate to.
it just a supplement, hope you know what i means, annotate should never be add into the subject self.
Anyway, you can ignore my thought, because i never use any programming language which use annotate, crystal is the first one,
if not acount for YARD, i just thought it from the dictionary word means, and personal pretty.
I heard python and php support annoate, does those language support usage like this?

I think it's also worth pointing out annotating a method parameter does not affect the actual passed object in anyway (unless you explicitly add code to do so). Annotations are only available at compile time via macros, so their purpose is primarily used to represent metadata about some specific feature that can be used in the code generation process.

I heard python and php support annoate, does those language support usage like this?

Yes, which is where my use case comes from for the most part. Ref https://github.com/symfony/symfony/pull/37829, which when implemented allows doing stuff like:
class MyController
{
    public function indexAction(#[CurentUser] MyUser $user)
    {
    }
}

Which essentially allows the logic that determines the arguments that should be passed to the function to access the annotation/data within it to influence how (or if) that value is resolved. A simpler example is using Time:
class ExampleController
 @[ARTA::Get(path: "/event/{start_time}")]
 def event(start_time : Time) : String
   start_time.to_s
 end
end

Athena sees the method param typed as Time and the supported resolver will attempt to resolve the start_time path param into a Time instance, assuming it's RFC 3339 formatted. If you want to support a diff format you can do:
class ExampleController
 @[ARTA::Get(path: "/event/{start_time}")]
 def event(@[ATHR::Time::Format("%F")] start_time : Time) : String
   start_time.to_s
 end
end

and that'll allow the resolver to be aware of the custom format.
I guess technically i'm using it to generate code that exposes the data at runtime, but i also think it works well for the desired API i want. I.e. centralized way of doing the conversion, less boilerplate for the user as its all keyed off the type of the parameter, and provides a lot of flexibility for more complex resolution logic in a way that's easy to test, document, and is able to store state if needed.

Okay, anyway, from my point, the annotate, should be write in a separate line, don't know if i describe my this intention clear before, i means add annotate before arguments looks like strange.
As said by @matz, the author of CRuby,  add feature is easy, it hard to remove it in the future, hope this changes not be abuse in the future, especially, at runtime, and finally, cause the compiler hard to optimize something in the future(just guess), or have to do many others workaround for work with this.
i prefer add the feature which most of language happy to add it but we are still missed, we have so many others language standard feature not available for now, check my post there, we don't need add new complexity only because we can do same annotate write less code.
I am okay to add this anyway, only give some advise, please do research to ensure this hack not take effect on others more import things, in the future.

@zw963 annotations exist in Java, C# and Go, extremely popular languages

I think it's important to point out that allowing annotations on method parameters is not really introducing a new concept. It just extends the already existing annotation feature to allow annotating a new kind of receiver. As such, the change to language semantics is really minimal. I wouldn't expect any significant negative impact in any kind. Worst case scenario is that this feature gets barely used outside of Athena Framework. But it enables other libraries and tools to make use of it as well and develop cool features based on parameter annotations.

authors: Blacksmoke16 HertzDevil asterite straight-shoota yxhuvud zw963

repo: crystal-lang/crystal


text:
Double negative sign when rounding to negative 0.0

puts -0.01.format(decimal_places: 1) # => --0.0

A good question is if the output should be 0.0 or -0.0.

-0.0 doesn't have much sense IMO, as zero is neither positive nor negative.

-0.0 doesn't have much sense IMO, as zero is neither positive nor negative.

IEEE 754 requires signed 0. It's a fair question whether Crystal exposes that to the user, but it "makes sense." Java exposes it, for example

Same as Ruby, BTW

This is actually not a bug in Number#format.
The underlying problem is that -0.0.abs == -0.0 because this implementation assumes that 0 is unsigned:
https://github.com/crystal-lang/crystal/blob/3c4969ff002b6417cfda5599a25106e893b3ee0e/src/number.cr#L154-L156
We should fix this to use the actual sign and return a positive value for Float#abs.

authors: Sija beta-ziliani mattrberry straight-shoota


text:
Question on nested arrays iterations

I'm new to Crystal, and am not a Rubyist either, so forgive me if the question is trivial.
Lets consider two nested arrays initialized as:
m1 = m2 = Array.new(10) { Array.new(10, 0.0) }

I would like to change their elements, for instance as follows:

Assign each m1 "row" subarray element equal to j**2, where j is the subarray index. I tried with m1.each { |row| row.fill { |j| j**2 } } but it does not work.
Assign each m1 element equal to i*j, where i and j are respectively the "row" (external array) and the "column" (internal array) indexes.
Assign each m2 element equal to the corresponding m1 element squared.
Assign each m2 element equal to the sum of the corresponding m1 and m2 elements.

Can you please provide some examples or references?
Thanks

This is the issue tracker for Crystal. Please ask language questions on stackoverflow, using the #crystal-lang tag. Thanks!

I tried with m1.each { |row| row.fill { |j| j**2 } } but it does not work

Did you read the error message? I'm pretty sure it says the block expects a Float64 but the block's type is Int32...
As for the other points, you should provide some code you tried. But, yeah, this is not a forum, this is for tracking bugs and suggestions.

Sorry I wrote here because I did not understand the error message and I actually thought that what I wrote at point 1 was an issue...
I add below the solutions to my questions, hopefully they can be useful for some other Crystal beginner.

Assign each m1 "row" subarray element equal to j**2, where j is the subarray index:

m1.each { |row| row.fill { |j| j.to_f / s } }

Assign each m1 element equal to i*j, where i and j are respectively the "row" (external array) and the "column" (internal array) indexes:

m1.each_with_index { |row, i| row.fill { |j| i.to_f * j } }

Assign each m2 element equal to the corresponding m1 element squared:

m1.zip(m2).each { |m1_row, m2_row| m2_row.fill { |j| m1_row[j] ** 2 } }

Assign each m2 element equal to the sum of the corresponding m1 and m2 elements:

m1.zip(m2).each { |m1_row, m2_row| m2_row.fill { |j| m1_row[j] + m2_row[j] } }

Point 4 above works when compiled with crystal build, but triggers an error in crystal play... maybe I actually found a bug :) please try it yourself with the following code:
m1 = m2 = Array.new(3) { Array.new(3, 0.0) }
m1.zip(m2).each { |m1_row, m2_row| m2_row.fill { |j| m1_row[j] + m2_row[j] } }

Question addressed, playground bug reduced and reported in a separate issue.
Thanks!

authors: asterite bcardiff lucatrv ysbaddaden


text:
Installation/update of 0.27.2 fails on CentOS7

Installing .27.0 from a local .rpm works. Fresh install or upgrade of .27.1 and .27.2 fails with the following:
...
Marking ./crystal-0.27.2-1.x86_64.rpm to be installed
Resolving Dependencies
Dependencies Resolved
Installing:
crystal       x86_64       0.27.2-1       /crystal-0.27.2-1.x86_64       175 M
...
Transaction Summary
...
Running transaction
Installing : crystal-0.27.2-1.x86_64                                      1/1
error: unpacking of archive failed on file /usr/share/crystal/src/lib_c/amd64-unknown-openbsd: cpio: rename
...
Failed:
crystal.x86_64 0:0.27.2-1
Platform:
CentOS Linux release 7.6.1810 (core)
LLVM 4.0.0

I also encountered this issue. The reason why upgrade fails is that uninstalling crystal-0.27.* rpm doesn't clean up a lot of directories in /usr/share/crystal/src.
A temporary workaround is to manually remove /usr/share/crystal/src dir after uninstalling crystal.

Thanks @forksaber .

The issue is marked closed but the issue still occurs with 0.28.0-1 so I think it should be reopened. I don't see the .spec file in the repository so I can't provide a patch but, as with any RPM, any files installed by the RPM should be removed when it is removed.

Tracked in https://github.com/crystal-lang/distribution-scripts/issues/34 if someone can double check if the options mentioned there solves the issue it would be great.

authors: bcardiff cvoltz forksaber lebogan


text:
Missing !dbg locations in generated LLVM IR

This allows to compile the Crystal compiler itself using Crystal 0.20.4 with the default debug configuration (always generate line numbers) against LLVM 3.9, which requires a !dbg location to be defined for every inlinable calls (among other cases).
I separated each commit, so each correction can be reviewed more easily.
fixes #3890

I can also build/run the compiler and std specs with those fixes.

@ysbaddaden the build seems to be failing. I think that after that's fixed we are good to merge this PR.

I restarted the build. I was unable to repro the failures even with jhass docker image used in ci.
Note: jhass docker images use LLVM 3.8

@asterite you nailed it! Now I can build Crystal in release mode with llvm 3.9 and specs pass.

Awesome! This deserves a release ;-)

authors: bcardiff spalladino ysbaddaden


text:
Add more tests

Added more tests for IrreversibleReaction, ReversibleReaction, and ReactionSystem.

Need to add more tests after ReversibleReaction functions are completed!

Coverage increased (+1.4%) to 95.38% when pulling 24cdc1ce246078bc7c30a91487bfe6711f8bb2c8 on hsim13372:add_more_tests into 897f9281f61e0e19b1ea6c793a7b1beda8889031 on cs207-group11:master.

Changes Unknown when pulling ac8814f718e6b4cc9273dde7040f5da83bd5250b on hsim13372:add_more_tests into ** on cs207-group11:master**.


text:
Refactor CommandResult

big ass refactor for CommandResult
Instead of checking a bunch of booleans,  CommandResult is now checked by a switch + enums. Because only one of the many booleans will be true at any point in time anyways. This makes it much easier to add or change the type of CommandResults that can be returned.
To add more CommandResults, simply add to the enum list and check for the enum in MainWindow.
You're welcome.

👍 👍

Thank you Donald!

authors: KerrynEer afterdusk dlqs


text:
CERN: Deny of ACLS

See attached presentation from September 2021:
https://new.cernbox.cern.ch/s/qliRAxgPsMNmPOx

This functionality is already implemented in the server and OCIS Web:
https://github.com/cernbox/reva/commit/5d4054628b5a43d9b7bf0877367ea10400a3cdc2
https://github.com/cernbox/web/commit/1d75877919e862fdecfdff3bae366ede3951ba1a
Testing of this functionality in the sync client has been positive.

@labkode See #3011 as a first attempt to make it work on the edge branch.

Work in progress, waiting for PM approval for GA.

UI proposal: https://github.com/owncloud/web/issues/7180

Done. This is part of the ocis 2.0.0 release. The feature is disabled by default.
Enable it FRONTEND_OCS_ENABLE_DENIALS=true

authors: labkode micbar pmaier1


text:
formatters fix (python 2.x)

formatters module no works fine with python 2.7

Wait, there is a fix needed for python 3.x

repo: cslashm/ECPy


text:
add gitter on website near irc channel

we seriously need a better website.
babel one is really cool.

Done

repo: cssnext/cssnext


text:
checkpointing

would be useful to make some sort of checkpointing available. this would be useful for running on clusters with a wall time limit. using the pickle module should work, i think?

I think it should in principal. Definitely worth trying but we'd have to
make sure that everything is truly stored within one MSIBI instance (which
I think is currently the case) and add some mechanism for restarting the
loop from wherever it was which could be a simple attribute that counts
iterations.
Also we should look into
https://github.com/dmtcp/dmtcp and if we can find any other packages that
are made for this.
On Thursday, March 26, 2015, Tim Moore notifications@github.com wrote:

would be useful to make some sort of checkpointing available. this would
be useful for running on clusters with a wall time limit. using the pickle
module should work, i think?
—
Reply to this email directly or view it on GitHub
https://github.com/ctk3b/msibi/issues/3.

Might be worth looking into: https://pypi.python.org/pypi/ediblepickle/1.0.2


text:
Bloom effect

We have a basic postprocess pass (https://github.com/ctrl-alt-test/moto/commit/8c8d39af4aaf6fc3844d8e50f64ee45d9f7ab804). We need to add bloom.

obsolete (completed)

repo: ctrl-alt-test/moto


text:
I'd like to join this project's community

Your public repo
https://github.com/jamesholidaycc/gov4git-identity-public.git
Your public branch
main

approved

authors: AshBC JamesHolidayCC

repo: cubeca/cube


text:
iPlugins: Implement prebuild and postbuild plugins

draft of plugin prototype

LINT STILL WON'T PASS until we update the cue API to 0.40 and remove deprecated calls.

repo: cueblox/blox


text:
🛑 CUETCONNECT(AdmissionSite) is down

In ee8a9fd, CUETCONNECT(AdmissionSite) (https://admission.cuetconnect.org/) was down:

HTTP code: 502
Response time: 1754 ms

Resolved: CUETCONNECT(AdmissionSite) is back up in 7b1b2a6.

repo: cuetconnect/statuspage


text:
双屏幕，一个横屏一个竖屏，在主屏幕正常，副屏幕上错位

双屏幕，一个横屏一个竖屏，在主屏幕正常，副屏幕上错位
win10 x64，两个屏幕都是2K分辨率
作者辛苦了，希望能解决。。。

下载最新的版本 1.3.3 https://github.com/cuiliang/ClickShow/releases

先关了，如果还有问题，请再reopen

repo: cuiliang/ClickShow


text:
Blocking 16 mirror sites

These 16 IP addresses are mirroring news publications, entertainment sites, apps, and charities.

Nice job, thanks again.

authors: Morty-Feldman cunnie


text:
UserWarning: Shared memory size is too small. Please set shared_mem option for MultiprocessIterator.

Expect shared memory size: 131072 bytes. Actual shared memory size: 98304 bytes.   UserWarning)
I use p100，16G memory！
the error information is follow.
Exception in main training loop: Unsupported dtype object
Traceback (most recent call last):
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/chainer/training/trainer.py", line 299, in run
update()
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/chainer/training/updater.py", line 223, in update
self.update_core()
File "/home/user012/GAN_poster/sngan_projection/updater.py", line 94, in update_core
x_real, y_real = self.get_batch(xp)
File "/home/user012/GAN_poster/sngan_projection/updater.py", line 73, in get_batch
print(type(xp.asarray(x)))
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/cupy/creation/from_data.py", line 61, in asarray
return core.array(a, dtype, False)
File "cupy/core/core.pyx", line 2017, in cupy.core.core.array
File "cupy/core/core.pyx", line 2048, in cupy.core.core.array
Will finalize trainer extensions and updater before reraising the exception.
Traceback (most recent call last):
File "train.py", line 136, in
main()
File "train.py", line 132, in main
trainer.run()
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/chainer/training/trainer.py", line 313, in run
six.reraise(*sys.exc_info())
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/chainer/training/trainer.py", line 299, in run
update()
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/chainer/training/updater.py", line 223, in update
self.update_core()
File "/home/user012/GAN_poster/sngan_projection/updater.py", line 94, in update_core
x_real, y_real = self.get_batch(xp)
File "/home/user012/GAN_poster/sngan_projection/updater.py", line 73, in get_batch
print(type(xp.asarray(x)))
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/cupy/creation/from_data.py", line 61, in asarray
return core.array(a, dtype, False)
File "cupy/core/core.pyx", line 2017, in cupy.core.core.array
File "cupy/core/core.pyx", line 2048, in cupy.core.core.array
ValueError: Unsupported dtype object
what should i do, i have no idea to solve it!

I get the same question and do not konw how to solve it. Could you give me some advices?

repo: cupy/cupy


text:
Support for other cuSPARSE formats

Description
Hello,
I have been using CUDA C++ for finite element simulations in structural engineering as part of my PhD research over the past year. Recently, I decided to transition to CuPy to make my software framework more accessible and easier to use by a broader audience. In the process, I noticed that CuPy currently implements sparse matrix classes similar to those in scipy.sparse, which is great. However, cuSPARSE, which CuPy leverages, includes additional formats like the Sliced ELLPACK (SELL) format, which can offer better performance for SpMV kernels in specific scenarios (as documented here: NVIDIA cuSPARSE and this corresponding paper).
I’m curious to know what would be required to make these additional cuSPARSE formats available in CuPy. I would love to contribute to this effort if my experience with CuPy and CUDA allows it.
Thank you for your time and consideration!
Additional Information
No response

cc: @samaid for vis

authors: gaaraujo leofang


text:
Disallow boolean negative

Close #692.

Jenkins test this please

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

authors: chainer-ci niboshi toslunar


text:
Add __init__.py to allow importing test packages

Fixes #3384

Jenkins, test this please.

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

Some __init__.py seems to be still lacking...

@asi1024 This pull-request is marked as st:test-and-merge, but there were no activities for the last 3 days. Could you check?

pfnCI, test this please.

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

LGTM.

authors: asi1024 chainer-ci kmaehashi


text:
Travis fails with cython 0.27. Use cython 0.26.1 for a while

Fix https://github.com/cupy/cupy/issues/527

asking at https://github.com/cython/cython/issues/1885


text:
Static link CUDA Runtime

This is a part of #7620.

Static link CUDA Runtime in each CuPy moduels (Runtime, Jitify, cuRAND, Thrust)
Lazy import Jitify
Removes cupy.cuda.profiler.initialize() function, which was removed in CUDA 12 and marked deprecated since CuPy v12 (#7332). Code search yields no use-case for this function.

/test mini

/test mini

@leofang
This code relies on locally-installed CUDA Toolkit version (specifically cooperative_groups.h). Wondering how we can rewrite this...
https://github.com/cupy/cupy/blob/1ef40363dbc0c489486a178f39b7b3b4ed223b7a/cupyx/jit/cg.py#L102-L103

This code relies on locally-installed CUDA Toolkit version (specifically cooperative_groups.h).

Fixed in e89e35a9d9d312c29ff76f3c859510e3c4eacb14.  Could you review this commit @asi1024?

Yes it should be a compile time error. LGTM.

Q: Perhaps we should add an import test to .github/workflows/pretest.yml?

/test mini

/test mini

Would you have a look at cuda-python test failure?

Do we also need to include include '_runtime_extern.pxi' when we're using CUDA Python? And, cupy.linux.cuda122's failure is not related.

Do we also need to include include '_runtime_extern.pxi' when we're using CUDA Python? And, cupy.linux.cuda122's failure is not related.

Thanks, that's right! Fixed.
/test mini

/test mini

I can take a final look later today. Reminder to add a CI test: #7954 (comment)

Thanks for the reminder! Added.

I can take a final look later today. Reminder to add a CI test: #7954 (comment)

Thanks for the reminder! Added.

I noticed that we can't test this PR like other modules, because cupy_backends.cuda.api.runtime uses static link and is not lazy-imported. After everything is done I'll add more sophisticated test, e.g., try installing/importing the generated CuPy binary within a vanilla Python docker image.

(2) I noticed CUDA_VERSION requires cuda.h which cannot be compiled with NVRTC.

This is new to me, thanks for sharing.

I noticed that we can't test this PR like other modules, because cupy_backends.cuda.api.runtime uses static link and is not lazy-imported. After everything is done I'll add more sophisticated test, e.g., try installing/importing the generated CuPy binary within a vanilla Python docker image.

Another way to test it (but only on Linux) is to do LD_DEBUG=libs python -c "import cupy", parse the stdout, and check if libcudart.so is loaded. It's a bit hacky, though.

authors: kmaehashi leofang takagi


text:
[backport] Fix lfilter_zi and sosfilt_zi when any IIR coefficient is zero

Backport of #8034 by @andfoy

/test mini

/test mini

authors: chainer-ci takagi


text:
Per-language scopes?

For discussion...
Currently, cursorless has (I believe):

one set of scopes for all languages
per-language scope definitions
one spoken form to scope mapping for all languages

We could generalize the first and third a bit. We could allow each language to have its own set of scopes, ideally with a large shared core of common scopes. And then we could let each language have its own spoken form mapping.
Advantages:

Each language will have its own set of conceptually appropriate scopes. For example, the distinction between map and list scopes do not apply cleanly into Go. And Go has no notion of a class or a class name. And most programming languages have no notion of a chapter or a cell.

Disadvantages:

Complicates mixed language support.

Unsure:

It is unclear to me whether this would make learning harder or easier. On the one hand, things now change between languages. On the other hand, there would still be a large shared core, and there would be fewer confounders in the grammar like "chapter" (which I have disabled). And as it stands, unless you are working in the original target languages for cursorless, you have to learn to mentally translate some scopes to your active language.

This would be a very large change, but it seemed worth at least raising and discussing.

Maybe let's discuss in a meet-up; it's definitely something we've considered.  See also https://github.com/cursorless-dev/cursorless/issues/554

From Slack:

In Clojure I often use “keywords” like :foo. Cursorless shows 2 hat marks, one for the word and one for the colon. Is there a direct way to select (take) the whole keyword?

From Slack:

In Clojure I often use “keywords” like :foo. Cursorless shows 2 hat marks, one for the word and one for the colon. Is there a direct way to select (take) the whole keyword?

Pretty sure that's just "key" but could be wrong

Response from Slack:

“key” does work if the key is inside a map.
But I also often use keywords other places, like an array ex: [:foo :bar] . In that case I get “Couldn’t find containing collectionKey.”

(My apologies for forking the conversation.)

authors: josharian pokey

repo: cursorless-dev/cursorless


text:
Support migrating old recorded tests using bulk facet recorder

Once https://github.com/cursorless-dev/cursorless/pull/2383 is merged, we should simplify the process of migrating old recorded tests to scope fixture tests using the new bulk fixture recorder.
We proceed as follows:

Find all recorded tests with the given language id

Canonicalize and inspect the command payload. We may want to filter to tests that use a specific set of actions and particular targets. We may also only want to migrate a specific subset of scopes, eg based on if they're marked as supported for the given language

For each chosen test, get initial document state

Skip if we've already processed a fixture with the same document state (or if there already exists a fixture with same document state?)

Generate an entry in the bulk recorder file with a candidate header for each possible facet that has the given scope. For example:
[[python]]

[branch.if]
[branch.if.iteration]
[branch.try]
[branch.try.iteration]
[branch.loop]
if aaa:
    pass
---

[branch.if]
[branch.if.iteration]
[branch.try]
[branch.try.iteration]
[branch.loop]
try:
    pass
except:
    pass
---

The user will then delete the unnecessary lines and clone the block as necessary eg to test both scope and iteration scope

When the user saves, we should probably delete the recorded tests that they actually ended up migrating

To discuss: which tests to migrate?
We need to figure out how to decide which recorded tests to migrate. Some ideas:

All fixtures for a given language, regardless of whether they're marked as supported
Only ones marked as supported
User picks specific scope type

We also need to figure out if we want to drop recorded tests if their command payload doesn't match a particular shape. Eg skip if multiple scope types are mentioned, or of the command isn't one of a few expected commands

update from meet-up:

Only facets marked as supported
Only recorded tests in the folder languages/{languageId}
Only recorded tests with action of "chuck", "take", "pour", "clone", "drink", "clone up", "clear", primitive target, containing scope modifier

Migrate the above, and then see what's left and maybe make filter more lenient or just do them manually

Does this mean I should hold off an updating old tests for now to see how this goes? Porting the lua, bash, and nix tests are still on my list todo and was thinking recently about circling back to to it, but if it can mostly be automated that works too :D

Up to you. I've been adding new tests in new format, and some piecemeal migrations if I'm messing with the given scope, but waiting to do wholesale migrations till we have this

authors: fidgetingbits pokey


text:
braviatv_psk.bravia_command does not honor entity_id

Describe the issue
I have two Android Bravia's (2018 & 2019 models) in my appartment. I'm trying to use braviatv_psk.bravia_command to send additional commands to them. But whatever entity_id I send to it, only 1 TV responds.
Expected behavior
2 TVs setup. Sending command_id: TvPower would toggle the exact one which is supplied within entity_id. But in reality it is always the first registered TV.
Home Assistant version
HA 0.110.3 (HASS.io)
Some extra checks
Please check the items below

[x] The correct Pre-Shared Key (PSK) is used in the configuration
[x] The correct static IP address of the TV is used in the configuration
[x] The installation instructions for the TV from here are followed

Your config.yaml
media_player:
  - platform: braviatv_psk
    name: BR TV
    host: 192.168.0.16
    android: True
    amp: True
    psk: xxxx
  - platform: braviatv_psk
    name: YR TV
    host: 192.168.0.17
    android: True
    amp: True
    psk: xxxx

So sending the following:
command_id: TvPower
entity_id: media_player.yr_tv

Would actually toggle BR TV

Can you check if other command_ids work correctly? Or are all of these send to the same TV?

All of these are sent to the same TV. I mean, they do fire, but just on one TV.

BTW, why not to move bravia_send to remote domain?

Can you change line 168 in media_player.py (in your custom components dir) from:
vol.Required(ATTR_ENTITY_ID): cv.entity_id,
to
vol.Required(ATTR_ENTITY_ID): cv.comp_entity_ids,
and restart HA?
Not sure if it works and don't have a second TV to test this 😉

Nope, same thing, only one TV responds.

Not sure what is causing this and can't do any testing as I only have one Bravia TV.
@rhcl do you have an idea how to fix this?

I believe the problem is here
https://github.com/custom-components/media_player.braviatv_psk/blob/master/custom_components/braviatv_psk/media_player.py#L219
Because device variable doesn't contain what you expect it should contain. You should somehow resolve entity_id to the proper device.

@divanikus
Here they are:
KD-55XF9005.txt
KD-50W805C.txt
The correct command to retrieve them adapted for raspbian is:
curl -H 'Content-Type: application/json' -H 'X-Auth-PSK: [password]' -X POST -d "{'id': 1, 'method': 'getApplicationList', 'version': '1.0', 'params': ['']}" http://[IP]/sony/appControl

The above comment was meant for #38 😉

@divanikus
Can you change L219 from
device.send_command(command_id)

to
device_id = call.data.get(ATTR_ENTITY_ID)
device_id.send_command(command_id)

Not sure if it works, so let's do some trial and error 😀

@rhcl do you have a hint to make the service working on multiple TVs?

Here an example which should work, which is async however. Need to have a closer look at this 🤔
https://github.com/home-assistant/core/blob/1887f11ec932738b215440d9c17f586c4247e314/homeassistant/components/vizio/media_player.py#L128-130
https://github.com/home-assistant/core/blob/dev/homeassistant/components/vizio/media_player.py#L302

@gerard33 you've pinged the wrong guy so I didn't see your comment. :)
I'll try to have a look at it soon.

BTW, why not to move bravia_send to remote domain?

Can you explain a bit more about that? Can you give some existing examples where it's done like that?
It might make sense. It just I didn't know about it before.

Hello, I have the same issue. If I put two bravia tvs, they dont behave "normally". Turning tv in bedroom, toggles only tv in the livingroom and similar stuff.
Did you come to any conclusions on this? thanks

Created fix for that at https://github.com/custom-components/media_player.braviatv_psk/pull/54

authors: adriandelcl divanikus gerard33 rchl stefancvetkovic


text:
Add API status endpoint

Please check the following

[x] Do the tests still pass? (see Run the Tests)
[x] Is the code formatted properly? (see Linting (Formatting))
For New Features:

[x] Have tests been added to cover any new features or fixes?
[x] Has the documentation been updated accordingly?

Please describe additional details for testing this change
Adds a new endpoint GET /api/status that returns wether the DB is available or not, and the version form the package.json file.
Tests for these changes be run with the following command:
npm run e2e:server -- --spec tests/e2e/specs/out-of-game/api-status.spec.js
Relates to https://github.com/cuttle-cards/cuttle/issues/156

Pushed my changes!

One thing I will call out is that I'm using /user/status for the initial call to get the game data.

@seriouslysean I'm not sure I followed you here. I kept the use of Game.count() as it seemed a simple way to check if a game was ongoing. That said, users would be definitely available before a game is created. Can you clarify what you meant with your comment?

@seriouslysean I'm not sure I followed you here. I kept the use of Game.count() as it seemed a simple way to check if a game was ongoing. That said, users would be definitely available before a game is created. Can you clarify what you meant with your comment?

He's not actually talking about the function logic, but rather the request mapping. There is an existing endpoint that's mapped to /user/status (used to check authentication status), which @seriouslysean is saying is confusingly similar to /api/status.
I think that's a fair point and perhaps we should this endpoint to /health? Sorry to move the requirements out from under you, but these discussions have been informative and I think this change would make things more clear

I think that's a fair point and perhaps we should this endpoint to /health?

@itsalaidbacklife All good then! That's done in this commit https://github.com/cuttle-cards/cuttle/pull/161/commits/7ff928af49ae9d3a1a63a1f23ff9dc2a0e558dfd#diff-33a52123e3f345cf172fd8514455ae4d0b14c69d1139198bb3bf73f00516ca81R55
I just pushed another one removing the extra function wrapper.

authors: itsalaidbacklife lbalmaceda

repo: cuttle-cards/cuttle


text:
Run own dataset

Hello. I changed the dataset type from azure to tumrgbd with my own RGBD related sample.yaml.
I get the relevant image pose from ORB_SLAM3, which I have proved to be feasible on the TUM data set, and the reconstruction results are comparable to the official results.
But when I ran my own data, the camera tensor was convergent, but the Re-rendering loss was not.
I kept adjusting the bound and marching_cubes_bound values, but the effect was minimal.
I also looked into other hyperparameters in the relevant.yaml file, but found no useful information about them.
So I would like to ask you to run your own data, those hyperparameters can be adjusted.
thank you!

If you really cannot figure out what is wrong. Maybe you can directly follow this tutorial, it is automatic and should not have too many problems. All you have to do is change your format to open3d kinect azure format. https://github.com/cvg/nice-slam#use-your-own-rgb-d-sequence-from-kinect-azure

repo: cvg/nice-slam


text:
Upd. SluggableTrait.php - handle key alternatives

Permit to use this syntax to use alternative value if a field value is null in build_from param :
'build_from' => ['table.field|alternative_table.alternative_field'],

Can I suggest a possibly better solution: make it possible to use a closure for the build_from configuration value?  Something like:
'build_from' => function($model) {
    if ($model->field === null) {
         return $model->alternate;
    }
    return $model->field;
}

I think you could not only achieve the same result that you are looking for, but it'd be flexible enough for lots of other scenarios.

I Agree, this is a much better solution, but also much more complex and impactant on your package code.
For now build_from is defined in a protected attribute of the model, wich is a cool thing but it do not allows expressions or closures as values.
I also think that both solutions can be interesting to implement, a simple one to handle a common case, and a more subtile one to handle specific logic cases.
How do you want to deal with this situation ?

Will you consider accept my pull request, even if you plan to make it possible to use closures in build_from configuration value ? I'm still thinking it's a simple and usefull enhancement.

Actually, there is a much easier solution -- just create a special accessor method that handles all the logic.
'build_from' => 'special_slug_source',
...

public function getSpecialSlugSourceAttribute() {
    return $this->field ?: $this->alternate;
}

Clever and beautiful solution, thanks a lot !

repo: cviebrock/eloquent-sluggable


text:
Functions datatable

Description
This PR introduces a new top level navigation for all atomic functions in cvxpy.
It uses DataTables and allows for searching and filtering through the functions.
The changes can be previewed under the following link.
Type of change

[ ] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[x] Other (Documentation, CI, ...)

Contribution checklist

[x] Add our license to new files.
[x] Check that your code adheres to our coding style.
[x] Write unittests.
[x] Run the unittests and check that they’re passing.
[x] Run the benchmarks to make sure your change doesn’t introduce a regression.

 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.Transurgeon seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Is this good to be closed?

Is this good to be closed?

I am actually going to work on the functions table next week. But this PR is very out-of-date.
Let's keep it open for a bit before closing it.

some progress has been made.

no more submit buttons (now the filter is applied on input change)
new look, after updating the datatables version

authors: CLAassistant PTNobel Transurgeon

repo: cvxpy/cvxpy


text:
Allow loading from externally embedded template data

Currently, there's no way to integrate gotests programmatically with your own binary embedded templates.
Since the current structure doesn't allow for any access to the tmpls variable in internal/render, and the template functions are also not exported, what I had in mind was doing something similar to how Template, TemplateDir and TemplateParams works.
I'll just create the pull request since I've got something working already.
Tks in advance :+1:

Hi @titolins, could you please provide an example of what's the intended behavior you expect? I'm not sure what you mean by "externally embedded template data".

Hey @cweill , thanks for your time.
I've just opened a PR, but didn't know how to properly link it to this issue:
https://github.com/cweill/gotests/pull/140
Sorry for that, but I can't appear to fix the link, if you could help me would be awesome :smile:
Regarding the use case, I'm sorry for not being so clear. I'm part of a code generator project for internal use and I'm trying to use gotests for generating the test files.
However, since we use another external library for embedding our templates into the go binary (https://github.com/jteeuwen/go-bindata), having our customized templates embedded is not possible currently.
That's how I'm currently using
func loadTemplateData() [][]byte {
	templates := make([][]byte, 0)
	for _, assetName := range templatesgenerated.AssetNames() {
		if strings.Contains(assetName, "tests/") {
			data := templatesgenerated.MustAsset(assetName)
			templates = append(templates, data)
		}
	}

	return templates
}

func generateTests(filename string) {
	testFilename := strings.Split(filename, ".")[0] + "_test.go"
	opts := &process.Options{
		//OnlyFuncs:          *onlyFuncs,
		//ExclFuncs:          *exclFuncs,
		//ExportedFuncs:      *exportedFuncs,
		AllFuncs: true,
		//PrintInputs:        *printInputs,
		//Subtests:           !nosubtests,
		//Parallel:           parallel,
		WriteOutput: true,
		//WriteOutput:        *writeOutput,
		//Template:           valOrGetenv(*template, "GOTESTS_TEMPLATE"),
		//TemplateDir:        valOrGetenv(*templateDir, "GOTESTS_TEMPLATE_DIR"),
		//TemplateDir: TestsTemplateDir,
		//TemplateParamsPath: *templateParamsPath,
		TemplateData: loadTemplateData(),
	}

	process.Run(os.Stdout, []string{filename}, opts)
	exec.Command("gofmt", "-w", testFilename).Run()
	exec.Command("goimports", "-w", testFilename).Run()
}

Please let me know if this is acceptable :raised_hands: :smile:

Are you using the gotests module as a library instead of the binary? Any reason you couldn't use the -template_dir flag instead? Then you could use exec.Command("gotests", "-template_dir", "/path/to/templates").Run()

Yeah, my first approach was doing exactly that. The problem is that then I wouldn't be able to embed the templates in the binary. Another option would be forking the repo and having the modified templates in there instead.

authors: cweill titolins

repo: cweill/gotests


text:
Letter case problem with virtual table names in R package

The duckdb package seems to be throwing an error sometimes, based on the letter case of the virtual dataframe registered.
The following works:
library("DBI")
library("duckdb")

con = dbConnect(duckdb::duckdb(), dbdir=":memory:", read_only=FALSE)

duckdb::duckdb_register(con, "mtcars", mtcars)

DBI::dbGetQuery(con, "SELECT mpg, cyl FROM mtcars WHERE disp >= 200")

The following, with the duckdb virtual table name changed, does not work:
library("DBI")
library("duckdb")

con = dbConnect(duckdb::duckdb(), dbdir=":memory:", read_only=FALSE)

duckdb::duckdb_register(con, "mtcars", MT_cars)

DBI::dbGetQuery(con, "SELECT mpg, cyl FROM MT_cars WHERE disp >= 200")

The following error is thrown:
Error in .local(conn, statement, ...) :
  duckdb_prepare_R: Failed to prepare query SELECT mpg, cyl FROM MT_cars WHERE disp >= 200
Error: Catalog Error: Table with name mt_cars does not exist!
LINE 1: SELECT mpg, cyl FROM MT_cars WHERE disp >= 200

I came across this error when building out the duckdf functionality, where the dataframe name is dynamically passed to duckdb to create the virtual table. Obviously, I have no control over how the end user names their dataframes! Logic to make everything lowercase is possible, but then the user's resulting SQL query also then needs to match the virtual table name and things get complex.....
Session Info:
r$> sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 10 (buster)

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.3.5.so

locale:
 [1] LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C               LC_TIME=en_GB.UTF-8        LC_COLLATE=en_GB.UTF-8     LC_MONETARY=en_GB.UTF-8    LC_MESSAGES=en_GB.UTF-8    LC_PAPER=en_GB.UTF-8
 [8] LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] duckdb_0.2.4 DBI_1.1.1

loaded via a namespace (and not attached):
[1] compiler_4.0.3

I believe this is expected behaviour. If you create a table with an uppercase name you will have to quote them in queries like so: DBI::dbGetQuery(con, "SELECT mpg, cyl FROM \"MT_cars\" WHERE disp >= 200")

See #1410 and #1411

This should be fixed in master. Please reopen if problem persists.

repo: cwida/duckdb


text:
Add support for TRY CAST to the parser + transformer

Syntax is identical to cast:
SELECT TRY_CAST('hello' as INTEGER)

The idea is that this returns NULL instead of throwing an exception. Note that this is only supported in the parser for now; not actually usable yet in the main system.

@mbasmanova

CC: @beroyfb @pedroerp

@Mytherin Thank you, Mark.

Thanks for adding this.

authors: Mytherin beroyfb mbasmanova


text:
First entry is being skipped

Hi there,
I was trying out multipart on a form with a single file field, but I was not being able to get the result back.
I've created an example project to reproduce the issue. On this project, there is 3 file fields that I submit on the request, but the first is getting skipped.
https://github.com/bltavares/multipart-skipping-field-bug-report
I was trying to pinpoint why it was happening, and the closer I got was that we were reaching this line.
https://github.com/cybergeek94/multipart/blob/master/src/server/mod.rs#L166
I'm not so sure why it is getting there, but I would be open to help with the fix if you could give me some guidance.
Cheers (:

@bltavares I believe I have fixed this now. Could you please update your Cargo.toml to use multipart="0.4.1-alpha" and let me know if it works as expected?

Actually just make that multipart="0.4.1", there's a bug with prerelease version parsing in Cargo.

@cybergeek94 thank you, It has been fixed on 0.4.1.
Cheers!

Good to hear! Thanks for the report.


text:
SW Image Installation

Description of Test Case
Test  Image Installation in different hardware models of Raspberry Pi.
Precondition
Test Steps
Test Result

[ ] Tested in Raspberry Piv5
[ ] Tested in other versions

Summary

[x] Test Passed
[ ] Test Failed

Reviewer Checklist

[ ] Documentation exists in GitHub
[x] Documentation exists in other location: https://ibm.ent.box.com/integrations/officeonline/openOfficeOnline?fileId=1639433522353&sharedAccessCode=

Looks to be running OK with the emulator although I have no sensehat connected

repo: cybersecfaith/RasQberry-Two


text:
Question about imperative pattern

Hello,
I'm sorry not to use Gitter but I can't really chat at the moment :S
(By the way It should be great to have a forum or a sub-reddit to have some async discussion about cycle :) )
I try to implement a simple game and I want to try Cyclejs to do so. It looks fun, but I need your help to implement a pattern.
In the game, the user is able to start tasks which have different durations. Whenever a task completes, I want to recompute the new state of the game (the task yields stuff, and with this stuff we can complete quests or start pending tasks).
So, I think the state sink (maybe use onionify/@cycle/state ?) should provide a nextCompletingTaskTimestamp, and with that value I would use setTimeout (in a driver ?) to send a new event to Cycle. But that sound imperative, no ? What is the Cycle way for that ?
There is more : at any time, the player can cancel the next completing taks (or any other task), or add a fast task that will complete sooner, so I'll have to recompute the time of the next completing task, cancel my timeout and create another one.
I think this should be easy with stuff like shamefullySendNext, but how to do that otherwise ?
Thank you for reading.

@niahoo one option is to use @cycle/time, https://github.com/cyclejs/cyclejs/tree/master/time.
You can get a stream of that emits every frame with sources.Time.animationFrames().
Each event in this stream is an object with three properties:
    time - the elapsed time in millseconds since application start
    delta - the time in milliseconds since the last frame
    normalizedDelta - the delta divided by the expected frame length (16ms). Useful for game development

So in your case, you could fold over this stream of animation frames, and subtract the delta value from each of your timers, or you could simply check if time > nextCompletingTaskTimestamp.
This allows you to write code in a relatively imperative style while operating within Cycle's constraints, without needing to manage timeouts or use shamefullySendNext.

Hi,
I will definitely look into @cycle/time to see what is there. But my game is more kind of management/incremental than animations, I think checking everything in each animation frame is kind of heavy. I'm more inclined to use delays because if I know there is no work to do for the next two seconds, I don't want the app to work.
Thank you.

Fair enough, you could achieve this with a more stream oriented approach as well.

In the game, the user is able to start tasks which have different durations. Whenever a task completes, I want to recompute the new state of the game (the task yields stuff, and with this stuff we can complete quests or start pending tasks).

There is more : at any time, the player can cancel the next completing taks (or any other task), or add a fast task that will complete sooner, so I'll have to recompute the time of the next completing task, cancel my timeout and create another one.

So if I understand this right:
A player can:

Add tasks to the end of the queue
Cancel tasks
Add tasks to the start of the queue?

You can create streams of actions from interactions the players would perform to start tasks.
const startTask$ = sources.DOM.select('.start-task').events('click').map(() => ({time: 2000, type: 'DO_A_THING'});

const task$ = xs.merge(
  startTask$,
  ...
)

Then we can delay the result with sources.Time.delay(), and process one at a time with flattenSequentially.
import flattenSequentially from 'xstream/extra/flattenSequentially';

const delayedTask$$ = task$.map(task => xs.of(task).compose(sources.Time.delay(task.time)))

const taskResult$ = delayedTask$.compose(flattenSequentially);

We can then fold over the taskResult$ to update our state when a task completes.
const initalStates = {
  points: 0
}

const state$ = taskResult$.fold((state, task) => {
  if (task.type === 'DO_A_THING') {
    state.points += 1;
  } else {
    // handle other tasks
  }

  return state;
}, intialState)

To cancel tasks early you could use endWhen. So delayedTask$$ might look more like this:
const cancelTask$ = sources.DOM.select('.cancel-task').events('click');

const delayedTask$$ = task$.map(task =>
  xs.of(task)
    .compose(sources.Time.delay(task.time))
    .endWhen(cancelTask$.filter(event => event.target.dataset.taskId === task.id))
)

Adding tasks to the front of the queue seems more difficult but probably possible, but I think I'd need to understand the game a bit more before I spend time thinking about how it could be done.
Hope this is helpful 😄

Hey, thanks, this gives me some ideas.
Actually the tasks are not really a simple queue :

First, the user creates a task, which is put on a priority queue, but does not start if the ressources are not met.
Imagine 3 tasks set in this priority (first one : more priority): Cook a cake, Cook some bread, each one requiring 500g of flour ; and Crush wheat that gives you 1kg flour.
Now each task requires 1 worker, and you currently have 0 workers. (The may require also other materials but imagine we have them already).

Then, another task terminates, giving back 10 workers, here is what the game will do :

By priority, "Cook a cake" is first, so we try to start it, but we are missing flour. The sames goes for "Cook some bread". So we start "Crush wheat". It mobilizes 1 worker and longs 1 second. We start this task.

After 1 second, we give back the worker and 1kg flour. We try again to start tasks. Now, both cooking tasks can start. They have different durations, so we want to run new tasks whenever the first one terminates, because there may be another tasks waiting for a cake or some bread.

So, tasks are not really events : when the user creates a task, we store the task in state, and we try to start it.
Starting a task is just setting a flag and calculating the finish datetime.
So looking a time and xtstream I would come up with something like that :
But I still must learn how to handle state :)
const taskFinishes$ = state$
  .map(s => nextFinishingTasks(s.tasks))
  .map(task => sources.Time.delay(task.finishAt - now).map(_ => task.id))
  .flatten() // Keep only the last *set* delay

const releaseTaskReducer$ = taskFinishes$.map(id => (state) => releaseTask(state))

const reducer$ = xs.combine(releaseTaskReducer$, ...)

// sink reducer

What do you think ?
Thanks for your help

authors: Widdershin niahoo

repo: cyclejs/cyclejs


text:
test: added unit test for parse_query

Part of #55
Added Some more unit tests for parse_query.py
cc @cyclotruc

@joydeep049 There's an issue currently with some tests failing on Windows
Since Gitingest doesn't fully support Windows yet I guess the temporary workaround would be to disable Windows tests for now
I'll think about it and come back to you shortly

Should I make a quick PR to disable the windows tests?

Absolutely thank you

@joydeep049 Merged! Thank you

repo: cyclotruc/gitingest


text:
Hypervisor Architecture Design

2023.4.19开始，预计到2023.4.30将阅读好所有资料并整理成笔记，设计好Hypervisor的架构。

2023.4.19-2023.4.20，仅仅整理了一部分的RISC-V架构相关的笔记，整理速度比我预期的慢很多。

2023.4.21-2023.4.22，原本希望整理关于linux/kvm的笔记，因为框架不熟悉没有成功。
看了一些mips32的知识。

2023.4.23-2023.4.29 这几天没有做什么工作，只能五一期间rush一下了

2023.5.20 工作计划大幅转向，本Issue Close


text:
Add regression functionalities to fairness tests

added credit risk regression notebook example
support MSE fairness metric for regression problems
docs edit

@swanhl could you add another commit to pull the latest code from main into your branch pls? The checks should pass once you do that

Cool, nothing else from me. Anything else to add @timlrx?

Thanks, the functions looks good to me. I pushed some minor changes to the readme and descriptions. I noticed that there are some minor changes to the API.

Could you re-run all notebooks and make sure that they work as intended (need to manually check it for now, in place of test cases)?
Could you update the readme in the FEAT folder basically to highlight which test works for regression vs classification vs general problems.

Remember to run black before committing and I will also need to make sure the pre-commit hook runs properly. Thanks!

Yeah i already re-ran/commited on all notebooks, works fine.
All of the tests can be applied to both regression and classification problems.

And yup, committed with black git hook.

Yes, but let's add it into the readme of the test so it is clear e.g. for Subgroup Disparity Test, For classification problem, choose from 'fpr' - false positive rate, 'fnr' - false negative rate, 'pr' - positive rate. For regression problem, choose from 'mse' - mean squared error.

authors: jasonho-lynx swanhl timlrx

repo: cylynx/verifyml


text:
Better page reloading

This should help for a better page reload.
Adding a random number to the URL so the browser things its a new page when the STRATUX link is clicked

won't this cause unnecessary fetching of resources by the browser?
I saw an error my my desktop browser (Chrome) when it attempted to reference the manifest. I'm looking into what/why. Solving the manifest cache will be a more efficient mechanism for invalidating old resources.

Well that might be but there is an issue with some browsers and the #.  It wants to just jump to an anchor and not actually fetch the page again

what browser(s) are you having issues with?

I am using chrome/firefox but I have had issues with the connected green bar coming back after just clicking on the link. If i refresh the page I get it back.
This is more a way for a dev to make sure they get a new page while working with stratux.  The load on the device is minimal.

I guess my issue is when I am on the status page and reboot my stratux from SSH I just wanted a way to force a good reload of the data. The # in the url I believe is the issue. Also a cached page might not want to reload all data because the url is the same.

Usually you'd want to limit cache busting to a version number so you can be sure that in the majority of field cases (when the version hasn't changed) you'll get the performance benefit of the browser cache.

we can move index.html out of appcache by placing under a section labeled NETWORK in teh manifest. alternately, we can just disable all cross session caching if its not a performance hit.

@peepsnet: could you make a screen recording of the issue that this solves? I don't understand what the issue is that this addresses.

If I can... It was just the /#/ in the url would sometimes not reload the page as if it was jumping to an anchor and not actually loading a page. If i see it stuck again I will try to do it.

Well I guess it was a fix for an old issue. I am not able to get this to work cross-browser

authors: RobertGary1 bradanlane cyoung peepsnet

repo: cyoung/stratux


text:
Suggest to remove v9 examples

This is a maintenance strategy suggestion.
This repository contains examples for Legacy configurations of Cypress concerning version 9 and below and for current configurations based on Cypress 10 and above, which are regularly updated to run against cypress@latest (at the moment: 12.13.0 12.17.2). The first version of Cypress to conform to current configurations was Cypress 10.0.0 released on June 1, 2022, more than one year ago.
Based on user issues in the Cypress repository there is a clear trend that new development is not relying on legacy Cypress 9 versions and below.
The examples and workflows which are based on Cypress 9.7.0 make the repository more complex, almost double the number of CI tests to be run (with consequential resource usage) and are not necessary to support users' current new developments.
The v9 examples should be removed.
To make a clean cut, the removal of v9 examples could be coupled with a significant other event such as the release of Cypress 13, the migration of this JavaScript action to node20 version (see #968) or the end-of-life of Node.js 16 on Sep 11, 2023. In this case the action version could be bumped (e.g. from v5 to v6) and the Cypress v9 examples could be left in the v5 branch of the action for reference.

PR #999 proposes to archive the v9 examples

repo: cypress-io/github-action


text:
Need update dependencies

Hello.
Could you please update dependencies of this plugin?
Because after installing this plugin I got alert from npm:
found 9 moderate severity vulnerabilities in 21838 scanned packages   9 vulnerabilities require manual review. See the full report for details.
I will very appreciate to you.

^

I'm currently on it, but it will probably take a few more days.
The reason for that is that img-loader (which this package depends on) has completely changed their API from version 2 to 3. So I now also have to re-write most of the parts of this plugin.
As soon as I'm finished with that, I'll release a major update of next-optimized-images because it isn't backward compatible and requires a few small changes when it gets updated. But I think img-loader made the right decision with that change to make everything optional so the users of this plugin only have to install the optimizers they really need in their project and not all per default.

authors: IvanGrimes cyrilwanner paulrods

repo: cyrilwanner/next-optimized-images


text:
Ambiguous overloaded method error for abs() in Cython 0.26

As of Cython 0.26, we now get an  ambiguous overloaded method error for the abs function, as discussed in qutip/qutip#723.  I am guessing that this has to do with a conflict between the addition from Pull #1648 and one of the following lines in our header:
from libc.math cimport abs, fabs, sqrt

cdef extern from "<complex>" namespace "std" nogil:
    double cabs "abs" (double complex x)

as there was no issues with Cython version 0.25.
Best,
Paul

I must apologize, the user reporting the error was using an older version of the file in question.  The issue does not show up in the current branch.
In short, the older file was doing a cimport and an extern cdef for abs from two different sources.  Previous Cython versions obviously overlooked my stupidity.  So +1 for Cython 0.26.

repo: cython/cython


text:
AttributeError: type object 'pandas._libs.tslib._TSObject' has no attribute 'reduce_cython'

After running pyinstaller server.py I launch the generated server.exe and I get this error
[992] Failed to execute script server
c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py:714: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  module = loader.load_module(fullname)
Using TensorFlow backend.
Traceback (most recent call last):
  File "server.py", line 10, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\keras\__init__.py", line 3, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\keras\utils\__init__.py", line 6, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\keras\utils\conv_utils.py", line 3, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\keras\backend\__init__.py", line 83, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\keras\backend\tensorflow_backend.py", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\tensorflow\__init__.py", line 24, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\tensorflow\python\__init__.py", line 83, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\tensorflow\python\estimator\estimator_lib.py", line 35, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\tensorflow\python\estimator\inputs\inputs.py", line 23, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\tensorflow\python\estimator\inputs\pandas_io.py", line 28, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\pandas\__init__.py", line 26, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\pandas\_libs\__init__.py", line 4, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "c:\program files\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 714, in load_module
    module = loader.load_module(fullname)
  File "pandas\_libs\tslib.pyx", line 1510, in init pandas._libs.tslib
AttributeError: type object 'pandas._libs.tslib._TSObject' has no attribute '__reduce_cython__'

Here's the output of pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
alembic (0.9.9)
altgraph (0.15)
appdirs (1.4.3)
APScheduler (3.5.1)
argcomplete (1.9.4)
asn1crypto (0.24.0)
astroid (1.6.0)
Augmentor (0.1.10)
autopep8 (1.3.4)
Babel (2.5.3)
bcrypt (3.1.4)
bleach (1.5.0)
blinker (1.4)
bottle (0.12.13)
bottle-websocket (0.2.9)
certifi (2017.11.5)
cffi (1.11.2)
chardet (3.0.4)
click (6.7)
colorama (0.3.9)
colorpy (0.1.1)
cryptography (2.1.4)
curses (2.2)
cycler (0.10.0)
decorator (4.1.2)
docutils (0.14)
Eel (0.8.0)
entrypoints (0.2.3)
eventlet (0.22.0)
flake8 (3.5.0)
Flask (0.12.2)
Flask-Admin (1.5.0)
Flask-BabelEx (0.9.3)
Flask-JWT (0.3.2)
Flask-JWT-Simple (0.0.3)
Flask-Login (0.4.1)
Flask-Mail (0.9.1)
Flask-Principal (0.4.0)
Flask-Restless (0.17.0)
Flask-Security (3.0.0, c:\users\elia\documents\python\flask-security)
Flask-Session (0.3.1)
Flask-SocketIO (2.9.3)
Flask-SQLAlchemy (2.3.2)
Flask-WTF (0.14.2)
future (0.16.0)
gevent (1.2.2)
gevent-websocket (0.10.1)
greenlet (0.4.12)
h5py (2.7.1)
html5lib (0.9999999)
huepy (0.9.6)
idna (2.6)
imageio (2.1.2)
imgaug (0.2.5)
inflection (0.3.1)
inputs (0.1)
ipykernel (4.7.0)
ipython (6.2.1)
ipython-genutils (0.2.0)
ipywidgets (7.1.0)
isort (4.2.15)
itsdangerous (0.24)
jedi (0.11.1)
Jinja2 (2.10)
jsonschema (2.6.0)
jupyter (1.0.0)
jupyter-client (5.2.1)
jupyter-console (5.2.0)
jupyter-core (4.4.0)
Keras (2.1.2)
Kivy (1.10.0)
Kivy-Garden (0.1.4)
kivy.deps.glew (0.1.9)
kivy.deps.gstreamer (0.1.12)
kivy.deps.sdl2 (0.1.17)
lazy-object-proxy (1.3.1)
lxml (4.1.1)
macholib (1.9)
Mako (1.0.7)
Markdown (2.6.9)
markdown2 (2.3.5)
MarkupSafe (1.0)
matplotlib (2.1.0)
mccabe (0.6.1)
mimerender (0.6.0)
mistune (0.8.3)
more-itertools (4.0.1)
moviepy (0.2.3.2)
nbconvert (5.3.1)
nbformat (4.4.0)
ndg-httpsclient (0.4.3)
networkx (2.0)
notebook (5.2.2)
numpy (1.14.2)
olefile (0.44)
opencv-python (3.3.0.10)
pandas (0.21.0)
pandocfilters (1.4.2)
parso (0.1.1)
passlib (1.7.1)
peewee (3.0.7)
pefile (2017.11.5)
pew (1.1.2)
pickleshare (0.7.4)
Pillow (4.3.0)
pip (9.0.3)
pipenv (11.7.3)
plotly (2.4.1)
prompt-toolkit (1.0.15)
protobuf (3.5.0.post1)
psutil (5.3.1)
pyasn1 (0.4.2)
pycodestyle (2.3.1)
pycparser (2.18)
pyflakes (1.6.0)
Pygments (2.2.0)
PyInstaller (3.3.1)
PyJWT (1.4.2)
pylint (1.8.1)
pyminifier (2.1)
pymongo (3.6.1)
pyOpenSSL (17.5.0)
pyparsing (2.2.0)
pypiwin32 (220)
pyserial (3.4)
python-dateutil (2.6.1)
python-editor (1.0.3)
python-engineio (2.0.2)
python-escpos (3.0a3)
python-mimeparse (1.6.0)
python-socketio (1.8.4)
pytube (9.2.2)
pytz (2017.3)
pyusb (1.0.2)
PyWavelets (0.5.2)
PyYAML (3.12)
pyzmq (16.0.3)
qrcode (6.0)
qtconsole (4.3.1)
Quandl (3.3.0)
redis (2.10.6)
requests (2.18.4)
rope (0.10.7)
scikit-image (0.13.1)
scikit-learn (0.19.1)
scipy (1.0.1)
setuptools (38.5.2)
simplegeneric (0.8.1)
six (1.11.0)
sklearn (0.0)
speaklater (1.3)
SQLAlchemy (1.2.3)
tensorflow-gpu (1.4.0)
tensorflow-tensorboard (0.4.0rc3)
testpath (0.3.1)
tflearn (0.3.2)
tornado (4.5.3)
tqdm (4.11.2)
traitlets (4.3.2)
tzlocal (1.5.1)
urllib3 (1.22)
viivakoodi (0.8.0)
virtualenv (15.1.0)
virtualenv-clone (0.2.6)
virtualenvwrapper-win (1.2.5)
wcwidth (0.1.7)
Werkzeug (0.14.1)
wheel (0.30.0)
widgetsnbextension (3.1.0)
wrapt (1.10.11)
WTForms (2.1)
You are using pip version 9.0.3, however version 10.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

Since this is almost certainly the same problem as #1953, I'd like to keep these two together.

authors: eliaperantoni scoder


text:
thunar-gpg-info.sh only shows sender not recipient

thunar-gpg-info.sh only show the identity of the sender not of the recipient.
How is to supposed to get the identity of the recipient if you query gpg with gpg --list-secret-keys shouldnt it be gpg --list-public-keys,. Otherwise gpg only prints your own identity (sender) not the recipient.
zenity --info --no-markup --text="Encrypted for: ${recipientKey} ${recipient}"

Or did you mean Encrypted from:?

Hmm, I just double checked.
Here it shows for whom it is encrypted.

Which OS?

I tested it yesterday on OSX:
$ openssl version
OpenSSL 0.9.8zh 14 Jan 2016

$ zenity --version
2016-05-19 10:00:27.994 zenity

@tristan-k
Should be fixed now

authors: cytopia tristan-k

repo: cytopia/thunar-custom-actions


text:
add Discord Action

Fixes #83 with a webhook.

Pull Request Test Coverage Report for Build 102

12 of 27 (44.44%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 58.621%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pastepwn/actions/discordaction.py
10
25
40.0%

Totals

Change from base Build 96:
-0.3%

Covered Lines:
765

Relevant Lines:
1305

💛  - Coveralls

authors: Mxrk coveralls

repo: d-Rickyy-b/pastepwn


text:
Cannot Import Battle.net Account

Despite having a valid US BattleNet account, I get the message "The account could not be found." Screenshot attached.

Usually running Google Chrome, I attempted disabling Add-Ons as well as switching to (BLECH) Internet Explorer, both to no avail.

I don't see your profile in the armory, either: http://us.battle.net/d3/en/profile/IRLCartoon-1524/career
Do you have a battle.net link to it?

Actually, I may have just realized the problem.. I USED to play on PC long ago, and recently got back into the game on PS4. I think I remember reading somewhere that PS3/4 and Xbox support were not available for D3 Planner. Is that correct? If so, sorry for opening this issue by mistake..

Yes, console profiles are not available since there is no API for them.


text:
🛑 Staging Homologation WebSocket is down

In ab44797, Staging Homologation WebSocket ($STAGING_HOMOLOGATION_WEBSOCKET) was down:

HTTP code: 503
Response time: 876 ms

Resolved: Staging Homologation WebSocket is back up in 56969b7 after 9 minutes.


text:
Bug

Hello. I downloaded your bot, didn't change anything, just uploaded the bot token and AI Dungeon. The mistake is that, continuing the story, the clues appear not one by one, but all at once, overlapping each other.

Hmm that shouldn't happen.
I think I the bug occurs here, when the method obtains the localized tips and splits them using Environment.NewLine.
What OS are you using to self-host the bot?

Tried using both Windows 10 Pro and Ubuntu 18.04 LTS

Tried using both Windows 10 Pro and Ubuntu 18.04 LTS

Well that's weird because I'm using exactly those two systems to develop Fergun and I can't reproduce the bug, but it should be easy to fix by changing Environment.NewLine to a consistent newline character that works on any OS.

@VizEll12 The bug should be fixed with 4120668.


text:
Interoperability with PyVista

Would it be of interest here to use PyVista as a supporting module for 3D visualization?
It should be pretty straightforward as a PyntCloud is basically the same as a  pyvista.PolyData object (vtkPolyData). Also, voxel grids/meshes could easily be represented by pvvista.StructuredGrid, pyvista.UnstructruedGrid, or pyvista.UnifromGrid.
What do you all think of having way a to go back and forth between the PyntCloud class and pyvista's PolyData class? This would allow you all to leverage all of PyVista's filtering algorthims for general datasets and for point based datasets
And plotting a point cloud using PyVista is simply:
import numpy as np
import pyvista as pv

points = np.random.rand(1000, 3)

pc = pv.PolyData(points)

pc.plot(point_size=5, show_grid=True, color='red')

And we have useful features like Eye Dome Lighting for improved depth perception. See this example:
import pyvista as pv
from pyvista import examples

# Eye dome lighting is not currently supported by VTKjs
pv.rcParams['use_panel'] = False

point_cloud = examples.download_lidar()

# Plot a typical point cloud with no EDL
p = pv.Plotter()
p.add_mesh(point_cloud, color='tan', point_size=5)
p.show()

# Plot with EDL
p = pv.Plotter()
p.add_mesh(point_cloud, color='tan', point_size=5)
p.enable_eye_dome_lighting()
p.show()

Hola @banesullivan !
First of all: WoW! :open_mouth: PyVista looks awesome, great work!
So yes, It would definetly be quite cool to add support for PyVista as plotting backend and to include some sort of conversor from/to PyVista's Polydata.
I would certainly work on this myself but contributions and/or ideas are always wellcome.

Thanks, @daavoo! I'm glad to see you think PyVista would fit well here as a supporting module for 3D viz!
I'll try to make time to play around here and see if I can get a PR going

authors: banesullivan daavoo

repo: daavoo/pyntcloud


text:
2 Parents for a child

Hello,
Is it possible to have 2 parents for a child node? I am having a scenario where a child node has 2 or more parents is it possible to do ?

i am also wondering how to do this!

repo: dabeng/OrgChart-Webcomponents


text:
Enhance and structure the Contributors Section

Description
The current "Contributors" section in the README lacks structure and visual appeal. Enhancing this section will better recognize contributors and encourage more participation. The goal is to make it more engaging, visually appealing, and organized while highlighting the valuable efforts of everyone involved.
Expected Outcome

[x] A well-structured and visually appealing "Contributors" section.
[x] Properly display profile images, usernames, and contribution counts.
[x] Ensure consistency in the layout and styling of contributor details.
[x] The section should be more interactive, offering links to contributor profiles.

Assign me the task under GSSOC EXT 24 and Hacktoberfest @daccotta .

@alo7lika go ahead

repo: daccotta-org/daccotta


text:
Add: "auto-label" GitHub Workflow for Automated Labeling

Objective: Implement an "auto-label" GitHub workflow to automatically assign the "gssoc-ext" and "hacktoberfest-accepted" labels to relevant pull requests and issues.
Details:

This workflow will streamline the labeling process by automatically applying the "gssoc-ext" and the "hacktoberfest-accepted" label to Issues.
By automating these labels, we can ensure consistent tracking and visibility of contributions tied to these significant events.

Implementing this "auto-label" workflow will enhance project organization
Hey @daccotta Please assign it to me

it would help us a lot. thank you ⭐

Hey @sid0000007 I have raised the PR
thanks


text:
[BUG] Erro ao acessar tela de dados por grupo/uf

Descrição
Ao acessar a tela de dados por grupo no estado do Acre a tela exibe uma tela em branco com a mensagem An unexpected error has occurred. impedindo o acesso do usuário aos dados do Acre
Soluções Propostas

checar a função getServersideProps do next, ela pode estar com problema quanto a receber dados da api
validar o envio de dados para o frontend para impedir ele de receber dados obrigatórios vazios

Informações Adicionais

no dev tools exibe a mensagem com uma mensagem de erro TypeError: Cannot read properties of undefined (reading 'CrawlingTimestamp') isso indica que o problema provavelmente é na propria geração da tela pelo webpack, ou seja, antes mesmo do html chegar na tela ele já está com problema, podem tomar isso como ponto de partida
url do acontecido https://dadosjusbr.org/grupo/AC

Screenshots

Bug
Proposto?

checar a mensagem de erro exibida quanto ao webpack

Fixed on 34209c7

authors: Manuel-Antunes jeffersonrpn

repo: dadosjusbr/site