Fix default expansion size in images.html

From what the example text seems to say, as well as what singularity tells me when I expand an image, it seems the default is actually 512 MiB, not 1024 MiB.
Also despite the facts that I know MiB is more accurate than MB and that the newer version of singularity outputs the message with MiB not MB, it seems strange to use "MiB" when the example above uses MB; but I'll leave that choice up to you.

Hiya, thanks for the correction!
What example is still using MB?

Well the example on that page (images.html) regarding expanding images is:
$ sudo singularity expand container.img
Expanding sparse image by 512MB...
Checking image (/sbin/mkfs.ext4)
e2fsck 1.42.9 (28-Dec-2013)
Growing file system
resize2fs 1.42.9 (28-Dec-2013)
Done. Image can be found at: container.img
$ ls -l container.img
-rwxr-xr-x. 1 root root<PHONE_NUMBER> Jun  1 08:40 container.img

In fact all of the examples on this page (images.html), as well as the rest of the web page besides the location I just changed, uses MB. I think this makes sense as Singularity 2.0 uses MB. So my question was whether or not it made sense to also have the part that I just correct say MB as well, in order to match the rest of the examples and the rest of the text (even though the master branch, and probably Singularity 2.1 uses MiB).

Ahh, I see what you mean now! That was a copy/paste from the command output before it was patched to use MiB. Yeah, we can probably just change the units in the pasted code. Good catch!


Your docs sites links are broken

http://ember-simple-auth.com/api/classes/OAuth2PasswordGrantAuthenticator.html
Clicking source on a method will give a link which includes your local paths.
For example:
https://github.com/simplabs/ember-simple-auth/blob/1.4.0//Users/marcoow/Documents/Code/ember-simple-auth/tmp/broccoli_yuidoc-input_base_path-WPLtIIHm.tmp/0/authenticators/oauth2-password-grant.js#L298

fixec


Hotfix2.3/Core635 - Wrong _CoreCLI import

https://github.com/Avaiga/taipy-core/issues/635

What about the unit test?
@mock.patch("taipy.gui.Gui.run")
@mock.patch("taipy.core.Core.run")
def test_run_pass_with_gui_and_core(core_run, gui_run):
    _run(Gui(), Core())
    gui_run.assert_called_once()
    core_run.assert_called_once()

I thought that we don't need to add the unit test to the release branch. If needed, I will

I thought that we don't need to add the unit test to the release branch. If needed, I will

I would add it just in case we are modifying the _run method again in a hotfix. There is little odds though.


TypeError: unsupported types for floordiv: 'NoneType', 'int'

Getting this error on an ESP-12E (NodeMCU 0.9) using either CircuitPython 0.9.5 for Huzzah or uPython (mainline) 1.8.7. Not sure how to proceed.
Adafruit CircuitPython 0.9.5 on 2017-04-14; ESP module with ESP8266
>>> import urtc
>>>
>>> from machine import I2C, Pin
>>>
>>> i2c = I2C(scl=Pin(5), sda=Pin(4))
>>> rtc = urtc.DS3231(i2c)
>>> datetime = urtc.datetime_tuple(year=2017, month=4, day=21)
>>> rtc.datetime(datetime)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "urtc.py", line 126, in datetime
  File "urtc.py", line 77, in datetime
  File "urtc.py", line 20, in _bin2bcd
TypeError: unsupported types for __floordiv__: 'NoneType', 'int'
>>>

FYI reading the clock works.
`>>> datetime = rtc.datetime()

print(datetime.year)
2000
`

While this should theoretically work, its only been tested when providing all components of the datetime. Try providing them all including the time. They are year=None, month=None, day=None, weekday=None, hour=None, minute=None, second=None, millisecond=None


.tethyscluster Directory Creation causes Error in Production

Description

Error at Runtime with Production Installation caused by inability to create .tethyscluster directory
This works in development mode, but causes permissions error in production installation:

.tethyscluster directory created in home directory of the current user (/var/www/tethys/.tethyscluster?)
In production user running Tethys is the Apache user
Home directory of Tethys user is the /var/www directory which is owned by the root user
Hence, Tethys doesn't have the ability to create it automatically

Suggestions

Option 1: Create a "tethys" user that owns all Tethys source and belongs to the Apache group during production installation to allow the appropriate permissions.
Option 2: Mitigate through docs by including instructions to manually create the .tethyscluster directory during production installation.
Option 3: Move .tethyscluster directory to the tethys src directory.
Others?

I need to look into what rights the Apache user has and see if it would be possible to run Apache as a different user.
Look at the way CKAN does it.


Provide a REST API to get projects without vulnerabilities

The REST API currently exposed by the vulnerability assessment tool provides a list of all vulnerabilities for the projects reporting to a workspace. However, if there are projects reporting to this workspace which have no vulnerabilities, the REST API does not return anything about them.
It would be very helpful the REST API to also provide a list of the projects which report to a workspace and do not have any vulnerabilities. Currently this information cannot be retrieved via the REST API and there is no alternative way to get it programmatically.
One scenario for this feature would be for automated validation that all projects from a predefined list of projects actually report to the vulnerability assessment tool. Currently if no vulnerabilities are returned by the REST API for a project it cannot be determined whether this is because the project has no vulnerabilities or because the project does not report at all.

Just to add something to the previous comment. One way for this would be the response of the REST call to return a list of all projects reporting to the workspace, and each project entry of this list to contain a list of all vulnerabilities reported for this project. In this way the response will be consistent for all projects and those which do not have vulnerabilities will just have an empty list of vulnerabilities.

A new endpoint <host>/backend/spaces/<space-token>/apps will be available with release 3.0.16, and returns all apps of the given space. Boolean query string parameters includeBugs and includeExemptions can be used to include information about vulnerable app dependencies and exemptions (if any).

This feature is available with 3.0.16, please test


INTLY-10198 Bump keycloak version

Motivation
INTLY-10198 Update keycloak version
What
Update keycloak version

@CathalOConnorRH change looks good. Have you tested it with Keycloak?


RFP - Ngspice

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : http://ngspice.sourceforge.net/index.html
Direct download URL for the software / installer : http://ngspice.sourceforge.net/download.html
Software summary / short description: ngspice is the open source spice simulator for electric and electronic circuits.

Status: Review
https://chocolatey.org/packages/ngspice

Status: Published
https://chocolatey.org/packages/ngspice
Can be closed.


xhr.responseXML is not implemented

I'm using zombie to test an application downlading some XML files with XHR requests.
Unfortunatly, the xhr.responseXML method always returns null.
That's actually what is stated in the xhr.js file:
get responseXML() {
    // Not implemented yet
    return null;
}

It does not look straight forward to get a correct implementation of property (one would suggest to use jsdom's parseHtml). See driverdan/node-XMLHttpRequest#8

I just found out that jsdom was using [driverdan/node-XMLHttpRequest] (https://github.com/driverdan). But it looks like zombie is using it's own implementation...


Change type of ID parameters to UInt64

Unlike some other languages, Swift is capable of representing full 64-bit unsigned integers. It doesn't make sense to use strings.

The usage of String is by design as id_str is the preferred field; this PR will now be closed.


Issue with flipping images?

Hi there! First off, thanks for putting this together, it's a huge help.
We're experiencing an issue though, as displayed by the images. One shows the correct behaviour in Unity, one shows the neutral state, and one shows the problem behaviour in Phaser. We're flipping some assets during animations across a single axis, but in Phaser it appears to be flipping it along both axis. In this pose, the hand is flipped away from the character, but this results in the hand asset being turned upside down as well.
Any insight would be a tremendous help. We're also seeing an issue with issues of transparency not blending. Is there a way to change the blend mode to additive? PIXI has a blendMode that can be changed but it doesn't appear to be working when applied to my Spine object in Phaser.
Thanks,
JPK

I've actualy encountered this issue myself, but made a fix for it some time ago: https://github.com/orange-games/phaser-spine/commit/89588e85e3e805b9ff001d0a77cc60c8f4e4074a
May I ask on which version you are running?
As for the blendMode, Ill be adding a seperate issue for this, and pick it up whenever I got the time for it.

Hi Ale,
I'm using the latest build, from 8 days ago.

Okay, I'd love to help you out, but I find it hard doing so without any example (there's lot's of data in spine's JSON file.
Would you mind sending me one so I can see what's wrong?

og-spine-phaser.zip
Of course, here's an example project. :) Thanks so much!

@JasonPKaplan Could you get the latest build from the repo and check if the committed fix works as expected?

Flipping issue is resolved, thanks!


7.1.x - crash in HttpSM:main_handler from dnsPendingEvent

We are seeing a crash following this series of events:
abort
ink_abort
ink_error.cc:99

HttpSM::main_handler(int, void*)
HttpSM.cc:2672

handleEvent
I_Continuation.h:153

reply_to_cont(Continuation*, HostDBInfo*, bool)
HostDB.cc:477

HostDBContinuation::probeEvent(int, Event*)
HostDB.cc:1707

HostDBContinuation::dnsPendingEvent(int, Event*)
HostDB.cc:1181

HostDBContinuation::remove_trigger_pending_dns()
HostDB.cc:1764

HostDBContinuation::dnsEvent(int, HostEnt*)
HostDB.cc:1458

DNSEntry::postEvent(int, Event*)
DNS.cc:1271

EThread::process_event(Event*, int)
EThread::process_queue(Queue<Event, Event::Link_link>*)
EThread::execute_regular()
spawn_thread_internal

At the time of the crash in main_handler the magic value is already DEAD as well as the mutex pointer being NULL, so something has already destroyed this SM instance before it propagated through

We still see some events kick up on dead transactions.  Here is a stack from last night.
[ 0  ] libc-2.17.so       __GI_raise                                             ( :undefined                )
[ 1  ] libc-2.17.so       __GI_abort                                             ( :undefined                )
[ 2  ] libtsutil.so.7     ink_abort                                              ( ink_error.cc:99           )
[ 3  ] libtsutil.so.7     _ink_assert                                            ( ink_assert.cc:37          )
[ 4  ] traffic_server     _TSReleaseAssert                                       ( InkAPI.cc:405             )
[ 5  ] traffic_server     TSHttpTxnReenable                                      ( InkAPI.cc:5873            )
[ 6  ] ats_yca_plugin.so  auth_plugin_local_handler                              ( yca_plugin.cpp:1653       )
[ 7  ] traffic_server     INKContInternal::handle_event(int, void*)              ( InkAPI.cc:1053            )
[ 8  ] traffic_server     Continuation::handleEvent(int, void*)                  ( I_Continuation.h:153      )
[ 9  ] traffic_server     read_signal_and_update                                 ( UnixNetVConnection.cc:144 )
[ 10 ] traffic_server     read_signal_done                                       ( UnixNetVConnection.cc:205 )
[ 11 ] traffic_server     read_signal_error                                      ( UnixNetVConnection.cc:229 )
[ 12 ] traffic_server     read_from_net                                          ( UnixNetVConnection.cc:359 )
[ 13 ] traffic_server     UnixNetVConnection::net_read_io(NetHandler*, EThread*) ( UnixNetVConnection.cc:961 )
[ 14 ] traffic_server     NetHandler::waitForActivity(long)                      ( UnixNet.cc:497            )
[ 15 ] traffic_server     EThread::execute_regular()                             ( UnixEThread.cc:232        )
[ 16 ] traffic_server     EThread::execute()                                     ( UnixEThread.cc:262        )
[ 17 ] traffic_server     spawn_thread_internal                                  ( Thread.cc:85              )
[ 18 ] libpthread-2.17.so start_thread                                           ( :undefined                )

This is from our 7.1.1 based build.  I haven't seen a crash like this on our 7.1.2 based build yet, but we have only started rolling that build out in earnest this week.

Ok, I've got a bit more information on this particular bug. It's pretty consistent for us; it happens whenever all the parents of an origin that uses RR DNS are marked down. (It's quite possible that they're flapping up and down, but they're generally speaking not working.)
Here's the stack:

Function
Location

__libc_waitpid
undefined:undefined

crash_logger_invoke
Crash.cc:164

<address>
undefined:undefined

raise
undefined:undefined

__GI_abort
undefined:undefined

ink_abort
ink_error.cc:99

_ink_assert
ink_assert.cc:37

HttpSM::state_http_server_open(int, void*)
HttpSM.cc:1770

HttpSM::main_handler(int, void*)
HttpSM.cc:2629

handleEvent
I_Continuation.h:152

reply_to_cont(Continuation*, HostDBInfo*, bool)
HostDB.cc:479

HostDBContinuation::probeEvent(int, Event*)
HostDB.cc:1703

HostDBContinuation::dnsPendingEvent(int, Event*)
HostDB.cc:1177

handleEvent
I_Continuation.h:152

HostDBContinuation::remove_trigger_pending_dns()
HostDB.cc:1760

HostDBContinuation::dnsEvent(int, HostEnt*)
HostDB.cc:1454

handleEvent
I_Continuation.h:152

DNSEntry::postEvent(int, Event*)
DNS.cc:1271

handleEvent
I_Continuation.h:152

EThread::process_event(Event*, int)
UnixEThread.cc:140

EThread::process_queue(Queue<Event, Event::Link_link>*)
UnixEThread.cc:175

EThread::execute_regular()
UnixEThread.cc:207

spawn_thread_internal
Thread.cc:84

start_thread
undefined:undefined

Additionally, the state machine history looks like this:

Location
Event
Reentrancy

HttpSM.cc:629
VC_EVENT_READ_READY
1

HttpSM.cc:1298
HTTP_API_CONTINUE
2

HttpSM.cc:1338
HTTP_API_CONTINUE
3

HttpSM.cc:7406
65535
3

HttpSM.cc:4542
7264
3

HttpCacheSM.cc:118
CACHE_EVENT_OPEN_READ_FAILED
-1

HttpCacheSM.cc:118
EVENT_INTERVAL
-1

HttpCacheSM.cc:118
CACHE_EVENT_OPEN_READ_FAILED
-1

HttpCacheSM.cc:118
EVENT_INTERVAL
-1

HttpCacheSM.cc:118
CACHE_EVENT_OPEN_READ_FAILED
-1

HttpCacheSM.cc:118
EVENT_INTERVAL
-1

HttpSM.cc:837
VC_EVENT_EOS
1

HttpCacheSM.cc:118
CACHE_EVENT_OPEN_READ_FAILED
-1

HttpCacheSM.cc:118
EVENT_INTERVAL
-1

HttpCacheSM.cc:118
CACHE_EVENT_OPEN_READ_FAILED
-1

HttpCacheSM.cc:118
EVENT_INTERVAL
-1

HttpCacheSM.cc:118
CACHE_EVENT_OPEN_READ_FAILED
-1

HttpSM:2540
CACHE_EVENT_OPEN_READ_FAILED
1

HttpSM.cc:1298
HTTP_API_CONTINUE
2

HttpSM.cc:1338
HTTP_API_CONTINUE
2

HttpSM.cc:7366
65535
2

HttpSM.cc:7523
65535
2

HttpCacheSM.cc:177
CACHE_EVENT_OPEN_WRITE_FAILED
-1

HttpCacheSM.cc:177
EVENT_INTERVAL
-1

HttpSM.cc:2418
CACHE_EVENT_OPEN_WRITE_FAILED
1

HttpSM.cc:7419
65535
1

HttpSM.cc:1683
NET_EVENT_OPEN
2

HttpSM.cc:1938
EVENT_ERROR
1

HttpSM.cc:5457
EVENT_ERROR
1

HttpSM.cc:7591
65535
1

HttpSM.cc:1938
VC_EVENT_INACTIVITY_TIMEOUT
1

HttpSM.cc:5457
VC_EVENT_INACTIVITY_TIMEOUT
1

HttpSM.cc:7419
65535
1

HttpSM.cc:1683
NET_EVENT_OPEN
2

HttpSM.cc:1683
EVENT_HOST_DB_LOOKUP
1

Our HttpSM.cc has a bit of logging code added. Lines before 7200 are 2 higher than in 7.1.x (44efe9a5c902e953b2ba330aac72c3c69ffb0cf4). Lines after it are 19 higher.
The last_action is SM_ACTION_ORIGIN_SERVER_RR_MARK_DOWN.
The t_state->next_action is SM_ACTION_ORIGIN_SERVER_OPEN.
The t_state->transact_return_point is HttpTransact::ReDNSRoundRobin(HttpTransact::State*).
The default_handler is HttpSM::state_http_server_open(int, void*).
I have a core I can get more information from, if theres anything specific that might help. (For my future reference, it is core 6246.)

@ezelkow1 What do you want to do with this issue?

We can close it, we havent seen it since I originally reported and there have been enough hostdb and other crash fixes that it may have been taken care of


Option for ignored columns on update

Closes https://github.com/jamis/bulk_insert/issues/50
Alternately I also noticed https://github.com/jamis/bulk_insert/pull/49 which also attempts to fix the same issue but the API interface is slightly different.
I could be wrong, but I'm guessing typically you may want to avoid only a small number of columns on UPDATE so rather than having to explicitly define all the columns it might be more convenient to just specify those columns that need to be ignored.
Also this interface would nicely allow for having convenient default values like created_at. I haven't added it though in this PR as that could potentially be a breaking change and may need a major version bump depending on what the maintainers think.
cc @jamis @mberlanda

Hi @jamis , just wanted to quickly check if you had a chance to take a look at this one. Would appreciate any feedback you have.

@aqeelvn I hope you are doing great! Would you be available to re-submit your changes in a new revision of this PR rebasing on master?
I managed to make the test suite more resilient (testing against multiple ruby and rails version and different adapters). An adapter based design has been implemented for the query serialization.
Thank you very much for the time you spent on this contribution

hey @aqeelvn do you want me to cherry-pick your changes and adapt them to the new gem structure?

@mberlanda Hey, thanks for reaching out. Yes it would be good to get the changes one way or the other. I know @sikachu were trying to get my changes on the latest master few days ago. @sikachu are you still working on it?
If not it would be great if you can cherry-pick my changes as you suggested, sorry I'm going through a busy schedule lately.


WAF blocks http requests with POST data containing a space and the word ON

We are experiencing issues with WAF enabled when HTTP requests to an Elastic Beanstalk instance get blocked if the POST formdata of those requests contains the word "ON" preceded by a space. We found that, if the space is represented by its URL encoded variants, such as + and %20, it will also trigger the WAF blocking the request. If, however, we would replace the space with any other character such as - or remove the preceding space altogether, the request will no longer be blocked with a 403.
We have all the default rules enabled in our WAF configuration, and we think it is either the Cross-site scripting protection or more likely the SQL-injection protection that is causing the issue. As "ON" is a SQL keyword it may be that WAF blindly triggers with the existence of SQL keywords in the POST formdata, surrounded by spaces.
We isolated the issue by extracting the cURL commands from the browser logs and in essence this is what we saw:
BLOCKED WITH 403:
curl "https://abc.xyz.com" -H <header1> -H <header2> -H <headerN> --data "ReturnPageAfterAddOrUpdate=PlanDesign^&CanSave=True^&DeleteRow=0^&AddButton=^&DeleteButton=^&ReportButton=^&ProposalNumber=000000000^&NumberOfPlans=3^&DisableReportButton=False^&NumberOfPlanRowsOnPage=1^&AbcWebNumberOfPlansValidationMessage=+ON^&LastPageAction=PageLoad^&CaseInformationAddItem.CaseNumber=^&CaseInformationAddItem.SitusTypeId=044db6d9-fe01-47b9-b452-7a57b36b5c4a^&CaseInformationAddItem.CaseInformationPlanRowItems^%^5B0^%^5D.AbcWebPlanNumber=^&CaseInformationAddItem.CaseInformationPlanRowItems^%^5B0^%^5D.PatriotPlanNumber=^&CaseInformationAddItem.CaseInformationPlanRowItems^%^5B0^%^5D.EffectiveDate=05^%^2F01^%^2F2019^&CaseInformationAddItem.CaseInformationPlanRowItems^%^5B0^%^5D.Notes=^&CancelButton=+Cancel"
WORKED:
curl "https://abc.xyz.com" -H <header1> -H <header2> -H <headerN> --data "ReturnPageAfterAddOrUpdate=PlanDesign^&CanSave=True^&DeleteRow=0^&AddButton=^&DeleteButton=^&ReportButton=^&ProposalNumber=000000000^&NumberOfPlans=3^&DisableReportButton=False^&NumberOfPlanRowsOnPage=1^&AbcWebNumberOfPlansValidationMessage=-ON^&LastPageAction=PageLoad^&CaseInformationAddItem.CaseNumber=^&CaseInformationAddItem.SitusTypeId=044db6d9-fe01-47b9-b452-7a57b36b5c4a^&CaseInformationAddItem.CaseInformationPlanRowItems^%^5B0^%^5D.AbcWebPlanNumber=^&CaseInformationAddItem.CaseInformationPlanRowItems^%^5B0^%^5D.PatriotPlanNumber=^&CaseInformationAddItem.CaseInformationPlanRowItems^%^5B0^%^5D.EffectiveDate=05^%^2F01^%^2F2019^&CaseInformationAddItem.CaseInformationPlanRowItems^%^5B0^%^5D.Notes=^&CancelButton=+Cancel"
Notice the value for AbcWebNumberOfPlansValidationMessage in the POST data where changing the + (which is essentially a space) into a - symbol, makes all the difference. The - symbol is just an example, any other symbol would work as long as it is not a space when URL decoded.
I think having the string " ON" appear in a POST form data is not uncommon so this may affect other customers. Perhaps there is a relation with some of the headers we use, which I left out of the code snippet above, but it looks to us a problem with the regular expressions that are built into WAF to parse POST form data before the request is handled.

Hi @mwittenbols
In order to double check which rule is blocking those requests, I would recommend to activate AWS WAF logs (https://docs.aws.amazon.com/waf/latest/developerguide/logging.html)
If it is a real SQLi false positive, then I would handle it like we recommend for XSS false positives: https://docs.aws.amazon.com/solutions/latest/aws-waf-security-automations/considerations.html#xss-false-positives


New version: CanDecomp v0.1.2

Registering package: CanDecomp
Repository: https://github.com/TensorDecompositions/CanDecomp.jl
Created by: @montyvesselinov
Version: v0.1.2
Commit: 77d1245ffc5601b26bfd7dd79d49b9835405b564
Git reference: master
Release notes:

urgh

Your new version pull request does not meet all of the guidelines for automatic merging.
Specifically, your pull request does not meet the following guidelines:

The following dependencies do not have a compat entry that has an upper bound: Ipopt, JuMP, Mads, Optim, StaticArrays, julia
A patch release is not allowed to narrow the supported range of Julia versions

If you want to prevent this pull request from being auto-merged, simply leave a comment.
(If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.)

It is important to note that if your pull request does not meet the guidelines for automatic merging, this does not mean that your pull request will never be merged. It just means that your pull request will require manual review by a human.

These guidelines are intended not as requirements for packages but as very conservative guidelines, which, if your new package or new version of a package meets them, it may be automatically merged.

On a separate note, I see that you are registering a release with a version number of the form v0.X.Y.
Does your package have a stable public API? If so, then it's time for you to register version v1.0.0 of your package. (This is not a requirement. It's just a recommendation.)
If your package does not yet have a stable public API, then of course you are not yet ready to release version v1.0.0.

[noblock]

Your new version pull request does not meet all of the guidelines for automatic merging.
Specifically, your pull request does not meet the following guidelines:

The following dependencies do not have a compat entry that has an upper bound: Ipopt, JuMP, Mads, Optim, StaticArrays, julia

If you want to prevent this pull request from being auto-merged, simply leave a comment.
(If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.)

It is important to note that if your pull request does not meet the guidelines for automatic merging, this does not mean that your pull request will never be merged. It just means that your pull request will require manual review by a human.

These guidelines are intended not as requirements for packages but as very conservative guidelines, which, if your new package or new version of a package meets them, it may be automatically merged.

On a separate note, I see that you are registering a release with a version number of the form v0.X.Y.
Does your package have a stable public API? If so, then it's time for you to register version v1.0.0 of your package. (This is not a requirement. It's just a recommendation.)
If your package does not yet have a stable public API, then of course you are not yet ready to release version v1.0.0.

[noblock]

[noblock]
version bounds are defined! Why it is complaining?!

do not have a compat entry that has an upper bound

Your compat entries do not have upper bounds.
For example, an entry of the form ≥ 1.2.0 does not have an upper bound.
An entry of the form ^1.2.0 does have an upper bound.
You may find these links helpful:

https://julialang.github.io/Pkg.jl/v1/compatibility/#Caret-specifiers-1
https://julialang.github.io/Pkg.jl/v1/compatibility/#Tilde-specifiers-1

[noblock]

Your new version pull request does not meet all of the guidelines for automatic merging.
Specifically, your pull request does not meet the following guidelines:

The following dependencies do not have a compat entry that has an upper bound: Ipopt, JuMP, Mads, Optim, StaticArrays, julia

If you want to prevent this pull request from being auto-merged, simply leave a comment.
(If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.)

It is important to note that if your pull request does not meet the guidelines for automatic merging, this does not mean that your pull request will never be merged. It just means that your pull request will require manual review by a human.

These guidelines are intended not as requirements for packages but as very conservative guidelines, which, if your new package or new version of a package meets them, it may be automatically merged.

On a separate note, I see that you are registering a release with a version number of the form v0.X.Y.
Does your package have a stable public API? If so, then it's time for you to register version v1.0.0 of your package. (This is not a requirement. It's just a recommendation.)
If your package does not yet have a stable public API, then of course you are not yet ready to release version v1.0.0.

[noblock]

Please fix the compatibility bounds for the next release such that it will be automatically merged.


How to use it?

How can I use this benchmark suite? I'm working on AutoML https://github.com/mljar/mljar-supervised and would love to have a quick way to run tests.
Does it integrate with GitHub Actions?

FYI: We're still in the pre-release stage, so caveat emptor. This repo might get deleted and recreated so we may lose this issue. Please refile it in case that happens. :)
@pplonski: Thanks for reaching out. If you want to try running our benchmark suite, follow the instructions at https://github.com/google/nitroml/tree/master/examples. This suite is designed to be run on GCP using KubeFlow.
Integration is straightforward if you are already using TensorFlow, i.e. accepting TensorFlow Examples as inputs, and exporting a TensorFlow SavedModel. Does MLJar support that? If so I can point you in the right direction. Otherwise, we are planning to make this this framework more ML framework agnostic in Q4 2020, i.e. accepting raw CSV data as inputs, and exporting predictions.


Instagram Source: Show Story Reply in Inbox UI

Is your feature request related to a problem? Please describe.
As an Airy inbox user I want be able to see that an incoming message is in regards to a Instagram story.
Describe the solution you'd like
When the message.content.message object contains a link to a story
{
"message":{
   "mid":"<MESSAGE_ID>",
   "text":"<MESSAGE_CONTENT>",
   "reply_to":{
          "story":{
          "url":"<CDN_URL>",
          "id":"story_id"
           }
    }
}

then display the relevant story as a status next to the message.
The CDN Link might expire with the story, so we should only display a link with target=_bank for message.sent_at + 24 hours, thereafter only indicate that the message originated from a story, but don't link to it anymore (removing icon, HTML link tag and bold font type).
Design Suggestion (please feel free to adjust):

Resources:
https://icons.getbootstrap.com/icons/play-circle/ (Open Source)
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Very small design comment. I would move this story reply bit to the top of the text message for two reasons:

Code structure: Everything above the time box is concerned with rendering source specific messages. All components outside it are agnostic
On Instagram it's also above which suits the natural flow reading flow. I would guess that we would also reference regular message replies like so.


Update README.md

Fix minor typing errors.
Add note about "setNativeExceptionHandler" only working in bundled mode - I wasted an hour before realizing this :)

Thanks a lot 👍


Error when on a server

http://pastebin.com/iJ1aBmnc
I created my own bot and it connects to the local server just fine, but when I connect mc.ecocitycraft.com it crashes with this stack trace.

I get the same error while teleporting between two worlds.


Number of features of the model must match the input

Hi Aurelien,
I am facing one major issue when applying classifier model on Test Data for prediction. The error which I am getting is "Number of features of the model must match the input". Could you please let me know how to resolve this issue?
Best Regards
Abhik

Hi @abhikjha ,
This errors says that the model was trained on a number of features n which is different from the number of features that you are giving it at test time.
This could be due to a number of reasons, in particular:

if the test data has a different number of features as the input data.
if the preprocessing steps add a different number of features during training and testing.

A very common cause for the second case is if you call fit_transform() both on the training set and the test set. For example, if you are using a CategoricalEncoder or a LabelBinarizer to encode a categorical feature, then when you call fit_transform() during training, it will see all possible categorical values, and it will add one dummy variable per categorical value. If you call fit_transform() on the test data, assuming there are just a few instances, there might be less distinct categorical values in the test data, so the transformer will add less dummy variables. This would cause the error.
So make sure you call fit_transform() on the training data, but you call transform() on the test data, not fit_transform().
If this does not explain your problem, please post more details, and the code you are trying to run.
Hope this helps,
Aurélien

Hi Aurélien
Thanks very much for your prompt reply. I tried transform() only on test data and fit_transform() on training data as you explained in your book, but still I am getting this error.
The way I followed the process earlier is as follows -

Split the data into Train & Test using StratifiedShuffleSplit
Segregating features and labels from both train and test data
Using Pipeline transformations, applied StandardScaler() and CategoricalEncoder() on training data
Ran my ML models on train data

However, if I flip the process like this, I am not getting any error and columns of both train and test data are same in number (this is not the case in above method) -

Segregating features and labels from data
Using Pipeline transformations, applied StandardScaler() and CategoricalEncoder() on full data
Split this transformed data into Train / Test data using train_test_split() using stratify on labels
Ran my ML models on train data

But the problem with above method is now I have "Predict_Probas" results which I have converted into a Pandas Data frame and I would like to combine this with my original test data which later I will export in CSV. This I need to show to my management as the final result of my ML project.  How can I now get my original test data back with (without standardization & one-hot encoding) with names of columns intact?
I am really sorry for troubling you and will await for your kind response on this query.
Best Regards
Abhik

Apart from this, sklearn documentation does not mention only "transform" as  one of their methods. Does this mean it is always applying "fit_transform" even if I am mentioning "transform"
http://scikit-learn.org/stable/modules/generated/sklearn.pipeline.Pipeline.html

Hi @abhikjha ,
The first process you describe looks good to me.  The second should not be used (even though it works) because you are fitting the test data, which means that whatever generalization error you measure on the test set at the end will be biases (too optimistic), which defeats the purpose of the test set.
So the correct option is to try to debug the first process. Could you please copy the code you are using here so I can take a look? If it is too large, you can use a gist.
Cheers,
Aurélien

Hi Aurélien
Thank you for your email and kind offer to review my code. However, before sending the codes to you, I thought I will give it a retry.
First problem I faced was something like this when transforming - "Found Unknown features during Transform". Struggled on this for a bit, then saw that in CategoricalEncoder code, we need to put "handle_unknown = "ignore". Accidentally I put this as part of transform() which not surprisingly gave me error again. Then I put this as part of CategoricalEncoder pipeline.
It all worked smoothly now. Shape of Transformed Train and Test are all same. :) Cant say how happy I am.
By the way, once I am done with everything, I will share my notebook with you which is in HTML format. Can it be shared by gist or if I can email this over to you?
Just to tell you about my project: I am working on creating a predictive model where based on some information, my model should predict which insurance policy will lapse and which will continue to be in-force. This is my first ML project and I have used all the concepts you taught us in your chapter 2 and 3. I cannot say how much these were helpful to me.
Results of the model:  very surprisingly, I got 98% accuracy on RandomForest, F1 score is around 98% as well and ROC score is around 99%. This all on training set. Lets see if I get same performance on test set as well. Do above scores look too good to be true?
Best Regards
Abhik

Hi @abhikjha ,
Great news! I'm really glad you found my book helpful.
However, the performance on the training set may indeed be too good to be true, unfortunately... A RandomForest is a very powerful model, it can learn the "by heart" and give you an amazing performance on the training set, but not generalize well to new data. Try evaluating it on the validation set (or using cross-validation), and it still performs well then it is indeed a good model. But if it performs poorly, you will need to regularize the RandomForest (and/or try other models).
You can definitely share the code using a gist, or simply create a github project and push all your code to it.
Cheers,
Aurélien

Furthermore, I used RandomizedSearchCV to find out the hyperparameters of RandomForest before running it on cross_val_score / predict.. also, I am using MLPClassifier as well just to cross check whether I am getting similar results on both classifiers...

Thanks for the update. Perfect, your model is looking excellent, good job!

Good Morning, Aurélien. Thank you so much for your time and words of appreciation. Model now finished on my test data as well and although performance deteriorated very slightly, but overall results are still in the similar range as mentioned above.
Cant express how helpful your book has been and I would like to give all the credits for my successful implementation of modelling to your book.
Looking forward to interact with you and get your kind guidance here on other future projects as well
Best Regards
Abhik

I'm really glad everything ended up working fine!  Thanks for your kind words.
Cheers, Aurélien


Update init.py

Updated init to remove reference to pkg_resources, which is now deprecated.

Hello @Rydo111,
I am aware of this. Good to see an alternative fix 😎  other than just installing setuptools as a simple fix.
Also all fixes etc are being done the development branch. If you could do that, that would be great. Otherwise I will make the appropriate changes when I get a chance.
Kind Regards,
KJ

I see this is fixed in the development branch. Cheers.

@Rydo111
Interesting… 🤔   I haven’t modified the development version yet.
It’s been awhile since I looked at this. Jog my memory, will this take of the issue of needing to install setuptools?
KJ


JPA errors to REST errors

Some JPA errors, like duplicate ID, etc. that depend on invalid user input should be transformed to corresponding REST error instead of Error 500 (Server error).

Implemented duplicate id check. Open another issue in case some other checks are required.


[WFLY-20216] Add org.jboss.logmanager:jboss-logmanager as a test depe…

…ndency for LayersTestCase
Jira issue: https://issues.redhat.com/browse/WFLY-20216

Thanks @yersan


Cursor jumps to beginning on every keypress on text-entry in inspector

Godot version:
78fbf507f
OS/device including version:
Windows 10
Issue description:
When entering text in inspector, cursor jumps to beginning of text input after any keypress.

duplication of #19008


Use macro language to make macros as user friendly and foot-shot proof as possible.

Gradually making improvements.


Support for alternate signature format (RSASSA-PSS) and additional algorithms

Hello Vadims,
Earlier today I tried initializing a X509CertificateRequest object with a CSR provided by a user that used the "alternate signature format" (RSASSA-PSS). Since this algorithm is not currently supported by your library it failed with a "Signature algorithm not supported" exception.
I'm not sure whether this is an often used signature algorithm but since it is supported by ADCS, it would be good maybe to support it as well in your library.
On the same topic, Windows 10 added support for new elliptic curves (https://msdn.microsoft.com/en-us/library/windows/desktop/mt632245(v=vs.85).aspx) and although probably nobody is really using them for enterprise CAs today, that may come in the future and supporting them would at least allow to properly parse the CSRs like certutil does.

Thanks for request. Agree that this would be a good idea to support them, however it will require additional research.

Just to let you know: I'm working on another issue: https://github.com/Crypt32/pkix.net/issues/8 and trying to implement MessageSigner class (not static), so you can use same key handle during multiple signing operations without extra PIN prompt (when PIN is shared per process).
Also, it seems that I can work around PSS padding support (v2.1): https://msdn.microsoft.com/en-us/library/windows/desktop/aa375510(v=vs.85).aspx (dwFlags parameter).
Branch (overall progress on mentioned issues): https://github.com/Crypt32/pkix.net/compare/bug%238-X509CRL-sig

Well, I have some good news. I was a bit upset that I miss DsaCng and RsaCng managed classes because I'm still on .NET 4.0 (and due to Windows Vista/Windows Server 2008 support I can't jump higher than 4.5). However, I made big work and worked around a neat piece: NCryptTranslateHandle function that loads keys from legacy CSPs to CNG KSP. I haven't tested (yet) with smart cards, but non-exportable CSP keys successfully are loaded to KSP: https://github.com/Crypt32/pkix.net/commit/6487c42d06f35ab1fba5442f94263611846bd2e7
I designed the code to load keys to CNG (including legacy CSP private and all public keys) whenever possible and use CNG functions for all kind of signing/validation operations. There is a fallback to legacy CSP if translation fails. Today I can confirm that PSS padding is now supported for RSA keys (RSASSA-PSS): https://github.com/Crypt32/pkix.net/blob/bug%238-X509CRL-sig/PKI/Utils/MessageSigner.cs
It appears that ECDSA supports PSS padding as well (OID=1.2.840.10045.4.3), while some references say that ECDSA doesn't use padding (even ECDsaCng class do not provide appropriate parameters for padding). This part requires more research.
However, I need to do some extra work to decode PSS parameters from signatures to automatically verify signatures on signed X.509 objects.

Done: https://github.com/Crypt32/pkix.net/commit/e258f0001fe59be886b9ce0da9f6dc65bfeda2ca


Added PGP Key for Helm provenance

Before merging:
Copy the private key block to a GitHub Repository Secret called: PGP_PRIVATE_KEY , then delete it.
Copy the key encryption password to a GitHub Secret called: PGP_KEY_PASSPHRASE.
Closes #163

Thats some quick work @itay-grudev and @phisco Looks solid!


Coherence Sorting Method for Improved TF Estimates

A basic coherence sorting has been implemented.  This improves the highest frequency estimates at for example IAK34, but there are still some issues with phase, and a few bad periods in aurora that are not showing as bad in EMTF.   The existing method is a sort-of jackknife that iteratively removes a segment of data and recomputes the coherence of the remaining ensembles, either local of remote.  The coherence is only between two channels though (not multiple coherence)
To do multiple coherence we should make:

[ ] a properly sized segment weights placeholder vector (currently it is a NoneType)
[ ] a method to specify the "multiple coherence estimate band", but for now, we could use a table prefilled, or a simple let of rules, like "let the 'multiple coherence estimate band' have 3x the FCs as the TF estimation band
[ ] a variation on get_band_for_tf_estimate that extracts the coherence band
[ ] "preliminary Z-estimator", can be OLS, or a simple jackknife
[ ] mutliple-coherence computation (PSD(E_p)/PSD(E_obs)

There are several issues here:

Need to automate the choice of coherence threshold (at each decimation level this can be different, in some cases it can differ between periods as well)
May want to rerun leverage points downweighting after restricting to the coherence filtered FCs
Decide if we drop the low coherence or just downweight them

References:
Egbert, Gary D. New approaches to estimation of magnetotelluric parameters. Final technical report, 1 August 1989--31 July 1991. No. DOE/ER/14057-2. Oregon State Univ., Corvallis, OR (United States). Coll. of Oceanography, 1991a.
Egbert, Gary D., and Dean W. Livelybrooks. "Single station magnetotelluric impedance estimation: Coherence weighting and the regression M-estimate." Geophysics 61.4 (1996): 964-970.
Jones, Alan G., and Hartmut Jödicke. "Magnetotelluric transfer function estimation improvement by a coherence-based rejection technique." SEG Technical Program Expanded Abstracts 1984. Society of Exploration Geophysicists, 1984. 51-55.
Smirnov, M. Yu. "Magnetotelluric data processing with a robust statistical procedure having a high breakdown point." Geophysical Journal International 152.1 (2003): 1-7.

Consider these two distributions of simple coherence from the same band:

It turs out that the first one seems like a reasonable candidate for jaackknife coherence, but the second one has some fairly non-intuitive results, in that the ensemble that gives the lowest partial coherence is not necesarily one with particularly poor simple coherence.  Something to think about ...
Probably, application of jackknife prematurely not a good idea ... probably should apply simple and or multiple coherence before jackknife.


Less redundant version; small improvements

I rewrote many parts, but there's still lots of redundant code. Anyway, some things are improved:

only send one message at comment event
names are bold again
bigger AC icon is used for mobile devices
message formatting is improved

This version has been tested for some time without any problems. I also added multiple team support, which is based on this code and will be provided later.

Does this still work with AC4.2.x and current Slack? Are there any special configurations that need to be set on Slack's side (incoming webhooks? Permissions?) Cant seem to get any events pushed from AC to Slack...thank you

I cannot verify it, because I stopped all AC 4 instances from running. But since I don't know about any major Slack API changes, I don't see a problem here.


getMyLocation() error callback

I'm actually asking for permissions before going to map view, but in case the user doesn't grant permissions I get this error:
my location requires permission ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION
Is possible to have something like:
getMyLocation((success) => {
	//Found you!
}, (error) => {
	//Ask for permissions but user doesn't give them
	//Timeout, etc
});

I know I can do it with another plugin checking if I have permissions, but this might be a good option because it will avoid just fail and display blank map.
Tested on Android 6+.

getMyLocation treats the last argument as error callback.
And if user denied, you should get the message "Geolocation permission request was denied".

The matter is that I use Geolocation plugin in the first view, if I denied the permissions, I spect this plugin to ask me for permissions, but it doesn't, just through the error I mention in the first comment, seems like is not forcing to ask for permissions again.

I confirmed this plugin check every time, and the below code appears the location request dialog two times.
https://www.youtube.com/watch?v=NFW-UPmJVVM
navigator.geolocation.getCurrentPosition(function(position) {
  alert("ok:" + JSON.stringify(position));
}, function(error) {
  map.getMyLocation(function(result) {
    alert("ok2:" + JSON.stringify(result));
  }, function(error) {
    alert("error:" + error);
  });
});

It means the problem is in your project, not this plugin.

Is mandatory to have Location permissions in order to load the map? I have the following:

With location permissions the map load successfully, but without them I get a blank screen with the following error in console:
my location requires permission ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION
As you can see I'm not asking for permissions, but the plugin seems to be using them.

This plugin does not ask the geolocation permission until you use getMyLocation() or other enable mylocatiommn button.

Ok, I added some code in order to check location permission for mapOptions.controls.myLocationButton.
Retry the master branch.
Again, this plugin does not ask the geolocation permission until if you set mapOptions.controls.myLocationButton = true or use map.getMyLocation() method.


Various fixes

can't go back to splash activity [todo] - create basefragmentactivity that handles common case of back pressed

fixes bug when viewer/creator activity wouldn't open after activity was stopped.

@aaustin @shortstuffsushi

Seems k :+1:

:+1:


About window can be opened multiple times

Description
It's possible to open as many about windows as you'd like. It should be a single window always, so it's not possible do something like below:

To Reproduce

Go to CodeEdit -> About CodeEdit
It opens about window
It's possible to perform the first step whatever many times - it will open about window all the times.

Expected behavior
Instead of opening multiple windows it should do one of the following:

focus previously opened about window
reopen about window
focus and move to it's initial position (if it was moved)

In any case - make sure that there's single about window at at time.
Version information
CodeEdit: 1.0 (1)
Commit: 99e73ca1aff5a854390788d17a57d0d0461c0640
MacOS: 12.2 (21D49)
Xcode: 13.3.1 (13E500a)
Additional context
No response

We might need to filter the NSApp.windows array with the casting of NSHostingView<AboutView> before AboutView.showWindow. This was the exact same way filtered for opening the Welcome window in AppDelegate -> openWelcome function. AppDelegate.swift
https://github.com/CodeEditApp/CodeEdit/blob/99e73ca1aff5a854390788d17a57d0d0461c0640/CodeEdit/AppDelegate.swift#L172-L174
I'd change like below.
    @IBAction func openAbout(_ sender: Any) {
        if let window = NSApp.windows.filter({ window in
            return (window.contentView as? NSHostingView<AboutView>) != nil
        }).first {
            window.makeKeyAndOrderFront(self)
            return
        }

        AboutView().showWindow(width: 530, height: 220)
    }

There is another issue like this that occurred when we open MainMenu -> Help -> Report an issue. It would need to fix like this again. AppDelegate.swift
    @IBAction func openFeedback(_ sender: Any) {
        if let window = NSApp.windows.filter({ window in
            return (window.contentView as? NSHostingView<FeedbackView>) != nil
        }).first {
            window.makeKeyAndOrderFront(self)
            return
        }

        FeedbackView().showWindow()
    }

If this looks good, I would like to make a pull request for these two issues.

@TwizzyIndy I've did that already, sorry


Splitting Project pane removes it and all other panes

Description
I wanted to have two Project panels, and thought maybe that functionality was present simply by Splitting the one I had... not so much! My project panel disappeared entirely, and could not be opened again via the menu, nor could any other panel (command palette, git tab etc).  Atom did report an error about only one such object being allowed, but that didn't bring it back, neither did restarting.  Performing a atom --clear-window-state fixed it and got my atom back in a functional state.
Steps to Reproduce

Right-click Project tab and pick a Split option

Expected behavior:
Thought nothing would happen or I'd get two Project panes
Actual behavior: [What actually happens]
As described above: atom rendered unusable.
Reproduces how often: [What percentage of the time does it reproduce?]
100% I assume
Versions
λ atom --version

Atom    : 1.19.3
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0

λ apm --version
apm  1.18.4
npm  3.10.10
node 6.9.5 x64
python 2.7.6
git 2.13.3.windows.1
visual studio 2015

Thanks for the report!  I was able to reproduce and the error pointed to https://github.com/atom/tabs/issues/234 - I assume that happened to you as well or at least the stack trace was similar?  Someone mentioned the same repro steps as well /cc https://github.com/atom/tabs/issues/234#issuecomment-306439035.
I'll go ahead and close as a duplicate for now and I'll bring that one up with the team.

We noticed that this is a duplicate of https://github.com/atom/tabs/issues/234. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Error is thrown when Blocked Uri is not a valid URL

If the violation is for a protocol such as data: then the generated report includes the protocol as the "blockedUri" and it cannot convert the value into a valid URL preventing users from updating the CSP via the violation report interface.
{
  "blockedUri": "data",
  "documentUri": "https://localhost:5000/en/case-studies/",
  "originalPolicy": "default-src 'self' 'unsafe-inline' https://www.google.com ws://localhost:*; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://*.msecnd.net<EMAIL_ADDRESS>https://code.jquery.com https://dc.services.visualstudio.com https://www.google.com; style-src 'self' 'unsafe-inline'<EMAIL_ADDRESS>https://www.google.com; connect-src 'self' http://localhost:* https://dc.services.visualstudio.com https://www.google.com ws://localhost:* wss://localhost:*; img-src 'self' https://pbs.twimg.com; child-src 'self'; frame-src 'self'; font-src 'self';",
  "referrer": "https://localhost:5000/",
  "scriptSample": "",
  "sourceFile": "",
  "violatedDirective": "img-src",
  "effectiveDirective": "img-src",
  "disposition": "enforce"
}

The offending class and method are ICspViolationReportRepository.SaveAsync(ReportModel violationReport)

Complete and to be delivered in 0.7.0


Add error handling in watch_manual_resize().

We now explicitly complain if a caller passes in a bad
selector to this function and return undefined.

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @showell!


Dialogic dialogue box doesn´t scale at all when stretch mode is set to 2D and aspect is kept to keep

The problem
Describe the bug
Dialogic dialogue box doesn´t scale at all when stretch mode is set to 2D and aspect is kept to keep
To Reproduce
1:set the project resolution to say a pixel resolution I have 320,180
2:set stretch mode to 2D and aspect to keep
3:The dialogue box doesnt show up on the screen but it exists
Expected behavior
The dialogue box to scale to the correct resolution
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):

OS: Linux
Godot Version: 3.2.3
Dialogic Version: 1.0

Solutions
turn off 2d stretch but now everything is small, not a good solution
Workaround
none
What you tried to get the feature working
Possible fixes
scale when 2d stretch is selected
Any idea to fix the issue or a link to the line of code that might be the cause for this problem
none

This was fixed before and it seems like some of the new updates broke it. I'll revisit the issue and make sure that it works as expected for 1.1

@Dragon20C The fix is already on main. I will close, but feel free to re-open if it is not fixed

That was quick! I'll be sure to take a look soon!
On Thu, 15 Apr 2021, 18:11 Emilio Coppola, @.***> wrote:

Closed #222 https://github.com/coppolaemilio/dialogic/issues/222.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/coppolaemilio/dialogic/issues/222#event-4600577507,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTY3A6OZGXYQT6TWB5UETLTI4M2RANCNFSM427VCXRQ
.

Hey, I was having the same problem, I've tried it and it doesn't work yet
The resolution is 480x270, it is set to 2D and keep.

@AlexeevAlex can you send me the project?

Yep, here it is
Test.zip

The stretch mode is working correctly, you just have to create a theme and set the size to be smaller than your screen @AlexeevAlex

Oh, okay, yeah, I've just noticed... Make the dialogue box smaller and customize the default font to a smaller size and everything is fine!


[bug] tags are being displayed in array not  in separate blocks

Issue Template
Description
This issue is related to tags . when user is adding or updating tags in notes. They are being displayed in very different manner such as in array. But they should be displayed in separate blocks.
Steps to Reproduce
Please provide step-by-step instructions on how to reproduce the issue:

Go to 'Home page'
Click on 'create button' or 'update button'
add tags
See error

Expected Behavior
the tags should be displayed in separate blocks.
Actual Behavior
they are being displayed in array like #["code","node"] .
Screenshots
Screencast from 2024-10-26 18-21-52.webm

@yashmandi @theashikagupta  , could you please assign this to me ?

Assigned @Saurabhchaudhary9799

@theashikagupta  @yashmandi : This bug was solved in https://github.com/Scribbie-Notes/notes-app/pull/236.
But, merge changes have removed it.


Probing

Before sending a rebalancing invoice a probing of the  route is done. In case of a timeout an invalid invoice will be created, so that the algo can exclude the route.
The extension of probing is done to minimise the risk if stucked htlcs.
When an HTLC (Hashed Time-Lock Contract) gets stuck, it's typically due to one of two reasons: either a node along the route is offline or unresponsive, or there is a pending channel closure along the route.
In the case of an offline or unresponsive node, the probeRoute function will generally not return a specific failure code. Instead, the request will time out, which will result in a context deadline exceeded error. This is an indirect indication that an HTLC may be stuck due to an unresponsive node.
When there's a pending channel closure, the lnrpc.Failure_TEMPORARY_CHANNEL_FAILURE failure code might be returned, since the channel cannot forward the payment. However, this failure code is quite generic and can be returned in many other scenarios as well, so it's not a definitive indication of a pending channel closure.
There is no specific failure code that unequivocally signals a stuck HTLC. Detecting stuck HTLCs usually involves looking for indirect signs like a context deadline exceeded error or a TEMPORARY_CHANNEL_FAILURE error. Furthermore, the Lightning Network's error reporting is intentionally obfuscated to some extent due to privacy considerations, which can make it harder to diagnose the exact cause of a payment failure.

Two things:

Please base your PR on master, not another PR, so it can be accepted independently and it's easier to review.
I don't understand the purpose of the change you propose. What exact problem does it solve?

Probing in  general before doing a payment is the aim of that PR to minimize the risk of stucked htlcs.
Since lnd 0.16.2 it seems that the rebalancing payments get more stucked due to unresponsive nodes or because of the bimodal path finding mechanism selecting more nodes not working. Probing and checking for timeouts might be risk minimising as long as a link livness checker has been not implemented in lnd
https://github.com/lightningnetwork/lnd/issues/2992

I don't get it. If we probe the path then we've already tried a payment a second ago. What's the point of doing it again? The probability of a node on the path going down right after we tried and failed a payment is negligible. If the first payment failed because a node went down the probe payment should be declined as well. If the channel is already closing no HTLC can be added anyway so there's no risk doing it.

The difference is that probing is done  with a fake payment, so no real sats are used. At least your function probeRoute (routes.go) is working with FakeHashes for probing.
If probing would be done with real payments then probing would be senseless.


Wip keep project on reload

Looks good.

I think you can just use an empty Map instead of None, right?
The projectMap method should handle the case where the current project no longer exists.

I copy the file with the name alphabetically before the existing, so I hope it should be picked by default.
I missed that part, sorry. Is it worth a separate pull request?


Annotate config and decorator to avoid strictDI errors

With the introduction of ng-strict-di, any apps that enable strict dependency injection break when AngularJS Batarang is enabled, giving the following error:
Uncaught Error: [$injector:modulerr] Failed to instantiate module ng due to:
Error: [$injector:strictdi] function($provide) is not using explicit annotation and cannot be invoked in strict mode
http://errors.angularjs.org/1.3.0-beta.11/$injector/st...

This issue has been reported previously: #119
To make AngularJS Batarang compatible with strict-di, this PR adds annotations to the two un-annotated functions that are causing the problem.

I think this PR no longer applies, since the project has been completely rewritten. I'll close it.


Add notification message

Description
Add notification message if job failed for ondemand pipelines.
How can this be tested?
Check slack channel.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.77%. Comparing base (4b4a8c8) to head (528d21f).
Report is 2 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3239   +/-   ##
=======================================
  Coverage   58.77%   58.77%
=======================================
  Files         326      326
  Lines       18172    18172
=======================================
  Hits        10680    10680
  Misses       6308     6308
  Partials     1184     1184

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

The PR title is Add notification message. What is the notification for?

The PR title is Add notification message. What is the notification for?

@chrismuellner done.


Selecting OpenCL device?

Hello!
Is there currently any way to manually list and select the OpenCL device?
Thanks! :)

Hi!
This is not possible at the moment, unfortunately. I recently open-sourced a new version of Emu (not yet published to Crates.io) with significant changes to improve robustness, ease-of-use, and performance. This new version, too, at the moment will use the first device found.
I believe single-GPU, single-threaded is a good default but here is an idea I have for allowing selection, concurrency-
#[gpu_use]
fn main() {
    let mut data = vec![0.0; 1000];

    gpu_do!(load(data));
    gpu_do!(launch());
    for i in 0..1000 {
        data[i] = data[i] + 0.1;
    }
    gpu_do!(read(data));
}

#[gpu_use("nvidia", "nvidia")] // initialize first 2 devices with names containing substring "nvidia"
fn main() {
    let mut a = vec![0.0; 1000];
    let mut b = vec![0.0; 1000];
    let mut c = vec![0.0; 1000];

    gpu_do!(open(1)); // specify that 2nd in initialized list should be used; if not specified, default is 1st in initialized list to be used
    gpu_do!(load_async(a));
    gpu_do!(load_async(b));
    gpu_do!(load_async(c)); // all of a, b, c can be loaded asynchronously
    gpu_do!(await()); // wait for all loading to finish
    gpu_do!(launch()); // this could also be launch_async if we wanted to do something while running on GPU
    for i in 0..1000 {
        data[i] = data[i] + 0.1;
    }
    gpu_do!(read_async(data)); // reading can be async while we do some computation until we actually need the data
}


Anything following an Image not respecting "Width" in Outlook

Hello,
In Outlook 2010 & 2013 my text and button after a retina image is getting pushed up besides the image instead of going below it.
You can see an example here: http://i.imgur.com/bFCkUBu.png
/*************** Products Section ************** */

table.row.product{
  background:#ffffff;
}

table.product p {
width:250px;
}

Connect With Us:

                                  Shop Now

Connect With Us:

                                  Shop Now

Is this still an issue with 1.5 ?

We're no longer supporting v1, however, this should be addressed in v2. Let us know if this is still an issue for v2!


New version: OVERT v0.1.2

Registering package: OVERT
Repository: https://github.com/sisl/OVERT.jl
Created by: @chelseas
Version: v0.1.2
Commit: 03ad0103ffd772dd02e9f53bf8a74f2938a99363
Git reference: HEAD
Description: Relational piecewise-linear overapproximations of multi-dimensional functions

Nevermind I will try again...


Create PROFILE.md

Creating the Profile file and adding comments
Summary
A clear and concise description of what the problem or opportunity is. Link to an issue if relevant.
Changes
Describe the changes this pull request introduces.
Task list

[ ] For workflow changes, I have verified the Actions workflows function as expected.
[ ] For content changes, I have reviewed the style guide.

Dieu2023
Vào 3:36, Th 4, 7 thg 6, 2023 Dieu Be @.***> đã viết:

0765100967
Vào 3:32, Th 4, 7 thg 6, 2023 Courtney Wilson @.***>
đã viết:

Closed #423 https://github.com/skills/introduction-to-github/pull/423.
—
Reply to this email directly, view it on GitHub
https://github.com/skills/introduction-to-github/pull/423#event-9450547790,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A76KLJMZENB5AUEBAESU7SDXJ6HW7ANCNFSM6AAAAAAY4XPMFA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***
.com>


Develop Yals app in angular

[ ]  Make same app in side ng path
[ ]  In new branch replace std yals app (/) with newly created (which currently located at /ng).
[ ]  Run tests
[ ]  Merge and delete branch

Abandoned


External link goes wrong when you unistall files and keep files(preview)! How surprising!

Description
When I install both files(stable version <IP_ADDRESS>) and files preview(beta <IP_ADDRESS>) and set the later as deflult file explorer(I didn't modify any settings of the stable version), everything goes fine. However when I unistall the stable one, the preview one goes wrong! Concrate behaviour is that when clicking an link that opens explorer.exe(according to my settings, this showld open files preview as expected), An error dialog was shown saying "files is unistalled, restoring default explorer.exe". After clicking yes, the default file explorer will be rollbacked to explorer.exe
What a surprise! they are two apps but they run into conflict...
Steps To Reproduce

install two kinds of Files and set the preview one as default file explorer
unistall the stable one
choose an external link that opens explorer.exe e.eg. "open log location" in the setting apge
you'll see the error dialog

Steps to fix
Maybe there're some code from old app that hasen't been merged into the new app?
Files Version
<IP_ADDRESS>(stable) and <IP_ADDRESS>(beta)
Windows Version
windows11 22623.1028
Relevant Assets/Logs
debug.log

If you turn off the toggle in settings then on again does it set it as default again?

Well, it did set as default again, but after that you click an external link, the bug will appear again. Even you press ⌘+E!
I've tried unistall both two apps and reinstall them, but it didn't work.
I'm also really confused by this...

A hint dialog like this.

Can you calarify the issue?

OK,
I' ve installed Files Stable(called FS in the follwoing context) and Files Preview(called FP in the following context). I set FP as default file explorer then it works fine. Then I unistalled FS. Then things goes wrong——Every time I press win+E, an error dialog would show and default file explorer would become windows explorer.exe. I tried reinstalling FS and FP but it didn't work. Additionally, before I first unistall FS, I configured Windows IIS FTP and firewall settings on my machine. I don't know whether it has something to do with the bug.

If you open Files Preview and toggle the option on/off, does it revert the registry changes?

If you open Files Preview and toggle the option on/off, does it revert the registry changes?

After performing this operation, the default file explorer is Windows' explorer.exe.
Then try to set FS or FP as default, the problem still exists.

After setting the default back to File Explorer, remove the version of Files that you no longer want and set the default to the version that you do want.

If you open Files Preview and toggle the option on/off, does it revert the registry changes?

Thanks for help! I unistalled both, rebooted my PC and installed Files Stable. Now it finally works!

Thanks for the update.


Generated file contains strings from default resource value

This gradle plug-in works pretty well, but I noticed a problem when there are some missing template translations
For instance:
With file values/strings.xml
<string name="template_string_1">This is an example for ${app_name}</string>
<string name="template_string_2">This is a second example for ${app_name}</string>

And French file values-fr/strings.xml with missing translation for template_string_2
<string name="template_string_1">C\'est un exemple pour ${app_name}</string>

Generated file values-fr/resolved.xml will contain
<string name="string_1">C\'est un exemple pour My wonderful app</string>
<string name="string_2">This is a second example for My wonderful app</string>

I do not expect string_2 to be include in the generated file for French, since it will be already included in the generated file values/resolved.xml.
This can lead to issue reported from lint (Typos, etc.).

Hi @bmarty, many thanks for your feedback!
I see. There's a way we can sort it out that hopefully will suit you, if not, please let me know. Though basically you can avoid getting such string into other languages' generated files if you set its translatable parameter to false, e,g:
<string name="template_string_2" translatable="false">This is a second example for ${app_name}</string>

Please let me know if that doesn't work for you.
Regards,
Cesar

Thanks for the fast answer.
In my case, the string has to be translated (so I cannot use translatable="false"), but the translation is not done yet.

I see, got it. I remember leaving it like that to avoid double checking whether the user provided a translation because doing so could cause some performance penalties (and just leaving the string on the specific language wasn't causing any compilation issues, but I didn't think of lint issues) and also because I was thinking that, if someone didn't need a string translated, then they could just add the translatable="false" param and that'd tell the plugin to not to include it on a language file without having to check whether a translation was available or not. However, it seems like in your case you do plan to have it translated, just that you don't have that translation yet, so I guess one could argue that the issues you are having right now are only temporary?
In any case, I'm planning working on a refactoring soon, mostly to have a better, well defined separation of concerns across the different processes of this plugin, and also to stop using deprecated Gradle plugin tools (based on this other issue: https://github.com/LikeTheSalad/android-string-reference/issues/5) so I can add this extra validation as part of that work as well, hopefully the new design will make it easier to validate this case without the performance penalties. In the meantime though, if all the issues you're facing right now are only lint-related ones, I'd suggest you to either adding the translatable="false" option temporarily until you get the translations, or, temporarily ignoring the specific lint rule that is causing the issues until you get your translations.
I'll update this ticket once the improvements are available, however, being honest those could take up to 2 months from now since they have a lower level priority than the improvements I'm currently working on for https://github.com/LikeTheSalad/android-buddy - however, I hope my suggestions above can work for you in the meantime 👍
Regards,
Cesar

Wonderful, thanks!
For now I have disabled the lint check on those files (like that: https://github.com/vector-im/element-android/blob/develop/vector/lint.xml#L75).
I work on a project with many translations, so I can definitely not add translatable="false" as a workaround.
Anyway, there is no urgency to fix this issue!
I was also wondering if the plugin could also strip out the string starting with template_ at compilation time, since those string should not be used directly in the code. But this is another subject.
Thanks!

Cool! glad you found a temporary solution 👍
That's also a great thing to consider when making the refactoring, I didn't know whether people would like to keep or not those template strings, so it is nice to have some input on that, thanks! I'll check what can be done about it.
Regards,
Cesar

Hi @bmarty, this issue should be fixed now in version 1.3.0. Please feel free to reopen this ticket if you find that's not the case.

Hello @LikeTheSalad ,
Thanks for the release 1.3.0, our friend dependabot has upgraded the dependency to version 1.3.0 on our project, but the CI (lint) is not happy (see https://github.com/vector-im/element-android/pull/4854).
The first error is:
/home/runner/work/element-android/element-android/vector/src/main/res/values-bn-rIN/strings.xml:1274: Error: "settings_add_3pid_flow_not_supported" is translated here but not found in default locale [ExtraTranslation]
    <string name="settings_add_3pid_flow_not_supported">আপনি রায়ট মোবাইল থেকে এটি করতে পারবেন না</string>
Lint found errors in the project; aborting build.

but the string (the template actually) is well defined in the default resource: https://github.com/vector-im/element-android/blob/d07dd154b8a4b961f3a14c0a1e30a921798eee3a/vector/src/main/res/values/strings.xml#L1101
Do you have an idea why we have this problem?

Oh, I think I know what's going on 🤦♂ - I did add the validation to check for a template's location before storing the resolved string in a language folder, but now that I think about it better, even though this plugin knows about their connection (template and resolved string), still Android's lint rules don't... So to them they're still different resources, and it's not able to find the resolved resource in the raw ones.
So I think this will actually get solved for good as part of #15 where I'm going to get rid of the "template_" prefix for template resources, as I explained there in a comment. The idea is to have both template and resolved strings named the same, that way not only we'd avoid adding unwanted resources into the final binary, but also it will no longer be needed to compile the project for the resolved strings to become available into the code. Not sure how long this change will take, but at least the refactoring needed to make this plugin more flexible for these kind of changes is finished now as part of the code added into 1.3.0, so it shouldn't be as painful as what was needed to be done for 1.3.0, but definitely the way to use this plugin will change, as the "template_" prefix will not longer be needed, so that'll become version 2.0.0.

Thanks! I'll wait for v2.0.0 to consider upgrading our dependency then.

Hi @bmarty - The new version 2.0.0 is now available, it is no longer needed to define your templates by adding the "template_" to your string names anymore, which means that Lint shouldn't treat them as separate strings, thus avoiding the "translation" issue. Although, please bear in mind that a lot of things have changed in this new version 2.0.0, there's a rebranding along with new dependencies parameters and plugin ID, so in order to add the new version into your project, I recommend you to check again the README's instructions: https://github.com/LikeTheSalad/android-stem#21--changes-to-your-roots-buildgradle-file

Thanks @LikeTheSalad ! Migrating to 2.0.0 is fine so far!


monorepo support?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
The project doesn't seem to be working for me on first install. I suspect (given there is only one "cov.xml" in the options) that it does not support monorepos. (If this is incorrect, I'll be happy to learn how to setup.)
Describe the solution you'd like
A clear and concise description of what you want to happen.
I would like to be able to use with a monorepo -- possibly containing packages in several different languages. Ideally it would "just work" -- searching for cov.xml in subdirectories. Optionally, include/exclude paths for this search would make sense.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I haven't thought of a good workaround yet.
Additional context
Add any other context or screenshots about the feature request here.

@shaunc thanks for submitting an issue! you definitely should be able to use multiple coverage files 🤔 within the same workspace.
https://github.com/ryanluker/vscode-coverage-gutters/blob/master/test/extension.test.ts#L216
https://github.com/ryanluker/vscode-coverage-gutters/blob/master/package.json#L142-L151
Can you load the example workspace and see if you can see coverage for both the node and java projects if you use the watch feature? You might need to up the settings from the 2nd link above that lets you manually pick coverage file names.
Let me know how that ends up working for yah!

OK -- got it to work.  I think I over-thought it when it didn't work initially, and snarled up the settings, when perhaps I should have just reloaded the window. :)
Thanks!


Make JSR 305 compileOnly on 1.x branch

This is the same fix as #219, but on the 1.x branch for projects that haven't been able to migrate to RxJava2 yet.
I checked and it doesn't look like javax.annotation.Nonnull is used anywhere in the Android modules, so I didn't need to change any annotation usages.

Thanks!


Remove finalizer from the Account CR if BYOC

Currently when an accountClaim CR is deleted and the AccountClaim was BYOC it will attempt to delete the Account CR because the accountClaim is set as an owner reference. This will fail because the finalizer on the account CR is never removed.
It fixes this error where we attempt to get the .Spec.claimLink in the reconcile loop instead of deleting the account and exiting the reconcile.
"level":"error","ts":1576783019.8541033,"logger":"kubebuilder.controller","msg":"Reconciler error","controller":"account-controller","request":"aws-account-operator/osd-creds-mgmt-vqnml2","error":"AccountClaim.aws.managed.openshift.io \"jamesh-corp\" not found"

/hold

/hold cancel


Error in git URL

Using Selfhosted GitLab and a almost fresh install of coolify. Aside of access to repositories on the own account not being possible trying to set up anything leads to the following:
20:03:21.711  GitLab importer started.
20:03:21.743  Cloning organization/website-template:main branch.
20:03:21.812  Failed to deploy!
20:03:21.814  Reason: Error: Command failed: git clone -q -b main git@gitlab.domain.eu/:organization/website-template.git --config core.sshCommand="ssh -q -i /tmp/build-sources/organization/website-template/id.rsa -o StrictHostKeyChecking=no" /tmp/build-sources/organization/website-template/cl1pffir500100oqehg1p7y1a/ && cd /tmp/build-sources/organization/website-template/cl1pffir500100oqehg1p7y1a/ && git submodule update --init --recursive && git lfs pull && cd ..
fatal: 'git@gitlab.domain.eu/:organization/website-template.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Thank you in advance and apologies if this is just wrong configuration from my side!

It looks like you added a / to the end of the domain. gitlab.domain.eu/ but it should be gitlab.domain.eu.
I will add a fix to prevent such errors in the future and a possibility to change it on an already defined GitSource in the next version.


Error 1011 on /train curl

Receiving the error below.  Training docs are small one page pdfs.  Max is 283kb.
{"error":{"code":"1011","innerError":{"requestId":"33fd6db1-5a0c-4c22-a576-b03ad55c0567"},"message":"The operation exceeded allowed time limit and was canceled. The common reasons are that the data source is too large or contains unsupported content. Please check that your request conforms to service limits and retry with redacted data source."}}

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

ID: a5fa2bcb-4ecb-fea1-5126-36986c2c94e9
Version Independent ID: c6cd5bd0-b35b-5e29-7f5e-db8cabecc7af
Content: Quickstart: Train a model and extract form data by using cURL - Form Recognizer - Azure Cognitive Services
Content Source: articles/cognitive-services/form-recognizer/quickstarts/curl-train-extract.md
Service: cognitive-services
Sub-service: form-recognizer
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

@ehalsey Hi Eric, thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Any progress on this one @PatrickFarley?

@ehalsey , we've made some changes to the docs recently, so you might want to double-check that your scenario matches the updated guidance.
@NHaiby , do you know why this error might be thrown?

My scenario is that I am attempting to train on 12 PDFs, each which has a single page, and has a file size of around 40KB.

Form Recognizer is currently a sync API with a timeout and a limitation of 4MB, 50 pages PDF or long processing time. It might be that your PDFs are complex and processing time is longer than the timeout. Can you please reduce the amount of PDFs try with 5 PDFs from the same type ? We are currently also working on an Async API which will enable training large data sets and file sizes and will not have the timeout limitation.

Thanks @NHaiby but I don't think we are up against those limits.  5 pdfs totaling ~1.3MB for all 5.  Example attached.  I redacted names/accounts to protect the innocent :).  Ones supplied to training are not redacted.

I reran using the same training set and it worked!  Looks like you can close this issue.

@NHaiby
We are facing this issue on our pdf files. It seems that this issue is still there. Do you have any more updates?
We started by sending 12 PDFs (well within the limits mentioned in the documentation) for the training and still, it failed with following error message:
"code": "1011",
It showed the same error till 3 PDFs and eventually worked for 2 PDFs.


code manifesto: suggest using docstrings in tests

Codecov Report

Merging #242 into master will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #242      +/-   ##
==========================================
- Coverage   89.46%   89.42%   -0.05%
==========================================
  Files          24       24
  Lines        1168     1163       -5
  Branches      134      134
==========================================
- Hits         1045     1040       -5
  Misses         93       93
  Partials       30       30


[0.9.4 & 0.9.5-nightly-6682752] Continuous Queries stop running

Using the build, I create two continuous queries.  One query runs every 5m and one query runs every 1h.  The log shows the queries are successfully created and the queries begin to run.
After about and hour (sometime more, sometimes less) the queries stop running.  The log shows no errors, just no continuous query activity.  Using the admin console to list the continuous queries ("show continuous queries") returns no results.  However, trying to recreate the query in the admin console reports an error, indicating the query already exists.
Below are snippets from the log file showing successful query creation and the queries executing for a period of time.
This has happened multiple times.  Each time, I started fresh with a new database.

I may be experience a similar issue on InfluxDB version <IP_ADDRESS>.  Continuous queries just stop running after a while.  I have four continuous queries that rollup data into various retention policies.  One query has GROUP BY time(5m) so I would expect that one to run fairly often. According to the logs, though, it’s been about 9 hours since the last continuous query ran.

@njurgens that definitely seems wrong. If you restart the process do the CQs resume running?

@njurgens that definitely seems wrong. If you restart the process do the CQs resume running?

@njurgens do ad hoc queries execute and return? Basically, is the system otherwise healthy and CQs have just stopped running periodically?

@beckettsean I'm able to still execute queries as normal.  Data is still being written to the measurement's default retention policy and I can query that no problem.  If I query any of the retention policies that are populated by my CQs, I only have data from before about 2015-11-06T06:40:00Z (around the time CQs stopped appearing in the logs).  I'll restart the database and see if they resume running.

Continuous queries started to hang again and queries to one of my retention policies timeout.  This retention policy is the same as the one queried by the last CQ that ran (according to the logs).

retention policy remains unqueryable

Can you be more specific? Queries return bad values? Null values? Queries don't return? The process throws stack?

@beckettsean Queries to that retention policy don't return. (Queries to other retention policies do return, though.)
Other log items (potentially) of note:

Queries to that RP seem to hang immediately on startup.

A continuous query on that RP runs within a second of server startup (HTTP listen) but never writes any points.

Shortly before that CQ runs (within a second), we see this:
WAL writing to /path/to/influxdb/wal/dbname/4w/128
Not sure if that's a red herring, or a potential deadlock. The 4w retention policy is the one to which queries are hanging.

I had started wondering if it's related to #3469 due to the cascading continuous queries, but that seems to be about write timeouts. Also possibly related: #4203, #3158 (though we are using sum() rather than count())

I haven't seen this issue since upgrading to InfluxDB 0.9.5 a week ago.

@brettdh are you still seeing this issue?  If so, have you tried 0.9.5?

I am still on <IP_ADDRESS>, and I haven't been testing this actively, but I haven't noticed a hang since the last time I commented here. This issue is frustratingly intermittent, though, so I'm not confident it's gone until it can be reliably reproduced.
@njurgens has been steadily storing new measurements in his 0.9.5 deployment, though, so that gives me some hope. :-)

This is an old issue for a now unsupported version of InfluxDB. I'm going to close this, but please comment or make a new issue if you see this with 0.13 or newer. Thank you.


[add] GetMonitorRefreshRate(int monitor);

Note: only gets the monitor's current video settings. e.g. a 165 Hz monitor set to 60 Hz will return 60.

@Shylie Great addition! Thank you very much! :)


Add initial support for running tests on Open Data Hub

Note: this PR needs to be merged at the same time as ods/odhcluster/-/merge_requests/49
Changes:

Adds tag OpenDataHub to tag compatible tests (used in ODS-316 as example)
Adds new global variables: PRODUCT, APPLICATIONS_NAMESPACE, MONITORING_NAMESPACE, OPERATOR_NAMESPACE, NOTEBOOKS_NAMESPACE
Fails RHOSi Setup if the previous variables are not defined
Adds variable file ods_ci/test-variables-odh-overwrite.yml to overwrite values in variables defined in tests suites to make them compatible with ODH

Tested successfully here (on ODH): rhods-ci-pr-test/1970
Being tested right not (on RHODS): rhods-ci-pr-test/1971

Tested successfully here:

on ODH: rhods-ci-pr-test/1976  (test with OpenDataHub tag PASS)
on RHODS: rhods-ci-pr-test/1977 (all Smoke PASS)

could you also update the test-variables.yml.example?

could you also update the test-variables.yml.example?

It is updated already https://github.com/red-hat-data-services/ods-ci/pull/873/files#diff-306ca20729ca75fa6e8aabe54d75fbb28f1c064a85c5674f8aa2e16834b5345f

Due that we are going to support ODH and RHODS Maybe the function could be:
Before:
Is RHODS Version Greater Or Equal Than

After:
Is Version Greater Or Equal Than

It applies to the other functions that have RHODS in the name
I thought about this but I prefer to do it in a follow-up PR. I wanted to have this initial PR as little as possible in order to merge it faster


Add "paralax" for background on create wallet screen

Make background move if user moves his device (for examples please have a look at whatsapp background).

@DenisDemyanko please let me know if you need any additional graphics for this task.

checked


Report more information about the failure for exit code 134

related to #6894 #6904 , we would need more information be reported back to wmstats. the python stack trace of wmcore is not really informative, while bits of logs on the worker node is

Digging through error reports, it looks like
https://github.com/dmwm/WMCore/blob/0.9.95b_plus_patches/src/python/WMCore/WMSpec/Steps/Diagnostics/CMSSW.py#L118
is wrong and should have outLog in it to fulfil its destiny ! @amaltaro @ticoann could this be added along

add https://github.com/dmwm/WMCore/blob/7cda7bc5c76158790bf8e3912c5ec4332da52541/src/python/WMCore/WMSpec/Steps/Diagnostics/CMSSW.py#L238

Surprised that bug wasn't found for many years. Thank Jean-Roch.


SA1206 firing incorrectly for required in C# 11

Version:
1.2.0-beta.435
Repro:
internal struct SomeStruct
{
    public required int Prop { get; set; }
}

Expected:
No warnings
Actual:
SA1206: The 'required' modifier should appear before 'public'

I also notice that the code fix bails out and does nothing if applied to an unknown modifier. Would be nice if the analyzer did the same, to avoid these endless false positives as the language evolves. Not a big problem with this particular analyzer, but while someone fixes the false positive I think it would be good if the analyzer could be redesigned at the same time.

I tried to create a unit test case, but fail to make the tested code compile:
error CS1519: Invalid token 'int' in class, record, struct, or interface member declaration
Could for example be because Microsoft.CodeAnalysis.CSharp.Workspaces 4.3.0-1.final doesn't support this syntax, or maybe we need to configure the tested project to use reference assemblies for .net 7.0?

doesn't support this syntax

You'll need a really recent build of the C# 11 compiler, e.g. in the last two weeks or so.

The latest code analysis package was from a couple of days ago, but I don't know how recent the actual code is. Let´s wait for the next beta and try again.

I have a fix that I am almost happy with (using version 4.3.0-2.final of Roslyn), except that it causes some tests for 1503, 1519 and 1520 to fail due to changed formatting behaviour in the new Roslyn version. I have confirmed that these regressions happen even if I only update that package, so it's not related to the changes for the new modifier.
All failing tests are called TestCodeFixProviderWithAlternateIndentationAsync and they only fail in the c# 11 test project, which has the new Roslyn version. All tests use the SA1503CodeFixProvider to add missing braces.
Xunit.Sdk.TrueException: 'Context: Iterative code fix application
content of '/0/Test0.cs' did not match. Diff shown with expected as baseline:
 using System.Diagnostics;
 public class Foo
 {
  public void Bar(int i)
  {
   if (i == 0)
-  {
-   Debug.Assert(true);
-  }
- }
+        {
+            Debug.Assert(true);
+        }
+    }
 }

Expected: True
Actual:   False'

Do you have any insights on this, @sharwell?

On hold until a fix for the formatting is available: https://github.com/dotnet/roslyn/issues/63013

Are there any news about the required modifier? I get "indention errors" here.

I am also waiting for this issue to be resolved.

Any update on this issue?

@Malgefor, there is a pull request prepared, but we are having problems with a bug in the Roslyn version needed to add tests for this change. I have created #3580 to (as a first step) just update the Roslyn version with suggestions on how to temporarily handle the Roslyn bug.
How do you want to handle this, @sharwell?

It's a bit complicated. I need to update dotnet/roslyn-sdk so we can update that dependency, but that work has been blocked on updates to microsoft/vs-extension-testing. Hopefully back in a good state soon.


Hide thumbnail in the gallery, and full image in the default mode

Test URLs:

Before: https://main--moleculardevices--hlxsites.hlx.page/applications/3d-cell-models/organoids
After: https://fix-gallery--moleculardevices--hlxsites.hlx.page/applications/3d-cell-models/organoids

Tested with the above URL and with https://fix-gallery--moleculardevices--hlxsites.hlx.page/applications/3d-cell-models/organoids/pulmonary-lung-organoids LGTM. Can you check LHS test

Tested with the above URL and with https://fix-gallery--moleculardevices--hlxsites.hlx.page/applications/3d-cell-models/organoids/pulmonary-lung-organoids LGTM. Can you check LHS test

It looks like the score is pretty much the same in main: https://pagespeed.web.dev/analysis/https-main--moleculardevices--hlxsites-hlx-page-applications-3d-cell-models-organoids/06nefzpav3?form_factor=mobile, we can create a task to check this, though it seems mostly related to font-awesome.


RFC - code style settings

There are different code style: some people like to place private before fields, others don't. Sometimes every field begins with _ or m_.
When working with tools that generates some code (like initialize field from ctor parameter) it's a bit annoying when I have to manually adjust generated code to my style.
It would be nice if we could customize code style (like prefixes, visibility modifiers, etc) and have RefactoringEssentials use it.
Major question is: should RE define & use these settings or defining them is job of something else (e.g. some Roslyn service)?
I'm raising this issue because differences between my code style and RE style assumes are annoying me and I'm willing to help with solving this matter.

Most likely the IDE would be the place to keep those settings and pass it via Roslyn workspaces (or such) to the analyzers / refactorings.

I've created issue in Roslyn: https://github.com/dotnet/roslyn/issues/4616.


[BUG] High latency, even with USB tethering

Describe the bug
I've connected the phone to PC over USB 2.0 and enabled Tethering over USB to have lower latency.
I've picked the correct adapter's IP (not the ethernet cable or anything). I also disabled any matters of wireless connectivity on the phone.
Pinging each other from each end, the average latency is around 0.5ms (half a milisecond).
However there's a significant delay in audio of around 350ms, although my phone is quite old (2015, low-end), I am still not sure if it is purely the decompression overhead on its end.
To Reproduce
Steps to reproduce the behavior:

Connect phone to PC over USB
Enable tethering over USB on Android
Start the server with the default endpoint which regular speakers are connected to. Make sure to pick the correct IP address corresponding to the adapter newly created.
Using this YouTube video, determine the average delay in audio

Expected behavior
Way lower amount of latency
Server:

OS: Windows 10 21H2 19044.3570
CMD
Version: v0.0.11

Android:

Device: ASUS Zenfone 2 Laser
OS: Android 7 (LineageOS custom ROM)
Version: v0.0.11

Additional information
> audio-share-server.exe -b <IP_ADDRESS>
[2023-11-05 14:39:38.685] [info] endpoint_id: {<IP_ADDRESS>00000}.{9b8dcbfc-a8ce-41ad-87c6-efa0e11b319a}
[2023-11-05 14:39:38.685] [info] tcp listen success on <IP_ADDRESS>:65530
[2023-11-05 14:39:38.686] [info] udp listen success on <IP_ADDRESS>:65530
[2023-11-05 14:39:38.686] [info] server started
[2023-11-05 14:39:38.686] [info] select audio endpoint: Hoparl÷r (Realtek(R) Audio)
[2023-11-05 14:39:38.690] [info] WAVEFORMATEX: wFormatTag: 65534, nBlockAlign: 8
[2023-11-05 14:39:38.690] [info] AudioFormat:
format_tag: 3
channels: 2
sample_rate: 48000
bits_per_sample: 32

[2023-11-05 14:39:55.602] [info] accept <IP_ADDRESS>:49387

Pinging each other from each end, the average latency is around 0.5ms (half a milisecond).

How do you ping phone? I test the ping delay is about 2~5ms.
Are both delay of via WIFI or USB tethering all reach 350ms?

How do you ping phone? I test the ping delay is about 2~5ms.

I do get the local IP address of the phone from the server logs when the phone is connected. Additionally it can also be gathered using termux with the ifconfig command.
On PC I use the ping command. It doesn't show sub 1ms values in Windows but it does on Linux (so on the phone)

Do delay of via WIFI and USB tethering both reach 350ms?

Here's a table:

Latency:
USB
Wi-Fi

Ping
~0.5ms
2~5ms

Audio
~350ms
~500ms

These values are pretty consistent even over long periods
The measurements in audio delay is pretty loose since I don't have a reliable method other than using the video I referenced. However even assuming a worst case 100ms error margin, the latency over USB is quite high.

There is no decompression or any other complicated jobs. It's just memory copy. The delay may be caused by the CPU performance and RAM R/W delay. You can use another PC or phone to test. I don't have better idea to figure it out.

Your problem may be same as #14. You can use wav_recorder.exe to test if exists delay.
wav_recorder.zip
https://github.com/mkckr0/audio-share/issues/14#issuecomment-1786558474

Fix at #24.


Trigger a linter once without passing files?

Hello, and thanks for a great project!
I'd like to use lint-staged to run the flow typechecker if a commit would contain .js files. flow does not expect to be passed individual files, and does not need to run once per file; instead, no matter how many .js files are in the commit, flow only needs to run once.
I saw #174 - the reason I would like to use lint-staged is because I have other linters (stylelint, eslint) that should also run. Currently, I'm getting this to work with the following config:
{
  "scripts": {
    "precommit": "lint-staged && flow"
  },
  "lint-staged": {
    "*.css": "stylelint",
    "*.scss": "stylelint --syntax=scss",
    "*.js": "eslint"
  }
}

but this makes flow run after all linters, instead of potentially letting it run in parallel. It also feels cleaner to have "precommit" just be "lint-staged", instead of a shell-chained list of commands.

This is out of focus of this library. You can use & instead of && to run commands in parallel or use concurrent package.

Makes sense, I understand. Thanks for your feedback and suggestions!

BTW when #138 is done it should be possible to run commands without arguments.

@folz Flow has a focus-check command now which takes a single file as input and focus checks only that single file! This works perfectly for me:
{
  "scripts": {
    "precommit": "lint-staged"
  },
  "lint-staged": {
    "*.css": "stylelint",
    "*.scss": "stylelint --syntax=scss",
    "*.js": ["eslint", "flow focus-check"]
  }
}

@okonet should we add that to the README?

@mxstbr Is this some newer feature? I couldn't find any info even in the flow docs - https://flow.org/en/docs/cli/

For people landing here, this is now possible with functions as linter commands: https://github.com/okonet/lint-staged#using-js-functions-to-customize-linter-commands