text:
Replay subject/async scheduler susceptible to clock disciplining race conditions

Bug Report
Current Behavior

Date.now is the default timestampProvider used here:
https://github.com/ReactiveX/rxjs/blob/master/src/internal/ReplaySubject.ts#L52
Its the default used in the scheduler, inherited by the AsyncScheduler, affecting the semantics of operators ~such as delay()~ which may sample the time in pairs to time durations of things: https://github.com/ReactiveX/rxjs/blob/master/src/internal/Scheduler.ts#L31
age of events in replay subject subtracts 2 NTP timestamps here: https://github.com/ReactiveX/rxjs/blob/master/src/internal/ReplaySubject.ts#L139
Spec says clearly not to do this https://www.w3.org/TR/hr-time-2/#introduction

Reproduction
I did not reproduce the bug, but I am confident this will cause bugs.
Consider that a user could simply adjust their clock manually, and the web app would erase chat message(s) or other values pending in a replay subject, prematurely (consider the consuming web app specified these values should remain in the replay subject for 30 seconds by passing the windowTime argument to the constructor of ReplaySubject.)
Other reasons the NTP time must not be used to calculate durations of time, is NTP will slew the clock so 1000ms elapse in 995ms of wall time, and will adjust  the time abruptly if the time goes out of sync by over 128ms, yielding negative durations if relied upon to time the duration of something.
Expected behavior
Use performance.now() to time how long something took, since it not subject to clock disciplining, and timing the durations with it would be totally transparent to users, aside from fixing the bug.
Environment
n/a
Possible Solution
I would change Date.now() to performance.now(), in every single case where it is used to time the duration of how long something to took. Users should not suffer from clock drift issues by default.
Additional context/Screenshots
Please read https://www.w3.org/TR/hr-time-2/#introduction
Also please read http://www.ntp.org/ntpfaq/NTP-s-algo.htm#Q-CLOCK-DISCIPLINE "how will NTP adjust my clock" for additional context
https://caniuse.com/#search=performance.now

Not directly related but somwhat related discussion: https://github.com/ReactiveX/rxjs/issues/5475
Changing default provider would be potentially breaking changes but I think it's worth to consider at least to provide a consistent way to specify custom provider, then consider change default values later.

In general, I'm in favour of this, but there are a couple of potential problems:

IDK whether or not Jest mocks performance.now. I know that Sinon does. If Jest does not, changing this could break developer's tests.
performance.now was introduced in Node 8.5, so that's fine. However, it's not a global. That means that RxJS would have to deal with consuming it in Node environments and that would complicate things.

I'm wondering if this could not be handled in the wrappers - mentioned in our last meeting - that need to be introduced for testing purposed? If we are going to put thin a wrapper around the default provider, it could be made configurable and a developer could configure their own default provider using the performance.now for their environment.

If we are going to put thin a wrapper around the default provider

Is reason I thought attached issue might be related. If we have single point of abstracted interface access to timestamp which is configurable, I think that would solve these maybe.

For pre node 8.5 there is also process.hrtime(), for it not being a global, would it be an option to import it  in a node specific build of RxJS, or fall back to Date.now() with a console warning?
In general, NodeJS users should not unwittingly be writing code that is susceptible to clock drift. Unknowingly introducing bugs far outweighs the downsides of having a warning, or jumping through hoops, in my opinion. At the very least there should be some sort of warning in the docs or elsewhere if there's going to be "unsafe" defaults, in my opinion.
In Jest I usually do jest.spyOn(performance, 'now').mockImplementation(...)

For pre node 8.5 there is also process.hrtime(), for it not being a global, would it be an option to import it in a node specific build of RxJS, or fall back to Date.now() with a console warning?

I think what @cartant meant is rxjs core itself cannot just do process.xxxx as if it could run in node - we have to create package agnostic to environment out of box, otherwise browser side bundler like webpack pulls in own polyfill (or other bundler might have different side effect) which will make user faces unexpected end results.

I'm not sure I understand why RxJS cannot do feature detection to check which global is present, and use the appropriate global as the default? Why couldn't it do something like
if(performance && performance.now && typeof performance.now === 'function') {
 tsProvider = performance.now
} else if(process && process.hrtime && ... ) {
 tsProvider = ()=>process.hrtime/1000
} else if (...){
  ...
}

Wherein the last fallback, or last resort is Date.now, which emits warnings each time its called if NODE_ENV is dev. When webpack / terser compiles for production, the warnings would be stripped. This would solve the issue with "unsafe" clock usage by default, what would be the objections to this approach?

otherwise browser side bundler like webpack pulls in own polyfill (or other bundler might have different side effect) which will make user faces unexpected end results.

I would trust the polyfill'd performance.now() more than I trust Date.now() to give accurate durations, and the user can always opt out of the polyfill since their bundler is in their control. Just playing devil's advocate here, these are all good things to think about.

above example only helps runtime detection, bundler / compiler cannot detect it statically and strips out code.

I would trust the polyfill'd performance.now() more than I trust Date.now() to give accurate durations,

I'm not talking about trust of implementation, it means consumer of rxjs unnecessarily pulls in those bytes even though some env never able to use it: i.e browser should not need performance polyfill, but once rxjs core have top-level side effect to detect those runtimes, some bundler will pull those things in right away, and there's no way to we as core lib prevent those thing to happen unless user explicitly configures their application's build config. As a library, we cannot afford to ask all user to config their app to a specific way.

Somewhat similar crux of change we had is https://github.com/ReactiveX/rxjs/pull/3566 - this is not runtime, but compile time enforcement user have to bring dom type definition lib even though their runtime never intend to use browser-like env. In result, we decide to take it out.

i.e browser should not need performance polyfill

If the code is going to run on an old browser that does not support performance.now(), and the code times the duration of something, it absolutely should be polyfilled, but we're talking about an API that has existed since Chrome 6 and is not polyfilled by Webpack or any other modern FE bundler I'm aware of.
Regarding NodeJS, does solving issues there block fixing this for the browser by doing feature detection on the globals, given the code could fallback if the function is not present, and given that doing so is not going to cause extra bytes for the browser & will actually only fix unexpected behavior? Or is there a requirement to make nodeJS behavior match browser behavior more exactly? If the latter, I could look into solutions, but I'd want to make sure there's no other objections before I invest more time in that...

In my opinion, this discussion doesn't need to be distracted to pursue those directions: If rx provides proper configurable single, consistent entrypoint accepts any timestamp provider you want to use? then I guess what should be default value would be discussed separately, esp changing default will be definitely some kind of breaking but configurable entrypoint should not be considered as breaking.

FWIW, process.hrtime uses a frame of reference that is different to that of performance.now, so the two are not interchangeable:
> console.log(performance.now(), process.hrtime())
80711.52759999037 [ 495473, 158099100 ]

IMO, the keeping the current Date implementation as the default, but providing an API for configuring the default provider is the way forward.

I guess what should be default value would be discussed separately

I started this discussion to talk about a potentially "unsafe" default

FWIW, process.hrtime uses a frame of reference that is different to that of performance.now

They're both monotonically increasing clocks with known units. They can be wrapped in a simple pure function by RxJS that returns the number of ms since process start / page load, making them interchangeable.

IMO, the keeping the current Date implementation as the default, but providing an API for configuring the default provider is the way forward.

IMO, if that's the path forward, Rx should have more of a warning about the potential pitfalls of capturing durations with a non monotonically increasing clock, maybe a callout in the docs, highlighted in red or something... My issue here isn't lack of a workaround, its unsafe defaults & the fact that people that could unknowingly write "unsafe" code

... making them interchangeable

They are not interchangeable from a documentation perspective. The docs cannot say the the default provider is performance.now if the values returned from calling now() on a scheduler use a different frame of reference. And having - documented or otherwise - different providers for the browser and Node is something to be avoided, IMO.

Rx should have more of a warning about the potential pitfalls ...

That is fine.
IMO, changing the default and breaking tests - if Jest does not mock performance.now() in useFakeTimers - is a deal breaker. Making a change to the default provider that could break tests for developers that potentially have no exposure to any misbehaviour would not be acceptable.

Agreed on both those points, the only other point I'd make is if there are any Rx operators that specifically try to measure the durations of things, it is worth accepting differing time origins in browser vs node, to calculate those durations in those operators specifically.
Replay subject works this way today. Ideally it would use setTimeout/setInterval, rather than subtracting relative timestamps. Would this also be in scope, in addition to the docs change?
I would try to avoid the time drift, where possible. You're right we should not break BC wholesale, just out of principle. In the case of replay subject, there is some workaround that does not depend on performance.now actually, which is to use setInterval. In fact if we made ReplaySubject monadic like I suggested in https://github.com/ReactiveX/rxjs/issues/5515, we could get rid of the potentially error prone logic in ReplaySubject that depends on relative NTP times, and it's behavior could be implemented with the existing operators that buffer with the async scheduler, eg. bufferTime

I guess one other after thought, if its so simple to override the timestamp provider to performance.now(), doesn't that also mean it'd also be easy for people to fix their test suites, by setting it back to the "unsafe" Date.now() if they care more about their tests than the time drift? At least people going forward would start writing code that is "safe". Seems better than a warning in the docs, to have the "warning" actually just be an upgrade note.

The docs cannot say the the default provider is performance.now

They can say they use monotonically increasing clock that approximates time since page load/process start in milliseconds. In theory the behavior should be the exact same of the time origins. It in theory would make timing more deterministic & consistent in Rx.
Is the tradeoff actually just people with legacy test suites adding 1 line, vs people without legacy test suited having to add a line to get "sane" defaults? Could RxJS implement a timeProvider that implements a monotonic platform independent clock, if it were not the default? Would it really be that egregious to make a breaking change that requires changing 1 line? I'm sure this library has done it before, for good reasons, pipe-able operators come to mind.
For a library designed to deal with events emitted over time & abstract away time, I really would be nice if it were not susceptible to the time drift by default, without having to change lines of code or write polyfilled clocks as the end user.

if Jest does not mock performance.now() in useFakeTimers - is a deal breaker

This is also misguided, I think. Jest does not mock Date.now in fake timers either, fake timers literally only mocks timers, eg setTimeout / setInterval. I frequently use jest fake timers, and still need to mock out Date.now & performance.now, with or without Rxjs.

This is what I'm currently doing to be able to write code that isn't  going to suffer from clock drift:
myOperator(
  ...args,
  scheduler: SchedulerLike = new AsyncScheduler({} as any, () => performance.now())
)

It also says this is deprecated, and there's nothing in the docs calling out that the default behavior will yield to clock drift. IMO I still think it would be great if there could be an officially supported way to use a reliable time, without using undocumented / deprecated APIs (if not just using the "right" time method if it exists, it should at least be easier to override, I would propose)

authors: cartant joshribakoff kwonoj


text:
refactor(Rx): stop duplicating TS class helpers in each CJS file

adds tslib import to Rx.ts
adds --noEmitHelpers to build output

closes #2605

I'm honestly not entirely sure I did this properly, but the tests are running okay, and I don't see the duplicate __extends methods in the build output.
cc @IgorMinar @kwonoj

In my blur memory our global build did manually import tslib something similar, not sure if it still exists and need to be updated?

Coverage increased (+0.0003%) to 97.735% when pulling 74a875d15ca5d3d89588dba94b6f47e1b772fc07 on benlesh:noEmitHelpers into cf88a208883f99f4fd0f368dcbaa0d0b646877aa on ReactiveX:master.

@kwonoj  are you talking about this? https://github.com/ReactiveX/rxjs/blob/cf88a208883f99f4fd0f368dcbaa0d0b646877aa/tools/make-umd-bundle.js#L20
I honestly don't remember what that's doing or why. :\ If no one remembers, I guess I'll have to dig in.

@benlesh yes, these 3 are history of those .
https://github.com/ReactiveX/rxjs/pull/2064
https://github.com/ReactiveX/rxjs/pull/2093
https://github.com/ReactiveX/rxjs/pull/2121

Don't fear the major number ;)

FWIW: I move that this can be the first RxJS 6 alpha or beta once merged, and we can start looking at merging some of the other changes for the next major sitting in our queue. As long as the breaking changes aren't too fast.

Closing in favor of #2614

source: gharchive/pull-request

authors: benlesh coveralls kwonoj staltz

repo: ReactiveX/rxjs

license_type: permissive

license_source: github-api


text:
Added repo link in footer

I added the footer to wallet.htm file as well
Closes #30

Congratulations on your first PR in Real Dev Squad.

Can you please keep CSS in proper indentation.

Can you please keep CSS in proper indentation.

My Vscode had messed up the indentation at first so in the latest commit I had re-used the original indentation that is why it shows changes from my previous identation mess up . Could you help me out with this if the indentation is still not okay ? How do I revert it back as my editor is showing it as original

repo: Real-Dev-Squad/website-dashboard

license: MIT


text:
collection select item

Hello! How can I select a cell and then transfer it to another view?

I'm not sure exactly what you're trying to do. Could you please elaborate on what you what to do by selecting a cell, and what kind of object the cells are?

Hi!You have an example https://github.com/Real-Serious-Games/Unity-Weld-Examples/tree/master/Assets/Collection, I want to specify a given cell in MyUI3.cs when I click on the OnClick cell (or another event) while I created this property there
private ItemViewModel _selectedItem; 	[Binding] 	public ItemViewModel SelectedItem { 		get { return _selectedItem; } 		set { 			_selectedItem = value; 			OnPropertyChanged ("SelectedItem"); 		} 	}

Ah, so you want to be able to tell which item in the collection was clicked on. The easiest way I have found to do this is to pass a reference to the parent view-model into each item view-model when you create them. Then they can notify the parent when they are clicked.
Here's a simplified example:
[Binding]
class ParentViewModel : MonoBehaviour
{
    private ObservableList<ItemViewModel> items = new ObservableList<ItemViewModel>()
    {
        new ItemViewModel("1"),
        new ItemViewModel("2"),
        new ItemViewModel("3")
    };

    [Binding]
    public ObservableList<ItemViewModel> Items { get { return items; } }

    public NotifyItemClicked(ItemViewModel item)
    {
        Debug.Log("Item clicked: " + item.DisplayText);
    }
}

[Binding]
class ItemViewModel
{
    private ParentViewModel parent;

    [Binding]
    public string DisplayText { get; private set; }

    [Binding]
    public void OnClick()
    {
        parent.NotifyItemClicked(this);
    }

    public ItemViewModel(ParentViewModel parent, string text)
    {
        this.DisplayText = text;
        this.parent = parent;
    }
}

We should probably include an example of usage like this because it's a fairly common question.

source: gharchive/issue

authors: Avatarchik RoryDungan

repo: Real-Serious-Games/Unity-Weld

license: mit

license_source: bigquery


text:
Adding a Custom Backed to python-social-auth

I am trying to add a custom backend and here is the code. I had copied it from Google backend.
class BaseMyAuthAuth(object):
    def get_user_id(self, details, response):
        """Use google email as unique id"""
        if self.setting('USE_UNIQUE_USER_ID', False):
            if 'sub' in response:
                return response['sub']
            else:
                return response['id']
        else:
            return details['email']

    def get_user_details(self, response):
        """Return user details from Google API account"""
        if 'username' in response:
            email = response['username']
        else:
            email = ''

        name, given_name, family_name = (
            response.get('name', ''),
            response.get('given_name', ''),
            response.get('family_name', ''),
        )

        fullname, first_name, last_name = self.get_user_names(
            name, given_name, family_name
        )
        return {'username': email.split('@', 1)[0],
                'email': email,
                'fullname': fullname,
                'first_name': first_name,
                'last_name': last_name}

class BaseMyAuthOAuth2API(BaseMyAuthAuth):
    def user_data(self, access_token, *args, **kwargs):
        """Return user data from Google API"""
        url = urljoin(self.API_URL, '/oauth/me')
        return self.get_json(
            url,
            headers={
                'Authorization': 'Bearer %s' % access_token,
            },
        )

    def revoke_token_params(self, token, uid):
        return {'token': token}

    def revoke_token_headers(self, token, uid):
        return {'Content-type': 'application/json'}

class MyAuthOAuth2(BaseMyAuthOAuth2API, BaseOAuth2):
    """Google OAuth2 authentication backend"""
    name = 'myauth'
    REDIRECT_STATE = False
    API_URL = settings.AUTH_URL
    AUTHORIZATION_URL = settings.AUTH_AUTHORIZE_URL
    ACCESS_TOKEN_URL = settings.AUTH_ACCESS_TOKEN_URL
    ACCESS_TOKEN_METHOD = 'POST'
    # The order of the default scope is important
    #DEFAULT_SCOPE = ['openid', 'email', 'profile']
    EXTRA_DATA = [
        ('refresh_token', 'refresh_token', True),
        ('expires_in', 'expires'),
        ('token_type', 'token_type', True)
    ]

It runs well and fetches all the user data needed, but after that it always try to create a new user, on the other hand. If we see Google backend does not create a new user if the user already exists.
My custom backend gives me issue on this file at path
/venv/lib/python3.6/site-packages/django/contrib/auth/__init__.py
        try:
            user = backend.authenticate(request, **credentials)
        except PermissionDenied:
            # This backend says to stop in our tracks - this user should not be allowed in at all.
            break

and google backend goes to different path
/venv/lib/python3.6/site-packages/rest_framework_social_oauth2/oauth2_grants.py
        try:
            user = backend.do_auth(access_token=request.token)
        except requests.HTTPError as e:
            raise errors.InvalidRequestError(
                description="Backend responded with HTTP{0}: {1}.".format(e.response.status_code,
                                                                          e.response.text),
                request=request)

this is the difference I have found out so far.

I can't really help you out on this one, try to check with python social auth how you should develop your backend.
This library handles only the link between third party backends and tokens not user creation.

authors: Chitrank-Dixit PhilipGarnero


text:
Shared SSH keys in workstation

Workstation shall have SSH keys to manage the whole environment.
It will make easier to manage the environment and also run Ansible playbooks.

ssh-copy-id to all machines except ESXis


text:
Linters fix

Description
Fixing linters tests
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

Testing steps
CI
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

/retest

/retest

/retest

/retest

repo: RedHatInsights/ccx-notification-writer


text:
THEEDGE-1874 tweak image build logging

tweaked some logging in services/images.go for clarity

Signed-off-by: Jonathan Holloway jholloway@redhat.com
Description
Update to log messages
Fixes # (issue) THEEDGE-1874
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[x] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] I run go fmt ./... to check that my code is properly formatted
[x] I run go vet ./... to check that my code is free of common Go style mistakes

/retest

repo: RedHatInsights/edge-api


text:
Update insights-operator-utils

Description
Update insights-operator-utils dependency to the latest tag available
Type of change

Refactor (refactoring code, removing useless files)

Testing steps
Regular CI

Codecov Report

Merging #165 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #165   +/-   ##
=======================================
  Coverage   70.23%   70.23%
=======================================
  Files           9        9
  Lines         336      336
=======================================
  Hits          236      236
  Misses         81       81
  Partials       19       19

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 ddce36d...6ada94c. Read the comment docs.

authors: codecov-io joselsegura

repo: RedHatInsights/insights-content-service


text:
Fixed code owners list

Description
Fixed code owners list
Type of change

Bug fix (non-breaking change which fixes an issue)
Documentation update

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report

Merging #914 (7a1d613) into master (061f16d) will increase coverage by 0.17%.
The diff coverage is 55.55%.

@@            Coverage Diff             @@
##           master     #914      +/-   ##
==========================================
+ Coverage   60.05%   60.23%   +0.17%
==========================================
  Files          22       22
  Lines        3077     3176      +99
==========================================
+ Hits         1848     1913      +65
- Misses       1024     1049      +25
- Partials      205      214       +9

Impacted Files
Coverage Δ

server/errors.go
58.97% <33.33%> (-3.19%)
:arrow_down:

server/handlers_v2.go
63.93% <51.42%> (-1.03%)
:arrow_down:

amsclient/amsclient.go
73.28% <62.50%> (-1.27%)
:arrow_down:

server/endpoints_v2.go
100.00% <100.00%> (ø)

content/content.go
76.95% <0.00%> (-0.83%)
:arrow_down:

server/auth.go
68.04% <0.00%> (+0.50%)
:arrow_up:

server/server.go
57.96% <0.00%> (+1.26%)
:arrow_up:

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 1e082bb...7a1d613. Read the comment docs.

authors: codecov-commenter tisnik


text:
Set AFFECTED as highest precedence for delegated_resolution

For Affects that have a resolution of DELEGATED, we look at its trackers' own state/resolution to determine the actual delegated resolution of the Affect.
If there's more than a single Tracker for an Affect, we take the Tracker's state/resolution with highest precedence or "weight" and this precedence is determined by a list of possible resolutions.
Before this commit, said list was ordered in such a way that the NOTAFFECTED resolution had highest precedence however this is a mistake, as if we have 5 trackers, 4 with NOTAFFECTED and 1 with AFFECTED resolution we should determine that the Affect is AFFECTED, not NOTAFFECTED.
This commit solves the issue by swapping the order of the AFFECTED and NOTAFFECTED resolutions in the aforementioned list.
Closes OSIDB-1230

I would argue that WONTFIX and OSS also need to be before NOTAFFECTED. basically all states that have a counterpart on CVE pages (I believe DEFER does not) have to go before NOTAFFECTED.

I would argue that WONTFIX and OSS also need to be before NOTAFFECTED. basically all states that have a counterpart on CVE pages (I believe DEFER does not) have to go before NOTAFFECTED.

@pmatouse good to know as OSIDB-1230 does not seem to lead to any such conclusion. When we are in the middle of the change, what should be the exact order of all of the values?

I'm OK with doing the change but it's a bit surprising that this is a problem now after ~3y of it having been like this

@mprpic WDYT? how DEFER would be handled on the sdengine side?

We don't really use the defer state any more so it's there mostly for historical reasons; it translates to "Fix deferred" on CVE pages. I think it's fine to have it before notaffected.

I'm OK with doing the change but it's a bit surprising that this is a problem now after ~3y of it having been like this

well, customers see NOTAFFECTED on CVE pages. that's the best possible resolution for them, because it translates to no action. it needs someone to start to wonder how that is possible, one way or another. this time it was someone internal who saw the state of the trackers and was also looking at customer facing "statements" because of Common Criteria Evaluation. for CCC purposes he considers only a subset of flaws affecting certain streams and meeting certain criteria.

@mprpic WDYT? how DEFER would be handled on the sdengine side?

We don't really use the defer state any more so it's there mostly for historical reasons; it translates to "Fix deferred" on CVE pages. I think it's fine to have it before notaffected.

ack, thank you.
thanks @Elkasitu  for working on this issue!

authors: Elkasitu mprpic osoukup pmatouse

repo: RedHatProductSecurity/osidb


text:
Remove -k and --name required flags - 52

[Auto generated]
Number: [#52]

must-gather-explorer[pull_request][c90248c0-b2f0-11ef-8bb5-0b1c824458cb][PR 52]: Closing issue for PR: Remove -k and --name required flags.
PR was closed.

repo: RedHatQE/must-gather-explorer


text:
Getting traceback while updating the status for the test run using pylero-cmd

Getting traceback:
`Update Testrun_ABC_example:
Total records: 118
Updated Date Time    Result  CaseID

2023-04-05 05:32:44  passed  RHCP-7810
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/suds/transport/http.py", line 89, in send
fp = self.u2open(u2request, timeout=request.timeout)
File "/usr/local/lib/python3.6/site-packages/suds/transport/http.py", line 140, in u2open
return url.open(u2request, timeout=tm)
File "/usr/lib64/python3.6/urllib/request.py", line 532, in open
response = meth(req, response)
File "/usr/lib64/python3.6/urllib/request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python3.6/urllib/request.py", line 570, in error
return self._call_chain(*args)
File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/lib64/python3.6/urllib/request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: 500
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/suds/client.py", line 771, in send
reply = self.options.transport.send(request)
File "/usr/local/lib/python3.6/site-packages/suds/transport/https.py", line 66, in send
return HttpTransport.send(self, request)
File "/usr/local/lib/python3.6/site-packages/suds/transport/http.py", line 106, in send
raise TransportError(e.msg, e.code, e.fp)
suds.transport.TransportError: 500
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/pylero-cmd", line 291, in
cli()
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/bin/pylero-cmd", line 279, in update
run, result, assignee, comment
File "/usr/local/lib/python3.6/site-packages/pylero/cli/cmd.py", line 228, in update_all_case_results_for_runs
self.update_all_case_results_for_run(run, result, user, comment)
File "/usr/local/lib/python3.6/site-packages/pylero/cli/cmd.py", line 222, in update_all_case_results_for_run
tr.update_test_record_by_object(rec.test_case_id, rec)
File "/usr/local/lib/python3.6/site-packages/pylero/base_polarion.py", line 228, in inner
res = func(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/pylero/test_run.py", line 1318, in update_test_record_by_object
self.uri, index, suds_object
File "/usr/local/lib/python3.6/site-packages/suds/client.py", line 586, in call
return client.invoke(args, kwargs)
File "/usr/local/lib/python3.6/site-packages/suds/client.py", line 728, in invoke
result = self.send(soapenv, timeout=timeout)
File "/usr/local/lib/python3.6/site-packages/suds/client.py", line 776, in send
return self.process_reply(content, e.httpcode, tostr(e))
File "/usr/local/lib/python3.6/site-packages/suds/client.py", line 840, in process_reply
raise WebFault(fault, replyroot)
suds.WebFault: Server raised fault: 'java.lang.IllegalArgumentException: URI scheme null is not subterra'
[root@kvm-08-guest17 ~]#`

@jayesh-garg Thanks for report the issue, though please don't include specific internal details like the whole run name include product info in public repo, so I have to edit it.
For the issue itself, when you report please provide:

pylero version
reproduce steps

File "/usr/local/lib/python3.6/site-packages/pylero/test_run.py", line 1318, in update_test_record_by_object
self.uri, index, suds_object

excep seems to have originated from here, however not able to deduct what version commit you are using
btw, afaik we don't pkg pylero-cmd

Test with our instance base on analysis the log and comment:
$ pylero-cmd update --run="example test run xxx" --result "failed"
Update example test run xxx:
Total records: 1
Updated Date Time    Result  CaseID
-------------------  ------  -----------
2023-05-16 11:42:11  failed  Testcase-449
Done!

it works with current 0.0.8 release and also with main branch install.
For the pylero-cmd it's not fully supported, so please use the pylero CLI or use library directly.
As could not reproduce and no response from user, close this for now, feel free to reopen if issue still exist.

authors: jayesh-garg leelavg waynesun09

repo: RedHatQE/pylero


text:
Add Expand Key-Tree Feature

A prop that accepts key-tree (tree like structure object with all keys that needs to be expanded) and expands all grid according to the key-tree. This can be useful if someone wants to keep selective nested grid open by default.
https://github.com/RedHeadphone/react-json-grid/issues/3#issuecomment-1741991493

this structure will be best for #2, we can search data beforehand and make expand key-tree object, and pass that to NestedJSONGrid.

repo: RedHeadphone/react-json-grid


text:
push command broken in beta 59 and 60

Describe the bug
openapi push (with 1.0.0-beta.60 or 1.0.0-beta.59):

File upload failed

openapi push
To Reproduce
Steps to reproduce the behavior:

Given any openapi.yaml file
And version 1.0.0-beta.59 or 1.0.0-beta.60
Run the push command
See error:

File upload failed

Expected behavior
The push command should work -- the same API content works with beta.58 and prior.
Logs
n/a
OpenAPI definition
I tried with a 3.0 definition.
openapi-cli Version(s)

1.0.0-beta.59
1.0.0-beta.60

Node.js Version(s)
16.1.0
Additional context
A thread in the support slack channel.

I've tried with version 1.0.0-beta.58 and had the same issue:
npx @redocly/openapi-cli@v1.0.0-beta.58 push /tmp/api/API.yaml "@cdq-ag/API@V4" --upsert

File upload failed
Any ideas how to workaround this?

It's working with version v1.0.0-beta.57 and below.

It's working with version v1.0.0-beta.57 and below.

how about v1.0.0-beta.58 and above?
it works for me

Maybe npx keeps cached wrong version? Any ideas how to force redownload package?

@HubertSzymanskiCDQ  try npm cache verify or npm cache clean --force

🤷 It works for me now.

@HubertSzymanskiCDQ try npm cache verify or npm cache clean --force

Yeah, that fixed the issue, thx!

authors: AlexVarchuk HubertSzymanskiCDQ Marshevskyy adamaltman

repo: Redocly/openapi-cli


text:
OAS 3.1 : summary should not be mentionned as a warning , display and rendering rendered as x-summary

Describe the bug
Redoc is supposed to fully supprt OAS 3.1
the fied summary is standard and should be fully supported not reporting a warning
it should works as same as x-summary
To Reproduce
add a summary on a responses as below

401-Unauthorized:
  summary: Unauthorized
  description: Unauthorized - Authentication is required.

Expected behavior
No warning on linter , same representation for summary and x-summary
Redocly Version(s)
Redocly 1.6.0

Hi @LasneF! According to the spec, there's no such filed in the Response Object as summary: https://spec.openapis.org/oas/v3.1.0#fixed-fields-14. Am I missing something?

@tatomyr , i apologize sorry for the noise , and thanks for the clarification

authors: LasneF tatomyr

repo: Redocly/redocly-cli


text:
Updated read.md file

added new line to readme. yesss

merging test, looks good


text:
Upgrading from 18.0.7 (Ubuntu 18.04.5 LTS)

i tried to upgrade from 18.0.7 (Nextcloud-Master)
pulled the newest files from git and got the following message:
/usr/local/lib/python2.7/dist-packages/ansible/parsing/vault/init.py:44: CryptographyDeprecationWarning: Python 2 is no longer supported b
y the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.exceptions import InvalidSignature
ERROR! couldn't resolve module/action 'firewalld'. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in '/root/nextcloud/roles/prep_onlyoffice/tasks/main.yml': line 72, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:

name: open firewalld
^ here

If i uncomment the line everything finishes.
But i get "internal Server Error" when i open the webpage.

Same if i manually upgrade to 20.0.7 and rerun the ansible script

I think you should make new (fresh) NextCloud 20 install and migrate data. Not sure if this Reiner's Ansible scripts made for upgrade (may be wrong here). Fully dockerized install may solve such problems in a afuture.

The playbook is not meant to update Nextcloud. It's one is only used for installation.
OS and Nextcloud updates have to be done the "normal" way. (apt update && apt dist-upgrade)

authors: Baker0052 LinuksGuru ReinerNippes

repo: ReinerNippes/nextcloud


text:
Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array

Issue reported by user on REDCap Community:
"I've encountered an error with the module I was hoping you could help with.
The issue occurs when trying to open the injected PDF using the action tag field.
Also, when trying to open the pdf from the record home page nothing happens.
REDCap Version 14.0.33
PDF Injector - v3.1.0
REDCap crashed due to an unexpected PHP fatal error!
Error message: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, null given in modules\pdf_injector_v3.1.0\pdfInjector.php:314 Stack trace: #0 modules\pdf_injector_v3.1.0\pdfInjector.php(314): array_filter() #1 modules\pdf_injector_v3.1.0\preview.php(13): STPH\pdfInjector\pdfInjector->renderInjection() #2 redcap_v14.0.33\ExternalModules\index.php(146): require('...') #3 {main} thrown
File: modules\pdf_injector_v3.1.0\pdfInjector.php
Line: 314"
Source:
https://redcap.vumc.org/community/post.php?id=108925&comment=235866

Could you please explain what you mean by "using the action tag field" ?

Also please report your PHP version.

Hello, David here, I will provide as much as I can:
PHP 8.1.3 (Windows OS)
This field when clicking on the button shows the original error:

685 | [gp_letter_inject] | Gp Letter Injection Test | descriptiveField Annotation: @PDFI='260472'
-- | -- | -- | --

Clicking on the thumbnail below does not do anything:

I have cloned the project and the cloned version works fine, with all pdf injections running, but in the original project (which was created 2023-11-28) it does not work.

Hi @BHDIdata
The error is referring to line 314 where user permissions are being checked:
https://github.com/Research-IT-Swiss-TPH/redcap-pdf-injector/blob/6a249ba24afeb9cc1ad271bfa3721f1455ce4d0c/pdfInjector.php#L312-L314
Could you please compare the user's rights that you encounter the error with, and report back if there is anything different regarding access on that specific project and form?
It is a bug for sure! Thanks :)

@BHDIdata The second issue with the thumbnail seems to be a problem in JavaScript. Could you please open the Developer Tools of your browser and check if there are any red messages (errors?)
Please also ensure, that in Module settings the option "Debug" is enabled.

Ahh interesting, I realised that my admin account was not actually added to the permissions of the project, since as an admin I rarely need to be. Adding my admin account to the project with permissions has allowed me to access the injected pdf using the action tag button inside the instrument.
However, the javascript button and thumbnail still do not activate
I've refreshed the page and opened the console, this error appears when clicking the button:

record_home.php?pid=1093&arm=1&id=ELF_001:128
Uncaught ReferenceError: ELF_001 is not defined
at HTMLAnchorElement.onclick (record_home.php?pid=1093&arm=1&id=ELF_001:128:220)
In this project, "ELF_001" is the name of the first record, implemented by a module "Custom Record Auto-numbering - v1.0.6" by Luke Stevens (Murdoch Children's Research Institute)
The cloned project does not have this, as I had not thought it necessary for testing, but perhaps that is the cause.

authors: BHDIdata tertek


text:
Mainnet Restore Exploit

Name
Mainnet Restore
Description
Stolen wallet and funds
Addresses
0x7C70dD2cB7ebed39913c5d9BF8DCDe708Ab48D6d
Meta Article URLs
https://mainnetrestore.com/ex/

As mentioned in the issue template, this repository is not for reporting individual losses, only for large scale smart contract exploits. If you need support, please join the Revoke.cash Discord (see website footer for a link).

repo: RevokeCash/approval-exploit-list


text:
Command fails after build. Database location error?

No matter what command or options I specify I get something like the following:
(base) rpn01@R5057499  ~  0 $ osxphotos --db  ~/Pictures/Photos\ Library.photoslibrary/ info
Traceback (most recent call last):
File "/Users/rpn01/anaconda3/bin/osxphotos", line 11, in
load_entry_point('osxphotos==0.17.8', 'console_scripts', 'osxphotos')()
File "/Users/rpn01/anaconda3/lib/python3.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/Users/rpn01/anaconda3/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Users/rpn01/anaconda3/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/rpn01/anaconda3/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/rpn01/anaconda3/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/rpn01/anaconda3/lib/python3.7/site-packages/click/decorators.py", line 27, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/Users/rpn01/anaconda3/lib/python3.7/site-packages/osxphotos-0.17.8-py3.7.egg/osxphotos/main.py", line 128, in info
File "/Users/rpn01/anaconda3/lib/python3.7/site-packages/yaml/init.py", line 200, in dump
return dump_all([data], stream, Dumper=Dumper, **kwds)
TypeError: dump_all() got an unexpected keyword argument 'sort_keys'
(base) rpn01@R5057499  ~  0 $
I just cloned and built the program, so I'm not sure what I've done wrong...

Looks like the error is from yaml.dump() not finding sort_keys option — try this:
python3 -m pip install --upgrade yaml
Then try to re-run python3 setup.py install

Note: You might also try this:
conda update --all
then attempt to install again. If you still have problems, let me know.

I think that the root cause of the original problem was that the photo library was empty. The computer wasn't logged in to my iCloud account. I haven't gotten back to testing with a photo in the database, but this may be enough to locate where in the code to test the edge case of an empty library and stop the program more gracefully.

Thanks -- I'll build a test case for empty library and see if I can replicate your error.

I built a test case for empty database but was not able to replicate your error.  In my test case, the empty database opens fine and returns 0 results as expected.  See:
https://github.com/RhetTbull/osxphotos/blob/588ba4b9cba649346afa890cb9757c8cb6243f89/tests/test_empty_library_4_0.py#L87-L92
Your error looks like a PyYAML error related to sort_keys which was added to PyYAML in 5.1 (https://github.com/yaml/pyyaml/pull/254).  Try updating PyYAML and see if you still get the error.

PyYAML >= 5.1.2 dependency added to setup.py and requirements.txt

authors: RhetTbull rpural

repo: RhetTbull/osxphotos


text:
Digit separation in INR amount

Hi,
When using INR currency format, we are not getting the desired result:
Result:
1000.00 -> ₹1,000.00 (As expected)
10000.00 -> ₹10,000.00 (As expected)
100000.00 -> ₹100,000.00 (Expected ₹1,00,000.00)
1000000.00 -> ₹1,000,000.00 (Expected ₹10,00,000.00)
and so on
Can you provide a solution for this since this is regarding the placement of separator not the value of separator?

What is Amazon Gift Card scanner?
Amazon Gift Card scanner lets you redeem your Amazon Gift card by scanning the claim code with the camera, instead of typing it.
To get started, reveal the claim cod

repo: Rhymond/go-money


text:
get the error when I try docker build -t muse .

the pip fail because python dependency?

Now，the error happened when execute the same command.

Don't blindly install/upgrade pip for Python2.7 as pip 21 dropped support for Python2.7.
Replace the pip upgrade by
RUN           curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | python -


text:
Request fails with invalid JSON

It seems there was a bug introduced with df18a5d.
My call crashes with an invalid JSON error after this change was applied. If I undo it everything works fine.

Nevermind: It seems to be an invalid swagger source file that expects a type with a list, which cannot be represented as URL encoded.

repo: RicoSuter/NSwag


text:
Bookstore Add Reducers and Actions

Added Redux Toolkit (npm install react-redux @reduxjs/toolkit).

Created a directory that contains Redux logic (/src/redux)

Configured a Redux store (/src/redux/store.js)

Defined a slice of state for books that:

Includes an array of books (initial state: empty array)
Includes a reducer that adds a book
Includes a reducer that removes a book

Defined a slice of state for categories that:

Includes an array of categories (initial state: empty array)

Includes a reducer that checks the status and always returns "Under construction" (the initial state should check to that
string)

Structured your application files using a "feature folder" approach and use the ducks pattern for Redux files.

Implement a filtering feature:
Includes a (hardcoded) list of categories
Clicking on a category label should (1) update the books list and (2) show only the books of a given category.

Invalid Submission :red_circle:

Hey @Rifat8080 :wave:
Good job on implementing some of the requirements but I cannot proceed review of your pull request because there are some issues that you still need to work on to go to the next project but you are almost there! :blush:
Optional
All the changes with optional tags are not crucial enough to prevent you from getting the approval but we highly recommend to students that they should take these changes into consideration.
Happy coding! :clap: :clap: :clap:
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.
Mandatory Changes ♻

[ ] Great work but I don't see any change in the code files related to the redux toolkit so i cannot proceed a review on your code 🤔


text:
Releasing the app on F-Droid

Hello there!
Since this app is now also released under MIT license, it would be great to have it on F-Droid as well.
There is no Safetynet-Check on F-Droid at all and having a lightweight and open-source check like this one would be amazing.
Cheers!

Hi, the application requires an API key of SafetyNet and key is protected by the app's signature. Third-party build is not supported because of this.

Hi, the application requires an API key of SafetyNet and key is protected by the app's signature. Third-party build is not supported because of this.

Definitely you don't need to provide the key to us. Just need to accept redistribution of your code.

Definitely you don't need to provide the key to us.

would F-Droid then acquire a Google API key on their own?

Available in the IzzyDroid repo:
https://android.izzysoft.de/repo/apk/rikka.safetynetchecker

repo: RikkaW/YASNAC


text:
/opt/rbenv/versions and /opt/rbenv/shims are owned by root

When rbenv is installed sometimes /opt/rbenv/versions and /opt/rbenv/shims are owned by root.  This causes a permissions error later when a new version is installed.

I have the same problem, opt/rbenv belongs to rbenv user but all the files and folders in rbenv belongs to root, what is the fix?

authors: jhowarth stefanosx

repo: RiotGamesCookbooks/rbenv-cookbook


text:
GfycatRipper broken (website changed, probably)

Ripme version: 1.6.13
Java version: 1.8.0_151
Operating system: Microsoft Windows [Version 10.0.15063]
Exact URL you were trying to rip when the problem occurred: https://gfycat.com/gifs/detail/UnkemptCelebratedDonkey
Please include any additional information about how to reproduce the problem: CLI or GUI both fail in the same way, but in this case I was trying to rip with the CLI.

Expected Behavior
Rips the video
Actual Behavior
E:\dev\ripme>java -jar ripme.jar -u https://gfycat.com/gifs/detail/UnkemptCelebratedDonkey
Loaded E:\dev\ripme\rip.properties
Loaded log4j.properties
Initialized ripme v1.6.13
Retrieving https://gfycat.com/gifs/detail/UnkemptCelebratedDonkey
[!] Error while ripping URL https://gfycat.com/gifs/detail/UnkemptCelebratedDonkey
java.io.IOException: Could not find source#mp4source at https://gfycat.com/gifs/detail/UnkemptCelebratedDonkey
        at com.rarchives.ripme.ripper.rippers.video.GfycatRipper.getVideoURL(GfycatRipper.java:70)
        at com.rarchives.ripme.ripper.rippers.video.GfycatRipper.rip(GfycatRipper.java:54)
        at com.rarchives.ripme.App.rip(App.java:67)
        at com.rarchives.ripme.App.ripURL(App.java:177)
        at com.rarchives.ripme.App.handleArguments(App.java:169)
        at com.rarchives.ripme.App.main(App.java:56)

This was fixed in #377

repo: RipMeApp/ripme


text:
error: 'sqrtf' is not a member of 'std'

Any idea why I would get this error while trying to use this in a fairly large project (WLED)
In file included from wled00/../usermods/audioreactive_auto/audio_reactive_auto.h:4:0,
from wled00/usermods_list.cpp:213:
.pio/libdeps/esp32_4MB_S/Statistic/Statistic.h: In member function 'statistic::Statistic<T, C, _useStdDev>::value_type statistic::Statistic<T, C, _useStdDev>::pop_stdev() const':
.pio/libdeps/esp32_4MB_S/Statistic/Statistic.h:211:12: error: 'sqrtf' is not a member of 'std'
return std::sqrt( _extra.ssqdif() / _cnt);
^
.pio/libdeps/esp32_4MB_S/Statistic/Statistic.h:211:12: note: suggested alternative:
In file included from /home/will/.platformio/packages/framework-arduinoespressif32@src-e9b1fbd6563a55e19ddae15e1fc09589/cores/esp32/esp32-hal.h:34:0,
from /home/will/.platformio/packages/framework-arduinoespressif32@src-e9b1fbd6563a55e19ddae15e1fc09589/cores/esp32/Arduino.h:35,
from wled00/wled.h:67,
from wled00/usermods_list.cpp:1:
/home/will/.platformio/packages/framework-arduinoespressif32@src-e9b1fbd6563a55e19ddae15e1fc09589/tools/sdk/include/newlib/math.h:336:14: note:   'sqrtf'
extern float sqrtf _PARAMS((float));
^
In file included from wled00/../usermods/audioreactive_auto/audio_reactive_auto.h:4:0,
from wled00/usermods_list.cpp:213:
.pio/libdeps/esp32_4MB_S/Statistic/Statistic.h: In member function 'statistic::Statistic<T, C, _useStdDev>::value_type statistic::Statistic<T, C, _useStdDev>::unbiased_stdev() const':
.pio/libdeps/esp32_4MB_S/Statistic/Statistic.h:218:12: error: 'sqrtf' is not a member of 'std'
return std::sqrt( _extra.ssqdif() / (_cnt - 1));
^
.pio/libdeps/esp32_4MB_S/Statistic/Statistic.h:218:12: note: suggested alternative:
In file included from /home/will/.platformio/packages/framework-arduinoespressif32@src-e9b1fbd6563a55e19ddae15e1fc09589/cores/esp32/esp32-hal.h:34:0,
from /home/will/.platformio/packages/framework-arduinoespressif32@src-e9b1fbd6563a55e19ddae15e1fc09589/cores/esp32/Arduino.h:35,
from wled00/wled.h:67,
from wled00/usermods_list.cpp:1:
/home/will/.platformio/packages/framework-arduinoespressif32@src-e9b1fbd6563a55e19ddae15e1fc09589/tools/sdk/include/newlib/math.h:336:14: note:   'sqrtf'
extern float sqrtf _PARAMS((float));
^

Thanks for the issue.
At first sight I have no clue about the why.
If you compile the examples, do you get the same error when compiling examples?

Adding
namespace std {
inline float sqrtf(float n) { return __builtin_sqrtf(n); }
};
before #include "Statistic.h" resolves the error, from a quick hack about in the source, it looks like we are in the #include
branch

Building the examples for the ESP32 on the Ardunio IDE in standard .ino file works, so maybe something about being a platformIO project and .h file ?

Building the examples for the ESP32 on the Ardunio IDE in standard .ino file works, so maybe something about being a platformIO project and .h file ?

Can confirm examples compile with Arduino IDE (1.8.19) without a problem.
I do not use the platformIO myself.

Found this piece of code in
https://github.com/dvjcodec/SCG-ATC-722.6/pull/1/files#diff-619b7649421f6735e02a44cb1a047418db9462f023276727fdcc9c22afc2d6be
#ifdef ARM_FLOAT
  return sqrtf(2.0*E/W0);
#else
  return sqrt(2.0*E/W0);
#endif

That looks like a workaround for sqrtf() / sqrt()
So an  #ifdef PLATFORMIO or something could solve it, don't know if such flag is set.

Might be useful - https://stackoverflow.com/questions/16974669/using-sqrtf-in-c-undefined-reference-to-sqrtf

mmm,
Can you change in the Statistic.h
#if HAVE_STDCXX_CMATH || defined(_GLIBCXX_CMATH)
#include <cmath>
#else
#include <math.h>
//  substitute for std::sqrt functions if not in your tool chain
#undef sqrt
namespace std {
  inline float sqrt(float n) { return __builtin_sqrtf(n); }
  inline double sqrt(double n) { return __builtin_sqrt(n); }
  inline long double sqrt(long double n) { return __builtin_sqrtl(n); }
};
#endif  /*  HAVE_STDCXX_CMATH */

to
#if HAVE_STDCXX_CMATH || defined(_GLIBCXX_CMATH)
#include <cmath>
#else
#include <math.h>
//  substitute for std::sqrt functions if not in your tool chain
#undef sqrt
namespace std {
  inline float sqrt(float n) { return __builtin_sqrtf(n); }
  inline double sqrt(double n) { return __builtin_sqrt(n); }
  inline long double sqrt(long double n) { return __builtin_sqrtl(n); }
};

#undef sqrtf
namespace std {
  inline float sqrtf(float n) { return __builtin_sqrtf(n); }
};

#endif  /*  HAVE_STDCXX_CMATH */

does it compile then?

can you pop that change on a branch for me to test, please

can you pop that change on a branch for me to test, please

oops missed that request.

Created a branch - https://github.com/RobTillaart/Statistic/tree/sqrtf
prepared the branch to become version 1.0.3 if it works.

Does not resolve the issue yet sadly.
#if HAVE_STDCXX_CMATH || defined(_GLIBCXX_CMATH)
resolves to true for me, so your change is in the else, so has no impact. It's as if I do have cmath, but not the version you expect

That would mean "the patch" should be in the above one?

No as your change is inside the
#endif  /*  HAVE_STDCXX_CMATH */

So like this?
#if HAVE_STDCXX_CMATH || defined(_GLIBCXX_CMATH)
#include <cmath>
#undef sqrtf
namespace std {
  inline float sqrtf(float n) { return __builtin_sqrtf(n); }
};
#else
#include <math.h>
//  substitute for std::sqrt functions if not in your tool chain
#undef sqrt
namespace std {
  inline float sqrt(float n) { return __builtin_sqrtf(n); }
  inline double sqrt(double n) { return __builtin_sqrt(n); }
  inline long double sqrt(long double n) { return __builtin_sqrtl(n); }
};
#endif  /*  HAVE_STDCXX_CMATH */

yeah, think that should do the same as my workaround did

pushed the change.

Yeah that fixes it now thanks

Then I will merge it when time permits.

authors: RobTillaart netmindz

repo: RobTillaart/Statistic


text:
i need to use with postgres type (geometry , interval )

Problem

Suggested solution

Alternatives

Additional context

Prisma doesn't support these types yet unfortunately, you'll have to use raw SQL queries if you want to use these types.
Feel free to add a thumbs up / comment your use case to the corresponding Prisma feature request: https://github.com/prisma/prisma/issues/2789
If you need help using these types with raw SQL feel free to ping me or join the community discord server :)

repo: RobertCraigie/prisma-client-py


text:
perl 5.8.8 is supported?

I try use with perl 5.8.8, but get mistake only.. Can you help me?
use strict;
use WWW::Telegram::BotAPI;
my $api = WWW::Telegram::BotAPI->new (
        token => '128914425:my_token-my_token-my_token-my_token-my_token-my_token',
        force_lwp => 1,
        async => 0
    );
    $api->api_request ('getMe');
    # Uploading files is easier than ever.
    $api->sendPhoto ({
        chat_id => 123456,
        photo   => {
            file => "/path/to/png/1441213424_178_Download.png"
        },
        caption => "Look at my cool photo!"
    });

try ./bot.pl and get
ERROR: 400 Bad Request at /usr/lib/perl5/site_perl/5.8.8/WWW/Telegram/BotAPI.pm line 139.
(in cleanup) ERROR: 404 Not Found at /usr/lib/perl5/site_perl/5.8.8/WWW/Telegram/BotAPI.pm line 139.
what i can do wrong?

Hello,
thanks for your report! I tried the module with Perl v5.8.8 (which is almost 10 years old!) and there was indeed a problem.
Basically, Perl was calling my AUTOLOAD subroutine when destroying the module object. This happened because I didn't implement a DESTROY subroutine for cleanup.
I just released a new version (v0.02) which fixes this issue. It should be available on CPAN shortly.
About your specific problem (the HTTP 400 Bad Request), it looks like you are doing something wrong. Please check the following:

Ensure that the token you are using is valid and updated. (to test, make a request with your browser to https://api.telegram.org/botYOUR_TOKEN_GOES_HERE/getMe and see if it works)
Ensure that the parameters you are passing to the requested method are valid. You can check for this in the official Bots API documentation. If you are using the example you pasted, then it obviously won't work because chat_id is not set to a real chat ID (123456)! Methods to retrieve the correct chat ID to use are described in the documentation linked before.

By the way, there's no need to use force_lwp and async in this case.

Hi!
I install 0.2 version. All fine.
use strict;
use warnings;
use utf8;
use WWW::Telegram::BotAPI;
use Data::Dumper;

my $api = WWW::Telegram::BotAPI->new (
        token => 'my-token-here-my-token-here-my-token-here-my-token-here-my-token-here',
        force_lwp => 1,
        async => 0
    );
    print $api->getMe->{result}{username} , '-' , $api->getMe->{result}{chat_id} ;

return bot username and chat_id  without any errors!

Here it is.
I'm closing the issue since the original problem has bene resolved.

repo: Robertof/perl-www-telegram-botapi


text:
Is there a way to hide placeholder hyphens and only show them when the characters are entered?

Using the placeholder option:
<script>     $('#phone').inputmask('999-99-9', {'placeholder': ''}); </script>
has disabled the underscore placeholders, but not the dashes.
Image 1 (field not in focus, correct):

Image 2 (field in mouse focus, these are the dashes I want to hide):

Image 3 (only show them when the characters are entered up to that point in green, not show the one in red):

OS: Windows 11
Browser: Chrome 124
Inputmask version: 5.0.10

Use showMaskOnFocus, showMaskOnHover and jitMasking options like this:
$(function() {
  $('#myInput').inputmask('999-99-9',
  {
      placeholder: '',
      showMaskOnFocus: false,
      showMaskOnHover: false,
      jitMasking: true
  });
});

jitMasking: true appears to works alone on itself, thanks.

repo: RobinHerbots/Inputmask


text:
Add cover page to resume book

Also sort resume book output

@JoshOldenburg how were you thinking of sorting?

@JoshOldenburg how were you thinking of sorting?

I'm not sure what I had in mind when I write that. Alphabetical by last name is probably fine, just something deterministic.

I'm not sure what I had in mind when I write that. Alphabetical by last name is probably fine, just something deterministic.

authors: JoshOldenburg kberzinch

repo: RoboJackets/apiary


text:
Big problem :(

In MC 1.10 the client doesn't send a right-click-air event to the server, therefore if you rightclick on a pipe and not look on a block at the same time, the server does not recognizes that...
During MC 1.8 this was working fine... does anybody know any solution?

interact event?

doens't fire on right click air anymore... I already checked the interact packet with protocollib but the server doesn't receive any packets on right-click-air anymore.

it sounds strange

yeah :(
by now there is no way to detect a player right click air.

Mhh, the client not send packet right click air uniquely if player not have item in hand. But in your plugin the player have item in hand, simply remove your priority and ignorecancelled and its work.

Until 1.9 all worked fine with an item in hand but with 1.10 and above it doenst, did you test it with 1.10?

repo: RoboTricker/Transport-Pipes


text:
2023 03 20 Rishideep configured GitHub Actions for RoboFeel

*Configured GitHub Actions for RoboFeel
*Auto-generating APK on push to any branch

Fine AFAIK, but can you test the apk before merging into development?

Sure Sir! In fact, I am currently facing some bugs while configuring the Actions for this repo. So, you might see a number of commits with failed builds. Request you to ignore the same as those are attempts to fix the bugs.
Working towards an error-free commit! Thanks!

... but:
Travis CI - Pull Request Action required after 37s — Build Errored
Required statuses must pass before merging
All required statuses and check runs on this pull request must run successfully to enable automatic merging.
Since we now use GitHub actions instead of Travis to automate builds, should I ignore these messages and "Merge without waiting for requirements to be met (bypass branch protections)"?

Hello Sir,
With the changes I last pushed, GitHub Actions has been successfully configured for RoboFeel (without any build warnings). We will now automated builds for respective branch pushes.
However, travis is failing for these last couple of commits, for some reason.
The message

... but: Travis CI - Pull Request Action required after 37s — Build Errored Required statuses must pass before merging All required statuses and check runs on this pull request must run successfully to enable automatic merging.

occurs as Travis is set as the default check 'required' for merging into development.

Does it build OK yet?

As per GitHub Actions, yes it builds OK.
For Travis, the build has errored. This is (likely) due to possible inconsistencies between Travis and GitHub Actions.

branch_protection_rules specifies that Travis rules must be checked.  How can this setting be dropped or changed to require GitHub actions?

branch_protection_rules specifies that Travis rules must be checked. How can this setting be dropped or changed to require GitHub actions?

In branch_protection_rules, after clicking on the 'Edit' button next to the rule, the 'Travis' checkbox needs to be unchecked, and the 'Actions' needs to be checked to add it as the required status check. It can only be accessed by the repo owner.
Also, tried rebuilding Travis once again. It worked seamlessly this time! Merging is possible now Sir.
Thanks - Rishideep!

I unchecked Travis for the development branch protection rule, but where
and how do I make Actions the required status check?
On Sat, Apr 22, 2023 at 1:40 AM Rishideep Chatterjee <
@.***> wrote:

branch_protection_rules
https://github.com/RoboTutorLLC/RoboFeel/settings/branch_protection_rules/21479428
specifies that Travis rules must be checked. How can this setting be
dropped or changed to require GitHub actions?
In branch_protection_rules
https://github.com/RoboTutorLLC/RoboFeel/settings/branch_protection_rules/21479428,
after clicking on the 'Edit' button next to the rule, the 'Travis' checkbox
needs to be unchecked, and the 'Actions' needs to be checked to add it as
the required status check. It can only be accessed by the repo owner.
Also, tried rebuilding Travis once again. It worked seamlessly this time!
Merging is possible now Sir.
Thanks - Rishideep!
—
Reply to this email directly, view it on GitHub
https://github.com/RoboTutorLLC/RoboFeel/pull/8#issuecomment-1518533896,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC64MWIEVMGANVUD2W6GKPDXCN4OFANCNFSM6AAAAAAWBF4NWM
.
You are receiving this because you commented.Message ID:
@.***>

--
Jack Mostow
Emeritus Research Professor of Robotics, Language Technologies, Machine
Learning, Human-Computer Interaction
School of Computer Science, Carnegie Mellon University
Team Leader, RoboTutor Global Learning XPRIZE Team
http://www.robotutor.org/
Email:  @.***

Ok, did the merge.  Ok to delete the branch and retire the pull request?

Yes Sir, absolutely!
On Sat, 22 Apr 2023 at 19:08, JackMostow @.***> wrote:

Ok, did the merge. Ok to delete the branch and retire the pull request?
—
Reply to this email directly, view it on GitHub
https://github.com/RoboTutorLLC/RoboFeel/pull/8#issuecomment-1518662811,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATWQVHMOKVSEMDWDAH2O5LTXCPNO3ANCNFSM6AAAAAAWBF4NWM
.
You are receiving this because you were assigned.Message ID:
@.***>

I will have to take a look, Sir. There must be a checkbox or at least some
sort of an input field.
On Sat, 22 Apr 2023 at 19:06, JackMostow @.***> wrote:

I unchecked Travis for the development branch protection rule, but where
and how do I make Actions the required status check?
On Sat, Apr 22, 2023 at 1:40 AM Rishideep Chatterjee <
@.***> wrote:

branch_protection_rules
<
https://github.com/RoboTutorLLC/RoboFeel/settings/branch_protection_rules/21479428
specifies that Travis rules must be checked. How can this setting be
dropped or changed to require GitHub actions?
In branch_protection_rules
<
https://github.com/RoboTutorLLC/RoboFeel/settings/branch_protection_rules/21479428
,
after clicking on the 'Edit' button next to the rule, the 'Travis'
checkbox
needs to be unchecked, and the 'Actions' needs to be checked to add it as
the required status check. It can only be accessed by the repo owner.
Also, tried rebuilding Travis once again. It worked seamlessly this time!
Merging is possible now Sir.
Thanks - Rishideep!
—
Reply to this email directly, view it on GitHub
<https://github.com/RoboTutorLLC/RoboFeel/pull/8#issuecomment-1518533896
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AC64MWIEVMGANVUD2W6GKPDXCN4OFANCNFSM6AAAAAAWBF4NWM
.
You are receiving this because you commented.Message ID:
@.***>

--
Jack Mostow
Emeritus Research Professor of Robotics, Language Technologies, Machine
Learning, Human-Computer Interaction
School of Computer Science, Carnegie Mellon University
Team Leader, RoboTutor Global Learning XPRIZE Team
http://www.robotutor.org/
Email: @.***
—
Reply to this email directly, view it on GitHub
https://github.com/RoboTutorLLC/RoboFeel/pull/8#issuecomment-1518662423,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATWQVHLBKLIQEX7HIB4GLCLXCPNGTANCNFSM6AAAAAAWBF4NWM
.
You are receiving this because you were assigned.Message ID:
@.***>

authors: JackMostow rishideepc

repo: RoboTutorLLC/RoboFeel


text:
Click on text not working

From glenview...@gmail.com on October 15, 2010 21:46:13
I've been using Robotium now quite successfully to run around 30 different solo method calls in various tests.  I was using 1.7.1, and tried the new 1.8.0, as well as the suggestions to modify the manifest.  Nothing changes this behavior.
I'm having some trouble coaxing it to click a textview though.  It's a nested view structure with a scrollview that has a textview and a bunch of buttons inside.
I tried solo.clickOnText(".Show.") but Solo responds that it couldn't find the text even though it's clearly there on screen.  I even stepped through the test to confirm.
I tried then using clickOnScreen as a kludge.  It clicked on the screen and enabled the buttons; however then, the clickOnButton method exhibited the same behavior.
By the way, it would be nice if you posted a snapshot of the source to the downloads from now on with each version so I don't have to use git and try to figure out which is the right source version.  That way I can try to debug it myself.
Thanks!
Original issue: http://code.google.com/p/robotium/issues/detail?id=23

From renasr...@gmail.com on October 16, 2010 05:23:25
What happens if you do something like this:
for (TextView textView : solo.getCurrentTextViews())
Log.d("Robotium_TAG", "textView: " + textView.getText());
Do you see the text view displaying "show" in the log?
Owner: renasreda

From glenview...@gmail.com on October 16, 2010 14:37:22
Thanks for following up so quickly.  Strangely, only the top textview is returned when executing that code.  The views are laid out as follow (simplified for reading)
<LinearLayout
<LinearLayout
<ScrollView
<TextView />
</ScrollView>
</LinearLayout>
<LinearLayout
android:id="@+id/horizontalLine"/>
<LinearLayout
<ScrollView
<TextView />
</ScrollView>
</LinearLayout>
<LinearLayout />
</LinearLayout>

From renasr...@gmail.com on October 16, 2010 15:02:31
Interesting. If they are shown on the screen then you should have access to them. Would it be possible for you to send me this application or one that displays this problem?

From buildone...@gmail.com on October 20, 2010 01:29:01
I also had the same problem.I used method clickOnText() click on textview in single
choice dialog.but it can't be selected.

From jegan.k...@gmail.com on October 22, 2010 03:17:51
I also faced this problem ... I have two image button . In the middle i have text view ...Its clearly visible and it able to search the test also .. but it is not clickable ... My textview has  text and background image property .

From glenview...@gmail.com on October 22, 2010 06:06:15
@renasreda: Sorry, but I haven't been able to spend the time to narrow this down to a small example for you.  I'll see what I can do.  Have you by any chance tried constructing a similar view to see if you can reproduce the problem?
Thanks for all of your work!

From jegan.k...@gmail.com on October 26, 2010 04:30:16
I am getting this below error :
junit.framework.assertionfailederror: View is not visible and can therefore not be clicked
in robotium file :
clicker.clickonscreen(clicker.java:152)
clicker.clickontext(clicker.java:285)
Solo.clicklongontext(clicker.java:717) ...
sorry ,i cant paste the full error code ,as it was exectued in test PC .

From renasr...@gmail.com on October 26, 2010 07:32:46
Jegan your error is different. The reason for your problem is that you are trying to click on a text view that is not visible on the screen. Probably you have two text views displaying the same text were only one is visible. Use clickLongOnText(String text, int match) instead. Where the match would be 2 or possibly higher depending on how many text views you have that display the same text.

From albert.a...@gmail.com on October 28, 2010 00:11:46
I am having similar problem.  I'm trying to click on text that is in a spinner list, and the logs show that Robotium cannot find the item on the list.  It seems if there is only alpha number characters, clickOnText works. But if there is non alpha number, it doesn't.
I'm trying to step thru a spinner list with the following items..
None (PCM)
PCMA
AMR (6.50 kbps)
AMR (14.25 kbps)
PCMA is the only item on the list that will work with ClickOnText. All the rest do not work.  I've had examples where spaces were in text items, so maybe it's the other characters that are making the method not work?

From renasr...@gmail.com on October 30, 2010 02:14:16
Albert, the reason for your problem is that ( and ) are interoperated as regular expressions. Use // before the ( and ).

From glenview...@gmail.com on October 30, 2010 06:13:13
I believe renasreda means \, (two back slashes, not forward slashes.)

From renasr...@gmail.com on October 30, 2010 07:14:38
Sorry about that, it should be two back slashes. Thanks for that Jeff.

From renasr...@gmail.com on November 12, 2010 11:08:19
Hi Jeff,
I am not able to reproduce this problem. If you can not send me an app that displays this problem then I will have to close this issue.

From renasr...@gmail.com on November 14, 2010 11:12:30
Not reproducable therefor will be closed.
Status: WontFix

From castigliafrancesco on November 28, 2011 09:51:14
Hi
Sorry for my english. I'm Italian. Could you tell me how select a not visible spinner on the screen with robotium?
The spinner isn't in focus. It's clickable but not visible because it's out the screen.
Thanks

From renasr...@gmail.com on November 29, 2011 00:20:32
To be able to click it needs to be shown on the screen.

From nrv1...@gmail.com on November 21, 2012 23:37:28
Hi reanasreda
I am having the same issue too, I see my text right in front of me and my test is not able to click it, i tried using ClickLongonText but that didn;t work too.
I thought of using an assertTrue method and check if I can search for that text and that case failed too...
I keep getting the assertionFailed error.
Any help is appreciated
Vivek

From renasr...@gmail.com on November 21, 2012 23:42:31
@Vivek, The activity needs to belong to the same process as the app under test.

clickonscreen not working on framework view from github like twowayview , viewpager , .....

repo: RobotiumTech/robotium


text:
[BUG] Crash in Read-only channel with reply option to message.

Description

App crashes with Fatal Exception while trying to send reply to read-only channel from Android Device.
Devices and Versions

Your Rocket.Chat.Android version: (e.g. 2.1.0)
Your Rocket.Chat Server version: (e.g. 0.63.1-develop)

Mobile device model and OS version:
Emulator Pixel 2- API 27
device-2018-10-15-154634.zip
Steps to reproduce

Create Read only channel. Add 2-3 members.
Add message in this channel.
Try to send Reply to this message from other user. This should not be possible as this is Read- only channel (for admin only) but reply to the message is available .
Hitting send button will produce the bug with following logs.

Logs

E/MessageService: chat.rocket.common.RocketChatApiException: You can't send messages because you have been muted
at chat.rocket.core.internal.rest.RestClientKt.processCallbackError(RestClient.kt:173)
at chat.rocket.core.internal.rest.RestClientKt$handleRequest$$inlined$suspendCancellableCoroutine$lambda$1.onResponse(RestClient.kt:104)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:153)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)

clicking on channel will produce

FATAL EXCEPTION: main
Process: chat.rocket.android.dev, PID: 9364
kotlin.KotlinNullPointerException
at chat.rocket.android.chatroom.presentation.ChatRoomPresenter$loadActiveMembers$1.doResume(ChatRoomPresenter.kt:722)
at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:42)
at kotlinx.coroutines.experimental.DispatchedTask$DefaultImpls.run(Dispatched.kt:149)
at kotlinx.coroutines.experimental.AbstractContinuation.run(AbstractContinuation.kt:19)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
2018-10-15 15:30:15.232 9364-9530/chat.rocket.android.dev E/AndroidRuntime: FATAL EXCEPTION: ForkJoinPool.commonPool-worker-0
Process: chat.rocket.android.dev, PID: 9364
kotlin.KotlinNullPointerException
at chat.rocket.android.chatroom.presentation.ChatRoomPresenter$loadActiveMembers$1.doResume(ChatRoomPresenter.kt:722)
at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:42)
at kotlinx.coroutines.experimental.DispatchedTask$DefaultImpls.run(Dispatched.kt:149)
at kotlinx.coroutines.experimental.AbstractContinuation.run(AbstractContinuation.kt:19)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

This is not reproducible anymore in 3.2.0. 👍

authors: DipaliShah rafaelks


text:
Encrypt of all dialogues at the master key. Is it available?

Your Rocket.Chat.Android version: 0.60.3

Mobile device model and OS version: Android 7

Hello!
I need to improve secure of communication in my team and encrypt of all dialogue messages at the master key (maybe by symmetric encryption?) Is it feature available in current version of Rocket.Chat? Or maybe is it available like a feature by 3rd party software?
I use RC 0.60.3 und MongoDB 2.6 (for compatibility with another legacy applications).
Thank you!

@sttyru I'm not sure I follow your question... what do you need to encrypt?

authors: rafaelks sttyru


text:
[URGENT][BUG] Tapping on "Members" list navigates to the right with the icon of the room

@leonardoaramaki Let's just do the same as we do on "Pinning message"

@rafaelks Shouldn't we just remove/hide that icon? I think that will suffice. The sliding to the right is pretty intuitive. :)

Closing this one.

authors: leonardoaramaki rafaelks


text:
Add resources for Russian language

@RocketChat/android
Add resources for Russian language (app & widget):

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

LGTM! Thank you @Sveer!

authors: CLAassistant Sveer rafaelks


text:
W&G v2.2 Release

Numerous changes detailed in Readme.md.
onload capability to autoupdate changed fields.
All files validated for unix file endings.

I just went through and checked.  All EOL are Unix.  Just in case I did a convert all to windows and then converted back again to Unix.

Thanks for checking. I'll double check on my local machine tomorrow and fix them if need. :)

Let me know what you find.  Curious as I have been using NP++.  Also did a last minute change, update to a width % on line 1679.

The .html was indeed using Windows line endings. I fixed it today. You may want to change the line endings, add a comment to the .html, and then save it to your repo. This might help push the change.


text:
[ Warhammer 4e Character Sheet] de.json

[ Warhammer 4e Character Sheet] de.json: Added german translation
Changes / Comments
Added german translation
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Greetings,
Greetings,
Translations are best completed in Crowdin rather than through jsons. If you send an email to cassie@roll20.net then I'll get you an invite to Crowdin. :)
Thanks,
Cassie

authors: Pascal-Hi clevett


text:
Empty object with animation component crashes when the animation is played

Bug Environment:
Engine
Version/Release:
Currently on develop
Bug Description
When creating many GameObjects in hierarchy, and adding an animation component, it crashes when the animation is played.
Expected Behaviour:
Nothing happens as you press the button.
Actual Behaviour:
Game crashes.
Steps to Reproduce:
Create a GameObject from hierarchy. Give it a Animation Component. Play the animation.

void InspectorPanel::DrawAnimationComponent(AnimationComponent* component) {

	ImGui::SeparatorText("Animation");
	ImGui::Text("HELLO");

	static bool play = false;

	if(ImGui::Button("Play"))
	{
		if (component->GetAnimation() == nullptr) //Always check if null before operating things!!!!
			return;
		component->OnStart();

		play = true;
	}

	if(play)
		component->OnUpdate();

}

repo: RollingBarrel/Helheim-Engine


text:
Use long term statistics instead of state only

Checklist

[x] I am running the latest version of the card
[ x I checked if there isn't another feature request opened with the same request
[xI checked that the feature is not already available in the dev branch

Is your feature request related to a problem? Please describe.
I would like to use the long term statistics data, that are not purged.
Nowadays we can just use the states data, that by default is purged in 10 days.
Describe the solution you'd like
As mentioned before
Describe alternatives you've considered
None
Additional context
I would like to have a consumption/generation kwh  graph with data more than 10 days.

After upgrading and clearing all the caches, I still get only the last 10 days. How do I switch to the long term statistics?

authors: fabiobrolo matteocorti

repo: RomRider/apexcharts-card


text:
Some more examples

Hello,
I'm playing whit this gadget for a past couple of days now, but with very little results.
Connection to TIMEBOX is successful.
After no luck with (more complex) examples I decided to start with raw.
The only visible result I can get is switching to clock
  var d = (new Divoom.TimeboxEvo()).createRequest('raw');
  d.push("4500");
  d.messages.forEach(m => {
    btSerial.write(Buffer.from(m.message, 'hex'), function (err, bytesWritten) {
      if (err) {
        D('send N0K', err);
      }
      else {
        D('send 0K');
      }
    })
  }) // Will display the list of messages as hexadecimals strings
  D('d.messages.asBinaryBuffer()');
  D(d.messages.asBinaryBuffer());

and with 4507 (not 4506) I switch to "score board"
What would a command for setting number on score board would be?
I tried:

d.push("4507 0001 0002");
d.push("450700 0001 0002");
d.push("450700"+getScoreBoardEncoded(1,2));

Not even this one is working for me. Maybe the API changed?

@thedull mybe... also it does not work for me

authors: ApmI00 ajitam thedull

repo: RomRider/node-divoom-timebox-evo


text:
CLI app added

A command-line (CLI) program that lets you manage your tasks.

You can't contribute more than one here.


text:
Como calcular a significância de uma amizade?

Uma pessoa pode ter marcado a outra como amiga, porém quase não conversar com a suposta pessoa.
Como calcular a intensidade de uma amizade com base no que já temos de dados?
Será necessário mais dados? Quais?

O relatório deve possuir até 5 páginas e deve ser entregue até dia 13/09.
Salvar na pasta de pesquisas.

Ok

repo: Ronneesley/redesocial


text:
Criar CRUD de tipo de atividade

Criar o DTO, DAO, BO,  HTML e JSP e Servlet.
Valor:
10 estrelas de designer
10 estrelas de programação

Ok


text:
🛑 ITS Help Desk is down

In bff9398, ITS Help Desk (https://support.rosalindfranklin.edu/?format=portal) was down:

HTTP code: 503
Response time: 422 ms

Resolved: ITS Help Desk is back up in bfbc632 after 19 minutes.

repo: RosalindFranklinUniv/up


text:
Hotfix/Remove standards-toolkit.sketch

Remove incorrect Sketch toolkit will be replaced later once correct file is sourced.

NOTES:

Yarn resolutions only work from the root package.json
You have to generate a brand new lock file for new resolutions to be respected (means lots of other deps end up bumped)
TypeScript compiler throws an error from a union type that was previous fine (temp fix with an any)
Yarn sucks, NPM sucks

repo: Royal-Navy/standards-toolkit


text:
Add zh_CN.lang

Chinese translation!

Thank you

authors: Omgise Rozmir-Rohi

repo: Rozmir-Rohi/goblins-legacy


text:
🛑 Website (rubenfixit.com) is down

In 38cc525, Website (rubenfixit.com) (https://rubenfixit.com) was down:

HTTP code: 503
Response time: 576 ms

Resolved: Website (rubenfixit.com) is back up in 3120589 after 1 hour, 22 minutes.

repo: RubenFixit/upptime


text:
🛑 Plex Server is down

In 6152f03, Plex Server ($PLEX_SERVER_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Plex Server is back up in d5da157 after 2 hours, 44 minutes.


text:
🛑 Website (rubenfixit.com) is down

In 32393ac, Website (rubenfixit.com) (https://rubenfixit.com) was down:

HTTP code: 503
Response time: 332 ms

Resolved: Website (rubenfixit.com) is back up in e805293.


text:
Would it be possible to add OSGi instructions to the META-INF

This way the bundle could be used in an OSGi runtime.

can you do that ? I have no clue of OSGI

authors: RuedigerMoeller smigfu

repo: RuedigerMoeller/fast-serialization


text:
Put the most performant or restricting conditions/predicates at the start of an And[...] expression?

In this line:
https://github.com/RuleBasedIntegration/Rubi/blob/6ea8d532dddd6f13cfd8763ba1319df36f2ddf73/Rubi/IntegrationRules/1 Algebraic functions/1.1 Binomial products/1.1.1 Linear/1.1.1.7 P(x) (a%2Bb x)^m (c%2Bd x)^n (e%2Bf x)^p (g%2Bh x)^q.m#L8
can we have the expression LtQ[p*q, 0] as first expression of the And[...] expression?
    LtQ[p*q, 0] && FreeQ[q, x] && PolyQ[Px, x] && PolyQ[Qx, x] && EqQ[PolynomialRemainder[Px, Qx, x], 0] && IntegerQ[p]

In general can we have the most performant or restricting conditions/predicates at the start of an And[...] expression after the /; operator?

Yes, the order an integration rule's application conditions are performed is not entirely fixed.  However, determing which condition provides the most bang-for-the-buck is extremely hard to determine in general.
For example, the FreeQ, PolyQ, and IntegerQ conditions in your example are quick and easy to perform.  They eliminate vast swaths of integrands, making application of the remaining conditions unnecessary.  Also, the condition LtQ[p*q, 0] can be hard to determine for arbitrary p and q.  Knowing that p is an integer and q is free of x greatly simplifies that determination.
I seriously doubt trying to determine the optimal ordering of the application conditions of Rubi's 6500+ rules would be worth the effort.

authors: AlbertRich axkr

repo: RuleBasedIntegration/Rubi


text:
Add apt-get bash completion

Continuation of https://github.com/Russell91/sshrc/issues/44#issuecomment-124967391. Request for comment on the best way to add bash completion on apt-get for Ubuntu 12.04+.
See http://www.harding.motd.ca/autossh/ for an example of another tool that has reasonable completion.

@Russell91 , you can:

Add Build-Depends: debhelper to debian/control (source: sshrc section)
Add Build-Depends-Indep: bash-completion to debian/control (source: sshrc section)
Add Recommends: bash-completion to debian/control (package: sshrc section)
Add

override_dh_auto_install:
    dh_auto_install
    dh_bash-completion

to debian/rules

Create debian/sshrc.bash-completion

_completion_loader ssh 2>/dev/null # for bash-completion >= 1.90, bash >= 4.1
eval $(complete -p ssh | sed 's/ ssh$/ sshrc/')

Well, the simplest way: update bash-completion:)
See:

add autossh to list of commands that perform _ssh() completion
Do rest of splits, add symlinking for files defining multiple completions.

Is it safe to post my debian folder on the apt-get branch? That would probably make it much easier for people to suggest these sort of changes.

Is it safe to post my debian folder on the apt-get branch?

Yes, it's safe.

That would probably make it much easier for people to suggest these sort of changes.

Ok.

Okay, I just pushed the debian folder to the apt-get.

@Russell91 , done

But dh_bash-completion still installs files in /etc/bash_completion
Fixed in 2.1-4.2

I've removed dh_bash-completion.
Used an install mechanism instead.


text:
Code coverage is not being updated

#1081 disabled per-PR code coverage job, but it seems the intent was to continue to run it, "maybe once a week cron job". But such cron job was never set up and there was no coverage run since, see https://codecov.io/gh/RustPython/RustPython.
cc @coolreader18 @windelbouwman

I noticed that recently as well, I could set up a cron job right now to run every week; I was thinking that the beginning of the weekend would be good for Redox tests (#1208) and for this as well.

Alright, the cron job should run right now every week (~02:30 Saturday UTC).

I'll close this once codecov is updated.

Alright, codecov is updated to the latest commit!

repo: RustPython/RustPython


text:
Add object.__sizeof__

I had a look at object.__sizeof__. @moreal opened a pull request (#3421) on it last year, but it never got finished.
CPython uses tp_basicsize, tp_itemsize, and ob_size in __sizeof__. The intended use of tp_basicsize and tp_itemsize can be seen, e.g., at  https://docs.python.org/3/extending/newtypes_tutorial.html#defining-new-types. Since new types are implemented different in RustPython we don't need tp_itemsize (and ob_size).
If merged, this should be the last point for #2898.
Can you give me some feedback? Thanks!

thank you! it looks great!

authors: rng-dynamics youknowone


text:
Please create branch so that I can create pull request for Swift 4 support

Hi,
I have created a fork and converted RxDataSources for Swift 4. I want to create a pull request for that work, but the pull request has to be done to a new branch in your repository. I have named the branch 'swift4.0' so that the name is identical to the branch name in RxSwift and RxCocoa.
In other words: please create a new branch 'swift4.0' in your repository, and I'll create a pull request for Swift 4 support!
Thanks!

By the way, my fork is here: https://github.com/svdo/RxDataSources/tree/swift4.0.

I thin it was merged
https://github.com/RxSwiftCommunity/RxDataSources/pull/146

authors: sergdort svdo

repo: RxSwiftCommunity/RxDataSources


text:
wrong Upload speed

Using link https://netstatus.ryanpowell.dev/dashboard on my pc.
My ISP provides 50 down/10 up
Speedtest.net shows 48 down/10 up
Your link shows: 52 down /232 up which is impossible.
Something is clearly wrong with upload speed measuring.

Hi,
Thanks for raising this. Yes, this is clearly an issue. I assume this happens across multiple devices in your household when visiting:  https://netstatus.ryanpowell.dev/dashboard?
Does this consistently happen? Is it always incorrect? (When you tap to refresh) Does the results change?
If the above is true, can you run a speed test from this website: https://librespeed.org Are you seeing the same upload speed issue?

Cannot progress without feedback. Closing issue.
Please re-open once feedback has been added

authors: HappyPlaceGA Ryandev

repo: Ryandev/NetStatus