[Bug] 时间轴maxInterval设置2天间距，刻度宽度分配不均

Version
5.2.2
Link to Minimal Reproduction
No response
Steps to Reproduce

Current Behavior
设置maxInterval：2 * 24 * 60 * 60 * 1000
Expected Behavior
设置maxInterval：2 * 24 * 60 * 60 * 1000时 刻度宽度能够均匀分配
Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

You need to provide a demo so that we can solve the problem more quickly。

The splitLines of time axes are expected to have varied intervals because time axes have special rules to determine where the label lies. For example, in the demo you provided, most of the intervals are 2 days like 1-27, 1-29 and 1-31. But in order to display 2-1, the interval from 1-31 is one day so its space is smaller.
We choose to display coarse-grained labels over fine-grained ones so that 2-1 is choosen over 2-2.
There's not much can be done here. If you insist on having the same gap, maybe you could try with category axes.


stockfish: 14 -> 14.1; fix license

works fine on my machine
Things done

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, 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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested basic functionality 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.

Result of nixpkgs-review pr 145514 run on x86_64-darwin 1

2 packages built:

stockfish
uchess

LGTM


⚠ ClamAV has degraded performance

In 9556bab, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 201 ms

Resolved: ClamAV performance has improved in 83fc7f6.


Code overhaul

Hi,
I really like the extension but the code is ...nja... so I started a complete code overhaul of the repo's code to make it a little bit less redundant and overall easier to read and debug (had in mind to add some tests), mainly by splitting the code in more files/classes and the extensive use of async/await, which I think is perfect for simplifying the code structure.
I already restructured some code. You can see it here. The problem is that the code changed a lot and I don't want to displease you by making a PR that changes your code so much :worried:.
Maybe you can have a look at my fork and say if you would accept such a code overhaul :no_mouth:. If not that's ok with me, then you can close this issue. If you like the changes I would continue and we can discuss and merge.

Yes i understand the code needs much improvements.
I like the way you have written.
Can you please help me in accepting the PR by converting it to at least 3,4 PR so i would know what you have changed, just by adding some integration with my code step by step and so i will understand the code in a better manner, as it seems it completely changing the code.
Thanks, Looking forward :)

@SrTobi sorry, I think i should integrate your code, myself. Thanks will look in it.

wait. it is not ready! currently it will not work. There is still much to do. Currently I only have 40% done. I was just asking if I should continue at all :smile:

no problem i had to refactor it i will work on it myself just as i have seen your code. if you have time, one pending feature is to add proxy support in the current code. I would be happy and accept a pull request if you can add that feature :smiley:


Java version checking gets in the way

Describe the bug
There's a whitelist of acceptable Java versions here: https://github.com/SCons/scons/blob/master/SCons/Tool/JavaCommon.py#L104. It's out-of-date (current JDK is 19.0), and particularly with the new release cadence this is very likely to get out-of-date again quickly. If a client tries to specify a JDK version that isn't in the list, the build fails! I think this is unnecessarily strict.
Also, default_java_version is set to 1.4, which is laughably old. I would recommend at least 1.8 (11.0 would be better).
Required information

Discord mention: https://discord.com/channels/571796279483564041/571796280146133047/1052541516314329128

Version of SCons: 4.4.0

So it's recorded here: the version check supports the changing way classes were emitted over time.  Wondering if we could make that check "if we saw one of the older versions that we know is different, then handle that", else we assume it's the "modern way". That is if none of the layout changes again in future....

I didn't know about the layout changes, but I do agree, it would easier to use special logic for specific old versions, rather than limiting clients to a specific list of Java versions.
I'm also a bit curious about that scopeStateVersions variable. Was there a layout difference just for 1.8 that went away again in 9.0?

Commit 5d6bfb7b1a
That never sunk in, seems real unlikely it "started and stopped" with 1.8, more like "started with 1.8, and the person who changed the recognized-versions table missed it" (that would be me...)

So what does the issue with scopeStateVersions actually mean for a build? SCons is still able to build Java projects. Are Java projects rebuilt more often than they should be?

If SCons doesn't know which files javac will output for a given input, then it cannot emit those into the build tree. So if other build steps depend on those, they won't be run at the appropriate time (or at all), and also scons -c won't clean those files SCons doesn't know about.
Generally SCons should be aware of all outputs from any build step.


Base Python 3.8 Docker image contains known security vulnerabilities

My Docker image based on the Docker image:
amazon/aws-lambda-python:3.8
contains a few known security vulnerabilities:

https://alas.aws.amazon.com/AL2/ALAS-2021-1652.html
https://alas.aws.amazon.com/AL2/ALAS-2021-1653.html
https://alas.aws.amazon.com/AL2/ALAS-2021-1655.html
https://alas.aws.amazon.com/AL2/ALAS-2021-1656.html
https://alas.aws.amazon.com/AL2/ALAS-2021-1662.html
https://alas.aws.amazon.com/AL2/ALAS-2021-1664.html
https://alas.aws.amazon.com/AL2/ALAS-2021-1669.html
https://alas.aws.amazon.com/AL2/ALAS-2021-1677.html

I know that as a workaround I could update affected packages in my Docker image:
RUN yum install -y \
    glib2 \
    curl \
    glibc \
    glibc-all-langpacks \
    glibc-common \
    glibc-minimal-langpack \
    libcrypt \
    libcurl \
    libxml \
    libxml2 \
    nss \
    nss-sysinit \
    python \
    python-libs \
    bzip2-libs

However, I think that the official base Docker images from AWS should already be patched.

Similar issue: https://github.com/aws/aws-lambda-base-images/issues/18

Hey @volphy - thanks for reaching out!
Our automation has just released new revisions of these base images that have pulled in the latest patches for these vulnerabilities 😊


feat(wmg): CSV Single File

Reason for Change

#4572

If multiple tissues are selected, a single CSV file will be created. Ex. CELLxGENE_gene_expression.csv
If a single tissue is selected, a single CSV file will be created but with the tissue name. Ex. blood.csv
Changes

add
remove
modify

Changing logic to have all tissues in one CSV file

Testing steps
rdev
Flow 1

Select multiple tisses and gene(s)
Download CSV
Ensure that one file is downloaded and all tissues are in the CSV. Filename should not be specific to tissue
i. Example: CELLxGENE_gene_expression.csv

Flow 2

Select multiple tissues and gene(s)
Download CSV and other filetypes
Ensure that a .zip file is downloaded
zip file should include single generically named csv file, along with exports for other files
i. Example: CELLxGENE_gene_expression.csv, blood.png, blood.svg, lung.png, lung.svg
Ensure other exports are formatted properly

Flow 3

Select a single tissue and gene(s)
Download CSV and other filetypes
Ensure that a .zip file is downloaded
zip file should include csv file for the tissue, along with exports for other files
i. Example: blood.csv, blood.png, blood.svg

Notes for Reviewer
Multiple tissue CSV filename is TBD, waiting to hear back from @signechambers1
For SVG exports, we are moving away from using [data-testid]=... as the selector and now using [id]=...

Saw this error wanted to make sure you're aware of it!


enhancement(vector_field): added fit_to_coordinate_system

This pull request adds a function which takes a VectorField and transforms it's points
There are 2 alternatives how this could be implemented for ArrowVectorField
Method 1 uses apply_function, which scales everything to fit the coordinate system
def fit_to_coordinate_system(self, coordinate_system: CoordinateSystem):
    self.apply_function(lambda pos: coordinate_system.coords_to_point(*pos))

Method 2 uses a manual transform, which only rotates and translates
def fit_to_coordinate_system(self, coordinate_system: CoordinateSystem):
  mat = np.eye(3)
  for i, ax in enumerate(coordinate_system.get_axes()):
      mat[i, :] = ax.get_unit_vector()
  mat = mat.T
  for vec in self.submobjects:
      start_pos = vec.get_start()
      center_to_start = vec.get_center() - start_pos
      vec.move_to(coordinate_system.coords_to_point(*start_pos) + center_to_start)
      vec.apply_matrix(mat, about_point=vec.get_start())

My first idea was to have a unimplemented function in VectorField, such that subclasses like ArrowVectorField could implement their own behavior.
After further investigation it became clear that the apply_function version is very versatile.

Method 1
Method 2

Example Videos

https://user-images.githubusercontent.com/17803932/169675595-5e026df0-e985-47af-9998-e991f9534e30.mp4
Example Code
 Code here
from manim import *
import numpy as np

class VecField(ThreeDScene):
    def construct(self):
        x_range=[-1,1,0.5]
        y_range=[-1,1,0.5]
        z_range=[-1,1,0.5]

        self.set_camera_orientation(phi=75 * DEGREES, theta=30 * DEGREES, zoom=2)
        threedaxes = ThreeDAxes(z_axis_config={"color":BLUE_E},x_axis_config={"color":RED_E},y_axis_config={"color":GREEN_E}, axis_config={"include_numbers": True}).scale(0.5)
        field = ArrowVectorField(lambda pos: np.array([0.0,0.0,1.0]), three_dimensions=True, x_range=x_range,y_range=y_range,z_range=z_range).set_opacity(0.5).set_color(RED)
        # field.fit_to_coordinate_system(threedaxes, dim=3)
        self.add(threedaxes, field)

        threedaxes.rotate(PI/2,OUT).rotate(PI/2,RIGHT).rotate(PI/2,UP)
        self.play(field.animate.fit_to_coordinate_system(threedaxes))
        self.wait()

class VecField2(Scene):
    def construct(self):
        x_range=[-4,2,0.5]
        y_range=[-1.5,1.5,0.5]
        plane = NumberPlane(x_range=x_range,y_range=y_range,
            background_line_style={
                "stroke_color": TEAL,
                "stroke_width": 1,
                "stroke_opacity": 0.6
            }
        ).scale(2).rotate_about_origin(PI/4)

        field = ArrowVectorField(lambda state:  np.array([state[1],(-9.8/10)*np.sin(state[0])]), x_range=x_range,y_range=y_range)

        self.add(plane, field)
        self.play(field.animate.fit_to_coordinate_system(plane))
        group = VGroup(plane, field)
        self.play(group.animate.scale(0.5).rotate_about_origin(-PI/4))
        self.wait()

class StreamField(Scene):
    def construct(self):
        x_range=[-4,2,0.25]
        y_range=[-1.5,1.5,0.25]
        plane = NumberPlane(x_range=x_range,y_range=y_range,
            background_line_style={
                "stroke_color": TEAL,
                "stroke_width": 1,
                "stroke_opacity": 0.6
            }
        ).scale(2).rotate_about_origin(PI/4)

        field = StreamLines(lambda state:  np.array([state[1],(-9.8/10)*np.sin(state[0]),0]), x_range=x_range,y_range=y_range)

        self.add(plane, field)
        self.play(field.animate.fit_to_coordinate_system(plane))
        group = VGroup(plane, field)
        self.play(group.animate.scale(0.5).rotate_about_origin(-PI/4))
        self.wait()

Overview: What does this pull request change?

added fit_to_coordinate_system to VectorField

Motivation and Explanation: Why and how do your changes improve the library?

Depending on which implementation is better suited in general it is good to have a function which aligns vectors to the coordinate_system
There is still an Error when using the opengl renderer
i don't know if it is coming from the usage with StreamLines but apply_function might not work correctly in the opengl renderer.

Reviewer Checklist

[ ] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[ ] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[ ] If applicable: newly added functions and classes are tested

Thanks for implementing this, I think it is a very useful and welcome addition!

How about adding a add_vector function which just adds the vector directly to a CoordinateSystem ? I also think about having a vector which can be shifted around in relative space to the coordinate system so that vec.shift(UP) is not just shifting it up in global space but in coordinate space 🤔. But im not quite sure how one would go about doing this.


Parsing fails on GitHub Workflow when trying to parse files with fromJson variables of non-string type.

Description
When attempting to parse a workflow file which contains fromJson variables of a non-string type, receiving a yaml parse error.
Example:
Attempting to parse https://github.com/Homebrew/homebrew-core/blob/01e8f86d86bebca1652570c754650488de40ce9b/.github/workflows/dispatch-build-bottle.yml
results in:
yaml: unmarshal errors:
  line 73: cannot unmarshal !!str `${{from...` into float64

What did you expect to happen?
Workflow to be parsed into pipeline successfully.
What happened instead?
YAML Unmarshal Error
yaml: unmarshal errors:
  line 73: cannot unmarshal !!str `${{from...` into float64

I think the issue here is that the model for timeout-minutes assumes float64
https://github.com/argonsecurity/pipeline-parser/blob/f152789960b31fca203bd74b22f2fd4b0cf1adf0/pkg/loaders/github/models/job.go#L106
when in reality it can be a string since interpolation (${{ … }}) is allowed.
This issue is similar to #62, which was assuming bool for continue-on-error. The fix was #63.
I got here while investigating https://github.com/turbot/steampipe-plugin-github/issues/329.


[$250] Subscription - "common.error.pleaseCompleteForm" is shown when submitting empty survey

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

Version Number: 1.4.86-0
Reproducible in staging?: y
Reproducible in production?: n
Issue found when executing PR: https://github.com/Expensify/App/pull/43367
Issue reported by: Applause - Internal team
Action Performed:

Log in to ND with Gmail account.
Go to staging.new.expensify.com/settings/subscription
Disable auto-renew toggle.
Click Submit without selecting anything.

Expected Result:
Proper error message will be displayed.
Actual Result:
"common.error.pleaseCompleteForm" is shown.
Workaround:
n/a
Platforms:

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

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

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/abacfaa7-12a6-4ebe-ae8b-048d2a484444
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01c24a0e46790d2f26
Upwork Job ID:<PHONE_NUMBER>528280767
Last Price Increase: 2024-06-20
Automatic offers:

alitoshmatov | Reviewer | 102813104
neonbhai | Contributor | 102813106

Issue OwnerCurrent Issue Owner: @alitoshmatov

Proposal
Please re-state the problem that we are trying to solve in this issue.
Subscription - "common.error.pleaseCompleteForm" is shown when submitting empty survey
What is the root cause of that problem?
We don't use translate to pass the correct message here:
https://github.com/Expensify/App/blob/57663ed024d4364635e1146ba75f9d339c1329cb/src/components/FeedbackSurvey.tsx#L95
Hence just the string is rendered
What changes do you think we should make in order to solve the problem?
We will use the translate hook to refer to the correct message here:
https://github.com/Expensify/App/blob/57663ed024d4364635e1146ba75f9d339c1329cb/src/components/FeedbackSurvey.tsx#L95

Can't reproduce in prod.

No BZ on here so I added one.  (then realized I should have just assigned myself before adding the label).
If there's a minor improvement that @cretadn22 suggests that @neonbhai can add to the PR, please do so and we can compensate @cretadn22 $50 for the help.  (we don't have a documented process for this because it's an edge case).

PR deployed to staging 3 days ago, not overdue

Payment summary:

$250 @alitoshmatov requires payment automatic offer (Reviewer)
$250 @neonbhai requires payment automatic offer (Contributor)

Updated, thanks @cretadn22 !

The PR that introduced the bug has been identified. Link to the PR: https://github.com/Expensify/App/pull/42990
The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/42990/files#r1667441580
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: No need
Determine if we should create a regression test for this bug: No need since it is about hardcoded error message which is easily noticeable

Paid and contracts ended


RFC: Refactor to projen

Projen and every other CDK uses projen already.
[  ] Remove lerna
[  ] Remove yarn.locks
[. ]  tsconfig.json moves to tsconfig.eslint.json and tsconfig.jest.json
[  ] Remove package.jsons (might keep some fragements)
[  ] Rename packages to src/
[  ] Move examples into src/
[. ] packages/armkit-cli/tests can/should? move to toplevel/test?
[  ] Distribute the construct library and the cli as 1 mono pkg like the aws-cdk
[. ] Enable gitpod, docgen, typedocs? (not codecov), codeql (ts)
[. ] Enable mergify
In .projenrc.js
Publish to NPM, PYPI, MAVEN, Github (golang)
Hook build to run armkit generate which fixes #42

@aheumaier  @ElYusubov


What is the reason for calculating covariance with mean[3] = height in Kalman filter?

https://github.com/ifzhang/ByteTrack/blob/8d47ea56f4523276eb46386625471afcb11f09d4/yolox/tracker/kalman_filter.py#L107-L116
Why is there a special reason why I took it as a height when modeling?

As indicated by authors' comment, the position array is coded by order x, y, a, h. The forth number(mean[3]) is scale of the bounding box, and I think they assume larger object makes greater movement, and greater dilation or contraction. Actually the other three numbers is independent with scale of objects.

@ydm365
In other words, a cov is given to pos that changes in real time in proportion to the object size

@ydm365 In other words, a cov is given to pos that changes in real time in proportion to the object size

As far as I can tell, this is exactly what the authors are assuming.


Configure github widget

Hello All,
I am trying to configure the github widget and facing the below error.
2018-05-18 06:25:21,614 ERROR o.s.boot.SpringApplication - Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gitHubCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
Please find my application.properties file
#database Name
dbname=dashboarddb
#Database HostName - default is localhost
dbhost=localhost
Database Port - default is 27017
dbport=27017
MongoDB replicaset
dbreplicaset=false
dbhostport=
#Database Username - default is blank
dbusername=dashboarduser
Database Password - default is blank
dbpassword=12345678
Logging File location
logging.file=./logs/github.log
Collector schedule (required)
github.cron=0 0/5 * * * *
github.host=github.com
Maximum number of previous days from current date, when fetching commits
github.commitThresholdDays=15
Optional: Error threshold count after which collector stops collecting for a collector item. Default is 2.
github.errorThreshold=1
# This is the key generated using the Encryption class in core

github.key=Uf+WzWQgaIre7y9gY442JgJzqpb7v/UrAMWEQG3TdG7iALPu7kYZNLna0Iuv12mW
3YotfHYDckfZn9qz7Wza7vVLQvV9534aJMREJEPkGBXPJEb2GxXqAm6iWPcIqsDg
ppSvRZ/eotSUQpF6gBekfeQaErDvpUuRZYx9UnYiU56A034PcxKjjY/TWWMm2Ait
KWtMoWCtOJN3xZrtkLcqvXExlpcVNH3lPeXlHgDo/AzSlHWyP/iL+79jKK0uLPQo
SlTKJnGymu5xciy0qeDTRZ0Dth5l8QP40sNwfD/czBTWXFWHbhXgSBsc4zbPsTbK
t15LHdgEFchrIEhi3YR4QhxdbMFeCCiH41aOMSHaVWTa0fedlXfa4v1qvhGZU1q3
sq8Hu65U3qI/VnlsvQQ+UT2vTlNPY0IB+OR0mrW1PuxoU2Kta1AD6xc1Q8pf5BnH
zqkQEJ70tqbMFI2crgGG7NAmCVTB88758Y537hNhb8xegvsYXv80HH9V8ziZ57L9
36h9RjFuDJIYszQeYfYuTYw2jwNhD5vvU8d1LIO758L7dsySEZFyQTKDaTBqPyjj
HLrTZNQD/8gqKQQc3Sz6hGkHmz7sXTMRdIA28IFt1jlqfSmH9kFe2lVpjxFQq1tI
BhXZs8tnJ+x41P3fviVuoOn4xQh7e/zfd0byQHzZ++aBa0BTCD19IDmy2RN6ukuC
nz1UbznoXYHudMXhiwOl/lduDTaxtT9CgwvovJl1Z9FMFDHmAgt5JEynqsBZVjj9
oAy2ZFyljpAT1B9UsJtagkLvNdlWw+38bcKQ/ufWFXAuaxMdlyd7DO9rWVkBLLeT
LwOkehsGDk2h1dJGRYgDO7cuXo/7SnpL9ckJbYmoGMSo93pUDKtXV0QnUH4HKXCe
QvdcR0WLa1yECRcKk6vsnDqP9gevNSn6CJd5ZXHFTAqBB0PRthISjuZonTC80L/E
9FfjgW8pB7nqkrEkLzR5qFlVCMxqIjM/YoZcKN/Ps0ehCwzTr6awK7LwpF5ObT4m
b437lKlVzKfl0QLW64OP59UuIb/ldI7GlsWwBigd9S3SOKoKZgM8KTqx6uHK01vd
L0vczDaDpifbgAk19fmX6cTZ8Rc2d6Mydw9hRcIzTkmaTl0wRq4/neF5zzUSGanr
5JpyosjEr6I0GtbaxiCXP9OPrRhDHWXTJrwNxB644lMp387Lp1y/YXVyVrvC8jnJ
Lndbj8L5dKJMfE46/wgPSa8QmEg2Q3tcOgn5oxFqjSAEKxH1yt5sa8fWYfC3DeF4
LLW+isipBby6KBguL+Wo+g1U7mLOWpXaE4+q0XmIfZEVB0no7qnrplPrgcvKVcUv
VuVBI2iVh+Dxw7qAe1CCZZEwwy9S3hNpV2qRn636cK+u3VjO53RZ5U8GdJYTiDHN
FJ+I+HsC786v5Vanxzlkr+xM2Uq/2DKvVe9crRGTlyXBScLIIWGd3i5g00Hbdfgk
vH1Hcv8DOUZcCEbz/bNS8lJ6jT2f8b+WxSYl4CKeLfW7LHTCuOJF4/vHCs7Xl8qr
i+ATLtyIQEn3ThGI43hta6u7J2Bp9odWx8IwuD4ie5CGa+r9xlq1CjkF7Hm24Nuv
u8lVIzY/DkOZfCDZcxim9JZkHc3gcrS3fTK4XejLwQA3ysX1jA9bV+h++Qql6zE5
rlOtp6ZCH1uPHULZKpuBicAa0Axnxky3njnYpCOvfaQ7yy2kMmWg27lXPZWl6ev6
nnkWJJtpkveWPSj/aRpAI1AXYv31b1elOu2y+hq0+sXL4qVnklOC9J/iP9eHDnqi
kiC9jiczR80JRDQBYxm5HPldaFLHPbNuFqG2WKXDDxYX3Ld5aWCdALXBEU5KotGk
Tc2YcjkG1pNPThHD2AV6H8t3/LsPR69TVDdbsPodDEQ0tN4UO07Ha8fvsDZUF/2Q
yTa8ZAeqEWwI0tN45Do/v6DhGa58Mf5Rn5U3Kxi9AqoIp6muPkaTit4yEO7qtlMJ
5zGA5dGufJQeFtmJDAwvtrHoO+5+hP7xzBLLduve1TuUSMncf59hJp0jCxD0VNkv
0BzPvLbXawDu+TnMwyq4tjWLditmB7N17u+iysKYAP0BOm7ZrSbSwKXOFPK+2gci
saB0uc4VrouMtRsBSazXtOmmBdjq1K08roTpgaqlOA9QURtyVnUOYjAgZLY6rl4j
NVnrX/+0H7ZUeEC6LSSzAyG9+9wa/cItw8h4ADr6qIUTTDrGlr+71ar6BGxFfrid
bAPRIJg+q9b9t/PDq63SjXv2zQQRll9eh/cI/GOClBorKLiCWBWC0OOsbTOV/T40
6960US93J+lrljhxrHf0JZBssycqqTqBJhQ0892kmdfIWG7YejTQvXwIZ+BxXnxc
vxPu2ApFamMsbdrTom+14fW0/Bjb3rxxSkmioBKrthcvXQsKTwvqJscP1jn18gYW
zJGAT5sBBoQDQfFtDtht+hL8+CJxctzfhcFJ6L7qR1hZZchVsZh41o0fh4FJk4Gz
5xJP8M29arNdElKhAdtDS/qBs7ZcKdw+BMzpwc1hx144Uj5EuhVJ/fB0PGiEbSRH
MUqKR5Dl8sK38Av7sXH3A+P0z4Z4uY2WA7Uv0naD2hi8W2xrzTBoU/eL73nSiM2e
mUuir1qm1pVgL+Pl83QDcPlsSiTKdwLcrSCXiJsg9QsC8/XfA+3uUFw99YLnL1yQ
q7B6XwH/oDo4gGO63sHoHldOlzI+o4r6OLeB5FnqHkJaEGlLc+NR1Q7okK5f5I64
KDBdnAqOAj3X+9+o5hDydJt9UF/UaV8o2nX+8gGYWfz4+VBtt5UPE30RC0pMdKDN
qIl6+ulQEJOz9Af2g56Nyan/yYClP1y0vdMXoJULCZClybw5Zg5WxFvmI3hI1J8j
HKHROQ8n6FX1SwVUY/jWcawkbQudHykVXQGsllOdipIPn1pCYBsQRb4L29Rd2nFd
J3C7RFCOqrFqRwa5dj/QANam9KYg+i4e//NTCttdJC3uqe+x2AXeJiysi6png5y5
w3SNatHuuyHslZrMKNqjmLQB6ufwJmPsTJX/OD7CTEtpUaCUgJOSpnDpgSaK8ccf
# Personal access token generated from github and used for making authentiated calls

github.personalAccessToken=f3224263e43e8790f3fa77a20f1abb5162bb0564

@matthewbeasley @nireeshT
can you please help on this?

@trinathtiru send jar command used to run collector

@nireeshT  Please find the below command
java -jar github-collector.jar --spring.config.name=github --spring.config.location=/usr/Hygieia/collectors/scm/github/application.properties

@Megha849 @satishc1 can you please help on this

Can you verify that the path to the properties file is correct?

@Sbrenthughes yes its correct

@trinathtiru What was done to resolve this issue?

Hi ..can you please paste your API properties ? Is the key generated by core module  mentioned  in API properties as well ? Also ..I didn't use core module generated key at all and able to fetch data from GitHub .can you please comment out core module generated key and try out ?

I kept only the GitHub generated key

@Phoenix9032 Please find the github application.property file
dbname=dashboarddb
dbhost=localhost
dbport=27017
dbreplicaset=false
dbhostport=
dbusername=dashboarduser
dbpassword=12345678
logging.file=./logs/github.log
Collector schedule (required)
github.cron=0 0/5 * * * *
github.host=github.com
Maximum number of previous days from current date, when fetching commits
github.commitThresholdDays=15
Optional: Error threshold count after which collector stops collecting for a collector item. Default is 2.
github.errorThreshold=1
This is the key generated using the Encryption class in core
github.key=rtkHFhahAiMmUaib/VdrxGQWp9OYp48y
#personal access token generated from github and used for making authentiated calls
github.personalAccessToken=

I am also new to this but I didnt use the core module generated key .I generated GitHub access token and used that value in the last variable in the properties file .

@Phoenix9032 can i generate the personal access token and give a try?

Yes ..in absence of a better suggestion from others ...

@trinathtiru Are you sure your mongodb is running correctly? and the login credentials for MongoDB are correctly mentioned in the application properties .
Per the above conversation, I believe you are using the below command to bring up your application?
java -jar github-collector.jar --spring.config.name=github --spring.config.location=/usr/Hygieia/collectors/scm/github/application.properties

@trinathtiru @Phoenix9032 looks like there is lot of confusion going around with github.key and github.personalAccessToken
github.key is value generated from core module. You can generate this key from UI as admin user.

create an admin user - useername - "admin" , password -"you can chose any password"

go to admin settings -> Generate Api token -> create new key by setting name  and expiration date.

Copy the generated key to github properties file  as github.key = "generated key".

Go to api.properties file, add property -> key = "generated key"

Generated key is used to encrypt password when you configure github repository for accessing private repos. Public repos will not require github.key or github.personalAccessToken.

On the other hand, github.personal AccessToken is directly taken from github-> developer settings-> personalAccessToken. This value is used to access the private repos.
You can use either github.key or github.personalAccesstoken to access private repos and they are doing the same thing.

@trinathtiru - I think there's enough information here to answer your questions. Closing this issue. Open another if you have issues or additional questions.

@trinathtiru @Phoenix9032 looks like there is lot of confusion going around with github.key and github.personalAccessToken
github.key is value generated from core module. You can generate this key from UI as admin user.

create an admin user - useername - "admin" , password -"you can chose any password"
go to admin settings -> Generate Api token -> create new key by setting name  and expiration date.

Copy the generated key to github properties file  as github.key = "generated key".
Go to api.properties file, add property -> key = "generated key"
Generated key is used to encrypt password when you configure github repository for accessing private repos. Public repos will not require github.key or github.personalAccessToken.

On the other hand, github.personal AccessToken is directly taken from github-> developer settings-> personalAccessToken. This value is used to access the private repos.
You can use either github.key or github.personalAccesstoken to access private repos and they are doing the same thing.

...Hello!!
I don't know where i should copy the "generated key" into github

@JULIANCHO923
you can do this

Hi All,
Any update on this thread?
I am a newbie to Hygieia and its Setup. I was able to setup Hygieia-UI, Core and API.
And I am facing issue while trying to Setup hygieia-github-scm-collector (Its not able to connect to repository and gives 0 enabledRepos).
Note that I followed Readme and connected to Public repo (And didn't give key, personalKey as I am connecting to Public repo), Please find my githib configs connecting to public repo ( https://github.com/Hygieia/Hygieia) as follows,
dbname=dashboarddb
dbhost=localhost
dbport=27017
dbreplicaset=false
dbhostport=localhost:27017
dbusername=dashboarduser
dbpassword=dbpassword
github.proxy=
#Proxy Port
github.proxyPort=
github.proxyUser=
github.proxyPassword=
#Logging File location
logging.file=./logs/github.log
#Collector schedule (required)
github.cron=0 0/5
github.host=https://github.com/Hygieia/Hygieia
#Maximum number of previous days from current date, when fetching commits
github.commitThresholdDays=15
github.errorThreshold=1
#This is the key generated using the Encryption class in core
github.key=
#Personal access token generated from github and used for making authentiated calls
github.personalAccessToken=

And my logs are as follows,
2020-02-17 10:47:04,737 [main] INFO com.capitalone.dashboard.Application - Started Application in 11.205 seconds (JVM running for 12.401)
2020-02-17 10:48:00,001 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Running Collector: GitHub
2020-02-17 10:48:00,023 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - -----------------------------------
2020-02-17 10:48:00,023 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Starting...
2020-02-17 10:48:00,028 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - -----------------------------------
2020-02-17 10:48:00,075 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - -----------------------------------
2020-02-17 10:48:00,075 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Get enabledRepos...
2020-02-17 10:48:00,080 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - -----------------------------------
2020-02-17 10:48:00,083 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - -----------------------------------
2020-02-17 10:48:00,090 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - collector: 5e44b4a8b70a6f386485b4e8
2020-02-17 10:48:00,095 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - -----------------------------------
2020-02-17 10:48:00,126 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - -----------------------------------
2020-02-17 10:48:00,130 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - repos: []
2020-02-17 10:48:00,136 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - -----------------------------------
2020-02-17 10:48:00,151 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Repo Count 0 0s
2020-02-17 10:48:00,152 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - New Commits 0 0s
2020-02-17 10:48:00,152 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - New Pulls 0 0s
2020-02-17 10:48:00,155 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - New Issues 0 0s
2020-02-17 10:48:00,156 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Finished 0s
Please let me know if I need to configure anything to get it working. Thanks in advance.

I am getting a similar issue with Bitbucket Collector. Getting repocount, commit count, pullcount as 0. Also the collector log does not show any error. On debugging, I saw enabledGitRepoSize is coming as 0. Any idea the method 'findEnabledGitRepos' in GitRepoRepository fetches which mongodb records? Also do we need to check anything in mongodb. Idont see any records in database from bitbucket collector. Below is my application.properties file for bitbucket collector. Please help
dbport=27017
dbreplicaset=false
dbhostport=<IP_ADDRESS>:27017
logging.file=./logs/bitbucket.log
git.cron=0 0/1
git.host=api.bitbucket.org/
git.username=XXXXX
git.password=XXXXXX
git.api=/api/2.0/repositories/
git.commitThresholdDays=15
git.pageSize=25
git.product=cloud
bitbucket.key=XXXX
git.key=XXXX


Deprecate the Status.apply(headers) dsl

The model in 0.22 and 1.0 is changed and Scala does not know how to dispatch to the overloaded apply.
This adds a deprecation to the apply method that only accepts headers and adds a headers constructor.

:+1: to the concept.  Needs a scalafmt.  Would love to figure out a scalafix, but that can be separate.

This is not binary compatible, and if I make it compatible, the build fails on deprecation warnings...

Sounds like we should just aim for 0.22 and skip the deprecation cycle, then?

Retargeting for 0.22. Closing


x/telemetry, cmd/go: umbrella issue for cmd/go integration

This is an umbrella issue tracking work to integrate opt-in telemetry with cmd/go for Go 1.23. This augments #58894 with specific items necessary for cmd/go.
Here are some high level steps:

[x] Vendor x/telemetry and call counter.Open (done in https://go.dev/cl/559199)
[x] Add at least one counter (e.g. flag usage). (https://go.dev/cl/559519, reverted due to windows/386 test failure in #65447)
[x] File at least one public telemetry proposal for collection of a Go command counter.
[x] Observe counters being reported to telemetry.go.dev. This will happen even before the next step, from users that run gopls.
[x] Design a mechanism for lighter-weight uploading (e.g. #65500, though that need not be the solution). Necessary features:

[x] Rate limit uploading. E.g. only one process per day calls upload.Run.
[x] Daemonize uploading. Uploads should be detached from short-lived Go command invocations.
[x] Decide when uploading should be attempted. For example, we could only attempt during go build, or use a heuristic such as a 1s delay from process start.

CC @golang/telemetry

Is there any status update to report on this issue?

We've gotten counters into the go command and are working on integrating them into other commands. We have a telemetry counter config proposal out (https://github.com/golang/go/issues/66210).

@matloob this is a release blocker. Any update on the counters? Thanks.

Hi we plan to have counters flowing onto the website and a collection proposal out by the end of the week.
I have a CL out to add counters to the compiler and will soon send out CLs for the other tools.

@matloob Is there is status update on this issue? This came up in the release meeting.

I checked the last box, since we have observed counters.
@matloob I think this can be closed.

Closing.


not created access token

Describe the bug
not created access token when i upload image to firebase storage
Installed packages
{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "require": {
        "php": "^8.0.2",
        "google/cloud-firestore": "^1.34",
        "google/cloud-storage": "^1.31",
        "guzzlehttp/guzzle": "^7.2",
        "kreait/laravel-firebase": "^4.2",
        "laravel/framework": "^9.19",
        "laravel/sanctum": "^3.0",
        "laravel/tinker": "^2.7"
    },
    "require-dev": {
        "fakerphp/faker": "^1.9.1",
        "laravel/pint": "^1.0",
        "laravel/sail": "^1.0.1",
        "mockery/mockery": "^1.4.4",
        "nunomaduro/collision": "^6.1",
        "phpunit/phpunit": "^9.5.10",
        "spatie/laravel-ignition": "^1.0"
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/",
            "Database\\Factories\\": "database/factories/",
            "Database\\Seeders\\": "database/seeders/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi"
        ],
        "post-update-cmd": [
            "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ]
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true,
        "allow-plugins": {
            "pestphp/pest-plugin": true
        }
    },
    "minimum-stability": "stable",
    "prefer-stable": true
}

PHP version and extensions
php 8

Steps to reproduce the issue.
i can not
Error message/Stack trace
-

Additional information
No response

I need more information about the problem and code to reproduce it, please.

 $request->email,
        'password' => $request->password,
        ];

        $createdUser = $auth->createUser($userProperties);
        $database = app('firebase.firestore')->database()->collection('Users')->document($createdUser->uid);

        $image = $request->file('image');
        $firebase_path = 'Profile_Images/';
        $localfolder = public_path('firebase-temp-uploads').'/';
        $name = $createdUser->uid;
        $extension = $image->getClientOriginalExtension();
        $file = $name.'.'.$extension;
        $image->move($localfolder,$file);
        $uploadedfile = fopen($localfolder.$file,'r');
        $object = app('firebase.storage')->getBucket()->upload($uploadedfile,['name'=>$firebase_path.$file]);

        $object->update(
            ['acl' => []],
            ['predefinedAcl' => 'PUBLICREAD']
        );

        $database->set([
            'userBio' => $request->message,
            'userBioLink' => $request->number,
            'userEmail' => $request->email,
            'userUID' => $createdUser->uid,
            'username' => $request->name,

        ]);
    }

    public function auth(Request $request){

    }
}

`<?php
namespace App\Http\Controllers;
use Kreait\Firebase\Contract\Storage;
use Kreait\Firebase\Auth;
use Kreait\Firebase\Factory;
use Google\Cloud\Firestore\FirestoreClient;
use Kreait\Laravel\Firebase\Facades\Firebase;
use Illuminate\Http\Request;
class RegistController extends Controller
{
public function submit(Request $request){
$auth = app('firebase.auth');
$userProperties = [
'email' => $request->email,
'password' => $request->password,
];
    $createdUser = $auth->createUser($userProperties);
    $database = app('firebase.firestore')->database()->collection('Users')->document($createdUser->uid);

    $image = $request->file('image');
    $firebase_path = 'Profile_Images/';
    $localfolder = public_path('firebase-temp-uploads').'/';
    $name = $createdUser->uid;
    $extension = $image->getClientOriginalExtension();
    $file = $name.'.'.$extension;
    $image->move($localfolder,$file);
    $uploadedfile = fopen($localfolder.$file,'r');
    $object = app('firebase.storage')->getBucket()->upload($uploadedfile,['name'=>$firebase_path.$file]);

    $object->update(
        ['acl' => []],
        ['predefinedAcl' => 'PUBLICREAD']
    );

    $database->set([
        'userBio' => $request->message,
        'userBioLink' => $request->number,
        'userEmail' => $request->email,
        'userUID' => $createdUser->uid,
        'username' => $request->name,

    ]);
}

public function auth(Request $request){

}

}`

this is my code

When i upload image i see problem:error creating access token

please, it is very important

help me

I can't reproduce the problem, but I see you're using version ^4.2 of the package, you could try upgrading to the current ^5.2 and see if this helps.
You can also find a usage example here: https://github.com/jeromegamez/firebase-php-examples/blob/main/src/Command/UploadFileCommand.php - it is a Symfony command, but the Firebase-related code is the same.
Please understand that I cannot provide support without sufficient information, for example, in which line the error occurs or without a stack trace of the error. Also, I'm confident the error message is not thrown by the my package or SDK but from the underlying google/cloud-storage library.

thanks it helped

how to get download token in php?

to create a download link

https://github.com/jeromegamez/firebase-php-examples/blob/490a8fc33254cac6280bccf4686bd9e5e0674e0e/src/Command/UploadFileCommand.php#L64-L70
https://github.com/GoogleCloudPlatform/php-docs-samples/blob/main/storage/src/get_object_v4_signed_url.php
https://github.com/GoogleCloudPlatform/php-docs-samples/blob/main/storage/src/get_object_v2_signed_url.php
https://cloud.google.com/php/docs/reference/cloud-storage/latest/StorageObject#_Google_Cloud_Storage_StorageObject__signedUrl__

Also have a look at https://github.com/kreait/firebase-php/issues/571 where the same or at least similar issue was posted.
I'm going to close the issue, because it's not a bug or missing feature in the SDK, but feel free to share your findings so that others might benefit from them.


Feature request: Add template filters for switch_is_active, flag_is_active, sample_is_active

In my usage of Django-waffle, I found that I cannot use the switch template tag within an if statement's condition in Django templates as some blocks of code require both the switch to be active and another context variable to be set.
Please find an example of this case below:
{% switch 'switch'%}
  {% if context_variable %}
    modified message
  {% else %}
    default message
  {% endif %}
{% else %}
  default
{%endswitch%}

Suggestion: I suggest we make template filters for switch_is_active, flag_is_active, and sample_is_active, this will allow the reduction of redundant code in this scenario.
an example of this suggestion is below:
{% if 'switch'|switch_is_active and context_variable%}
  modified message
{% else %}
  default message
{% endif %}

If this is a good suggestion, I can make a PR for it.

Would find use with this in my projects using django-waffle

Hi! I'm just starting with open source and I'd love to give this a try.

@clintonb @dancergraham bump

Thank you for the suggestion @dancergraham, @whoiskrtk2 I have already forked the repo and have a PR feature branch ready, I am happy to walk the PR through with you 👍🏻


Hide BasicCC if any other actuator CCs are supported

Edit: There's no easy way to test this. Should do it manually.
Fixes: #388

Tis works


Math magicians: full website

Project requirements
In this PR I worked on the following:

I created a website consisting of 3 pages: Home, Calculator, and Quote.
The general layout should match with the given wireframes.
I added my own styles to improve the look and feel.
I used React basic styling (inline styles, importing CSS and pre-processed CSS files).
I created a  for each of the 3 pages.
I make sure that navigation links for all 3 routes are displayed on each page.
I used React Router to make the routes work.

Thank you so much @alexander16108 for the feedback, I fixed the required changes.


[Storage] Fix #21196: az storage share delete: Add --delete-snapshots include-leased

Related command

Description

[Storage] az storage share delete: Add --delete-snapshots include-leased
Fix #21196
Bump azure-storage-multiapi to 1.3.0, fileshare to api version 2024-08-04
Testing Guide

History Notes

[Storage] az storage share delete: Add --delete-snapshots include-leased

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

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Storage

/azp run


Move refresh and sort options to toolbar

Having refresh and sort options in toolbar, makes them easier and faster to access.
Those are the most used options, I think, and reducing taps (even if it's just one) is a UX improvement.
I'm also sure that toolbar has enough space for them, since it only has the overflow menu.
Thanks in advance.

The toolbar might have enough space for refresh and sort to be always shown, but since this toolbar is shown in the context of images, that usually have a lot going on (color, contrast) I am trying to keep the toolbar as clean as possible to counter weigh the images. I might decide and add an option in settings, but I am not sure yet.

@kollerlukas  So, you're using the same toolbar for all sections/activities in the app? Well, then try hiding/removing those icons from toolbar when the toolbar is in other section that is not the albums view. Just a suggestion. If you decide to make it available in settings, that would be great too. Thanks.


Silent below steer speed alert

I agree this needs to be fixed, but I'm not really sure this is better. One of the biggest complaints with the EV6 stock system is that the steering cuts out without warning. Let's keep this open for now, and I'll think about another solution while working on some of the planned UI updates.

Think an issue is more appropriate for this


Webpublish: remove publish highlight when creating subset name

Brief description
Reusing OP published workfile in Webpublisher workflow has an issue because of publish highlight (℗).

Seems not working, unless the metadata from File info is deleted


feature: add ability to create new environments with prepare

If no environments are specified, ns assumes the existence of dev, staging and prod.
This setup is fairly team specific, so we should make it trivial to create new environments instead.
Something like:
ns prepare local --env=foobar --create-env --env_purpose=DEVELOPMENT

Or alternatively,
ns workspace create-env --name=foobar --purpose=DEVELOPMENT

Where purpose is one of DEVELOPMENT, TESTING or PRODUCTION. For now lets assume that runtime is always kubernetes, so we don't need to ask users about it.
It would be practical to generate environments inline in prepare, as we usually do both environment creation and setup in tandem. But open for ideas here.
Environments need to be declared, and they live under environment in ns-workspace.cue. E.g.
environment: {
	dev: {
		runtime: "kubernetes"
		purpose: "DEVELOPMENT"
	}
	staging: {
		runtime: "kubernetes"
		purpose: "PRODUCTION"
	}
}

In order to mutate this block, the EditableWorkspaceData instead will need to be augmented to set environments.
https://github.com/namespacelabs/foundation/blob/36b0f02a591d765c068ea7f16def14e2926132d7/std/pkggraph/workspacedata.go#L14-L20
The Cue workspace loader will need to be updated to allow setting workspaces. This is a bit gnarly, but there's some existing code that should guide the way:
https://github.com/namespacelabs/foundation/blob/36b0f02a591d765c068ea7f16def14e2926132d7/internal/frontend/cuefrontend/module.go#L227-L228

https://github.com/namespacelabs/foundation/pull/975


Vulnerability roundup 104: jenkins-2.289.1: 2 advisories [7.5]

search, files

[ ] CVE-2021-21671 CVSSv3=7.5 (nixos-unstable)
[ ] CVE-2021-21670 CVSSv3=4.3 (nixos-unstable)

CVE details
CVE-2021-21671
Jenkins 2.299 and earlier, LTS 2.289.1 and earlier does not invalidate the previous session on login.
CVE-2021-21670
Jenkins 2.299 and earlier, LTS 2.289.1 and earlier allows users to cancel queue items and abort builds of jobs for which they have Item/Cancel permission even when they do not have Item/Read permission.

Scanned versions: nixos-unstable: 1905f5f2e55.
Cc @coreyoconnor
Cc @earldouglas
Cc @fpletz
Cc @nequissimus

This was fixed in #136202.


[fuzz] Got rid of all uninteresting call logs in health check fuzzing

Signed-off-by: Zach Reyes<EMAIL_ADDRESS>Commit Message: Got rid of all uninteresting call logs in health check fuzzing
Additional Description: Uninteresting call logs were slowing down my health check fuzzer in oss-fuzz. This PR gets rid of all uninteresting call logs by wrapping applicable objects in NiceMocks. However, since at the beginning of my internship I refactored the unit tests to also use fuzz tests, I put the unit test classes back in test/common/upstream:health_checker_impl_test.cc, and renamed test/common/upstream:health_checker_impl_test_utils to health_check_fuzz_test_utils.
No loss in coverage over source/common/upstream/health_checker_impl.cc. Speed up to 30 exec/sec on my cloudtop instance.
Risk Level: Low

/assign @asraa @htuch @adisuissa

Thanks! What was the before of the speed on cloudtop?

Honestly Asra it was same speed, 30 exec/sec.


Standardize major names

NP-81
Also fetches list of supported majors directly from validator instead of using a majors.json file.
Couldn't figure out how to rename the VALIDATOR env var though, so ended up creating a duplicate env var for now called NEXT_PUBLIC_VALIDATOR.

Ok just updated integration test to run the validator inside the workflow (it was using the deployed instance before). Please rebase and update VALIDATOR in this file as well: https://github.com/UTDNebula/planner/blob/develop/.github/workflows/tests.yml.

Will update the envs on Vercel. Having issues logging in :thinking:


windows 10 application crash

The v3 client crashes under Windows 10 64-bit. Any compatibility issues here?

I also have this problem, 32-bit version doesn't work either on win10-64.
Any tricks to fix this?

Same here on win7 64bit.

im having the same problem, did anyone here manage to fix there wallets.. tryed all my pcs running different versions of windows 7/8/10.
any fix
help


Responsive Date

Use JavaScript to create a script that automatically updates the copyright year at the bottom of the page so that it does not have to be done manually.

Fixed in PR #34. In v0.5.3-beta.


Support elastic connection holder like connection pool of datasource(#56)

Motivation:

Support elastic connection holder like connection pool of datasource
complete #56

Modification:
new ElaticConnectionHolder， extends AllConnectionHolder  and the addNode method is overridden，
control the number of long synchronous connections by getting the value of the
CONSUMER_ELATICCONNECT_PRECENT parameter or CONCUMER_ELATICCONNECT_SIZE parameter in the parameter map。
use CONSUMER_ELATICCONNECT_PRECENT first unless CONSUMER_ELATICCONNECT_PRECENT<=0
others are asynchronous to establish a connection
Result:
complete #56

以下是测试建立连接后可进行调用服务的时间的数据情况,注册中心选择zookeeper
注册中心，消费者，服务提供者 都是跑在本地

服务提供者数量
allConnectionHolder
ElaticConnectionHolder

50
960ms
540ms

100
1535ms
529ms

the reason for the error is the test case requires zookeeper
what can i do?

If you run test cast with zookeeper registry, you need move the test case to test-integration-3rd module, and make sure the test case extents com.alipay.sofa.rpc.base.BaseZkTest.
See example: https://github.com/alipay/sofa-rpc/blob/master/test/test-integration-3rd/src/test/java/com/alipay/sofa/rpc/bootstrap/dubbo/DubboServerTest.java

Plugin org.apache.maven.plugins:maven-javadoc-plugin:2.10.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-javadoc-plugin:jar:2.10.4: Could not transfer artifact org.apache.maven.plugins:maven-javadoc-plugin:pom:2.10.4 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version

what`s mean that this error ?

@liangyuanpeng
https://central.sonatype.org/articles/2018/May/04/discontinue-support-for-tlsv11-and-below/

i have not to used tls in my code

@liangyuanpeng  maven repo changed their settings
jdk6 use tls 1    default
jdk7 use tls 1.1 default
jdk8 use tls 1.2 default
use jdk8 or  use
mvn -Dhttps.protocols=TLSv1.2 install

to try

the error was reported in jdk6，
i used jdk8
what do i need to do?

@liangyuanpeng please see https://central.sonatype.org/articles/2018/May/04/discontinue-support-for-tlsv11-and-below/

@leizhiyuan
:thumbsup:
what can i do for you

Codecov Report

Merging #184 into master will decrease coverage by 0.25%.
The diff coverage is 6.66%.

@@             Coverage Diff             @@
##             master    #184      +/-   ##
===========================================
- Coverage     71.25%     71%   -0.26%
- Complexity      955     957       +2
===========================================
  Files           341     342       +1
  Lines         14210   14280      +70
  Branches       2286    2298      +12
===========================================
+ Hits          10126   10139      +13
- Misses         2891    2949      +58
+ Partials       1193    1192       -1

Impacted Files
Coverage Δ
Complexity Δ

...in/java/com/alipay/sofa/rpc/common/RpcOptions.java
100% <ø> (ø)
0 <0> (ø)
:arrow_down:

...alipay/sofa/rpc/client/ElaticConnectionHolder.java
0% <0%> (ø)
0 <0> (?)

...ay/sofa/rpc/client/AllConnectConnectionHolder.java
61.24% <31.25%> (-1.89%)
0 <0> (ø)

...m/alipay/sofa/rpc/module/FaultToleranceModule.java
66.66% <0%> (-26.67%)
4% <0%> (-1%)

...y/sofa/rpc/bootstrap/DefaultProviderBootstrap.java
63.95% <0%> (-2.54%)
0% <0%> (ø)

...pay/sofa/rpc/transport/ClientTransportFactory.java
72.3% <0%> (-1.54%)
0% <0%> (ø)

...com/alipay/sofa/rpc/context/RpcRuntimeContext.java
89.02% <0%> (-1.22%)
0% <0%> (ø)

...alipay/sofa/rpc/registry/zk/ZookeeperRegistry.java
61.32% <0%> (+1.17%)
0% <0%> (ø)
:arrow_down:

...c/transport/http/AbstractHttp2ClientTransport.java
80.48% <0%> (+2.43%)
29% <0%> (ø)
:arrow_down:

... and 3 more

Continue to review full report at Codecov.

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

Failed tests:
testWarmUp(com.alipay.sofa.rpc.registry.zk.WarmUpTest): expected:<22222> but was:<22111>

Hi @liangyuanpeng , We will merge this PR recently, can you make the final change by the review result.

@ujjboy
sure,I'll finish it tonight,
thank you for your review


Spelling: ReactUil -> ReactUtil

Not a big deal, just spelling ReactUil -> ReactUtil

run unit tests

Spelling is so hard... I rebased this 🚀

retest this please

retest this please

run integration tests

🙌


Independent Mode cluster should have a Ready phase

Currently in Independent Mode (IM), phases are Connecting or Connected, but never in Ready state. In IM mode also a cluster should be reflected as ready state once it complete the connection with the external cluster.

Please don't refer to "Independent Mode" here. We are dealing with external StorageClusters and CephClusters.


GoG won't sync. Installed games won't appear as installed.

GoG games which are installed appear to not be installed in Playnite. Also, GoG fails to sync. Clicking on install on any game that GoG claims to be not installed crashes playnite.
On trying to sync GoG games, I get this error : Failed to import games from GOG. Unexpected character encountered while parsing value: . Path ", line 0,position 0.
The error happens whether I'm in safemode or not, and whether I've set it to sync only installed games, or both installed and uninstalled games.
Diagnostic ID : 73b93273-3cee-4ea7-93ea-1233d79c10b4
Playnite812.log

For installed games not being detected see this: https://github.com/JosefNemec/Playnite/wiki/GOG-troubleshooting
I can't replicate the sync issue, but I've seen it in past if there was some issue on GOG's side (their API having issues). Maybe wait a while or try re-authenticating.

I already looked into the troubleshooting. It didn't do anything.
I even tried manually setting the location of all the games one by one, but the moment playnite is restarted, the games are once again marked not installed and all the location data also gets erased.
This issue has been happening to me for months now.
I already tried re-authenticating multiple times.
At this point, I have only two chances. Either a full reset, which I don't want to do, because I'll lose all my game data, or I remove the GoG extension and setup all the game records manually. =\

Try it with this build of GOG plugin. Unpack it to Playnite's install directory under Extensions\GogLibrary\ directory.
It looks like of installed games has broken manifest and it causes general import failure. So at least on of the games won't be imported, but everything else should work just fine.

Fixed in 8.13

Yup. Definitely fixed. Thanks for the message!
On Tue, 15 Jun 2021, 18:10 Josef Nemec, @.***> wrote:

Fixed in 8.13
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JosefNemec/PlayniteExtensions/issues/27#issuecomment-861463547,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANZVC3SXFHWLGQJSLMQTVWLTS5C2PANCNFSM45K6C4IQ
.


Upvote animation

When user clicks on upvote button show animation exported from Rive

It looks good but I think we should do downvote too?

It looks good but I think we should do downvote too?

Do you want the same animation, but upside down or should I ping Vasil to create a new one?

@stunningpixels please test and approve this one

https://user-images.githubusercontent.com/35258279/214545217-938ffe35-c26d-444c-8ce9-674804bdfbd9.mov
@stunningpixels

Superseded by https://github.com/BloopAI/bloop/pull/159


Bump limitlessled dependency to 1.0.5.

Description:
The bug that causes #6295 is fixed in limitlessled 1.0.5. So we need to bump the dependency to that version.
Related issue (if applicable): fixes #6295

@balloob, can we get this merged to 0.39.2?

Maby into 0.39.3 but I don't think that will go out

Hey @janLo
I am running 0.39.3 in a docker container. Have done the following to bump to the latest version of this library.

Edited requirements_all.txt to 1.0.5
Edited components/light/limitlessled.py to 1.0.5
Executed pip3 uninstall limitlessled and pip3 install limitlessled==1.0.5 to install the latest version

I am now running the library introduced in this PR. A pip show limitlessled yields the following response.
root@Daedalus:/usr/src/app# pip show limitlessled
Name: limitlessled
Version: 1.0.5
Summary: Control LimitlessLED products.
Home-page: https://github.com/happyleavesaoc/python-limitlessled/
Author: happyleaves
Author-email<EMAIL_ADDRESS>License: MIT
Location: /usr/local/lib/python3.5/site-packages
Requires:

However, I am now unable to use any LimitlessLED lights, and the entire component fails to load (all my lights disappear from the Home Assistant front end).
Here is an entry from my Home Assistant log file
17-03-07 22:58:58 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform limitlessled
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
    entity_platform.add_entities, discovery_info
  File "uvloop/future.pyx", line 230, in __iter__ (uvloop/loop.c:110600)
  File "uvloop/future.pyx", line 432, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:113980)
  File "uvloop/future.pyx", line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:108900)
  File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/light/limitlessled.py", line 101, in setup_platform
    from limitlessled.bridge import Bridge
ImportError: No module named 'limitlessled.bridge'; 'limitlessled' is not a package

I've tried to downgrade to 1.0.4, but looks like I've broken something in the process, as even going back to 1.0.4 is now broken. Any pointers where I went wrong?


Add complex types to signature expression tests

Closes #2676
Summary
This adds complex, complex_matrix, complex_vector, and complex_row_vector to the types automatically tested by the expression tests based on stanc3's signatures.
Checklist

[x] Math issue #2676

[x] Copyright holder: Simons Foundation
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[ ] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[ ] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

This requires some C++ work before it's all correct. We need to add complex specializations for most of the functions in expression_test_helpers.hpp
We also might need better definitions of stan::math::sum for complex types

It looks like this PR has broken our CI unfortunately.
Running varmat_compatibility_summary_test on develop fails:
python ./test/varmat_compatibility_summary_test.py
........
----------------------------------------------------------------------
Ran 8 tests in 0.001s

OK
root@0fdfdbc352be:/workdir# python ./test/varmat_compatibility_test.py
curl -L https://github.com/stan-dev/stanc3/releases/download/nightly/linux-stanc -o test/expressions/stanc --retry 5 --retry-delay 10
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   650  100   650    0     0   1454      0 --:--:-- --:--:-- --:--:--  1454
100 13.2M  100 13.2M    0     0  4196k      0  0:00:03  0:00:03 --:--:-- 6568k
chmod +x test/expressions/stanc
/workdir/test/varmat_compatibility.py:114: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'>
  all_signatures = get_signatures()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/workdir/test/code_generator.py:78: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
  if number_nested_arrays > 0 and isinstance(value, collections.Iterable):
sum(array[] int) => int ... Irrelevant
sum(array[] complex) => complex ... Irrelevant
sum(array[] real) => real ... Irrelevant
Results of test 0 / 6, sum(row_vector) => real ... Success
Results of test 1 / 6, sum(complex_vector) => complex ... Fail
Results of test 2 / 6, sum(matrix) => real ... Success
Results of test 3 / 6, sum(complex_matrix) => complex ... Fail
Results of test 4 / 6, sum(complex_row_vector) => complex ... Fail
Results of test 5 / 6, sum(vector) => real ... Success
F
======================================================================
FAIL: test_sum_works (__main__.VarmatCompatibilityMainTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test/varmat_compatibility_test.py", line 19, in test_sum_works
    self.assertEqual(len(results["incompatible_signatures"]), 0)
AssertionError: 3 != 0

----------------------------------------------------------------------
Ran 1 test in 71.617s

I am yeah, should have a PR open soon.


Clear Users

Options:

Move Clear users to a sub-menu of the User Mapping page
(less preferred) add prompt before allowing "Clear Users" action

Yes, this is in the pipeline, will add prompt to confirm the clear function

Add a confirmation page before clearing user-ip mapping


Replace config/translations.yml by a hidden .wti file

This would allow to integrate better in more kind of projects.
The upgrade process should be seamless. If a config/translation.yml is detected in the current folder and no .wti file exists, move and rename file, and warn user.

Hi Edouard,
We were using more than one translation project per app. How are we supposed to push and pull from multiple projects now?


Allow moving the floating debug.toolbar everywhere

Currently the floating debug.toolbar covers the file tabs which is very unproductive since we need to move it all the time to see which tab is behind it. The only alternative is docked setting but it doesn't allow choosing a debug config.
This is also unproductive to people who quickly need to start multiple debugger processes.
So far there is no option where I can see all our file tabs and also have the option to select configs and start multiple debugger processes.

Some previous discussions in #61336
/assign @isidorn

This is a fair feature request, however we do not have it on our immediate plan. Thus assigning to backlog and we might add this in the future. Thanks

Would love to have the debug tool bar docked at location of the Command Center. The Command Center doesn't really add much convenience since it can be easily activated by Ctrl+P. Instead, the debug tool bar will be really useful because 1) it is at a fixed predictable location; 2) it doesn't block any other UI elements.


[Ahk2Exe-Edge]Directive SetVersion is not working in 32bit - Ansi version

Could you test compiling Ahk2Exe.ahk to Ahk2Exe.exe by using Ansi Version?
Directive SetVersion is not working in 32bit - Ansi version
szKey Value is not same as follows
Unicode Ver : VS_VERSION_INFO
Ansi ver : V
So occuring out of memory.
Error in #include VersionRes.ahk
Out of memory
026: while addr < addrLimit
027: {
028 : size := (NumGet(addr+0, "Ushort") + 3) &~3, blabla~~
class VersionRes
{
Name := ""
,Data := ""
,IsText := true
,DataSize := 0
,Children := []
__New(addr := 0)
{
if !addr
return this
wLength := NumGet(addr+0, "UShort"), addrLimit := addr + wLength, addr += 2
,wValueLength := NumGet(addr+0, "UShort"), addr += 2
,wType := NumGet(addr+0, "UShort"), addr += 2
;Need to modify below
szKey := StrGet(addr), addr += 2*(StrLen(szKey)+1), addr := (addr+3)&~3
ObjSetCapacity(this, "Data", size := wValueLength*(wType+1))
 ;Check Value is Correct

msgbox,% "wLength : " wLength " nwValueLength : " wValueLength " nszKey : " szKey "`nwType : " wType
;szKey Value is not Correct. as follows Unicode Ver : VS_VERSION_INFO , Ansi ver : V
;so occuring out of memory
this.Name := szKey
,this.DataSize := wValueLength
,this.IsText := wType
,DllCall("msvcrt\memcpy", "ptr", this.GetDataAddr(), "ptr", addr, "ptr", size, "cdecl"), addr += size, addr := (addr+3)&~3
;if wType
;ObjSetCapacity(this, "Data", -1)
while addr < addrLimit
{
size := (NumGet(addr+0, "UShort") + 3) & ~3
,this.Children.Insert(new VersionRes(addr))
,addr += size
}
}
_NewEnum()
{
return this.Children._NewEnum()
}
AddChild(node)
{
this.Children.Insert(node)
}
GetChild(name)
{
for k,v in this
if v.Name = name
return v
}
GetText()
{
if this.IsText
return this.Data
}
SetText(txt)
{
this.Data := txt
,this.IsText := true
,this.DataSize := StrLen(txt)+1
}
GetDataAddr()
{
return ObjGetAddress(this, "Data")
}
Save(addr)
{
orgAddr := addr
,addr += 2
,NumPut(ds:=this.DataSize, addr+0, "UShort"), addr += 2
,NumPut(it:=this.IsText, addr+0, "UShort"), addr += 2
,addr += 2StrPut(this.Name, addr+0, "UTF-16")
,addr := (addr+3)&~3
,realSize := ds(it+1)
,DllCall("msvcrt\memcpy", "ptr", addr, "ptr", this.GetDataAddr(), "ptr", realSize, "cdecl"), addr += realSize
,addr := (addr+3)&~3
for k,v in this
addr += v.Save(addr)
size := addr - orgAddr
,NumPut(size, orgAddr+0, "UShort")
return size
}
}
;@Ahk2Exe-SetName Ahk2Exe
;@Ahk2Exe-SetDescription AutoHotkey Script Compiler
;@Ahk2Exe-SetCopyright Copyright (c) since 2004
;@Ahk2Exe-SetCompanyName AutoHotkey
;@Ahk2Exe-SetOrigFilename Ahk2Exe.ahk
;@Ahk2Exe-SetMainIcon Ahk2Exe.ico
;@Ahk2Exe-SetVersion <IP_ADDRESS>
I had to check value is correct.
msgbox,% "wLength : " wLength " nwValueLength : " wValueLength " nszKey : " szKey "`nwType : " wType
szKey Value is not same as follows
Unicode Ver : VS_VERSION_INFO
Ansi ver : V
So occuring out of memory.
Error in #include VersionRes.ahk
Out of memory
026: while addr < addrLimit
027: {
028 : size := (NumGet(addr+0, "Ushort") + 3) &~3, blabla~~
I modify below and szKey Value is correct.
szKey := StrGet(addr,"UTF-16")
and then Compilation is complete without out of memory.
Set Version is replaced correctly.
But, Set Description is not correct as follows. (Such as Text is not correct ; likes wType=1)
畁潴潈歴祥匠牣灩⁴潃灭汩牥䘀潲卭牴慥Ɑ摇灩畬屳摇灩牃慥@��FileVersion
This script is difficult to understand. I can't fix it anymore
Can you do fix it?

Why use ANSI? Is the file saved as UTF-8?

Because some scripts written for AutoHotkey_B will function correctly on the ANSI version of AutoHotkey_L but fail on Unicode versions.
And I have Ansi Version of DataBase as follows .
Ansi
\u00BD\u00C3\u00B0\u00A3
Unicode
\uC2DC\uAC04
Ansi
\u00BF\u00AA\u00BC\u00F8\u00C0\u00D4\u00C0\u00E5
Unicode
\uC5ED\uC21C\uC785\uC7A5
Anyway, Yes It is saved as UTF-8 (It just Ahk2Exe.ahk - edge)
Could you test compiling Ahk2Exe.ahk to Ahk2Exe.exe by using Ansi Version?
It is occuring out of memory.

Yes okay. You can't expect UTF-8 files to work with ANSI. Unicode character take more memory space than ASCII characters do. Remove all unicode characters and save it as a normal ASCII file.

Thanks for reply.
HotKeyIt fixed it.
https://github.com/HotKeyIt/ahkdll-v1-release/blob/master/Compiler/Lib/VersionRes.ahk


Some images are overflowing on mobile

e.g. this one on the STF event page:

Possibly responsible for this behaviour? https://x.com/jcubic/status/1807782477701714286?t=NSeO9NbrV0tEMEgqmnLA-w&s=19

Hi @outofambit and @stalgiag, do you might know how to fix this issue? thanks!


Help not working - Build 1349

In the HexEdit 5.0 beta (build 1349) I get the following message when trying to view any of the help:
Navigation to the webpage was canceled
What you can try:
Retype the address.
BTW, Andrew - it is nice to see that you are active with HexEdit again.

Hi,
Thanks for the feedback. I might have forgotten to include the help file. I'll check when I get a chance.
I should have a proper full install soon which definitely includes help.
Regards,
Andrew
-----Original Message-----
From: "LBCEi"<EMAIL_ADDRESS>Sent: 9/10/2016 3:07
To: "AndrewWPhillips/HexEdit"<EMAIL_ADDRESS>Subject: [AndrewWPhillips/HexEdit] Help not working - Build 1349 (#7)
In the HexEdit 5.0 beta (build 1349) I get the following message when trying to view any of the help:
Navigation to the webpage was canceled
What you can try:
Retype the address.
BTW, Andrew - it is nice to see that you are active with HexEdit again.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I tried it and think I know what the problem is, though all I get is blank help pages. Because the help file is just extracted from a zip file and not installed with a proper installer it is marked as blocked. (Note that I am working on creating a proper installer now.)
To fix this just find the help file (HexEdit.CHM), right-click and select Properties. Then in the 1st (General) page click the "Unblock" button in the bottom right corner and click OK.  That fixed the problem for me but get back to me if this does not fix it.  (You might also try unblocking .exe and .dll files too.)

Thanks Andrew!
Unblocking the .CHM file fixed the broken help.


Error Grandle Sync

Hello, I'm trying to run this sample App but the error bellow is shown (Messages Gradle Sync):
Gradle 'android-DownloadableFonts' project refresh failed
Error:Cause: https://downloads.gradle.org/distributions-snapshots/gradle-4.0-20170406000015+0000-all.zip

I cloned the git repository and imported the project using Android Studio as specified. What am I doing wrong? Thanks in advance.

looks like require android 3.0

Still present in 3.0

It's simple to fix it

Remove gradle/wrapper/gradle-wrapper.properties file.
Sync gradle

google-starttls-domains
https://docs.google.com/spreadsheets/d/1vwIV8kBdGFHOkRqb-Khxp1WYmeOMKIbmrGhP8JdaoX4/edit?usp=drivesdk
A.Werkman

@opnay Removing gradle-wrapper.properties will cause the IDE to error:

Warning:Unable to make the module: kotlin-dsl, related gradle configuration was not found. Please, re-import the Gradle project and try again.

Facing the same issue here.


How to get the price of the horizontal line of crosshair

Hi guys,
I'm new using this library.
Worked all week-end on a tool for my trading. Still needs to implement a func.
Is there a possibility to get the value (price) targeted by the horizontal line of the crosshair.
I know that I could get coordinates or OHLC values. But I need the exact price in order to synchronize crosshair on two charts and save this price on click for others actions.
Thanks for your help

Depending on the setting for have for the crosshair (mode), you would either want the price of the datapoint at that x-axis position (time), or the price equivalent for the cursor position.
function myCrosshairMoveHandler(param) {
  if (!param.point) {
    return;
  }
  const yPrice = mainSeries.coordinateToPrice(param.point.y);
  console.log(`The cursor position in price is ${yPrice}.`);
  const dataPoint = param.seriesData.get(mainSeries);
  console.log(`The price for the datapoint is ${dataPoint.value}.`);
}

chart.subscribeCrosshairMove(myCrosshairMoveHandler);

Example: https://codesandbox.io/p/devbox/funny-framework-cw7gsw
If you are looking to sync the crosshair on two charts then you might find this example useful: https://tradingview.github.io/lightweight-charts/tutorials/how_to/set-crosshair-position

Thank you so much!! Exactly why i need.


Better error message for "forbidden".

I installed a fresh machine. During install it asked me for my "normal user" account. In my experience this adds the new user to system groups like "sudo" and other system groups. The sudo worked.
But it took me a while to figure out the cups "Forbidden" message. Turns out I had not been added to "system" and "lp" groups. IMHO the message should be something like: "login succesful, your user does not have the required permission for this action. "
That would've helped me a lot.

Will consider our options here; RFE for Future.

[master e923f65f2] Explain the "forbidden" error better (Issue #5547)


Positive VkResult codes can cause panics e.g. VK_SUBOPTIMAL_KHR when resizing a window in v0.31.0

Bug description
Positive VkResult values are converted to VulkanError::Unamed(ash::vk::Result) which triggers panics in function specific error type conversions.
Reproduce
Checkout v0.31.0, run an example (e.g. triangle) and play around with resizing the window. When fns.khr_swapchain.queue_present_khr returns VK_SUBOPTIMAL_KHR vulkano will panic at fn from(err: VulkanError) -> SubmitPresentError (vulkano/src/command_buffer/submit/queue_present.rs:315).
Cause/investigation
Panics are caused by fn from(err: VulkanError) -> {function_specific_error_type} conversions, which I believe @Rua may indend to remove anyway (as described in #1925). Searching for the string _ => panic!("unexpected error: {:?}", err) shows this case currently occurs many times in master.
[VkResult](ash::vk::Result) was previously processed with fn check_errors(result: ash::vk::Result) -> Result<Success, Error> (vulkano/src/lib.rs:207 in v0.30.0) meaning positive VkResults were converted to Ok(vulkano::Success) and promptly ignored due to the error propagation that followed check_errors calls.
I like the refactor from this rigid function to the errors.rs build script system in #1925, but the function impl From<ash::vk::Result> for VulkanError in vulkano/autogen/errors.rs:50 doesn't really make sense because a ash::vk::Result can either be an error or success code...
There's also confusion due to the use of ash::preulude::Result::result(self) -> VkResult<()> (ash/src/prelude.rs:9) which converts Self::SUCCESS to Ok(()) and all other results to Err(vk::Result).
Refactor discussion
I would be happy to write a pr for this but I'm not certain what the current goals for handling VkResult are. If vulkan error codes are being exposed then positive result codes should too right? IMO the user should have the choice to ignore or handle positive result codes, and splitting the 2 types wouldn't be hard to implement in the build script because, as specified in vk.xml, result codes < 0 are errors and codes >= 0 are positive results.
Perhaps functions could return something like:
pub type vulkano::Result<T> = Result<Return<T>, VulkanError>;
pub struct Return<T> {
    pub value: T;
    pub result_code: VulkanSuccess;
}

For the record, I think it should be pointed out that panicking in a From implementation is highly frowned upon, it says so in the docs. For that purpose there is TryFrom. So whatever the solution is, I hope this will be changed in the near future.

When a function can return a non-error code that isn't SUCCESS, functions should handle this case explicitly, like at https://github.com/vulkano-rs/vulkano/blob/master/vulkano/src/sync/fence.rs#L255-L259. In the case you mentioned, because the alternative success code was ignored, this got missed. Thankfully, the code related to presenting swapchains is partially rewritten for 0.32, and this case is now correctly handled: https://github.com/vulkano-rs/vulkano/blob/master/vulkano/src/device/queue.rs#L568-L572.
I'm not sure what can be done in the meantime, as this is a rather serious error. Perhaps a fork of the master branch could be made from where 0.31 was released, and a 0.31.1 bugfix release could be made?

A hotfix version 0.31.1 was released, so this should be fixed hopefully.


Upgrade ruby / gems

Updates all dependencies
Rubocop fixes
Upgrade to ruby 2.7.2

@rcaught @chrisjones120 would like to run this by one of you, I recall some issues you had with using a newer puma version (during ansible rollout). See https://github.com/ausaccessfed/validator-service/pull/201/files#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731fR214
See ausaccessfed/stockpile#71.

I recall some issues you had with using a newer puma version

This was related to using daemonize https://github.com/ausaccessfed/rapid-idp/issues/838. I can't see that used here so it shouldn't hit that problem.


Instance variable with the same name as a superclass' instance variable is not allowed

Compiling and running the following works on Apple platforms, but fails on GNUStep, since the second class_addIvar checks if any ivars are present before adding it. Doing such a check is correct, but the bug is that it checks the superclass hierarchy as well, instead of only checking itself.
#import <objc/runtime.h>

int main(int argc, const char * argv[]) {
    Class cls1 = objc_allocateClassPair(objc_getClass("NSObject"), "MyClass", 0);
    class_addIvar(cls1, "myIvar", sizeof(int), log2(_Alignof(int)), @encode(int));
    objc_registerClassPair(cls1);

    Class cls2 = objc_allocateClassPair(cls1, "MySubClass", 0);
    class_addIvar(cls2, "myIvar", sizeof(int), log2(_Alignof(int)), @encode(int));
    objc_registerClassPair(cls2);

    return 0;
}

I’m curious what code you have that triggers this. Having ivars with the same name is almost always a terrible idea. It will break KVC / KVO in exciting ways and anything else that depends on various reflection APIs.
We can allow it, but that won’t prevent the subtle breakage that you’ll get if you actually rely on it.

It will break KVC / KVO in exciting ways and anything else that depends on various reflection APIs.

Can you give some details on what you might think would break? I'd especially be interested to know if it causes undefined behaviour.

I don't think it's undefined behaviour, but things like object_setInstanceVariable will now act on the new ivar.  If a superclass has opted into key-value coding exposing the instance variable directly, then the KVC infrastructure will new one.  If the superclass is using the KVC setters to trigger KVO notifications, but is directly reading from the ivar then this will cause it to be in an unexpected state (it thinks it's set the ivar, it has in fact set your ivar, so both the subclass and the superclass have unexpected values).
This gets even more confusing if the instance variables have different types.  If you call class_setInstanceVariable knowing the type from the superclass, but they don't match, then you will get undefined behaviour.  For example, imagine:

Superclass has an ivar foo that is a long.
Subclass adds an ivar foo that is an id.
Code that knows about the superclass ivar knows calls class_setInstanceVariable with the value 42.
The runtime finds foo with type id and calls objc_retain on the new value.
42 is not a valid pointer, the runtime crashes in objc_retain

A lot of Objective-C code depends (directly or indirectly) on these reflection functions working.  I'm hesitant to remove a bug-finding feature without a concrete example of something that it breaks, given that it helps users avoid shipping code that will fail in subtle and hard-to-debug ways.

Honestly sounds like everything should be using class_setInstanceVariable with the precise class that the ivar was declared on, and that object_setInstanceVariable should be discouraged, but I digress.
My point still stands that none of this is forwards compatible, but I guess such issues are rare enough that it's not worth handling, especially if Objective-C elsewhere implicitly relies on ivar names being unique within a class hierarchy.
Thanks for answering my questions!


[0.8.1] Group node labels - no of children

Any chance that the Group element node labels can have:

A space between the inkscape name and the "(" i.e. name (2 elements) rather than name(2 elements)?
Show not only the count of direct child elements but also a count of all descendent elements i.e. (2 children, 20 total)?

Will be part of the next release


Listen to body instead of canvas?

Is there a way to listen to the whole document instead of just canvas? I want the effect to continue over other elements as well, while maintaining their mouse events. Changing canvas to document or window creates a duplicate effect on the canvas.
document.addEventListener('mousedown', e => {
let posX = scaleByPixelRatio(e.offsetX);
let posY = scaleByPixelRatio(e.offsetY);
let pointer = pointers.find(p => p.id == -1);
if (pointer == null)
    pointer = new pointerPrototype();
updatePointerDownData(pointer, -1, posX, posY);
});

document.addEventListener('mousemove', e => {
let pointer = pointers[0];
if (pointer.down) return;
let posX = scaleByPixelRatio(e.offsetX);
let posY = scaleByPixelRatio(e.offsetY);
updatePointerMoveData(pointer, posX, posY);
});

Did you find a solution about this?


Select in tab container positioned wrong

Describe the Bug
Clicked on "status" and got the select at "locale".

Solved somewhere on the way, works in 2021.6.15.


tests to nearby restaurant search

Closes #104

added tests for nearby restaurant search
refactored nearby restaurant search:

updated response messages

changed test run commands

nice tests!


Add support for retrieving jobs by fullName (also return fullName on the Job)

To retrieve jobs that are within one or more FolderJob(s), we must parse the job's fullName to correctly format the folder jobs for the http request.
See Issue #254.

I would like to see this getting merged! Nice contribution!

Is there anything more that needs to be done to have this addressed?


Error Handling and Validation

Implement error handling for API requests (e.g., when a species is not found) and validate user input in the Gradio interface.

When I go here to generate a token I get 403 Forbidden.


Nc/pregel

Don't wait for me for review if I'm blocking, but added myself so it's easier to track on github


Windows: Fix docker/master daemon compile again

Signed-off-by: John Howard<EMAIL_ADDRESS>@icecrime Fixes up Windows daemon compilation again. Commit 1f61084d83aea37b212468aaa975020094b7f7c9 broke it.

LGTM

https://github.com/docker/docker/pull/14921 was the one that broke it.

Ugh. There must have been something else checked into master making many Windows tests now fail. And experimental has got a life of its own this afternoon. CI nightmare.

LGTM just waiting on Janky


Updated Faq navigation of all pages

Title and Issue number

Title :[Bug]: FAQ Footer Link Not Navigating to FAQ Section
Issue No. :#74
Code Stack :
Close #74

Video (mandatory)
https://github.com/user-attachments/assets/6e1c211e-e356-4cab-8c18-b2eec0228053
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md if its a new page/tech stack
[X] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?

[X] I'm a GSSOC-EXT contributor
[X] I'm a HACKTOBERFEST contributor

Title and Issue number

Title :[Bug]: FAQ Footer Link Not Navigating to FAQ Section
Issue No. :#74
Code Stack :
Close #74

Video (mandatory)
https://github.com/user-attachments/assets/6e1c211e-e356-4cab-8c18-b2eec0228053
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md if its a new page/tech stack
[X] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?

[X] I'm a GSSOC-EXT contributor
[X] I'm a HACKTOBERFEST contributor

Kindly add all the links, adding a one link cannot count under a contribution.

@jeevan10017 yesss


Correction for raw affiliation De Montfort University, Baton Rouge, LA, USA

Correction needed for raw affiliation De Montfort University, Baton Rouge, LA, USA
raw_affiliation_name: De Montfort University, Baton Rouge, LA, USA
new_rors: 0312pnr83
previous_rors:
works_examples: W2174291349
contact: d893f0f10d62625f10fa4d28318aca46:855625 @ dmu.ac.uk

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Add changes to make Batch execution thread safe

Simple, blocking implementation of BatchExecution.  This implementation uses locks to manage write control over the object.  However, the lock implementation in python 2 does not have a timeout option.  Therefore, one had to be created for python 2 based on Queue.Queue.  In python 3, threading.Lock is used.

Coverage decreased (-0.8%) to 99.085% when pulling fd82af51ed8f054d272898c3ece5fca155885ad2 on dancollins34:dev into f9aed0ad3cdb8dfee8272405f5b55d7c5e7b7edf on joowani:dev.

The coveralls issues are some problems in the Pragma section I didn't write, and the python 2 only code.  Im not sure how to make it ignore the python 2 only section, or treat it differently

I updated to account for your edits, also ran flake8

ah the conditional import is causing errors. one sec

Coverage decreased (-0.7%) to 99.214% when pulling dabda008b955a603a9e13cca698de9becb6b2b30 on dancollins34:dev into f25d692911e084da46e2e3a6622fe7eec835caab on joowani:dev.

Coverage decreased (-0.8%) to 99.127% when pulling 0352c8ead85d992988541e3cfc44568815535f80 on dancollins34:dev into f25d692911e084da46e2e3a6622fe7eec835caab on joowani:dev.

The lock interface for python 3 requires that timeouts <= 0 wait forever, and the Queue interface for python 2 requires that timeout = None waits forever, so lock has to have an if statement to make it consistent with the python 3 lock

done committing on this I think

Coverage decreased (-0.7%) to 99.215% when pulling 0352c8ead85d992988541e3cfc44568815535f80 on dancollins34:dev into f25d692911e084da46e2e3a6622fe7eec835caab on joowani:dev.


BUG: Tesseract Preprocessor Fails When PDF Page Data Only Contains a Decimal Number

I have a test.pdf that has some pages that only have #s on them. When calling process_tesseract from pawls.commands.preprocess, I was getting an error I'd not seen before (despite processing hundreds of docs with your preprocessor):
/home/jman/PycharmProjects/test_pawls_parser/venv/bin/python /home/jman/PycharmProjects/test_pawls_parser/main.py
Traceback (most recent call last):
  File "/home/jman/PycharmProjects/test_pawls_parser/main.py", line 10, in <module>
    annotations: list = process_tesseract(file.name)
  File "/home/jman/PycharmProjects/test_pawls_parser/venv/lib/python3.10/site-packages/pawls/preprocessors/tesseract.py", line 101, in process_tesseract
    annotations = parse_annotations(pdf_file)
  File "/home/jman/PycharmProjects/test_pawls_parser/venv/lib/python3.10/site-packages/pawls/preprocessors/tesseract.py", line 80, in parse_annotations
    tokens = extract_page_tokens(pdf_image, pdf_size)
  File "/home/jman/PycharmProjects/test_pawls_parser/venv/lib/python3.10/site-packages/pawls/preprocessors/tesseract.py", line 35, in extract_page_tokens
    .apply(
  File "/home/jman/PycharmProjects/test_pawls_parser/venv/lib/python3.10/site-packages/pandas/core/groupby/groupby.py", line 1567, in apply
    result = self._python_apply_general(f, self._selected_obj)
  File "/home/jman/PycharmProjects/test_pawls_parser/venv/lib/python3.10/site-packages/pandas/core/groupby/groupby.py", line 1629, in _python_apply_general
    values, mutated = self.grouper.apply(f, data, self.axis)
  File "/home/jman/PycharmProjects/test_pawls_parser/venv/lib/python3.10/site-packages/pandas/core/groupby/ops.py", line 839, in apply
    res = f(group)
  File "/home/jman/PycharmProjects/test_pawls_parser/venv/lib/python3.10/site-packages/pawls/preprocessors/tesseract.py", line 43, in <lambda>
    gp["text"].str.cat(sep=" "),
  File "/home/jman/PycharmProjects/test_pawls_parser/venv/lib/python3.10/site-packages/pandas/core/generic.py", line 5902, in __getattr__
    return object.__getattribute__(self, name)
  File "/home/jman/PycharmProjects/test_pawls_parser/venv/lib/python3.10/site-packages/pandas/core/accessor.py", line 182, in __get__
    accessor_obj = self._accessor(obj)
  File "/home/jman/PycharmProjects/test_pawls_parser/venv/lib/python3.10/site-packages/pandas/core/strings/accessor.py", line 181, in __init__
    self._inferred_dtype = self._validate(data)
  File "/home/jman/PycharmProjects/test_pawls_parser/venv/lib/python3.10/site-packages/pandas/core/strings/accessor.py", line 235, in _validate
    raise AttributeError("Can only use .str accessor with string values!")
AttributeError: Can only use .str accessor with string values!. Did you mean: 'std'?

Looking at my PDF and the offending pd.Series tripping the error in line 36 of  cli.pawls.preprocessors.tesseract in extract_page_tokens(), pretty sure I know what's happening here. It appears some of the tokens being extracted from the attached pdf are treated as floats in the dataframe, and line 43 of extract_page_tokens() fails when trying to concat this token as the pandas df type is float64 yet .str.cat can only be called on cells containing string type.
See the offending, dataframe-related code here in tesseract.py:
https://github.com/allenai/pawls/blob/1225660ccb4f3b9877bf45c04baecc2798d183ee/cli/pawls/preprocessors/tesseract.py#L20-L46
I assume my issue - where extracted pdf token data type is not string - is rare but this is bound to happen in large PDF collections, particularly as the pdf formatting is dependent on the original source PDF authoring tool.
I propose adding .astype(str) to line 43 to force conversion to of the text cell contents to string type, which should cover these kinds of corner cases where our data type could be converted to a string.
I've opened PR #199 with a fix.

Thank you for the PR! Just merged it in.


Back merge RC-1.20 to develop

Hotfixes to the Release can go back to develop to make new PRs cleaner.

Merge hotfixes for keywords fix and pagination removal from release into dev.

@hyi did you git fetch?

@cuahsimarko I did not test it locally, but checked using github web interface for all tags and did not see RC-1.20 tag.

Can we just close this and I'll submit a PR tomorrow morning merging master back into develop?

@sblack-usu yes, closing now


Use command to strip out demo code

What's going on?
Whenever users generate a boilerplate, the first thing that most users do is delete most of the demo code out to start their project.
Jamon had the idea of having a command that allows us to programmatically delete all the demo code out of an ignite project, using comments to signify the delete markers, like so:
// @demo remove-file

const foo = true // @demo remove

// @demo remove-next-line
import { DemoScreen } from "./demo/screen"

// @demo remove-block
stuff
// @demo end-remove-block

Then, npx ignite-cli remove-demo will scan through ./app and remove the appropriate lines.
We can have an e2e test for this which will then scan for code that should have been removed to see if it’s still there.
Removing whole folders might be more tricky. I think for now we just remove those manually in the remove-demo command.

Main command is finished.
I'm going to leave this issue open until Maverick is mostly stabilized, and we can mark up all the demo files with the new comments and make sure that it builds correctly

Resolved by https://github.com/infinitered/ignite/pull/2140


Network interfaces missing when mounting host /proc inside container

Problem: When bind-mounting the host's /proc inside a container, some network interfaces are not displayed even if the container is run with --privileged
From my host, I see all real interfaces (eth0+wlan0), lo, docker0, and all veth*.
$ cat /proc/self/net/dev
Inter-|  Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
  eth0:      0      0    0    0    0    0          0        0        0      0    0    0    0    0      0          0
    lo: 28725808  466815    0    0    0    0          0        0 28725808  466815    0    0    0    0      0          0
 wlan0:<PHONE_NUMBER>8 11959376    0    0    0    0          0        0 548083965 6175538    0    0    0    0      0          0
docker0: 5740280  19373    0    0    0    0          0        0 37242608  29899    0    0    0    0      0          0
vethd0583cf: 1153886  15307    0    0    0    0          0        0  3370502  14622    0    0    0    0      0          0
<snip>

From inside a container, I only see eth0 and lo:
$ docker run --privileged -it -v /proc/:/proc_host ubuntu:14.04 cat /proc_host/self/net/dev
Inter-|  Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
  eth0:      0      0    0    0    0    0          0        0        0      0    0    0    0    0      0          0
    lo: 28725808  466815    0    0    0    0          0        0 28725808  466815    0    0    0    0      0          0

I tried using all the --cap-add combinations I could think of in case there was something wrong with --privileged. This behavior was confirmed on IRC

Hi!
If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.
We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO

Oh, I should mention that this works as expected even without priv... flag
$ docker run --net=host -it -v /proc/:/proc_host ubuntu:14.04 cat /proc_host/self/net/dev

@hamiltont This is because the container is in a separate namespace, the wlan0 interface is in the host namespace and cannot be seen from inside the container without --net=host (which tells the container to use the host's net namespace).