Add doc example for using generics to abstract over capture types

(the PR has been changed)

You should use generic, the is a little complex but you can see [here]https://docs.rs/pcap/latest/pcap/struct.Capture.html#impl-2) that next() is implemented for every Activated. This mean you can do:
fn foo<State: Activated>(capture: Capture<State>) {
  capture.next();
}

This is way simpler than use dynamic dispatch.

Ah yeah of course ... thanks!
I updated this PR to just add an example about this to the docs.

LGTM

Thanks @not-my-profile


Pin idna version to 2.8 until new release of requests package

idna 2.8 is required by current request package and idna 2.9 is installed by yarl which is required by vcrpy.
idna(2.9) <-- yarl <-- vcrpy
idna(2.8) <-- requests(2.22.0)

Created issue to track and unpin idna version:
https://github.com/Azure/azure-sdk-for-python/issues/9887

See https://github.com/psf/requests/pull/5342


update dependencies, do not pin patch release

Can you say why this removes the patch numbers?  That sets the floor of the minimum version needed.

its easier for code using this crate to update dependencies if they are not pinned hard like this.
how can I figure out the msrv by a certain dependency change?

Specifying all 3 components doesn't pin a dependency, it just sets the minimum (semver) compatible version.  Specifying x.y is the same as specifying x.y.0.
As it stands, these changes won't affect the versions typically picked up by users of this library. Cargo picks the newest semver compatible version when updating Cargo.lock.  Usually, the only reason to update a minor version in a dependency is if you want to force existing users to a newer version (for example, if a change to git2-rs uses a function was added in a newer version of a dependency).
As for determining msrv, you have to just build/test with older versions until it fails.


These libraries failed to download error

I am trying to install neoforge and this error keeps popping up
I am using Tlauncher
Minecraft Version:1.20.4
Neoforge Version::20.4.232

Also forgot to mention game doesnt even open


Stencilview has bug that does not mask Lines when opacity <1.0 and width >1.0

I came across a bug in the program I am working on which has a scatter plane within a stencilview. The stencilview was masking most of the scatter but had some parts of canvas lines showing through.
I have reproduced this by tweaking the stencil_canvas.py example. The modified code can be found at this gist.
The only thing I changed was to change the Rectangle to a line rectangle with width=1.2 and opacity of 0.9:
Color(0.4, 0.4, 0.4, 0.9)
Line(rectangle=(r() * wid.width + wid.x,
                           r() * wid.height + wid.y, 10, 10), width=1.2)

If you then stencil out the rectangles then you get ugly artefacts where there should be nothing. This image has the centre section as a stencil. There the rectangles are normal but outside still has parts of the rectangle visible which should be completely hidden.

I can work around this by setting the opacity to 1.0 and/or the width to 1.0 (standard GL_LINE). But thought it was worth raising the bug anyway.
I am on Linux with a NVIDIA GPU with proprietary drivers. Open GL version 4.5. I saw this beahviour in Kivy 1.8 and still on 1.9.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Hi guys, I would like add another reproducible example to this bug.
Description
StecilView does not stencil out lines with width > 1 and opacity < 1 correctly. In such cases all self-intersections of the line will still be visible.
Example

Image: The green line has opacity 1 and is therefore not affected. For the red line, the self-intersections are still visibly outside the StencilView, which should not be case.
Reproduction code
from kivy.app import App
from kivy.lang import Builder
from kivy.graphics import Color, Line
from kivy.uix.boxlayout import BoxLayout

kv = """
<MyRoot>:
    orientation: 'vertical'
    Button:
        text: 'You can see that the stencil only removes parts of the line'
    BoxLayout:
        orientation: 'horizontal'
        Button:
            text: 'Move the scatter in the center:'
        StencilView:
            ScatterPlaneLayout:

                canvas:
                    Color:
                        rgb: 0, 1, 0
                    Line:
                        points: app.track2
                        width: 10
                    Color:
                        rgba: 1, 0, 0, .6
                    Line:
                        points: app.track1
                        width: 10
        Button:
            text: ''
    Label:
        text: '... but the stencil doesnt work for the intersections'
"""
Builder.load_string(kv)

class MyApp(App):

    track1 = [(600,500),(1000,700),(1000,500),(600,700), (600,500)]
    track2 = [(700,400),(1100,600),(1100,400),(700,600), (700,400)]

    def build(self):

        self.title = 'Stencil bug'
        root = MyRoot()
        return root

class MyRoot(BoxLayout):
    pass


Service Worker for Offline (Progressive Web)

Hi, I'm wondering if it is possible to implement the service worker for offline purpose (progressive web) using this awesome boilerplate. If it's possible, can someone please show me how to do it? Or at least, give me a hint or two. Thanks.. :)

Hi @agungsb! The only place I have seen implement service workers in a similar setup is https://github.com/mxstbr/react-boilerplate
That could be a good starting point. And if you do manage to implement it, do share your solution back on the thread :)

Wow, thanks for the suggestion. Does it also support Server Side Rendering?

Not yet, unfortunately. Hence you'll have to create your own solution based on what that repo has, and what this repo has.


Implement history (chat feature)

Add OpenSSH Keys to .gitignore
Simplify CurrentModel display.
Implement history (chat feature).
Display time taken for generation of the response.

TODO: Clear history / reset chat

Thanks for the PR!


KartaView is returning 404 errors

URL
No response
How to reproduce the issue?
Development version is broken for me, see seperate issue.
Example error
  1295397_41_038f8_28.jpg:1     GET https://storage9.openstreetcam.org/files/photo/2018/10/3/lth/1295397_41_038f8_28.jpg 404 (Not Found) Image (async) (anonymous) @ id-dcae40b437277267aa4eccf48416d1e826e1bb8fca4cc7a9c205daaeab91f19b.js:2 each_default @ id-dcae40b437277267aa4eccf48416d1e826e1bb8fca4cc7a9c205daaeab91f19b.js:2 attr_default @ id-dcae40b437277267aa4eccf48416d1e826e1bb8fca4cc7a9c205daaeab91f19b.js:2 selectImage @ id-dcae40b437277267aa4eccf48416d1e826e1bb8fca4cc7a9c205daaeab91f19b.js:66 (anonymous) @ id-dcae40b437277267aa4eccf48416d1e826e1bb8fca4cc7a9c205daaeab91f19b.js:14 Promise.then (async) c @ id-dcae40b437277267aa4eccf48416d1e826e1bb8fca4cc7a9c205daaeab91f19b.js:14 (anonymous) @ id-dcae40b437277267aa4eccf48416d1e826e1bb8fca4cc7a9c205daaeab91f19b.js:2
Screenshot(s) or anything else?

Which deployed environments do you see the issue in?
Released version at openstreetmap.org/edit
What version numbers does this issue effect?
2.27.0
Which browsers are you seeing this problem on?
Chrome

Some do not seem to resolve themselves. Example
URL https://www.openstreetmap.org/edit#map=20/40.69316/-73.95475
image https://kartaview.org/details/402532/194

Happening as well with the segment which is at this location.
https://www.openstreetmap.org/edit?changeset=140828429#map=18/48.31701/-89.33319

I took a look at this and as far as I can see, this is an issue with @kartaview's API. The same issue also occurs on the JOSM plugin (I assume this was reported as https://github.com/kartaview/josm-plugin/issues/52 already). I have now contacted KartaView directly via email, which can hopefully resolve the bug on their end soon. :crossed_fingers:


WIP: added wait for flaky tests

added wait for flaky tests

Waiting is not the correct solution here. Will be fixing this in code.


roles

Setup

Rancher version:
Browser type & version:

Describe the bug

To Reproduce

Result
Expected Result

Screenshots

Additional context

Detailed Description

Context

@zyfalading Please can you supply more details and reopen.


[amlii-1409] Add start hook for dogtstatsd replay component

What does this PR do?
Replaces the Configure method on the dogstatsd/replay component with a start hook.

Motivation
The dogstatsd server component has a start hook now so we can remove Configure for replay in favor of a start hook

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
Run dogstatsd-capture, send some metrics.
Run dogstatsd-replay and verify that it still works with the same metrics in the step above being sent again.

/merge


⚠ Bofrost.at has degraded performance

In abd73c4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2872 ms

Resolved: Bofrost.at performance has improved in fd718a4 after 7 minutes.


Add xdebug to PHP extensions to do coverage testing

Instead of generate a new full docker to just add xdebug (which is very common), I prefer to merge everything in the same repo.
If this PR is rejected, I'll just create a new repo extending the current dockers and installing the deps.
Why PR instead of just installing the whole time?
Performance reasons, again, coverage is very common, also debugging.

Thanks for the contribution. XDebug by default slows down the builds, so we decided not to include it by default. You can add custom extensions, though: https://github.com/kirschbaum-development/laravel-test-runner-container?tab=readme-ov-file#custom-extensions


Sentry mode

[ ] Use LED and spam colors
[ ] Ensure not too much extra power is used idling on C3
[ ] When recording, make sure we can shut down (since off_ts isn't None) if power drops too low

test https://github.com/commaai/panda/pull/914


Fix request processor endless loop

Which issues of this PR fixes:

This PR try to fix #89
Change log:

Add KeeperCommon.h which contains common prototypes such as RequestForSession
Rename KeeperCommon.h to KeeperUtils.h
Add RequestId instead of UInt28(session_id, xid)
Fix request processor endless loop
sessionCleanerTask will not finishSession
Some code refactoring.

The CI error is data race and will be fixed here #90


Refactor and provide JSON file loaders for endpoints and tokens

I haven't updated the test yet, just did this to carry on doing what I needed in kubeadm.

Merged thanks. Working on tests and continuing server work now.


Update font.go add ParseMetadata

Add support for multi font name matching

Does this replace getSFNTMetadata? Where would this function be used?

Does this replace getSFNTMetadata? Where would this function be used?

use from here https://github.com/tdewolff/canvas/pull/266


Use boost::bimap

Use boost::bimap instead of 2 hast tables, sets, etc. in all definition repositories inside Scene class.

boost::bimap, like standard map, uses a tree to keep items sorted (instead of an hash table). So it is slower than boost::unordered_map and it is not the right solution.

My previous post is not entirely correct, it is just the default behavior. boost::bimaps::unordered_set_of can be used to have hash maps.

Done.


TS: import does not follow .js suffix requirement

Steps to Reproduce:

open keybindingsEditor.ts
somewhere use the unmnemonicLabel method
let it auto import

=> 🐛 it adds import { unmnemonicLabel } from '../../../../base/common/labels'; which is not ESM compatible.

I'm looking into adopting "moduleResolution": "nodenext" which I think should fix this
Currently blocked by https://github.com/microsoft/vscode-textmate/pull/245


Adds eslint with standard configuration

I added the eslint with standard configuration just as in issue #8

done


Where to incorporate a register_full_backward_hook?

Hi, I am trying to incorporate a backward hook into nnDetection and I was wondering where you would suggest to put it? So far, I have completed several attempts in the predictor.py file, but it doesn't seem to fire. Do you have a suggestion? :)

Dear @rooskraaijveld ,
the predictor is only used for inference of the patients and thus there is not backward pass. You could either register it in the ptmodule (https://github.com/MIC-DKFZ/nnDetection/blob/main/nndet/ptmodule/retinaunet/base.py) or in the model itself (https://github.com/MIC-DKFZ/nnDetection/blob/main/nndet/core/retina.py). The lightning module (ptmodule) might be preferable since it has access to all the individual components and is responsible for building them.
Best,
Michael

Dear Michael,
Thank you so much for you answer.
I am trying to implement the following code in nnDetection:
model.eval()
  for ind, (img, label) in enumerate(loader):
          img = img.to(device, dtype=torch.float)
          output = model(img)
          activation_layer = activation[L].to(device, dtype=torch.float)

          activation_layer.register_hook(activation_layer.grad)
          logit = output[:,1]
          gradients = torch.autograd.grad(logit, activation_layer, retain_graph=True)[0]
          grad = gradients.cpu().detach().numpy()

The code above is for a classifier, and as you can see, both a forward and backward hook are used.
I have been trying to implement this for nnDetection, both in the base.py and retina.py model but it doesn't seem to be working (of course I altered the code to fit the code of nnDetection). It might be a bit too much to ask, but do you have a suggestion on how to do this? Is using a forward and backward hook in the base/retina.py files possible?
I really appreciate your help. Thanks in advance :)

Dear Michael,
Thank you! It worked in the retina.py file!

Great to hear, thanks for the update! I'll close the Issue for now but if anything else comes up please reopen (if the same) or open a new one.


[Feature]: Group by Properties in a Table like Notion

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
https://user-images.githubusercontent.com/5794444/156900014-7cb907bf-3235-432b-be6d-632bea2e2db4.mp4
Grouping by a property of a table like in Notion
Why should this be worked on?
it allows you to visually separate rows in your database views, by pretty much any property.

Here's a tutorial on building a table widget with row grouping by using variable mutations.
https://community.appsmith.com/content/guide/building-table-row-grouping-using-variable-mutations

This isn't the right usecase for this widget


refactorrefactor join node profile when build side shared hash table

Proposed changes
when shared hash table, build side only need two info
-  SharedHashTableFrom:  372f7bca51734528-82dc418b3c3fb3a2
-  WaitForSharedHashTableTime:  2.501ms

Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Merge upstream nuke-build/nuke

We cant sync direct to the main branch cos of our branch protections, so we need to merge into a branch and PR it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 10 committers have signed the CLA.:white_check_mark: matkoch:white_check_mark: lahma:white_check_mark: matt-richardson:x: Kielek:x: ErisApps:x: avidenic:x: lg2de:x: bitbonk:x: Baune8D:x: SierraNLYou have signed the CLA already but the status is still pending? Let us recheck it.


smarter ordering for queries that don't use zk first

Currently, when searching anything where queryUsesZkFirst returns false, all results from zk are still initially in our list of returned items before fetching from history. So, after sorting, regardless of page, the zk results will likely be on the page and much of the persisted history will not be shown. In short, anything that hasn't been persisted yet will likely show up on every page of task search results.
This PR implements two things:

taskHistoryQueryUsesZkFirst option -> if true this would have every query for task history use zk items first. This will only require a single history query, and thus be much faster, with the caveat that anything not persisted will always appear before anything that has already persisted in the general order (but paging will be correct)
If taskHistoryQueryUsesZkFirst is false we will make similar initial queries for items from zk and from persisted history. But, after ordering them, we will check that we have fetched all relevant items from the history. If we have not (i.e. some non-persisted items in the limitStart/limitCount range are beyond the range of all persisted items we have fetched), then we will fetch additional items to ensure correct ordering of all items, but at the added cost of additional queries needed.

My overall thought on this was that we can at least give the user the choice of efficiency/speed vs ensuring correct ordering.
Only other thing I wasn't sure on was whether to make taskHistoryQueryUsesZkFirst available on the query as well to give each individual user making a query the option as well as being abel to set the system-wide default.
/cc @wsorenson @tpetr @Calvinp

Going to merge this into task_search since both are now in qa branch


Support for Foundry

It is currently not possible to use solidity-docgen in a Foundry-based project - or at least, it is not possible to change the default settings.

It should be possible to wire it up for use with Foundry by passing in the solc output as described here in the readme.
What would you expect usage with Foundry to look like? I'm not familiar with extending Foundry so I don't know if it would be some sort of plugin or a Solidity library or what.

I think what I was getting at is to turn this into a CLI, so that solidity-docgen can be run from the command-line and users don't have to import it in a Node.js environment anymore.
In Foundry, there is the ffi cheatcode, which lets users run arbitrary shell commands from within Solidity.

I managed to get solidity-docgen to work with Foundry by using https://book.getfoundry.sh/config/hardhat

I just found out that Foundry offers a similar functionality to solidity-docgen natively.
There is forge cmd, which parses NatSpec comments to autogenerate documentation.
I will close this issue.


updated dependencies

Description
Updated the deprecated dependencies
Type of change
All the changes are done on app/build.gradle file, build.gradle and gradle/wrapper/gradle-wrapper.properties

Good job!


Add more file icon support for different audio files.

Verified that @scottliubox has signed the CLA. Thanks for the pull request!


sidebar-left not open the submenus

I noticed that when the sidebar is mini, it does not open the submenus equal to the project

Hi,
bug fixed.
update to 0.4.1 ;)


Remove language dependency from pre-commit config

We should drop python-3.8.

Yes the two language_version entries can be removed, we did that in other repos already.


Update project bumps PR title for release branches

Description of changes:
Update the PR title with the release name for project bump PRs with a base branch other than main
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/cherry-pick release-0.20

/cherry-pick release-0.19


UIKitView issues

Describe the bug
UIKitView has rendering issues: when scrolling LazyColumn, the position of UIKitView is unstable.
Affected platforms

iOS

Versions

Kotlin version*: 1.8.20
Compose Multiplatform version*: 1.4.3
OS version(s)* (required for Desktop and iOS issues): iOS 16.4
OS architecture (x86 or arm64): x86_64

To Reproduce
Here is the code of the VideoPlayer component and here is the code of the screen.
Steps and/or the code snippet to reproduce the behavior:

Wait for the videos to load.

See how video goes out of the views bounds.

Expected behavior
UIKitView renders correctly LazyColumn.
Videos
https://github.com/JetBrains/compose-multiplatform/assets/61359788/e4f44b8d-d710-4f23-bfa8-3fcbc412a78e

Hello, thanks for submitting the issues.
That's known problem, we'll look into it.
I'll close this issue as duplicate. All works will be in earlier issues, please stay tuned, and feel free to reopen if you have any questions.

Will be fixed in this PR

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Clarify differences in programming language support

EF Core is C# only
EF 6.x supports C# and VB.NET

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0036f8c5-d838-69a5-cc09-dc74df09bc07
Version Independent ID: 5335749f-e32f-979f-7139-f5f14373e283
Content: Compare Entity Framework 6 and Entity Framework Core
Content Source: entity-framework/efcore-and-ef6/index.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @rowanmiller
Microsoft Alias: divega

If you're interested in contributing VB.NET support, see https://github.com/bricelam/EFCore.VisualBasic


Remove font size from active. Fixes #315.

There should be no reason to override the font size in the active state. We should never be changing the fontsize in active or it look jaggidy, just allow the existing font size to cascade.

:shipit:


helm: existing image same tag different sha256

Because of re-pushing an image with the same tag, the following problem has happened in a QA deployment (the re-push happens if one follows our current docs and our current practices):
Let us illustrate it with two deployments DEP1 and DEP2:

DEP1 (execution of helm install/upgrade)

Happens in T1, before DEP2
Helm release used -> reana-0.7.0-dev20200420

This release points to reanahub/reana-workflow-controller:0.6.0-36-gb702986 with sha256 aaabbb

Depends on reana-db==0.7.0.dev20200427

DEP2 (execution of helm install/upgrade)

Happens in T2, after DEP1
Helm release used -> reana-0.7.0-dev20200527

This release points to reanahub/reana-workflow-controller:0.6.0-36-gb702986 with sha256 cccddd

Depends on reana-db==0.7.0.dev20200520
RWC didn't change code wise (same last commit 0.6.0-36-gb702986) but a new version of reana-db was fetched while re-building and re-pushing images producing a new image with sha256 cccddd

This will cause DEP2 to not work because:

The cluster already has reanahub/reana-workflow-controller:0.6.0-36-gb702986 (sha256 aaabbb) present so a re-pull will never be triggered (we use the default ImagePullPolicy: IfNotPresent)
Therefore the reanahub/reana-workflow-controller image that will be used will be aaabbb instead of cccddd which is the one reana-0.7.0-dev20200527 expects with the correct reana-db version

Solutions

Always increase the lower limit of common packages (reana-db, reana-commons etc..), therefore the tag will change (in our example from 0.6.0-36-gb702986 to 0.6.0-37-gc16d3332).

Important: This will, probably, be always necessary because re-pushing the image won't be safe if the previous sha256 aaabbb is used in production and a re-location of the pod from one node to another one triggers a new docker pull, causing production to run all of a sudden bbbccc which might break it.

Use ImagePullPolicy: Always for infrastructure pods.
...

Note: Even though closely related to https://github.com/reanahub/reana/issues/248 this issue is different since it deals with infrastructure pods (RS, RWC) rather than with runtime pods.

I would prefer 1 over 2.  However, we can tackle this problem together with another one: if we rebuild say REANA 0.6.0 two moths after release, the produced docker images are not the same anymore, because we are using relax version constraints like:
$ grep tablib setup.py
    'tablib>=0.12.1,<0.13',

which can produce images once with tablib 0.12.3, once with 0.12.8, based on which version is available.
This is not good for reproducibility :wink:  and we are loosing a lot of time hunting dependencies.
Hence proposal:

always strictly pin all our dependencies, e.g. tablib==0.12.7, be it in setup.py or in requirements.txt, and use the fully pinned list to produce docker images or release Python client on PyPI;
run an update campaign from time to time, e.g. every two weeks, using tools like pip compile and pyup to have security updates;
if we change dependencies in reana-server that depends on reana-db from 0.7.0.dev20200427 to 0.7.0.dev20200520, we'd naturally have to edit requirements.txt, so its source code will change as well and the problem described in this issue (package A changing, package B not changing) would not occur.

WDYT?

For illustration, here is a list of things to do for a cluster package such as reana-workflow-controller in order to move to a pip-compile-based release model:

install pip-tools;
soften dependency pinning in setup.py; e.g. keep lowest versions, but remove upper boundaries;
run pip-compile to generate requirements.txt and add it to the repo; could be done by hand;
amend Dockerfile so that requirements.txt is taken into account when building image;
if we go for manual updating of Python dependencies from time to time, there is no need to plug pip-compile into Travis CI workflows, I think;
we keep requirements-builder only for those packages that are user-facing and that are released on PyPI, e.g. r-client; all cluster packages will be "pinned" via pip-compile and requirements.txt;
if we upgrade r-commons or r-db, then we have to edit each cluster component to increase minimal version in its setup.py to the given new wanted value; we then rerun pip-compile for this change -- beware if this might bring new deps! we could just as well edit only r-commons and r-db versions, and leave general update for later; see below -- this will lead to bulk-releasing of all cluster components; we may want to script this in reana-dev;
every say two weeks, we try to run pip-compile in all packages, in order to bring up latest updates of say tablib, and we run CI tests carefully.
In this way we'd distinguish between reana-updates (must be performed rapidly, even many times during day) and regular upstream package updates (can be done once per week or two).
pip compile has a notion of "packages" that can help with that, e.g. update only reana package and not global package, etc.

All REANA cluster components have been moved to use the new pip-compile based freezing.
All REANA client and shared components will remain non-freezed so that users can install them on a variety of existing systems, perhaps into their existing environments.
This issue can therefore be closed.


go build not working

Hmm, not sure what changed (I am using vim-go) but before, I would see build errors when editing a go file, now I don't.
Any thoughts?
// Test ...
func Test() int {
}

The example above should raise or display an error that it doesn't have a return value.
So I think go build is not running or something. Because when I run go build either on the CLI or through vim-go it works fine (it detects the error).

Does it run when you save the file?

It doesn't. But I fixed it when I started using gometalinter. Also after reading the docs, I think that go build is no longer run by default.

 This is documented in :help ale-go-options. I believe it was disabled by default because it can be too slow for some users.

Yep yep. Thanks for the replies.


Passing variables to @BeforeSuite methods

I'm in the process of migrating from behat 2.5 to behat 3. Things seem to be going reasonably ok at the moment, but I've hit a bit of an issue.
Previously in behat 2.5 we passed in a the %paths.base% from behat.yml into a parameter, this parameter was accessed in a constructor and wrote out a number of paths to static variables which were then called from within a @BeforeSuite method in order to setup a number of required folders.
It appears with behat 3 that no constructors are now called before the @BeforeSuite method is called, and as such I can't seem to pass these paths to this method.
Any idea what would be the new method for me to pass the base path in so it can be accessed in @BeforeSuite?

Never mind, I've found and used DIR :)


ARM 64

I have my app working properly on Android using the build instructions. However, I only have armeabi-v7a libraries, and need arm64 to meet Googles requirements.
I see a lot of past closed bugs going back to 2019, 2018 stating that arm64 support is coming, but it doesnt look like instructions were ever posted. Can you confirm:

arm64 support works
what has to be done to build it for Android

Hi @jagould2012, yes, arm64 support is in our backlog.  The changes will mostly be in android.sh to support the new platform so that the correct toolchains are used.

I see issues going back to 2018 about it being in the backlog. Google will no longer accept 32 bit apps. When is it expected?
Can you share any of the work on android.sh? I started changing it myself and got all the third-party stuff building for arm64, but then avs wouldn’t link against them. Any thoughts on what needs to change on avs other than the tool chain?


layoutOptions typing should catch flow-grid "wrong options"

As noted in the code review https://github.com/phetsims/scenery/issues/1419:

So what happens if I create a Node that has some GridCellOptions, but use it with a FlowBox? Are the irrelevant options simply ignored? Will that mask programming errors?

This is true currently, and I believe we should add assertions to make sure that flow options aren't used for grid constraints, and grid options aren't used for flow constraints. E.g. passing xAlign into a FlowBox child's layoutOptions should be an assertion failure, and passing align into a GridBox child's layoutOptions should be an assertion failure.

I looked at this to try and get a head start and made a lot of discoveries, but still have some questions, and feel blocked enough that I think this would be a good issue to pair with @jonathanolson on.

Closing as duplication of https://github.com/phetsims/scenery/issues/1476.


Build failing with mvn

Hi
Every time I try and build the .jar files with mvn package it fails.  I am including my full -e output below.
Thanks
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for edu.arizona.sista:processors:jar:2.0
[WARNING] 'build.plugins.plugin.version' for org.scala-tools:maven-scala-plugin is missing. @ line 89, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building processors 2.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ processors ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ processors ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 42 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ processors ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-scala-plugin:2.15.2:compile (default) @ processors ---
[INFO] Checking for multiple versions of scala
[WARNING]  Expected all dependencies to require Scala version: 2.10.1
[WARNING]  edu.arizona.sista:processors:2.0 requires scala version: 2.10.1
[WARNING]  org.scalatest:scalatest_2.10:2.0.M6-SNAP17 requires scala version: 2.10.0
[WARNING] Multiple versions of scala libraries detected!
[INFO] includes = [/*.scala,/.java,]
[INFO] excludes = []
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ processors ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/opt/ENV/lib/processors/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ processors ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-scala-plugin:2.15.2:testCompile (default) @ processors ---
[INFO] Checking for multiple versions of scala
[WARNING]  Expected all dependencies to require Scala version: 2.10.1
[WARNING]  edu.arizona.sista:processors:2.0 requires scala version: 2.10.1
[WARNING]  org.scalatest:scalatest_2.10:2.0.M6-SNAP17 requires scala version: 2.10.0
[WARNING] Multiple versions of scala libraries detected!
[INFO] includes = [**/.scala,**/*.java,]
[INFO] excludes = []
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) @ processors ---
[INFO] Surefire report directory: /var/opt/ENV/lib/processors/target/surefire-reports

T E S T S
Running edu.arizona.sista.processors.TestFastNLPProcessor
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.302 sec <<< FAILURE!
Running edu.arizona.sista.processors.TestProcessorThreading
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.07 sec <<< FAILURE!
Running edu.arizona.sista.processors.TestCoreNLPProcessor
Adding annotator tokenize
Adding annotator ssplit
Adding annotator tokenize
Adding annotator tokenize
Adding annotator ssplit
Adding annotator pos
Reading POS tagger model from edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger ... done [3.2 sec].
Adding annotator tokenize
Adding annotator pos
Adding annotator lemma
Adding annotator tokenize
Adding annotator pos
Adding annotator lemma
Adding annotator ner
Loading classifier from edu/stanford/nlp/models/ner/english.all.3class.distsim.crf.ser.gz ... done [7.8 sec].
Loading classifier from edu/stanford/nlp/models/ner/english.muc.7class.distsim.crf.ser.gz ... done [7.6 sec].
Loading classifier from edu/stanford/nlp/models/ner/english.conll.4class.distsim.crf.ser.gz ... done [5.4 sec].
Initializing JollyDayHoliday for sutime
Reading TokensRegex rules from edu/stanford/nlp/models/sutime/defs.sutime.txt
Reading TokensRegex rules from edu/stanford/nlp/models/sutime/english.sutime.txt
Mar 02, 2014 12:15:49 PM edu.stanford.nlp.ling.tokensregex.CoreMapExpressionExtractor appendRules
INFO: Ignoring inactive rule: temporal-composite-8:ranges
Reading TokensRegex rules from edu/stanford/nlp/models/sutime/english.holidays.sutime.txt
Adding annotator tokenize
Adding annotator parse
Loading parser from serialized file edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz ... done [1.9 sec].
Constituent parse tree:
(ROOT
(S
(NP
(NNP John)
(NNP Doe)
)
(VP
(VBD went)
(PP
(TO to)
(NP
(NNP China)
)
)
)
)
)
Adding annotator tokenize
Adding annotator ssplit
Adding annotator pos
Adding annotator lemma
Adding annotator ner
Adding annotator parse
Adding annotator dcoref
Adding annotator tokenize
Adding annotator parse
List(
(NP
(NNP John)
(NNP Doe)
),
(NP
(DT the)
(NN president)
),
(NP
(NNP IBM)
),
(NP
(NNP China)
))
Adding annotator tokenize
Adding annotator parse
S constituent is:
(S
(NP
(NNP John)
(NNP Doe)
)
(VP
(VBD went)
(PP
(TO to)
(NP
(NNP China)
)
)
)
)
NP constituent is:
(NP
(NNP John)
(NNP Doe)
)
VP constituent is:
(VP
(VBD went)
(PP
(TO to)
(NP
(NNP China)
)
)
)
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.053 sec
Running edu.arizona.sista.processors.TestDocumentSerializer
Adding annotator tokenize
Adding annotator ssplit
Adding annotator pos
Adding annotator lemma
Adding annotator ner
Adding annotator parse
Adding annotator dcoref
Constructed a document with 2 sentences.
	O	O	_
D	1
2
1	0	nn
2	1	nsubj
2	4	prep_to
EOX
Y	1
ROOT	0	0	6	1	S	1	0	6	3	NP	1	0	2	2	NNP	0	0	1	1	John	0	0	1	0	NNP	0	1	2	1	Doe	0	1	2	0	VP	0	2	5	2	VBD	0	2	3	1	went	0	2	3	0	PP	0	3	5	2	TO	0	3	4	1	to	0	3	4	0	NP	0	4	5	1	NNP	0	4	5	1	China	0	4	5	0	.0	5	6	1	.	0	5	6	0
EOS
T	6
There	24	29	RB	there	O	O	_
,	29	30	,	,	O	O	_
he	31	33	PRP	he	O	O	_
visited	34	41	VBD	visit	O	O	_
Beijing	42	49	NNP	Beijing	LOCATION	O	_
.	49	50	.	.	O	O	_
D	1
3
3	0	advmod
3	2	nsubj
3	4	dobj
EOX
Y	1
ROOT	0	0	6	1	S	3	0	6	5	ADVP	0	0	1	1	RB	0	0	1	1	There	0	0	1	0	,	0	1	2	1	,0	1	2	0	NP	0	2	3	1	PRP	02	3	1	he	0	2	3	0	VP	0	35	2	VBD	0	3	4	1	visited	0	3	40	NP	0	4	5	1	NNP	0	4	5	1Beijing	0	4	5	0	.	0	5	6	1	.0	5	6	0
EOS
C	4
0	1	0	2	1
1	4	4	5	3
1	2	2	3	1
0	4	4	5	2
EOD
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.368 sec
Results :
Tests in error:
testParser2(edu.arizona.sista.processors.TestFastNLPProcessor)
testParser1(edu.arizona.sista.processors.TestFastNLPProcessor)
testTwoThreadsSameProcCoreNLP(edu.arizona.sista.processors.TestProcessorThreading)
testTwoThreadsDifferentProcCoreNLP(edu.arizona.sista.processors.TestProcessorThreading)
testTwoThreadsSameProcFastNLP(edu.arizona.sista.processors.TestProcessorThreading)
testTwoThreadsDifferentProcFastNLP(edu.arizona.sista.processors.TestProcessorThreading)
Tests run: 17, Failures: 0, Errors: 6, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:30.794s
[INFO] Finished at: Sun Mar 02 12:16:45 PST 2014
[INFO] Final Memory: 11M/210M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project processors: There are test failures.
[ERROR]
[ERROR] Please refer to /var/opt/ENV/lib/processors/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project processors: There are test failures.
Please refer to /var/opt/ENV/lib/processors/target/surefire-reports for the individual test results.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
Please refer to /var/opt/ENV/lib/processors/target/surefire-reports for the individual test results.
at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:55)
at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:592)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Was this fixed? Closing for now. We can re-open if needed.


Fixed minor typo in contributing guide

Corrected a minor typo in the "Contributing guide" to improve readability. Changed "do" to "to" on line 287 in CONTRIBUTING.md.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

The commit message is perhaps overly verbose, but merged, thanks @gusain71!


[Request for External] report 322 "Aged Accounts Payable"

Dear ALAppExtensions team,
On behalf of 4PS I would like to request to make variable 'VendorFilter' protected on report 322 "Aged Accounts Payable".
protected var
    VendorFilter: Text;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Suggestion: add connected / online players

I would like to know who is online when I log in. That way, I will know whether or not it is a good idea to start a game.

this is now done


please add the new chat methods

please add the new groupchat methods like
restrictchatmember
promotechatmember

They're already on Github, they'll be published to npm on next release.

We shall publish a new release soon. Before then, you can install the latest code from Github, using npm:
$ npm install github:yagop/node-telegram-bot-api

See https://github.com/yagop/node-telegram-bot-api/issues/361 for more information.
#ANS


python3Packages.cupy: 8.6.0 -> 9.4.0

Motivation for this change
Update cupy to the latest version. See also https://github.com/NixOS/nixpkgs/pull/136655#issuecomment-913253207 for the motivation behind this change. We need to update cupy in order to upgrade the cutensor libraries.
Things done
I've tested that basic cupy operations still work as expected in the python REPL. All reverse dependencies were also tested via nixpkgs-review.

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Already in master, see https://github.com/NixOS/nixpkgs/commit/9c4a68a2519842d78543ef5cdb2ffb236d8a80e1.


whitelist, blacklist r.Name matches even if wildcard not specified

I want to ask whether it's a specification or not.
When you specify whitelist or blacklist in garm, regexp matches when r.Name is not specified with wildcard.
(not strictly matched)
examples
if you specify whitelist below
Verb:      "dummyVerb",
Namespace: "dummyNamespace",
APIGroup:  "dummyAPIGroup",
Resource:  "dummyResource",
Name:      "dummyName",

it matches with

dummyVerb-dummyNamespace-dummyAPIGroup-dummyResource-dummyName
dummyVerb-dummyNamespace-dummyAPIGroup-dummyResource-dummyNamexxxx
dummyVerb-dummyNamespace-dummyAPIGroup-dummyResource-dummyNameyyyy

expected result
In above case, it is more intuitive if it only matches with dummyVerb-dummyNamespace-dummyAPIGroup-dummyResource-dummyName
cause
MatchString matches if it contains the string
https://github.com/yahoojapan/garm/blob/367ec9efa67bf25ec31fc3db967e6be827f2c555/config/config.go#L279
This happens in r.Verb (suffix match)  r.Name (prefix match)

you can try here: https://play.golang.org/p/gQR-nghc4QF

Thank you for your issue and sorry for the inconvenience.  This is not the expected specification.
We expected each entry of the whitelist and blacklist should have a wildcard character (* or ?) if wildcard match is needed, but not true.
We will fix this unexpected specification, but we are sorry to take some time.

@falz-tino Thanks, got it. I'll close this issue, please let me know if there is any update.


Update request-remote.md

Change (zulip-venv) to (zulip-py3-venv)

Merged, after changing the commit message to
docs: Update request-remote.md.
(Note area in front, and period at the end.)
Thanks @itstakenalr!


screenshots upload

Issue that this pull request solves
Closes: # 145
Proposed changes
Brief description of what is fixed or changed
Types of changes
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings

Screenshots

Other information
Any other information that is important to this pull request

is my contribution successful??
On Sun, 26 Apr 2020, 1:12 am Rohit Potter<EMAIL_ADDRESS>wrote:

Merged #318 https://github.com/rpotter12/whatsapp-play/pull/318 into
master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rpotter12/whatsapp-play/pull/318#event-3272228509,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APKYEIEG56LGOKCSLTSC4Z3ROM4JFANCNFSM4MQ222DA
.


Move CosmosAuthorizationTokenResolver To Implementation

Move CosmosAuthorizationTokenResolver To Implementation
Move RequestVerb to Implementation
Move CosmosResourceType to Implementation
Remove public setter of CosmosAuthorizationTokenResolver inside CosmosClientBuilder
Remove tokenResolver validation from validateConfig() from CosmosClientBuilder
Remove tokenResolver validation from build() from AsyncDocumentClient
Ignore CosmosAuthorizationTokenResolverTest

This issue addresses : #10690

@xinlian12 a minor comment
public interface CosmosAuthorizationTokenResolver {
    String getAuthorizationToken(RequestVerb requestVerb,
                                 String resourceIdOrFullName,
                                 CosmosResourceType resourceType,
                                 Map<String, Object> properties);
}

The following classes are referenced in CosmosAuthorizationTokenResolver.
Please check if they are referenced anywhere else, if not, they should also be moved to implementation:
RequestVerb
CosmosResourceType

Moved RequestVerb and CosmosResourceType into Implementation as well

/azp run java - cosmos - tests

/azp run java - cosmos - tests

Single Region Strong Https E2E passed.. Just failed on after class cleaning up because of request rate too large.. Here is a snippet from raw logs:
2020-05-05T17:13:36.4805050Z 2020-05-05 17:13:36,479       [main] INFO  com.azure.cosmos.benchmark.ReadMyWritesConsistencyTest$1 - [-1] operations performed in [2700] seconds.
2020-05-05T17:13:36.4845226Z 5/5/20, 5:13:36 PM =============================================================
2020-05-05T17:13:36.4846196Z
2020-05-05T17:13:36.4847973Z -- Meters ----------------------------------------------------------------------
2020-05-05T17:13:36.4848765Z #Successful Operations
2020-05-05T17:13:36.4849260Z              count = 520557
2020-05-05T17:13:36.4849933Z          mean rate = 192.79 events/second
2020-05-05T17:13:36.4850875Z      1-minute rate = 191.27 events/second
2020-05-05T17:13:36.4851573Z      5-minute rate = 195.15 events/second
2020-05-05T17:13:36.4852279Z     15-minute rate = 190.64 events/second
2020-05-05T17:13:36.4852771Z #Unsuccessful Operations
2020-05-05T17:13:36.4853434Z              count = 0
2020-05-05T17:13:36.4854251Z          mean rate = 0.00 events/second
2020-05-05T17:13:36.4854879Z      1-minute rate = 0.00 events/second
2020-05-05T17:13:36.4855516Z      5-minute rate = 0.00 events/second
2020-05-05T17:13:36.4856528Z     15-minute rate = 0.00 events/second
2020-05-05T17:13:36.4857200Z
2020-05-05T17:13:36.4857489Z
2020-05-05T17:13:36.4858362Z 2020-05-05 17:13:36,481       [main] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Shutting down ...
2020-05-05T17:13:36.4860046Z 2020-05-05 17:13:36,481       [main] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Closing Global Endpoint Manager ...
2020-05-05T17:13:36.4861165Z 2020-05-05 17:13:36,481       [main] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Closing StoreClientFactory ...
2020-05-05T17:13:36.4862310Z 2020-05-05 17:13:36,481       [main] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Shutting down reactorHttpClient ...
2020-05-05T17:13:36.4863408Z 2020-05-05 17:13:36,481       [main] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Shutting down completed.


typo in geodesic/spherical_slab.hh

In the header guard on line 9.
Change
#ifndef SPECTRUM_SPHEIRCAL_SLAB
#define SPECTRUM_SPHERICAL_SLAB

to
#ifndef SPECTRUM_SPHERICAL_SLAB
#define SPECTRUM_SPHERICAL_SLAB

Yes, I fixed that one.
On Tue, Dec 24, 2024 at 10:01 AM Juan G Alonso Guzman <
@.***> wrote:

From looking at the most recent geodesic files, this issue looks fixed.
Can you close it if it is? I'd do it myself but I haven't been working with
the code closely and I don't want to step on anyone's toes.
—
Reply to this email directly, view it on GitHub
https://github.com/vflorins/SPECTRUM/issues/36#issuecomment-2561255735,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATBK2WGEK2APBY67JFODLLT2HGAMPAVCNFSM6AAAAABTMJ7FTOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRRGI2TKNZTGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Vladimir Florinski

Thanks guys, just testing out the issue ticket system.


[FEATURE]: set ComputePattern for op rather than parameter

Describe the feature
We set spec on parameter now, which means each paramter has its own unchanged compute_pattern. However, some models, like GPT-2, share parameter among different layers. GPT-2 shares token embedding weight among embedding layer and classifier layer, and it calls torch.nn.functional.embedding in embedding layer and calls torch.nn.functional.linear in classifier layer. One parameter may have two different compute pattern during training. Therefore, we should set compute pattern for operations rather than parameters.

We have updated a lot. This issue was closed due to inactivity. Thanks.


[PT Run] System plugin: Update UnitTests after adding UEFI command

Description of the new feature / enhancement
With #15629 we have added an new command/result to reboot into UEFI Firmware Settings. After merging the PR the UnitTests have to be updated. The problem here is that the result for UEFI is only shown on Systems booted in UEFI mode.
I don't know how to update the tests to work on UEFI and BIOS systems.
Scenario when this would be used?
Code quality check.
Supporting information
No response

@Aaron-Junker
Can you please assign me?

@Aaron-Junker
Can you please assign me?

I didn't write something about in-progress 😅

@Aaron-Junker
Can you please assign me?

I didn't write something about in-progress 😅

I just thought...

@crutkas
Closing? It is not user facing.

I like keeping it open typically so we know work done.

This is fixed with 0.561.  Please head over to https://aka.ms/installpowertoys


[SUGGESTION] Seperate title and description

Description of your issue, suggested solution and other information
Just an idea.
Some titles are really long and some titles are way too short. By creating a seperate 'title' and 'description' there would also be more space on the homepage. The description will only be shown on the promise page.

Make sure you are using the latest version: pull latest commits before reporting any issues.

[x] I've verified and I assure that I'm looking at the latest version of Trump Tracker.

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably the To Do List section.
[x] Searched the bugtracker for similar issues including closed ones

How do we standardize promise length and what should overflow into the description? Do you have anything in mind?

If we want the full title to fit inside a h2 without wrapping to a newline, the limit is 69 characters. That is very short but I think it will be a good guideline.
The twitter limit is ~62 characters if we include the hastags and promise no: etc.

69 characters at what viewport (window browser size)?
I'll keep this in mind but I think the newline will probably end up happening anyways.
A key point we need to focus on is mobile responsiveness.
I'll take a look at the data.yaml tonight

I meant 89 at 1920x1080


Why do I always get a detect error when I try to run the face_verify.py file?

Why do I always get a detect error when I try to run the face_verify.py file?

Me too

Remove dim = -1 in get_net.py  ( line 70 )

it can be both or one of either mtcnn or arcface itself, try to remove try, except in the program so u could see error log displayed to ur terminal

ME TOO


Buttons is gray when popover showed

Hello,

When I present popover all buttons are grayed. I need the buttons are not changed. I did not find the needed setting. Please tell me there is such a setting? Or that the change in the code?

When popover is presented I get incoming call. In my view controller called viewWillDisapear. In this method I dismiss popover. But after call all buttons in application are gray.

Thank you.

Same issue here. Quite weird. It seems to do that only on buttons for which I have applied a tint.

There is dimsBackgroundViewsTintColor in WYPopoverTheme that you can set NO.


Changing embed content

hi my friend, i am setting up a special raffle bot for myself. I want to use this infrastructure, but I have a question. After the draw is over, I don't want the name of the winner to be included in the final embed message, just displaying the winner with a plain message is sufficient. how can i remove winner name from embed message

Just go into the start.js file there you can edit all of the embeds and customize them.

Alright I'll close this now, feel free to reopen it if you need more help.


Feature work/notes/fixes for tbdex PoC

Must build:

[ ] Flutter work (@wesbillman)(didpay)
[x] #741 (@wesbillman)
[ ] #748
[ ] Kotlin API for secrets (@worstell and @alecthomas)
[ ] Kotlin API for KMS (@worstell and @alecthomas)
[ ] Kotlin API for database connection access (@worstell and @alecthomas)
[ ] #756

Future work/notes:

[ ] Automatically generate a HTTP ingress gateway from an OpenAPI spec. Not sure how this would work, or if it's a good idea.

@alecthomas would a queueing mechanism be to chonky to add to this issue or does it make sense to track separately?

Ah, no, I knew there was something I was forgetting. I'll add it.

What queueing pattern(s) do you need initially?

i think pubsub would likely be best!

Hehe well there are two patterns: fanout and first-come first-served. I assume you mean first-come first-served? Where multiple consumers consume from a single subscription to a topic.

ah aye apologies. i scrolled to the top of the doc and read "messaging patterns" so thought you were asking which of the patterns first. should've just looked at exactly where you linked! correct pubsub first-come first-served

@mistermoe can you send us the link to your KSM interface code please?

https://github.com/TBD54566975/web5-kt/blob/main/crypto/src/main/kotlin/web5/sdk/crypto/KeyGenerator.kt

Moved all the other issues to the #728


[Bug]: Use puppeteer in docker, can't launch it

Minimal, reproducible example
import puppeteer from 'puppeteer-core';

const browser = await puppeteer.launch({
  headless: 'shell',
  executablePath: 'google-chrome-stable',
  args: ['--no-sandbox', '--disable-dev-shm-usage'],
});

Error string
Browser was not found at the configured executablePath (google-chrome-stable) at ChromeLauncher.launch
Bug behavior

[ ] Flaky
[ ] PDF

Background
I use the puppeteer in the docker, the docker is build from ghcr.io/puppeteer/puppeteer,  the Dockerfile is
FROM ghcr.io/puppeteer/puppeteer

USER pptruser

WORKDIR /app

COPY --chown=pptruser:pptruser ["dist", "package.json", "package-lock.json", "./"]

ENV NODE_ENV production
ENV TZ=Asia/Shanghai

RUN npm ci --omit=dev

CMD ["node", "index.js"]

Expectation
this is my code:
import puppeteer from 'puppeteer-core';

const browser = await puppeteer.launch({
  headless: 'shell',
  executablePath:  'google-chrome-stable',
  args: ['--no-sandbox', '--disable-dev-shm-usage'],
});

Reality
the code is OK when not in docker environment, but when I run the code in docker, the error is:
Browser was not found at the configured executablePath (google-chrome-stable) at ChromeLauncher.launch (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js:72:19)

when I run 'google-chrome-stable' in docker exec:
$ google-chrome-stable
[27:27:0703/144445.324528:ERROR:browser_dm_token_storage_linux.cc(105)] Error: /etc/machine-id contains 0 characters (32 were expected).
[27:53:0703/144445.348861:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[27:27:0703/144445.354140:ERROR:ozone_platform_x11.cc(244)] Missing X server or $DISPLAY
[27:27:0703/144445.354205:ERROR:env.cc(258)] The platform failed to initialize.  Exiting.

Puppeteer configuration file (if used)
No response
Puppeteer version
22.12.1
Node version
20.9.0
Package manager
npm
Package manager version
10.5.0
Operating system
Linux

Puppeteer checks if executable exists so it expects a full path. Try running which google-chrome-stable in Docker and using the full path to the binary that is returned.

Also, consider using the bundled version of Chrome for Testing without providing an executable path.

Puppeteer checks if executable exists so it expects a full path. Try running which google-chrome-stable in Docker and using the full path to the binary that is returned.

It works, Thank you!


[Feature] Settings Page

I want to create a settings page for this application, where users can edit their username and other things. Assign this issue to me under GSSoC'24

assigned.

Hey @Sayak-bhuniya, @Mohdjami, I believe I can work on this issue and raise a PR today or tomorrow.
Approach: I will create a route in the backend to update the user name. And for frontend I will create a settings page where I will create a form to update the username.
Please assign me this issue under GSSoC'24 @sayak-bhuniya and @mohdjami. It will be my first contribution in GSSoC'24

Hey @Sayak-Bhunia , @mohdjami , I believe I can work on this issue and raise a PR today or tomorrow.
Approach: I will create a route in the backend to update the user name. And for frontend I will create a settings page where I will create a form to update the username.
Please assign me this issue under GSSoC'24 @sayak-bhuniya and @mohdjami. It will be my first contribution in GSSoC'24

Hey @Sayak-Bhunia , @mohdjami , I believe I can work on this issue and raise a PR today or tomorrow.
Approach: I will create a route in the backend to update the user name. And for frontend I will create a settings page where I will create a form to update the username.
Please assign me this issue under GSSoC'24 @sayak-bhuniya and @mohdjami. It will be my first contribution in GSSoC'24

Its already assigned to @mohdjami.

Okay @shresthaPandit, @Sayak-Bhunia assign him this issue. I am already working on 3 issues.

Okay @shresthaPandit, @Sayak-Bhunia assign him this issue. I am already working on 3 issues.

Okay @mohdjami the issue is assigned to u @shresthaPandit.

Okay @shresthaPandit, @Sayak-Bhunia assign him this issue. I am already working on 3 issues.

Okay @mohdjami the issue is assigned to u @shresthaPandit.

@shresthaPandit best of luck 🤞 for ur valuable contribution🍀and do ⭐ the repo.

Thanks @Sayak-Bhunia  I will start working today

@Sayak-Bhunia  Do you need anything else in the settings page other than username update

@Sayak-Bhunia  Do you need anything else in the settings page other than username update

No.

hey @Sayak-Bhunia I have sucessfully created a PR please review and merge it .


Users list not loading

Hi All! Ill have a problem with list of users.
Version information

Laravel: v5.8
Voyager: v1.2
PHP: 7.1
Database:  MySQL 5.6

Description

The list of users is not loaded(502 Bad Gateway). There are 4500 users in the database, what should I do?
Steps To Reproduce
Add 4k+ users to DB.

Please provide full version v1.2.?
Do you have Server-side Pagination enabled in BREAD settings?
If not try if that solves the problem and let us know.

Server-side Pagination enabled

I'll enable Server-side Pagination, then all works.
Thanks you!


Add Python 3.11 support and tests, remove Python 3.7

Coverage remained the same at 90.047% when pulling 6bb3a5230d0a9b2d09fe4949a981947b0ae58a2e on ac130kz:master into 167c3485091bc149cfe7adb1f981f72fb3b6dd0b on GDay:master.

Thanks for this! Question: it seems like python 3.7 is still a supported option for the next 7 months. Is there a specific reason why want to remove that?

Thanks for this! Question: it seems like python 3.7 is still a supported option for the next 7 months. Is there a specific reason why want to remove that?

Python 3.7 was already removed from the supported versions in CI, so I thought why not remove it since it's going to reach EOL quite soon.


Add Spark 3.4.4 Shim [databricks]

Fix shimplify to execute mvn generate-sources -Dshimplify=true -Dshimplify.move=true -Dshimplify.overwrite=true -Dshimplify.add.shim=344 -Dshimplify.add.base=343 -s jenkins/settings.xml
Reduce bloat in aggregator by creating a parametrizable detla-lake dependency.

Closes #11662

400 failure is a known issue
344 is waiting for spark-rapids-private

build

build

build


KERNEL: Fix matmul correctness issues

https://github.com/openxla/iree/pull/16510 and https://github.com/openxla/iree/pull/16549 to turn on matmul test suites.

https://github.com/openxla/iree/pull/16516 and https://github.com/openxla/iree/pull/16551 fixes known issues. matmul is correct now. closing this.


fix errors color coding

the undecorate_regex captures part of the ansi color codes and eats them in error reports.
updated the regex to exclude ansi codes from matched names.
fixes #64

works for me


Can't get Raven to work with express

I am testing with a simple express app
import express from 'express';
import cors from 'cors';
import Raven from './raven';
import config from './configs';

Raven.config(config.sentry.DSN, {
  captureUnhandledRejections: true
}).install();
Raven.on('logged', function () {
  console.log('raven event sent');
});

const app = express();
app.use(Raven.requestHandler());
app.use(Raven.errorHandler());
app.use(cors());
// health check
app.get(`/health`, (req, res) => {
  throw new Error('get request fail');
  res.sendStatus(200);
});

export default {
  start: () => {
    app.listen(5050, () => {
      console.log('Listening on 5050');
    });
  },
};

Hitting the url with curl throws error in the console but error is not sent to Sentry and also the error event never gets called.

nevermind found a solution here https://github.com/getsentry/raven-node/issues/24#issuecomment-60571496
You can have to use raven middleware after the paths
...
app.use(cors());
// health check
app.get(`/health`, (req, res) => {
  throw new Error('get request fail');
  res.sendStatus(200);
});
app.use(Raven.requestHandler());
app.use(Raven.errorHandler());
...

Reference

You need to use the requestHandler middleware before your other paths/middlewares and the errorHandler middleware after. This is documented here.


Redo 'About'

[ ] Separate 'Now'
[ ] Separate 'Journal' section - set up using blog template
[ ] Redo 'About' setup - links
[ ] Redo Home page
[ ] Set up 'Site Updates', 'Links' and 'Journal' as links from About page

Also update bio -remove work stuff


python311Packages.tensorflow-probability: 0.19.0 -> 0.21.0

Description of changes
Changelog: https://github.com/tensorflow/probability/releases/tag/v0.21.0
We don't update to the latest version (0.22.1) because 0.21.0 is the latest one that is compatible with tensorflow 2.13.
Updating to 0.22.1 will be possible once tensorflow will be updated.
Also, add myself as a maintainer because there were none for this package.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 266225 run on x86_64-linux 1

8 packages marked as broken and skipped:

python310Packages.distrax
python310Packages.distrax.dist
python310Packages.rlax
python310Packages.rlax.dist
python311Packages.distrax
python311Packages.distrax.dist
python311Packages.rlax
python311Packages.rlax.dist

8 packages built:

python310Packages.tensorflow-probability
python310Packages.tensorflow-probability.dist
python310Packages.trfl
python310Packages.trfl.dist
python311Packages.tensorflow-probability
python311Packages.tensorflow-probability.dist
python311Packages.trfl
python311Packages.trfl.dist

Result of nixpkgs-review pr 266225 at 1cffb044 run on aarch64-darwin 1

4 packages marked as broken and skipped:

python310Packages.tensorflow-probability
python310Packages.trfl
python311Packages.tensorflow-probability
python311Packages.trfl


s3 block adapter option to disable bucket discovery

Fix #2697

Looks good! What about documenting this? Is the list on https://docs.lakefs.io/reference/configuration.html#reference generated or manually updated?

good call - added the parameter reference.

Looks good! What about documenting this? Is the list on https://docs.lakefs.io/reference/configuration.html#reference generated or manually updated?

manual update, just commands.md is auto-generated.

Updated the docs - minio and additional comments when region is used in the configuration.
We probably will need to address the gateway "region" configuration documentation too - but it will be not in this PR.

Neat!
I guess this will be too hard to test meaningfully. But can you at least run it once with and without, and examine the logs? The plumbing from configuration to execution is somewhat long.
Also not sure why specify a region (in documentation) when we do have discovery. But fixing these docs can wait for another PR.

Tested with and without discovery in local MinIO.


GT sync 5.7.1

Sync with 5.7.1 and fix Package.swift (github has a fix but it's in develop, not in a released version)


Unable to locate package libboost1.55-all-dev

build_all.sh script tries to install libboost1.55-all-dev.
On ubuntu 16.04 LTS this throws the following errors:
E: Unable to locate package libboost1.55-all-dev
E: Couldn't find any package by glob 'libboost1.55-all-dev'
E: Couldn't find any package by regex 'libboost1.55-all-dev'

A workaround is manually installing.
sudo apt-get libboost-all-dev

Is libboost1.55 required or can I use libboost1.58?

You can surely use a higher version.

E: Invalid operation libboost-all-dev
How to resolve ?
Not resolve by above replies

sudo apt-get install libboost-all-dev

doesn't work after i install libboost-all-dev

sudo apt-get install libboost1.55-all-dev

[sudo] password for fm-pc-lt-275:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libboost1.55-all-dev
E: Couldn't find any package by glob 'libboost1.55-all-dev'
E: Couldn't find any package by regex 'libboost1.55-all-dev'


A1 might fail to launch

Possibly related to NA? Need more info

@yusufm please provide more info

made a test case for a similar microscope, confirmed there is an issue
mcmaster@thudpad:~/doc/ext/pyuscope$ ./app/argus.py --microscope 20mp
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
qt5ct: using qt5ct plugin
Status: Idle
qt5ct: D-Bus global menu: no
Traceback (most recent call last):
  File "/home/mcmaster/doc/ext/pyuscope/uscope/app/argus/main.py", line 310, in main
    gstwidget_main(MainWindow, parse_args=parse_args)
  File "/home/mcmaster/doc/ext/pyuscope/uscope/gui/gstwidget.py", line 788, in gstwidget_main
    _mainwin = AQMainWindow(**kwargs)
  File "/home/mcmaster/doc/ext/pyuscope/uscope/app/argus/main.py", line 48, in __init__
    self.post_ui_init()
  File "/home/mcmaster/doc/ext/pyuscope/uscope/app/argus/main.py", line 250, in post_ui_init
    tab.post_ui_init()
  File "/home/mcmaster/doc/ext/pyuscope/uscope/app/argus/widgets.py", line 1170, in post_ui_init
    awidgets_post_ui_init(self.awidgets)
  File "/home/mcmaster/doc/ext/pyuscope/uscope/app/argus/widgets.py", line 1075, in awidgets_post_ui_init
    awidget.post_ui_init()
  File "/home/mcmaster/doc/ext/pyuscope/uscope/app/argus/widgets.py", line 119, in post_ui_init
    self.reload_obj_cb()
  File "/home/mcmaster/doc/ext/pyuscope/uscope/app/argus/widgets.py", line 126, in reload_obj_cb
    for objective in self.ac.usc.get_scaled_objectives(self.ac.microscope):
  File "/home/mcmaster/doc/ext/pyuscope/uscope/config.py", line 733, in get_scaled_objectives
    self.scale_objectives_1x(objectives)
  File "/home/mcmaster/doc/ext/pyuscope/uscope/config.py", line 694, in scale_objectives_1x
    objective["um_per_pixel"] = um_per_pixel_raw_1x / objective[
KeyError: 'magnification'

ERROR 'magnification'

modified sm3590t_template.py to add add magnification key and regenerated the config file


[CI][Dev] Apply ShellCheck lint to all shell scripts

Describe the enhancement requested
This is a meta issue. We should create a sub issue per shell script instead of applying ShellCheck lint to all shell scripts by one large pull request. It's difficult to review.
See #44749 and #44750 as an example.
Sub-issues based on the git ls-files | grep '\.sh$' results:

[ ] c_glib/test/run-test.sh #
[ ] ci/conan/merge_status.sh #
[ ] ci/conan/merge_upstream.sh #
[x] ci/scripts/c_glib_build.sh #43080
[x] ci/scripts/c_glib_test.sh #44749
[ ] ci/scripts/ccache_setup.sh #
[ ] ci/scripts/conan_build.sh #
[ ] ci/scripts/conan_setup.sh #
[ ] ci/scripts/cpp_build.sh #
[ ] ci/scripts/cpp_test.sh #
[ ] ci/scripts/csharp_build.sh #
[ ] ci/scripts/csharp_pack.sh #
[ ] ci/scripts/csharp_test.sh #
[ ] ci/scripts/download_tz_database.sh #
[ ] ci/scripts/install_azurite.sh #
[ ] ci/scripts/install_ccache.sh #
[ ] ci/scripts/install_ceph.sh #
[ ] ci/scripts/install_chromedriver.sh #
[ ] ci/scripts/install_cmake.sh #
[ ] ci/scripts/install_conda.sh #
[ ] ci/scripts/install_dask.sh #
[ ] ci/scripts/install_emscripten.sh #
[ ] ci/scripts/install_gcs_testbench.sh #
[ ] ci/scripts/install_iwyu.sh #
[ ] ci/scripts/install_minio.sh #
[ ] ci/scripts/install_ninja.sh #
[ ] ci/scripts/install_numba.sh #
[ ] ci/scripts/install_numpy.sh #
[ ] ci/scripts/install_pandas.sh #
[ ] ci/scripts/install_python.sh #
[ ] ci/scripts/install_sccache.sh #
[ ] ci/scripts/install_spark.sh #
[ ] ci/scripts/install_substrait_consumer.sh #
[ ] ci/scripts/install_vcpkg.sh #
[ ] ci/scripts/integration_arrow.sh #
[ ] ci/scripts/integration_arrow_build.sh #
[ ] ci/scripts/integration_dask.sh #
[ ] ci/scripts/integration_hdfs.sh #
[ ] ci/scripts/integration_skyhook.sh #
[ ] ci/scripts/integration_spark.sh #
[ ] ci/scripts/integration_substrait.sh #
[ ] ci/scripts/java_build.sh #
[ ] ci/scripts/java_cdata_integration.sh #
[ ] ci/scripts/java_full_build.sh #
[ ] ci/scripts/java_jni_build.sh #
[ ] ci/scripts/java_jni_macos_build.sh #
[ ] ci/scripts/java_jni_manylinux_build.sh #
[ ] ci/scripts/java_jni_windows_build.sh #
[ ] ci/scripts/java_test.sh #
[ ] ci/scripts/js_build.sh #
[ ] ci/scripts/js_test.sh #
[ ] ci/scripts/matlab_build.sh #
[ ] ci/scripts/msys2_setup.sh #
[ ] ci/scripts/msys2_system_clean.sh #
[ ] ci/scripts/msys2_system_upgrade.sh #
[ ] ci/scripts/nanoarrow_build.sh #
[ ] ci/scripts/python_benchmark.sh #
[ ] ci/scripts/python_build.sh #
[ ] ci/scripts/python_build_emscripten.sh #
[ ] ci/scripts/python_sdist_build.sh #
[ ] ci/scripts/python_sdist_test.sh #
[ ] ci/scripts/python_test.sh #
[ ] ci/scripts/python_test_emscripten.sh #
[ ] ci/scripts/python_wheel_macos_build.sh #
[ ] ci/scripts/python_wheel_manylinux_build.sh #
[ ] ci/scripts/python_wheel_unix_test.sh #
[ ] ci/scripts/r_build.sh #
[ ] ci/scripts/r_deps.sh #
[ ] ci/scripts/r_docker_configure.sh #
[ ] ci/scripts/r_install_system_dependencies.sh #
[ ] ci/scripts/r_revdepcheck.sh #
[ ] ci/scripts/r_sanitize.sh #
[ ] ci/scripts/r_test.sh #
[ ] ci/scripts/r_valgrind.sh #
[ ] ci/scripts/r_windows_build.sh #
[ ] ci/scripts/release_test.sh #
[ ] ci/scripts/ruby_test.sh #
[ ] ci/scripts/rust_build.sh #
[ ] ci/scripts/swift_test.sh #
[ ] ci/scripts/util_download_apache.sh #
[ ] ci/scripts/util_enable_core_dumps.sh #
[ ] ci/scripts/util_free_space.sh #
[ ] ci/scripts/util_log.sh #
[ ] ci/scripts/util_wait_for_it.sh #
[ ] cpp/build-support/build-lz4-lib.sh #
[ ] cpp/build-support/build-zstd-lib.sh #
[ ] cpp/build-support/fuzzing/generate_corpuses.sh #
[ ] cpp/build-support/get-upstream-commit.sh #
[ ] cpp/build-support/iwyu/iwyu.sh #
[ ] cpp/build-support/run-infer.sh #
[ ] cpp/build-support/run-test.sh #
[ ] cpp/build-support/trim-boost.sh #
[ ] cpp/build-support/update-flatbuffers.sh #
[ ] cpp/build-support/update-thrift.sh #
[ ] cpp/build-support/vendor-flatbuffers.sh #
[ ] cpp/cmake_modules/aws_sdk_cpp_generate_variables.sh #
[ ] cpp/examples/minimal_build/build_arrow.sh #
[ ] cpp/examples/minimal_build/build_example.sh #
[ ] cpp/examples/minimal_build/run.sh #
[ ] cpp/examples/minimal_build/run_static.sh #
[ ] cpp/examples/tutorial_examples/build_arrow.sh #
[ ] cpp/examples/tutorial_examples/build_example.sh #
[ ] cpp/examples/tutorial_examples/run.sh #
[ ] cpp/src/arrow/vendored/datetime/update.sh #
[ ] cpp/src/arrow/vendored/double-conversion/update.sh #
[ ] cpp/src/arrow/vendored/fast_float/update.sh #
[ ] cpp/thirdparty/download_dependencies.sh #
[ ] dev/archery/generate_files_for_endian_test.sh #
[ ] dev/conbench_envs/hooks.sh #
[ ] dev/merge_arrow_pr.sh #
[ ] dev/release/01-prepare.sh #
[ ] dev/release/02-source.sh #
[ ] dev/release/03-binary-submit.sh #
[ ] dev/release/04-binary-download.sh #
[ ] dev/release/05-binary-upload.sh #
[ ] dev/release/06-java-upload.sh #
[ ] dev/release/07-matlab-upload.sh #
[ ] dev/release/08-binary-verify.sh #
[ ] dev/release/account-ruby.sh #
[ ] dev/release/binary/runner.sh #
[ ] dev/release/git-vars.sh #
[ ] dev/release/post-01-tag.sh #
[ ] dev/release/post-02-upload.sh #
[ ] dev/release/post-03-binary.sh #
[ ] dev/release/post-04-website.sh #
[ ] dev/release/post-05-update-gh-release-notes.sh #
[ ] dev/release/post-06-ruby.sh #
[ ] dev/release/post-07-js.sh #
[ ] dev/release/post-08-csharp.sh #
[ ] dev/release/post-09-remove-old-artifacts.sh #
[ ] dev/release/post-10-docs.sh #
[ ] dev/release/post-11-python.sh #
[ ] dev/release/post-12-bump-versions.sh #
[ ] dev/release/post-13-msys2.sh #
[ ] dev/release/post-14-homebrew.sh #
[ ] dev/release/post-15-vcpkg.sh #
[ ] dev/release/post-16-conan.sh #
[ ] dev/release/run-rat.sh #
[ ] dev/release/setup-gpg-agent.sh #
[ ] dev/release/setup-rhel-rebuilds.sh #
[ ] dev/release/setup-ubuntu.sh #
[ ] dev/release/utils-binary.sh #
[ ] dev/release/utils-create-release-tarball.sh #
[ ] dev/release/utils-prepare.sh #
[ ] dev/release/utils-watch-gh-workflow.sh #
[ ] dev/release/verify-apt.sh #
[ ] dev/release/verify-release-candidate.sh #
[ ] dev/release/verify-yum.sh #
[ ] dev/tasks/conda-recipes/.scripts/logging_utils.sh #
[ ] dev/tasks/conda-recipes/arrow-cpp/activate.sh #
[ ] dev/tasks/conda-recipes/arrow-cpp/build-arrow.sh #
[ ] dev/tasks/conda-recipes/arrow-cpp/build-pyarrow.sh #
[ ] dev/tasks/conda-recipes/build_steps.sh #
[ ] dev/tasks/conda-recipes/run_docker_build.sh #
[ ] dev/tasks/linux-packages/apt/build.sh #
[ ] dev/tasks/linux-packages/yum/build.sh #
[ ] dev/tasks/matlab/rename_macos_dynamic_libraries.sh #
[ ] js/npm-release.sh #
[ ] python/asv-build.sh #
[ ] python/asv-install.sh #
[ ] python/asv-uninstall.sh #
[ ] python/examples/minimal_build/build_conda.sh #
[ ] python/examples/minimal_build/build_venv.sh #
[ ] r/inst/build_arrow_static.sh #
[ ] r/lint.sh #
[ ] r/tools/download_dependencies_R.sh #
[ ] swift/gen-flatbuffers.sh #
[ ] swift/gen-protobuffers.sh #

(We may have more shell scripts.)
Component(s)
Continuous Integration, Developer Tools

I don't want to review a large PR that includes all changes...


request help: failed to wait the default cluster to be ready:

Issue description
A few days ago, when the deployment was completed, there was no problem in synchronizing the data. Now, there was an error when synchronizing the configuration. Could you please help me to see what caused the error
E0508 11:58:49.908189       1 leaderelection.go:325] error retrieving resource lock gray-publish/ingress-apisix-leader: Get https://<IP_ADDRESS>:443/apis/coordination.k8s.io/v1/namespaces/gray-publish/leases/ingress-apisix-leader: context deadline exceeded
2021-05-08T11:58:49+08:00       info    controller/controller.go:202    LeaderElection  {"message": "sitech-gray-ingress-controller-7779b6bd88-chpnm stopped leading", "event_type": "Normal"}
I0508 11:58:49.908333       1 leaderelection.go:278] failed to renew lease gray-publish/ingress-apisix-leader: timed out waiting for the condition
E0508 11:58:49.908405       1 leaderelection.go:301] Failed to release lock: resource name may not be empty
2021-05-08T11:58:49+08:00       info    controller/controller.go:249    controller now is running as a candidate        {"namespace": "gray-publish", "pod": "sitech-gray-ingress-controller-7779b6bd88-chpnm"}
I0508 11:58:49.908450       1 leaderelection.go:243] attempting to acquire leader lease gray-publish/ingress-apisix-leader...
[GIN] 2021/05/08 - 11:58:50 | 200 |      64.605µs |     <IP_ADDRESS> | GET      "/healthz"
2021-05-08T11:58:52+08:00       info    controller/controller.go:202    LeaderElection  {"message": "sitech-gray-ingress-controller-7779b6bd88-chpnm became leader", "event_type": "Normal"}
I0508 11:58:52.561077       1 leaderelection.go:253] successfully acquired lease gray-publish/ingress-apisix-leader
2021-05-08T11:58:52+08:00       info    controller/controller.go:277    controller now is running as leader     {"namespace": "gray-publish", "pod": "sitech-gray-ingress-controller-7779b6bd88-chpnm"}
2021-05-08T11:58:52+08:00       error   controller/controller.go:296    failed to wait the default cluster to be ready: Get http://sitech-gray-admin:9180/apisix/admin/routes: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

I I go inside pod of apisix-ingress-controller and get Route information directly it was successful
/ingress-apisix # wget http://apisix-admin:9180/apisix/admin/routes  --header="X-API-Key: edd1c9f034335f136f87ad84b625c8f1"
wget: bad address 'apisix-admin:9180'
/ingress-apisix # wget http://sitech-gray-admin:9180/apisix/admin/routes  --header="X-API-Key: edd1c9f034335f136f87ad84b625c8f1"
Connecting to sitech-gray-admin:9180 (<IP_ADDRESS>:9180)
saving to 'routes'
routes               100% |******************************************************************************************************|   908  0:00:00 ETA
'routes' saved
/ingress-apisix # ls
apisix-ingress-controller  conf                       routes

Environment

your apisix-ingress-controller version (output of apisix-ingress-controller version --long);
apisix-ingress-controller version :0.5.0
apisx-version:2.5
your Kubernetes cluster version (output of kubectl version);
if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a).

You can try deploying with the new version and see if the problem persists.
I'll close this issue because it's been too long. If your issue is not resolved, feel free to reopen it, or create a new issue.
Thanks for your report.


Appveyor badge

This pull requests moves our Travis badge down to a newline, and adds an AppVeyor badge for the build status on master right next to it.
--
/cc @technoweenie @sschuberth

Merging this will close https://github.com/github/git-lfs/issues/1510.

Cool, I can approve this even multiple times :-D


feat(loging): Improve logging output of provider and get

This makes the logging output a lot better, driven by real-life
debugging.  It introduces a few more spans and downgrades the
per-frame stuff to trace.

/netsim

can confirm output of provide is much nicer with this branch, especially with large directory trees


Eagerly loaded empty relations seem to short-circuit conversion to internal structure

Description
When used in conjunction with the JoinEagerAlgorithm setting, it appears that tree-like eager relations seem to be short-circuiting if they encounter an empty relation during conversion to internal structure (from database tuple).
For example, consider the following relation expression: Bs.[Cs, Ds]. I expect to receive the model instances for Ds, even if Cs is effectively empty. In the reproduction case that follows, you can see that Ds are never mapped to a Model instance, if relation Cs is empty.
The ouput of the following bug reproduction is as follows:
[
  {
    "id": 1,
    "Bs": [
      {
        "id": 1,
        "aId": 1,
        "Cs": [],
        "Ds": []
      }
    ]
  }
]

Sadly, I do not receive my instances of D under Ds. Using the default eager algorithm (rather than JoinEagerAlgorithm), I receive the expected results:
[
  {
    "id": 1,
    "Bs": [
      {
        "id": 1,
        "aId": 1,
        "Cs": [],
        "Ds": [
          { "id": 1 },
          { "id": 2 }
        ]
      }
    ]
  }
]

Finally, modifying the order of B's relations (whilst using JoinEagerAlgorithm) also impacts results. That is, swapping the order of the definitions of relations Cs and Ds, provides correct results. I expect that this observation may be helpful for identifying a root cause.
Reproduction Code
const Knex = require('knex');
const Objection = require('objection');

const { Model } = Objection;
const knexConfig = require('./knexfile');

const knex = Knex(knexConfig);
Model.knex(knex);

class A extends Model {
  static get tableName() {
    return 'a';
  }

  static get idColumn() {
    return 'id';
  }

  static get relationMappings() {
    return {
      Bs: {
        relation: Model.HasManyRelation,
        modelClass: B,
        join: {
          from: 'a.id',
          to: 'b.aId',
        },
      },
    };
  }
}

class B extends Model  {
  static get tableName() {
    return 'b';
  }

  static get idColumn() {
    return 'id';
  }

  static get relationMappings() {
    return {
      Cs: {
        relation: Model.ManyToManyRelation,
        modelClass: C,
        join: {
          from: 'b.id',
          through: {
            from: 'b_c.bId',
            to: 'b_c.cId',
          },
          to: 'c.id',
        },
      },
      Ds: {
        relation: Model.ManyToManyRelation,
        modelClass: D,
        join: {
          from: 'b.id',
          through: {
            from: 'b_d.bId',
            to: 'b_d.dId',
          },
          to: 'd.id',
        },
      }
    };
  }
}

class C extends Model  {
  static get tableName() {
    return 'c';
  }

  static get idColumn() {
    return 'id';
  }
}

class D extends Model  {
  static get tableName() {
    return 'd';
  }

  static get idColumn() {
    return 'id';
  }
}

A.query()
  .eagerAlgorithm(Model.JoinEagerAlgorithm)
  .eager('Bs.[Cs, Ds]')
  .then((results) => {
    console.log(JSON.stringify(results, null, 2));
    process.exit(0);
  })
  .catch((err) => {
    console.error(err.message);
    process.exit(1);
  })

begin;

drop table if exists b_d;
drop table if exists b_c;
drop table if exists d;
drop table if exists c;
drop table if exists b;
drop table if exists a;

create table a (
  id int primary key
);

create table b (
  id int primary key,
  "aId" int references a (id)
);

create table c (
  id int primary key
);

create table d (
  id int primary key
);

create table b_c (
  "bId" int references b (id),
  "cId" int references c (id)
);

create table b_d (
  "bId" int references b (id),
  "dId" int references d (id)
);

insert into a values (1);
insert into b values (1, 1);
insert into d values (1);
insert into d values (2);
insert into b_d values (1, 1);
insert into b_d values (1, 2);

commit;

Dependencies
"dependencies": {
  "knex": "^0.12.6",
  "objection": "^0.6.2",
  "pg": "^6.1.2"
}

Knex Debug Output
knex:client acquired connection from pool: __knexUid1 +0ms
  knex:query select "a"."id" as "id", "Bs"."id" as "Bs:id", "Bs"."aId" as "Bs:aId", "Bs:Cs"."id" as "Bs:Cs:id", "Bs:Ds"."id" as "Bs:Ds:id" from "a" as "a" left join (select * from "b") as "Bs" on "Bs"."aId" = "a"."id" left join "b_c" as "Bs:Cs_join" on "Bs:Cs_join"."bId" = "Bs"."id" left join (select * from "c") as "Bs:Cs" on "Bs:Cs_join"."cId" = "Bs:Cs"."id" left join "b_d" as "Bs:Ds_join" on "Bs:Ds_join"."bId" = "Bs"."id" left join (select * from "d") as "Bs:Ds" on "Bs:Ds_join"."dId" = "Bs:Ds"."id" +3ms
  knex:bindings [] +1ms
  knex:client releasing connection to pool: __knexUid1 +2ms
  knex:pool INFO pool postgresql:pg:client0 - dispense() clients=0 available=1 +1ms

davidgwking=# select "a"."id" as "id", "Bs"."id" as "Bs:id", "Bs"."aId" as "Bs:aId", "Bs:Cs"."id" as "Bs:Cs:id", "Bs:Ds"."id" as "Bs:Ds:id" from "a" as "a" left join (select * from "b") as "Bs" on "Bs"."aId" = "a"."id" left join "b_c" as "Bs:Cs_join" on "Bs:Cs_join"."bId" = "Bs"."id" left join (select * from "c") as "Bs:Cs" on "Bs:Cs_join"."cId" = "Bs:Cs"."id" left join "b_d" as "Bs:Ds_join" on "Bs:Ds_join"."bId" = "Bs"."id" left join (select * from "d") as "Bs:Ds" on "Bs:Ds_join"."dId" = "Bs:Ds"."id";
┌────┬───────┬────────┬──────────┬──────────┐
│ id │ Bs:id │ Bs:aId │ Bs:Cs:id │ Bs:Ds:id │
├────┼───────┼────────┼──────────┼──────────┤
│  1 │     1 │      1 │   (NULL) │        1 │
│  1 │     1 │      1 │   (NULL) │        2 │
└────┴───────┴────────┴──────────┴──────────┘
(2 rows)

Time: 1.489 ms

Thank you for the detailed explanation and code! This should be really easy to fix 👍 I'll try to fix this as soon as possible.

The fix was a one-liner. The easiest way to test the fix copy the fix to your node_modules/objection. I'll soon release a new RC-version. After that you can npm install objection@next to test the fix.

@davidgwking I just released 0.7.0-rc-3 that contains the fix fbddcdf310a4ab3c7a3afe16fdbf78f9ec81696a

@koskimas The fix works like a dream, thank you for the support! 🙇
Are there any major changes slated for 0.7 that I should be aware of before upgrading? Seems 0.7 notes aren't available yet.

You can find the changelog from the doc folder

Oh, duh... Sorry, thanks again!


Directives

Add support for specifying and implementing GraphQL directives in Garph
Example:
const d = g.directive('Name', { param: g.string() }, ['FIELD', 'ARGUMENT'])

g.type('Query', {
  test: g.string()
    .args({
      test: g.string().addDirective(d, { param: 'Hello' })
    })
    .addDirective(d, { param: 'Hello' })
})
.addDirective(d, { param: 'Hello' })

+1 for Directives. Want to add isAuthenticated to my schema.

Thanks, @danstarns. I will add some more details to the details

Hey @danstarns, I've updated the issue. Could you take a look and tell me what you think?
I'm also curious about the use-case for directives. What are people are using them for? Are they used on client-side when making requests?

@danstarns Would you rather use middleware/plugins instead of directives?


Tabindex is incorrect, user must tab multiple times to move to the ui-select input.

I've found an issue with this library in my project, with the tabindex being incorrectly set. I've seen it come up and be closed multiple times, but I haven't found a way to work around it, without removing the library and simply using a bootstrap dropdown.  We are using bootstrap and the bootstrap theme.
*Expected: When the user tabs (on a keyboard) through the form fields, moving from one input to another, only takes one click on the tab button.
*Currently: When the user tabs (on a keyboard) through the form fields, moving from one form-control to another, it takes two clicks on the tab button.
I've dug relatively deep into this and can submit a PR if this fix has not been started, or already made.

This is relevant to me as well. @jdonisvitch, could you share the fix?

We've detected the same problem. It occurs when using ui-selecttogether with angular-aria.
We fixed this problem by adding a tabindex='-1' to bootstrap/match.tpl.html:
<i class=\"caret pull-right\" ng-click=\"$select.toggle($event)\" tabindex='-1'>

When angular-aria sees ng-click it adds a tabindex if there's no tabindex set. That's not desired for that element.


No trailing slashes on URLs

Duplicates https://github.com/alphagov/digitalmarketplace-buyer-frontend/pull/52

Could we have a test for the redirecting?

@robyoung Test added in 6e39de6


When EditText has emoji, the maximum length of editable.dart will be abnormal length and cursor abnormality

/***
*** my class example : maxlength = 15
***/
TextField(
                 controller: TextEditingController.fromValue(TextEditingValue(
                                  text: _txtController.text,
                                  selection: TextSelection.fromPosition(
                                      TextPosition(affinity: TextAffinity.downstream, offset:_txtController.text.length)))),
                 decoration: InputDecoration(
                           border: InputBorder.none,
                  ),
                 style: TextStyle(fontSize: 16),
                  inputFormatters: [
                                LengthLimitingTextInputFormatter(15),
                   ]
)

descrition: When the input box contains an emoticon, when 16 characters are input, the input box can still display the 16th character, and then the cursor moves to the 15th character position.
my hope：When the input box contains an emoticon, when 16 characters are input, the input box can still display 15 characters, and then the cursor moves to the 15th character position.
find：I find the source -（editable_text.dart） do not  deal with max length state.
So I want to solve this bug only through the business layer to make logical judgments。
My Solution for suspension

add field to get maxLength number;
This is what I need for work;(this is my work need)

     final int selfMaxLength;
     final Function maxLengthCallBack;
     final TextEditingController myController;

    @override
    void initState() {
    ……
    myController =  TextEditingController.fromValue(TextEditingValue(
                                  text: _txtController.text,
                                  selection: TextSelection.fromPosition(
                                      TextPosition(affinity: TextAffinity.downstream, offset:_txtController.text.length))));
    if (widget.controller.text.length == widget.selfMaxLength) {
       hasAlreadyMaxLength = true;
       lastMaxContent = widget.controller.text;
    } else {
      hasAlreadyMaxLength = false;
      lastMaxContent = "";
          }
    }

    @override
    Widget build(BuildContext context) {
          return Container(
                child: TextField(
                 controller: myController,
                 decoration: InputDecoration(
                           border: InputBorder.none,
                  ),
                 style: TextStyle(fontSize: 16),
                  inputFormatters: [
                                LengthLimitingTextInputFormatter(15),
                   ]，
                   onChanged: (String value) {
                    _actionMaxLengthState(value);
                  }
                 )
          )
    }

    void _resetSelection(String newText) {
     var sRunes = newText.runes;
     String result;
     for (int i = 0; i < sRunes.length; i++) {
         if (String.fromCharCodes(sRunes, 0, sRunes.length - i).length <= widget.selfMaxLength) {
         result = String.fromCharCodes(sRunes, 0, sRunes.length - i);
         break;
      }
    }
    TextSelection temp = myController.value.selection.copyWith(
      baseOffset: result.length,
      extentOffset: result.length,
    );
    TextRange fixRange = widget.controller.value.composing;
    if (widget.controller.value.composing.end > result.length) {
      fixRange = TextRange(start: fixRange.start, end: result.length);
    }

    //composing is used iOS inputMethod
    myController.value = TextEditingValue(text: result, selection: temp, composing: fixRange);
    lastMaxContent = result;
    }

    void _initOldDataSelection(String newText) {
          TextSelection actualSelection = myController.value.selection;
          actualSelection = myController.value.selection.copyWith(
                  baseOffset: lastMaxContent.length,
                  extentOffset: lastMaxContent.length,
           );
    //ios: When TextRange is not -1, the next update will replace all the variable values of start and end directly. When you are sure that the content is unchanged, please change them to -1
    TextRange fixRange = TextRange(start: -1, end: -1);
          myController.value = TextEditingValue(text: lastMaxContent, selection: actualSelection, composing: fixRange);
    }

    void _actionMaxLengthState(String newText) {
    if (newText.length >= widget.selfMaxLength) {
      if (maxLengthCallBack != null) maxLengthCallBack();
      if (hasAlreadyMaxLength) {
        _initOldDataSelection(newText);
      } else {
        hasAlreadyMaxLength = true;
        _resetSelection(newText);
      }
    } else {
      //For the controller's text setting, you must change the value or set the text directly, and the selection is the default value of -1.
      widget.controller.value = TextEditingValue(text: newText, selection: widget.controller.value.selection, composing: widget.controller.value.composing);
      hasAlreadyMaxLength = false;
      lastMaxContent = "";
      }
    }

Finally, I hope flutter Team can resovle this question.

Hi @Linsixu
Could you please provide your flutter doctor -v and screen recording to better understand the issue?
I tried with dev v1.18.0-8.0.pre and LengthLimitingTextInputFormatter seems to be working as intended

CC @justinmc

Hi @Linsixu
Could you please provide your flutter doctor -v and screen recording to better understand the issue?
I tried with dev v1.18.0-8.0.pre and LengthLimitingTextInputFormatter seems to be working as intended

my version is Flutter 1.12.13+hotfix.7 • channel

Hi @Linsixu
Could you please provide your flutter doctor -v and screen recording to better understand the issue?
I tried with dev v1.18.0-8.0.pre and LengthLimitingTextInputFormatter seems to be working as intended

my version is  1.12.13+hotfix.7 • channel

Hi @Linsixu
Trying to reproduce the issue on latest master based on  code sample
it correctly shows one and 14 characters

Is there any way you can this more apparent without going to source code?
I find the source -（editable_text.dart） do not deal with max length state.

Thank you

I believe this is related to https://github.com/flutter/flutter/pull/53381 and its related issues.
@TahaTesser Try using an emoji that uses multiple bytes like 👨👩👦.

Hi @Linsixu
Trying to reproduce the issue on latest master based on code sample
it correctly shows one and 14 characters

Is there any way you can this more apparent without going to source code?
I find the source -（editable_text.dart） do not deal with max length state.

Thank you

But the total font length has exceeded 15 characters. And if you add the cursor attribute, you will find that the cursor moves one character abnormally.

I believe this is related to #53381 and its related issues.
@TahaTesser Try using an emoji that uses multiple bytes like 👨👩👦.


add more options and visibility

hello, can you add option to show asn information and threath information aswell?

@sliddjur Thanks for brining this up. I think this is a great request. ipdata.co also provide necessary information on ASN and threats. I need to have a look how I can fit it in the ulauncher result list. I am open to any suggestions.

I forked your project and added the info I want to see.
https://github.com/sliddjur/ulauncher-ip-lookup/commit/196fc4da62e7e62cc1416fea3d17126b5c7458df